Re: FreeBSD 10.0: hostapd crash with Ralink 3070

2014-01-29 Thread Pedro Flynn
Hi! As stated yesterday, I built a kernel with debug symbols and generated a second crash dump based on this kernel. Files are vmcore.1.xz and core.txt.1: https://drive.google.com/folderview?id=0B0sVwxI7RI7oc3R2bjVQR0pXWG8&usp=sharing Thanks for any suggestion, pflynn On Wed, Jan 29, 2014 at

Re: FreeBSD 10.0: hostapd crash with Ralink 3070

2014-01-29 Thread Pedro Flynn
Hmmm... Where did you see the NULL value? I could not figure it out. (Yesterday I built a kernel with debugging symbols enabled and I will generate a new crash dump tonight. I hope this one will have much more information). Thanks, pflynn On Tue, Jan 28, 2014 at 9:54 PM, Adrian Chadd wrote:

Re: FreeBSD 10.0: hostapd crash with Ralink 3070

2014-01-28 Thread Adrian Chadd
Yup. Is it? Adrian On Jan 28, 2014 6:10 PM, "Pedro Flynn" wrote: > You mean rvp->beacon_mbuf is null? > > Thanks, > > pflynn > > > On Tue, Jan 28, 2014 at 9:06 PM, Pedro Flynn wrote: > >> Just to bring to our attention frame 8: >> >> (kgdb) frame 8 >> #8 0x81a198bc in run_update_beacon

Re: FreeBSD 10.0: hostapd crash with Ralink 3070

2014-01-28 Thread Pedro Flynn
You mean rvp->beacon_mbuf is null? Thanks, pflynn On Tue, Jan 28, 2014 at 9:06 PM, Pedro Flynn wrote: > Just to bring to our attention frame 8: > > (kgdb) frame 8 > #8 0x81a198bc in run_update_beacon (vap=0xf8000e8dd000, > item=2) > at /usr/src/sys/modules/usb/run/../../../de

Re: FreeBSD 10.0: hostapd crash with Ralink 3070

2014-01-28 Thread Pedro Flynn
Just to bring to our attention frame 8: (kgdb) frame 8 #8 0x81a198bc in run_update_beacon (vap=0xf8000e8dd000, item=2) at /usr/src/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:3974 3974 ieee80211_beacon_update(vap->iv_bss, &rvp->bo, rvp->beacon_mbuf, mcast); Current language

Re: FreeBSD 10.0: hostapd crash with Ralink 3070

2014-01-28 Thread Adrian Chadd
Right, frame 8 (the run beacon update) is passing a NULL mbuf into net80211. Why's it doing that. -a On 28 January 2014 15:02, Pedro Flynn wrote: > Here we go (this output is not beautiful...). Please, let me know if I > missed something or if I did something wrong: > > bt output: > > #0 doa

Re: FreeBSD 10.0: hostapd crash with Ralink 3070

2014-01-28 Thread Pedro Flynn
Here we go (this output is not beautiful...). Please, let me know if I missed something or if I did something wrong: bt output: #0 doadump (textdump=) at pcpu.h:219 #1 0x808af530 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:447 #2 0x808af8f4 in panic (fmt

Re: FreeBSD 10.0: hostapd crash with Ralink 3070

2014-01-28 Thread Adrian Chadd
ok, do 'bt', and see what's being passed into ieee80211_beacon_update. Use 'frame X' to switch to frame X, and 'print VARIABLE_NAME' to print out the contents of the given variable name. That mbuf looks like it's NULL, which is odd. Thanks! -a On 28 January 2014 14:45, Pedro Flynn wrote: > O

Re: FreeBSD 10.0: hostapd crash with Ralink 3070

2014-01-28 Thread Pedro Flynn
OK! This is what I have: list * (0x809b1163) Undefined command: "". Try "help". (kgdb) list * (0x809b1163) 0x809b1163 is in ieee80211_beacon_update (/usr/src/sys/net80211/ieee80211_output.c:3099). 3094 /* XXX do WME aggressive mode processing? */ 3095 IEEE80211_UNLOCK(ic);

Re: FreeBSD 10.0: hostapd crash with Ralink 3070

2014-01-28 Thread Adrian Chadd
Ok, fire up kgdb # kgdb /boot/kernel/kernel /var/crash/vmcore.0 then (gdb) list * (0x809b1163) (.. that's the "instruction pointer" at the time of the panic.) I bet it's iv_bss. -a ___ freebsd-wireless@freebsd.org mailing list http://lists

Re: FreeBSD 10.0: hostapd crash with Ralink 3070

2014-01-28 Thread Pedro Flynn
Hi Adrian. Yes. There is a core.txt.0 file. I uploaded it to the folder. Thanks! pflynn On Tue, Jan 28, 2014 at 8:23 PM, Adrian Chadd wrote: > Hi, > > Did it create a crash .txt file? If so, that's mostly enough to go on. > Can you just attach that to a post to the mailing list? > > > -a > >

Re: FreeBSD 10.0: hostapd crash with Ralink 3070

2014-01-28 Thread Adrian Chadd
Hi, Did it create a crash .txt file? If so, that's mostly enough to go on. Can you just attach that to a post to the mailing list? -a On 28 January 2014 13:26, Pedro Flynn wrote: > Hi! > > I generated the crash dump and uploaded the image to a public folder on > Google Drive. This is the link

Re: FreeBSD 10.0: hostapd crash with Ralink 3070

2014-01-28 Thread Pedro Flynn
Hi! I generated the crash dump and uploaded the image to a public folder on Google Drive. This is the link to the folder: https://drive.google.com/folderview?id=0B0sVwxI7RI7oc3R2bjVQR0pXWG8&usp=sharing the image is xz compressed and the uncompressed size is 161 MB. I also put the uname -a output

Fwd: FreeBSD 10.0: hostapd crash with Ralink 3070

2014-01-28 Thread Pedro Flynn
Hi Adrian, This morning I installed 10.0-RELEASE on a second machine (I had to rollback my router to 9.2) with the same hardware with dumpdev set to YES in rc.conf. I will generate the crashdump as soon as I get home. Thanks, pflynn On Tue, Jan 28, 2014 at 2:11 PM, Adrian Chadd wrote: >

Re: FreeBSD 10.0: hostapd crash with Ralink 3070

2014-01-28 Thread Adrian Chadd
Do you get a crashdump that you can feed into kgdb upon reboot? If not, would you mind enabling crashdumps? -a On 28 January 2014 02:57, Pedro Flynn wrote: > (sorry - this reply was sent only to Hiren. Here is it for the list) > > > Hi Hiren, > > this is what I get immediately after starting

Fwd: FreeBSD 10.0: hostapd crash with Ralink 3070

2014-01-28 Thread Pedro Flynn
(sorry - this reply was sent only to Hiren. Here is it for the list) Hi Hiren, this is what I get immediately after starting hostapd - via "service hostapd onestart", since I need to do it manually as the system will reboot in loop if I enable hostapd in rc.conf): KDB: stack backtrace #0 0x

Re: FreeBSD 10.0: hostapd crash with Ralink 3070

2014-01-27 Thread hiren panchasara
On Mon, Jan 27, 2014 at 2:16 PM, Pedro Flynn wrote: > I can provide information as needed. Sharing lots of kernel debug messages that you are seeing might be a good start :-) cheers, Hiren ___ freebsd-wireless@freebsd.org mailing list http://lists.fre

FreeBSD 10.0: hostapd crash with Ralink 3070

2014-01-27 Thread Pedro Flynn
Hi, I have a FreeBSD home router and I use a Ralink 3070 USB device (driver: run) as the WiFi interface. Everything was fine until I upgraded from 9.2 to 10.0-RELEASE (amd64) today (fresh install). I'm using the same configuration files that I was using for everything, but this time hostapd cr