hdx to sdx change in 2.6.28

alupu alupu02 at gmail.com
Wed Jan 14 18:15:49 PST 2009


Hello,

- SYSTEM (relevant points)
i686-pc-linux-gnu, (B)LFS.
ASUS P4S533-MX, Intel Pentium 4.
Two ATA ("PATA" native) drives, hdb (Linux) and hda (Windows)
Two ATAPI ("PATA" native) opticals, hdc and hdd.
SiS651 chipset connected with SiS652 for the integrated IDE
Master/Slave controllers featuring Dual Independent IDE channels.

Note:  a "PATA" system par excellence.  At the time I built it, SATA
was still just a glimmer in a visionary's eye.
Udev: 136 (latest - not necessarily relevant here.)

- PROBLEM - basics
System works as expected (i.e., just fine) on 2.6.27
(actually up to 2.6.27.4;  haven't tested .5 - .10;  assume similar)

Compiled and switched to 2.6.28:  on boot it hangs with the infamous message,
 "VFS: Cannot open root device ...
  Kernel panic - not syncing: VFS: Unable to mount root fs or
unknown-block(x,y)"

Switched back to 2.6.27:  A-OK (no surprise here.  Just for the record)

Recompiled 2.6.28 with "Sis PATA support" (PATA_SIS) to Yes.
Changed 'fstab' from hd... to sd...
Changed GRUB "root" line from hdb4 to sdb4
Switched to 2.6.28:  A-OK

- QUESTION
Does anybody know anything about the transition to 2.6.28 changing the
"view" of the system to a "Universal", "Uniform", "Consistent", "SATA
centric", etc.?

Any words, details, etc. which can shed some light on this strange
phenomenon will be much appreciated.

Thanks,
-- Alex

-------------------------------------------------------------------------------------------------------------

- PROBLEM - an additional little detail:
The CONFIG setting "PATA_SIS" is new in 2.6.28

- PROBLEM - some gory details (for the interested reader)
 The Boot-up Log excerpts (unexpurgated ) of corresponding relevant sections:

* 2.6.27.4
Uniform Multi-Platform E-IDE driver
ide_generic: please use "probe_mask=0x3f" module parameter for probing
all legacy ISA IDE ports
hda: ST340016A, ATA DISK drive
hdb: Maxtor 4G100J5, ATA DISK drive
hdc: TOSHIBA DVD-ROM SD-M1612, ATAPI CD/DVD-ROM drive
hdd: SONY CD-RW CRX175E, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63
hda: cache flushes not supported
 hda: hda1 hda2 hda3
hdb: max request size: 512KiB
hdb: 200108160 sectors (102455 MB) w/2048KiB Cache, CHS=16383/255/63
hdb: cache flushes not supported
 hdb:  hdb1 hdb2 hdb3 < hdb5 hdb6 > hdb4
Driver 'sd' needs updating - please use bus_type methods

* 2.6.28
Uniform Multi-Platform E-IDE driver
ide_generic: please use "probe_mask=0x3f" module parameter for probing
all legacy ISA IDE ports
ide-gd driver 1.18
Driver 'sd' needs updating - please use bus_type methods
pata_sis 0000:00:02.5: PCI INT A -> GSI 16 (level, low) -> IRQ 16
scsi0 : pata_sis
scsi1 : pata_sis
ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xb400 irq 14
ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xb408 irq 15
ata1.00: ATA-5: ST340016A, 3.05, max UDMA/100
ata1.00: 78165360 sectors, multi 16: LBA
ata1.01: ATA-6: Maxtor 4G100J5, GAK819K0, max UDMA/133
ata1.01: 200108160 sectors, multi 16: LBA48
ata1.00: configured for UDMA/100
ata1.01: configured for UDMA/133
ata2.00: ATAPI: TOSHIBA DVD-ROM SD-M1612, 1S08, max UDMA/33
ata2.01: ATAPI: SONY CD-RW CRX175E, 1.1b, max MWDMA2
ata2.00: configured for UDMA/33
ata2.01: configured for PIO4
scsi 0:0:0:0: Direct-Access ATA ST340016A 3.05 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 78165360 512-byte hardware sectors: (40.0 GB/37.2 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sd 0:0:0:0: [sda] 78165360 512-byte hardware sectors: (40.0 GB/37.2 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
 sda: sda1 sda2 sda3
sd 0:0:0:0: [sda] Attached SCSI disk
scsi 0:0:1:0: Direct-Access ATA Maxtor 4G100J5 GAK8 PQ: 0 ANSI: 5
sd 0:0:1:0: [sdb] 200108160 512-byte hardware sectors: (102 GB/95.4 GiB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sd 0:0:1:0: [sdb] 200108160 512-byte hardware sectors: (102 GB/95.4 GiB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
 sdb: sdb1 sdb2 sdb3 < sdb5 sdb6 > sdb4
Switched to high resolution mode on CPU 1
sd 0:0:1:0: [sdb] Attached SCSI disk
scsi 1:0:0:0: CD-ROM TOSHIBA DVD-ROM SD-M1612 1S08 PQ: 0 ANSI: 5
scsi 1:0:1:0: CD-ROM SONY CD-RW CRX175E 1.1b PQ: 0 ANSI: 5

NOTE: Even gorier details can be provided upon request.



More information about the lfs-support mailing list