Author Topic: C3200 - Suspend Problem  (Read 3020 times)

swampfox

  • Newbie
  • *
  • Posts: 6
    • View Profile
C3200 - Suspend Problem
« 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 ?

enodr

  • Full Member
  • ***
  • Posts: 133
    • View Profile
C3200 - Suspend Problem
« Reply #1 on: April 10, 2006, 09:05:24 am »
Suspend works fine on mine but reboot doesn't (system just hangs).

rpurdie

  • Newbie
  • *
  • Posts: 26
    • View Profile
C3200 - Suspend Problem
« Reply #2 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

rpurdie

  • Newbie
  • *
  • Posts: 26
    • View Profile
C3200 - Suspend Problem
« Reply #3 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

enodr

  • Full Member
  • ***
  • Posts: 133
    • View Profile
C3200 - Suspend Problem
« Reply #4 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.

swampfox

  • Newbie
  • *
  • Posts: 6
    • View Profile
C3200 - Suspend Problem
« Reply #5 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.
« Last Edit: April 10, 2006, 12:19:40 pm by swampfox »

swampfox

  • Newbie
  • *
  • Posts: 6
    • View Profile
C3200 - Suspend Problem
« Reply #6 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]

enodr

  • Full Member
  • ***
  • Posts: 133
    • View Profile
C3200 - Suspend Problem
« Reply #7 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.