Quote:
Originally Posted by ZwartnAngel
make it easy for yourself and give your partitions labels, then you don't have to worry about the labeling by the native ide module (kernel module, who gives you the hd* in /dev) or the pata module (who gives you the sd* name in /dev)
labels make your life easier 
|
Which is all well and good, until you connect up an old external hard drive with conflicting partition labels and wonder why your previously perfectly good system isn't booting any more or, worse, is now picking up say its /usr from the external unit.
Under this new system how on earth is one supposed to determine which interface ones IDE drive is on? Is the CDROM the primary slave or secondary master in the following example?
================================
libata version 2.20 loaded.
pata_amd 0000:00:08.0: version 0.2.8
PCI: Setting latency timer of device 0000:00:08.0 to 64
ata1: PATA max UDMA/133 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x0001f000 irq 14
ata2: PATA max UDMA/133 cmd 0x00010170 ctl 0x00010376 bmdma 0x0001f008 irq 15
scsi0 : pata_amd
ata1.00: ata_hpa_resize 1: sectors = 156299375, hpa_sectors = 156301488
ata1.00: Host Protected Area detected:
current size: 156299375 sectors
native size: 156301488 sectors
ata1.00: ATA-6: WDC WD800JB-00FMA0, 13.03G13, max UDMA/100
ata1.00: 156299375 sectors, multi 16: LBA
ata1.00: ata_hpa_resize 1: sectors = 156299375, hpa_sectors = 156301488
ata1.00: Host Protected Area detected:
current size: 156299375 sectors
native size: 156301488 sectors
ata1.00: configured for UDMA/100
scsi1 : pata_amd
ata2.00: ATAPI, max UDMA/33
ata2.00: configured for UDMA/33
scsi 0:0:0:0: Direct-Access ATA WDC WD800JB-00FM 13.0 PQ: 0 ANSI: 5
SCSI device sda: 156299375 512-byte hdwr sectors (80025 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
SCSI device sda: 156299375 512-byte hdwr sectors (80025 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 >
sd 0:0:0:0: Attached scsi disk sda
scsi 1:0:0:0: CD-ROM HL-DT-ST DVDRAM GSA-4163B A101 PQ: 0 ANSI: 5
================================
Booting up the same system with an older kernel using a sane ata driver reveals that it is in fact the secondary master:
================================
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE3-250: IDE controller at PCI slot 0000:00:08.0
NFORCE3-250: chipset revision 162
NFORCE3-250: not 100% native mode: will probe irqs later
NFORCE3-250: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE3-250: 0000:00:08.0 (rev a2) UDMA133 controller
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda

MA, hdb

MA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc

MA, hdd

MA
Probing IDE interface ide0...
hda: WDC WD800JB-00FMA0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: HL-DT-ST DVDRAM GSA-4163B, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
================================