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 rx0, 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.
Author: marius Date: Tue May 10 18:38:01 2011 New Revision: 221746 URL: http://svn.freebsd.org/changeset/base/221746 Log: Fix a bug in r221407; this driver doesn't add the media itself. PR: 156893 Modified: head/sys/dev/mii/ip1000phy.c Modified: head/sys/dev/mii/ip1000phy.c ============================================================================== --- head/sys/dev/mii/ip1000phy.c Tue May 10 18:19:56 2011 (r221745) +++ head/sys/dev/mii/ip1000phy.c Tue May 10 18:38:01 2011 (r221746) @@ -111,7 +111,7 @@ ip1000phy_attach(device_t dev) strcmp(ma->mii_data->mii_ifp->if_dname, "stge") == 0 && (miibus_get_flags(dev) & MIIF_MACPRIV0) != 0) flags |= MIIF_PHYPRIV0; - mii_phy_dev_attach(dev, flags, &ip1000phy_funcs, 0); + mii_phy_dev_attach(dev, flags, &ip1000phy_funcs, 1); return (0); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed close