Re: 2.6.18-rc6-mm2

From: Greg KH
Date: Mon Sep 18 2006 - 08:09:34 EST


On Sat, Sep 16, 2006 at 02:14:52PM +0200, Michal Piotrowski wrote:
> On 15/09/06, Greg KH <gregkh@xxxxxxx> wrote:
> >On Fri, Sep 15, 2006 at 10:35:37PM +0200, Michal Piotrowski wrote:
> >> Good news, I can't reproduce this bug with
> >CONFIG_USB_MULTITHREAD_PROBE=n.
> >
> >Great, thanks for letting me know.
> >
> >> BTW. This might be a problem with CONFIG_PCI_MULTITHREAD_PROBE=y
> >> http://www.stardust.webpages.pl/files/mm/2.6.18-rc6-mm2/bug.jpg
> >
> >That looks odd. What device is your root partition on?
>
> SATA HDD.

Which type of SATA device? Is it ata_piix perhaps?

If so, you need the hack below to enable these devices to work properly.
I can't vouch for any problems that might happen with the patch, but
I've been using it successfully for quite a while.

thanks,

greg k-h

---------------------
Subject: Driver: multi-threaded hacks

- Fix "issue" with ata_piix doing multi-threaded boot

Use at your own risk.

Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

---
drivers/scsi/ata_piix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- gregkh-2.6.orig/drivers/scsi/ata_piix.c
+++ gregkh-2.6/drivers/scsi/ata_piix.c
@@ -1024,7 +1024,7 @@ static int __init piix_init(void)
if (rc)
return rc;

- in_module_init = 0;
+// in_module_init = 0; multi-threaded probe doesn't like this...

DPRINTK("done\n");
return 0;
-
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/