From owner-freebsd-current@FreeBSD.ORG Thu Jul 21 20:40:47 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93CB916A41F for ; Thu, 21 Jul 2005 20:40:47 +0000 (GMT) (envelope-from minimarmot@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FB3143D46 for ; Thu, 21 Jul 2005 20:40:46 +0000 (GMT) (envelope-from minimarmot@gmail.com) Received: by wproxy.gmail.com with SMTP id 55so94395wri for ; Thu, 21 Jul 2005 13:40:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tz5lV/+NysePe7ehWiU3Kgi7wkLpVEi0dka4q5epcT2fb+WgnfOraCe474IDcG1gFp7hnQKIARJ/sV5Kk1LE0CBnW26UUoO8e2A1HFY0tMxttHQuvFIZwLIwnLjrqlmt1YtNFmie2Jn/zS1fU9T5nEtNWTdX1Rp3aKmsi3heLhw= Received: by 10.54.53.74 with SMTP id b74mr720218wra; Thu, 21 Jul 2005 13:40:26 -0700 (PDT) Received: by 10.54.44.33 with HTTP; Thu, 21 Jul 2005 13:40:26 -0700 (PDT) Message-ID: <47d0403c050721134069ae027c@mail.gmail.com> Date: Thu, 21 Jul 2005 20:40:26 +0000 From: Ben Kaduk To: freebsd-current@freebsd.org In-Reply-To: <20050721192941.74e673fa@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <47d0403c050720212836f77a5c@mail.gmail.com> <20050721192941.74e673fa@localhost> Cc: Fabian Keil Subject: Re: 6.0-release beta1 breaks ndis for dell truemobile 1400 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ben Kaduk List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 20:40:47 -0000 On 7/21/05, Fabian Keil wrote: > Ben Kaduk wrote: >=20 > > I have not extensively used the ndis driver since I am not often > > around wireless networks, but > > after installing 5.4-release I compiled the driver using > > cd /usr/src/sys/modules/ndis > > make install > > cd /usr/src/sys/modules/if_ndis > > ndiscvt -i bcmwl5a.inf -s bcmwl5.sys -o ndis_driver_data.h > > make && make install > > > > as recommended, with the bcmwl* files being the ones here: > > http://netfiles.uiuc.edu/kaduk/www/* > > > > The self-extracting driver (for windows) also generated a bcmwl5.inf > > (not 'a'), but ndiscvt > > produced an error whilst trying to read this file, so I used the 'a' > > version, and ndiscvt finished > > successfully; if_ndis was produced with no errors, and I was able to > > kldload if_ndis.ko and ndis.ko. Upon doing this, console messages > > were produced recognizing my Dell TrueMobile 1400 (broadcom bcm4324 > > chipset), but i didn't have a wireless network to use then. > > Since then, I have performed a source upgrade to 6.0-release beta1 > > (cvsup last saturday; can't be more precise since I must boot windows > > to use wireless :( ). > > I just today had occasion to use the wireless card, and kldload()-ing > > if_ndis resulted in a panic(). I didn't save the message for two > > reasons: (1), I thought it was just that if_ndis.ko had not been > > rebuild with world, and (2) I'm using my laptop at a friend's > > appartment with no serial console. After performing several > > iterations of cleaning for ndis, if_ndis, and wlan, and > > rebuilding/installing, I produced if_ndis.ko, ndis.ko, and wlan.ko > > that I could successfully kldload() with no panic. However, there > > were no console messages that appeared indicating that the system had > > found my hardward, leading to the statement in the subject that the > > beta breaks ndis for this card. I have already posted a pciconf -lv > > to the list in this thread: > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D116619+0+current/freebsd= -current > > > > What steps can I take to help debug this regression? >=20 > At first you should try to build ndis the right way, which > was changed a while ago. Now /usr/sbin/ndisgen is used to put the > firmware in a separate module. >=20 > >=20 >=20 > Fabian > -- > http://www.fabiankeil.de/ >=20 >=20 >=20 Is there anyone working on updating the handbook and generating an ndisgen() manpage, or should I whip something together? Ben