Re: Kernel Panic removing psnap or p8022 module in 2.4.28 (appletalkdependencies)

From: Tom Dickson
Date: Wed Dec 08 2004 - 15:22:11 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Next time I promise to finish the report before hitting send.

I'm using a Gentoo Linux system with the vanilla 2.4.28 sources installed. The
attached config file is what I'm using.

appletalk.o now has a dependency it didn't have in 2.4.26, which are the modules
psnap.o and p8022.o, which I can't find how to disable.

If I start netatalk, it modprobes appletalk.o, which loads psnap.o and p8022.o. If
I then stop appletalk, it removes appletalk.o (which works) and then psnap.o and
p8022.o (which kernel panics).

I can also get the kernel panic by modprobing p8022.o and then rmmodding it.

The kernel panic is as follows:

Oops: 0000
CPU: 0
EIP: 0010:[<c0238490>] Not tainted
EFLAGS: 00010286
eax: 00000004 ebx: cc84a3c0 ecx: 41b75c48 edx: c1363b28
esi: cb6d65e0 edi: 00000400 ebp: 00013b56 esp: c030bf18
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 0. stackpage=c030b000)
Stack: c030bfa0 0000e401 cc841cfd cbcbb400 00000000 00000040 c0238623 cb6d65e0
~ c0324d6c c0324ca8 00013b56 00000046 c0238734 c0324ca8 c030bf54 0000012c
~ 00000001 c0324b70 fffffffb c011c775 c0324b70 c03249a0 00000005 c134ec60
Call Trace: [<cc841cfd>] [<c0238623>] [<c0238734>] [<c011c775>] [<c010a5fa>]
~ [<c0106f30>] [<c010c978>] [<c0106f30>] [<c0106f53>] [<c0106fe2>] [<c0105000>]

Code: 66 39 3b 74 60 8b 5b 10 85 db 75 f4 85 d2 74 36 8b 7a 0c 85
~ <0>Kernel panic: Aiee, killing interrupt hander!
In interrupt handler - not syncing

This is a problem because we can't shutdown the machine without this occurring. It
seems that if we disable ipchains in the kernel, it goes away. It also occurs with
the 2.4.27 kernel.

A change we see is in the linux-2.4.28/net/Makefile

mod-subdirs := ipv4/netfilter ipv6/netfilter ipx irda bluetooth atm netlink sched
core sctp 802

whereas 2.4.26 has:

mod-subdirs := ipv4/netfilter ipv6/netfilter ipx irda bluetooth atm netlink sched
core sctp

This also happens on a number of other machines; mainly RedHat 7.3 machines with
this kernel.

I'm trying to get a ksymoops now, if I get it to work, I'll reply to this post.

You can see an image of the kernel panic (if such things excite you) at:

http://schnecke.bombcar.com/random/kernelpanic.jpg

Note that there is a short delay between removing the module and the panic. You
can also get the panic by removing appletalk, (which works) and then removing
psnap and waiting a few seconds.

Thank you!

- -Tom Dickson

Tom Dickson wrote:
| I've attached the config file used to compile the vanilla 2.4.28 kernel
| that produces the following panic:
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBt2Ew2dxAfYNwANIRApVUAJ9IfJH7PJZLMsS8kidCD4myMyuVrgCdH2HP
BFEJHz1RlLf9k3hAbBX1FLk=
=7kKd
-----END PGP SIGNATURE-----

Attachment: config.gz
Description: GNU Zip compressed data