From owner-freebsd-drivers@FreeBSD.ORG Mon Apr 14 10:07:36 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C0FE106564A for ; Mon, 14 Apr 2008 10:07:36 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 22ABE8FC28 for ; Mon, 14 Apr 2008 10:07:35 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by ug-out-1314.google.com with SMTP id y2so450056uge.37 for ; Mon, 14 Apr 2008 03:07:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; bh=jhyPHy8+RGKhFzvU+h41HRo/1nEFPUn61It/vVDfUuA=; b=HZpOhtd+aKo09122oR0F6HvxaVRPU5RHpxg2IRxGMNlCgGevoZOdN/jpqHkl3FdLKsGxt+g6w5cxsHYXfP5kCoBK8iA9/MM0Q4iyvQ5a2x81cTacNDPjPYWS7axKQWnqroES05FIgiJuA6u04HHH9BFsmDj51QS6Ga+FOUSzUSM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=xeHSzBM1QBrEZHu6sqb98pLjm/5JxUb9yfr/qpHI+FmJnGf2IpMZwlV14x4bucc+/7hWpek4ikGA4DTPPtauDCpOIBhtsWrW23xPKqE2aWFv+RTqoYdgs2QthrieN5xxZq4zvPLT69bMfCD205q5ojJ60k4AMf5HKCrTcNu0rig= Received: by 10.66.217.20 with SMTP id p20mr3651398ugg.51.1208166032551; Mon, 14 Apr 2008 02:40:32 -0700 (PDT) Received: from ?127.0.0.1? ( [217.206.187.80]) by mx.google.com with ESMTPS id j8sm5757023gvb.10.2008.04.14.02.40.30 (version=SSLv3 cipher=RC4-MD5); Mon, 14 Apr 2008 02:40:31 -0700 (PDT) From: Tom Evans To: paul pang In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-pphaVDAmARbSID5nj17U" Date: Mon, 14 Apr 2008 10:40:28 +0100 Message-Id: <1208166028.8904.27.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port Cc: freebsd-drivers@freebsd.org Subject: Re: wpi make error* X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2008 10:07:36 -0000 --=-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 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: 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. >=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--