Date: Fri, 13 Apr 2001 12:03:48 +0200 (MET DST) From: Piet Ruyssinck <Piet.Ruyssinck@rug.ac.be> To: freebsd-net@freebsd.org, archie@freebsd.org Cc: Luc Verschraegen <Luc.Verschraegen@rug.ac.be>, Arsene Wauters <Arsene.Wauters@rug.ac.be>, Piet Ruyssinck <Piet.Ruyssinck@rug.ac.be> Subject: mpd-3.2 makes FreeBSD 4.2R panic Message-ID: <Pine.SOL.4.10.10104131130310.10167-100000@callisto.rug.ac.be>
next in thread | raw e-mail | index | archive | help
I need some assistance here.... My headache is caused by a Compaq Armada E500 notebook running FreeBSD 4.2-RELEASE (kernel config at the bottom of this message) and with the mpd-netgraph port installed (mpd-3.2). The machine always panics shortly after setting up a VPN link with a Cisco 7140-2FE (with Integrated service module for H/W encryption and running IOS EGR Software Version 12.1(4)E) Before I could even set up the connection, I had to remove the following lines from /usr/ports/net/mpd-netgraph/work/mpd-3.2/src/pptp_ctrl.c : if (hdr->resv0 != 0) { Log(LG_PPTP, ("pptp%d: non-zero reserved field in header", c->id)); goto abort; } because (hdr->resv0 != 0) would always yield true. Is the Cisco not speaking proper pptp here ? my /usr/local/etc/mpd/mpd.conf looks like this : default: load vpn vpn: new vpn vpn set iface disable on-demand set iface idle 0 set bundle disable multilink set bundle authname "********" set bundle password "********" set link yes acfcomp protocomp set link disable pap chap set link accept chap set link keep-alive 10 75 set ipcp yes vjcomp set ipcp ranges 157.193.33.4/16 157.193.46.4/16 set bundle enable compression set ccp yes mppc set ccp yes mpp-e40 set ccp yes mpp-e128 set bundle enable crypt-reqd set ccp yes mpp-stateless open and here's my /usr/local/etc/mpd/mpd.links : vpn: set link type pptp set pptp self 157.193.55.252 set pptp peer 157.193.46.4 set pptp enable originate incoming outcall When I launch mpd, the link comes up, but a few seconds later, the machine panics. I followed section 13.13. of the FreeBSD FAQ (http://www.freebsd.org/FAQ/hackers.html#KERNEL-PANIC-TROUBLESHOOTING) to give as much as possible information regarding this panic : # gdb -k /sys/compile/ARMADA/kernel.debug /usr/home/vmcore.0 GNU gdb 4.18 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"... IdlePTD 3637248 initial pcb at 2f2980 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x70 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0145ca4 stack pointer = 0x10:0xc02ab484 frame pointer = 0x10:0xc02ab4a8 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 = Idle interrupt mask = net tty bio cam trap number = 12 panic: page fault syncing disks... 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 giving up on 20 buffers Uptime: 1m33s dumping to dev #ad/0x30001, offset 270848 dump ata0: resetting devices .. done 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 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 3 0 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 --- #0 0xc014302e in dumpsys () (kgdb) where #0 0xc014302e in dumpsys () #1 0xc0142e4f in boot () #2 0xc01431cc in poweroff_wait () #3 0xc02645a1 in trap_fatal () #4 0xc0264279 in trap_pfault () #5 0xc0263e5f in trap () #6 0xc0145ca4 in tsleep () #7 0xc0161721 in sb_lock () #8 0xc015f214 in sosend () #9 0xc0195444 in ng_ksocket_rcvdata (hook=0xc0a9f0a0, m=0xc0749b00, meta=0x0) at ../../netgraph/ng_ksocket.c:795 #10 0xc018f301 in ng_send_data (hook=0xc0a9f0c0, m=0xc0749b00, meta=0x0) at ../../netgraph/ng_base.c:1624 #11 0xc019ca48 in ng_pptpgre_xmit (node=0xc0b52400, m=0xc0749b00, meta=0x0) at ../../netgraph/ng_pptpgre.c:547 #12 0xc019c600 in ng_pptpgre_rcvdata (hook=0xc0a9f0e0, m=0xc0749b00, meta=0x0) at ../../netgraph/ng_pptpgre.c:411 #13 0xc018f301 in ng_send_data (hook=0xc0a9f100, m=0xc0749b00, meta=0x0) at ../../netgraph/ng_base.c:1624 #14 0xc0198eb4 in ng_ppp_output (node=0xc0b52380, bypass=0, proto=253, linkNum=65535, m=0xc0749b00, meta=0x0) at ../../netgraph/ng_ppp.c:985 #15 0xc0198a02 in ng_ppp_rcvdata (hook=0xc0a9f080, m=0xc0749b00, meta=0x0) at ../../netgraph/ng_ppp.c:766 #16 0xc018f301 in ng_send_data (hook=0xc0a9f060, m=0xc0749b00, meta=0x0) ---Type <return> to continue, or q <return> to quit--- at ../../netgraph/ng_base.c:1624 #17 0xc0196be4 in ng_mppc_rcvdata (hook=0xc0a9f060, m=0xc0749500, meta=0x0) at ../../netgraph/ng_mppc.c:369 #18 0xc018f301 in ng_send_data (hook=0xc0a9f080, m=0xc0749500, meta=0x0) at ../../netgraph/ng_base.c:1624 #19 0xc0198a44 in ng_ppp_rcvdata (hook=0xc0a9f2e0, m=0xc0749500, meta=0x0) at ../../netgraph/ng_ppp.c:783 #20 0xc018f301 in ng_send_data (hook=0xc0a9f2c0, m=0xc0749500, meta=0x0) at ../../netgraph/ng_base.c:1624 #21 0xc019222a in ng_bpf_rcvdata (hook=0xc0a9f2a0, m=0xc0749500, meta=0x0) at ../../netgraph/ng_bpf.c:436 #22 0xc018f301 in ng_send_data (hook=0xc0a9f280, m=0xc0749500, meta=0x0) at ../../netgraph/ng_base.c:1624 #23 0xc0194305 in ng_iface_output (ifp=0xc0b59800, m=0xc0749500, dst=0xc7cccf4c, rt0=0xc0b59200) at ../../netgraph/ng_iface.c:442 #24 0xc01a697f in ip_output () #25 0xc01a815b in rip_output () #26 0xc01a85a3 in rip_send () #27 0xc015f72f in sosend () #28 0xc0195444 in ng_ksocket_rcvdata (hook=0xc0a9f0a0, m=0xc072be00, meta=0x0) at ../../netgraph/ng_ksocket.c:795 #29 0xc018f301 in ng_send_data (hook=0xc0a9f0c0, m=0xc072be00, meta=0x0) at ../../netgraph/ng_base.c:1624 #30 0xc019ca48 in ng_pptpgre_xmit (node=0xc0b52400, m=0xc072be00, meta=0x0) ---Type <return> to continue, or q <return> to quit--- at ../../netgraph/ng_pptpgre.c:547 #31 0xc019d0b4 in ng_pptpgre_send_ack_timeout (arg=0xc0a33870) at ../../netgraph/ng_pptpgre.c:873 #32 0xc0148a55 in softclock () (kgdb) q # FYI, my kernel config : bash-2.04# cat /usr/src/sys/i386/conf/ARMADA machine i386 cpu I686_CPU ident ARMADA maxusers 32 options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options NFS #Network Filesystem options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies options KBD_INSTALL_CDEV # install a CDEV entry in /dev device isa device pci device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives options ATA_STATIC_ID #Static device numbering #options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 device vga0 at isa? pseudo-device splash device sc0 at isa? flags 0x100 device npx0 at nexus? port IO_NPX irq 13 device apm0 at nexus? device card device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd0000 device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 disable device sio0 at isa? port IO_COM1 flags 0x10 irq 4 # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) #device lpt # Printer device ppi # Parallel port interface device device vpo # Requires scbus and da device fxp # Intel EtherExpress PRO/100B (82557, 82558) pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device ppp 1 # Kernel PPP pseudo-device tun # Packet tunnel. pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device md # Memory "disks" pseudo-device gif 4 # IPv6 and IPv4 tunneling pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) pseudo-device bpf #Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) device ugen # Generic device uscanner # Scanners # device pcm0 at isa? irq 10 drq 1 flags 0x0 device pcm options NETGRAPH #netgraph(4) system options NETGRAPH_ASYNC options NETGRAPH_BPF options NETGRAPH_CISCO options NETGRAPH_ECHO options NETGRAPH_ETHER options NETGRAPH_FRAME_RELAY options NETGRAPH_HOLE options NETGRAPH_IFACE options NETGRAPH_KSOCKET options NETGRAPH_LMI # MPPC compression requires proprietary files (not included) #options NETGRAPH_MPPC_COMPRESSION options NETGRAPH_MPPC_ENCRYPTION options NETGRAPH_ONE2MANY options NETGRAPH_PPP options NETGRAPH_PPPOE options NETGRAPH_PPTPGRE options NETGRAPH_RFC1490 options NETGRAPH_SOCKET options NETGRAPH_TEE options NETGRAPH_TTY options NETGRAPH_UI options NETGRAPH_VJC I'd be very obliged if anyone could hand me some clues here. ___________________________________________________________________________ Piet RUYSSINCK e-mail: Piet.Ruyssinck@rug.ac.be Unix Systeem Administratie tel: +32 9 264 4733 Academisch Rekencentrum fax: +32 9 264 4994 Universiteit Gent (RUG) Krijgslaan 281, gebouw S9 - 9000 Gent, Belgie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.10.10104131130310.10167-100000>