Gentoo Archives: gentoo-user

From: james <garftd@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Partition of 3TB USB drive not detected
Date: Mon, 01 Aug 2016 12:05:46
Message-Id: 19d6fced-5c26-cad7-a7ac-90d3d9eadd9a@verizon.net
In Reply to: Re: [gentoo-user] Partition of 3TB USB drive not detected by "J. Roeleveld"
1 On 08/01/2016 01:45 AM, J. Roeleveld wrote:
2 > On Sunday, July 31, 2016 03:37:55 PM Jörg Schaible wrote:
3 >> Hi,
4 >>
5 >> for my backups I use a 3TB USB drive (one big ext4 partition) without any
6 >> problems. Just plug in the cable, mount it and perform the backup. The
7 >> partition (sdi1) is detected an mountable without any problems:
8 >>
9 >> =============== %< ==============
10 >> $ ls -l /dev/disk/by-id
11 >> total 0
12 >
13 > <snipped bunch of 'ls' statements
14 >
15 >> =============== %< ==============
16 >>
17 >> However, when I boot a rescue system from a USB stick, the partition on the
18 >> USB is not detected. I already tried latest SystemRescueCD (default and
19 >> alternate kernel), Knoppix and the Gentoo Admin CD. Nothing, the partition
20 >> is not available.
21 >>
22 >> What's the difference? Why does my kernel find this partition and the other
23 >> one's do not? It's pretty silly to have a backup drive and cannot access it
24 >> in question ;-)
25 >
26 > Which kernel do you boot?
27 > The systerescue-cd has 4 kernels:
28 > 2 * 64bit and 2 * 32bit.
29 >
30 > By default, it boots the "default" one for the architecture you are booting.
31 > Have you tried booting the "alternate" kernel?
32 >
33 > I have 1 system that I need to boot using the "alternate" kernel as the
34 > "default" one is too old. (Yes, by default it boots an old kernel)
35 >
36 > It could easily be that the kernel you are using does not support your USB3
37 > adapter or something else you used.
38 >
39 > Eg. apart from all the 'ls' statements, also check "uname" and
40 > "/proc/config.gz" for differences.
41
42 I was just reading about "IOMMU" and how often, if it is not "correctly
43 configured" in the kernel and other places, your memory map to other
44 hardwawre, like USB, can be flaky or not work at all. Fixes often
45 require loading the latest bios for your motherboard. It also matters
46 the 'rev' of your motherboard and other details.
47
48 I have a Gigabyte GA-990FXA-ud3 that seems to be a victim of this bug.
49 No, I have not had time to ferret out this issue, so here are a few raw
50 links where it is talked about::
51
52 https://www.reddit.com/r/linux/comments/4ixnyg/question_about_iommu/
53
54 https://en.wikipedia.org/wiki/Input–output_memory_management_unit
55
56 http://developer.amd.com/community/blog/2008/09/01/iommu/
57
58 http://pages.cs.wisc.edu/~basu/isca_iommu_tutorial/
59
60 https://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware
61
62
63 (more posted if you ask)...
64
65
66 hth,
67 James