Re: Fw: 2.6.24.X: SATA/AHCI related boot delay. - not with 2.6.24.3

From: osb972ww-linuxczmil
Date: Fri Mar 21 2008 - 11:12:45 EST



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 ----
> From: Tejun Heo <htejun@xxxxxxxxx>
> To: osb972ww-linuxczmil@xxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx; IDE/ATA development list <linux-ide@xxxxxxxxxxxxxxx>
> 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.3
>
> Hello,
>
> osb972ww-linuxczmil@xxxxxxxxx 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/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.
>
> libata drivers don't need or support hdparm -u settings.
>
> > 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. ?
>
> 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?
>
> --
> tejun
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/