Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2003 13:23:40 +0200 (CEST)
From:      Frank Volf <volf@oasis.IAEhv.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/54314: Panic when rebooting system with VLANs defined
Message-ID:  <20030710112340.8EB03FDF1@mail.voor.deze.org>
Resent-Message-ID: <200307101130.h6ABUFod063926@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         54314
>Category:       kern
>Synopsis:       Panic when rebooting system with VLANs defined
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 10 04:30:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Frank Volf
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
None
>Environment:

	System running 4.8-STABLE sources grabbed last week.

>Description:
	
	I have a system that has VLANs defined on them using the em network
	driver. When you reboot this system (ctrl-alt-del) the system panics
	with the followin backtrace:

GNU gdb 4.18 (FreeBSD)
Copyright 1998 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-unknown-freebsd"...Deprecated bfd_read
called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line
2627 in elfstab_build_psymtabs
Deprecated bfd_read called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line
933 in fill_symbuf

IdlePTD at phsyical address 0x00333000
initial pcb at physical address 0x002acfe0
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x81a4
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01b671f
stack pointer           = 0x10:0xcc5a2c88
frame pointer           = 0x10:0xcc5a2c9c
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 827 (ripd)
interrupt mask          = net
trap number             = 12
panic: page fault

syncing disks... 4 4 4 4 4 4 4 9 2 2 2 2 2 2 2 3 2 2 2 2 2 2 2 5 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2 2 2 2 2 2
giving up on 2 buffers
Uptime: 5h32m18s
znb1: Link down
znb2: Link down

dumping to dev #da/0x20001, offset 917504
dump 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41
40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
---
#0  dumpsys () at ../../kern/kern_shutdown.c:487
487             if (dumping++) {
(kgdb) bt
#0  dumpsys () at ../../kern/kern_shutdown.c:487
#1  0xc01733cf in boot (howto=256) at ../../kern/kern_shutdown.c:316
#2  0xc01737f4 in poweroff_wait (junk=0xc0263f0c, howto=-1071236593)
    at ../../kern/kern_shutdown.c:595
#3  0xc02299e6 in trap_fatal (frame=0xcc5a2c48, eva=33188)
    at ../../i386/i386/trap.c:974
#4  0xc02296b9 in trap_pfault (frame=0xcc5a2c48, usermode=0, eva=33188)
    at ../../i386/i386/trap.c:867
#5  0xc0229277 in trap (frame={tf_fs = 16, tf_es = -1061552112,
      tf_ds = -1067188208, tf_edi = -1066761728, tf_esi = 1,
      tf_ebp = -866505572, tf_isp = -866505612, tf_ebx = -1064480768,
      tf_edx = 33188, tf_ecx = -866505548, tf_eax = 2, tf_trapno = 12,
      tf_err = 0, tf_eip = -1071945953, tf_cs = 8, tf_eflags = 66050,
      tf_esp = -1064480768, tf_ss = -1063018816}) at
../../i386/i386/trap.c:466
#6  0xc01b671f in rt_msg1 (type=16, rtinfo=0xcc5a2cb4)
    at ../../net/rtsock.c:621
#7  0xc01b6b8d in rt_newmaddrmsg (cmd=16, ifma=0xc0a39ec0)
    at ../../net/rtsock.c:856
#8  0xc01afed0 in if_delmulti (ifp=0xc08d5000, sa=0xcc5a2d34)
    at ../../net/if.c:1526
#9  0xc01b2881 in vlan_setmulti (ifp=0xc08ddc00) at ../../net/if_vlan.c:154
#10 0xc01b342e in vlan_ioctl (ifp=0xc08ddc00, cmd=2149607730, data=0x0)
    at ../../net/if_vlan.c:727
---Type <return> to continue, or q <return> to quit---
#11 0xc01affaa in if_delmulti (ifp=0xc08ddc00, sa=0xc09503e0)
    at ../../net/if.c:1566
#12 0xc01b9d63 in in_delmulti (inm=0xc0a02280) at ../../netinet/in.c:894
#13 0xc01c0504 in ip_freemoptions (imo=0xc0a80f00)
    at ../../netinet/ip_output.c:2093
#14 0xc01bad69 in in_pcbdetach (inp=0xcc018e00) at
../../netinet/in_pcb.c:578
#15 0xc01c885c in udp_detach (so=0xcbfe68c0) at
../../netinet/udp_usrreq.c:884
#16 0xc0191bed in soclose (so=0xcbfe68c0) at ../../kern/uipc_socket.c:320
#17 0xc0185c3e in soo_close (fp=0xc0a5cc80, p=0xcbbb3740)
    at ../../kern/sys_socket.c:195
#18 0xc0168903 in fdrop (fp=0xc0a5cc80, p=0xcbbb3740) at
../../sys/file.h:218
#19 0xc0168849 in closef (fp=0xc0a5cc80, p=0xcbbb3740)
    at ../../kern/kern_descrip.c:1434
#20 0xc01679b1 in close (p=0xcbbb3740, uap=0xcc5a2f80)
    at ../../kern/kern_descrip.c:623
#21 0xc0229c95 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47,
      tf_edi = -1077937248, tf_esi = 0, tf_ebp = -1077937900,
      tf_isp = -866504748, tf_ebx = 134953792, tf_edx = 134951680,
      tf_ecx = 134750268, tf_eax = 6, tf_trapno = 12, tf_err = 2,
      tf_eip = 403987400, tf_cs = 31, tf_eflags = 663, tf_esp = -1077937944,
      tf_ss = 47}) at ../../i386/i386/trap.c:1175
#22 0xc021d8c5 in Xint0x80_syscall ()
#23 0x8049a24 in ?? ()
---Type <return> to continue, or q <return> to quit---
#24 0xbfbfffac in ?? ()
#25 0x8049c9f in ?? ()
#26 0x8049875 in ?? ()

	The core dumps are available on request.

>How-To-Repeat:
	
	How to repeat is not exactly clear. It happens about 1 out of 3
	times, but I haven't figured the exact conditions with which this
	happens.

>Fix:

	Unknown.


>Release-Note:
>Audit-Trail:
>Unformatted:



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