Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2008 10:40:28 +0100
From:      Tom Evans <tevans.uk@googlemail.com>
To:        paul pang <gpmusketeer@hotmail.com>
Cc:        freebsd-drivers@freebsd.org
Subject:   Re: wpi make error*
Message-ID:  <1208166028.8904.27.camel@localhost>
In-Reply-To: <BAY109-W24FE5E16672E916EEC183FBBE90@phx.gbl>
References:  <BAY109-W24FE5E16672E916EEC183FBBE90@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-pphaVDAmARbSID5nj17U
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2008-04-13 at 10:32 +0800, paul pang wrote:
> I have 20071102-freebsd-wpi.tar.gz install  successfully but this is the =
ifconfig message

I wouldn't use some ancient snapshot of wpi. There have been significant
reliability and performance improvements made to the driver in
CURRENT/RELENG_7 . If you are running 7.0, update to RELENG_7.

>=20
> wpi0: flags=3D8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         ether 00:13:02:bf:92:f8
>         media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>         status: no carrier
>         ssid "" channel 1 (2412 Mhz 11b)
>         authmode OPEN privacy OFF txpower 50 bmiss 7 scanvalid 60 bintval=
 0
>=20
> Note that: no carrier.
>=20
> and dmesg stated
>=20
> wpi0: <Intel(R) PRO/Wireless 3945ABG> mem 0xd8000000-0xd8000fff irq 17 at=
 device 0.0 on pci3
> bus_dmamem_alloc failed to align memory properly.
>   ................
> bus_dmamem_alloc failed to align memory properly.
<snip>
>=20
> While i have this in my loader.conf=20
>=20
> if_ath_load["YES"
> if_wpi_load=3D"YES"
> wlan_load=3D"YES"
> wlan_wep_load=3D"YES"
> wlan_ccmp_load=3D"YES"
> wlan_tkip_load=3D"YES"
> legal.intel_wpi.license_ack=3D1
> wpifw_load=3D"YES"
>=20
> but why it still ask me to set the license?
>=20
>=20

The bus_dmamem_alloc messages are harmless. Have you rebooted since
adding legal.intel_wpi.license_ack=3D1 to boot loader.conf? Is it in your
kernel environment?=20
  kenv | grep wpi

If it isn't, unload the modules, and do
  kenv legal.intel_wpi.license_ack=3D1

I'd also strongly recommend moving to a version that has wpi by default
- ie RELENG_7 - and re-report any problems you have. It is quite likely
that it will work much more smoothly with these fixes, which are on
RELENG_7 and not RELENG_7_0.

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/dev/wpi          if_wpi.c if_wpireg.h if_wpivar.h=20
  Log:
  MFC if_wpi.c r1.9-10, if_wpireg.h r1.3, if_wpivar.h r1.2
 =20
  Update wpi(4) with stability fixes
  - remove second taskqueue
  - busdma 16k alignment workaround
  - use busdma instead of external mbuf storage on Rx
  - locking fixes
  - net80211 state change fixes
  - improve scanning reliability
  - improve radio hw switch interaction
  - consolidate callouts

Cheers

Tom


--=-pphaVDAmARbSID5nj17U
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBIAyaIlcRvFfyds/cRAiTTAKCsuqRU5b9bkzW53l9gGNtHVUNhoACfYIl1
DASsANrx7giNivXxFu8Aa2c=
=zfvN
-----END PGP SIGNATURE-----

--=-pphaVDAmARbSID5nj17U--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1208166028.8904.27.camel>