Skip to contentSkip to conversation

kernel newby help.... What's causing my Oops

DISCUSSION David Won 3 participants 3 messages Oct 27, 2000 – Oct 28, 2000

lore
Share & tools
lore

David Won

author
#0 lore raw

I need some help. My system keeps locking up on me or suddenly rebooting. Sometimes I'm able to telnet in and shutdown but usually I have to hit the power button and pray that the disk isn't thrashed. I'm running RedHat 7 and it happens with the supplied kernel or with a new kernel. I'm currently running linux-2.4.0-test8 right now and it is compiled using kgcc. (Found that tip in a message here) I searched through my logs for help and find lots of these Oops messages. I then did some searching on what Oops is. I was told to run ksymoops to get more info but this extra info is way over my head. I'm posting this here in the hopes that somebody can help me pin down what module or kernel setting is causing all my problems. Thanks for any help.

Oct 22 22:37:20 phlegmish kernel: Unable to handle kernel paging request at 
virtual address 00018486
Oct 22 22:37:20 phlegmish kernel: c880eae3
Oct 22 22:37:20 phlegmish kernel: *pde = 00000000
Oct 22 22:37:20 phlegmish kernel: Oops: 0000
Oct 22 22:37:20 phlegmish kernel: CPU:    0
Oct 22 22:37:20 phlegmish kernel: EIP:    
0010:[smbfs:__insmod_smbfs_O/lib/modules/2.4.0-test8/kernel/fs/smbfs/sm+-234781/96]
Oct 22 22:37:20 phlegmish kernel: EFLAGS: 00010046
Oct 22 22:37:20 phlegmish kernel: eax: 00000012   ebx: 00000000   ecx: 
00000000   edx: 00014402
Oct 22 22:37:20 phlegmish kernel: esi: c1715ef8   edi: 00014402   ebp: 
c697e4e0   esp: c1715ec4
Oct 22 22:37:20 phlegmish kernel: ds: 0018   es: 0018   ss: 0018
Oct 22 22:37:20 phlegmish kernel: Process esd (pid: 2356, stackpage=c1715000)
Oct 22 22:37:20 phlegmish kernel: Stack: 00000000 c49e5204 00014402 c697e4e0 
c671c000 00000012 00200203 c71d3008 
Oct 22 22:37:20 phlegmish kernel:        00000086 c8812457 00014402 00000000 
00000012 00000000 00000003 0000ffff 
Oct 22 22:37:20 phlegmish kernel:        10100001 00000000 00000002 0000ffff 
00000000 00000000 00000000 c49e5200 
Oct 22 22:37:20 phlegmish kernel: Call Trace: 

[smbfs:__insmod_smbfs_O/lib/modules/2.4.0-test8/kernel/fs/smbfs/sm+-220073/96] [smbfs:__insmod_smbfs_O/lib/modules/2.4.0-test8/kernel/fs/smbfs/sm+-237584/96] [smbfs:__insmod_smbfs_O/lib/modules/2.4.0-test8/kernel/fs/smbfs/sm+-245443/96] [__fput+35/144] [_fput+17/64] [fput+18/24] [filp_close+82/92]

Oct 22 22:37:20 phlegmish kernel: Code: 0f b7 aa 84 40 00 00 89 ef 83 c7 04 

89 4c 24 1c 83 c6 04 8b
Using defaults from ksymoops -t elf32-i386 -a i386

Code; 00000000 Before first symbol
00000000 <_EIP>:
Code; 00000000 Before first symbol
0: 0f b7 aa 84 40 00 00 movzwl 0x4084(%edx),%ebp
Code; 00000007 Before first symbol
7: 89 ef mov %ebp,%edi
Code; 00000009 Before first symbol
9: 83 c7 04 add $0x4,%edi
Code; 0000000c Before first symbol
c: 89 4c 24 1c mov %ecx,0x1c(%esp,1)
Code; 00000010 Before first symbol
10: 83 c6 04 add $0x4,%esi
Code; 00000013 Before first symbol
13: 8b 00 mov (%eax),%eax

Oct 22 23:00:02 phlegmish kernel: Unable to handle kernel NULL pointer 
dereference at virtual address 00000018
Oct 22 23:00:02 phlegmish kernel: c015984b
Oct 22 23:00:02 phlegmish kernel: *pde = 00000000
Oct 22 23:00:02 phlegmish kernel: Oops: 0000
Oct 22 23:00:02 phlegmish kernel: CPU:    0
Oct 22 23:00:02 phlegmish kernel: EIP:    0010:[shm_swap_core+55/168]
Oct 22 23:00:02 phlegmish kernel: EFLAGS: 00013286
Oct 22 23:00:02 phlegmish kernel: eax: 0a0d0a0d   ebx: c1283400   ecx: 
00000031   edx: 00000000
Oct 22 23:00:02 phlegmish kernel: esi: 00000000   edi: c31d0540   ebp: 
00000001   esp: c1217f58
Oct 22 23:00:02 phlegmish kernel: ds: 0018   es: 0018   ss: 0018
Oct 22 23:00:02 phlegmish kernel: Process kswapd (pid: 2, stackpage=c1217000)
Oct 22 23:00:02 phlegmish kernel: Stack: c31d0540 00000000 c024b111 00000003 
c01599f7 c31d0540 00000001 001fa100 
Oct 22 23:00:02 phlegmish kernel:        c1217f88 c1217f8c c024b10c c024b114 
00000007 c01272bf 001fa100 c012735d 
Oct 22 23:00:02 phlegmish kernel:       

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 1 line · David Won
Oct 22 22:37:20 phlegmish kernel: Process esd (pid: 2356, stackpage=c1715000)

[snip]

Quoted 5 lines
Oct 22 22:37:20 phlegmish kernel: Call Trace: 

[smbfs:__insmod_smbfs_O/lib/modules/2.4.0-test8/kernel/fs/smbfs/sm+-220073/96] [smbfs:__insmod_smbfs_O/lib/modules/2.4.0-test8/kernel/fs/smbfs/sm+-237584/96] [smbfs:__insmod_smbfs_O/lib/modules/2.4.0-test8/kernel/fs/smbfs/sm+-245443/96] [__fput+35/144] [_fput+17/64] [fput+18/24] [filp_close+82/92]

It certainly has smbfs printed all over it. But I don't know how to decode the call trace ... "sm+-220073" ?

Could you describe what it is you are doing when this happens? Are you perhaps playing sound from a mounted smbfs? (esd) Could you test if this is or isn't related to smbfs?
(ie don't mount any smbfs stuff and do the same things you normally do)

For reproducing oopses it is nice to use a separate system, either a second installation on the same machine (with none of the normal partitions mounted) or a second machine.

You could also try 2.4.0-test10-pre6 which is the latest (but if it is smbfs related it should not make any difference).

The second oops I don't know anything about except that it may have been triggered by the first oops.

/Urban

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
In reply to David Won
Quoted 5 lines · David Won
Oct 22 22:37:20 phlegmish kernel: Unable to handle kernel paging request at 
virtual address 00018486
Oct 22 22:37:20 phlegmish kernel: EIP:    
0010:[smbfs:__insmod_smbfs_O/lib/modules/2.4.0-test8/kernel/fs/smbfs/sm+-234781/96]
Oct 22 22:37:20 phlegmish kernel: Call Trace: 
Quoted 7 lines

[smbfs:__insmod_smbfs_O/lib/modules/2.4.0-test8/kernel/fs/smbfs/sm+-220073/96] [smbfs:__insmod_smbfs_O/lib/modules/2.4.0-test8/kernel/fs/smbfs/sm+-237584/96] [smbfs:__insmod_smbfs_O/lib/modules/2.4.0-test8/kernel/fs/smbfs/sm+-245443/96] [__fput+35/144] [_fput+17/64] [fput+18/24] [filp_close+82/92]

Oct 22 22:37:20 phlegmish kernel: Code: 0f b7 aa 84 40 00 00 89 ef 83 c7 04 

89 4c 24 1c 83 c6 04 8b
Using defaults from ksymoops -t elf32-i386 -a i386

You did everything right, alas the data was corrupted in the log files before you even saw it. klogd tries to converts oops itself and far to often it gets it wrong, yielding gibberish. Edit /etc/rc.d/init.d/syslog (assuming you use SysV init), change
daemon klogd
to
daemon klogd -x
then /etc/rc.d/init.d/syslog restart. Any new oops will be left alone so you will have clean data to feed to ksymoops. When you get a clean oops, feed it to ksymoops and mail the result to linux-kernel.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/