Autofs a little messed up? (2.1.84)

James Mastros (root@jennifer-unix.dyn.ml.org)
Sun, 1 Feb 1998 03:03:26 -0500 (EST)


Hey! I just tried out autofs under 2.1.84 (freshly compiled with glibc
(2.0.5c), and gcc 2.8, if it matters -- no complaints from the compiler),
and got the following oops:

02:26:28:root:/usr/src/autofs-0.3.11->automount / file /etc/autofs.master
02:50:47:root:/usr/src/autofs-0.3.11->Unable to handle kernel NULL pointer
dereference at virtual address 00000006
current->tss.cr3 = 01d86000, %cr3 = 01d86000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<c0128ede>]
EFLAGS: 00010296
eax: fffffffe ebx: c1156000 ecx: c1397400 edx: fffffffe
esi: fffffffe edi: 00000ffe ebp: bfffd924 esp: c1157fa8
ds: 0018 es: 0018 ss: 0018
Process mount (pid: 331, process nr: 33, stackpage=c1157000)
Stack: 080899b0 00000000 c1156000 080899c2 080899b1 bfffd8f0 c0109ac8 080899b0
bfffd924 00000ffe 080899c2 080899b1 bfffd8f0 00000055 0000002b 0000002b
00000055 0806ceb8 00000023 00000283 bfffd8ec 0000002b
Call Trace: [<c0109ac8>]
Code: 8b 56 08 83 c4 08 89 e0 25 00 e0 ff ff 66 8b 80 e6 00 00 00

I can't get ksymoops to compile, so (from System.map)...
c0128eb0 T sys_readlink
c0109a90 T system_call

BTW... this is an ia23 (Pentium, to be exact) system. After the oops, all
getcwd calls fail. (Just to be complete, I have made some changes to
sys_readlink, but nothing that should have any efect here (I don't see why
it is being called at all -- there are no symlinks about here, and all
symlinks outside of ~/linktest have 777 permissions.)) I'll try
backtracking a bit in a bit...

-=- James Mastros

-- 
   "I'd feel worse if it was the first time.  I'd feel better if it was
   the last."  
   	-=- "(from some Niven book, doubtless not original there)" 
	    (qtd. by Chris Smith)