[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with lmc hiccups



/*bangs head against wall*/

Ended up being an MTU issue. The LMC currently only supports 1500 bytes, the Cisco was using 4470. Will the LMC 5200 series hardware support >1500 bytes MTU? I found in the source code where it is limited to 1500, but can this value be changed and kernel recompiled without causing problems? The ISP, in this case, doesn't want to change the MTU down to 1500 for fear of overrunning their buffers.

Dan

Daniel Hamlin wrote:

I just installed a new OpenBSD 3.6-based router and am using the LMC wanPCI/HSSI for connection. The machine is a dual processor box with 1 GB RAM (see dmesg). Every few seconds the machine pauses. For example, typing "dmesg" to get the dmesg, the machine paused for about a second in the middle of printing out the dmesg. Not only does it affect the machine, but Internet traffic pauses for brief periods as well. I have disabled pf in order to eliminate it as a possible problem. The device on the other end of the DS3 link is a Cisco router of some kind (it's our ISP's). I've noticed that the detected line speed as reported by lmccontrol varies between each time that it is run:

lmc0: Lan Media Corporation LMC5200 (HSSI)
       Clock source: External/Line
       Approximate detected rate: 44007424
       HDLC Keepalive:  on
       CRC length: 16

lmc0: Lan Media Corporation LMC5200 (HSSI)
       Clock source: External/Line
       Approximate detected rate: 43487232
       HDLC Keepalive:  on
       CRC length: 16

I've also noticed that snmp reports InDiscards, InErrors, and OutErrors at levels much higher than I think they should be (>10,000 each). The HSSI cable should be fine, as it was in use on the previous router. Unfortunately, if I can't resolve this issue, I'll have to but the old router back in place, but PF works so well I'd hate to have to remove this new router. CRC lengths are the same on both ends of the link.

Any help would be appreciated. Would running the UP kernel be better in this situation?

I have another box identical to this one (minus the HSSI card) on the path to the Internet (it routes the same traffic, but has a different purpose) which does not experience these symptoms. So, I'm guessing the problem has something to do with the LMC card.

Thanks!

Dan Hamlin



/etc/hostname.lmc0:

!/sbin/lmccontrol $if -s -e
inet x.y.z.70 255.255.255.252
dest x.y.z.69



OpenBSD 3.6 (GENERIC.MP) #173: Fri Sep 17 12:52:31 MDT 2004
deraadt_(_at_)_i386_(_dot_)_openbsd_(_dot_)_org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) III CPU family 1133MHz ("GenuineIntel" 686-class) 1.13 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE


real mem = 1073258496 (1048104K)
avail mem = 972664832 (949868K)
using 4278 buffers containing 53764096 bytes (52504K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(e9) BIOS, date 01/21/02, BIOS32 rev. 0 @ 0xfb460
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xded4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde00/208 (11 entries)
pcibios0: PCI Exclusive IRQs: 10 11 12
pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C596A ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000
mainbus0: Intel MP Specification (Version 1.4) (OEM00000 PROD00000000)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 132 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Pentium(R) III CPU family 1133MHz ("GenuineIntel" 686-class) 1.13 GHz
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV
mainbus0: bus 0 is type PCI mainbus0: bus 1 is type PCI mainbus0: bus 2 is type ISA ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT82C691 PCI" rev 0xc4
ppb0 at pci0 dev 1 function 0 "VIA VT82C598 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci0 dev 6 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "VIA VT82C686 ISA" rev 0x40
pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100, channel 0 configured to compatibility, channel 1
configured to compatibility
wd0 at pciide0 channel 0 drive 0: <WDC WD400BB-00DEA0>
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <SONY, CD-ROM CDU5211, YYS7> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x1a: apic 2 int 12 (irq 12)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 7 function 3 "VIA VT83C572 USB" rev 0x1a: apic 2 int 12 (irq 12)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
viaenv0 at pci0 dev 7 function 4 "VIA VT82C686 SMBus" rev 0x40
fxp0 at pci0 dev 13 function 0 "Intel 82557" rev 0x08: apic 2 int 10 (irq 10), address 00:e0:81:21:b1:6c
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
fxp1 at pci0 dev 14 function 0 "Intel 82557" rev 0x08: apic 2 int 11 (irq 11), address 00:e0:81:21:b1:6d
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 4
lmc0 at pci0 dev 16 function 0 "DEC 21140" rev 0x22: HSSI
lmc0: clock external
lmc0: pass 2.2, serial 00:60:99:00:27:ba, apic 2 int 11 (irq 11)
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 0 netmask 0 ttymask 0
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302



Visit your host, monkey.org