Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217347 - USB drives detected before SATA/SCSI disks
Summary: USB drives detected before SATA/SCSI disks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
: 220557 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-12 00:59 UTC by Chris Gianelloni (RETIRED)
Modified: 2008-06-26 17:49 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dmesg output (dmesg.txt,26.74 KB, text/plain)
2008-04-30 18:54 UTC, Michele Schiavo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Gianelloni (RETIRED) gentoo-dev 2008-04-12 00:59:50 UTC
Setting HD as IDE on motherboard, and boot livecd-livedvd from cdrom
attached on ICH9R (sr0), everything goes good, but on installer the first HD
will be show as sdb, because system will found a multicard reader USB and it
will be show as sda. (there is also a little bug in the kernel, SCSI_MULTI_LUN
not set, because the multicard reader is found only as sda and not
sda,sdb,sdc,sdd)
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-12 17:42:05 UTC
OK, I changed the order in genkernel for the USB/Firewire and PATA/SATA/SCSI so that removable devices come second.  I also added the SCSI_MULTI_LUN option to the kernel.

The kernel change will show up in 2008.0 Beta 2, but the genkernel change didn't make it in time for the Beta 2 snapshot.
Comment 2 Michele Schiavo 2008-04-12 21:04:04 UTC
If you can post somewhere a micro boot or something similar i can try it
Comment 3 Michele Schiavo 2008-04-30 18:53:57 UTC
Nothing new in amd64 beta2.
Comment 4 Michele Schiavo 2008-04-30 18:54:13 UTC
Created attachment 151464 [details]
dmesg output
Comment 5 Michele Schiavo 2008-04-30 18:55:02 UTC
scsi 0:0:0:0: Direct-Access     Generic  2.0 Reader    -0 1.00 PQ: 0 ANSI: 0 CCS
sd 0:0:0:0: [sda] Attached SCSI removable disk
ata1.01: configured for UDMA/100
ata2.00: ATA-8: ST3500320AS, SD15, max UDMA/133
ata2.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata2.00: configured for UDMA/133
scsi 1:0:0:0: Direct-Access     ATA      ST3250410AS      3.AA PQ: 0 ANSI: 5
sd 1:0:0:0: [sdb] 488397168 512-byte hardware sectors (250059 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 1:0:0:0: [sdb] 488397168 512-byte hardware sectors (250059 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdb: sdb1 sdb2 sdb3 sdb4
sd 1:0:0:0: [sdb] Attached SCSI disk
scsi 1:0:1:0: CD-ROM            HL-DT-ST DVDRAM GSA-H66N  CB00 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 102x/102x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 1:0:1:0: Attached scsi CD-ROM sr0
scsi 2:0:0:0: Direct-Access     ATA      ST3500320AS      SD15 PQ: 0 ANSI: 5
sd 2:0:0:0: [sdc] 976773168 512-byte hardware sectors (500108 MB)
sd 2:0:0:0: [sdc] Write Protect is off
sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 2:0:0:0: [sdc] 976773168 512-byte hardware sectors (500108 MB)
sd 2:0:0:0: [sdc] Write Protect is off
sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdc: sdc1
sd 2:0:0:0: [sdc] Attached SCSI disk
Comment 6 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-30 19:51:11 UTC
What didn't you understand about "but the genkernel change
didn't make it in time for the Beta 2 snapshot"? That means that we *know* nothing is going to change for beta2.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-30 19:55:04 UTC
"but the genkernel change didn't make it in time for the Beta 2 snapshot"

We weren't expecting it to work.
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2008-05-07 06:14:43 UTC
*** Bug 220557 has been marked as a duplicate of this bug. ***
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2008-06-26 17:49:46 UTC
OK.  This is resolved in genkernel 3.4.10, which is now in the tree and stable.