From nobody@FreeBSD.org  Mon Aug 23 00:02:51 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 660B416A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Aug 2004 00:02:51 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5D97D43D39
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Aug 2004 00:02:51 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i7N02pxe044162
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Aug 2004 00:02:51 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i7N02pq6044161;
	Mon, 23 Aug 2004 00:02:51 GMT
	(envelope-from nobody)
Message-Id: <200408230002.i7N02pq6044161@www.freebsd.org>
Date: Mon, 23 Aug 2004 00:02:51 GMT
From: Rostislav Krasny <rosti_bsd@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: "Fatal trap 12" during 'devinfo -v'
X-Send-Pr-Version: www-2.3

>Number:         70837
>Category:       kern
>Synopsis:       [panic] "Fatal trap 12" during 'devinfo -v' (modules-related?)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 23 00:10:28 GMT 2004
>Closed-Date:    Mon Sep 06 10:05:59 MDT 2004
>Last-Modified:  Mon Sep 06 10:05:59 MDT 2004
>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@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:
State-Changed-From-To: open->closed 
State-Changed-By: imp 
State-Changed-When: Mon Sep 6 10:05:42 MDT 2004 
State-Changed-Why:  
Fixed and merged to 5.x 


http://www.freebsd.org/cgi/query-pr.cgi?pr=70837 
>Unformatted:
