вторник, 8 юни 2010 г.

2.6.33 and 2.6.34 kernel suspend hibernate trouble

For 2.6.33: USB3 module is: xhci
For 2.6.34: USB3 module is: xhci_hcd

Before start suspend:

rmmod xhci_hcd ehci_hcd ohci_hcd forcedeth hangcheck-timer usbcore

After resume must:

modprobe usbcore
modprobe xhci_hcd
modprobe ehci_hcd
modprobe ohci_hcd
modprobe forcedeth
modprobe hangcheck-timer


Usually script's know for all this but not for USB3. And you will see this error:
/usr/lib64/pm-utils/pm-functions: line 295: echo: write error: Input/output error
or
/usr/lib64/pm-utils/pm-functions: line 295: echo: write error: No such file or directory

or similar. This is not a bug. This is caused from:

kernel: hub 6-0:1.0: cannot reset port 1 (err = -19)
kernel: hub 6-0:1.0: cannot disable port 1 (err = -19)

PM: Device usb2 failed to freeze async: error -2
kernel: PM: Device usb2 failed to suspend async: error -2
kernel: PM: Some devices failed to suspend

It can be seen in Slackware log's after : pm-suspend
this command produce very helpful LOG.

Няма коментари: