Re: 2.1.50 VFS: Busy inodes after unmount. Self-destruct in 5 seconds.

Edward Welbon (welbon@bga.com)
Sun, 17 Aug 1997 01:06:44 -0500 (CDT)


On Sat, 16 Aug 1997, Linus Torvalds wrote:

> Could people who see the 0x4f "NULL pointer dereference" please tell me
> what filesystems they have compiled in, and try to find if there is
> something that brings on the problem. Also, I'd suggest trying the pre-51
> patch from ftp.kernel.org, as it does fix a few known problems.

I got the 0x4f oops apparently as a consequence of killing minicom while
upgrading firmware with zmodem (should'a used xmodem). After that, every
bash shell that in which I restarted minicom would 'oops'.

Filesystems:

max1-89:/proc$ cat file*
ext2
nodev proc
iso9660

Almost everything is a module:

max1-89:/proc$ /sbin/lsmod
Module Size Used by
psaux 2456 1
bsd_comp 3436 0 (unused)
ppp 20420 1 [bsd_comp]
slip 6540 1
slhc 4396 2 [ppp slip]
lp 5360 0
ne 5976 1
8390 5752 0 [ne]
raid0 1412 5
isofs 14172 1
loop 5304 0 (unused)
sr_mod 15144 1
cdrom 4916 0 [sr_mod]
st 22768 0 (unused)
sd_mod 13716 10
ncr53c8xx 47200 9
aha1542 9181 2
scsi_mod 39464 5 [sr_mod st sd_mod ncr53c8xx aha1542]

The oops:

Unable to handle kernel NULL pointer dereference at virtual address 0000004f
current->tss.cr3 = 00cda000, |r3 = 00cda000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<c012f6ce>]
EFLAGS: 00010286
eax: c4ca3840 ebx: c4ca3840 ecx: c0ef9700 edx: ffffffff
esi: c4ca3840 edi: c0f715a0 ebp: 00000001 esp: c123ff50
ds: 0018 es: 0018 ss: 0018
Process bash (pid: 12569, process nr: 62, stackpage=c123f000)
Stack: c4ca3840 c352600c c0f715a0 c012f89b c0f715a0 c4ca3840 c3526000 00000001
00000001 bffff5b0 c0ef9700 00001001 c3526005 00000007 6bf8f59d c012f8fc
c3526000 00000000 00000001 00000000 0805bb80 c012d497 0805bb80 00000001
Call Trace: [<c012f89b>] [<c012f8fc>] [<c012d497>] [<c0109aca>]
Code: 8b 42 50 85 c0 74 5d 83 78 2c 00 74 57 89 e0 89 c3 81 e3 00

tarantula:~/linux/scripts# ksymoops ../System.map < minicom.oops
Using `../System.map' to map addresses to symbols.

>>EIP: c012f6ce <do_follow_link+12/88>
Trace: c012f89b <lookup_dentry+157/190>
Trace: c012f8fc <__namei+28/80>
Trace: c012d497 <sys_newstat+7f/f4>
Trace: c0109aca <system_call+3a/40>

Code: c012f6ce <do_follow_link+12/88>
Code: c012f6ce <do_follow_link+12/88> 8b 42 50 movl 0x50(%edx),%eax
Code: c012f6d1 <do_follow_link+15/88> 85 c0 testl %eax,%eax
Code: c012f6d3 <do_follow_link+17/88> 74 5d je c012f732 <do_follow_link+76/88>
Code: c012f6d5 <do_follow_link+19/88> 83 78 2c 00 cmpl $0x0,0x2c(%eax)
Code: c012f6df <do_follow_link+23/88> 74 57 je c012f732 <do_follow_link+76/88>
Code: c012f6e1 <do_follow_link+25/88> 89 e0 movl %esp,%eax
Code: c012f6e3 <do_follow_link+27/88> 89 c3 movl %eax,%ebx
Code: c012f6e5 <do_follow_link+29/88> 81 e3 00 00 90 andl $0x90900000,%ebx
Code: c012f6f0 <do_follow_link+34/88> 90
Code: c012f6f1 <do_follow_link+35/88> 90 nop

Ed Welbon; welbon@bga.com;

"He had bought a large map representing the sea,
Without the least vestige of land:
And the crew was much pleased when they found it to be
A map they could all understand."