On Mon, Nov 26, 2012 at 10:45:16AM +0100, Alexander Hall wrote: > On 11/26/12 09:44, Jeremie Le Hen wrote: > > Hello, > > > > I have a Soekris net5501 in which I put a PCI Ralink wireless adapter. > > > > For months, I haven't used the wireless adapter -- it was using Ethernet > > -- at all and it worked like a charm (uptime > 100 days). For a few > > days, I have used it as an access point but unfortunately I get very > > frequent hard locks (even the serial console is unresponsive). > > > > I'm looking for a way to debug this. > > > > Here is the relevant device: > > > > 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/0x00010000 > > 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: 17f9 Product ID: 0023 > > 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 > > > > I'm clueless how to troubleshoot the problem. Do you have any hints > > about what could cause a general dead lock in the system ? Locked in a > > high SPL level? > > First thing I'd look at is if the power supply is big enough. Since you > didn't supply a dmesg, we can only guess what's in there.
Here it is! How do you know if there is a power problem? If it happens there isn't, do you have any idea how I can track down what the problem is? Thanks. OpenBSD 5.2 (GENERIC) #278: Wed Aug 1 10:04:16 MDT 2012 dera...@i386.openbsd.org:/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,MMXX,3DNOW2,3DNOW real mem = 536408064 (511MB) avail mem = 516780032 (492MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 20/71/05, 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:c9:29:78 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:c9:29:79 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:c9:29:7a 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:c9:29:7b 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:14:5c:57 ral0: MAC/BBP RT2860 (rev 0x0101), RF RT2820 (MIMO 2T3R) hifn0 at pci0 dev 17 function 0 "Hifn 7955/7954" rev 0x00: LZS 3DES ARC4 MD5 SHA1 RNG AES PK, 32KB dram, irq 15 glxpcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit 3579545Hz timer, watchdog, gpio, i2c gpio0 at glxpcib0: 32 pins iic0 at glxpcib0 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-2048> 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 7, version 1.0, legacy support ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 7 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 mtrr: K6-family MTRR support (2 registers) umass0 at uhub0 port 1 configuration 1 interface 0 "TDK LoR Trans-It Drive" rev 2.00/1.10 addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: <TDK LoR, Trans-It Drive, PMAP> SCSI0 0/direct removable serial.1d0d021207870A11009E sd0: 3812MB, 512 bytes/sector, 7806976 sectors vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets root on wd0a swap on wd0b dump on wd0b -- Jeremie Le Hen Scientists say the world is made up of Protons, Neutrons and Electrons. They forgot to mention Morons.