Fatal trap after 'devinfo -v'
Rostislav Krasny
rosti_bsd at yahoo.com
Sat Aug 14 09:49:11 PDT 2004
Hello all.
During my conversation on freebsd-arch about different subject I've
found following problem at 5.2-CURRENT (copy/paste):
I think I've found a bug in devinfo(8). Try following scenario on your
system:
1. log in as a root and make sure that 'speaker.ko' isn't loaded
automatically during boot
2. run 'kldload -v /boot/kernel/speaker.ko'
3. run 'kldunload speaker'
4. run 'devinfo -v'
After the last step I've got following on the console:
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0xc17429b7
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc06597f0
stack pointer = 0x10:0x857da18
frame pointer = 0x10:0x857da24
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 = 492 (devinfo)
[thread 100059]
Stopped at strlcpy+0x1c: movb 0(%edx),%al
db> trace
strlcpy(c857da60,c17429b7,20) at strlcpy+0x1c
sysctl_devices(c084d9c0,c857dc90,2,c857dc08,c084d9c0) at
sysctl_devices()+0xb8
sysctl_root(0,c857dc84,5,c857dc08,c146e580) at sysctl_root()+0x11b
userland_sysctl(c146e580,c857dc84,5,bfbfeaf0,bfbfea50) at
userland_sysctl()+0xec
__sysctl(c146e580,c857dd14,6,9,292) at __sysctl()+0x71
syscall(2f,2f,2f,5,bfbfea50) at syscall()+0x217
Xint80_syscall() at Xint80_syscall()+0x1f
--- syscall (202, FreeBSD ELF32, __sysctl), eip = 0x280c3723, esp =
0xbfbfe9dc, ebp = 0xbfbfea18 ---
db>
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
More information about the freebsd-current
mailing list