Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2013 19:55:18 -0800 (PST)
From:      "Thomas Mueller" <mueller6724@bellsouth.net>
To:        freebsd-wireless@freebsd.org
Subject:   Re: Atheros 9271
Message-ID:  <478349.87033.bm@smtp111.sbc.mail.bf1.yahoo.com>
References:  <597989.6329.bm@smtp118.sbc.mail.bf1.yahoo.com> <CAJ-VmonRfxHxP45MMPTVFo%2B=cYBL4HjrbMpODcVymC-=FbYq_Q@mail.gmail.com> <610753.22725.bm@smtp119.sbc.mail.ne1.yahoo.com> <CAJ-Vmo=P4ARofvHpwUDcgvSExA4EXr-THAtx9igr-O4jQRK6_w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
from Adrian Chadd:

> I just don't want to be on the hook for supporting the USB side of things.
        
> I've been slowly writing an AR9170 USB driver. I am still having
> issues getting all of the USB stuff stable and bulletproof. The
> existing USB drivers for wifi aren't really paragons of virtue from a
> driver perspective.

I understand what you mean, considering console messages I get, copied to /var/log/messages, and in one case on 10-stable amd64, a kernel crash.

Evidence is not conclusive on rsu(0) being responsible.

Considering that re(4) does not connect on MSI Z77 MPOWER motherboard and leaves memory in an unstable state, it may be best to go to loader prompt when booting and
set hint.re.0.disabled="1"

get that out of the way.

Without that precaution, messages leading to crash, from /var/log/messages (times in UTC):

Dec 16 07:01:27 amelia4 dhclient[3219]: send_packet: Invalid argument
Dec 16 07:01:27 amelia4 kernel: wlan0: link state changed to UP
Dec 16 07:01:27 amelia4 dhclient[3219]: send_packet: No buffer space available
Dec 16 07:01:27 amelia4 devd: Executing '/etc/rc.d/dhclient quietstart wlan0'
Dec 16 07:01:31 amelia4 dhclient: New IP Address (wlan0): 192.168.0.101
Dec 16 07:01:31 amelia4 dhclient: New Subnet Mask (wlan0): 255.255.255.0
Dec 16 07:01:31 amelia4 dhclient: New Broadcast Address (wlan0): 192.168.0.255
Dec 16 07:01:31 amelia4 dhclient: New Routers (wlan0): 192.168.0.1
Dec 16 07:02:29 amelia4 dhclient: New IP Address (wlan0): 192.168.0.101
Dec 16 07:02:29 amelia4 dhclient: New Subnet Mask (wlan0): 255.255.255.0
Dec 16 07:02:29 amelia4 dhclient: New Broadcast Address (wlan0): 192.168.0.255
Dec 16 07:02:29 amelia4 dhclient: New Routers (wlan0): 192.168.0.1
Dec 16 07:02:30 amelia4 dhclient: New Routers (wlan0): 192.168.0.1
Dec 16 07:06:40 amelia4 kernel: wlan0: link state changed to DOWN
Dec 16 07:06:43 amelia4 kernel: wlan0: link state changed to UP
Dec 16 07:06:43 amelia4 dhclient[3219]: send_packet: No buffer space available
Dec 16 07:06:43 amelia4 devd: Executing '/etc/rc.d/dhclient quietstart wlan0'
Dec 16 07:07:20 amelia4 kernel: wlan0: link state changed to DOWN
Dec 16 07:07:20 amelia4 kernel: wlan0: link state changed to UP
Dec 16 07:07:20 amelia4 dhclient[3219]: send_packet: No buffer space available
Dec 16 07:07:20 amelia4 devd: Executing '/etc/rc.d/dhclient quietstart wlan0'
Dec 16 07:07:22 amelia4 dhclient[3219]: send_packet: No buffer space available
Dec 16 07:08:26 amelia4 kernel: wlan0: link state changed to DOWN
Dec 16 07:08:29 amelia4 kernel: wlan0: link state changed to UP
Dec 16 07:08:29 amelia4 dhclient[3219]: send_packet: No buffer space available
Dec 16 07:08:29 amelia4 devd: Executing '/etc/rc.d/dhclient quietstart wlan0'
Dec 16 07:08:47 amelia4 kernel: wlan0: link state changed to DOWN
Dec 16 07:08:48 amelia4 dhclient[3219]: send_packet: Invalid argument
Dec 16 07:08:56 amelia4 dhclient[3219]: send_packet: Network is down
Dec 16 07:08:58 amelia4 kernel: wlan0: link state changed to UP
Dec 16 07:08:58 amelia4 dhclient[3219]: send_packet: No buffer space available
Dec 16 07:08:58 amelia4 devd: Executing '/etc/rc.d/dhclient quietstart wlan0'
Dec 16 07:09:35 amelia4 kernel: wlan0: link state changed to DOWN
Dec 16 07:09:38 amelia4 kernel: wlan0: link state changed to UP
Dec 16 07:09:38 amelia4 dhclient[3219]: send_packet: No buffer space available
Dec 16 07:09:38 amelia4 devd: Executing '/etc/rc.d/dhclient quietstart wlan0'
Dec 16 07:09:47 amelia4 kernel: wlan0: link state changed to DOWN
Dec 16 07:09:56 amelia4 dhclient[3219]: send_packet: Invalid argument
Dec 16 07:09:59 amelia4 dhclient[3219]: send_packet: Network is down
Dec 16 07:10:04 amelia4 kernel: Kernel page fault with the following non-sleepable locks held:
Dec 16 07:10:04 amelia4 kernel: exclusive sleep mutex rsu0 (network driver) r = 0 (0xfffffe0003298140) locked @ /usr/src/sys/dev/usb/usb_transfer.c:2184
Dec 16 07:10:04 amelia4 kernel: KDB: stack backtrace:
Dec 16 07:10:04 amelia4 kernel: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe07c2748440
Dec 16 07:10:04 amelia4 kernel: kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe07c27484f0
Dec 16 07:10:04 amelia4 kernel: witness_warn() at witness_warn+0x4a8/frame 0xfffffe07c27485b0
Dec 16 07:10:04 amelia4 kernel: trap_pfault() at trap_pfault+0x5a/frame 0xfffffe07c2748650
Dec 16 07:10:04 amelia4 kernel: trap() at trap+0x670/frame 0xfffffe07c2748870
Dec 16 07:10:04 amelia4 kernel: calltrap() at calltrap+0x8/frame 0xfffffe07c2748870
Dec 16 07:10:04 amelia4 kernel: --- trap 0xc, rip = 0xffffffff80700348, rsp = 0xfffffe07c2748930, rbp = 0xfffffe07c2748950 ---
Dec 16 07:10:04 amelia4 kernel: ieee80211_tx_mgt_cb() at ieee80211_tx_mgt_cb+0x8/frame 0xfffffe07c2748950
Dec 16 07:10:04 amelia4 kernel: rsu_bulk_tx_callback() at rsu_bulk_tx_callback+0x107/frame 0xfffffe07c27489a0
Dec 16 07:10:04 amelia4 kernel: usbd_callback_wrapper() at usbd_callback_wrapper+0x5e4/frame 0xfffffe07c2748a00
Dec 16 07:10:04 amelia4 kernel: usb_command_wrapper() at usb_command_wrapper+0x143/frame 0xfffffe07c2748a20
Dec 16 07:10:04 amelia4 kernel: usb_callback_proc() at usb_callback_proc+0x76/frame 0xfffffe07c2748a40
Dec 16 07:10:04 amelia4 kernel: usb_process() at usb_process+0x10f/frame 0xfffffe07c2748a70
Dec 16 07:10:04 amelia4 kernel: fork_exit() at fork_exit+0x84/frame 0xfffffe07c2748ab0
Dec 16 07:10:04 amelia4 kernel: fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe07c2748ab0
Dec 16 07:10:04 amelia4 kernel: --- trap 0, rip = 0, rsp = 0xfffffe07c2748b70, rbp = 0 ---
Dec 16 07:10:04 amelia4 kernel:
Dec 16 07:10:04 amelia4 kernel:
Dec 16 07:10:04 amelia4 kernel: Fatal trap 12: page fault while in kernel mode
Dec 16 07:10:04 amelia4 kernel: cpuid = 4; apic id = 04
Dec 16 07:10:04 amelia4 kernel: fault virtual address   = 0x0
Dec 16 07:10:04 amelia4 kernel: fault code              = supervisor read data, page not present
Dec 16 07:10:04 amelia4 kernel: instruction pointer     = 0x20:0xffffffff80700348
Dec 16 07:10:04 amelia4 kernel: stack pointer           = 0x28:0xfffffe07c2748930
Dec 16 07:10:04 amelia4 kernel: frame pointer           = 0x28:0xfffffe07c2748950
Dec 16 07:10:04 amelia4 kernel: code segment            = base 0x0, limit 0xfffff, type 0x1b
Dec 16 07:10:04 amelia4 kernel: = DPL 0, pres 1, long 1, def32 0, gran 1
Dec 16 07:10:04 amelia4 kernel: processor eflags        = interrupt enabled, resume, IOPL = 0
Dec 16 07:10:04 amelia4 kernel: current process         = 20 (usbus1)
Dec 16 07:10:04 amelia4 kernel: Kernel page fault with the following non-sleepable locks held:
Dec 16 07:10:04 amelia4 kernel: exclusive sleep mutex rsu0 (network driver) r = 0 (0xfffffe0003298140) locked @ /usr/src/sys/dev/usb/usb_transfer.c:2184
Dec 16 07:10:04 amelia4 kernel: KDB: stack backtrace:
Dec 16 07:10:04 amelia4 kernel: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe07c2748440
Dec 16 07:10:04 amelia4 kernel: kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe07c27484f0
Dec 16 07:10:04 amelia4 kernel: witness_warn() at witness_warn+0x4a8/frame 0xfffffe07c27485b0
Dec 16 07:10:04 amelia4 kernel: trap_pfault() at trap_pfault+0x5a/frame 0xfffffe07c2748650
Dec 16 07:10:04 amelia4 kernel: trap() at trap+0x670/frame 0xfffffe07c2748870
Dec 16 07:10:04 amelia4 kernel: calltrap() at calltrap+0x8/frame 0xfffffe07c2748870
Dec 16 07:10:04 amelia4 kernel: --- trap 0xc, rip = 0xffffffff80700348, rsp = 0xfffffe07c2748930, rbp = 0xfffffe07c2748950 ---
Dec 16 07:10:04 amelia4 kernel: ieee80211_tx_mgt_cb() at ieee80211_tx_mgt_cb+0x8/frame 0xfffffe07c2748950
Dec 16 07:10:04 amelia4 kernel: rsu_bulk_tx_callback() at rsu_bulk_tx_callback+0x107/frame 0xfffffe07c27489a0
Dec 16 07:10:04 amelia4 kernel: usbd_callback_wrapper() at usbd_callback_wrapper+0x5e4/frame 0xfffffe07c2748a00
Dec 16 07:10:04 amelia4 kernel: usb_command_wrapper() at usb_command_wrapper+0x143/frame 0xfffffe07c2748a20
Dec 16 07:10:04 amelia4 kernel: usb_callback_proc() at usb_callback_proc+0x76/frame 0xfffffe07c2748a40
Dec 16 07:10:04 amelia4 kernel: usb_process() at usb_process+0x10f/frame 0xfffffe07c2748a70
Dec 16 07:10:04 amelia4 kernel: fork_exit() at fork_exit+0x84/frame 0xfffffe07c2748ab0
Dec 16 07:10:04 amelia4 kernel: fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe07c2748ab0
Dec 16 07:10:04 amelia4 kernel: --- trap 0, rip = 0, rsp = 0xfffffe07c2748b70, rbp = 0 ---
Dec 16 07:10:04 amelia4 kernel:
Dec 16 07:10:04 amelia4 kernel:
Dec 16 07:10:04 amelia4 kernel: Fatal trap 12: page fault while in kernel mode
Dec 16 07:10:04 amelia4 kernel: cpuid = 4; apic id = 04
Dec 16 07:10:04 amelia4 kernel: fault virtual address   = 0x0
Dec 16 07:10:04 amelia4 kernel: fault code              = supervisor read data, page not present
Dec 16 07:10:04 amelia4 kernel: instruction pointer     = 0x20:0xffffffff80700348
Dec 16 07:10:04 amelia4 kernel: stack pointer           = 0x28:0xfffffe07c2748930
Dec 16 07:10:04 amelia4 kernel: frame pointer           = 0x28:0xfffffe07c2748950
Dec 16 07:10:04 amelia4 kernel: code segment            = base 0x0, limit 0xfffff, type 0x1b
Dec 16 07:10:04 amelia4 kernel: = DPL 0, pres 1, long 1, def32 0, gran 1
Dec 16 07:10:04 amelia4 kernel: processor eflags        = interrupt enabled, resume, IOPL = 0

Please, anybody who responds to this message, don't quote this log, I already have it!

Tom




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