Re: 2.5.65-ac2 -- hda/ide trouble on ICH4

From: Dominik Brodowski (linux@brodo.de)
Date: Sun Mar 23 2003 - 09:59:15 EST


On Sun, Mar 23, 2003 at 03:47:54PM +0000, Alan Cox wrote:
> On Sun, 2003-03-23 at 01:03, Dominik Brodowski wrote:
> > while (!list_empty(&list)) {
> > ide_drive_t *drive = list_entry(list.next, ide_drive_t,
> > list);
> > list_del_init(&drive->list);
> > if (drive->present)
> > ata_attach(drive);
>
> Can you boot and printk the drive name out each iteration see if the list
> is hosed somewhere.

printk("%4s\n", drive->name) prints out "hdd" all the time.

hda is an ATA disk drive
hdb is empty
hdc is an ATAPI CD/DVD-ROM drive
hdd is an ATAPI CD-ROM CD-R/RW drive

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



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:44 EST