Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Nov 2007 15:23:58 -0500
From:      Jeff Royle <lists@qwirky.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: 7.0-BETA2 Panic after ifconfig
Message-ID:  <4734C1DE.7090008@qwirky.net>
In-Reply-To: <8e10486b0711091018n6309f70an8722d427f9d530f8@mail.gmail.com>
References:  <8e10486b0711091018n6309f70an8722d427f9d530f8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexandre Biancalana wrote:
> Yesterday I updated my system from BETA-1 to BETA2 and after that I'm
> getting the following panic after a simple ifconfig.
> 
> Follow the panic and trace....
> 
> # ifconfig bge0 10.5.0.253 netmask 255.255.0.0
> panic: Bad list head 0xc444a0c4 first->prev != head
> KDB; enter: panic
> [thread pid 1142 tid 100108 ]
> Stopped at      kdb_enter=0x32:leave
> db>bt
> Tracing pid 1142 tid 100108 td 0xc5c3f840
> kdb_enter(c07499fd,c07c5760,c0730fca,e6fbeaec,6fbeaec,...) at kdb_enter+0x32
> panic(c0730fca,c444a0c4,c074e9942,e6fbeb14,c057abc9,...) at panic+0xc5
> in_ifinit(0,c567d3000,0,0,c0755e1a,...) at in_ifinit+0x15c
> in_control(c5cfe18c, 8040691a,c5c84e40,c448e800,c5c3f840,...) at
> in_control+0xa6a
> ifioctl(c5cfe18c,8040691a,c5c84e40,c5c3f840,c5c3f840,...) at ifioctl+0x3ce
> soo_ioctl(c47406c0,8040691a,c5c84e40,c5411800,c5c3f840,...) at soo-ioctl+0x3a4
> kern_ioctl(c5c3f840,3,8040691a,c5c84e40,0,...) at kern_ioctl+0x243
> ioctl(c5c3f840,e6fbecfc,c,c07722a1,c,...) at ioctl+0x134
> syscall(e6fbed38) at syscall+0x2c4
> Xint0x80_syscall() at Xint0x80_syscall+0x20
> ---syscall (54, FreeBSD ELF32, ioctl), eip = 0x481670f3, esp = 0x bfbfe51c, ebp
> = 0xvfvfe548
> 
> 
> I'm with the machine stopped at db prompt, I can send any other
> information needed to solve this...
> 
> Regards

Just a note: This doesn't happen with the em driver in 7-beta2 built 
today.   Seeing if I have a free machine to build 7-beta2 with bge to 
test this.

# ifconfig em1 10.5.0.253 netmask 255.255.0.0
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         options=18b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWCSUM,TSO4>
         ether 00:30:48:91:5e:27
         inet 10.5.0.253 netmask 0xffff0000 broadcast 10.5.255.255
         media: Ethernet autoselect
         status: no carrier
# ifconfig em1 delete 10.5.0.253 netmask 255.255.0.0

uname -a
FreeBSD jinx.domain 7.0-BETA2 FreeBSD 7.0-BETA2 #2: Fri Nov  9 10:00:29 
EST 2007     builduser@jinx.domain:/usr/obj/usr/src/sys/GENERIC  i386

Cheers,

Jeff



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