I have a Soekris net 5501 and a ral RT2860/2850 PCI card (dmesg
below). B While trying to use the system for an access point, I
discovered a way to consistently cause the system to hang. B (Note:
This is *different* from a similar, now fixed, system hang that I
reported circa 4.6-beta).

To cause the system to hang, put ral0 into HostAP mode, connect a computer
with an FTP server to one of the Ethernet connections, then connect
another computer to the wireless access point and attempt to download
a largish file over FTP. B The system will hang within 15 seconds from
the start of the transfer.

Using FTP is not required, any "heavy" traffic will cause a similar
result, but the hang only occurs when ral is in hostAP mode.

B/c the previous hang I discovered has since been fixed, I do not
think this is a hardware problem. B I'd like to work with someone who
knows more about this to try and pin down the source of the problem so
that it too can be fixed. B If this problem is specific to this ral
model, I have no problems ordering a different, working one and giving
this one to the appropriate developer so that it can be debugged from
there. B Similarly, if there is a concern that this *is* a hardware
problem, I'll be happy to purchase a "known good" ral or similar wifi
card and test it under similar conditions (provided someone can direct
me to one).

Also:
*Using or not using wpa doesn't change anything
*Using 11a or 11g does not change anything
*The power supply is not an issue; I'm using the largest one from
Soekris and have tried half a dozen different ones. B All get the same
hang.
*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". B I get that far, but
when the system hangs ddb is unresponsive.

For reference, the hang from 4.6-beta was a caused by sending traffic
between two of the vr ethernet ports while ral was up and in HostAP
mode. B That hang no longer exists, but if someone wants to look at it
for comparison, my emails are
http://marc.info/?l=openbsd-misc&m=124685949929721&w=2 and
http://marc.info/?l=openbsd-misc&m=124697898624989&w=2

Thank you for any help you can provide.

--Max H. Chiz

Here is the dmesg:
OpenBSD 4.9 (GENERIC) #671: Wed Mar B 2 07:09:00 MST 2011
B  B dera...@i386.openbsd.org:/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 B = 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
00:1e:e
5:e8:ea:c9
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
arp: attempt to add entry for 192.168.1.1 on vr0 by 00:1d:73:de:11:16 on ral0
arp: attempt to add entry for 192.168.1.1 on vr0 by 00:1d:73:de:11:16 on ral0

Reply via email to