* X still locks up
@ 2000-07-07 2:26 Gwyn Judd
2000-07-07 3:22 ` Dan Foster
` (3 more replies)
0 siblings, 4 replies; 13+ messages in thread
From: Gwyn Judd @ 2000-07-07 2:26 UTC (permalink / raw)
To: LinuxPPC Developers List
Here is an update on the status:
1) I tried installing the Xpmac.rev10 server that someone recommened in
the hope that that would fix the problem. Unfortunately it didn't as
five minutes ago the system locked up yet again. This seems to suggest
it may be kernel related rather than X related.
2) I recompiled my kernel wth the "Magic Sysrq" support in it. This
seems to work more or less as designed. However when the system locked
up as before the "magic sysrq" key did not work at all meaning I had to
reboot without being able to shut down properly. This suggests to me
that the kernel had itself crashed.
3) When I rebooted there was no kernel panic in the logs. This has me
puzzled. I suppose it could have crashed and not had it written out to
disk in time. On the otherhand this has happened before and each time
there is no panic.
--
Gwyn Judd (b.judd@xtra.co.nz)
f u cn rd ths, u r prbbly a lsy spllr.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: X still locks up
2000-07-07 2:26 Gwyn Judd
@ 2000-07-07 3:22 ` Dan Foster
2000-07-07 3:35 ` Gwyn Judd
2000-07-07 6:07 ` Michel Lanners
` (2 subsequent siblings)
3 siblings, 1 reply; 13+ messages in thread
From: Dan Foster @ 2000-07-07 3:22 UTC (permalink / raw)
To: Gwyn Judd; +Cc: LinuxPPC Developers List
Hot Diggety! Gwyn Judd was rumored to have wrote:
>
> Here is an update on the status:
>
> 1) I tried installing the Xpmac.rev10 server that someone recommened in
> the hope that that would fix the problem. Unfortunately it didn't as
> five minutes ago the system locked up yet again. This seems to suggest
> it may be kernel related rather than X related.
>
> 2) I recompiled my kernel wth the "Magic Sysrq" support in it. This
> seems to work more or less as designed. However when the system locked
> up as before the "magic sysrq" key did not work at all meaning I had to
> reboot without being able to shut down properly. This suggests to me
> that the kernel had itself crashed.
Exact same thing on my previously rock solid x86 box - only change was that
I'd just upgraded to XFree86 4.0.1 and kernel 2.2.16, from XFree86 3.3.6 and
kernel 2.2.13.
The behavior is identical - makes me wonder if this was the mmap() bug
that BenH previously mentioned, and if this was a cross-platform issue
not just isolated to PPC?
-Dan
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: X still locks up
2000-07-07 3:22 ` Dan Foster
@ 2000-07-07 3:35 ` Gwyn Judd
2000-07-07 10:47 ` Martin Costabel
0 siblings, 1 reply; 13+ messages in thread
From: Gwyn Judd @ 2000-07-07 3:35 UTC (permalink / raw)
To: Dan Foster; +Cc: LinuxPPC Developers List
On Thu, Jul 06, 2000 at 11:22:59PM -0400, Dan Foster wrote:
> Hot Diggety! Gwyn Judd was rumored to have wrote:
> >
> > Here is an update on the status:
> >
> > 1) I tried installing the Xpmac.rev10 server that someone recommened in
> > the hope that that would fix the problem. Unfortunately it didn't as
> > five minutes ago the system locked up yet again. This seems to suggest
> > it may be kernel related rather than X related.
> >
> > 2) I recompiled my kernel wth the "Magic Sysrq" support in it. This
> > seems to work more or less as designed. However when the system locked
> > up as before the "magic sysrq" key did not work at all meaning I had to
> > reboot without being able to shut down properly. This suggests to me
> > that the kernel had itself crashed.
>
> Exact same thing on my previously rock solid x86 box - only change was that
> I'd just upgraded to XFree86 4.0.1 and kernel 2.2.16, from XFree86 3.3.6 and
> kernel 2.2.13.
>
> The behavior is identical - makes me wonder if this was the mmap() bug
> that BenH previously mentioned, and if this was a cross-platform issue
> not just isolated to PPC?
Okay so you get it on x86 2.2.16 and XFree 4.01
I get it on powerpc kernel >= 2.2.15 and XFree3.3.6
Any other takers?
--
Gwyn Judd (b.judd@xtra.co.nz)
Be frank and explicit with your lawyer ... it is his business to confuse
the issue afterwards.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: X still locks up
2000-07-07 2:26 Gwyn Judd
2000-07-07 3:22 ` Dan Foster
@ 2000-07-07 6:07 ` Michel Lanners
2000-07-07 9:09 ` Michel Dänzer
[not found] ` <20000707105332.11070@mailhost.mipsys.com>
3 siblings, 0 replies; 13+ messages in thread
From: Michel Lanners @ 2000-07-07 6:07 UTC (permalink / raw)
To: b.judd; +Cc: linuxppc-dev
Hi all,
On 7 Jul, this message from Gwyn Judd echoed through cyberspace:
> 3) When I rebooted there was no kernel panic in the logs. This has me
> puzzled. I suppose it could have crashed and not had it written out to
> disk in time. On the otherhand this has happened before and each time
> there is no panic.
If you want to be sure you get all panic logs, the only way is to get a
serial console. The console is the only device that is guaranteed to get
a panic log, if one is produced. You'd also see it on a (screen) console
if you weren't running X...
There's a doc explaining serial console under the linux/Documentation
directory.
Michel
-------------------------------------------------------------------------
Michel Lanners | " Read Philosophy. Study Art.
23, Rue Paul Henkes | Ask Questions. Make Mistakes.
L-1710 Luxembourg |
email mlan@cpu.lu |
http://www.cpu.lu/~mlan | Learn Always. "
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: X still locks up
2000-07-07 2:26 Gwyn Judd
2000-07-07 3:22 ` Dan Foster
2000-07-07 6:07 ` Michel Lanners
@ 2000-07-07 9:09 ` Michel Dänzer
[not found] ` <20000707105332.11070@mailhost.mipsys.com>
3 siblings, 0 replies; 13+ messages in thread
From: Michel Dänzer @ 2000-07-07 9:09 UTC (permalink / raw)
To: Gwyn Judd; +Cc: LinuxPPC Developers List
Gwyn Judd wrote:
>
> Here is an update on the status:
>
> 1) I tried installing the Xpmac.rev10 server that someone recommened in
> the hope that that would fix the problem. Unfortunately it didn't as
> five minutes ago the system locked up yet again. This seems to suggest
> it may be kernel related rather than X related.
>
> 2) I recompiled my kernel wth the "Magic Sysrq" support in it. This
> seems to work more or less as designed. However when the system locked
> up as before the "magic sysrq" key did not work at all meaning I had to
> reboot without being able to shut down properly. This suggests to me
> that the kernel had itself crashed.
>
> 3) When I rebooted there was no kernel panic in the logs. This has me
> puzzled. I suppose it could have crashed and not had it written out to
> disk in time. On the otherhand this has happened before and each time
> there is no panic.
All these things may also indicate a hardware lockup - let's not hope so...
Michel
--
The computer revolution is over. The computers won.
______________________________________________________________________________
Earthling Michel Dänzer (MrCooper) \ CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \ member of XFree86, Team *AMIGA*, AUGS
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: X still locks up
2000-07-07 3:35 ` Gwyn Judd
@ 2000-07-07 10:47 ` Martin Costabel
2000-07-07 16:39 ` Gregorio Gervasio Jr.
0 siblings, 1 reply; 13+ messages in thread
From: Martin Costabel @ 2000-07-07 10:47 UTC (permalink / raw)
To: Gwyn Judd; +Cc: Dan Foster, LinuxPPC Developers List
Gwyn Judd wrote:
[]
> Okay so you get it on x86 2.2.16 and XFree 4.01
> I get it on powerpc kernel >= 2.2.15 and XFree3.3.6
> Any other takers?
I don't know if all this is really the same thing, but I have been
getting sudden X freezes randomly with all 2.2.x kernels when using
Xpmac. For me this was the main reason to switch to XFree68_FBDev where
I *never* got these with 2.2.x kernels. Now I am getting these freezes
also with XFree68_FBDev (some 3.3.6 version) when using 2.3.x or 2.4.0
kernels. I very rarely use xmms (but always netscape), and I get these
freezes sometimes when the machine is completely idle. Sometimes this
happens after a couple of minutes, sometimes after 3 days.
The symptoms are: Mouse frozen, no keyboard input possible, no
MagicSysRq, no X shutdown with ctl-cmd-del, no console switching, the
only key combination working is the ctl-cmd-power hard reboot. On the
other hand, the kernel and even X seem to continue to live at least for
a while. I can see messages continue to scroll down and hear downloads
or compilations making their disk noise. The one time I tried to ping
from the outside, I was not successful, but then it sometimes takes 2
minutes of pinging to wake the machine up and get a response even when
it is not frozen.
>From my observations, I concluded that this must be a problem with the
keyboard and/or mouse drivers in X. But since this part of the kernel
and X ( I never understood why XFree has to have their own drivers for
everything that is already in the kernel) is worst black magic, rapidly
changing in incompatible ways, and since my machine (6400, ADB keyboard
and mouse, valkyrie video) belongs to an endangered species anyway, I
did not really try to understand what happens.
--
Martin
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: X still locks up
2000-07-07 10:47 ` Martin Costabel
@ 2000-07-07 16:39 ` Gregorio Gervasio Jr.
0 siblings, 0 replies; 13+ messages in thread
From: Gregorio Gervasio Jr. @ 2000-07-07 16:39 UTC (permalink / raw)
To: LinuxPPC Developers List
>>>>> On Fri, 07 Jul 2000 11:47:14 +0100, Martin Costabel <costabel@univ-rennes1.fr> said:
m> I don't know if all this is really the same thing, but I have been
m> getting sudden X freezes randomly with all 2.2.x kernels when using
m> Xpmac. For me this was the main reason to switch to XFree68_FBDev
m> where I *never* got these with 2.2.x kernels. Now I am getting
m> these freezes also with XFree68_FBDev (some 3.3.6 version) when
m> using 2.3.x or 2.4.0 kernels. I very rarely use xmms (but always
m> netscape), and I get these freezes sometimes when the machine is
m> completely idle. Sometimes this happens after a couple of minutes,
m> sometimes after 3 days.
This is the main reason I use XFree68_FBDev, too (2.2.17pre3
kernel, PowerWave w/ Newer G3 upgrade, ATI Mach64 GX video, XFree86
3.3.6) -- Xpmac would lock up the machine after a few minutes. I
haven't tried a 2.[34].x kernel yet. Ugh. I guess I'll need to do
that soon.
Gregorio Gervasio, Jr.
gtgj@pacbell.net
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: X still locks up
[not found] ` <20000707105332.11070@mailhost.mipsys.com>
@ 2000-07-08 19:15 ` Gwyn Judd
0 siblings, 0 replies; 13+ messages in thread
From: Gwyn Judd @ 2000-07-08 19:15 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: LinuxPPC Developers List
On Fri, Jul 07, 2000 at 12:53:32PM +0200, Benjamin Herrenschmidt wrote:
> >1) I tried installing the Xpmac.rev10 server that someone recommened in
> >the hope that that would fix the problem. Unfortunately it didn't as
> >five minutes ago the system locked up yet again. This seems to suggest
> >it may be kernel related rather than X related.
> >
> >2) I recompiled my kernel wth the "Magic Sysrq" support in it. This
> >seems to work more or less as designed. However when the system locked
> >up as before the "magic sysrq" key did not work at all meaning I had to
> >reboot without being able to shut down properly. This suggests to me
> >that the kernel had itself crashed.
> >
> >3) When I rebooted there was no kernel panic in the logs. This has me
> >puzzled. I suppose it could have crashed and not had it written out to
> >disk in time. On the otherhand this has happened before and each time
> >there is no panic.
>
> Can you give a try to my current rsync tree (linuxcare.com.au::linux-
> pmac-benh) and tell me if it helps ?
Okay I got that kernel working but it crashed overnight :(. Seems like
the problem is still there. It seems to happen most often when I'm
listening to streaming mp3's (ie. internet radio stations or the like)
if that helps.
--
Gwyn Judd (b.judd@xtra.co.nz)
A citizen of America will cross the ocean to fight for democracy, but
won't cross the street to vote in a national election.
-- Bill Vaughan
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: X still locks up
@ 2000-07-08 22:06 Iain Sandoe
0 siblings, 0 replies; 13+ messages in thread
From: Iain Sandoe @ 2000-07-08 22:06 UTC (permalink / raw)
To: Gwyn Judd; +Cc: linuxppc-dev
Sat, Jul 8, 2000 Gwyn Judd wrote:
> On Fri, Jul 07, 2000 at 12:53:32PM +0200, Benjamin Herrenschmidt wrote:
[...]
>>
>> Can you give a try to my current rsync tree (linuxcare.com.au::linux-
>> pmac-benh) and tell me if it helps ?
>
> Okay I got that kernel working but it crashed overnight :(. Seems like
> the problem is still there. It seems to happen most often when I'm
> listening to streaming mp3's (ie. internet radio stations or the like)
> if that helps.
Three things:
1/ did you try the backported audio stuff I posted yesterday - there were
some issues that were resolved between 2.2.xx and 2.3/4.xx these should be
present in the backport. It does work OK against 2.2.17pre10-ben1.
2/ You could try separating out audio, X, & network-related fault areas by
running each area separately for a while?
3/ It tends to look (as Michel said yesterday) potentially like a hardware
problem. I assume you have no over-clocking or stuff like that going on?
(unlikely on PPC I agree but I thought I'd ask).
BTW I've never had a random lock-up on Xpmac...
good luck,
Iain.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: X still locks up
[not found] <200007090058.BAA22277@hyperion.valhalla.net>
@ 2000-07-09 10:29 ` Gwyn Judd
2000-07-09 19:24 ` Michel Dänzer
0 siblings, 1 reply; 13+ messages in thread
From: Gwyn Judd @ 2000-07-09 10:29 UTC (permalink / raw)
To: Iain Sandoe; +Cc: LinuxPPC Developers List
On Sun, Jul 09, 2000 at 01:58:42AM +0100, Iain Sandoe wrote:
>
> > On Sat, Jul 08, 2000 at 11:06:40PM +0100, Iain Sandoe wrote:
> >> Three things:
> >>
> >> 1/ did you try the backported audio stuff I posted yesterday - there were
> >> some issues that were resolved between 2.2.xx and 2.3/4.xx these should be
> >> present in the backport. It does work OK against 2.2.17pre10-ben1.
> >
> > Oh whoops can you send that to me or tell me where I can get it? I
> > thought it was part of bens kernel.
>
> Well, I wish it might be one day - but it's quite new (yesterday) and it
> will take a bit more testing before it's accepted.
>
> here's the URL:
>
> http://quimby.gnus.org/circus/dmasound_backport.patch.bz2
>
> (but there's no reference to it anywhere higher up so use something like
> anarchie/interarchy get via http - or whatever).
Okay I tried that one by applying the patch to the current stable kernel
(2.2.17 I believe). Once gnome started up I got an error message "No
mixers found". When I tried to play an mp3 through xmms X locked up
completely although I was able to change VT's, however I was unable to
kill X or reboot properly. Oh well at least fsck is getting a work-out
this week :).
I'm going back to 2.2.14 for a bit to see if I get the same problem with
a slightly older kernel.
--
Gwyn Judd (b.judd@xtra.co.nz)
I hate quotations.
-- Ralph Waldo Emerson
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: X still locks up
@ 2000-07-09 12:25 Iain Sandoe
0 siblings, 0 replies; 13+ messages in thread
From: Iain Sandoe @ 2000-07-09 12:25 UTC (permalink / raw)
To: Gwyn Judd; +Cc: linuxppc-dev
Sun, Jul 9, 2000 Gwyn Judd wrote:
> On Sun, Jul 09, 2000 at 01:58:42AM +0100, Iain Sandoe wrote:
>>
>> > On Sat, Jul 08, 2000 at 11:06:40PM +0100, Iain Sandoe wrote:
>> >> Three things:
>> >>
>> >> 1/ did you try the backported audio stuff I posted yesterday - there were
>> >> some issues that were resolved between 2.2.xx and 2.3/4.xx these should be
>> >> present in the backport. It does work OK against 2.2.17pre10-ben1.
>> >
>> > Oh whoops can you send that to me or tell me where I can get it? I
>> > thought it was part of bens kernel.
>>
>> Well, I wish it might be one day - but it's quite new (yesterday) and it
>> will take a bit more testing before it's accepted.
>>
>> here's the URL:
>>
>> http://quimby.gnus.org/circus/dmasound_backport.patch.bz2
>>
>> (but there's no reference to it anywhere higher up so use something like
>> anarchie/interarchy get via http - or whatever).
>
> Okay I tried that one by applying the patch to the current stable kernel
> (2.2.17 I believe).
It was against 2.2.17pre7 (linuxcare linux-pmac-stable tree) - but tested
against Ben's pre10-ben1 as well rsync'ed as of yesterday.
>Once gnome started up I got an error message "No
> mixers found".
Are you using modules - or complied in? Modules currently require a
different insertion thingy:
modprobe soundcore
modprobe dmasound_core
modprode dmasound_awacs
I asked Geert about this - will get back to you/list when this is resolved.
check you have action with cat /proc/modules and cat /dev/sndstat before
doing anything too exotic.
suggestion ;-) boot 'single' do the modprobes and a simple check before
going to init 5.
Also please remind me what machine you are on and whether you have any OSS
stuff enabled as well.
>When I tried to play an mp3 through xmms X locked up
> completely although I was able to change VT's, however I was unable to
> kill X or reboot properly. Oh well at least fsck is getting a work-out
> this week :).
Does Magic SysRq work for you (alt-F13) on my G3
try:
alt-f13-k (kill processes in current vt)
alt-f13-s (emergency sync)
alt-f13-e (kill everything except init)
This *should* at least save some fsking time :-)
thanks for the report...
Iain.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: X still locks up
2000-07-09 10:29 ` Gwyn Judd
@ 2000-07-09 19:24 ` Michel Dänzer
0 siblings, 0 replies; 13+ messages in thread
From: Michel Dänzer @ 2000-07-09 19:24 UTC (permalink / raw)
To: Gwyn Judd; +Cc: Iain Sandoe, LinuxPPC Developers List
Gwyn Judd wrote:
> When I tried to play an mp3 through xmms X locked up completely although I
> was able to change VT's, however I was unable to kill X or reboot properly.
Strange, if X hangs you actually shouldn't be able to switch VT...
Michel
--
Software is like sex; it's better when it's free - Linus Torvalds
______________________________________________________________________________
Earthling Michel Dänzer (MrCooper) \ CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \ member of XFree86, Team *AMIGA*, AUGS
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: X still locks up
@ 2000-07-09 20:56 Iain Sandoe
0 siblings, 0 replies; 13+ messages in thread
From: Iain Sandoe @ 2000-07-09 20:56 UTC (permalink / raw)
To: Michel Dänzer, Gwyn Judd; +Cc: linuxppc developers list
Sun, Jul 9, 2000, 20:24 Michel Dänzer wrote:
> Gwyn Judd wrote:
>
>> When I tried to play an mp3 through xmms X locked up completely although I
>> was able to change VT's, however I was unable to kill X or reboot properly.
another thought - Which version of XMMS ?
> Strange, if X hangs you actually shouldn't be able to switch VT...
True...
More info.
I observed an effect (*before* doing the back-port) that when I reduced the
buffer size to minimum X ran like treacle (ATI Mach64 + G3 shouldn't be)...
could (just) possibly look a little like a lock-up if the machine was
slower...
Update:
I just used the back-ported drivers to run Benno Senoner's latency test code
- which simultaneously stresses various parts of the system whilst playing
sound... The includes running x11perf.
No problems here... (the results are not so good but that's another
story)...
I might leave Benno's test running overnight to see if I can get the 'lock'
effect - but I've been hammering this system (with complies, debugs, find /,
netscape etc. etc.) and can't replicate the problem.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2000-07-09 20:56 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-09 12:25 X still locks up Iain Sandoe
-- strict thread matches above, loose matches on Subject: below --
2000-07-09 20:56 Iain Sandoe
[not found] <200007090058.BAA22277@hyperion.valhalla.net>
2000-07-09 10:29 ` Gwyn Judd
2000-07-09 19:24 ` Michel Dänzer
2000-07-08 22:06 Iain Sandoe
2000-07-07 2:26 Gwyn Judd
2000-07-07 3:22 ` Dan Foster
2000-07-07 3:35 ` Gwyn Judd
2000-07-07 10:47 ` Martin Costabel
2000-07-07 16:39 ` Gregorio Gervasio Jr.
2000-07-07 6:07 ` Michel Lanners
2000-07-07 9:09 ` Michel Dänzer
[not found] ` <20000707105332.11070@mailhost.mipsys.com>
2000-07-08 19:15 ` Gwyn Judd
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).