2002-02-22 17:43:36

by Benedikt Heinen

[permalink] [raw]
Subject: 2.4.17: oops in kapm-idled? (on IBM Thinkpad A30P [2653-66U])


Trying to suspend my A30P, the screen goes black, and then about a
second later, I have this on the console (and syslog of course):

Unable to handle kernel NULL pointer dereference at virtual address 000000b0
printing eip:
f882a876
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<f882a876>] Tainted: PF
EFLAGS: 00010246
eax: 00000000 ebx: f7ef8000 ecx: c2013400 edx: f7e9bc00
esi: 00000000 edi: 00000000 ebp: 00000000 esp: f7ef9ed0
ds: 0018 es: 0018 ss: 0018
Process kapm-idled (pid: 3, stackpage=f7ef9000)
Stack: f7ef8000 00000000 f7e9ba00 f8844073 00000000 f7a42000 c2013408 c2016ab4
c2016aa0 00000003 f8844153 f7e9bc00 00000000 c01f8f9c c2013400 00000003
c01f907e c2013400 00000003 c2016aa0 00000003 00000003 c0278160 c01f9167
Call Trace: [<f8844073>] [<f8844153>] [<c01f8f9c>] [<c01f907e>] [<c01f9167>]
[<c01f91f6>] [<c01219b6>] [<c0121a69>] [<c0110fb0>] [<c0111207>] [<c0111321>]
[<c01113a3>] [<c0111d38>] [<c010546f>] [<c0105478>]

Code: 8b 9c 38 b0 00 00 00 85 db 74 28 8b 43 54 85 c0 74 1a 8b 80


I can continue to work on the machine, but when I try to shut down
the machine, it hangs trying to unload kernel card services (or
maybe immediately AFTER unloading them -- just the last to lines
before the freeze are 'unloading kernel card services'...

Also, what used to work on an A21P, I can no longer get the machine
to hibernate...



Any ideas, what's causing this? If more information is needed,
just let me know, what additional info I should provide...

In case you need it, I made my /usr/src/lin/ux/.config available at

http://icemark.net/beh/dotconfig-2.4.17



Any help would be appreciated! :)


Benedikt

BEAUTY, n. The power by which a woman charms a lover and terrifies a
husband.
(Ambrose Bierce, The Devil's Dictionary)


2002-02-22 18:03:09

by Thomas Hood

[permalink] [raw]
Subject: Re: 2.4.17: oops in kapm-idled? (on IBM Thinkpad A30P [2653-66U])

> Trying to suspend my A30P, the screen goes black, and then about a
> second later, I have this on the console (and syslog of course):
[...]
>
> EIP: 0010:[<f882a876>] Tainted: PF

What kernel modules do you have loaded when this happens?





2002-02-22 19:37:13

by Benedikt Heinen

[permalink] [raw]
Subject: Re: 2.4.17: oops in kapm-idled? (on IBM Thinkpad A30P [2653-66U])

> > Trying to suspend my A30P, the screen goes black, and then about a
> > second later, I have this on the console (and syslog of course):
> [...]
> >
> > EIP: 0010:[<f882a876>] Tainted: PF
> What kernel modules do you have loaded when this happens?

These:

beh@berenium:~ $ /sbin/lsmod
Module Size Used by Tainted: PF
snd-card-intel8x0 8288 0
snd-pcm-oss 34944 0 (unused)
snd-mixer-oss 8864 0 [snd-pcm-oss]
snd-pcm 45760 0 [snd-card-intel8x0 snd-pcm-oss]
snd-timer 9760 0 [snd-pcm]
snd-ac97-codec 22720 0 [snd-card-intel8x0]
snd 23368 0 [snd-card-intel8x0 snd-pcm-oss snd-mixer-oss snd-pcm snd-timer snd-ac97-codec]
soundcore 3268 3 [snd]
xsvc 21864 2 (autoclean)
vmnet 18016 6
vmmon 18228 0 (unused)
ds 6368 2
yenta_socket 8384 2
pcmcia_core 37568 0 [ds yenta_socket]
nfsd 64768 1 (autoclean)
lockd 46624 1 (autoclean) [nfsd]
sunrpc 57428 1 (autoclean) [nfsd lockd]
dummy 960 0 (unused)
e100 60228 1
beh@berenium:~ $ su -

Note:
snd-* -> ALSA 0.9.0beta9
e100 -> EtherExpress Pro driver from Intel,
compiled from the debian e100-source package
xsvc -> Summit (Accelerated X) driver
The problem also occurs without it;
Just trying Accelerated X since I can't get
agpgart+XFree86+DRI to run... agpgart fails
on modprobe... :/
vmnet/vmmon -> VMware 3.0
pcmcia stuff -> pcmcia-cs-3.1.31




Hope this helps...

Benedikt

BEAUTY, n. The power by which a woman charms a lover and terrifies a
husband.
(Ambrose Bierce, The Devil's Dictionary)

2002-02-22 19:48:53

by Alan

[permalink] [raw]
Subject: Re: 2.4.17: oops in kapm-idled? (on IBM Thinkpad A30P [2653-66U])

> snd-* -> ALSA 0.9.0beta9
> e100 -> EtherExpress Pro driver from Intel,
> compiled from the debian e100-source package
> xsvc -> Summit (Accelerated X) driver
> The problem also occurs without it;
> Just trying Accelerated X since I can't get
> agpgart+XFree86+DRI to run... agpgart fails
> on modprobe... :/
> vmnet/vmmon -> VMware 3.0
> pcmcia stuff -> pcmcia-cs-3.1.31

Is there a reason for using all this non standard stuff. Can you reproduce
the problem if you don't load ALSA (I dont think alsa is prime candidate
here) and you've never loaded either vmware or xsvc or the non kernel
pcmcia since boot ?

Obviously try with a few of them out and see - I've seen several vmware with
new apm code interactions for one , although none of the others were oopses

2002-02-22 20:47:06

by Benedikt Heinen

[permalink] [raw]
Subject: Re: 2.4.17: oops in kapm-idled? (on IBM Thinkpad A30P [2653-66U])

> Is there a reason for using all this non standard stuff. Can you reproduce
> the problem if you don't load ALSA (I dont think alsa is prime candidate
> here)

*smile*
Apparently, that's where you're wrong... I tried removing some
modules, until I found the one causing the trouble:

snd-card-intel8x0

... :(


I guess it's time to check for newer version on that... :/




On another question, is there a way to find out a hardware config -
I can't switch off all individual devices in the notebook, but if I
use the prism2 driver from linux-wlan.com, I can't get the full
performance out of it - but just something like ~20kb/s throughput
in ftp (Win2K gets more than 500kb/s)...
Some people on the linux-wlan mailing list suggested, it might be a
hardware conflict, but they couldn't give me a better idea on HOW
to locate it...
Any clue, how I could go about that?



Benedikt

BEAUTY, n. The power by which a woman charms a lover and terrifies a
husband.
(Ambrose Bierce, The Devil's Dictionary)

2002-02-22 23:15:22

by Thomas Hood

[permalink] [raw]
Subject: Re: 2.4.17: oops in kapm-idled? (on IBM Thinkpad A30P [2653-66U])

On Fri, 2002-02-22 at 15:43, Benedikt Heinen wrote:
> Apparently, that's where you're wrong... I tried removing some
> modules, until I found the one causing the trouble:
>
> snd-card-intel8x0
> I guess it's time to check for newer version on that... :/

ALSA device drivers have routines that save and restore
the state of sound chips across suspend & resume.
That's where I'd go a-hunting for bugs.


2002-02-23 00:22:14

by Alan

[permalink] [raw]
Subject: Re: 2.4.17: oops in kapm-idled? (on IBM Thinkpad A30P [2653-66U])

> I can't switch off all individual devices in the notebook, but if I
> use the prism2 driver from linux-wlan.com, I can't get the full
> performance out of it - but just something like ~20kb/s throughput
> in ftp (Win2K gets more than 500kb/s)...

What happens if you use the in kernel pcmcia, and the in kernel prism
chipset drivers ?

2002-02-23 22:42:43

by Benedikt Heinen

[permalink] [raw]
Subject: Re: 2.4.17: oops in kapm-idled? (on IBM Thinkpad A30P [2653-66U])

> > I can't switch off all individual devices in the notebook, but if I
> > use the prism2 driver from linux-wlan.com, I can't get the full
> > performance out of it - but just something like ~20kb/s throughput
> > in ftp (Win2K gets more than 500kb/s)...
> What happens if you use the in kernel pcmcia, and the in kernel prism
> chipset drivers ?

The in-kernel prism driver doesn't seem to work with the built-in
wireless lan. But - from what I understand from the Configure.help,
this is what I'd expect - to me it looks like, linux will support
prism2 in either PCMCIA or PLX.
>From the linux-wlan-ng driver, I need to compile "Prism2.5 native
PCI" to get a driver that will recognize the card...


Benedikt

BEAUTY, n. The power by which a woman charms a lover and terrifies a
husband.
(Ambrose Bierce, The Devil's Dictionary)