LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-11-2013, 08:25 AM   #1
JWallabea
LQ Newbie
 
Registered: Mar 2013
Posts: 10

Rep: Reputation: Disabled
Unhappy Back to having rlt r8169 network card problems


Earlier today my Ubuntu 12.04 connected to the internet for the first time (after days of trying0 and was halfway through updating itself when the power got turned off!

The restarted computer did not connect to the internet, and the r8169 was back in the kernel. I had found the instructions here - http://unixblogger.wordpress.com/201...ethernet-card/ - helpful, although that was written for the 11.10 version. Also even though the system was working, I hadn't been able to get every step to work. But I tried it again.

The result of putting lspci -v in the terminal included:

"kernal driver in use is r8168"

, which is what I want, but also

"kernel modules: r8168, r8169"

(and I don't want the r8169 in there).

when I did

mkinitramfs -o /boot/initrd.img-`uname -r` `uname -r`
the read out was:

"grep: /boot/config-uname: No such file or directory
WARNING: missing /lib/modules/uname -r
Device driver support needs thus be built-in linux image!
FATAL: modules must be specified using absolute paths.
"uname" is a relative path.
FATAL: Could not load /lib/modules/uname -r/modules.dep: No such file or directory x~20
WARNING: Couldn't open directory /tmp/mkinitramfs_nrj2In/lib/modules/3.2.0-38-generic-pae: No such file or directory
FATAL: Could not open directory /tmp/mkinitramfs_nrj2In/lib/modules/3.2.0-38-generic-pae/modules.dep.temp for writing: No such file or directory

The guide I'm using had a post from someone else saying to replace the ' with $( but this made no difference to me.

There are quite a few reference on the net to this problem, including for my OS. eg. http://ubuntuforums.org/showthread.php?t=1958899 Should I try this one? If so do I download the Gist? Is it the right gist? What does one do with gists?


There's another problem or two on my system including the system unable to mount the physical volume. The error message that comes up during loading is "the disk drive for /dev/mapper/Computer--i7-swap-1 is not ready yet or not present "
 
Old 03-12-2013, 02:29 AM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,394
Blog Entries: 6

Rep: Reputation: Disabled
Hi:

Looks like you have a few things going on at once.
You said that:
Quote:
(and I don't want the r8169 in there).
Being that you don't; blacklist it-
Create or edit that file associated with that driver to do so. Like this:
http://ubuntuforums.org/showthread.php?t=1346366

Some of the library's for your OS to load are either missing or just not loading.
Quote:
FATAL: Could not load /lib/modules/uname -r/modules.dep
http://ubuntuforums.org/archive/inde...t-1601208.html

I see that you tried uname -r but I don't see what version of the kernel that you are running even listed-
Try:
Code:
uname -a
And try running:
Code:
lsmod
This command gives a synopses of what modules are currently loaded.
Post the output when you can.

Quote:
the disk drive for /dev/mapper/Computer--i7-swap-1 is not ready yet or not present "
The swap partition may not be getting mounted--
http://askubuntu.com/questions/34997...-not-available

Other than that you can delete the old kernel and go back to the older version of the kernel- -
http://askubuntu.com/questions/13549...ack-in-old-one

If this were my system I would consider re-installing Ubuntu all over again.

Last edited by Ztcoracat; 03-12-2013 at 02:45 AM. Reason: Spelling
 
Old 03-19-2013, 01:38 AM   #3
JWallabea
LQ Newbie
 
Registered: Mar 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
Smile

If this were my system I would consider re-installing Ubuntu all over again.[/QUOTE]

I took your advice and re-installed a slightly later version. Then I followed the directions here http://unixblogger.wordpress.com/201...ethernet-card/ and that worked. I had to replace

mkinitramfs -o /boot/initrd.img-`uname -r` `uname -r`

with

mkinitramfs -o /boot/initrd.img-$(uname -r) $(uname -r)

as per one of the forum respondants, being very careful where the spaces go (only 5 spaces including 2 inside brackets).

thanks for the help
 
Old 03-19-2013, 06:08 AM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,394
Blog Entries: 6

Rep: Reputation: Disabled
You are Welcome!

:~$
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How uninstall network driver (r8169) under Open Suse 11.4 + Linux 2.4 ? Ozanga Linux - Laptop and Netbook 15 04-29-2012 08:56 PM
R8169/8168 network card problems cnanu SUSE / openSUSE 1 12-07-2008 10:27 PM
r8169.ko driver automatically activated, card detected but link is down arani Linux - Networking 1 02-14-2008 01:03 PM
loading network on knoppix with r8169 mariogarcia Linux - Hardware 6 05-30-2007 09:12 PM
Compiling r8169.c network card driver on Alpha... Minuteman Linux - Hardware 1 04-03-2004 07:59 AM


All times are GMT -5. The time now is 09:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration