kern/125314: freebsd7.0+mpd5 crash [possibly ng_mppc related]
Illya Klymov
ilia.klimov at gmail.com
Sat Jul 5 18:00:05 UTC 2008
>Number: 125314
>Category: kern
>Synopsis: freebsd7.0+mpd5 crash [possibly ng_mppc related]
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jul 05 18:00:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Illya Klymov
>Release: 7.0
>Organization:
Skyline
>Environment:
FreeBSD betabilling.skyline.kh.ua 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #4: Sat Jul 5 19:34:52 EEST 2008 root at betabilling.skyline.kh.ua:/usr/obj/usr/src/sys/BILLING i386
>Description:
I'm running FreeBSD 7.0 on Intel Core 2 Duo. The primary usage is running mpd5 server Occasionaly (from 2 minutes up to 10 hours uptime) i've got panic with "double fault" error.
Here is backtrace, generated by kgdb:
(kgdb) bt
#0 doadump () at pcpu.h:195
#1 0xc0524cc7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2 0xc0524f89 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:563
#3 0xc072fabb in dblfault_handler () at /usr/src/sys/i386/i386/trap.c:928
#4 0xc072dddc in bcopy () at /usr/src/sys/i386/i386/support.s:478
#5 0xc0452eb4 in sha1_step (ctxt=0xe5277104) at /usr/src/sys/crypto/sha1.c:101
#6 0xc0453480 in sha1_loop (ctxt=0xe5277104,
input=0xc4deb81f "�OTw/�\2253/�B±\211:�m�\2228\vc�q\211LR:�C#�`���\021J\214W��p\031�s�\225.��Z\025", len=16)
at /usr/src/sys/crypto/sha1.c:246
#7 0xc05d6c4c in ng_mppc_getkey (h=Variable "h" is not available.
) at /usr/src/sys/netgraph/ng_mppc.c:826
#8 0xc05d6cde in ng_mppc_updatekey (bits=16777280, key0=Variable "key0" is not available.
) at /usr/src/sys/netgraph/ng_mppc.c:842
#9 0xc05d6e46 in ng_mppc_rcvdata (hook=0xc541a000, item=0xc51a6270) at /usr/src/sys/netgraph/ng_mppc.c:557
#10 0xc05d0f7c in ng_apply_item (node=0xc5418e00, item=0xc51a6270, rw=1) at /usr/src/sys/netgraph/ng_base.c:2483
#11 0xc05d019b in ng_snd_item (item=0xc51a6270, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#12 0xc05dc0de in ng_ppp_comp_xmit (node=Variable "node" is not available.
) at /usr/src/sys/netgraph/ng_ppp.c:1074
#13 0xc05dc22a in ng_ppp_hcomp_xmit (node=Variable "node" is not available.
) at /usr/src/sys/netgraph/ng_ppp.c:953
#14 0xc05dc324 in ng_ppp_rcvdata_inet (hook=0xc5417000, item=0xc51a6270) at /usr/src/sys/netgraph/ng_ppp.c:789
#15 0xc05d0f7c in ng_apply_item (node=0xc4fc9100, item=0xc51a6270, rw=0) at /usr/src/sys/netgraph/ng_base.c:2483
#16 0xc05d019b in ng_snd_item (item=0xc51a6270, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#17 0xc05cdea0 in ng_netflow_rcvdata (hook=0xc5226480, item=0xc51a6270) at /usr/src/sys/netgraph/netflow/ng_netflow.c:469
#18 0xc05d0f7c in ng_apply_item (node=0xc5419a00, item=0xc51a6270, rw=0) at /usr/src/sys/netgraph/ng_base.c:2483
#19 0xc05d019b in ng_snd_item (item=0xc51a6270, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#20 0xc05ce14c in ng_netflow_rcvdata (hook=0xc5417900, item=0xc51a6270) at /usr/src/sys/netgraph/netflow/ng_netflow.c:600
#21 0xc05d0f7c in ng_apply_item (node=0xc5419a00, item=0xc51a6270, rw=0) at /usr/src/sys/netgraph/ng_base.c:2483
#22 0xc05d019b in ng_snd_item (item=0xc51a6270, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#23 0xc05e027d in ng_tcpmss_rcvdata (hook=0xc5417700, item=0xc51a6270) at /usr/src/sys/netgraph/ng_tcpmss.c:346
#24 0xc05d0f7c in ng_apply_item (node=0xc5417980, item=0xc51a6270, rw=0) at /usr/src/sys/netgraph/ng_base.c:2483
#25 0xc05d019b in ng_snd_item (item=0xc51a6270, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#26 0xc05d273c in ng_bpf_rcvdata (hook=0xc4fca600, item=0xc51a6270) at /usr/src/sys/netgraph/ng_bpf.c:460
#27 0xc05d0f7c in ng_apply_item (node=0xc5417780, item=0xc51a6270, rw=0) at /usr/src/sys/netgraph/ng_base.c:2483
#28 0xc05d019b in ng_snd_item (item=0xc51a6270, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#29 0xc05d34c0 in ng_car_rcvdata (hook=0xc53cb200, item=0xc51a6270) at /usr/src/sys/netgraph/ng_car.c:368
#30 0xc05d0f7c in ng_apply_item (node=0xc51aed00, item=0xc51a6270, rw=0) at /usr/src/sys/netgraph/ng_base.c:2483
#31 0xc05d019b in ng_snd_item (item=0xc51a6270, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#32 0xc05d273c in ng_bpf_rcvdata (hook=0xc5417480, item=0xc51a6270) at /usr/src/sys/netgraph/ng_bpf.c:460
#33 0xc05d0f7c in ng_apply_item (node=0xc5417780, item=0xc51a6270, rw=0) at /usr/src/sys/netgraph/ng_base.c:2483
#34 0xc05d019b in ng_snd_item (item=0xc51a6270, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#35 0xc05d4605 in ng_iface_send (ifp=0xc4ccac00, m=Variable "m" is not available.
) at /usr/src/sys/netgraph/ng_iface.c:452
#36 0xc05d4bd1 in ng_iface_output (ifp=0xc4ccac00, m=0xc5492800, dst=0xe5277b84, rt0=0xc50e4a50)
at /usr/src/sys/netgraph/ng_iface.c:387
#37 0xc05f9209 in ip_output (m=0xc5492800, opt=0x0, ro=0xe5277b80, flags=Variable "flags" is not available.
) at /usr/src/sys/netinet/ip_output.c:549
#38 0xc05f4f34 in icmp_reflect (m=0xc5492800) at /usr/src/sys/netinet/ip_icmp.c:817
#39 0xc05f52fc in icmp_error (n=0xc50f6600, type=3, code=3, dest=0, mtu=0) at /usr/src/sys/netinet/ip_icmp.c:278
#40 0xc0664b75 in udp_input (m=0xc50f6600, off=20) at /usr/src/sys/netinet/udp_usrreq.c:541
#41 0xc05f7668 in ip_input (m=0xc50f6600) at /usr/src/sys/netinet/ip_input.c:665
#42 0xc05c33e5 in netisr_dispatch (num=2, m=0xc50f6600) at /usr/src/sys/net/netisr.c:185
#43 0xc05d3f46 in ng_iface_rcvdata (hook=0xc5417380, item=0xc5225630) at /usr/src/sys/netgraph/ng_iface.c:757
#44 0xc05d0f7c in ng_apply_item (node=0xc5419600, item=0xc5225630, rw=0) at /usr/src/sys/netgraph/ng_base.c:2483
#45 0xc05d019b in ng_snd_item (item=0xc5225630, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#46 0xc05d273c in ng_bpf_rcvdata (hook=0xc4fcac80, item=0xc5225630) at /usr/src/sys/netgraph/ng_bpf.c:460
#47 0xc05d0f7c in ng_apply_item (node=0xc5417780, item=0xc5225630, rw=0) at /usr/src/sys/netgraph/ng_base.c:2483
#48 0xc05d019b in ng_snd_item (item=0xc5225630, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#49 0xc05d34c0 in ng_car_rcvdata (hook=0xc51ad900, item=0xc5225630) at /usr/src/sys/netgraph/ng_car.c:368
#50 0xc05d0f7c in ng_apply_item (node=0xc5417200, item=0xc5225630, rw=0) at /usr/src/sys/netgraph/ng_base.c:2483
#51 0xc05d019b in ng_snd_item (item=0xc5225630, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#52 0xc05d273c in ng_bpf_rcvdata (hook=0xc5417680, item=0xc5225630) at /usr/src/sys/netgraph/ng_bpf.c:460
#53 0xc05d0f7c in ng_apply_item (node=0xc5417780, item=0xc5225630, rw=0) at /usr/src/sys/netgraph/ng_base.c:2483
#54 0xc05d019b in ng_snd_item (item=0xc5225630, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#55 0xc05e027d in ng_tcpmss_rcvdata (hook=0xc5417880, item=0xc5225630) at /usr/src/sys/netgraph/ng_tcpmss.c:346
#56 0xc05d0f7c in ng_apply_item (node=0xc5417980, item=0xc5225630, rw=0) at /usr/src/sys/netgraph/ng_base.c:2483
#57 0xc05d019b in ng_snd_item (item=0xc5225630, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#58 0xc05cdea0 in ng_netflow_rcvdata (hook=0xc5417a00, item=0xc5225630) at /usr/src/sys/netgraph/netflow/ng_netflow.c:469
#59 0xc05d0f7c in ng_apply_item (node=0xc5419a00, item=0xc5225630, rw=0) at /usr/src/sys/netgraph/ng_base.c:2483
#60 0xc05d019b in ng_snd_item (item=0xc5225630, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#61 0xc05ce14c in ng_netflow_rcvdata (hook=0xc541a300, item=0xc5225630) at /usr/src/sys/netgraph/netflow/ng_netflow.c:600
#62 0xc05d0f7c in ng_apply_item (node=0xc5419a00, item=0xc5225630, rw=0) at /usr/src/sys/netgraph/ng_base.c:2483
#63 0xc05d019b in ng_snd_item (item=0xc5225630, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#64 0xc05da6b8 in ng_ppp_proto_recv (node=0xc4fc9100, item=0xc5225630, proto=Variable "proto" is not available.
) at /usr/src/sys/netgraph/ng_ppp.c:930
#65 0xc05da7a8 in ng_ppp_hcomp_recv (node=0xc4fc9100, item=0xc5225630, proto=Variable "proto" is not available.
) at /usr/src/sys/netgraph/ng_ppp.c:1030
#66 0xc05da84f in ng_ppp_rcvdata_decompress (hook=0xc5418d80, item=0xc5225630) at /usr/src/sys/netgraph/ng_ppp.c:1178
#67 0xc05d0f7c in ng_apply_item (node=0xc4fc9100, item=0xc5225630, rw=0) at /usr/src/sys/netgraph/ng_base.c:2483
#68 0xc05d019b in ng_snd_item (item=0xc5225630, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#69 0xc05d7417 in ng_mppc_rcvdata (hook=0xc541a500, item=0xc5225630) at /usr/src/sys/netgraph/ng_mppc.c:402
#70 0xc05d0f7c in ng_apply_item (node=0xc541ae00, item=0xc5225630, rw=1) at /usr/src/sys/netgraph/ng_base.c:2483
#71 0xc05d019b in ng_snd_item (item=0xc5225630, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#72 0xc05da91c in ng_ppp_comp_recv (node=0xc4fc9100, item=0xc5225630, proto=Variable "proto" is not available.
) at /usr/src/sys/netgraph/ng_ppp.c:1140
#73 0xc05daa88 in ng_ppp_crypt_recv (node=0xc4fc9100, item=0xc5225630, proto=Variable "proto" is not available.
) at /usr/src/sys/netgraph/ng_ppp.c:1249
#74 0xc05dcc86 in ng_ppp_rcvdata (hook=0xc541a480, item=0xc5225630) at /usr/src/sys/netgraph/ng_ppp.c:1504
#75 0xc05d0f7c in ng_apply_item (node=0xc4fc9100, item=0xc5225630, rw=0) at /usr/src/sys/netgraph/ng_base.c:2483
#76 0xc05d019b in ng_snd_item (item=0xc5225630, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#77 0xc05e071a in ngt_rcvdata (hook=0xc5226600, item=0xc5225630) at /usr/src/sys/netgraph/ng_tee.c:349
#78 0xc05d0f7c in ng_apply_item (node=0xc5419180, item=0xc5225630, rw=0) at /usr/src/sys/netgraph/ng_base.c:2483
#79 0xc05d019b in ng_snd_item (item=0xc5225630, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#80 0xc05de805 in ng_pptpgre_rcvdata (hook=0xc51ad600, item=0xc5225630) at /usr/src/sys/netgraph/ng_pptpgre.c:748
#81 0xc05d0f7c in ng_apply_item (node=0xc51ae880, item=0xc5225630, rw=0) at /usr/src/sys/netgraph/ng_base.c:2483
#82 0xc05d019b in ng_snd_item (item=0xc5225630, flags=0) at /usr/src/sys/netgraph/ng_base.c:2411
#83 0xc05d68ae in ng_ksocket_incoming2 (node=0xc51ad180, hook=0x0, arg1=0xc53027bc, waitflag=1)
at /usr/src/sys/netgraph/ng_ksocket.c:1149
#84 0xc05d2129 in ng_apply_item (node=0xc51ad180, item=0xc57b20c0, rw=1) at /usr/src/sys/netgraph/ng_base.c:2559
#85 0xc05d2465 in ngintr () at /usr/src/sys/netgraph/ng_base.c:3403
#86 0xc05c3642 in swi_net (dummy=0x0) at /usr/src/sys/net/netisr.c:254
#87 0xc0507eeb in ithread_loop (arg=0xc4cd41f0) at /usr/src/sys/kern/kern_intr.c:1036
#88 0xc0504ce9 in fork_exit (callout=0xc0507d40 <ithread_loop>, arg=0xc4cd41f0, frame=0xe5278d38)
at /usr/src/sys/kern/kern_fork.c:781
#89 0xc0717390 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205
Here is my kernel config:
cpu I686_CPU
ident BILLING
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
options SCHED_4BSD # 4BSD scheduler
options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
options INET6 # IPv6 communications protocols
options SCTP # Stream Control Transmission Protocol
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options UFS_GJOURNAL # Enable gjournal-based UFS journaling
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options GEOM_PART_GPT # GUID Partition Tables.
options GEOM_LABEL # Provides labelization
options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options COMPAT_FREEBSD6 # Compatible with FreeBSD6
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options ADAPTIVE_GIANT # Giant mutex is adaptive.
options STOP_NMI # Stop CPUS using NMI instead of IPI
options AUDIT # Security event auditing
options NETGRAPH
options NETGRAPH_IPFW
options LIBALIAS
options NETGRAPH_NAT
options NETGRAPH_NETFLOW
options NETGRAPH_SPLIT
options NETGRAPH_KSOCKET
options NETGRAPH_SOCKET
options NETGRAPH_BPF
options NETGRAPH_IFACE
options NETGRAPH_MPPC_ENCRYPTION
options NETGRAPH_PPP
options NETGRAPH_PPTPGRE
options NETGRAPH_TCPMSS
options NETGRAPH_VJC
options NETGRAPH_TEE
options NETGRAPH_CAR
options IPFIREWALL #ipfw
options IPFIREWALL_VERBOSE
options IPFIREWALL_FORWARD
options IPFIREWALL_DEFAULT_TO_ACCEPT
options SMP # Symmetric MultiProcessor Kernel
device apic # I/O APIC
device cpufreq
device eisa
device pci
device fdc
device ata
device atadisk # ATA disk drives
options ATA_STATIC_ID # Static device numbering
device scbus # SCSI bus (required for SCSI)
device ch # SCSI media changers
device da # Direct Access (disks)
device sa # Sequential Access (tape etc)
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
device kbdmux # keyboard multiplexer
device vga # VGA video card driver
device splash # Splash screen and screen saver support
device sc
device agp # support several AGP chipsets
device pmtimer
device ppc
device ppbus # Parallel port bus (required)
device lpt # Printer
device ppi # Parallel port interface device
device miibus # MII bus support
device re # RealTek 8139C+/8169/8169S/8110S
device loop # Network loopback
device random # Entropy device
device ether # Ethernet support
device sl # Kernel SLIP
device ppp # Kernel PPP
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
device faith # IPv6-to-IPv4 relaying (translation)
device firmware # firmware assist module
device bpf # Berkeley packet filter
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device ehci # EHCI PCI->USB interface (USB 2.0)
device usb # USB Bus (required)
device ugen # Generic
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device ums # Mouse
Here is my kldstat output:
Id Refs Address Size Name
1 1 0xc0400000 4973fc kernel
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list