Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ifconfig bge0 crashes kernel (on i386)



Hi,

after cvs update'ing -current half an hour or so ago, calling 
ifconfg bge0 during system startup crashes the kernel. Here's
the trace from the crash dump:

(gdb) target kvm /u/crash/netbsd.81.core
#0  0xc033a45f in cpu_reboot (howto=260, bootstr=0x0)
    at /u/NetBSD/src/sys/arch/i386/i386/machdep.c:885
885                     dumpsys();
(gdb) where
#0  0xc033a45f in cpu_reboot (howto=260, bootstr=0x0)
    at /u/NetBSD/src/sys/arch/i386/i386/machdep.c:885
#1  0xc0177695 in db_reboot_cmd (addr=-1072198047, have_addr=false, 
count=-851195776, 
    modif=0xcd43c7f0 " CLLL0C\217\221\027\n")
    at /u/NetBSD/src/sys/ddb/db_command.c:1295
#2  0xc01771af in db_command (last_cmdp=0xc0499bdc) at 
/u/NetBSD/src/sys/ddb/db_command.c:921
#3  0xc01774f7 in db_command_loop () at /u/NetBSD/src/sys/ddb/db_command.c:566
#4  0xc0179fc0 in db_trap (type=6, code=0) at 
/u/NetBSD/src/sys/ddb/db_trap.c:101
#5  0xc03361f6 in kdb_trap (type=6, code=0, regs=0xcd43ca0c)
    at /u/NetBSD/src/sys/arch/i386/i386/db_interface.c:231
#6  0xc033dfa8 in trap (frame=0xcd43ca0c) at 
/u/NetBSD/src/sys/arch/i386/i386/trap.c:346
#7  0xc010cdc8 in calltrap ()
#8  0xc02b799a in device_is_active (dev=0x0) at 
/u/NetBSD/src/sys/kern/subr_autoconf.c:1863
#9  0xc017c381 in mii_pollstat (mii=0xc31aa22c) at 
/u/NetBSD/src/sys/dev/mii/mii.c:229
#10 0xc036139b in bge_ifmedia_sts (ifp=0x0, ifmr=0xcd43cc50)
    at /u/NetBSD/src/sys/dev/pci/if_bge.c:4096
#11 0xc03117d9 in ifmedia_ioctl (ifp=0xc31aa004, ifr=0xcd43cc50, 
ifm=0xc31aa22c, cmd=3223873846)
    at /u/NetBSD/src/sys/net/if_media.c:322
#12 0xc0363e1a in bge_ioctl (ifp=0xc31aa004, command=3223873846, 
data=0xcd43cc50)
    at /u/NetBSD/src/sys/dev/pci/if_bge.c:4169
#13 0xc0309a71 in ifioctl (so=0xc28bbde0, cmd=3223873846, data=0xcd43cc50, 
l=0xcd4020a0)
    at /u/NetBSD/src/sys/net/if.c:1624
#14 0xc02d3ff6 in soo_ioctl (fp=0xcd40bec0, cmd=3223873846, data=0xcd43cc50)
    at /u/NetBSD/src/sys/kern/sys_socket.c:188
#15 0xc02cb305 in sys_ioctl (l=0xcd4020a0, uap=0xcd43cd00, retval=0xcd43cd28)
    at /u/NetBSD/src/sys/kern/sys_generic.c:616
#16 0xc033db29 in syscall (frame=0xcd43cd48) at 
/u/NetBSD/src/sys/arch/i386/i386/syscall.c:102
#17 0xc0100514 in syscall1 ()

What's "interesting": after calling "reboot 0x104" from ddb the system
does _not_ reboot, but goes back to ddb...

Kurt




Home | Main Index | Thread Index | Old Index