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/
This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:44 EST