* Random crashes on snooze
@ 2004-03-17 7:09 Ira Weiny
2004-03-17 7:23 ` Benjamin Herrenschmidt
2004-03-17 17:19 ` [LPPC] " Josh Rosenau
0 siblings, 2 replies; 5+ messages in thread
From: Ira Weiny @ 2004-03-17 7:09 UTC (permalink / raw)
To: linuxppc-dev
I know I don't contribute much here but I just can't seem to find any clue
about what is happening. So I need help.
I just upgraded to Yellow Dog 3.0. Since doing so I have experienced seemingly
random crashes when I issue a "snooze" command "/sbin/snooze".
Here are machine specs:
14:29:54 > rpm -qa | grep pmud
pmud-0.10-3f
14:30:00 > uname -a
Linux batwing2 2.4.25-ben1-sleep-debug #15 Tue Mar 16 11:29:56 PST 2004 ppc ppc ppc GNU/Linux
14:31:54 > cat /proc/cpuinfo
processor : 0
cpu : 7410
clock : 500MHz
revision : 17.3 (pvr 800c 1103)
bogomips : 996.14
machine : PowerBook3,2
motherboard : PowerBook3,2 MacRISC2 MacRISC Power Macintosh
board revision : 00000001
detected as : 71 (PowerBook Titanium)
pmac flags : 0000000b
L2 cache : 1024K unified
memory : 512MB
pmac-generation : NewWorld
I put some debug messages in the sleep code and I think it might have something
to do with the awacs sound driver.
>From /var/log/messages on a bad sleep:
Mar 16 17:49:15 batwing2 kernel: IKW sleep 1 calling c03b5ff4 (c020cae0)
Mar 16 17:49:15 batwing2 kernel: aty128fb: aty128_sleep_notify when 1 board c1ab1800
Mar 16 17:49:16 batwing2 kernel: IKW sleep 1 accepted by c03b5ff4 (c020cae0)
Mar 16 17:49:16 batwing2 kernel: IKW Sync disks
Mar 16 17:49:16 batwing2 kernel: IKW sleep 2 calling c03868ec (c01d1b6c)
Dec 31 20:53:02 batwing2 syslogd 1.4.1: restart.
>From System.map
c01d1b6c t awacs_sleep_notify
But I don't know if there is something missing from the file because of course
nothing can be written to the disk at this time... Does anyone have any other
clues?
Thanks,
Ira
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Random crashes on snooze
2004-03-17 7:09 Random crashes on snooze Ira Weiny
@ 2004-03-17 7:23 ` Benjamin Herrenschmidt
2004-03-17 18:00 ` Ira Weiny
2004-03-17 17:19 ` [LPPC] " Josh Rosenau
1 sibling, 1 reply; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2004-03-17 7:23 UTC (permalink / raw)
To: Ira Weiny; +Cc: linuxppc-dev list
> But I don't know if there is something missing from the file because of course
> nothing can be written to the disk at this time... Does anyone have any other
> clues?
>
Does it improve things if you disable the driver ?
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LPPC] Random crashes on snooze
2004-03-17 7:09 Random crashes on snooze Ira Weiny
2004-03-17 7:23 ` Benjamin Herrenschmidt
@ 2004-03-17 17:19 ` Josh Rosenau
1 sibling, 0 replies; 5+ messages in thread
From: Josh Rosenau @ 2004-03-17 17:19 UTC (permalink / raw)
To: linuxppc-dev
So on Tue, Mar 16, 2004 at 11:09:25PM -0800, Ira Weiny was all like,
>I put some debug messages in the sleep code and I think it might have something
>to do with the awacs sound driver.
>
>>From /var/log/messages on a bad sleep:
>
>Mar 16 17:49:15 batwing2 kernel: IKW sleep 1 calling c03b5ff4 (c020cae0)
>Mar 16 17:49:15 batwing2 kernel: aty128fb: aty128_sleep_notify when 1 board c1ab1800
>Mar 16 17:49:16 batwing2 kernel: IKW sleep 1 accepted by c03b5ff4 (c020cae0)
>Mar 16 17:49:16 batwing2 kernel: IKW Sync disks
>Mar 16 17:49:16 batwing2 kernel: IKW sleep 2 calling c03868ec (c01d1b6c)
>Dec 31 20:53:02 batwing2 syslogd 1.4.1: restart.
>
>>From System.map
>c01d1b6c t awacs_sleep_notify
>
>But I don't know if there is something missing from the file because of course
>nothing can be written to the disk at this time... Does anyone have any other
>clues?
I've avoided crashes on sleep on my Lombard by always unloading the
sound module. It isn't elegant, but it works. One more data point.
--
Joshua Rosenau 1345 Jayhawk Boulevard/Dyche Hall
(785) 864-4159 Lawrence, KS 66045-7561
The struggling for knowledge has a pleasure in it like
that of wrestling with a fine woman. -- Lord Halifax
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Random crashes on snooze
2004-03-17 7:23 ` Benjamin Herrenschmidt
@ 2004-03-17 18:00 ` Ira Weiny
2004-03-18 22:41 ` Ira Weiny
0 siblings, 1 reply; 5+ messages in thread
From: Ira Weiny @ 2004-03-17 18:00 UTC (permalink / raw)
To: Benjamin Herrenschmidt, linuxppc-dev
On Wed, 17 Mar 2004 18:23:24 +1100
Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
>
> > But I don't know if there is something missing from the file because of course
> > nothing can be written to the disk at this time... Does anyone have any other
> > clues?
> >
>
> Does it improve things if you disable the driver ?
>
>
I just disabled the driver last night after emailing the list. I have not had
it crash yet. So? Maybe? The randomness nature of this has made it
frustrating to determine if what I have done helps. I have tried disabling
other things and thought "hey that worked!" only to have it crash on the next
sleep!!! :-(
I got another response which said he had to disable the sound driver on his
Lombard before sleep. I will continue to investigate.
Thanks,
Ira
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Random crashes on snooze
2004-03-17 18:00 ` Ira Weiny
@ 2004-03-18 22:41 ` Ira Weiny
0 siblings, 0 replies; 5+ messages in thread
From: Ira Weiny @ 2004-03-18 22:41 UTC (permalink / raw)
To: linuxppc
On Wed, 17 Mar 2004 10:00:09 -0800
Ira Weiny <iweiny@acm.org> wrote:
>
> I just disabled the driver last night after emailing the list. I have not had
> it crash yet. So? Maybe? The randomness nature of this has made it
>
Well so far so good. I will start digging in the awacs code to see if I can
figure out what leads up to the crash. I did notice that it seemed worse after
the machine had been sitting idle for some time. Maybe the awacs driver was
already powered down and there is something wrong with it's state when the
"snooze" comes in?
I will see if I can get more information.
Ira
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-03-18 22:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-17 7:09 Random crashes on snooze Ira Weiny
2004-03-17 7:23 ` Benjamin Herrenschmidt
2004-03-17 18:00 ` Ira Weiny
2004-03-18 22:41 ` Ira Weiny
2004-03-17 17:19 ` [LPPC] " Josh Rosenau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).