I just laid hands on a Netgear WAG311 (as seen in the dmesg below).
The OS installed was i386 GENERIC snapshot 2005-07-12 and during
install I merely gave the ath0 an IP and left the final config until
post install. Lucky choice.

Putting in a hostname.ath0 line just like the example in the man page
for ath as an AP resulted in:
ath0: device timeout
(in the dread white/blue text right after the date output near the end
of the boot messages)
which the manpage says "should not happen" and that the driver "will
reset the hardware and continue".
Not in my case. The system simply responds to nothing short of the
reset button, in terms of getting running again. Key presses echo on
the console screen but nothing there caused any change.

After a long day I only remembered when I came away that I had not set
ddb.console to answer the keyboard trigger. Not that it would be much
help when the card fires off this error (seemingly) randomly if I use a
minimal hostname.ath0 like:

inet 172.16.0.1 255.255.255.0 NONE

and then use ifconfig ath0 to add stuff like mediaopt hostap, chan 7,
nwid foo_net and up in discrete steps per value.

Maybe I hit one of the spooky 5212s?
Maybe there is a hardware prob elsewhere? (but it runs for ages without
ath0 configged.)

I don't have an idea right now but I'm somewhat fragged and too
bamboozled to guess what to try and document next. At this point I need
to see if what I present here is enough clue for somebody to do the
"aha, you have problem x" or otherwise to send me off to do more
digging. Other possibility is whack with cluestick!

BTW: I hope these WAG311s work because they have a Universal PCI format
(5v or 3.3v), come with a low-profile "plank" as well as the standard
height one and have an external antenna on a length of lightweight
co-ax.
It looks like a fit for a Soekris Net-4801 with minor metal nibbling.

Anyway dmesg says:
OpenBSD 3.7-current (GENERIC) #239: Tue Jul 12 10:50:06 MDT 2005
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(TM) CPU 1300MHz ("GenuineIntel" 686-class) 1.31
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F
XSR,SSE
real mem  = 259633152 (253548K)
avail mem = 230080512 (224688K)
using 3194 buffers containing 13082624 bytes (12776K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(63) BIOS, date 02/27/03, BIOS32 rev. 0 @
0xfb560
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf24
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/128 (6 entries)
pcibios0: PCI Exclusive IRQs: 10 11 12
pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C596A ISA" rev
0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xc000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8601 PCI" rev 0x05
ppb0 at pci0 dev 1 function 0 "VIA VT82C601 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Trident CyberBlade i1" rev 0x6a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "VIA VT82C686 ISA" rev 0x40
pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: <ST310212A>
wd0: 32-sector PIO, LBA, 9768MB, 20005650 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <AOPEN, CD-RW CRW3248, 1.10> SCSI0
5/cdrom removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
atapiscsi1 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0: <AOpen, DVD-1648A, 1.07> SCSI0 5/cdrom
removable
cd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x1a: irq 12
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 7 function 3 "VIA VT83C572 USB" rev 0x1a: irq 12
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
viaenv0 at pci0 dev 7 function 4 "VIA VT82C686 SMBus" rev 0x40
ath0 at pci0 dev 9 function 0 "Atheros AR5212" rev 0x01: irq 10
ath0: AR5212 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, FCC1A, address
00:09:5b:c8:7a:af
rl0 at pci0 dev 17 function 0 "Realtek 8139" rev 0x10: irq 11 address
00:01:80:0c:9a:52
rlphy0 at rl0 phy 0: RTL internal phy
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask f365 netmask ff65 ttymask ffe7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

>From the land "down under": Australia.
Do we look <umop apisdn> from up over?

Do NOT CC me - I am subscribed to the list.
Replies to the sender address will fail except from the list-server.

Reply via email to