From owner-freebsd-drivers@FreeBSD.ORG Tue Dec 16 07:36:39 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 D0B7A106564A for ; Tue, 16 Dec 2008 07:36:39 +0000 (UTC) (envelope-from itavy@itavy.com) Received: from gateway11.websitewelcome.com (gateway11.websitewelcome.com [67.18.68.8]) by mx1.freebsd.org (Postfix) with SMTP id 8AB848FC1B for ; Tue, 16 Dec 2008 07:36:39 +0000 (UTC) (envelope-from itavy@itavy.com) Received: (qmail 25210 invoked from network); 16 Dec 2008 07:52:58 -0000 Received: from gator482.hostgator.com (67.18.18.122) by gateway11.websitewelcome.com with SMTP; 16 Dec 2008 07:52:58 -0000 Received: from localhost ([127.0.0.1]:57935) by gator482.hostgator.com with esmtpa (Exim 4.69) (envelope-from ) id 1LCUTu-0008N9-0S; Tue, 16 Dec 2008 01:36:38 -0600 Received: from 86.55.4.142 ([86.55.4.142]) by www.itavy.com (Horde MIME library) with HTTP; Tue, 16 Dec 2008 01:36:37 -0600 Message-ID: <20081216013637.0pal212d4w0sk4k4@www.itavy.com> Date: Tue, 16 Dec 2008 01:36:37 -0600 From: Octavian Ionescu To: "Paul B. Mahol" References: <49458F28.4000206@itavy.com> <3a142e750812150423w168620f7g40e93cf61f6a3b7b@mail.gmail.com> <20081215074442.u7fju0xwysgckc0c@www.itavy.com> In-Reply-To: <20081215074442.u7fju0xwysgckc0c@www.itavy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator482.hostgator.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - itavy.com Cc: freebsd-drivers@freebsd.org Subject: Re: Driver for DWL-G122 rev C1 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: Tue, 16 Dec 2008 07:36:39 -0000 hi, i have recompiled and everything have worked very good :) now i am =20 able to use my notebook without having to stay just at my desk :) btw where i cad read a little more about those dependencies like SMP =20 enabled -> have to use usb2. i have searched on google about how to enable usb2 on the kernel but i =20 found just exemples of kernel config's and not why it shoul dbe used. Thank you, --=20 Octavian Quoting Octavian Ionescu : > hi, > > yes i have SMP enabled. i will recompile the kernel with the new > options and i will let yuo know. > > Thank you > --=20 > Octavian > > > Quoting "Paul B. Mahol" : > >> On 12/14/08, Octavian Ionescu wrote: >>> hi, >>> >>> i have an Wireless USB DWL-G122 rev c1 card and on current itblocks my >>> computer after a while. it scans for ap after i have configured it but >>> after 2-3 minutes of scaning hang the entire computer and give me an >>> backtrace prompt. >>> >>> # uname -a >>> FreeBSD 8.0-CURRENT FreeBSD 8.0-CURRENT #2: Sat Dec 6 17:17:09 UTC >>> 2008 root@:/usr/obj/usr/src/sys/ITAVYEEE2 i386 >>> >>> #dmesg >>> .... >>> Dec 14 22:40:28 kernel: rum0: >> 2.00/0.01, addr 3> on uhub4 >>> Dec 14 22:40:28 kernel: rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 >>> Dec 14 22:40:28 kernel: rum0: WARNING: using obsoleted IFF_NEEDSGIANT f= lag >> >> Let me guess you have SMP machine with SMP enabled kernel? >> In that case usb ehci have some bugs triggered with rum driver. >> >> Workaround: disable smp: >> # echo "kern.smp.disabled=3D1" >> /boot/loader.conf and reboot. >> >> Fix: >> use if_rum2 from usb2: >> >> # echo "usb2_wlan_rum_load=3DYES" >> /boot/loader.conf >> >> For this one to really work you need first to remove usb,uhci,ehci,ohci a= nd >> others old usb stuff from kernel conf, and use usb2 as modules ... >> >> >> -- >> Paul >> > > > > _______________________________________________ > freebsd-drivers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org"