6-STABLE from 19: panic: mb_dtor_mbuf: M_EXT set

Ion-Mihai Tetcu itetcu at people.tecnik93.com
Fri Jan 20 16:18:54 PST 2006


Hi,


On ifconfig vr0 up I get each time a the panic bellow; last good kernel
I have is from Dec 31 and if_vr hasn't been touched since November.



 # kgdb /usr/obj/usr/src/sys/IT6_U/kernel.debug /usr/crash/vmcore.4
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".

Unread portion of the kernel message buffer:

 [ ... ]

vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xe400-0xe4ff mem 0xe3004000-0xe30040ff irq 23 at device 18.0 on pci0
vr0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xe400
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: OUI 0x004063, model 0x0032, rev. 10
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: bpf attached
vr0: Ethernet address: 00:0f:ea:0a:96:11
ioapic0: routing intpin 23 (PCI IRQ 23) to cluster 0
vr0: [MPSAFE]
pci1: driver added
found-> vendor=0x1002, dev=0x4966, revid=0x01
        bus=1, slot=0, func=0
        class=03-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0087, statreg=0x02b0, cachelnsz=8 (dwords)
        lattimer=0x20 (960 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=16
        powerspec 2  supports D0 D1 D2 D3  current D0
pci1:0:0: reprobing on driver added
<118>#
<118>vr0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
<118>   ether 00:0f:ea:0a:96:11
<118>   media: Ethernet autoselect (none)
<118>   status: no carrier
<118>#
<118>vr0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
<118>   ether 00:0f:ea:0a:96:11
<118>   media: Ethernet autoselect (none)
<118>   status: no carrier
<118>#
panic: mb_dtor_mbuf: M_EXT set
KDB: stack backtrace:
panic(c066952c,c0650ac0,c1035048,c4d44300,e5049b14) at panic+0x13a
mb_dtor_pack(c4d44300,100,0,956,c10383c0) at mb_dtor_pack
uma_zfree_arg(c104de80,c4d44300,0,c4da7934) at uma_zfree_arg+0x36a
mb_free_ext(c4d44300,c4c01400,c4da7000,c4da7000,e5049b74) at mb_free_ext+0x8f
m_freem(c4d44300,0,c52e460c,67c,c4da7950) at m_freem+0x27
vr_stop(c4d9ce80,1,c52e460c,59e,c4da7950) at vr_stop+0xca
vr_init_locked(c4da7950,8,c52e460c,625,0) at vr_init_locked+0x53
vr_ioctl(c4c01400,80206910,c51a8ca0,c04ceb72,c070aee0) at vr_ioctl+0x17f
ifhwioctl(c51a8ca0,c4b6b320,c51a8ca0,20,0) at ifhwioctl+0x5c5
ifioctl(c4e789bc,80206910,c51a8ca0,c4b6b320,2) at ifioctl+0x78
soo_ioctl(c4d9a6c0,80206910,c51a8ca0,c4a9fd80,c4b6b320) at soo_ioctl+0x2e8
ioctl(c4b6b320,e5049d04,c,41d,3) at ioctl+0x118
syscall(3b,3b,3b,3,1) at syscall+0x13d
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x281579a7, esp = 0xbfbfe58c, ebp = 0xbfbfe5d8 ---
KDB: enter: panic
panic: from debugger
Uptime: 17m48s
Dumping 1023 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 1023MB (261872 pages) 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15

#0  doadump () at pcpu.h:165
165     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt full
#0  doadump () at pcpu.h:165
No locals.
#1  0xc04d8606 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
        _ep = (struct eventhandler_entry *) 0x0
        _el = (struct eventhandler_list *) 0xc4d31680
        first_buf_printf = 1
#2  0xc04d80d7 in panic (fmt=0xc065d2b6 "from debugger") at /usr/src/sys/kern/kern_shutdown.c:555
        bootopt = 260
        newpanic = 0
        buf = "mb_dtor_mbuf: M_EXT set", '\0' <repeats 232 times>
#3  0xc0444592 in db_panic (addr=-1068544094, have_addr=0, count=-1, modif=0xe5049928 "") at /usr/src/sys/ddb/db_command.c:438
No locals.
#4  0xc0444b10 in db_command_loop () at /usr/src/sys/ddb/db_command.c:350
No locals.
#5  0xc0446934 in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_main.c:221
        jb = {{_jb = {-452683308, -452683336, -452683256, -994659552, 0, -1069258453, -452683124, -1, -1066911948, 672496039, -452683256, -1068543056}}}
        prev_jb = (void *) 0x0
        bkpt = 0
#6  0xc04f5432 in kdb_trap (type=0, code=0, tf=0xe5049a5c) at /usr/src/sys/kern/subr_kdb.c:473
        handled = -452683172
#7  0xc0635767 in trap (frame=
      {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = 256, tf_esi = 1, tf_ebp = -452683100, tf_isp = -452683128, tf_ebx = 1, tf_edx = 1, tf_ecx = -1066668832, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1068544094, tf_cs = 32, tf_eflags = 662, tf_esp = -1067004259, tf_ss = -1067012681})
    at /usr/src/sys/i386/i386/trap.c:593
        p = (struct proc *) 0xc4d99c48
        sticks = 4
        i = 0
        ucode = 0
        type = 3
        code = 0
        eva = 0
#8  0xc06232aa in calltrap () at /usr/src/sys/i386/i386/exception.s:139
No locals.
#9  0xc04f4fa2 in kdb_enter (msg=0x12 <Address 0x12 out of bounds>) at cpufunc.h:60
No locals.
#10 0xc04d814c in panic (fmt=0x1 <Address 0x1 out of bounds>) at /usr/src/sys/kern/kern_shutdown.c:539
        bootopt = 256
        newpanic = 18
        buf = "mb_dtor_mbuf: M_EXT set", '\0' <repeats 232 times>
#11 0xc04cced0 in mb_dtor_mbuf (mem=0xc4d44300, size=18, arg=0x12) at /usr/src/sys/kern/kern_mbuf.c:321
        __func__ = "mb_dtor_mbuf"
#12 0xc05dd40a in uma_zfree_arg (zone=0xc104de80, item=0xc4d44300, udata=0x0) at /usr/src/sys/vm/uma_core.c:2270
        keg = 0xc10383c0
        cache = 0x3f
        bucket = 0xc4d44300
        bflags = 1
#13 0xc05194cf in mb_free_ext (m=0xc4d44300) at uma.h:303
        cnt = 3302649856
        __func__ = "mb_free_ext"
#14 0xc05195b7 in m_freem (mb=0x1) at mbuf.h:484
No locals.
#15 0xc52e232a in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#16 0xc4d44300 in ?? ()

 [ ... ]

#48 0xe5049c30 in ?? ()
No symbol table info available.
#49 0xc0555495 in ifhwioctl (cmd=3302649856, ifp=0x3f, data=0xc4d9ce80 "", td=0x1) at /usr/src/sys/net/if.c:1279
        oldmtu = 3302649856
        error = -992317440
        new_flags = -992317440
        temp_flags = 18
        namelen = 3302649856
        onamelen = 3842284404
        new_name = "\000CÔÄ\000\000\000\000\fF.Å|\006\000"
        ifa = (struct ifaddr *) 0xc4da7000
        sdl = (struct sockaddr_dl *) 0xc4da7000
Previous frame inner to this frame (corrupt stack?)
(kgdb) l *0xc05194cf
0xc05194cf is in mb_free_ext (/usr/src/sys/kern/uipc_mbuf.c:283).
278                             }
279                             m->m_ext.ext_buf = NULL;
280                     }
281             }
282             uma_zfree(zone_mbuf, m);
283     }
284
285     /*
286      * "Move" mbuf pkthdr from "from" to "to".
287      * "from" must have M_PKTHDR set, and "to" must be empty.
(kgdb)                                                              


-- 
IOnut - Unregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"

BOFH excuse #27:
radiosity depletion




More information about the freebsd-stable mailing list