Run0 device hangs/reboots pfsense box when active
-
Thank you wallabybob for supplying me the directions to solve my problem. The first thing I have done was to reset my current interfaces configuration using Shell console. I know, now it is the time to assign the WiFi interface as OPTx, but what are the next steps. I usually have no need to ask a pity to myself, but since I am MS sick I do so.
Thank you wallabybob anyway. -
I know, now it is the time to assign the WiFi interface as OPTx, but what are the next steps.
Pretty much what I described in my previous reply but you don't need to remove the OPTx interface from the bridge.
-
Is the wireless mode of the run0 device Access Point or Infrastructure? If I recall correctly, Infrastructure mode is broken in the FreeBSD 8.x (x =1 or 3, probably others as well) driver for run devices.
Hi all, I'm new here! Got the same problem with run0.
My device is a Linksys WUSB100:
run0: <cisco-linksys 0="" 2="" llc="" linksys="" wusb100="" rangeplus="" wireless="" usb="" adapter,="" class="" 0,="" rev="" 2.00="" 1.01,="" addr="">on usbus3 run0: MAC/BBP RT2860 (rev 0x0102), RF RT2720 (MIMO 1T2R), address 00:1e:e5:df:5e:84 run0: firmware RT2870 loaded</cisco-linksys>
As you say, there is a bug in the Ralink driver in FreeBSD 8.x that has been patched in further versions. More info here and here. So I don't think that removing the interface from the bridge would make sense.
There are some updated versions of this driver, where new devices has been added, but the bug seems not to have been fixed.
I'm currently trying to get a build environment where I can mix up the (latest?) version of if_run.c with the patched one. Just following these instructions and stealing some sleep time ;D. Since there is not too much documentation, I have decided to join the forum and will try to get success with your help.
Thank you all
-
There are some updated versions of this driver, where new devices has been added, but the bug seems not to have been fixed.
Where are the updated versions that don't have the bug fixed?
-
There are some updated versions of this driver, where new devices has been added, but the bug seems not to have been fixed.
Where are the updated versions that don't have the bug fixed?
Here is the latest one for 8.3 dated on 03-2012.
The bug "page fault caused by referring freed node" detected on 2011 seems not to be fixed in that version. Look at run_drain_fifo starting at line 2226 and compare with the same function on this version at line 2242.
Please, let me know if I'm going wrong…
Thanks!
-
Ah, exactly as I thought - it is not a configuration problem, but the driver related.
-
I hope I got it!
[2.1-RC1][root@pfsense.ibernetica.com]/root(3): uname -a FreeBSD pfsense.ibernetica.com 8.3-RELEASE-p10 FreeBSD 8.3-RELEASE-p10 #1: Thu Sep 5 14:04:16 CEST 2013 root@freebsd.ibernetica.com:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.8 amd64 [[/code] I've just patched the driver, built and installed my fixed kernel. Now testing... ;D
-
Whoa man, you almost make my day ;D
-
Since it is the driver from Akinori Furukoshi it should be configured in different way thru wlan0 device. Gonna make some digging in that way.
-
I had nothing but problems when I used a Ralink usb adapter. My Alix box would constantly reboot randomly. Once I removed it and used an external AP everything went back to normal.
-
Well, I understand you, but the question is - should we continue to try the driver or abandon it as non-useable ? I think I'll contact the author for some clarification.
Thank you for your answer. -
Well, I understand you, but the question is - should we continue to try the driver or abandon it as non-useable ? I think I'll contact the author for some clarification.
Thank you for your answer.Sorry, my comment came out the wrong way, but reading this thread reminded me all the frustration that thing caused me ;) . If the problem is in fact a buggy driver, it would be great if it could be fixed and eventually included in 2.1. The Ralink USB adapters are a very cheap and easy way to add wifi to Alix and similar hardware.
-
-
The Ralink USB adapters are a very cheap and easy way to add wifi to Alix and similar hardware.
No offense, but adding something like this to your Alix is about zillion times better than using some Ralink USB junk.
+1 - I have a couple of Alix in remote places with an Atheros WiFi card inside. The card is a bit more expensive than a separate WiFi box, but it saves power for a separate box… Can be simpler for remote/small office installs.
-
Oh, yeah ! Finally !!!
The reply from the author of the driverHello,
This bug was fixed about a couple of years ago.
http://www.freebsd.org/cgi/query-pr.cgi?pr=153938&cat=But, it did not backported to FreeBSD 8.* If pfsense does not use
freebsd 9.0 or newer release, the patch need to be applied manually to
pfsense's src tree.AK
-
P.S. Maybe someone will open a ticket for the issue ?
-
You can open a ticket yourself on RedMine. However, if it is already fixed in FreeBSD 9 and later, then it will just fix itself for pfSense 2.2 on FreeBSD 10.