Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2008 13:23:33 +0100
From:      "Paul B. Mahol" <onemda@gmail.com>
To:        "Octavian Ionescu" <itavy@itavy.com>
Cc:        freebsd-drivers@freebsd.org
Subject:   Re: Driver for DWL-G122 rev C1
Message-ID:  <3a142e750812150423w168620f7g40e93cf61f6a3b7b@mail.gmail.com>
In-Reply-To: <49458F28.4000206@itavy.com>
References:  <49458F28.4000206@itavy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/14/08, Octavian Ionescu <itavy@itavy.com> 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: <Ralink 802.11 bg WLAN, class 0/0, rev
> 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 flag

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=1" >> /boot/loader.conf and reboot.

Fix:
use if_rum2 from usb2:

# echo "usb2_wlan_rum_load=YES" >> /boot/loader.conf

For this one to really work you need first to remove usb,uhci,ehci,ohci and
others old usb stuff from kernel conf, and use usb2 as modules ...


-- 
Paul



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a142e750812150423w168620f7g40e93cf61f6a3b7b>