OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: swampfox on April 09, 2006, 05:04:28 pm

Title: C3200 - Suspend Problem
Post by: swampfox on April 09, 2006, 05:04:28 pm
I have installed OZ 3.5.4.1 Alpha1 on the 3200, but experience a problem with suspend. After reboot suspend works just one time, after the first resume OS
refuses to get suspended again, here is dmesg:

Stopping tasks: =====================================|
hub 1-0:1.0: error -16
Could not suspend device 1-0:1.0: error -16
Some devices failed to suspend
Restarting tasks... done

And the system continues to work. Here is /proc/version if it matters:
Linux version 2.6.15-3.5.4.1-alpha1 (richard@sam) (gcc version 3.4.4) PREEMPT Mon Mar 20 07:55:10 GMT 2006


It seems to me the kernel is unable to suspend HDD ? I don't have any card inserted in slots.
Any ideas ?
Title: C3200 - Suspend Problem
Post by: enodr on April 10, 2006, 09:05:24 am
Suspend works fine on mine but reboot doesn't (system just hangs).
Title: C3200 - Suspend Problem
Post by: rpurdie on April 10, 2006, 09:59:28 am
Quote
I have installed OZ 3.5.4.1 Alpha1 on the 3200, but experience a problem with suspend. After reboot suspend works just one time, after the first resume OS
refuses to get suspended again, here is dmesg:

Stopping tasks: =====================================|
hub 1-0:1.0: error -16
Could not suspend device 1-0:1.0: error -16
Some devices failed to suspend
Restarting tasks... done

And the system continues to work. Here is /proc/version if it matters:
Linux version 2.6.15-3.5.4.1-alpha1 (richard@sam) (gcc version 3.4.4) PREEMPT Mon Mar 20 07:55:10 GMT 2006


It seems to me the kernel is unable to suspend HDD ? I don't have any card inserted in slots.
Any ideas ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122420\"][{POST_SNAPBACK}][/a][/div]

Could you try removing all the usb modules before suspending/resuming? (rmmod ohci_hcd, pxa27x_udc and any usb related ones). This doesn't look like the HDD but more like some USB module issue.

Richard
Title: C3200 - Suspend Problem
Post by: rpurdie on April 10, 2006, 10:00:52 am
Quote
Suspend works fine on mine but reboot doesn't (system just hangs).
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122487\"][{POST_SNAPBACK}][/a][/div]

Does this happen for every reboot or just occasionally?

Richard
Title: C3200 - Suspend Problem
Post by: enodr on April 10, 2006, 10:42:50 am
Quote
Quote
Suspend works fine on mine but reboot doesn't (system just hangs).
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122487\"][{POST_SNAPBACK}][/a][/div]

Does this happen for every reboot or just occasionally?

Richard
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122496\"][{POST_SNAPBACK}][/a][/div]

Ok I have done some more testing, in fact the problem was with the "Logout" shortcut in the start menu, not the shutdown. I have installed 3.5.4.1Beta1 only yesterday and it happened once (only tried twice). That was just after having finished the install. I will post again here it it happens again.
Title: C3200 - Suspend Problem
Post by: swampfox on April 10, 2006, 11:23:35 am
Quote
Suspend works fine on mine but reboot doesn't (system just hangs).
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122487\"][{POST_SNAPBACK}][/a][/div]


Are you sure it hangs ? Issuing "reboot" or "shutdown -r now" on mine one,
acts the same way as "poweroff".
May be you just need to press On/Off button ?

PS Oops. Correction: "poweroff" hangs the system. Try "reboot" or "shutdown -r now" to actually power off.
Title: C3200 - Suspend Problem
Post by: swampfox on April 10, 2006, 11:48:27 am
Cool. You are absolutely right. The bastard was "ohci_hcd".
rmmod ohci_hcd
fixes the problem immediately.

Is there any way to bug report this problem ? Just not sure
about the best destination.


Quote
Could you try removing all the usb modules before suspending/resuming? (rmmod ohci_hcd, pxa27x_udc and any usb related ones). This doesn't look like the HDD but more like some USB module issue.

Richard
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122495\"][{POST_SNAPBACK}][/a][/div]
Title: C3200 - Suspend Problem
Post by: enodr on April 10, 2006, 11:58:47 am
Mine shut froze while doing a shutdown (from within OPIE, not command line). I didn't try to desactivate the wired ethernet card before trying the shutdown. Maybe that's the reason.