Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 May 2011 22:08:56 GMT
From:      Michael Moll <kvedulv@kvedulv.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/156893: kernel panic when bringing up vge interface
Message-ID:  <201105082208.p48M8uYm043704@red.freebsd.org>
Resent-Message-ID: <201105082210.p48MA64M029229@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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: <VIA Networking Velocity Gigabit Ethernet> 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: <MII bus> on vge0
ip1000phy0: <IP1001 10/100/1000 media interface> 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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105082208.p48M8uYm043704>