FreeBSD 5.2.1p4, Atheros/Netgear WG511T, Sony PCG-GRX570 issues.

George Hartzell hartzell at kestrel.alerce.com
Fri Apr 2 10:24:02 PST 2004


Hi,

I have a Sony PCG-GRX570 running FreeBSD 5.2.1p4 and an old graphite
Apple Airport access point (w/ shiny new capacitors!).  The sony
hw.pci.allow_unsupported_io_range="1" to boot, and I also have
hint.spic.0.at="isa" and hint.spic.0.port="0x10a0" in the device.hints
file so that the little wheely thing works.

I just got a Netgear WG511T Cardbus card and have run across a couple
of problems.  Before I file a pr, I'd like to check that the problems
not upstream of my keyboard somewhere....

1) If I boot the machine w/out the card inserted, then insert the
   card, it doesn't work (no blinkin' lights) and I see this in
   /var/log/messages:

   Apr  2 10:06:40 kong kernel: cbb0: CardBus card activation failed

   If I pop the card out, and reinsert it, voila:

   Apr  2 10:07:43 kong kernel: start (88000000) < sc->membase (e8200000)
   Apr  2 10:07:44 kong kernel: end (ffffffff) > sc->memlimit (e82fffff)
   Apr  2 10:07:44 kong kernel: start (88000000) < sc->membase (e8200000)
   Apr  2 10:07:44 kong kernel: end (ffffffff) > sc->memlimit (e82fffff)
   Apr  2 10:07:44 kong kernel: ath0: <Atheros 5212> mem 0x88010000-0x8801ffff irq 9 at device 0.0 on cardbus0
   Apr  2 10:07:44 kong kernel: start (88010000) < sc->membase (e8200000)
   Apr  2 10:07:44 kong kernel: ath0: mac 5.6 phy 4.1 5ghz radio 4.6
   Apr  2 10:07:44 kong kernel: ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
   Apr  2 10:07:44 kong kernel: ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
   Apr  2 10:07:44 kong kernel: ath0: 802.11 address: 00:09:5b:c4:10:f3

   and things seem to work ok.

2) If i try to run dstumbler (from ports, cvsup'd yesterday), as

   sudo dstumbler ath0

   it starts up, and after several seconds says in red in the message area:

    error: unable to ioctl device socket: Operation now in progress

   If i pop the card out, instead of the 'detached' message I see
   normally, it says:

   Apr  2 10:15:14 kong kernel: ath0: ath_chan_set: unable to reset channel 4 (2427 Mhz)
   Apr  2 10:15:16 kong kernel: ath0: detached

   Reinserting the card still seems to work.

   Is the 5.2.1 atheros driver supposed to support dstumbler?

Any helpful comments would be appreciated.

Thanks,

g.



More information about the freebsd-current mailing list