Reposting this, as I posted Friday evening when fewer people were probably reading and haven't heard anything. If that's not the reason, then sorry for the noise.
---------- Forwarded message ---------- From: Corey <[email protected]> Date: Fri, Mar 26, 2010 at 8:23 PM Subject: Soekris net5501 locks up with Ralink 2860 miniPCI To: [email protected] I'm having trouble with my Soekris net5501 home router (and now wifi access point) locking up. Prior to installing the wifi I had it running various snapshots for about 6 months, no problem. (My wifi at that time was a separate Linksys WRT54GS running Tomato.) I had wanted to toy with integrating the wifi into the Soekris, so I bought a Sparklan WMIR-200N a/g/n card based on the Ralink 2860+2850 chips. I sat on it for awhile, but recently I loaned my Linksys to some friends in need and decided to grab a January snapshot and give it a go. It worked fine for a week or so, but then I began experiencing hard lockups - no serial console, no ddb, no wired or wifi network access, nothing. It seems to only happen when the wifi is being used, though not necessarily heavily, and at random times -- a couple days to a week between incidents. A power-off of the Soekris is required to reset it, and after that everything is fine, for awhile. I loaded a March 17th snap, hoping for the best, and removed my custom read-only/writes-to-ramdisk filesystem setup in favor of a vanilla install to CF. No luck; it has locked up twice since then. Anyway, I'm looking for suggestions on how to proceed in troubleshooting this. I realize it could be bad hardware -- wifi card I guess, since the Soekris worked fine before that. The card is less than a year old, and unfortunately I don't have another computer with miniPCI to try it in. Thanks in advance for any and all input. If you need any more info let me know. Corey p.s. one weird thing is the way ifconfig says it's in "11a" mode when I have chosen channel 11 (802.11g), and the clients see it as g. The 802.11a never worked very well with this card. # cat /etc/hostname.ral0 inet 172.31.2.1 255.255.255.0 NONE -inet6 media autoselect mediaopt hostap \ nwid soekris chan 11 wpa wpaciphers ccmp wpagroupcipher ccmp \ wpaprotos wpa2 wpapsk \ 0x7a52611d1f4df429133fc3909999949333353233b56d968222366b97788884b3 # ifconfig ral0 ral0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:0e:8e:20:82:9f priority: 4 groups: wlan media: IEEE802.11 autoselect hostap (autoselect mode 11a hostap) status: active ieee80211: nwid soekris chan 11 bssid 00:0e:8e:20:82:9f wpapsk 0x7a52611d1f4df429133fc3909999949333353233b56d968222366b97788884b3 wpaprotos wpa2 wpaakms psk wpaciphers ccmp wpagroupcipher ccmp inet 172.31.2.1 netmask 0xffffff00 broadcast 172.31.2.255 # dmesg OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010 [email protected]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 500 MHz cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX real mem = 536440832 (511MB) avail mem = 511062016 (487MB) 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 0x31 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:c8:b2:74 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:c8:b2:75 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:c8:b2:76 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:c8:b2:77 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:0e:8e:20:82:9f ral0: MAC/BBP RT2860 (rev 0x0102), RF RT2850 (MIMO 2T3R) glxpcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit 3579545Hz timer, watchdog, gpio gpio0 at glxpcib0: 32 pins pciide0 at pci0 dev 20 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <SanDisk SDCFX3-004G> wd0: 4-sector PIO, LBA, 3919MB, 8027712 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> 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 e1c7 netmask ffe7 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 WARNING: / was not properly unmounted # pcidump -vvv Domain /dev/pci0: 0:1:0: AMD Geode LX 0x0000: Vendor ID: 1022 Product ID: 2080 0x0004: Command: 0005 Status ID: 0220 0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 31 0x000c: BIST: 00 Header Type: 80 Latency Timer: f8 Cache Line Size: 08 0x0010: BAR empty (00000000) 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1022 Product ID: 2080 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00 0:1:2: AMD Geode LX Crypto 0x0000: Vendor ID: 1022 Product ID: 2082 0x0004: Command: 0006 Status ID: 0220 0x0008: Class: 10 Subclass: 10 Interface: 00 Revision: 00 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 08 0x0010: BAR mem 32bit addr: 0xa0000000 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1022 Product ID: 2082 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 00 Max Lat: 00 0:6:0: VIA VT6105M RhineIII 0x0000: Vendor ID: 1106 Product ID: 3053 0x0004: Command: 0117 Status ID: 0210 0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 96 0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 08 0x0010: BAR io addr: 0x0000e100 0x0014: BAR mem 32bit addr: 0xa0004000 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1106 Product ID: 0106 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 03 Max Lat: 08 0x0040: Capability 0x01: Power Management 0:7:0: VIA VT6105M RhineIII 0x0000: Vendor ID: 1106 Product ID: 3053 0x0004: Command: 0117 Status ID: 0210 0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 96 0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 08 0x0010: BAR io addr: 0x0000e200 0x0014: BAR mem 32bit addr: 0xa0004100 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1106 Product ID: 0106 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 01 Line: 05 Min Gnt: 03 Max Lat: 08 0x0040: Capability 0x01: Power Management 0:8:0: VIA VT6105M RhineIII 0x0000: Vendor ID: 1106 Product ID: 3053 0x0004: Command: 0117 Status ID: 0210 0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 96 0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 08 0x0010: BAR io addr: 0x0000e300 0x0014: BAR mem 32bit addr: 0xa0004200 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1106 Product ID: 0106 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 01 Line: 09 Min Gnt: 03 Max Lat: 08 0x0040: Capability 0x01: Power Management 0:9:0: VIA VT6105M RhineIII 0x0000: Vendor ID: 1106 Product ID: 3053 0x0004: Command: 0117 Status ID: 0210 0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 96 0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 08 0x0010: BAR io addr: 0x0000e400 0x0014: BAR mem 32bit addr: 0xa0004300 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1106 Product ID: 0106 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 01 Line: 0c Min Gnt: 03 Max Lat: 08 0x0040: Capability 0x01: Power Management 0:14:0: Ralink RT2860 0x0000: Vendor ID: 1814 Product ID: 0601 0x0004: Command: 0117 Status ID: 0410 0x0008: Class: 02 Subclass: 80 Interface: 00 Revision: 00 0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 08 0x0010: BAR mem 32bit addr: 0xa0010000 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00008001 0x002c: Subsystem Vendor ID: 1814 Product ID: 2860 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 02 Max Lat: 04 0x0040: Capability 0x01: Power Management 0:20:0: AMD CS5536 ISA 0x0000: Vendor ID: 1022 Product ID: 2090 0x0004: Command: 0009 Status ID: 02a0 0x0008: Class: 06 Subclass: 01 Interface: 00 Revision: 03 0x000c: BIST: 00 Header Type: 80 Latency Timer: 40 Cache Line Size: 08 0x0010: BAR io addr: 0x00006000 0x0014: BAR io addr: 0x00006100 0x0018: BAR io addr: 0x00006200 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1022 Product ID: 2090 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00 0:20:2: AMD CS5536 IDE 0x0000: Vendor ID: 1022 Product ID: 209a 0x0004: Command: 0005 Status ID: 02a0 0x0008: Class: 01 Subclass: 01 Interface: 80 Revision: 01 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 08 0x0010: BAR empty (00000000) 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR io addr: 0x0000e000 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1022 Product ID: 209a 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00 0:21:0: AMD CS5536 USB 0x0000: Vendor ID: 1022 Product ID: 2094 0x0004: Command: 0006 Status ID: 0230 0x0008: Class: 0c Subclass: 03 Interface: 10 Revision: 02 0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line Size: 08 0x0010: BAR mem 32bit addr: 0xa0020000 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1022 Product ID: 2094 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 01 Line: 0f Min Gnt: 00 Max Lat: 00 0:21:1: AMD CS5536 USB 0x0000: Vendor ID: 1022 Product ID: 2095 0x0004: Command: 0006 Status ID: 0230 0x0008: Class: 0c Subclass: 03 Interface: 20 Revision: 02 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 08 0x0010: BAR mem 32bit addr: 0xa0021000 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1022 Product ID: 2095 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 01 Line: 0f Min Gnt: 00 Max Lat: 00

