[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#439295: linux-image-2.6.21-2-686: System fails to boot



This one time, at band camp, Vesa Savolainen said:

> After upgrading from linux-image-2.6.18-4-686 to linux-image-2.6.21-2-686,
> the system fails to boot because the kernel now suddenly sees hard drive 
> as /dev/sda while linux-image-2.6.18-4-686 saw the same hard drive as 
> /dev/hda. After editing /boot/grub/menu.lst and changing /dev/hda5 to 
> /dev/sda5, the system boots O.K with linux-image-2.6.21-2-686, but fails 
> to enable dma for /dev/sda.

Yes, this is probably part of the libata transition.  The right way to
do this is probably to use filesystem labels for bootup, rather than
hard conding device names.  I don't think that can be done
automagically, so this may just have to be documented in release notes.

> SCSI subsystem initialized
> libata version 2.20 loaded.
> pata_sis 0000:00:02.5: version 0.5.0
> ata1: PATA max UDMA/133 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x0001ffa0 irq 14
> ata2: PATA max UDMA/133 cmd 0x00010170 ctl 0x00010376 bmdma 0x0001ffa8 irq 15
> scsi0 : pata_sis
> ata1.00: ATA-6: ST3160021A, 8.01, max UDMA/100
> ata1.00: 312581808 sectors, multi 16: LBA48
> ata1.00: configured for UDMA/100
> SCSI device sda: 312581808 512-byte hdwr sectors (160042 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: 312581808 512-byte hdwr sectors (160042 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 < sda5 sda6 sda7 sda8 > sda4
> sd 0:0:0:0: Attached scsi disk sda

That looks to me like it decided your drive was UDMA/100 and configured
for it correctly.  What makes you say it didn't enable dma?
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature


Reply to: