Did you put this atheros card in one week ago? :)

ath0 at pci0 dev 16 function 0 "Atheros AR5212" rev 0x01: irq 11
ath0: mac 80.9 phy 4.3 radio 3.6, 802.11a/b/g, FCC1A, address

3.7 would crash on ath0 with AR5212 in hostap mode every six hours or so. Your 
watchdog does an excellent job, otherwise your board would just freeze.

Not sure if this is an ath problem or a card-specific problem, but later 
snapshots (june) made it worse: the system would freeze when you'd do ifconfig 
up - probably due to the gpio support that, as you can see, isn't here yet in 
this dmesg.

Your best chance is to check out the latest snapshots to see if the problem is 
fixed. I reported it a while ago, but didn't check back. I just replaced the 
atheros card by an old prism card and that one works 24/7.






Olivier Mehani wrote:

On Tue, 23 Aug 2005 15:21:53 +0200
Dimitri Georganas <[EMAIL PROTECTED]> wrote:

I'm facing a strange problem (started a week or so ago):
a dmesg may be helpful...

Yes, I realised I forgot to include it just after posting, sorry...

Anyway, it confirms that this is the watchdog which triggered the
reset, but I still don't know why...

Full dmesg follows:

OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005
   [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  = 66691072 (65128K)
avail mem = 53448704 (52196K)
using 839 buffers containing 3436544 bytes (3356K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 20/41/22, 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 #1 is the last bus
bios0: ROM list: 0xc8000/0x9000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
elansc0 at pci0 dev 0 function 0 "AMD ElanSC520 PCI" rev 0x00: product
0 steppin g 1.1, CPU clock 100MHz, reset 8<WDT>
elansc0: WARNING: LAST RESET DUE TO WATCHDOG EXPIRATION!
gpio0 at elansc0: 32 pins
cbb0 at pci0 dev 9 function 0 "Texas Instruments PCI1410 CardBus" rev
0x02: irq 10
ath0 at pci0 dev 16 function 0 "Atheros AR5212" rev 0x01: irq 11
ath0: mac 80.9 phy 4.3 radio 3.6, 802.11a/b/g, FCC1A, address
00:02:6f:21:ea:79 gpio at ath0 not configured
sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 5, ad dress 00:00:24:c4:22:5c
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 19 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 9, ad dress 00:00:24:c4:22:5d
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0 cacheline 0x10, lattimer 0x3f
pcmcia0 at cardslot0
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: <Hitachi XX.V.3.4.0.0>
wd0: 1-sector PIO, LBA, 488MB, 1000944 sectors
wd0(wdc0:0:0): using BIOS timings
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask f5c5 netmask ffe5 ttymask ffe7
pctr: no performance counters in CPU
rtw0 at cardbus0 dev 0 function 0 irq 10
rtw0: ver F, radio SA2400A, amp SA2411, address 00:0f:3d:cf:cb:e8
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted

And, as it may help too, my watchdog script:

#!/bin/sh
echo "starting watchdog..."
sysctl kern.watchdog.auto=0 > /dev/null while : ; do
       sysctl kern.watchdog.period=10 > /dev/null
       sleep 8
done

Reply via email to