From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1Go9PV-0002RK-MD for garchives@archives.gentoo.org; Sun, 26 Nov 2006 02:06:26 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kAQ249T7021766; Sun, 26 Nov 2006 02:04:09 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kAQ211XG030073 for ; Sun, 26 Nov 2006 02:01:01 GMT Received: by nf-out-0910.google.com with SMTP id c31so2625025nfb for ; Sat, 25 Nov 2006 18:01:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LXgo/Sc9iOElGX57xBTPr3W/21fRIyB9S02dHm0w4ezcW6GIv9U3Q+YSSD/qYUzpOz4cptDflS3lBv6O0vzNXNeOC3XDRLhmV3zwwnUHT5yULzgwJ2IAUUVU66/nCwkPpr2cfYS+GKNlTQs55GVlkSOeoEG006n6sy0FRIKZ/HI= Received: by 10.82.127.15 with SMTP id z15mr1774487buc.1164506460536; Sat, 25 Nov 2006 18:01:00 -0800 (PST) Received: by 10.82.106.18 with HTTP; Sat, 25 Nov 2006 18:01:00 -0800 (PST) Message-ID: <5bdc1c8b0611251801g62177cfev980aacfae3ead86a@mail.gmail.com> Date: Sat, 25 Nov 2006 18:01:00 -0800 From: "Mark Knecht" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] wlan0/ndiswrapper failing after gcc-4 upgrade (and dual Windows boot) In-Reply-To: <200611252349.20437.sp_rm_it@yahoo.it> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5bdc1c8b0611251229l61dc420es30f92c0bebafe316@mail.gmail.com> <200611252048.16847.michaelkintzios@gmail.com> <5bdc1c8b0611251342h2a946ed7n6017518019d8057f@mail.gmail.com> <200611252349.20437.sp_rm_it@yahoo.it> X-Archives-Salt: c7731cb1-a915-4c38-9208-85aa95d27887 X-Archives-Hash: 09d411aeb07c73645738dd412b079400 On 11/25/06, Sergio Polini wrote: > Mark Knecht: > > Unless I'm mistaken, that module is ndiswrapper which was > > emerged again after the kernel was rebuilt. > > Was ndiswrapper emerged *and updated*? > My card name is Broadcom BCM4310 UART, my gcc is 4.1.1, my udev is > 087-r1. I have to use ndiswrapper 1.23 because more recent versions > do not work. > HTH > Sergio > -- Sergio, Hi and thanks very much for responding. My apologies in advance for the length of this post. Lots of info. In my case ndiswrapper was not updated. Before the upgrade and after I was using 1.2-r1. It worked yesterday but fails today. I am currently on the offending machine but using a wired interface with the cable stretched across the house so that I can give real results. Following along in the spirit of your response I don't even see version 1.23 so I've tried installing the newest masked version, even though I expect this failed on your machine: Sector9 ~ # eix -I ndiswrapper * net-wireless/ndiswrapper Available versions: 1.2-r1 1.25 1.26 1.28 1.29 Installed: 1.29 Homepage: http://ndiswrapper.sourceforge.net/ Description: Wrapper for using Windows drivers for some wireless cards Sector9 ~ # >>From dmesg you can see the effects of loading each driver, one at a time - not both together. I'm just posting both below to show the difference in dmesg: ndiswrapper version 1.2 loaded (preempt=yes,smp=no) or... ndiswrapper version 1.29 loaded (preempt=yes,smp=no) usbcore: registered new driver ndiswrapper (the second message was because there is a new usb USE flag. I turned that off and I then do not get the second message when loading, but the driver still doesn't work for me yet.) They load slightly differently. Maybe part of the problem is the changes in udev and the removal of hotplug and coldplug? Could that be involved? I am now using the newest udev. Maybe that's part of the problem? The newest 1.29 version of the driver shows this when I run ndiswrapper from the command line to install the Windows driver: Sector9 ~ # ndiswrapper -i 802.11g/NetA3AB.inf installing neta3ab ... forcing parameter MapRegisters from 256 to 64 forcing parameter MapRegisters from 256 to 64 forcing parameter MapRegisters from 256 to 64 forcing parameter MapRegisters from 256 to 64 forcing parameter MapRegisters from 256 to 64 Sector9 ~ # I don't like those messages. They don't happen with the older version 1.2-r1. After modprobing ndiswrapper dmesg says it's loaded as does lsmod. There are no error messages. However when I try to start the interface it fails: Sector9 ~ # /etc/init.d/net.wlan0 start * Starting wlan0 * Bringing up wlan0 * 192.168.1.159/24 * network interface wlan0 does not exist * Please verify hardware or kernel module (driver) [ !! ] Sector9 ~ # So it seems to be unhappy with the way the driver is working. That said there is no difference in this output for 1.2-r1 and 1.29 >>From the command line it appears that the newest version of ndiswrapper is suggesting I can now use a Linux driver. I have no idea how to actually do that though. Sector9 ~ # ndiswrapper -l installed drivers: neta3ab driver installed, hardware (168C:001A) present (alternate driver: ath_pci) Sector9 ~ # I do have the ath_pci driver and I can modprobe it successfully: Sector9 ~ # modprobe ath_pci Sector9 ~ # lsmod Module Size Used by ath_pci 72800 0 ath_rate_sample 10880 1 ath_pci ath_hal 189264 3 ath_pci,ath_rate_sample Sector9 ~ # I don't see any errors in dmesg, or even any messages. Since I cannot get ndiswrapper working how would I go about getting ath_pci to work? Sorry this got so long. Thanks again, Mark -- gentoo-user@gentoo.org mailing list