You are not logged in.

#1 2010-11-09 08:49:55

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Putting IPW 4965AGN into monitor mode causes kernel panic

I have been trying of the past few days to set up a monitor interface on my laptop and desktop (the former having an IPW 4965 card, the latter a Ralink RT2500 card).

I have followed the Aircrack-ng tutorial for the iwlagn drivers, built the compat-wireless-aircrack package from the AUR with the latest stable compat-wireless release for 2.6.36 (which was rc5-c-2 or something yesterday). I made sure the new iwlagn modules from the updates subdir are being loaded.

Both with the 2.6.36 stock drivers and the compat-wireless drivers, each attempt to put the IPW4965 into monitor mode:

airmon-ng start wlan0

This results a kernel panic (with some LEDs happily blinking). IPW4965 *should* support monitor mode (success reports going as far back as 2008 on the aircrack-ng forums for example).

I found out putting the card into monitor mode works just fine, the kernel panic occurs when the card is being brought up again:

# ifconfig wlan0 down
# iwconfig wlan0 mode monitor
# ifconfig wlan0 up <- kernel panic ahoy

I have tested the same combination (2.6.36 + compat-wireless) on my desktop, with the rt2500 card, and there it will just lock up hard - sometimes while trying to put the card into monitor mode, sometimes just seconds after.

The trace printed onscreen is a bit different every time and I don't know how to save it (besides writing it all down...). Since I saw 'unknown boot parameter' somewhere, I booted my system without any boot parameters at all, but that didn't produce any different behaviour - just another kernel panic. That kind of boot parameter message seems to pop up irregularly in the trace, so it doesn't seem to be a reliable indicator anyway, but it was worth a try.

I'd appreciate any pointers, if only success reports that some people do have it working.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#2 2010-11-09 08:54:44

simongmzlj
Member
From: Canada
Registered: 2008-11-06
Posts: 135

Re: Putting IPW 4965AGN into monitor mode causes kernel panic

Have you tried bumping up the version of compat-wireless-aircrack package? The package is out of date, its building modules from 2.6.35.

Offline

#3 2010-11-09 09:25:20

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Putting IPW 4965AGN into monitor mode causes kernel panic

I adapted the PKGBUILD for 2.6.36 smile.

Edit: I found a similar topic on this BBS, but no real solutions there either, and that's with an older kernel. I am curious to see how it would work out with a vanilla kernel, but I can't test that yet...


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2010-11-10 06:49:08

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Putting IPW 4965AGN into monitor mode causes kernel panic

Okay - I can confirm the 2.6.32-lts kernel - which is completely vanilla - allows me to create a monitor interface with my wireless card. I'll try tonight with vanilla 2.6.35.8 and 2.6.36 - kernel versions resp. in [core] and in [testing]. Surely looks like it's something in our kernel26 packages that messes up though smile.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2010-11-10 18:32:40

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Putting IPW 4965AGN into monitor mode causes kernel panic

And another bump... 2.6.36 vanilla shows the same kernel panic, so it's back to square one.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2010-11-10 20:18:27

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Putting IPW 4965AGN into monitor mode causes kernel panic

And another one: building compat-wireless against 2.6.35.8 works fine, so the problem lies with upstream 2.6.36 somewhere (or the Arch Linux kernel config). Not solved, but hey, I have a workaround, so I'm happy big_smile.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#7 2010-11-13 08:13:09

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Putting IPW 4965AGN into monitor mode causes kernel panic

And flysprayed, one never knows smile.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#8 2010-11-22 01:13:32

goll
Member
From: Croatia
Registered: 2007-10-29
Posts: 50

Re: Putting IPW 4965AGN into monitor mode causes kernel panic

.:B:. : Could you please share your successful PKGBUILD?

I ran into your same problem using the compat-wireless-patched package:

http://aur.archlinux.org/packages.php?ID=41472

I have core, extra and community enabled. For these purposes I installed kernel-2.6.36-3 and kernel-headers-2.6.36-3 from the testing repo.

Wireless works fine, but as soon as i try to use airmon-ng start wlan0 I get the unpleasant kernel panic hmm

Offline

#9 2010-11-27 01:04:33

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

Re: Putting IPW 4965AGN into monitor mode causes kernel panic

goll wrote:

.:B:. : Could you please share your successful PKGBUILD?

I ran into your same problem using the compat-wireless-patched package:

http://aur.archlinux.org/packages.php?ID=41472

I have core, extra and community enabled. For these purposes I installed kernel-2.6.36-3 and kernel-headers-2.6.36-3 from the testing repo.

Wireless works fine, but as soon as i try to use airmon-ng start wlan0 I get the unpleasant kernel panic hmm

Same here after upgrade kernel26... kernel panic with airmon-ng start wlan0

Offline

#10 2010-11-27 10:32:35

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Putting IPW 4965AGN into monitor mode causes kernel panic

goll wrote:

.:B:. : Could you please share your successful PKGBUILD?

I ran into your same problem using the compat-wireless-patched package:

http://aur.archlinux.org/packages.php?ID=41472

I have core, extra and community enabled. For these purposes I installed kernel-2.6.36-3 and kernel-headers-2.6.36-3 from the testing repo.

Wireless works fine, but as soon as i try to use airmon-ng start wlan0 I get the unpleasant kernel panic hmm

The thing is, just any 2.6.36 kernel I tried breaks when the wireless is put into monitor mode and brought up. For now I have blacklisted the kernel upgrade; if you need monitor mode, you should stick with 2.6.35.8. I haven't had the time yet to test our latest 2.6.36.1 package myself but the bug report suggests the problem still persists.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#11 2010-11-27 13:23:24

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

Re: Putting IPW 4965AGN into monitor mode causes kernel panic

Thanks B! After post my previus message I see this thread is under TESTING and now kernel2.6.36 is in  core... my fault

Offline

#12 2010-11-27 18:55:18

TigTex
Member
From: Portugal
Registered: 2008-06-19
Posts: 301

Re: Putting IPW 4965AGN into monitor mode causes kernel panic

I also have problems with monitor mode...

If I put my alfa (RTL8187L) in monitor mode, I have a not_so_nice kernel panic with 2.6.36.1... Upstream bug maybe?


.::. TigTex @ Portugal .::.

Offline

#13 2010-11-27 22:58:10

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Putting IPW 4965AGN into monitor mode causes kernel panic

TigTex: please confirm by commenting on the bug report. It looks like a problem all across the Linux wireless board.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#14 2010-11-30 16:04:08

NastX
Member
Registered: 2010-11-30
Posts: 1

Re: Putting IPW 4965AGN into monitor mode causes kernel panic

If you need some Logs:

In there Kernel Crashlog, Dmesg, Lspci

https://bugzilla.kernel.org/show_bug.cgi?id=23852

Offline

#15 2010-12-09 13:17:55

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: Putting IPW 4965AGN into monitor mode causes kernel panic

I have the same problem with vanilla 2.6.7-rc4,rc5.
I tried latest compat wireless, same thing.

Offline

#16 2010-12-09 17:49:13

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Putting IPW 4965AGN into monitor mode causes kernel panic

We confirmed it's a general problem, patch is supposed to go into 2.6.37. If you want the fix now, please read the bug report, and rebuild your kernel.

The problem has been solved, this thread has served its purpose, time for a lock.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB