Date: Sat, 17 Mar 2001 17:33:04 +0100 (MET) From: Jean-Francois Dockes <jean-francois.dockes@wanadoo.fr> To: freebsd-stable@FreeBSD.ORG Subject: 4.3beta pppoe + 3c905b -> fatal trap 12 Message-ID: <15027.37312.117097.518069@hautmedoc.dockes.com>
next in thread | raw e-mail | index | archive | help
I am using user-mode ppp with pppoe.
It had been running on a DEC based board (de driver) for a few months
without trouble.
Yesterday I changed the board for a 3COM 3C905B-TX -> crash
I then cvsupped the system to 4.3beta (March 16), no change, the machine
now reliably crashes each time ppp starts.
Here follow the gdb backtrace and the boot messages, which I hope will
make sense for someone.
I can perform more testing or gdb incantations if something else is needed.
Regards,
J.F. Dockes
IdlePTD 3727360
initial pcb at 2f5dc0
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x4
fault code = supervisor write, page not present
instruction pointer = 0x8:0xc0219b5f
stack pointer = 0x10:0xcc277c98
frame pointer = 0x10:0xcc277ca8
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 = 389 (ppp)
interrupt mask = net
trap number = 12
panic: page fault
(kgdb) bt
#0 dumpsys () at ../../kern/kern_shutdown.c:469
#1 0xc015d813 in boot (howto=256) at ../../kern/kern_shutdown.c:309
#2 0xc015db90 in poweroff_wait (junk=0xc02c5f4f, howto=-869906560)
at ../../kern/kern_shutdown.c:556
#3 0xc0282849 in trap_fatal (frame=0xcc277c58, eva=4)
at ../../i386/i386/trap.c:951
#4 0xc0282521 in trap_pfault (frame=0xcc277c58, usermode=0, eva=4)
at ../../i386/i386/trap.c:844
#5 0xc02820db in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = 0,
tf_esi = -1056555008, tf_ebp = -869827416, tf_isp = -869827452,
tf_ebx = 0, tf_edx = -1064305664, tf_ecx = 0, tf_eax = 0,
tf_trapno = 12, tf_err = 2, tf_eip = -1071539361, tf_cs = 8,
tf_eflags = 66118, tf_esp = 0, tf_ss = -1056555008})
at ../../i386/i386/trap.c:443
#6 0xc0219b5f in xl_encap_90xB (sc=0xc1064000, c=0xc1064734,
m_head=0xc08ffc00) at ../../pci/if_xl.c:2341
#7 0xc0219c55 in xl_start_90xB (ifp=0xc1064000) at ../../pci/if_xl.c:2393
#8 0xc019f514 in ether_output_frame (ifp=0xc1064000, m=0xc08ffc00)
at ../../net/if_ethersubr.c:399
#9 0xc01a8cf4 in ng_ether_rcv_lower (node=0xc106e080, m=0xc08ffc00, meta=0x0)
at ../../netgraph/ng_ether.c:629
#10 0xc01a8c1d in ng_ether_rcvdata (hook=0xc11b4a00, m=0xc08ffc00, meta=0x0)
at ../../netgraph/ng_ether.c:595
#11 0xc01a64f1 in ng_send_data (hook=0xc11b49c0, m=0xc08ffc00, meta=0x0)
at ../../netgraph/ng_base.c:1648
#12 0xc01aa7b1 in sendpacket (sp=0xc11c82c0) at ../../netgraph/ng_pppoe.c:1451
#13 0xc01a9a66 in pppoe_start (sp=0xc11c82c0) at ../../netgraph/ng_pppoe.c:754
#14 0xc01a98ec in ng_pppoe_rcvmsg (node=0xc1203280, msg=0xc11c8800,
retaddr=0xc11b4b80 "[4]:", rptr=0xcc277e28)
at ../../netgraph/ng_pppoe.c:660
#15 0xc01a5a15 in ng_send_msg (here=0xc11c87c0, msg=0xc11c8800,
address=0xc1078940 ".:tun0", rptr=0xcc277e28)
at ../../netgraph/ng_base.c:1180
#16 0xc01aaa1c in ngc_send (so=0xcac99900, flags=0, m=0xc0900c00,
addr=0xc1078920, control=0x0, p=0xcc264780)
at ../../netgraph/ng_socket.c:242
#17 0xc017a937 in sosend (so=0xcac99900, addr=0xc1078920, uio=0xcc277ed0,
top=0xc0900c00, control=0x0, flags=0, p=0xcc264780)
at ../../kern/uipc_socket.c:611
#18 0xc017e0eb in sendit (p=0xcc264780, s=0, mp=0xcc277f10, flags=0)
at ../../kern/uipc_syscalls.c:583
#19 0xc017e1ed in sendto (p=0xcc264780, uap=0xcc277f80)
at ../../kern/uipc_syscalls.c:636
#20 0xc0282af5 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47,
tf_edi = -1077941511, tf_esi = -1077941518, tf_ebp = -1077941004,
tf_isp = -869826604, tf_ebx = 672842952, tf_edx = -1077941520,
tf_ecx = -1077941520, tf_eax = 133, tf_trapno = 12, tf_err = 2,
tf_eip = 673083660, tf_cs = 31, tf_eflags = 518, tf_esp = -1077941608,
tf_ss = 47}) at ../../i386/i386/trap.c:1150
#21 0xc0274ca5 in Xint0x80_syscall ()
#22 0x281aa989 in ?? ()
#23 0x807bcfc in ?? ()
#24 0x80703eb in ?? ()
#25 0x8059efc in ?? ()
#26 0x804cda1 in ?? ()
#27 0x806b4c7 in ?? ()
#28 0x806b3a7 in ?? ()
#29 0x804b25d in ?? ()
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-BETA #0: Sat Mar 17 16:04:47 MET 2001
dockes@hautmedoc:/u/src/sys/compile/HAUTMEDOC
Timecounter "i8254" frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (451.02-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x672 Stepping = 2
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory = 201261056 (196544K bytes)
avail memory = 192184320 (187680K bytes)
Preloaded elf kernel "kernel" at 0xc036f000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc036f09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <SiS 6326 SVGA controller> at 0.0
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd000-0xd01f irq 11 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at device 7.3 on pci0
de0: <Digital 21140A Fast Ethernet> port 0xd400-0xd47f mem 0xe9800000-0xe980007f irq 10 at device 9.0 on pci0
de0: 21140A [10-100Mb/s] pass 2.2
de0: address 00:80:c8:4f:e7:2c
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xd800-0xd8ff mem 0xe9802000-0xe9802fff irq 5 at device 10.0 on pci0
aic7880: Single Channel A, SCSI Id=7, 16/255 SCBs
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xdc00-0xdc7f mem 0xe9801000-0xe980107f irq 9 at device 11.0 on pci0
xl0: Ethernet address: 00:50:da:43:a5:c3
miibus0: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <unknown card> (vendor=0x13f6, dev=0x0111) at 12.0 irq 11
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
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
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
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: <HEWLETT-PACKARD DESKJET 660C> MLC,PCL,PML
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
IP packet filtering initialized, divert disabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default
ad0: 6179MB <Maxtor 90648D3> [12556/16/63] at ata0-master UDMA33
ata0-slave: DMA limited to UDMA33, non-ATA66 compliant cable
ad1: 6187MB <FUJITSU MPD3064AT> [13410/15/63] at ata0-slave UDMA33
acd0: DVD-ROM <CREATIVEDVD5241E> at ata1-master using PIO4
Waiting 10 seconds for SCSI devices to settle
de0: enabling Full Duplex 100baseTX port
Mounting root from ufs:/dev/ad0s2a
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15027.37312.117097.518069>
