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

Alan Cox (alan@lxorguk.ukuu.org.uk)
23 Mar 2003 15:47:54 +0000


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.

list is the list of all the drives. We pull the drive off the list
and attach it to the relevant device driver (or ide-default if none
is known).

The behaviour you see certainly sounds like the list got corrupted

-
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/