kern/140600: panic: current process = 15 (swi1: net)

Alexander Yamshanov freebsd at yamshanov.ru
Mon Nov 16 10:10:01 UTC 2009


>Number:         140600
>Category:       kern
>Synopsis:       panic: current process = 15 (swi1: net)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 16 10:10:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Yamshanov
>Release:        7.2-RELEASE-p4
>Organization:
ISP IOS
>Environment:
FreeBSD castle.foo.bar 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #4: Sun Nov 15 08:57:33 NOVT 2009     root at castle.foo.bar:/usr/src/sys/i386/compile/CASTLE  i386
>Description:

FreeBSD castle.foo.bar 7.2-RELEASE FreeBSD 7.2-RELEASE
> ls -la | grep vmcore.0
-rw-------   1 root  wheel  298504192  9 nov 16:56 vmcore.0

> sudo kgdb /boot/kernel.old/kernel.symbols ./vmcore.0
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:


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0xc
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc0595808
stack pointer           = 0x28:0xe5317a6c
frame pointer           = 0x28:0xe5317a88
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         = 15 (swi1: net)
trap number             = 12
panic: page fault
cpuid = 1
Uptime: 10d1h28m16s
Physical memory: 2038 MB
Dumping 284 MB: 269 253 237 221 205 189 173 157 141 125 109 93 77 61 45 29 13

Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/blank_saver.ko...Reading symbols from /boot/kernel/blank_saver.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/blank_saver.ko
Reading symbols from /boot/kernel/ng_socket.ko...Reading symbols from /boot/kernel/ng_socket.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_socket.ko
Reading symbols from /boot/kernel/ng_netflow.ko...Reading symbols from /boot/kernel/ng_netflow.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_netflow.ko
Reading symbols from /boot/kernel/ng_car.ko...Reading symbols from /boot/kernel/ng_car.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_car.ko
#0  doadump () at pcpu.h:196
196     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:196
#1  0xc05457d7 in boot (howto=260) at ../../../kern/kern_shutdown.c:418
#2  0xc0545aa9 in panic (fmt=Variable "fmt" is not available.
) at ../../../kern/kern_shutdown.c:574
#3  0xc0731eac in trap_fatal (frame=0xe5317a2c, eva=12) at ../../../i386/i386/trap.c:939
#4  0xc0732110 in trap_pfault (frame=0xe5317a2c, usermode=0, eva=12) at ../../../i386/i386/trap.c:852
#5  0xc0732a42 in trap (frame=0xe5317a2c) at ../../../i386/i386/trap.c:530
#6  0xc0717c7b in calltrap () at ../../../i386/i386/exception.s:159
#7  0xc0595808 in m_copydata (m=0x0, off=0, len=164,
    cp=0xc6e4e85c "knGJ1hJ3QogLgLewquBEmC+rrwVfko1PA1K6LTMr+j\r\nOSj11rUci0oCk29wQD1FpJtgDPdlszkyINSnAo5IQSBo41zQfMuJkknECnJKGNCFShdZKenahDmU\r\nDU4XvXliiX5EtC3CuQFri5okURrNMwgQHbY35N1NiJ") at ../../../kern/uipc_mbuf.c:815
#8  0xc06126e8 in ip_forward (m=0xc645de00, srcrt=0) at ../../../netinet/ip_input.c:1307
#9  0xc0613e93 in ip_input (m=0xc645de00) at ../../../netinet/ip_input.c:609
#10 0xc05e8495 in netisr_dispatch (num=2, m=0xc645de00) at ../../../net/netisr.c:185
#11 0xc05e295a in ether_demux (ifp=0xc536c000, m=0xc645de00) at ../../../net/if_ethersubr.c:834
#12 0xc05e2d53 in ether_input (ifp=0xc536c000, m=0xc645de00) at ../../../net/if_ethersubr.c:692
#13 0xc05e77c3 in vlan_input (ifp=0xc518ec00, m=0xc645de00) at ../../../net/if_vlan.c:947
#14 0xc05e28b7 in ether_demux (ifp=0xc518ec00, m=0xc645de00) at ../../../net/if_ethersubr.c:743
#15 0xc05e2d53 in ether_input (ifp=0xc518ec00, m=0xc645de00) at ../../../net/if_ethersubr.c:692
#16 0xc0691068 in xl_rxeof (sc=0xc5192000) at ../../../pci/if_xl.c:2022
#17 0xc069329f in xl_poll (ifp=0xc518ec00, cmd=POLL_ONLY, count=5) at ../../../pci/if_xl.c:2318
#18 0xc053916b in netisr_poll () at ../../../kern/kern_poll.c:432
#19 0xc05e8702 in swi_net (dummy=0x0) at ../../../net/netisr.c:254
#20 0xc052577b in ithread_loop (arg=0xc5075240) at ../../../kern/kern_intr.c:1088
#21 0xc0522399 in fork_exit (callout=0xc05255c0 <ithread_loop>, arg=0xc5075240, frame=0xe5317d38)
    at ../../../kern/kern_fork.c:810
#22 0xc0717cf0 in fork_trampoline () at ../../../i386/i386/exception.s:264
(kgdb)

//-----------------------------------------------------------------------------------------------------------------------------------

FreeBSD castle.foo.bar 7.2-RELEASE FreeBSD 7.2-RELEASE
> ls -la | grep vmcore.1
-rw-------   1 root  wheel  269041664 11 nov 17:16 vmcore.1


> sudo kgdb /boot/kernel.old/kernel.symbols ./vmcore.1
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:


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0xc
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc0595808
stack pointer           = 0x28:0xe5317a6c
frame pointer           = 0x28:0xe5317a88
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         = 15 (swi1: net)
trap number             = 12
panic: page fault
cpuid = 0
Uptime: 1d0h43m14s
Physical memory: 2038 MB
Dumping 256 MB: 241 225 209 193 177 161 145 129 113 97 81 65 49 33 17 1

Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/blank_saver.ko...Reading symbols from /boot/kernel/blank_saver.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/blank_saver.ko
Reading symbols from /boot/kernel/ng_socket.ko...Reading symbols from /boot/kernel/ng_socket.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_socket.ko
Reading symbols from /boot/kernel/ng_netflow.ko...Reading symbols from /boot/kernel/ng_netflow.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_netflow.ko
Reading symbols from /boot/kernel/ng_car.ko...Reading symbols from /boot/kernel/ng_car.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_car.ko
#0  doadump () at pcpu.h:196
196     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:196
#1  0xc05457d7 in boot (howto=260) at ../../../kern/kern_shutdown.c:418
#2  0xc0545aa9 in panic (fmt=Variable "fmt" is not available.
) at ../../../kern/kern_shutdown.c:574
#3  0xc0731eac in trap_fatal (frame=0xe5317a2c, eva=12) at ../../../i386/i386/trap.c:939
#4  0xc0732110 in trap_pfault (frame=0xe5317a2c, usermode=0, eva=12) at ../../../i386/i386/trap.c:852
#5  0xc0732a42 in trap (frame=0xe5317a2c) at ../../../i386/i386/trap.c:530
#6  0xc0717c7b in calltrap () at ../../../i386/i386/exception.s:159
#7  0xc0595808 in m_copydata (m=0x0, off=0, len=164,
    cp=0xc552725c "\f\021,P&#1090;&#1068;\t\034&#9561;&#1072;&#1078;\223\t[+\t©&#1093;\016Q&#1060;V&#1070;\215&#1056;8&#1056;\027&#9575;&#1081;.\232\213&#1086;\017&#1097;&&#1103;&#1066;22<H\a\025&#1054;&#1070;B&#1098;+\232&#1091;\026sT\216Z\201&#9571;\2050&#1053;y&#1062;©A&#1093;&#1094;\"&#1085;\234$\032&#1097;&#1100;4\231\210I&#1049;\231\"T\017&#1068;&#1103;\030)s&#1025;&#1091;]&#1043;&#1074;&#1102;&#9576;8\\N&#1091;^\036&#1055;&#9577;\206&#9552;\f&#1097;K&#9564;i\207\203&#9564;&#1101;&#1096;C&#9577;\224\035&#9577;<c(&#9565;v&#1062;M\234&#9561;&#1062;\b&#9575;v\212&#9574;\032&#9568;&#1042;\224\004&#1098;=&#9558;&#9574;\024F\\\207&#9575;j&#9571;7\222t&#1045;r&#9568;m\200B&#1088;|!") at ../../../kern/uipc_mbuf.c:815
#8  0xc06126e8 in ip_forward (m=0xc5cf6700, srcrt=0) at ../../../netinet/ip_input.c:1307
#9  0xc0613e93 in ip_input (m=0xc5cf6700) at ../../../netinet/ip_input.c:609
#10 0xc05e8495 in netisr_dispatch (num=2, m=0xc5cf6700) at ../../../net/netisr.c:185
#11 0xc05e295a in ether_demux (ifp=0xc51c3800, m=0xc5cf6700) at ../../../net/if_ethersubr.c:834
#12 0xc05e2d53 in ether_input (ifp=0xc51c3800, m=0xc5cf6700) at ../../../net/if_ethersubr.c:692
#13 0xc05e77c3 in vlan_input (ifp=0xc518ec00, m=0xc5cf6700) at ../../../net/if_vlan.c:947
#14 0xc05e28b7 in ether_demux (ifp=0xc518ec00, m=0xc5cf6700) at ../../../net/if_ethersubr.c:743
#15 0xc05e2d53 in ether_input (ifp=0xc518ec00, m=0xc5cf6700) at ../../../net/if_ethersubr.c:692
#16 0xc0691068 in xl_rxeof (sc=0xc5192000) at ../../../pci/if_xl.c:2022
#17 0xc069329f in xl_poll (ifp=0xc518ec00, cmd=POLL_ONLY, count=4) at ../../../pci/if_xl.c:2318
#18 0xc053916b in netisr_poll () at ../../../kern/kern_poll.c:432
#19 0xc05e8702 in swi_net (dummy=0x0) at ../../../net/netisr.c:254
#20 0xc052577b in ithread_loop (arg=0xc5075240) at ../../../kern/kern_intr.c:1088
#21 0xc0522399 in fork_exit (callout=0xc05255c0 <ithread_loop>, arg=0xc5075240, frame=0xe5317d38)
    at ../../../kern/kern_fork.c:810
#22 0xc0717cf0 in fork_trampoline () at ../../../i386/i386/exception.s:264
(kgdb)

//-----------------------------------------------------------------------------------------------------------------------------------

Today:
FreeBSD castle.foo.bar 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4
Nov 16 11:04:14 castle kernel:
Nov 16 11:04:14 castle kernel:
Nov 16 11:04:14 castle kernel: Fatal trap 12: page fault while in kernel mode
Nov 16 11:04:14 castle kernel: cpuid = 1; apic id = 01
Nov 16 11:04:14 castle kernel: fault virtual address    = 0xc
Nov 16 11:04:14 castle kernel: fault code               = supervisor read, pagenot present
Nov 16 11:04:14 castle kernel: instruction pointer      = 0x20:0xc0582cd8
Nov 16 11:04:14 castle kernel: stack pointer            = 0x28:0xe5317a6c
Nov 16 11:04:14 castle kernel: frame pointer            = 0x28:0xe5317a88
Nov 16 11:04:14 castle kernel: code segment             = base 0x0, limit 0xfffff, type 0x1b
Nov 16 11:04:14 castle kernel: = DPL 0, pres 1, def32 1, gran 1
Nov 16 11:04:14 castle kernel: processor eflags = interrupt enabled, resume, IOPL = 0
Nov 16 11:04:14 castle kernel: current process          = 15 (swi1: net)
Nov 16 11:04:14 castle kernel: trap number              = 12
Nov 16 11:04:14 castle kernel: panic: page fault
Nov 16 11:04:14 castle kernel: cpuid = 1
Nov 16 11:04:14 castle kernel: Uptime: 1d2h2m39s
Nov 16 11:04:14 castle kernel: Physical memory: 2038 MB
Nov 16 11:04:14 castle kernel: Dumping 257 MB: 242 226 210 194 178 162 146 130 114 98 82 66 50 34 18 2
Nov 16 11:04:14 castle kernel: Dump complete
Nov 16 11:04:14 castle kernel: Automatic reboot in 15 seconds - press a key on the console to abort

> kldstat
Id Refs Address    Size     Name
 1   11 0xc0400000 46d5e0   kernel
 2    1 0xc086e000 6a528    acpi.ko
 3    1 0xc572b000 2000     blank_saver.ko
 4    1 0xc5737000 4000     ng_socket.ko
 5    1 0xc5768000 6000     ng_netflow.ko
 6    1 0xc63e6000 4000     ng_car.ko

> sudo ngctl list | grep 'Type: car' | wc -l
     786

> ifconfig | grep ^vlan | wc -l
      32

>How-To-Repeat:
I don't know.
>Fix:


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


More information about the freebsd-bugs mailing list