rt2x00.serialmonkey.com

Support forum for the rt2x00 project
It is currently Wed May 22, 2013 10:03 am

All times are UTC


Forum rules


Important: Read Project restructuring announcement regarding the pending removal of the legacy drivers from this project.



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
PostPosted: Wed Aug 15, 2007 3:20 pm 
Offline

Joined: Wed Aug 15, 2007 2:44 pm
Posts: 3
Hi,

My Sitecom WL-115 rt2500 based wifi card and the Serialmonkey rt2500 drivers kept crashing my kernel as soon as I tried to connect to some random website. After many futile attempts to get it to work I thought I could at least try to compile the driver in debug mode and see if something interesting would appear in the log files. So I recompiled the latest rt2500 CVS release, loaded the module using "insmod rt2500 debug=31" and fired up a webbrowser expecting it to crash immediately as always. This time however it didn't crash and everything kept working fine! Then I removed the module from the kernel and loaded it again, this time with just "insmod rt2500". And yes, as soon as I tried to connect to a website the kernel crashed. After this I configured my system to always load the rt2500 module with "debug=31" and it has been running rock-stable since then.

Now the only problem that was left was the fact that the file /var/log/debug would become very large as time progressed, which I "solved" by making /var/log/debug a symlink to /dev/null.

Well, since everything works perfectly now I am happy but I am still wondering if there's some rational explanation for the fact that the driver crashes my kernel in "normal" mode and that it doesn't crash in debug mode. Any thoughts?

Thanks in advance! :)

Oh, I almost forgot to mention the system's specifications:

Slackware 11.0 with kernel 2.4.33.3 (had this driver crash on the same machine using Gentoo and a 2.6 kernel also, so it seems kernel-unrelated, but I never tried to run in debug mode when I had still Gentoo on it)
AMD K6-2 300 MHz
192 MB RAM, nVidia TNT2 video card, some unknown motherboard (has no markings whatsoever, uses a "AGPPro PC100" chipset)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 15, 2007 4:31 pm 
Offline
User avatar

Joined: Sat Jan 14, 2006 6:29 pm
Posts: 897
Location: Carlsbad, California
Hi Kipmans,

Could you try getting an oops trace?

1. mobprobe rt2500; klogd -i
2. Do your stuff until the crash
3. Reboot and find the oops (if there is one) in /var/log/kern.log
4. Run ksymoops on it (see /var/log/ksymoops)
5. Post results here.

Thanks,


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 16, 2007 6:38 pm 
Offline

Joined: Wed Aug 15, 2007 2:44 pm
Posts: 3
Well, I looked in various places for oopses but couldn't find any. Also, I more or less trashed my entire Slackware install when trying to upgrade to a 2.6 kernel (which I did for various reasons) so I have to reinstall everything before I can collect any more info if necessary.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 16, 2007 7:41 pm 
Offline
User avatar

Joined: Sat Jan 14, 2006 6:29 pm
Posts: 897
Location: Carlsbad, California
Hi Kipmans,

I know the feeling. My own upgrade from Sarge to Etch was pretty much a disaster. Still is in some ways.

Well, when you get things sorted to your satisfaction, see what the situation is with the driver.

Good luck,


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 17, 2007 7:53 pm 
Offline

Joined: Wed Aug 15, 2007 2:44 pm
Posts: 3
Hi,

My system's working again, now running nicely with Slackware 12.0 and a 2.6.21.5 kernel. The situation with the driver is still the same: crashes when loaded without "debug=31" but runs fine otherwise. I let it crash deliberately for several times and searched for information in my system's log files but I haven't been able to find something related to the crashes yet.

By the way, I just remembered that I used to have a problem very similar to this (system locks up when trying to use the network) on my other comp, which was caused by a faulty cheap RTL8139-based NIC.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 18, 2007 1:06 am 
Offline
User avatar

Joined: Sat Jan 14, 2006 6:29 pm
Posts: 897
Location: Carlsbad, California
Kipmans wrote:
By the way, I just remembered that I used to have a problem very similar to this (system locks up when trying to use the network) on my other comp, which was caused by a faulty cheap RTL8139-based NIC.

When I got my own adapter - a PCI- based MSI 54G2 - I went through a couple of months of crashes, nested ISR failures, etc. Pushing code around would change symptoms, but there was never a fix.

Finally, I removed the board, aired out the PCI slot, cleaned the contacts and reseated it.

Everything has worked fine ever since.

So you might try that. Get a can of compressed air, contact cleaner, and a lint free cloth (coffee filters work fine). Remove the board, clean the adapter and bus contacts, reseat it, and see what happens.

Good luck,


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 20, 2008 11:26 pm 
Offline

Joined: Wed Feb 20, 2008 11:20 pm
Posts: 1
Hi people.

I have exactly the same problem here. And solved it, for the moment,
using the same trick, recompile with debugging, and modprobing
with debug=31 (and redirecting the /var/log/debug)

If there has been some change, I'd like to hear from it!

Thanks.
John


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 20, 2008 11:41 pm 
Offline
User avatar

Joined: Sat Jan 14, 2006 6:29 pm
Posts: 897
Location: Carlsbad, California
Hi johncc,

Could you try getting an oops trace?

1. mobprobe rt2500; klogd -i
2. Do your stuff until the crash
3. Reboot and find the oops (if there is one) in /var/log/kern.log
4. Run ksymoops on it (see /var/log/ksymoops)
5. Post results here.

Thanks,


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group