kern/70837: "Fatal trap 12" during 'devinfo -v'

Rostislav Krasny rosti_bsd at yahoo.com
Sun Aug 22 17:10:29 PDT 2004


>Number:         70837
>Category:       kern
>Synopsis:       "Fatal trap 12" during 'devinfo -v'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 23 00:10:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Rostislav Krasny
>Release:        5.3-BETA1
>Organization:
>Environment:
FreeBSD localhost 5.3-BETA1 FreeBSD 5.3-BETA1 #0: Sat Aug 21 08:19:34 UTC 2004     root at mack.dcsl.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
# kldload speaker
speaker0: <PC speaker> at port 0x61 on isa0
# kldunload speaker
speaker0: detached
# devinfo -v


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0xc17559b7
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc065bae4
stack pointer           = 0x10:0xc859ca18
frame pointer           = 0x10:0xc859ca24
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         = 470 (devinfo)
[thread 100065]
Stopped at      strlcpy+0x1c:   movb    0(%edx),%al
db> where
strlcpy(c859ca60,c17559b7,20) at strlcpy+0x1c
sysctl_devices(c0850b20,c859cc90,2,c859cc08,c0850b20) at sysctl_devices()+0xb8
sysctl_root(0,c859cc84,5,c859cc08,c1479dc0) at sysctl_root()+0x11b
userland_sysctl(c1479dc0,c859cc84,5,bfbfeb00,bfbfea60) at userland_sysctl()+0xec
__sysctl(c1479dc0,c859cd14,6,b,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 = 0x280c384f, esp = 0xbfbfe9ec, ebp = 0xbfbfea28 ---
db> 
>How-To-Repeat:
See above
>Fix:
Not known
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list