Public bug reported: After upgrading to linux-image-2.6.28-13-generic 2.6.28-13.45, the system cannot detect the intended root partition and therefore cannot boot the system.
The differences between 2.6.28-13 (non-booting) and 2.6.27-14 (OK) are: 1) Device files for the partitions are not created in /dev 2) Disks sda and sdb are reversed. (Due to mounting by UUID, this may not matter.) Even with 'debug' provided on the kernel command line, nothing unusual turns up. The only differences I can see in the two logs are the sda/sdb swap, and the fact that sata_nv is loaded before pata_amd, whereas with 2.6.27-14, pata_amd was loaded before sata_nv. Here is an excerpt from the (non-booting) 2.6.28-13 kernel log. ================================================== [ 1.553206] sata_nv 0000:00:0e.0: version 3.5 [ 1.553666] ACPI: PCI Interrupt Link [APSI] enabled at IRQ 23 [ 1.553736] sata_nv 0000:00:0e.0: PCI INT A -> Link[APSI] -> GSI 23 (level, low) -> IRQ 23 [ 1.553808] sata_nv 0000:00:0e.0: Using SWNCQ mode [ 1.553917] sata_nv 0000:00:0e.0: setting latency timer to 64 [ 1.554145] scsi0 : sata_nv [ 1.554278] scsi1 : sata_nv [ 1.554497] ata1: SATA max UDMA/133 cmd 0x9f0 ctl 0xbf0 bmdma 0xf800 irq 23 [ 1.554559] ata2: SATA max UDMA/133 cmd 0x970 ctl 0xb70 bmdma 0xf808 irq 23 [ 2.432048] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 2.440185] ata1.00: ATA-7: ST3200826AS, 3.03, max UDMA/100 [ 2.440245] ata1.00: 390721968 sectors, multi 1: LBA48 [ 2.448195] ata1.00: configured for UDMA/100 [ 3.328046] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 3.352179] ata2.00: ATAPI: HP DVD Writer 1070d, LH23, max UDMA/100 [ 3.384195] ata2.00: configured for UDMA/100 [ 3.384999] scsi 0:0:0:0: Direct-Access ATA ST3200826AS 3.03 PQ: 0 ANSI: 5 [ 3.385137] sd 0:0:0:0: [sda] 390721968 512-byte hardware sectors: (200 GB/186 GiB) [ 3.385219] sd 0:0:0:0: [sda] Write Protect is off [ 3.385278] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 3.385352] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 3.385473] sd 0:0:0:0: [sda] 390721968 512-byte hardware sectors: (200 GB/186 GiB) [ 3.385552] sd 0:0:0:0: [sda] Write Protect is off [ 3.385611] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 3.385684] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 3.385757] sda: sda1 sda2 sda3 sda4 < sda5 > [ 3.424981] sd 0:0:0:0: [sda] Attached SCSI disk [ 3.425080] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 3.426278] scsi 1:0:0:0: CD-ROM HP DVD Writer 1070d LH23 PQ: 0 ANSI: 5 [ 3.428675] sr0: scsi3-mmc drive: 8x/48x writer dvd-ram cd/rw xa/form2 cdda tray [ 3.428746] Uniform CD-ROM driver Revision: 3.20 [ 3.428864] sr 1:0:0:0: Attached scsi CD-ROM sr0 [ 3.428948] sr 1:0:0:0: Attached scsi generic sg1 type 5 [ 3.429406] ACPI: PCI Interrupt Link [APSJ] enabled at IRQ 22 [ 3.429474] sata_nv 0000:00:0f.0: PCI INT A -> Link[APSJ] -> GSI 22 (level, low) -> IRQ 22 [ 3.429546] sata_nv 0000:00:0f.0: Using SWNCQ mode [ 3.429648] sata_nv 0000:00:0f.0: setting latency timer to 64 [ 3.429841] scsi2 : sata_nv [ 3.429939] scsi3 : sata_nv [ 3.430154] ata3: SATA max UDMA/133 cmd 0x9e0 ctl 0xbe0 bmdma 0xf300 irq 22 [ 3.430216] ata4: SATA max UDMA/133 cmd 0x960 ctl 0xb60 bmdma 0xf308 irq 22 [ 4.162449] ata3: SATA link down (SStatus 0 SControl 300) [ 4.894448] ata4: SATA link down (SStatus 0 SControl 300) [ 4.894584] pata_amd 0000:00:0d.0: version 0.3.10 [ 4.894672] pata_amd 0000:00:0d.0: setting latency timer to 64 [ 4.894791] scsi4 : pata_amd [ 4.894885] scsi5 : pata_amd [ 4.895565] ata5: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xfd00 irq 14 [ 4.895626] ata6: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xfd08 irq 15 [ 5.220442] ata6.00: ATA-6: WDC WD800JB-00JJA0, 05.01C05, max UDMA/100 [ 5.220503] ata6.00: 156301488 sectors, multi 1: LBA [ 5.220582] ata6: nv_mode_filter: 0x3f39f&0x3f01f->0x3f01f, BIOS=0x3f000 (0xc600) ACPI=0x3f01f (20:600:0x13) [ 5.228374] ata6.00: configured for UDMA/100 [ 5.228513] scsi 5:0:0:0: Direct-Access ATA WDC WD800JB-00JJ 05.0 PQ: 0 ANSI: 5 [ 5.229634] sd 5:0:0:0: [sdb] 156301488 512-byte hardware sectors: (80.0 GB/74.5 GiB) [ 5.229715] sd 5:0:0:0: [sdb] Write Protect is off [ 5.229775] sd 5:0:0:0: [sdb] Mode Sense: 00 3a 00 00 [ 5.229849] sd 5:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 5.229973] sd 5:0:0:0: [sdb] 156301488 512-byte hardware sectors: (80.0 GB/74.5 GiB) [ 5.230051] sd 5:0:0:0: [sdb] Write Protect is off [ 5.230111] sd 5:0:0:0: [sdb] Mode Sense: 00 3a 00 00 [ 5.230184] sd 5:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 5.230257] sdb: sdb1 sdb2 < sdb5 > [ 5.263526] sd 5:0:0:0: [sdb] Attached SCSI disk [ 5.263621] sd 5:0:0:0: Attached scsi generic sg2 type 0 ================================================== As you can see, the partitions of disk sdb seem to be detected. However, /dev/sdb2 is not created, so booting fails. Here is an excerpt from the log of 2.6.27-14: ================================================== [ 3.500241] pata_amd 0000:00:0d.0: version 0.3.10 [ 3.500286] pata_amd 0000:00:0d.0: setting latency timer to 64 [ 3.500370] scsi0 : pata_amd [ 3.500441] scsi1 : pata_amd [ 3.501155] ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xfd00 irq 14 [ 3.501157] ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xfd08 irq 15 [ 3.676032] usb 2-2: new low speed USB device using ohci_hcd and address 2 [ 3.828438] ata2.00: ATA-6: WDC WD800JB-00JJA0, 05.01C05, max UDMA/100 [ 3.828441] ata2.00: 156301488 sectors, multi 1: LBA [ 3.828456] ata2: nv_mode_filter: 0x3f39f&0x3f01f->0x3f01f, BIOS=0x3f000 (0xc600) ACPI=0x3f01f (20:600:0x13) [ 3.836356] ata2.00: configured for UDMA/100 [ 3.836446] scsi 1:0:0:0: Direct-Access ATA WDC WD800JB-00JJ 05.0 PQ: 0 ANSI: 5 [ 3.836528] sata_nv 0000:00:0e.0: version 3.5 [ 3.836977] ACPI: PCI Interrupt Link [APSI] enabled at IRQ 21 [ 3.836987] sata_nv 0000:00:0e.0: PCI INT A -> Link[APSI] -> GSI 21 (level, low) -> IRQ 21 [ 3.836990] sata_nv 0000:00:0e.0: Using SWNCQ mode [ 3.837031] sata_nv 0000:00:0e.0: setting latency timer to 64 [ 3.837340] scsi2 : sata_nv [ 3.837472] scsi3 : sata_nv [ 3.837658] ata3: SATA max UDMA/133 cmd 0x9f0 ctl 0xbf0 bmdma 0xf800 irq 21 [ 3.837661] ata4: SATA max UDMA/133 cmd 0x970 ctl 0xb70 bmdma 0xf808 irq 21 [ 3.890375] usb 2-2: configuration #1 chosen from 1 choice [ 4.068030] usb 2-8: new full speed USB device using ohci_hcd and address 3 [ 4.283367] usb 2-8: configuration #1 chosen from 1 choice [ 4.716056] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 4.724186] ata3.00: ATA-7: ST3200826AS, 3.03, max UDMA/100 [ 4.724189] ata3.00: 390721968 sectors, multi 1: LBA48 [ 4.740191] ata3.00: configured for UDMA/100 [ 5.620054] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 5.644187] ata4.00: ATAPI: HP DVD Writer 1070d, LH23, max UDMA/100 [ 5.676193] ata4.00: configured for UDMA/100 [ 5.676277] scsi 2:0:0:0: Direct-Access ATA ST3200826AS 3.03 PQ: 0 ANSI: 5 [ 5.677483] scsi 3:0:0:0: CD-ROM HP DVD Writer 1070d LH23 PQ: 0 ANSI: 5 [ 5.677995] ACPI: PCI Interrupt Link [APSJ] enabled at IRQ 20 [ 5.678005] sata_nv 0000:00:0f.0: PCI INT A -> Link[APSJ] -> GSI 20 (level, low) -> IRQ 20 [ 5.678008] sata_nv 0000:00:0f.0: Using SWNCQ mode [ 5.678049] sata_nv 0000:00:0f.0: setting latency timer to 64 [ 5.678326] scsi4 : sata_nv [ 5.678455] scsi5 : sata_nv [ 5.678645] ata5: SATA max UDMA/133 cmd 0x9e0 ctl 0xbe0 bmdma 0xf300 irq 20 [ 5.678648] ata6: SATA max UDMA/133 cmd 0x960 ctl 0xb60 bmdma 0xf308 irq 20 [ 6.410458] ata5: SATA link down (SStatus 0 SControl 300) [ 7.142450] ata6: SATA link down (SStatus 0 SControl 300) [...skipping ethernet driver info...] [ 7.737881] Driver 'sd' needs updating - please use bus_type methods [ 7.737969] sd 1:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB) [ 7.737982] sd 1:0:0:0: [sda] Write Protect is off [ 7.737984] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 7.738001] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 7.738051] sd 1:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB) [ 7.738060] sd 1:0:0:0: [sda] Write Protect is off [ 7.738062] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 7.738079] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 7.738082] sda:<6>usbcore: registered new interface driver hiddev [ 7.747461] sda1 sda2 <<6>input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:0b.0/usb2/2-2/2-2:1.0/i nput/input2 [ 7.759172] Driver 'sr' needs updating - please use bus_type methods [ 7.760205] input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:0b.0-2 [ 7.760274] usbcore: registered new interface driver libusual [ 7.760480] usbcore: registered new interface driver usbhid [ 7.760483] usbhid: v2.6:USB HID core driver [ 7.765393] Initializing USB Mass Storage driver... [ 7.766348] scsi6 : SCSI emulation for USB Mass Storage devices [ 7.766426] usbcore: registered new interface driver usb-storage [ 7.766429] USB Mass Storage support registered. [ 7.766513] usb-storage: device found at 3 [ 7.766514] usb-storage: waiting for device to settle before scanning [ 7.767987] sda5 > [ 7.768155] sd 1:0:0:0: [sda] Attached SCSI disk [ 7.768226] sd 2:0:0:0: [sdb] 390721968 512-byte hardware sectors (200050 MB) [ 7.768239] sd 2:0:0:0: [sdb] Write Protect is off [ 7.768241] sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00 [ 7.768259] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 7.768300] sd 2:0:0:0: [sdb] 390721968 512-byte hardware sectors (200050 MB) [ 7.768310] sd 2:0:0:0: [sdb] Write Protect is off [ 7.768312] sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00 [ 7.768329] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 7.768332] sdb: sdb1 sdb2 sdb3 sdb4 < sdb5 > [ 7.809778] sd 2:0:0:0: [sdb] Attached SCSI disk [ 7.813736] sd 1:0:0:0: Attached scsi generic sg0 type 0 [ 7.813768] sd 2:0:0:0: Attached scsi generic sg1 type 0 [ 7.813798] sr 3:0:0:0: Attached scsi generic sg2 type 5 [ 7.815134] sr0: scsi3-mmc drive: 16x/48x writer dvd-ram cd/rw xa/form2 cdda tray ================================================== IDE interfaces as reported by lspci -v, under Linux 2.6.27-14 (NOT the problem kernel, 2.6.28-13) ================================================== 00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1) (prog-if 8a [Master SecP PriP]) Subsystem: Device f03c:2a3a Flags: bus master, 66MHz, fast devsel, latency 0 [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8] [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1] [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8] [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1] I/O ports at fd00 [size=16] Capabilities: [44] Power Management version 2 Kernel driver in use: pata_amd Kernel modules: pata_amd 00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1) (prog-if 85 [Master SecO PriO]) Subsystem: Hewlett-Packard Company Device 2a3a Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21 I/O ports at 09f0 [size=8] I/O ports at 0bf0 [size=4] I/O ports at 0970 [size=8] I/O ports at 0b70 [size=4] I/O ports at f800 [size=16] Memory at fe02d000 (32-bit, non-prefetchable) [size=4K] Capabilities: [44] Power Management version 2 Capabilities: [b0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/2 Enable- Capabilities: [cc] HyperTransport: MSI Mapping Enable+ Fixed+ Kernel driver in use: sata_nv Kernel modules: sata_nv 00:0f.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1) (prog-if 85 [Master SecO PriO]) Subsystem: Hewlett-Packard Company Device 2a3a Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20 I/O ports at 09e0 [size=8] I/O ports at 0be0 [size=4] I/O ports at 0960 [size=8] I/O ports at 0b60 [size=4] I/O ports at f300 [size=16] Memory at fe02c000 (32-bit, non-prefetchable) [size=4K] Capabilities: [44] Power Management version 2 Capabilities: [b0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/2 Enable- Capabilities: [cc] HyperTransport: MSI Mapping Enable+ Fixed+ Kernel driver in use: sata_nv Kernel modules: sata_nv ================================================== ** Affects: linux (Ubuntu) Importance: Undecided Status: New -- Linux 2.6.28-13.45 does not create hard disk partition device files https://bugs.launchpad.net/bugs/401557 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs