Date: Mon, 12 Apr 1999 13:04:54 -0400 (EDT) From: Larry Lile <lile@stdio.com> To: ip@mcc.ac.uk Cc: current@FreeBSD.ORG Subject: Re: Bad, reliable crash: Julian's "oltr" stuff & ARP Message-ID: <Pine.BSF.4.05.9904121256170.13257-100000@heathers.stdio.com> In-Reply-To: <199904121605.RAA47641@albatross.mcc.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Just so Julian doesn't get blamed here, I was the one who wrote
the Olicom "oltr" driver and made the arp changes. Julian was
just nice enough to commit them.
The only thing I can figure, as I can't tell exactly what caused
it to punt, is that you received a token-ring arp packet that is
somewhat damaged. Is there a token-ring<->ethernet bridge on
your network?
What was it doing in in_arpinput when it panic'd?
Larry Lile
lile@stdio.com
On Mon, 12 Apr 1999, Ian Pallfreeman wrote:
> My -current trashbox is having some pretty severe problems which seem to
> stem from the token ring additions on March 10th. The box in question
> wouldn't stay up for more than a few minutes.
>
> ``savecore'' isn't working for me right now, but I've managed to delete a
> single line of code which lets the box stay up long enough for me to do a
> make world and get to grips with all this EGCS, uh, fun. This isn't a true
> solution, obviously.
>
> The ethernet segment to which the box is connected has lots of non-IP traffic
> (DECNET, Novell, etc), but I didn't expect to find token ring stuff on it. :-)
>
> Ian.
>
> *** if_ether.c.orig Mon Apr 12 16:11:12 1999
> --- if_ether.c Mon Apr 12 16:13:22 1999
> ***************
> *** 435,442 ****
> panic("arpintr");
> if (m->m_len >= sizeof(struct arphdr) &&
> (ar = mtod(m, struct arphdr *)) &&
> ! (ntohs(ar->ar_hrd) == ARPHRD_ETHER ||
> ! ntohs(ar->ar_hrd) == ARPHRD_IEEE802) &&
> m->m_len >=
> sizeof(struct arphdr) + 2 * ar->ar_hln + 2 * ar->ar_pln)
>
> --- 435,441 ----
> panic("arpintr");
> if (m->m_len >= sizeof(struct arphdr) &&
> (ar = mtod(m, struct arphdr *)) &&
> ! ntohs(ar->ar_hrd) == ARPHRD_ETHER &&
> m->m_len >=
> sizeof(struct arphdr) + 2 * ar->ar_hln + 2 * ar->ar_pln)
>
>
> Fatal trap 12: page fault while in kernel mode
> fault virtual address = 0x8
> fault code = supervisor read, page not present
> instruction pointer = 0x8:0xc017e590
> stack pointer = 0x10:0xc02248d8
> frame pointer = 0x10:0xc0224928
> code segment = base 0x0, limit 0xfffff, type 0x1b
> = DPL 0, pres type 0x1b
> = DPL 0, press 1, def32 1, gran 1
> processor eflags = interrupt enabled, resume, IOPL = 0
> current process = Idle
> interrupt mask =
> kernel: type 12 trap, code=0
> Stopped at in_arpinput+0x264: cmpb $0,0x8(%ecx)
> db> tr
> in_arpinput(c0744100,0,0,c01ee601,c01ee5a3) at in_arpinput+0x264
> arpintr(c01ee5a3,80000000,10,10,0) at arpintr+0xb4
> swi_net_next() at swi_net_next
> db> show registers
> cs 0x8
> ds 0x7e8b0010
> es 0x10
> ss 0x10
> eax 0x600
> ecx 0
> edx 0
> ebx 0xc0a02490
> esp 0xc02255ec __set_pcidevice_set_sym_ide_pci_device+0x2fc0
> ebp 0xc022563c __set_pcidevice_set_sym_ide_pci_device+0x3010
> esi 0xc073c820
> edi 0xc0a2d600
> eip 0xc017e3d4 in_arpinput+0x264
> efl 0x10246
> in_arpinput+0x264: cmpb $0,0x8(%ecx)
> db> panic
>
> Copyright (c) 1992-1999 The FreeBSD Project.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> The Regents of the University of California. All rights reserved.
> FreeBSD 4.0-CURRENT #1: Mon Apr 12 16:13:32 BST 1999
> ip@trauma:/usr/src/sys/compile/TRAUMA
> Timecounter "i8254" frequency 1193182 Hz
> Timecounter "TSC" frequency 400910920 Hz
> CPU: Pentium II/Xeon/Celeron (400.91-MHz 686-class CPU)
> Origin = "GenuineIntel" Id = 0x652 Stepping=2
> Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
> real memory = 134217728 (131072K bytes)
> avail memory = 127995904 (124996K bytes)
> Preloaded elf kernel "kernel" at 0xc0291000.
> Pentium Pro MTRR support enabled, default memory type is uncacheable
> ccd0: Concatenated disk driver
> Probing for devices on PCI bus 0:
> chip0: <Intel 82443BX host to PCI bridge> rev 0x02 on pci0.0.0
> chip1: <Intel 82443BX host to AGP bridge> rev 0x02 on pci0.1.0
> chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.7.0
> ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
> chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.7.3
> ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x00 int a irq 10 on pci0.15.0
> ahc0: aic7880 Single Channel A, SCSI Id=7, 16/255 SCBs
> fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x05 int a irq 12 on pci0.17.0
> fxp0: Ethernet address 00:90:27:10:2b:ea
> Probing for devices on PCI bus 1:
> vga0: <S3 model 8904 graphics accelerator> rev 0x01 int a irq 255 on pci1.0.0
> Probing for devices on the ISA bus:
> sc0 on isa
> sc0: VGA color <16 virtual consoles, flags=0x0>
> atkbdc0 at 0x60-0x6f on motherboard
> atkbd0 irq 1 on isa
> sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
> sio0: type 16550A, console
> sio1 at 0x2f8-0x2ff irq 3 on isa
> sio1: type 16550A
> fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: 1.44MB 3.5in
> wdc0 at 0x1f0-0x1f7 irq 14 on isa
> wdc0: unit 0 (wd0): <Maxtor 90432D2>
> wd0: 4121MB (8440992 sectors), 8374 cyls, 16 heads, 63 S/T, 512 B/S
> wdc1 at 0x170-0x177 irq 15 on isa
> wdc1: unit 0 (wd2): <QUANTUM FIREBALL_TM3840A>
> wd2: 3681MB (7539840 sectors), 7480 cyls, 16 heads, 63 S/T, 512 B/S
> wdc1: unit 1 (wd3): <QUANTUM FIREBALL_TM3840A>
> wd3: 3681MB (7539840 sectors), 7480 cyls, 16 heads, 63 S/T, 512 B/S
> ppc0 at 0x378 irq 7 on isa
> ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
> plip0: <PLIP network interface> on ppbus 0
> ppi0: <generic parallel i/o> on ppbus 0
> vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
> npx0 on motherboard
> npx0: INT 16 interface
> Waiting 2 seconds for SCSI devices to settle
> changing rootda1 at ahc0 bus 0 target 1 lun 0
> da1: <COMPAQ DPES-31080 S70E> Fixed Direct Access SCSI-2 device
> da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
> da1: 1001MB (2051000 512 byte sectors: 64H 32S/T 1001C)
> da0 at ahc0 bus 0 target 0 lun 0
> da0: <SEAGATE ST31230N 0290> Fixed Direct Access SCSI-2 device
> da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
> da0: 1010MB (2069860 512 byte sectors: 64H 32S/T 1010C)
> device to wd0s1a
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9904121256170.13257-100000>
