2001-03-15 13:16:55

by Matt Johnston

[permalink] [raw]
Subject: OOPS when switching consoles while closing X.

Hi.

I've had a semi-reproducable oops with the kernel. It happens when I'm
shutting down X (Xfree86 4.02 cvs), while it is closing all open apps (KDE
2.1.1 cvs). I switch to a text console (ctrl-alt-F2 etc), and it crashes
almost as soon as the text console is there.

I've noticed it with 2.4.2ac17 and 2.4.2ac20, the problem might have existed
in earlier versions but I haven't noticed it. However I think it is probably
recent, as I often switch to text mode while X is shutting down, so I would
have noticed it. I have recently recompiled KDE, though that shouldn't cause
a kernel OOPS should it??

I'm not sure what information would be helpful, I've included the ksymoops
output for 2.4.2ac17, and my dmesg. Tell me if more is needed.

Cheers,
Matt Johnston.


Attachments:
dmesg.txt (4.60 kB)
242ac17.txt (3.35 kB)
Download all attachments

2001-03-15 14:09:59

by Andrew Morton

[permalink] [raw]
Subject: Re: OOPS when switching consoles while closing X.

Matt Johnston wrote:
>
> Hi.
>
> I've had a semi-reproducable oops with the kernel. It happens when I'm
> shutting down X (Xfree86 4.02 cvs), while it is closing all open apps (KDE
> 2.1.1 cvs). I switch to a text console (ctrl-alt-F2 etc), and it crashes
> almost as soon as the text console is there.
>

Someone is calling console functions from interrupt context.
Unfortunately your backtrace looks wrong. Could you
please rerun ksymoops and send me the output? Make
sure you're using the correct System.map (ksymoops -m).

It should be pretty straightforward to fix. While we're there
we'll do something about do_SAK(), which is acquiring the
tasklist_lock from interrupt context. For heaven's sake.

-

2001-03-15 16:22:13

by Matt Johnston

[permalink] [raw]
Subject: Re: OOPS when switching consoles while closing X.

Ok.

I had -ac20 sources installed, but was using -ac17 results, so I guess it
would look wrong...

Attached now is the -ac20 ksymoops output, using correct System.map, though
I'm not sure about:

"Warning (compare_maps): ksyms_base symbol
__VERSIONED_SYMBOL(shmem_file_setup) not found in System.map. Ignoring
ksyms_base entry"

Is this normal?

I've also attached the -ac20 dmesg.
The oops seems to occur most often when X has heavy disk activity, probably
swapping (64 megs RAM here).

Cheers,
Matt Johnston


On Thu, 15 Mar 2001 22:10, you wrote:
> Matt Johnston wrote:
> > Hi.
> >
> > I've had a semi-reproducable oops with the kernel. It happens when I'm
> > shutting down X (Xfree86 4.02 cvs), while it is closing all open apps
> > (KDE 2.1.1 cvs). I switch to a text console (ctrl-alt-F2 etc), and it
> > crashes almost as soon as the text console is there.
>
> Someone is calling console functions from interrupt context.
> Unfortunately your backtrace looks wrong. Could you
> please rerun ksymoops and send me the output? Make
> sure you're using the correct System.map (ksymoops -m).
>
> It should be pretty straightforward to fix. While we're there
> we'll do something about do_SAK(), which is acquiring the
> tasklist_lock from interrupt context. For heaven's sake.
>
> -


Attachments:
ksymoops-ac20.txt (2.90 kB)
dmesg.txt (4.65 kB)
Download all attachments