Re: 2.6.25-rc8-mm1 panic in rpaphp_register_slot()

From: Badari Pulavarty
Date: Tue Apr 15 2008 - 23:20:38 EST


Alex Chiang wrote:
+ if (slot->bus->self)
+ slot_nr = PCI_SLOT(slot->bus->self->devfn);
+ else
+ slot_nr = 0;
+ retval = pci_hp_register(php_slot, slot->bus, slot_nr);
if (retval) {
err("pci_hp_register failed with error %d\n", retval);
return retval;
No. It didn't help. I had to hack "slot_nr = 0" all the time to boot my machine.

It didn't help because you're still getting a NULL deref? Or are
you seeing some other failure mode?
I am pretty sure it was NULL deref. I can double check again, but have to wait
till tomorrow morning - don't have access to console right now.

Thanks,
Badari

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