Re: 2.6.16-rc4-mm1 kernel crash at bootup. parport trouble?

From: Andrew Morton
Date: Mon Feb 20 2006 - 19:09:31 EST


"Rafael J. Wysocki" <rjw@xxxxxxx> wrote:
>
> > > An unrelated problem is that USB host drivers (ohci-hcd, ehci-hcd) refuse to
> > > suspend. [Investigating ...]
> >
> > Me too.
> >
> > Try reverting reset-pci-device-state-to-unknown-after-disabled.patch.
>
> Heh, that actually helps. :-) Still I have no idea why is that so ...

Because some PCI drivers do pci_disable_device() before
pci_set_power_state(). pci_set_power_state() sees PCI_UNKNOWN and runs
away in terror.

Whether those drivers _should_ be setting the power state of a disabled
device is an open question...
-
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/