Re: D-link wireless not detected

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Tue, 29 Dec 2015 15:07:03 +0100
On 12/29/15 15:02, Hans Petter Selasky wrote:
> On 12/29/15 14:00, Daniel Braniss wrote:
>>
>>> On 29 Dec 2015, at 14:44, Hans Petter Selasky <hps_at_selasky.org> wrote:
>>>
>>> On 12/29/15 13:36, Daniel Braniss wrote:
>>>>
>>>
>>> Until /etc/devd/usb.conf is regenerated, you'll need to manually load
>>> the kernel module for urtwn. Did you do that?
>>>
>>> --HPS
>>>
>> ok, set if_urtwn_load=yes
>> and now I get:
>>
>> ugen0.4: <Realtek> at usbus0
>> urtwn0: <Wireless N Nano USB Adapter> on usbus0
>> urtwn0: could not allocate USB transfers, err=USB_ERR_NO_PIPE
>> Fatal kernel mode data abort: 'Translation Fault (L1)' on write
>> trapframe: 0xda29fb88
>> FSR=00000805, FAR=00000000, spsr=60000013
>> r0 =00000000, r1 =00000000, r2 =c0a72cb0, r3 =00000165
>> r4 =c2cd0000, r5 =c0a86650, r6 =c2cd1a80, r7 =00000000
>> r8 =c2cd1dd8, r9 =c2cd1a20, r10=c2a85dd0, r11=da29fc20
>> r12=00000000, ssp=da29fc18, slr=00000004, pc =c0a3f7cc
>>
>> [ thread pid 13 tid 100045 ]
>> Stopped at      ieee80211_ifdetach+0x4c:        str     r0, [r1]
>> db>
>>
>> btw, as long as you are willing to help, I will keep testing,
>> in other words, i’m ok.
>
> Hi Andriy,
>
> Can you fix the crash above and verify this error patch?
>

Hi,

I see 11-current has a fix. Maybe MFC that to 10-stable?

> Andriy:
>
> After:
>          usbd_transfer_unsetup(sc->sc_xfer, URTWN_N_TRANSFER);
> There is no need for:
>      usbd_transfer_drain(sc->sc_xfer[x]);

--HPS
Received on Tue Dec 29 2015 - 13:05:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:01 UTC