2.6.24.X: SATA/AHCI related boot delay. - not with 2.6.24.3
HI Tejun,
setting irqpoll fixed both problems, and there are no "nasty grams" in dmesg now. The original reason I was trying to use the hdparm -u on /dev/sda was because it was hanging for a few seconds when doing writes to the CFdisk, and in the past that was the kind of thing that hdparm -u would generally fix. Now with the irqpoll kernel option, the /dev/sdb SATA drive was found, and I can mount it and write to it. The CFcard /dev/sda is also responding to writes better than before.
Thanks for the suggestion to use irqpoll. What is the problem within the driver(s) that is requiring irqpoll. ?
Best regards,
C. W. Wright
----- Original Message ----
Quoted 32 lines
From: Tejun Heo <[email protected]>
To: [email protected]
Cc: [email protected]; IDE/ATA development list <[email protected]>
Sent: Thursday, March 20, 2008 10:23:50 PM
Subject: Re: Fw: 2.6.24.X: SATA/AHCI related boot delay. - not with 2.6.24.3Hello,
Quoted 5 lines · [email protected] wrote:
Greetings,
I'm having a problem with 2.6.23.1-42 (Fedora 8) properly driving a SATA
drive. Although it is detected during boot as indicated by the dmesg below,
once the sytstem is up and running, the drive is not accessible. The second
issue is with the CFdrive on the the primary IDE. It works, but I can'tenable
Quoted 3 lines
interrupts with hdparm -u 1
/dev/sda.The interesting thing is when I put in a Fedora 5 system with a 2.6.17
kernel,
Quoted 1 line
everything works as expected. I can hdparm -u 1
/dev/hdaand it works asexpected, and
Quoted 1 line
the SATA drive is detected and works properly all on the exact same
hardware.
Quoted 3 lines
I've tried several different SATA drives also. Thery all work on the old
Fedora 5/ 2.6.17 system, and none work on Fedora 8/2.6.23 or 2.6.24 kernels.Does irqpoll kernel parameter help?
Signature · 1 line
tejun
Hello,
Quoted 5 lines · [email protected] wrote:
setting irqpoll fixed both problems, and there are no "nasty grams"
in dmesg now. The original reason I was trying to use the hdparm -u
on/dev/sdawas because it was hanging for a few seconds when doing writes to the CFdisk, and in the past that was the kind of thing that hdparm -u would generally fix.
libata drivers don't need or support hdparm -u settings.
Quoted 7 lines
Now with the irqpoll kernel option,
the/dev/sdbSATA drive was found, and I can mount it and write to it. The CFcard/dev/sdais also responding to writes better than before.Thanks for the suggestion to use irqpoll. What is the problem
within the driver(s) that is requiring irqpoll. ?
Well, IRQ 18 is taken offline during USB initialization. The IRQ is shared with the SATA controller, so SATA controller doesn't work either.
It isn't clear why the IRQ handler is taken offline. It could be the
USB controller but can also be the SATA controller. Does not loading usb driver make any difference?
Signature · 1 line
tejun
Quoted 6 lines · On Thu, 20 Mar 2008 20:04:13 -0700 (PDT) [email protected] wrote:
HI Tejun,
setting irqpoll fixed both problems, and there are no "nasty grams" in dmesg now. The original reason I was trying to use the hdparm -u on
/dev/sdawas because it was hanging for a few seconds when doing writes to the CFdisk, and in the past that was the kind of thing that hdparm -u would generally fix. Now with the irqpoll kernel option, the/dev/sdbSATA drive was found, and I can mount it and write to it. The CFcard/dev/sdais also responding to writes better than before.Thanks for the suggestion to use irqpoll. What is the problem within the driver(s) that is requiring irqpoll. ?
irqpoll works around BIOS bugs not driver bugs (well generally speaking anyway).
Alan