Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2011 07:46:37 +0200
From:      Rick van der Zwet <info@rickvanderzwet.nl>
To:        Lystopad Olexandr <laa@laa.zp.ua>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: wi0 and adhoc
Message-ID:  <BANLkTikJC-Q_KwXnFQiq=Yzdc8bLBiUufA@mail.gmail.com>
In-Reply-To: <20110511084913.GG96423@laa.zp.ua>
References:  <20110511084913.GG96423@laa.zp.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/5/11 Lystopad Olexandr <laa@laa.zp.ua>:
> I have two freebsd boxes with 4.11 (yes, really!). They both
> serve wifi adhoc link (wi0 + pcic0: <Vadem 469>) during many
> years with no problems. One box has died, and I change it to
> new one with 8.0-rel. New box have cbb0 and same wi0 card. So,
> now I have two boxes 4.11 and 8.0. Both with wi0 devices detected.

[snip: ifconfig]

> # ifconfig wlan0 list caps
> drivercaps=3D10301<STA,IBSS,PMGT,MONITOR>
> cryptocaps=3D1<WEP>
>
> pciconf -lvc:
> ...
> cbb0@pci0:2:9:0: =A0 =A0 =A0 =A0class=3D0x060700 card=3D0x14101524 chip=
=3D0x14101524 rev=3D0x01 hdr=3D0x02
> =A0 =A0vendor =A0 =A0 =3D 'ENE Technology Inc'
> =A0 =A0device =A0 =A0 =3D 'CardBus Controller (CB-1420)'
> =A0 =A0class =A0 =A0 =A0=3D bridge
> =A0 =A0subclass =A0 =3D PCI-CardBus
> =A0 =A0cap 01[a0] =3D powerspec 1 =A0supports D0 D1 D2 D3 =A0current D0
> ...
>
> dmesg:
> wi0: <Lucent Technologies WaveLAN/IEEE> at port 0x100-0x13f irq 17 functi=
on 0 config 1 on pccard0
> wi0: [ITHREAD]
> wi0: device timeout
> wi0: device timeout
> wi0: record read mismatch, rid=3Dfd44, got=3Dfc80
> wi0: device timeout
> ....

Interesting it does not seems to be able to fetch the firmware
information of the card. As it would normally list something like:

wi0: <Intersil Prism2.5> mem 0xa0000000-0xa0000fff irq 10 at device 16.0 on=
 pci0
wi0: [ITHREAD]
wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI)
wi0: Intersil Firmware: Primary (1.1.1), Station (1.8.2)
wi0: Ethernet address: 00:02:6f:4a:cd:f5

> my questions are:
> 1. why txpower 0 in 8.0 box?
> 2. why too many ``device timeout'' messages in dmesg on 8.0 box?
> 3. why all pings lost in that link?

Usually the firmware on the card is this biggest issue, causing the
card not getting detected, generating all the device timeout messages.
Running new firmware seems to fix it for a while. ```man 4 wi''' lists
the minimum required versions. Some firmware upgrade hints are listed
over here:
    http://www.wirelessleiden.nl/projects/nodefactory/ticket/23

We had 200+ wi(4) cards running in our Wireless Metropolitan Network
and where running into the same walls as you did, every new release
issued more problems with those wi(4) cards. By the end we desired to
replace them all by ath(4) based cards (active development on the
driver :-)).

Br. /Rick
--=20
http://wirelessleiden.nl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTikJC-Q_KwXnFQiq=Yzdc8bLBiUufA>