From owner-freebsd-bugs@FreeBSD.ORG Sun May 8 22:10:07 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19C29106566C for ; Sun, 8 May 2011 22:10:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EC1D38FC0C for ; Sun, 8 May 2011 22:10:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p48MA6NF029230 for ; Sun, 8 May 2011 22:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p48MA64M029229; Sun, 8 May 2011 22:10:06 GMT (envelope-from gnats) Resent-Date: Sun, 8 May 2011 22:10:06 GMT Resent-Message-Id: <201105082210.p48MA64M029229@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael Moll Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08152106566B for ; Sun, 8 May 2011 22:08:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id D1FE28FC0C for ; Sun, 8 May 2011 22:08:56 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p48M8ukw043705 for ; Sun, 8 May 2011 22:08:56 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p48M8uYm043704; Sun, 8 May 2011 22:08:56 GMT (envelope-from nobody) Message-Id: <201105082208.p48M8uYm043704@red.freebsd.org> Date: Sun, 8 May 2011 22:08:56 GMT From: Michael Moll To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/156893: kernel panic when bringing up vge interface X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 May 2011 22:10:07 -0000 >Number: 156893 >Category: kern >Synopsis: kernel panic when bringing up vge interface >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 08 22:10:06 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Michael Moll >Release: -CURRENT >Organization: >Environment: FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sun May 8 23:03:53 CEST 2011 root@via.kvedulv.de:/usr/obj/svn/base/head/sys/VIA amd64 >Description: When the onboard interface of a VIA VB8001 board is brought up, the following panic happens with r221661: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x10 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff8058ffab stack pointer = 0x28:0xffffff8077d893d0 frame pointer = 0x28:0xffffff8077d89410 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 47 (ifconfig) [ thread pid 47 tid 100070 ] Stopped at mii_mediachg+0xdb: movl 0x10(%r15),%edx db> bt Tracing pid 47 tid 100070 td 0xfffffe0002b268c0 mii_mediachg() at mii_mediachg+0xdb vge_init_locked() at vge_init_locked+0x670 vge_init() at vge_init+0x3e ether_ioctl() at ether_ioctl+0x69 in6_update_ifa() at in6_update_ifa+0xa34 in6_ifattach() at in6_ifattach+0x32a ifioctl() at ifioctl+0x12e3 kern_ioctl() at kern_ioctl+0x102 ioctl() at ioctl+0xfd syscallenter() at syscallenter+0x331 syscall() at syscall+0x4b Xfast_syscall() at Xfast_syscall+0xdd --- syscall (54, FreeBSD ELF64, ioctl), rip = 0x801187e1c, rsp = 0x7fffffffd3f8, rbp = 0x7fffffffd400 --- Part of dmesg: vge0: port 0xcc00-0xccff mem 0xdfdff000-0xdfdff0ff irq 28 at device 0.0 on pci3 vge0: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 256 to local APIC 0 vector 49 vge0: using IRQ 256 for MSI vge0: Using 1 MSI message miibus0: on vge0 ip1000phy0: PHY 1 on miibus0 ip1000phy0: OUI 0x0009c3, model 0x0019, rev. 0 This worked with a kernel built from sources about one week earlier. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: