View previous topic :: View next topic |
Author |
Message |
ralph Advocate
Joined: 02 Mar 2003 Posts: 2001 Location: Hamburg
|
Posted: Wed Oct 20, 2004 9:35 am Post subject: ibook doesn't wake up when hald is running |
|
|
I'm having problems with waking up my ibook. After having played around with the problem a bit I narrowed it down to hald running.
That is, after starting hal my ibook will go to sleep but it will not wake up. It's stopping after waking up eth0 and the only thing I can do then is a hard reboot.
Did anyone experience similar problems?
I'm running the latest hald, dbus, udev and pbbuttons here on a G3 800 ibook.
Edit:
When hald is not running I get:
Code: |
eth0 resuming
PHY ID: 4061e4, addr: 0
ide_pmac: Set UDMA timing for mode 2, reg: 0x1090038c
... |
With hald running I get:
Code: |
eth0: Link is up at 100 Mbps, full-duplex.
eth0: Pause is disabled
|
after the PHY ID part and then it stops and that's it. _________________ The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa |
|
Back to top |
|
|
colinleroy n00b
Joined: 24 Nov 2003 Posts: 50
|
Posted: Wed Oct 20, 2004 2:11 pm Post subject: |
|
|
Looks like a deadlock. Ask people at netdev@oss.sgi.com |
|
Back to top |
|
|
gordin Guru
Joined: 11 Oct 2002 Posts: 300 Location: Germany/WI
|
Posted: Wed Oct 20, 2004 2:33 pm Post subject: |
|
|
Which kernel are you using? I have sleep problems with my iBook2 700Mhz and kernel 2.6.8-r7.
I don't know where this comes from, but I think it has something to do with the radeon-driver. After starting xorg I could not switch back to console. After putting the iBook to sleep the screen goes black and then after a few seconds backlight is on again. Waking up does not work...
so, this might be a completely other problem, but who knows.
Gordin |
|
Back to top |
|
|
ralph Advocate
Joined: 02 Mar 2003 Posts: 2001 Location: Hamburg
|
Posted: Wed Oct 20, 2004 2:59 pm Post subject: |
|
|
I'm using kernel 2.6.8-r6.
I don't think it's a kernel issue though in my case as sleep and wake up work absolutely fine if hald isn't running.
@colinleroy: Probably a dumb question, but who are those people and why should I asked them? _________________ The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa |
|
Back to top |
|
|
SeraphWhisper n00b
Joined: 16 May 2003 Posts: 13
|
Posted: Sun Oct 24, 2004 8:38 pm Post subject: |
|
|
hey, having the same problem. running a g3 500mhz with the rage128, so I don't think it's a radeon driver issue. using kernel 2.6.9. |
|
Back to top |
|
|
ralph Advocate
Joined: 02 Mar 2003 Posts: 2001 Location: Hamburg
|
Posted: Sun Oct 24, 2004 9:57 pm Post subject: |
|
|
At least I'm not alone.
As it always hangs on eth0 I think it's an issue with this driver.
@SeraphWhisper: Does the g3 500 also have a Sungem networkcard? _________________ The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa |
|
Back to top |
|
|
SeraphWhisper n00b
Joined: 16 May 2003 Posts: 13
|
Posted: Mon Oct 25, 2004 8:03 pm Post subject: |
|
|
yea, the g3 500's got a sungem, but I don't think the network cards are the problem. I usually use my airport rather than the ethernet and it still gives me errors. I think it's dying on the ide_pmac bit. Removed both network cards and it still hangs right before that ide_pmac stuff.
I put together a quick workaround tho, which I'll post below |
|
Back to top |
|
|
SeraphWhisper n00b
Joined: 16 May 2003 Posts: 13
|
Posted: Mon Oct 25, 2004 8:12 pm Post subject: Workaround |
|
|
Here's a quick workaround using the PowerManagement Control Scripts. Put the following script in /etc/power/scripts.d. Then put symlinks to the script in /etc/power/suspend.d and resume.d, making the dirs as necessary. Enjoy both HAL and a sleeping ibook
halbug: Code: | #!/bin/sh
# name : halbug
# author : Peter Gamboa <samayou.tenshi@gmail.com>
# modified : 10/25/2004
# description : Workaround for hald sleep bug in iBooks
# requirements: Gentoo hald init script
# limitations :
#
#
# --- end of public part -- don't change below this line ---
PATH=/bin:/sbin:/usr/bin:/usr/sbin
# source configuration
. pmcs-config
case "$1" in
suspend)
/etc/init.d/hald stop
;;
resume)
/etc/init.d/hald start
;;
esac
|
|
|
Back to top |
|
|
ralph Advocate
Joined: 02 Mar 2003 Posts: 2001 Location: Hamburg
|
Posted: Mon Oct 25, 2004 8:52 pm Post subject: |
|
|
Works like a charm!
Thanks so much, finally I have an ibook that not only wakes up but also runs the gnome-volume manager and both at the same time! _________________ The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa |
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1776 Location: PB, Germany
|
Posted: Wed Jul 20, 2005 11:11 am Post subject: |
|
|
I have the same problem with a G3-600 iBook. Sometimes it wakes up, sometimes not.
I tried now 5 times without a problem.
Mostly it hangs after a "self-suspend" after the timeout. Then resuming hangs with "airport waking up".
Kernel is still 2.6.10-gentoo-r6. _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
gordin Guru
Joined: 11 Oct 2002 Posts: 300 Location: Germany/WI
|
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1776 Location: PB, Germany
|
Posted: Wed Jul 20, 2005 11:40 am Post subject: [solved] |
|
|
Thank you very much. I can't see if the script is processed, but it works.
kded mediamanager is now also disabled in the control center.
This has something to do with mounting? Maybe this will also solve my problem, that sometimes the cd drive doesn't open anymore, eventhoug the media is unmounted. _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
|