From owner-freebsd-drivers@FreeBSD.ORG Mon Dec 15 13:44:45 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 425D01065673 for ; Mon, 15 Dec 2008 13:44:45 +0000 (UTC) (envelope-from itavy@itavy.com) Received: from gateway16.websitewelcome.com (gateway16.websitewelcome.com [69.93.243.5]) by mx1.freebsd.org (Postfix) with SMTP id 009D38FC17 for ; Mon, 15 Dec 2008 13:44:44 +0000 (UTC) (envelope-from itavy@itavy.com) Received: (qmail 29368 invoked from network); 15 Dec 2008 13:59:17 -0000 Received: from gator482.hostgator.com (67.18.18.122) by gateway16.websitewelcome.com with SMTP; 15 Dec 2008 13:59:17 -0000 Received: from localhost ([127.0.0.1]:56740) by gator482.hostgator.com with esmtpa (Exim 4.69) (envelope-from ) id 1LCDkY-0007gp-QP; Mon, 15 Dec 2008 07:44:42 -0600 Received: from 86.55.4.142 ([86.55.4.142]) by www.itavy.com (Horde MIME library) with HTTP; Mon, 15 Dec 2008 07:44:42 -0600 Message-ID: <20081215074442.u7fju0xwysgckc0c@www.itavy.com> Date: Mon, 15 Dec 2008 07:44:42 -0600 From: Octavian Ionescu To: "Paul B. Mahol" References: <49458F28.4000206@itavy.com> <3a142e750812150423w168620f7g40e93cf61f6a3b7b@mail.gmail.com> In-Reply-To: <3a142e750812150423w168620f7g40e93cf61f6a3b7b@mail.gmail.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: Mon, 15 Dec 2008 13:44:45 -0000 hi, yes i have SMP enabled. i will recompile the kernel with the new =20 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 fl= ag > > 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 an= d > others old usb stuff from kernel conf, and use usb2 as modules ... > > > -- > Paul >