Skip to contentSkip to conversation

Booting 2.6.x slows to almost to a halt when detecting hard drives on Dell Inspiron 5150

DISCUSSION Jacques Fortier 2 participants 2 messages Aug 3, 2004 – Aug 4, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I've had issues getting 2.6 kernels to boot. It seems to be an issue either with my Intel ICH4 IDE controller or my Hitachi Travelstar 60GB disk.

I'm trying to get 2.6 working on a Dell Inspiron 5150. I've been running 2.4 for a while without any problems. I've witnessed this problem in the Debian 2.6.7 and 2.6.6 kernel packages, 2.6.7 compiled from the Debian source code, and 2.6.7 compiled from the vanilla kernel.org source.

Everything seems to work fine until the hard drive detection starts. Since I'm not sure how much of this stuff if relelvant, I've painstakingly transcribed a bunch of the output

ICH4: IDE controller at PCI slot 0000:00:1f.1
PCI: enabling device 0000:00:1f.1 (0005 -> 0007)
ICH4: chipset revision 1
ICH4: not 100% native mode: will probe irqs later

    ide0: BM-DMA at 0xbfa0-0xbfa7, BIOS settings: hda:DMA hdb:pio
    ide1: BM-DMA at 0xbfa0-0xbfa7, BIOS settings: hda:DMA hdb:pio

hda: SAMSUNG CDRW/DVD SN-324F, ATAPI CD/DVD-ROM drive Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7 0x3f6 on irq 14
hdc HTS548060M9AT00, ATA DISK drive
ide1 at 0x170-0x177 0x376 on irq 15
hdc: max request size: 1024KiB
hdc: lost interrupt
hdc: lost interrupt
hdc: lost interrupt

After the max request size, things grind almost completely to a halt. A few minutes later, it finally correctly detects the disk size, etc of hdc. It then starts working on the partitions, taking a very long time to print each one. Interspersed among the partition detections messages are more lost interrupts as well as the following two messages:

hdc: dma_timer_expiry: dma status == 0x24
and
hdc: DMA interrupt recovery

The output above seems pretty consistent with what I get from dmesg on 2.4.26 (minus the error messages of course).

I haven't seen how far the boot will go because I haven't had time to leave it unattended and am kind of scared that it might cause corruption or some other nastiness. If it would be useful, I could try backing things up and then letting it try to boot overnight.

I've compiled IDE support in directly. I've tried things both with and without support for the Intel ICH compiled in ("Intel PIIXn chipsets support"). I'm not using SMP. I don't think there's anything particularly remarkable about the rest of my configuration, but I can provide any other details that are needed.

Jacques Fortier

#1 lore raw
Quoted 21 lines · Jacques Fortier

Hi,

I've had issues getting 2.6 kernels to boot. It seems to be an issue either with my Intel ICH4 IDE controller or my Hitachi Travelstar 60GB disk.

I'm trying to get 2.6 working on a Dell Inspiron 5150. I've been running 2.4 for a while without any problems. I've witnessed this problem in the Debian 2.6.7 and 2.6.6 kernel packages, 2.6.7 compiled from the Debian source code, and 2.6.7 compiled from the vanilla kernel.org source.

Everything seems to work fine until the hard drive detection starts. Since I'm not sure how much of this stuff if relelvant, I've painstakingly transcribed a bunch of the output

ICH4: IDE controller at PCI slot 0000:00:1f.1
PCI: enabling device 0000:00:1f.1 (0005 -> 0007)
ICH4: chipset revision 1
ICH4: not 100% native mode: will probe irqs later

    ide0: BM-DMA at 0xbfa0-0xbfa7, BIOS settings: hda:DMA hdb:pio
    ide1: BM-DMA at 0xbfa0-0xbfa7, BIOS settings: hda:DMA hdb:pio
Quoted 9 lines

hda: SAMSUNG CDRW/DVD SN-324F, ATAPI CD/DVD-ROM drive Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7 0x3f6 on irq 14
hdc HTS548060M9AT00, ATA DISK drive
ide1 at 0x170-0x177 0x376 on irq 15
hdc: max request size: 1024KiB
hdc: lost interrupt
hdc: lost interrupt
hdc: lost interrupt

Have you tried booting with various apic and acpi options? Try noapic and / or acpi=off

see if that helps.

Cheers,
Con