I have a Soekris net 5501 and a Linksys WMP600N (ralink RT2860/2850
PCI card).  I was trying to configure the system to serve as an extra
wifi access point, but ended up discovering a way to consistently
cause the system to hang.  I had a similar problem the first time I
tried this back in OpenBSD 4.6, and while this isn't essential, I
would like to figure out what is causing it and fix it if possible.

The easiest way to cause the error is to put ral0 into HostAP mode and
do an FTP transfer across the wifi connection.  But it will happen any
time ral0 is up and in hostap mode.  For example, bringing up vr0 and
vr1 in bridge mode and doing a transfer across the bridge will also
cause the problem.  E.g.:

ifconfig vr0 inet 192.168.1.1/24
ifconfig vr1 up
ifconfig bridge0 create
ifconfig bridge0 add vr1 add vr2
ifconfig bridge0 up

If ral is up and in hostap mode, the system will hang about 5 minutes
into a large file transfer.  Otherwise, things are fine.

I have tried various combinations of options to try and narrow down
the problem but nothing has worked.  I put in a brand new card with
the same chipset to rule out the card being a problem.  I tried with
and without WPA.  I tried in 11a, 11b, and 11g modes.  I've tried (and
failed) to make it happen when ral was configured in something other
than hostap.  The power supply should not be an issue, unless things
have gotten crossed up, I'm using the largest one available from
Soekris (12v 3A DC output, 100-240V .9A AC input, 80-90VA).

My emails to openbsd-misc have gone unanswered and I'm out of ideas at
this point.  If anyone could enlighten me on the source of this
problem or suggest steps to narrow it down, your help would be
appreciated.  FWIW, when I first discovered this problem, I thought it
was a bug in the OpenBSD ral driver.  I still think that might be the
case because between 4.6 and 4.9, the amount of traffic across the
bridge needed to cause the hang increased dramatically.

I couldn't get the console to give me ddb access after the hang, so I
tried sending it a break before and then "c", but when the system
hangs ddb is unresponsive.  I have provided a dmesg though.

Any help you can provide would be most appreciated.

--Max

dmesg:

OpenBSD 4.9 (GENERIC) #671: Wed Mar  2 07:09:00 MST 2011
    [email protected]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 500 M
Hz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
real mem  = 536440832 (511MB)
avail mem = 517533696 (493MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 20/80/26, BIOS32 rev. 0 @ 0xfac40
pcibios0 at bios0: rev 2.0 @ 0xf0000/0x10000
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0xa800
cpu0 at mainbus0: (uniprocessor)
amdmsr0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
io address conflict 0x6100/0x100
io address conflict 0x6200/0x200
pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33
glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES
vr0 at pci0 dev 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, address 00
:00:24:cc:10:7c
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
model 0x0034
vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5, address 00:
00:24:cc:10:7d
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
model 0x0034
vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9, address 00:
00:24:cc:10:7e
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
model 0x0034
vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12, address 00
:00:24:cc:10:7f
ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
model 0x0034
ral0 at pci0 dev 14 function 0 "Ralink RT2860" rev 0x00: irq 10, address 98:fc:1
1:c7:ee:26
ral0: MAC/BBP RT2860 (rev 0x0103), RF RT2850 (MIMO 2T2R)
glxpcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit 3579
545Hz timer, watchdog, gpio
gpio0 at glxpcib0: 32 pins
pciide0 at pci0 dev 20 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 wire
d to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <SanDisk SDCFH2-002G>
wd0: 4-sector PIO, LBA, 1953MB, 4001760 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 15, version 1.0,
legacy support
ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 15
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1
biomask e1c5 netmask ffe5 ttymask ffff
mtrr: K6-family MTRR support (2 registers)
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to