Date: Tue, 27 Mar 2001 12:18:13 +1000 (EST) From: Sleepless in Brisbane <snowy@snowy.org> To: freebsd-stable@FreeBSD.ORG Subject: Kernel Panic on 4.3-RC #0 using PPPoE Message-ID: <Pine.BSF.4.21.0103271217010.12238-400000@localhost>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hello all, I am receiving kernel panics under 4.3-RC #0 when trying to bring up PPPoE. A copy of the kernel debug, the start up and the actual PPP configuration are attached. It appears to be something in the subroutine called fxp_start of the actual ethernet card (Which is an Intel Express) trying to use a structure which has not yet been initialized. The machine is an SMP machine as well; although compiling without SMP support has so far made no difference. The problem also occurs under 4.2-RELEASE. Any help on the subject would be appreciated. -- Snowy Angelique Maslov aka Snowpony My.. [ www.vulpine.pp.se/cgi-bin/furcode ] |\= http://snowy.furart.org/ Art FEHuw3acdm A+ C- Dm++ H+++ M++++ P+++ - - = http://www.furryfaire.org/ Life R++ T+++ W- Z++ Sf# RLCT/M a cbu++++$ '- http://www.furart.org/ Dreams d- e+ f+++ h+ iwf+++$ j+ p* sm#>f# [-- Attachment #2 --] Script started on Mon Mar 26 02:34:15 2001 # gdb -k 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". (kgdb) symbol-file kernel.debug Reading symbols from kernel.debug...done. (kgdb) exec-file /var/crash/kernel.0 (kgdb) core-file /var/crash/vmcore.0 SMP 2 cpus IdlePTD 2969600 initial pcb at 2519a0 panicstr: from debugger panic messages: --- Fatal trap 12: page fault while in kernel mode mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0197496 stack pointer = 0x10:0xcd5c3cb8 frame pointer = 0x10:0xcd5c3cd0 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 = 4199 (ppp) interrupt mask = net <- SMP: XXX panic: from debugger mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 Fatal trap 12: page fault while in kernel mode mp_lock = 00000003; cpuid = 0; lapic.id = 00000000 fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0197496 stack pointer = 0x10:0xcd5c3cb8 frame pointer = 0x10:0xcd5c3cd0 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 = 4199 (ppp) interrupt mask = net <- SMP: XXX Fatal trap 12: page fault while in kernel mode mp_lock = 00000003; cpuid = 0; lapic.id = 00000000 fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0197496 stack pointer = 0x10:0xcd5c3cb8 frame pointer = 0x10:0xcd5c3cd0 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 = 4199 (ppp) interrupt mask = net <- SMP: XXX panic: from debugger mp_lock = 00000003; cpuid = 0; lapic.id = 00000000 boot() called on cpu#0 Uptime: 8m4s dumping to dev #ad/0x20001, offset 1572992 dump ata0: resetting devices .. done 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 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 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 --- #0 dumpsys () at ../../kern/kern_shutdown.c:469 469 if (dumping++) { (kgdb) where #0 dumpsys () at ../../kern/kern_shutdown.c:469 #1 0xc01364f3 in boot (howto=260) at ../../kern/kern_shutdown.c:309 #2 0xc01368bd in panic (fmt=0xc020a6b4 "from debugger") at ../../kern/kern_shutdown.c:556 #3 0xc011e4fd in db_panic (addr=-1072073578, have_addr=0, count=-1, modif=0xcd5c3b1c "") at ../../ddb/db_command.c:433 #4 0xc011e49d in db_command (last_cmdp=0xc0234538, cmd_table=0xc0234398, aux_cmd_tablep=0xc024d014) at ../../ddb/db_command.c:333 #5 0xc011e562 in db_command_loop () at ../../ddb/db_command.c:455 #6 0xc012066f in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71 #7 0xc01e2b99 in kdb_trap (type=12, code=0, regs=0xcd5c3c78) at ../../i386/i386/db_interface.c:158 #8 0xc01f58ea in trap_fatal (frame=0xcd5c3c78, eva=0) at ../../i386/i386/trap.c:946 #9 0xc01f5581 in trap_pfault (frame=0xcd5c3c78, usermode=0, eva=0) at ../../i386/i386/trap.c:844 #10 0xc01f50d7 in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 1644167168, tf_esi = -1062553856, tf_ebp = -849593136, tf_isp = -849593180, tf_ebx = -1058243584, tf_edx = -1058243584, tf_ecx = 0, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1072073578, tf_cs = 8, tf_eflags = 66118, tf_esp = -1058243584, tf_ss = -1062553856}) at ../../i386/i386/trap.c:443 #11 0xc0197496 in fxp_start (ifp=0xc0ec7c00) at ../../pci/if_fxp.c:1083 #12 0xc01712cc in ether_output_frame (ifp=0xc0ec7c00, m=0xc0aab700) at ../../net/if_ethersubr.c:399 #13 0xc1123538 in ?? () #14 0xc1123461 in ?? () #15 0xc017896d in ng_send_data (hook=0xc10a3fc0, m=0xc0aab700, meta=0x0) at ../../netgraph/ng_base.c:1648 #16 0xc017c101 in sendpacket (sp=0xc1108540) at ../../netgraph/ng_pppoe.c:1451 #17 0xc017b3b6 in pppoe_start (sp=0xc1108540) at ../../netgraph/ng_pppoe.c:754 #18 0xc017b23c in ng_pppoe_rcvmsg (node=0xc10db6c0, msg=0xc1108480, retaddr=0xc0f07a00 "[4]:", rptr=0xcd5c3e24) at ../../netgraph/ng_pppoe.c:660 #19 0xc0177e91 in ng_send_msg (here=0xc1108380, msg=0xc1108480, address=0xc0ff5d10 ".:tun1", rptr=0xcd5c3e24) at ../../netgraph/ng_base.c:1180 #20 0xc017c36c in ngc_send (so=0xcbdc7240, flags=0, m=0xc0a73c00, addr=0xc0ff5f70, control=0x0, p=0xcd58e5a0) at ../../netgraph/ng_socket.c:242 #21 0xc015397f in sosend (so=0xcbdc7240, addr=0xc0ff5f70, uio=0xcd5c3ecc, top=0xc0a73c00, control=0x0, flags=0, p=0xcd58e5a0) at ../../kern/uipc_socket.c:611 #22 0xc0157137 in sendit (p=0xcd58e5a0, s=2, mp=0xcd5c3f0c, flags=0) at ../../kern/uipc_syscalls.c:583 #23 0xc0157239 in sendto (p=0xcd58e5a0, uap=0xcd5c3f80) at ../../kern/uipc_syscalls.c:636 #24 0xc01f5c5d in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, ---Type <return> to continue, or q <return> to quit--- tf_edi = -1077941483, tf_esi = -1077941490, tf_ebp = -1077940976, tf_isp = -849592364, tf_ebx = 672842952, tf_edx = -1077941492, tf_ecx = -1077941492, tf_eax = 133, tf_trapno = 7, tf_err = 2, tf_eip = 673083780, tf_cs = 31, tf_eflags = 518, tf_esp = -1077941580, tf_ss = 47}) at ../../i386/i386/trap.c:1150 #25 0xc01e355b in Xint0x80_syscall () #26 0x281aa989 in ?? () #27 0x807bcfc in ?? () #28 0x80703eb in ?? () #29 0x8059efc in ?? () #30 0x804cda1 in ?? () #31 0x806b4c7 in ?? () #32 0x806b3a7 in ?? () #33 0x804b25d in ?? () (kgdb) up 11 #11 0xc0197496 in fxp_start (ifp=0xc0ec7c00) at ../../pci/if_fxp.c:1083 1083 txp = sc->cbl_last->next; (kgdb) list 1078 IF_DEQUEUE(&ifp->if_snd, mb_head); 1079 1080 /* 1081 * Get pointer to next available tx desc. 1082 */ 1083 txp = sc->cbl_last->next; 1084 1085 /* 1086 * Go through each of the mbufs in the chain and initialize 1087 * the transmit buffer descriptors with the physical address (kgdb) print txp; Invalid character ';' in expression. (kgdb) print txp $1 = (struct fxp_cb_tx *) 0x0 (kgdb) print sc $2 = (struct fxp_softc *) 0xc0ec7c00 (kgdb) print sc->cbl_last->next Cannot access memory at address 0x0. (kgdb) print sc->cbl_last $3 = (struct fxp_cb_tx *) 0x0 (kgdb) up #12 0xc01712cc in ether_output_frame (ifp=0xc0ec7c00, m=0xc0aab700) at ../../net/if_ethersubr.c:399 399 (*ifp->if_start)(ifp); (kgdb) list 394 ifp->if_obytes += m->m_pkthdr.len; 395 if (m->m_flags & M_MCAST) 396 ifp->if_omcasts++; 397 IF_ENQUEUE(&ifp->if_snd, m); 398 if ((ifp->if_flags & IFF_OACTIVE) == 0) 399 (*ifp->if_start)(ifp); 400 splx(s); 401 return (error); 402 } 403 (kgdb) print *ifp->if_start $4 = {void ()} 0xc019740c <fxp_start> (kgdb) print ifp $5 = (struct ifnet *) 0xc0ec7c00 (kgdb) up #13 0xc1123538 in ?? () (kgdb) up #14 0xc1123461 in ?? () (kgdb) up #15 0xc017896d in ng_send_data (hook=0xc10a3fc0, m=0xc0aab700, meta=0x0) at ../../netgraph/ng_base.c:1648 1648 error = (*rcvdata)(hook->peer, m, meta); (kgdb) up #16 0xc017c101 in sendpacket (sp=0xc1108540) at ../../netgraph/ng_pppoe.c:1451 1451 NG_SEND_DATA( error, privp->ethernet_hook, m0, dummy); (kgdb) up #17 0xc017b3b6 in pppoe_start (sp=0xc1108540) at ../../netgraph/ng_pppoe.c:754 754 sendpacket(sp); (kgdb) up #18 0xc017b23c in ng_pppoe_rcvmsg (node=0xc10db6c0, msg=0xc1108480, retaddr=0xc0f07a00 "[4]:", rptr=0xcd5c3e24) at ../../netgraph/ng_pppoe.c:660 660 pppoe_start(sp); (kgdb) up #19 0xc0177e91 in ng_send_msg (here=0xc1108380, msg=0xc1108480, address=0xc0ff5d10 ".:tun1", rptr=0xcd5c3e24) at ../../netgraph/ng_base.c:1180 1180 return error; (kgdb) up #20 0xc017c36c in ngc_send (so=0xcbdc7240, flags=0, m=0xc0a73c00, addr=0xc0ff5f70, control=0x0, p=0xcd58e5a0) at ../../netgraph/ng_socket.c:242 242 error = ng_send_msg(pcbp->sockdata->node, (kgdb) up #21 0xc015397f in sosend (so=0xcbdc7240, addr=0xc0ff5f70, uio=0xcd5c3ecc, top=0xc0a73c00, control=0x0, flags=0, p=0xcd58e5a0) at ../../kern/uipc_socket.c:611 611 error = (*so->so_proto->pr_usrreqs->pru_send)(so, (kgdb) up #22 0xc0157137 in sendit (p=0xcd58e5a0, s=2, mp=0xcd5c3f0c, flags=0) at ../../kern/uipc_syscalls.c:583 583 error = so->so_proto->pr_usrreqs->pru_sosend(so, to, &auio, 0, control, (kgdb) up #23 0xc0157239 in sendto (p=0xcd58e5a0, uap=0xcd5c3f80) at ../../kern/uipc_syscalls.c:636 636 return (sendit(p, uap->s, &msg, uap->flags)); (kgdb) up #24 0xc01f5c5d in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077941483, tf_esi = -1077941490, tf_ebp = -1077940976, tf_isp = -849592364, tf_ebx = 672842952, tf_edx = -1077941492, tf_ecx = -1077941492, tf_eax = 133, tf_trapno = 7, tf_err = 2, tf_eip = 673083780, tf_cs = 31, tf_eflags = 518, tf_esp = -1077941580, tf_ss = 47}) at ../../i386/i386/trap.c:1150 1150 error = (*callp->sy_call)(p, args); (kgdb) up #25 0xc01e355b in Xint0x80_syscall () (kgdb) up #26 0x281aa989 in ?? () (kgdb) up #27 0x807bcfc in ?? () (kgdb) up #28 0x80703eb in ?? () (kgdb) up #29 0x8059efc in ?? () (kgdb) #30 0x804cda1 in ?? () (kgdb) up #31 0x806b4c7 in ?? () (kgdb) up #32 0x806b3a7 in ?? () (kgdb) up #33 0x804b25d in ?? () (kgdb) quit # Script done on Mon Mar 26 02:40:39 2001 [-- Attachment #3 --] Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.3-RC #0: Mon Mar 26 05:06:40 EST 2001 root@:/usr/src/sys/compile/ALICORN Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (701.60-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE> real memory = 268369920 (262080K bytes) avail memory = 258064384 (252016K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel.old" at 0xc0326000. VESA: v3.0, 8192k memory, flags:0x1, mode table:0xc02cd2e2 (1000022) VESA: NVidia Pentium Pro MTRR support enabled md0: Malloc disk npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard IOAPIC #0 intpin 19 -> irq 2 IOAPIC #0 intpin 18 -> irq 5 IOAPIC #0 intpin 17 -> irq 10 pci0: <PCI bus> on pcib0 pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0 IOAPIC #0 intpin 16 -> irq 11 pci1: <PCI bus> on pcib2 pci1: <NVidia Riva Ultra Vanta TNT2 graphics accelerator> at 0.0 irq 11 isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <VIA 82C686 ATA66 controller> port 0x9000-0x900f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: <VIA 83C572 USB controller> at 7.2 irq 2 pci0: <VIA 83C572 USB controller> at 7.3 irq 2 chip2: <VIA 82C686 AC97 Audio> port 0xa400-0xa403,0xa000-0xa003,0x9c00-0x9cff irq 5 at device 7.5 on pci0 atapci1: <Promise ATA100 controller> port 0xbc00-0xbc3f,0xb800-0xb803,0xb400-0xb407,0xb000-0xb003,0xac00-0xac07 mem 0xd9100000-0xd911ffff irq 5 at device 12.0 on pci0 ata2: at 0xac00 on atapci1 ata3: at 0xb400 on atapci1 pci0: <unknown card> (vendor=0x10ec, dev=0x8029) at 15.0 irq 10 fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xc400-0xc41f mem 0xd9000000-0xd90fffff,0xd9120000-0xd9120fff irq 10 at device 18.0 on pci0 fxp0: Ethernet address 00:a0:c9:8f:7f:18 pcib1: <Host to PCI bridge> on motherboard pci2: <PCI bus> on pcib1 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 IP Filter: v3.4.16 initialized. Default = block all, Logging = enabled SMP: AP CPU #1 Launched! ad0: 17206MB <WDC AC418000D> [34960/16/63] at ata0-master UDMA66 ad1: 17206MB <WDC AC418000D> [34960/16/63] at ata0-slave UDMA66 acd0: CDROM <ATAPI CD-ROM DRIVE 40X MAXIMUM> at ata1-master using PIO4 acd1: CD-RW <YAMAHA CRW4001> at ata1-slave using PIO3 Mounting root from ufs:/dev/ad0s1a IP Filter: v3.4.16 unloaded IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging disabled ip_fw_ctl: empty interface name pid 280 (ldconfig), uid 0: exited on signal 11 (core dumped) [-- Attachment #4 --] # $FreeBSD: src/etc/ppp/ppp.conf,v 1.2.2.4 2001/02/22 23:28:42 brian Exp $ ################################################################# default: # Defaults here demand: ident user-ppp VERSION (built COMPILATIONDATE) # Ensure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa1 set speed 57600 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK AT&F OK \\dATDT\\T TIMEOUT 40 CONNECT" set phone ZZZZZZZZZZZZZZZZ set login set authname XXXXXXXXXXXXXXX set authkey YYYYYYYYYYYYYYY set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: XXXXXXXXXXX word: YYYYYYYY" set timeout 0 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR nat enable yes disable dns bigpond: set log CBCP CCP Chat Connect Command IPCP tun Phase Warning Debug LCP sync set device PPPoE:fxp0:bigpond set mru 1492 set mtu 1492 set log Phase tun command # you can add more detailed logging if you wish set dial set login set ifaddr 10.0.0.1/0 10.0.0.2/0 add default HISADDR nat enable yes # if you want to enable nat for your local net set authname XXXXXXXXXXXXXXXXXXXXXXXXXXXX set authkey YYYYYYYYYYYYYYYYYYYYYYYYYYYY
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0103271217010.12238-400000>
