Bug #825
closedKernel crash at mountd startup
0%
Description
Starting mountd via rc script crashes kernel 100%.
Fatal trap 12: page fault while in kernel mode
mp_lock = 00000000; cpuid = 0; lapic.id = 00000000
fault virtual address = 0x4030013
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc0335bac
stack pointer = 0x10:0xe9bc49c0
frame pointer = 0x10:0xe9bc49e8
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 748 (mountd)
current thread = pri 6
<- SMP: XXX
kernel: type 12 trap, code=0
CPU0 stopping CPUs: 0x00000002
stopped
Stopped at vfs_export+0x63: calll *0x14(%ebx)
db> trace
vfs_export(c41f79e0,c41cf420,e9bc4b04,e9bc4b00, e9bc4ab4) at vfs_export+0x63
ffs_mount(c41f79e0,2809104c,bfbff56c,e9acffe8,c4184468) at ffs_mount+0x665
sys_mount(e9bc4cf0,e9bc4d00,10,0,6) at sys_mount+0x6b5
syscall2(e9bc4d40) at syscall2+0x27c
Xint0x80_syscall() at Xint0x80_syscall+0x35
Updated by dillon about 17 years ago
:New submission from Hasso Tepper <hasso@estpak.ee>:
:
:Starting mountd via rc script crashes kernel 100%.
:
:Fatal trap 12: page fault while in kernel mode
:mp_lock =3D 00000000; cpuid =3D 0; lapic.id =3D 00000000
:fault virtual address =3D 0x4030013
:fault code =3D supervisor read, page not present
:instruction pointer =3D 0x8:0xc0335bac
:stack pointer =3D 0x10:0xe9bc49c0
:frame pointer =3D 0x10:0xe9bc49e8
:code segment =3D base 0x0, limit 0xfffff, type 0x1b
: =3D DPL 0, pres 1, def32 1, gran 1
:processor eflags =3D interrupt enabled, resume, IOPL =3D 0
:current process =3D 748 (mountd)
:current thread =3D pri 6
: <- SMP: XXX
:kernel: type 12 trap, code=3D0
:
:CPU0 stopping CPUs: 0x00000002
: stopped
:Stopped at vfs_export+0x63: calll *0x14(%ebx)
:db> trace
:vfs_export(c41f79e0,c41cf420,e9bc4b04,e9bc4b00, e9bc4ab4) at vfs_export+0x63
:ffs_mount(c41f79e0,2809104c,bfbff56c,e9acffe8,c4184468) at ffs_mount+0x665
:sys_mount(e9bc4cf0,e9bc4d00,10,0,6) at sys_mount+0x6b5
:syscall2(e9bc4d40) at syscall2+0x27c
:Xint0x80_syscall() at Xint0x80_syscall+0x35
Can you get a kernel core out of it? Also, what types of filesystems
are you trying to export? What's your /etc/fstab and /etc/exports
look like ?
-Matt
Updated by hasso about 17 years ago
I'll try to get core tomorrow if it'll still matter.
fstab doesn't contain any relevant entries, /etc/exports contains just
one line:
/.cfs localhost
/.cfs itself is just empty directory without permissions:
$ ls la / | grep cfs 2 root wheel 512 Oct 8 22:12 .cfs
d--------
In case you are wondering, I'm trying to play with CFS
(http://www.crypto.com/software).