LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-20-2010, 05:33 PM   #1
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Realtek rtl8192u driver locks up system (Puppy 4.3.0, fresh install)


Hi, all. I've got a Puppy system running version 4.3.0 that I'm trying to get on the home network. I'm using a D-Link DWA-130 (H/W revision C), which has a Realtek RTL8192U chipset. I got the drivers off of D-Link's website, and they compiled and installed just fine, but when either a) I try to connect to the network, or b) while I'm browsing the web, the system locks up completely. No mouse, no keyboard, no Ctrl-Alt-Bksp to get out of X, nothing.

I'll outline my steps:
  • Install Puppy using a "Full" HDD install (not "Frugal").
  • Copy the "devx_430.sfs" file (which I got from the Puppy website) from a thumb drive to the "my-documents" folder (although the exact location proabably doesn't matter).
  • Mount it, cd to the mounted directory and execute "cp -a --remove-destination ./* /" and "sync".
  • Copy the kernel source for 2.6.30.5 ("kernel_src-2.6.30.5-patched.sfs4.sfs") to the same directory.
  • Mount it and execute the same commands as before.
  • Copy the folder containing the RTL8192U drivers ("rtl8192u_linux_2.6.0006.1031.2008") to the root directory (i.e. "/").
  • cd to the folder in the terminal and run "make", "make install".
  • Reboot the machine.
  • Set up networking using the Puppy Internet Connection Wizard.
  • HERE'S WHERE IT SCREWS UP: It connects, but after a while (e.g. just after logging into LQ through it, as a test) it freezes the entire system.

I have to do a hard reboot ("panic button"), then a soft reboot (for some odd reason the usb module won't load after a hard reboot, so the mouse won't work) to get the system working again, only to have it lock up again once it connects to the network.

Are these drivers broken? Outdated? Is there anything I can do to fix this?

EDIT: I should add that this only occurs when the adapter is plugged in. If I boot the system with it unplugged, it works fine (probably because it never loads the kernel module).

Last edited by MrCode; 01-21-2010 at 06:17 PM. Reason: removed sig, to save page space
 
Old 01-20-2010, 11:02 PM   #2
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864

Original Poster
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Anyone? Is this in the wrong forum?

Last edited by MrCode; 01-21-2010 at 06:17 PM. Reason: removed sig, to save page space
 
Old 01-21-2010, 03:42 PM   #3
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864

Original Poster
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
UPDATE: Maybe this could be a hardware issue? The unit is a little warm when I unplug it. I'm not seeing anything significant in the logs (unless there's something important that gets written RIGHT when it freezes, and it gets erased when I hard-reboot )

EDIT: It seems that the whole system doesn't freeze, it's just the mouse/kbd that won't work. I dropped down to console before it had a chance to freeze, and when it "froze", the cursor in the console was still blinking, but I had no keyboard input.

EDIT of EDIT: Scratch that. I ran a "cat /dev/urandom" while waiting for it to freeze and it died (screen frozen, PC speaker going "eeeeeeeeee..."), presumably while attempting to connect to the network.

I'm still quite stumped as to why this is happening, though.

Last edited by MrCode; 01-21-2010 at 06:17 PM. Reason: removed sig, to save page space
 
Old 01-21-2010, 06:15 PM   #4
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864

Original Poster
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
I apologize for all the bumps, but I'm really having a hard time with this. I've Googled everything I can think of and the only relevant thing I can find is my own post...should I just bite the bullet and try getting a new adapter?

Last edited by MrCode; 01-21-2010 at 06:16 PM. Reason: removed sig, to save page space
 
Old 01-21-2010, 08:15 PM   #5
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
How we can know what is going on in your computer.
There is a directory: /var/log. And where are some log files.
Please examine them carefully.

May be you will find some clue - what is happening.
 
Old 01-21-2010, 09:09 PM   #6
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864

Original Poster
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Quote:
There is a directory: /var/log. And where are some log files.
I know about the log files. Unfortunately I can't get the log files from the system directly (I can't seem to get it to cat /var/log/messages to my thumb drive properly just before it locks up), but I suppose I can manually post the last portion that I can see from the terminal just before it locks up:

Code:
Jan 21 21:54:13 (none) local0.debug dhcpcd[5001]: wlan0: sending DHCP_DISCOVER with xid 0x4d1dfc54
Jan 21 21:54:16 (none) local0.debug dhcpcd[5001]: wlan0: sending DHCP_DISCOVER with xid 0x4d1dfc54
Jan 21 21:54:19 (none) local0.debug dhcpcd[5001]: wlan0: sending DHCP_DISCOVER with xid 0x4d1dfc54
Jan 21 21:54:22 (none) local0.debug dhcpcd[5001]: wlan0: sending DHCP_DISCOVER with xid 0x4d1dfc54
Jan 21 21:54:25 (none) local0.debug dhcpcd[5001]: wlan0: sending DHCP_DISCOVER with xid 0x4d1dfc54
Jan 21 21:54:28 (none) local0.debug dhcpcd[5001]: wlan0: sending DHCP_DISCOVER with xid 0x4d1dfc54
Jan 21 21:54:30 (none) local0.debug dhcpcd[5001]: wlan0: sending ARP probe #1
Jan 21 21:54:30 (none) local0.debug dhcpcd[5001]: wlan0: sending ARP probe #2
Jan 21 21:54:30 (none) local0.debug dhcpcd[5001]: wlan0: sending ARP probe #3
Jan 21 21:54:30 (none) local0.debug dhcpcd[5001]: wlan0: sending ARP claim #1
Jan 21 21:54:31 (none) local0.debug dhcpcd[5001]: wlan0: sending ARP claim #2
Jan 21 21:54:31 (none) local0.info dhcpcd[5001]: wlan0: adding IP address xxx.xxx.xxx.xxx/xx
Jan 21 21:54:31 (none) local0.debug dhcpcd[5001]: wlan0: no dns information to write
Jan 21 21:54:31 (none) local0.debug dhcpcd[5001]: wlan0: exec "/etc/dhcpcd.sh" "/var/lib/dhcpcd/dhcpcd-wlan0.info" "up"
Jan 21 21:54:31 (none) local0.debug dhcpcd[5001]: wlan0: waiting on selecto for 10 seconds
Jan 21 21:54:41 (none) local0.debug dhcpcd[5001]: wlan0: sending DHCP_DISCOVER with xid 0x176940e7
Jan 21 21:54:41 (none) local0.debug dhcpcd[5001]: wlan0: waiting on select for 20 seconds
This is all I could get before the system froze on me. I hope it's enough... I don't see anything in there that would indicate a hardware problem, but maybe I wouldn't, simply because it's a hardware problem...?

I'm sorry if I seem impatient...I hope I'm not being too annoying

Thank you for the response, btw!

Last edited by MrCode; 01-21-2010 at 09:10 PM.
 
Old 01-21-2010, 09:21 PM   #7
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Ok, I don't understand this "I can't get the log files from the system directly", you can do it under root.
And that file has time stamps, so you can figure out, when you rebooted.

So reboot, and after you plug your dongle and be able to go online,
type "dhcpcd -x wlan0"

Check after with ps -A| grep dhcpcd, if you really kill it, if not kill it with "kill"
May be this helps.
 
Old 01-21-2010, 09:51 PM   #8
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864

Original Poster
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Quote:
Ok, I don't understand this "I can't get the log files from the system directly", you can do it under root.
It's not that I don't have priveleges to access the log files (in Puppy, you're root by default), it's that I really can't get the whole thing. What I'm trying to do is see if there's anything written to the log file literally right before the system freezes, and I can't time the writing of the file properly to match the freezing of the system, because it seems unpredictable to me (yes, I'm actually trying to do it by simply issuing "cat /var/log/messages > /mnt/sdb1/messages.txt", which exists on the thumb drive). When I tried to access the log file on this machine (cat /media/PORTABLE/messages.txt), I got some of the file, and an "unexpected I/O error". I'm guessing it screwed up writing the file because it locked up during the file writing process.

Quote:
So reboot, and after you plug your dongle and be able to go online,
type "dhcpcd -x wlan0"
At this point I can't even get online. It acts like it's connecting to the network (acquiring an IP address by the looks of what little log info I posted above; it does this automatically), then it simply dies...no mouse, no keyboard, display frozen (whether in X or console).

This is seeming more and more like a hardware issue to me, but I'm still undecided.

Either that, or I must be doing something really stupid, but I don't know what that is...

Again, I apologize if I seem rude...I'm not trying to be.

Last edited by MrCode; 01-21-2010 at 09:58 PM.
 
Old 01-21-2010, 10:14 PM   #9
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
What do you use to connect to internet? Network manager?

After you reboot, please type "lsmod" and save it, then plug your wireless and type again "lsmod", compare them, what new was loaded?

As soon as you connect you wireless type "dmesg | tail -n 100". Do not post output it directly here, post it to
http://pastebin.com/, post here a URL to pastebin page.

Thanks
 
Old 01-21-2010, 10:56 PM   #10
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864

Original Poster
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Quote:
What do you use to connect to internet? Network manager?
I'm using the Puppy Internet Connection Wizard, which I think is just a GTK frontend to the standard network interfaces (iwconfig, dhcpcd, etc.)

Here are the modules that are loaded only when the wireless adapter is plugged in:

Code:
r8192_usb             157712  0 
ieee80211_rsl         133744  1 r8192_usb
ieee80211_crypt_wep_rsl     3916  1 ieee80211_rsl
ieee80211_crypt_tkip_rsl     9356  1 ieee80211_rsl
ieee80211_crypt_ccmp_rsl     6284  1 ieee80211_rsl
ieee80211_crypt_rsl     4944  4 ieee80211_rsl,ieee80211_crypt_wep_rsl,ieee80211_crypt_tkip_rsl,ieee80211_crypt_ccmp_rsl
And here's the dmesg output for when I try to connect:

Pastebin entry

The machine froze just after getting this output, so I hope it gets close enough to the problem.

Some more info (in case it's needed ): My network is using WPA encryption (according to the router settings, clients can either use WPA-TKIP or WPA2-AES), and the adapter supposedly supports both WPA and WPA2 encryption, but there was a dialog in the initial setup that was telling me that it didn't detect WPA support. Maybe the driver doesn't support WPA/WPA2?
 
Old 01-21-2010, 11:06 PM   #11
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Can you turn off encryption, just for the test, because according to your log wireless was successfully associated.

And you know I do not see anything unusual.
 
Old 01-21-2010, 11:15 PM   #12
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864

Original Poster
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Quote:
Can you turn off encryption, just for the test
I'll see if I can try that tomorrow; it's getting late here, and right now I think I'll just leave it alone for the time being -- too much headache!

Quote:
And you know I do not see anything unusual.
Neither did I...which is why I'm starting to think it could be that the adapter is defective.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fresh Puppy 4.2 install - gateway ? d1l2w3 Puppy 1 04-27-2009 06:53 AM
I can't install realtek r8101e driver - help me.. princeranjith Linux - Newbie 1 03-31-2009 02:24 AM
Changed Video Driver.. system locks!! Help crypter Fedora 10 03-03-2006 08:20 PM
Fresh Debian install locks while starting up Imek Debian 1 10-02-2004 07:36 AM
Driver Issues after fresh install kysen Debian 1 04-16-2004 01:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration