This appears to fix the oops in isapnp_create_device at boot:
--- linus-2.3.38/drivers/pnp/isapnp.c Mon Jan 10 02:50:24 2000
+++ linux/drivers/pnp/isapnp.c Mon Jan 10 04:13:13 2000
@@ -991,6 +991,7 @@
continue;
if ((card = isapnp_alloc(sizeof(struct pci_bus))) == NULL)
continue;
+ INIT_LIST_HEAD(&card->devices);
card->number = csn;
card->vendor = (header[1] << 8) | header[0];
card->device = (header[3] << 8) | header[2];
I noticed another patch that had the INIT_LIST_HEAD lower down in
the same function: it doesn't work because the card->devices list
head is accessed earlier, in isapnp_create_devices, causing the
oops (that's where EIP points in the oops, anyway).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:15 EST