On Thu, Jun 29, 2006 at 10:20:22PM -0700, Greg KH wrote: > On Fri, Jun 30, 2006 at 01:49:12PM +0900, Tejun Heo wrote: > > On Thu, Jun 29, 2006 at 07:53:41PM -0700, Greg KH wrote: > > > This laptop does not have a SATA hard drive, only a SATA cdrom drive. > > > I've included the boot log below and trimmed it after the delay > > > happened, as I doubt anything after it would be relevant. > > > > > > Is there any patch I can test to help fix this? > > > > This seems to be the ghost device problem which occurs when the first > > device is ATAPI but the second slot is empty. > > > > > My .config is also attached, if that helps any. > > > > Please try the following patch. > > Yeah, that worked great, no timeout issues anymore! Do you want to see > the boot log again from this? Great. :-) I don't need the successful boot log but I want to see why it wasn't a problem in 2.6.17. Can you apply the following patch to 2.6.17 and post the result? Thanks. diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index b046ffa..35f4721 100644 --- a/drivers/scsi/libata-core.c +++ b/drivers/scsi/libata-core.c @@ -2193,7 +2193,7 @@ int ata_std_softreset(struct ata_port *a unsigned int devmask = 0, err_mask; u8 err; - DPRINTK("ENTER\n"); + DPRINTK("ENTER ata%u\n", ap->id); if (ap->ops->scr_read && !sata_dev_present(ap)) { classes[0] = ATA_DEV_NONE; diff --git a/include/linux/libata.h b/include/linux/libata.h index b80d2e7..b6b21f6 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -38,7 +38,7 @@ #include <linux/workqueue.h> * compile-time options: to be removed as soon as all the drivers are * converted to the new debugging mechanism */ -#undef ATA_DEBUG /* debugging output */ +#define ATA_DEBUG /* debugging output */ #undef ATA_VERBOSE_DEBUG /* yet more debugging output */ #undef ATA_IRQ_TRAP /* define to ack screaming irqs */ #undef ATA_NDEBUG /* define to disable quick runtime checks */ - : 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