panic in RELENG_5 UMA

Gleb Smirnoff glebius at FreeBSD.org
Mon Jun 27 08:30:03 GMT 2005


On Fri, Jun 24, 2005 at 03:28:34PM -0400, Gary Mu1der wrote:
G> Can someone confirm that the following stack trace is showing the same 
G> problem, or not?
G> I can reproduce the problem with the custom kernel config included below 
G> (which is basically GENERIC stripped of devices I don't have or need and 
G> IPFILTER added), but not with a stock GENERIC kernel.
G> 
G> To cause the crash I'm running 20-30 instances of the following script:
G> 
G> d5# cat arping.sh
G> #!/bin/sh
G> 
G> while :
G> do
G>         arp -d 192.168.4.$1 >/dev/null 2>&1;
G>         ping -c 1 -t 1 192.168.4.$1 >/dev/null 2>&1;
G> done

When running without INVARIANTS, it is much more difficult to analyze panics.
If this script drops your kernel to panic, then it is very likely that
it is the same problem.

Can you please provide the following info:

G> (kgdb) bt
G> #0  doadump () at pcpu.h:167
G> #1  0x0000000000000000 in ?? ()
G> #2  0xffffffff802557b7 in boot (howto=260) at
G> /usr/src/sys/kern/kern_shutdown.c:410
G> #3  0xffffffff80255fef in panic (fmt=0xffffff00b5907500 " ?6?")
G>     at /usr/src/sys/kern/kern_shutdown.c:566

(kgdb) p *panicstr

G> #4  0xffffffff8029ad2a in sbdrop_locked (sb=0xffffffffb6274860, len=1146)
G>     at /usr/src/sys/kern/uipc_socket2.c:1149

(kgdb) frame 4
(kgdb) ls
(kgdb) p *m

G> #5  0xffffffff8029afe2 in sbflush_locked (sb=0xffffffffb6274860)
G>     at /usr/src/sys/kern/uipc_socket2.c:1116
G> #6  0xffffffff8029b049 in sbrelease_locked (sb=0xffffffffb6274860,
G> so=0xffffff00a0a2a8a0)
G>     at /usr/src/sys/kern/uipc_socket2.c:564
G> #7  0xffffffff8029b0d5 in sbrelease (sb=0xffffffffb6274860,
G> so=0xffffff00a0a2a8a0)
G>     at /usr/src/sys/kern/uipc_socket2.c:577
G> #8  0xffffffff80297b03 in sorflush (so=0xffffff00a0a2a8a0)
G>     at /usr/src/sys/kern/uipc_socket.c:1483
G> #9  0xffffffff80297e42 in sofree (so=0xffffff00a0a2a8a0) at
G> /usr/src/sys/kern/uipc_socket.c:407
G> #10 0xffffffff80298467 in soclose (so=0xffffff00a0a2a8a0) at
G> /usr/src/sys/kern/uipc_socket.c:485
G> #11 0xffffffff802847b5 in soo_close (fp=0xffffff009ca95b60, td=0x0)
G>     at /usr/src/sys/kern/sys_socket.c:299
G> #12 0xffffffff8022c2c0 in fdrop_locked (fp=0xffffff009ca95b60,
G> td=0xffffff00b5907500)
G>     at file.h:288

(kgdb) frame 12
(kgdb) p *td
(kgdb) p *td->td_proc

G> #13 0xffffffff8022c40a in closef (fp=0xffffff009ca95b60,

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


More information about the freebsd-stable mailing list