News: This forum is now permanently frozen.
Pages: [1]
Topic: Bug in wireless  (Read 3585 times)
« on: February 06, 2014, 05:59:57 »
momothefox *
Posts: 49

m0n0wall 1.8.1
fresh installation
network setup.
OPT1 wlan0 bridged with LAN
DHCP relay to on LAN
"Mark" Disable Spoof Checking on bridge
"Mark" Enable Ralink USB wireless devices
firewall ruls allow any to any on all interfaces

Hardware IBM Desktop with tl-wn7200d which is the USB wifi

the bug is when running AP mode in wireless without security and surfing the net - data is flowing - and i go to my WLAN card utility and switch the network from SSID m0n0 to another one. or .
i disable the wireless card from the utility. m0n0wall panic and show error logs on VGA console

Fatal trap 12:page fault while in kernel mode
cpuid = 0; apic id =00
fault virtual address    = 0xc462a908
fault code                    = supervisor read, page not present
instruction pointer       = 0x20:0xc081249e
stack pointer               = 0x20:0xc087bc3c
frame pointer              = 0x20:0xc087bc68
code segment             = base 0x0, limit 0xfffff, type 0x1b
                                   = DPL 0, pres1, def32 1, gran 1
processor eflags         = interrupt enabled, resume, IOPL = 0
Current process          = 0 (run0 taskq)
trap number                = 12
panic: page fault
cpuid = 0
uptime: 1m17s
cannot dump. Device not defined or unavailable.
automatic reboot in 15 ........

i wonder if it is realy something or it is related to my hardware
m0n0 hardware or my laptop hardware or software

Mohammed Ismail
« Reply #1 on: February 07, 2014, 18:15:43 »
Lee Sharp *****
Posts: 517

A client connecting of disconnecting from the wireless should not crash your system.  Start by making sure your platform is sound.  Run memtext86+ for several passes as that will both test memory, and show problems in CPUs and power supplies.  If it is solid, and reproducible still, let us know.
« Reply #2 on: February 08, 2014, 09:06:52 »
momothefox *
Posts: 49

well, i could not do memtest86+ on that machine. So i took the HDD and USB wifi tl-wn7200d. to another machine, and it is still crashing.

by the way  
i did test that before on pfsense 2.x and it was crashing too. and i thought it might work on m0n0wall 1.8.x

this is my config.xml file

<?xml version="1.0"?>
         <descr>Default LAN -&gt; any</descr>
         <descr>Default IPsec VPN</descr>

« Last Edit: February 08, 2014, 09:13:33 by momothefox »

Mohammed Ismail
« Reply #3 on: February 08, 2014, 18:27:51 »
Lee Sharp *****
Posts: 517

I did some looking and could not find a tl-wn7200d but I did find a tl-wn7200nd, so is that what you have?

If so, I have seen some miss-detections of this card under Linux.

Still, it seems odd that this can crash the whole system.
« Reply #4 on: February 09, 2014, 07:36:26 »
momothefox *
Posts: 49

it is tl-wn7200nd ver 1.0, sorry for that.

it is working fine loding firmware fine.
run0 : <1.0> on usbus0
root mount waiting for: usbus0
run0: RT3070,RT3020
run0: firmare RT2870 ver 0.236 loaded

and it is saying in crash report
Current process          = 0 (run0 taskq)

so it leads me to this

so in
i cannot find "device runfw"
as it is needed by "run" to work. so it needs to be added to the kernel.
« Last Edit: February 09, 2014, 07:39:22 by momothefox »

Mohammed Ismail
« Reply #5 on: February 13, 2014, 00:51:05 »
brushedmoss ****
Posts: 446

your won't find

device runfw , we don't compile it directly into the kernel, we compile it as a kernel loadable module (so those that don't need it, don't load it !)

see the end of the line in the kernel config

makeoptions   MODULES_OVERRIDE="dummynet glxsb aesni padlock ipfw acpi if_tap if_vlan runfw"

to make this module load, you tick the box in the bottom of the advanced page  (System: Advanced setup)

Pages: [1]
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines