Project

General

Profile

Actions

Bug #825

closed

Kernel crash at mountd startup

Added by hasso about 17 years ago. Updated about 17 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by dillon about 17 years ago

:New submission from Hasso Tepper <>:
:
: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
Actions #2

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
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).

Actions #3

Updated by hasso about 17 years ago

Caused by locally applied patch.

Actions

Also available in: Atom PDF