On Feb 13, 2010, at 1:02 PM, Matt Bettinger wrote:
Had same issues with net 5501-70. I use a psu from a linksys wifi
ap and it is rock solid now.
Sent from my iPhone
On Feb 13, 2010, at 11:05 AM, daniel <[email protected]> wrote:
I've been using a Net 4501 for several years now (since at least
OpenBSD 3.8) with no problems. I've recently added a mini-PCI
Wistron CM9 (ath 5212). Very soon after bringing the interface up,
I get all sorts of channel reset and wake up errors.
Before I start going crazy with posting all sorts of diagnostic
info, I'm wondering if the first thing I should look at is my power
supply. I've used a 12V 1.2A since the beginning, but have not ever
used the PCI or mini-PCI slots.
Could my Net 4501, with the addition of the mini-PCI card, now be
starved for electrons?
Daniel
Well, I finally dug out a couple of other power supplies (5V 2.5A and
12V 1.5A) and I'm still having problems. I've tried a few things with
no luck. Most of the time the Soekris eventually hangs, sometimes with
no messages and other times with the following repeating on the
console with the Soekris hung (until I reboot it):
ath0: ath_reset: unable to reset hardware; hal status 3534594048
ar5k_ar5212_nic_wakeup: failed to resume the AR5212 (again)
ath0: ath_reset: unable to reset hardware; hal status 3534594048
ar5k_ar5212_nic_wakeup: failed to resume the AR5212 (again)
etc...
Here's what I've tried:
/etc/hostname.ath0 (taken directly from ath(4)):
inet 192.168.1.1 255.255.255.0 NONE media autoselect mediaopt
hostap nwid my_net chan 11
After reboot or "sh /etc/netstart ath0", ifconfig ath0 shows:
ath0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST>
mtu 1500
lladdr 00:0b:6b:de:1d:a1
priority: 4
groups: wlan
media: IEEE802.11 autoselect hostap (autoselect mode 11a
hostap)
status: active
ieee80211: nwid my_net chan 40 bssid 00:0b:6b:de:1d:a1
inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::20b:6bff:fede:1da1%ath0 prefixlen 64 scopeid 0x1
My macbook pro can see "my_net" and I have dhcpd serving on ath0 but
never get an IP. /var/log/messages shows:
Feb 21 23:06:10 foo /bsd: ath0: ath_chan_set: unable to reset
channel 11 (2462 MHz)
I've also tried "ifconfig ath0 scan". It seems to see nothing and I'm in
an urban area where I generally see 10 to 12 APs.
I'm not sure what to do next to debug this. Any help will be greatly
appreciated. dmesg is below.
Thanks,
Daniel
OpenBSD 4.6 (GENERIC) #58: Thu Jul 9 21:24:42 MDT 2009
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 ("AuthenticAMD" 486-class)
cpu0: FPU
real mem = 66678784 (63MB)
avail mem = 54636544 (52MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 20/80/03, BIOS32 rev. 0 @ 0xf7840
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
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
elansc0 at pci0 dev 0 function 0 "AMD ElanSC520 PCI" rev 0x00: product
0 steppin
g 1.1, CPU clock 133MHz, reset 0
gpio0 at elansc0: 32 pins
ath0 at pci0 dev 16 function 0 "Atheros AR5212" rev 0x01: irq 10
ath0: AR5213A 5.9 phy 4.3 rf5112a 3.6, FCC2A*, address 00:0b:6b:de:1d:a1
sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00, DP83815D:
irq 11, a
ddress 00:00:24:c1:96:70
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 19 function 0 "NS DP83815 10/100" rev 0x00, DP83815D:
irq 5, ad
dress 00:00:24:c1:96:71
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 20 function 0 "NS DP83815 10/100" rev 0x00, DP83815D:
irq 9, ad
dress 00:00:24:c1:96:72
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
isa0 at mainbus0
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
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: <CF1G133>
wd0: 1-sector PIO, LBA, 991MB, 2030112 sectors
wd0(wdc0:0:0): using BIOS timings
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask f1c5 netmask ffe5 ttymask ffff
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
sis2 at pci0 dev 20 function 0 "NS DP83815 10/100" rev 0x00, DP83815D:
irq 9, ad
dress 00:00:24:c1:96:72
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
isa0 at mainbus0
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
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: <CF1G133>
wd0: 1-sector PIO, LBA, 991MB, 2030112 sectors
wd0(wdc0:0:0): using BIOS timings
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask f1c5 netmask ffe5 ttymask ffff
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted # [ because it keeps hanging ]