Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samsung NC110 Ethernet Drivers not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
JeffDude
n00b
n00b


Joined: 02 Jul 2014
Posts: 4

PostPosted: Sat Jul 12, 2014 8:00 pm    Post subject: Samsung NC110 Ethernet Drivers not working Reply with quote

Hello,

I have been trying to get gentoo working on my old netbook, a Samsung Nc110 (not too old). Anyway, I am having problems getting my network interface to start. The error is as usual:

Code:
 
# /etc/init.d/net.eno1 start
Bringing up interface eno1
  ERROR: interface eno1 does not exist
  Ensure that you have loaded the correct kernel module for your hardware
ERROR: net.eno1 failed to start


The strange part about this is not only did I add support for the necessary kernel module in my kernel as specified by the output of
Code:
#  lspci -k
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
   Subsystem: Samsung Electronics Co Ltd Device c0a8
   Kernel driver in use: r8169
   Kernel modules: r8169

Full output here: http://pastebin.com/Wp70KR7Ef
Ifconfig in the liveUSB here: http://pastebin.com/9fFL4qK1

And the strangest part about this is that the module is listed as loaded when I boot my kernel.
Code:

# lsmod
Modules                                      Size  Used by
r8169                                       57634  1


Yet, I am still unable to start the interface. Perhaps I am doing something stupid here? Or maybe there is a weird driver exception on this model of laptop. I hope there is a fix, as the ethernet works on the liveUSB.

Thank you for reading this and any help or advice you can offer to fix this would be greatly appreciated.
Jeff
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7561
Location: Goose Creek SC

PostPosted: Sat Jul 12, 2014 8:29 pm    Post subject: Reply with quote

if running
Code:
ifconfig -a
from the installed gentoo shows the interface being named enp9s0 (same as from cd) then
Code:
/etc/init.d/net.enp9s0 restart
should start the interface. any other uses of eno1 should also be corrected.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
JeffDude
n00b
n00b


Joined: 02 Jul 2014
Posts: 4

PostPosted: Sat Jul 12, 2014 9:26 pm    Post subject: Reply with quote

Hey DONAHUE,

So net.enp9s0 does not exist in the installed Gentoo because I followed the handbook, which has you create the symbolic link to net.lo by hand. So after making net.enp9s0 and starting it, I get the same error except instead of "eno1," I get "enp9s0." If I'm correct, the name of the interface should not make a difference. Also, enp9s0 does not show up in ifconfig -a.

Thanks for the attempt, but I do not think that's it. Do you or anyone else have any more ideas what could be going wrong?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7561
Location: Goose Creek SC

PostPosted: Sat Jul 12, 2014 9:57 pm    Post subject: Reply with quote

What does show up in
Code:
ifconfig -a
output? Any interface the kernel can see will appear there.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
JeffDude
n00b
n00b


Joined: 02 Jul 2014
Posts: 4

PostPosted: Sat Jul 12, 2014 10:44 pm    Post subject: Reply with quote

Hey DONAHUE,

The only things that show up in ifconfig -a are "lo" and "sic." Like I said in my original post the kernel is not seeing the interface, therefore I cannot bring it up.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7561
Location: Goose Creek SC

PostPosted: Sat Jul 12, 2014 11:44 pm    Post subject: Reply with quote

boot the hard drive installed gentoo, run:
Code:
grep -i r8169 /usr/src/linux/.config
grep -i CONFIG_IKCONFIG_PROC /usr/src/linux/.config
grep -i r8169 /proc/config.gz

a.If the first command yields CONFIG_R8169=m, the kernel configuration is ok.
b. If the second command yields CONFIG_IKCONFIG_PROC=y, the third command will produce data and should be run.
c. If the third command runs and yields CONFIG_R8169=m, the actual running kernel is configured with the correct driver module for your nic.
if a. is false the configuration needs editing and the kernel and modules need recompiling.
if a. is true but b. is false, run
Code:
modprobe -r r8169
modpobe r8169
ifconfig -a
What was each response?
the kernel and modules may need to be recompiled and recopied to /boot. /boot partition must be mounted if it exists.
If the running kernel and the configuration both have r8169, the particular kernel and particular nic may be incompatible.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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