2.6.24.X: SATA/AHCI related boot delay. - not with 2.6.24.3
Tejun, Alan,
Everything works when I disable the USB in the bios settings. I was also able to remove the irqpoll kernel parameter after turning off bios USB. The particularly interesting thing is that the USB mouse still works, as does a USB 2.0 drive I have connected. The Compact Flash drive at /dev/sda works fine, and the connected SATA drive works as well, though I need to do some testing to see how well these devices are performing.
Using the irqpoll also made things work except for once. In that case, I got the same errors, delayed bootup, and missing SATA drive.
Is there a new "hdparm like" tool for working with the new drives/drivers to be able to read/set parameters, run various tests, etc?
This motherboard is an IBT MB899 mini-ITX.
Thanks for the guidance with this!
C. W. Wright
----- Original Message ----
Quoted 38 lines
From: Tejun Heo <[email protected]>
To: [email protected]
Cc: [email protected]; IDE/ATA development list <[email protected]>
Sent: Friday, March 21, 2008 5:56:10 AM
Subject: Re: Fw: 2.6.24.X: SATA/AHCI related boot delay. - not with 2.6.24.3Hello,
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 · 5 lines
tejun -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hello,
Quoted 9 lines · [email protected] wrote:
Tejun, Alan,
Everything works when I disable the USB in the bios settings. I was also able to remove the irqpoll kernel parameter after turning off bios USB. The particularly interesting thing is that the USB mouse still works, as does a USB 2.0 drive I have connected. The Compact Flash drive at
/dev/sdaworks fine, and the connected SATA drive works as well, though I need to do some testing to see how well these devices are performing.
Hmmm.. Can you please file a bug report against USB subsystem on bugzilla.kernel.org and cc me? USB on your system is triggering IRQ storm.
Quoted 2 lines
Using the irqpoll also made things work except for once. In that case, I got the same errors, delayed bootup, and missing SATA drive.
Hmmm.. Do you have logs?
Quoted 3 lines
Is there a new "hdparm like" tool for working with the new drives/drivers to be able to read/set parameters, run various tests, etc?
hdparm will still be the utility of choice but libata doesn't allow many settings IDE used to and libata probably will never implement some of IDE's tunables. Is there any specific setting you have in mind?
Thanks.
Signature · 1 line
tejun