View previous topic :: View next topic |
Author |
Message |
sbastion n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/646228834413cdfa7b66fd.jpg)
Joined: 31 Aug 2004 Posts: 20 Location: /home
|
Posted: Tue Sep 07, 2004 2:38 am Post subject: Badness in local_bh_enable at kernel/softirq.c:136 |
|
|
Code: | ACPI: PCI interrupt 0000:00:09.0[A] -> GSI 11 (level, low) -> IRQ 11
Badness in local_bh_enable at kernel/softirq.c:136
[<c032e270>] pfifo_fast_enqueue+0x0/0x90
[<c01210c5>] local_bh_enable+0x85/0x90
[<c03217c9>] dev_queue_xmit+0x239/0x2f0
[<c037c872>] packet_sendmsg_spkt+0x182/0x200
[<c0318145>] sock_sendmsg+0xa5/0xc0
[<c013b140>] do_generic_mapping_read+0x260/0x4c0
[<c013ed35>] buffered_rmqueue+0xf5/0x1d0
[<c020dba2>] copy_from_user+0x52/0xb0
[<c0317bb7>] move_addr_to_kernel+0x37/0x50
[<c0319853>] sys_sendto+0xe3/0x100
[<c016b770>] __pollwait+0x0/0xd0
[<c020dba2>] copy_from_user+0x52/0xb0
[<c031a159>] sys_socketcall+0x189/0x260
[<c0106107>] syscall_call+0x7/0xb
|
I've seen others with this message, but no solutions. 'dmesg' shows this right after I modprobe the module for my built-in wireless card. I've also noticed very bad performance by the card under linux, freezing my system for 1-2 seconds each time it has to communicate over the wlan (horrible for surfing). I'm guessing the two issues are related.. I'm using kernel 2.6.8.1 vanilla, with a Ralink rt2500 card, and kernel module compiled from the source provided by ralink. I posted a similar thread in the network forum before I noticed these messages from dmesg. Any help would be appreciated, no wireless = no linux, and I don't like windows ![Wink :wink:](images/smiles/icon_wink.gif) _________________ Bastion |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
minister n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Mar 2004 Posts: 2 Location: Karlsruhe/Germany
|
Posted: Tue Sep 07, 2004 9:38 pm Post subject: |
|
|
Check out this posting I made in the Ralink Forum ( http://61.222.76.235/phpbb2/viewtopic.php?t=13) earlier today.
Some smart guys found out how to work around the problem, and I wrote this little how-to based on that information - In short: Just comment out the line that complains (kernel/softirc.c) and be happy. I experienced the same problem and solved it this way - no warranty that it works for you!
It seems the speed problems you describe are simply from writing so much into /var/log/messages all the time. It might be a good idea to cat /dev/null > /var/log/messages after this to save diskspace.
The steps may bei somehow too easy for gentoo users - half of the text would have been enough. Good Luck!
To make the "patch your kernel" thing clear to everyone (hopefully Smile )
1.) go to your kernel sources dir
Code: | # cd /usr/src/linux |
2.) edit the kernel/softirq.c file
Code: | # nano kernel/softirc.c | // (or use your favorite text editor)
3.) find line 136 which says Code: | WARN_ON(irqs_disabled()); |
(in nano, you can use ctrl+c to see your current position in the file)
4.) comment out the line
Code: | /* WARN_ON(irqs_disabled()); */ |
5.) Save the file (ctrl+o) and quit (ctrl+x)
6.) recompile the kernel
6.5) install the modules //to lazy to change all numbers
Code: | # make modules_install |
7.) install the kernel - copy it to the location you specify in your boot managers config
8.) reboot
9.) Enjoy, if this solved your problem, or bite your desktop (the real one, german saying) if it persists Smile
10.) Anyway, feel like a really l33t kernel hacker and apply at redhat or suse for a new job.
THANKS A LOT and RESPECT to those who found out about this in the RAlink Forum. [/code] _________________ # xmms http://sb2.mthn.net:8000 <--- Shouted Beats two (Trance, Techno) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sbastion n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/646228834413cdfa7b66fd.jpg)
Joined: 31 Aug 2004 Posts: 20 Location: /home
|
Posted: Wed Sep 08, 2004 2:13 am Post subject: |
|
|
Awesome, thanks for the tip and the ralink forum link! It turns out someone just found a fix today for the ralink driver, rather than editing the kernel source. _________________ Bastion |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|