Issue825

Title Kernel crash at mountd startup
Priority urgent Status resolved
Superseder Nosy List hasso
Assigned To Keywords

Created on 2007-10-10.13:02:09 by hasso, last changed by hasso.

Messages
msg3782 (view) Author: hasso Date: 2007-10-26.03:13:11
Caused by locally applied patch.
msg3752 (view) Author: hasso Date: 2007-10-10.19:19:00
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
d---------   2 root  wheel       512 Oct  8 22:12 .cfs

In case you are wondering, I'm trying to play with CFS
(http://www.crypto.com/software).
msg3751 (view) Author: dillon Date: 2007-10-10.18:35:01
: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
msg3750 (view) Author: hasso Date: 2007-10-10.13:02:04
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
History
Date User Action Args
2007-12-03 14:43:36hassosetstatus: deferred -> resolved
2007-10-26 03:13:13hassosetstatus: chatting -> deferred
messages: + msg3782
2007-10-10 19:19:01hassosetmessages: + msg3752
2007-10-10 18:35:01dillonsetstatus: unread -> chatting
messages: + msg3751
2007-10-10 13:02:09hassocreate