Date: Sat, 26 Jul 2014 21:13:48 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Adrian Chadd <adrian@freebsd.org> Cc: "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org> Subject: Re: svn commit: r269127 - head/sys/dev/usb/wlan Message-ID: <53D3FDEC.5040000@selasky.org> In-Reply-To: <CAJ-Vmo=gy99iyOwoeCBKKMTAba1CycJgQBO2ti2=eFR_9ht-UQ@mail.gmail.com> References: <201407261606.s6QG61le092895@svn.freebsd.org> <CAJ-Vmo=gy99iyOwoeCBKKMTAba1CycJgQBO2ti2=eFR_9ht-UQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 07/26/14 20:36, Adrian Chadd wrote: > Hi, > > We should likely review how the PLCP bits are being used and why it's > getting a rate of 0 in the first place. > > So, why's it getting a rate of 0 passed into the transmit path? > > Hi Adrian, Here is the backtrace of the panic: Fatal trap 18: integer divide fault while in kernel mode cpuid = 2; apic id = 02 instruction pointer = 0x20:0xffffffff807826cf stack pointer = 0x28:0xffffff8000305090 frame pointer = 0x28:0xffffff80003050a0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 15 (usbus0) trap number = 18 panic: integer divide fault cpuid = 2 KDB: stack backtrace: #0 0xffffffff809257e6 at kdb_backtrace+0x66 #1 0xffffffff808eb3ae at panic+0x1ce #2 0xffffffff80cd2c30 at trap_fatal+0x290 #3 0xffffffff80cd3480 at trap+0x250 #4 0xffffffff80cbc783 at calltrap+0x8 #5 0xffffffff80783d90 at ural_start+0x1d0 #6 0xffffffff809aa2ea at if_transmit+0xea #7 0xffffffff809ef7b2 at ieee80211_start+0x542 #8 0xffffffff809aa2ea at if_transmit+0xea #9 0xffffffff809ae8b3 at ether_output_frame+0x33 #10 0xffffffff809aee30 at ether_output+0x530 #11 0xffffffff80a186b4 at ip_output+0xd74 #12 0xffffffff80a87d2a at tcp_output+0xfea #13 0xffffffff80a82222 at tcp_do_segment+0xc02 #14 0xffffffff80a85219 at tcp_input+0xa29 #15 0xffffffff80a155fa at ip_input+0xaa #16 0xffffffff809b7808 at netisr_dispatch_src+0x218 #17 0xffffffff809ae3fd at ether_demux+0x14d #0 doadump (textdump=<value optimized out>) at pcpu.h:235 235 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump (textdump=<value optimized out>) at pcpu.h:235 #1 0xffffffff808eae86 in kern_reboot (howto=260) at /usr/img/freebsd.9/sys/kern/kern_shutdown.c:454 #2 0xffffffff808eb387 in panic (fmt=0x1 <Address 0x1 out of bounds>) at /usr/img/freebsd.9/sys/kern/kern_shutdown.c:642 #3 0xffffffff80cd2c30 in trap_fatal (frame=0x12, eva=<value optimized out>) at /usr/img/freebsd.9/sys/amd64/amd64/trap.c:878 #4 0xffffffff80cd3480 in trap (frame=0xffffff8000304fe0) at /usr/img/freebsd.9/sys/amd64/amd64/trap.c:598 #5 0xffffffff80cbc783 in calltrap () at /usr/img/freebsd.9/sys/amd64/amd64/exception.S:232 #6 0xffffffff807826cf in ural_setup_tx_desc (sc=<value optimized out>, desc=0xfffffe0002c2a500, flags=<value optimized out>, len=<value optimized out>, rate=0) at /usr/img/freebsd.9/sys/dev/usb/wlan/if_ural.c:1040 #7 0xffffffff80783d90 in ural_start (ifp=0xfffffe0005a64800) at /usr/img/freebsd.9/sys/dev/usb/wlan/if_ural.c:1335 #8 0xffffffff809aa2ea in if_transmit (ifp=0xfffffe0005a64800, m=<value optimized out>) at /usr/img/freebsd.9/sys/net/if.c:3395 #9 0xffffffff809ef7b2 in ieee80211_start (ifp=0xfffffe00054f2800) at /usr/img/freebsd.9/sys/net80211/ieee80211_output.c:365 #10 0xffffffff809aa2ea in if_transmit (ifp=0xfffffe00054f2800, m=<value optimized out>) at /usr/img/freebsd.9/sys/net/if.c:3395 #11 0xffffffff809ae8b3 in ether_output_frame (ifp=0xfffffe00054f2800, m=0xfffffe014400a200) at /usr/img/freebsd.9/sys/net/if_ethersubr.c:447 #12 0xffffffff809aee30 in ether_output (ifp=0xfffffe00054f2800, m=0xfffffe014400a200, dst=<value optimized out>, ro=<value optimized out>) at /usr/img/freebsd.9/sys/net/if_ethersubr.c:418 #13 0xffffffff80a186b4 in ip_output (m=0xfffffe014400a200, opt=<value optimized out>, ro=0xffffff8000305480, flags=<value optimized out>, imo=0x0, inp=0xfffffe0005911498) at /usr/img/freebsd.9/sys/netinet/ip_output.c:631 #14 0xffffffff80a87d2a in tcp_output (tp=0xfffffe0005908b70) at /usr/img/freebsd.9/sys/netinet/tcp_output.c:1281 #15 0xffffffff80a82222 in tcp_do_segment (m=0xfffffe0005701700, th=0xfffffe0144913338, so=0xfffffe01449132a8, tp=0xfffffe0005908b70, drop_hdrlen=52, tlen=1424, iptos=0 '\0', ti_locked=1) at /usr/img/freebsd.9/sys/netinet/tcp_input.c:1860 #16 0xffffffff80a85219 in tcp_input (m=0xfffffe0005701700, off0=<value optimized out>) at /usr/img/freebsd.9/sys/netinet/tcp_input.c:1410 #17 0xffffffff80a155fa in ip_input (m=0xfffffe0005701700) at /usr/img/freebsd.9/sys/netinet/ip_input.c:760 #18 0xffffffff809b7808 in netisr_dispatch_src (proto=1, source=<value optimized out>, m=<value optimized out>) at /usr/img/freebsd.9/sys/net/netisr.c:1013 #19 0xffffffff809ae3fd in ether_demux (ifp=0xfffffe00054f2800, m=0xfffffe0005701700) at /usr/img/freebsd.9/sys/net/if_ethersubr.c:943 #20 0xffffffff809ae6de in ether_nh_input (m=<value optimized out>) at /usr/img/freebsd.9/sys/net/if_ethersubr.c:762 #21 0xffffffff809b7808 in netisr_dispatch_src (proto=9, source=<value optimized out>, m=<value optimized out>) at /usr/img/freebsd.9/sys/net/netisr.c:1013 #22 0xffffffff809fdf7d in sta_input (ni=0xffffff8001f5d000, m=0xfffffe0005701700, rssi=73, nf=-95) at /usr/img/freebsd.9/sys/net80211/ieee80211_sta.c:827 #23 0xffffffff8078582d in ural_bulk_read_callback (xfer=0xffffff8001f56a00, error=<value optimized out>) at /usr/img/freebsd.9/sys/dev/usb/wlan/if_ural.c:968 #24 0xffffffff8075d9c4 in usbd_callback_wrapper (pq=<value optimized out>) at /usr/img/freebsd.9/sys/dev/usb/usb_transfer.c:2270 #25 0xffffffff8075b8d6 in usb_command_wrapper (pq=0xffffff8001f56060, xfer=<value optimized out>) at /usr/img/freebsd.9/sys/dev/usb/usb_transfer.c:2921 #26 0xffffffff8075e160 in usb_callback_proc (_pm=<value optimized out>) at /usr/img/freebsd.9/sys/dev/usb/usb_transfer.c:2135 #27 0xffffffff80758653 in usb_process (arg=<value optimized out>) at /usr/img/freebsd.9/sys/dev/usb/usb_process.c:169 #28 0xffffffff808b934f in fork_exit ( callout=0xffffffff80758580 <usb_process>, arg=0xffffff80008a91f0, frame=0xffffff8000305b00) at /usr/img/freebsd.9/sys/kern/kern_fork.c:996 #29 0xffffffff80cbccae in fork_trampoline () at /usr/img/freebsd.9/sys/amd64/amd64/exception.S:606 --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53D3FDEC.5040000>