View previous topic :: View next topic |
Author |
Message |
desimo n00b

Joined: 18 Jan 2007 Posts: 12 Location: St. Louis, MO
|
Posted: Sat Feb 01, 2014 9:58 pm Post subject: not recognizing network device - enp2s0 does not exist |
|
|
I have been experiencing some kernel panics recently. These have occurred during normal use, after the system has been up for several hours or days.
Then, this morning all networking is down. I tried the following:
> sudo /etc/init.d/net.enp2s0 start
* ERROR: interface enp2s0 does not exist
* Ensure that you have loaded the correct kernel module for your hardware.
* ERROR: net.enp2s0 failed to start
lspci -v shows that the r8139 module is loaded and the hardware is still recognized.
Am I facing a bad network controller? Or is there any other possible explanation? |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 44160 Location: 56N 3W
|
Posted: Sat Feb 01, 2014 10:07 pm Post subject: |
|
|
desimo,
What interfaces does uname -a show? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
desimo n00b

Joined: 18 Jan 2007 Posts: 12 Location: St. Louis, MO
|
Posted: Sat Feb 01, 2014 10:22 pm Post subject: |
|
|
Uname -a
Linux dis 3,10.25-gentoo #1 SMP mon jan 27 14.57 CST 2014 x86_64 amd phenom II x4 authentic amd gnu/Linux |
|
Back to top |
|
 |
desimo n00b

Joined: 18 Jan 2007 Posts: 12 Location: St. Louis, MO
|
Posted: Sat Feb 01, 2014 10:25 pm Post subject: |
|
|
Ls -l /sys/class/net
Only shows lo and sit0 symlinks to ../../devices/virtual/net
Not familiar with sit0 |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 44160 Location: 56N 3W
|
Posted: Sat Feb 01, 2014 10:25 pm Post subject: |
|
|
desimo,
Oops ... I should have said so we con see all the network interfaces you have. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
desimo n00b

Joined: 18 Jan 2007 Posts: 12 Location: St. Louis, MO
|
Posted: Sat Feb 01, 2014 10:31 pm Post subject: |
|
|
I have lo and sit0. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 44160 Location: 56N 3W
|
Posted: Sat Feb 01, 2014 10:58 pm Post subject: |
|
|
desimo,
Does show anything ?
Your interface should have been called ethX before it was renamed by udev _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
desimo n00b

Joined: 18 Jan 2007 Posts: 12 Location: St. Louis, MO
|
Posted: Sat Feb 01, 2014 11:03 pm Post subject: |
|
|
Booted into an old kernel to test:
ifconfig -a
enp2s0
lo
sit0
ifconfig enp2s0 up
ifconfig -a
enp2so<UP,...>
My net.lo is missing from /etc/init.d/ as well (I was trying to create a symlink from net.sit0 to net.lo and I must have reversed the order) Anyway, is there any way to recreate that file. At this point, I probably deserve whatever I get.
Do I need to grab a gentoo cd and reinstall baselayout off of that, or something?
Thanks |
|
Back to top |
|
 |
desimo n00b

Joined: 18 Jan 2007 Posts: 12 Location: St. Louis, MO
|
Posted: Sat Feb 01, 2014 11:07 pm Post subject: |
|
|
Dmesg|grep eth
No results |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 44160 Location: 56N 3W
|
Posted: Sat Feb 01, 2014 11:16 pm Post subject: |
|
|
desimo,
Is the device still listed in lspci?
Does a fix it? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
desimo n00b

Joined: 18 Jan 2007 Posts: 12 Location: St. Louis, MO
|
Posted: Sat Feb 01, 2014 11:22 pm Post subject: |
|
|
lscpi still shows the device and looks just like it always did.
I have rebooted several times during this process and still nothing has changed. |
|
Back to top |
|
 |
Hu Moderator

Joined: 06 Mar 2007 Posts: 14367
|
Posted: Sun Feb 02, 2014 12:28 am Post subject: |
|
|
OP: you say that the enp device appeared when you booted an "old" kernel to test. Which kernel was that, and what is the version where you have been getting kernel panics? |
|
Back to top |
|
 |
desimo n00b

Joined: 18 Jan 2007 Posts: 12 Location: St. Louis, MO
|
Posted: Mon Feb 03, 2014 9:29 pm Post subject: |
|
|
The old kernel was 3.10.9. I was experiencing the kernel panics with this kernel, which is the reason I decided to upgrade.
The new kernel is 3.10.25. I have also experienced kernel panics with this kernel. They look about the same. messages lists comm: swapper and comm: jbd2 as I recall. The machine ran all weekend without panicking. It wasn't being used, and the networking is down, of course.
It might be important to note that upgrading the kernel did not make my enp interface disappear. Because I was running fine for 2 days with the new kernel (I panicked once or twice during that time and rebooted, as well)
I think I ran a and then Code: | make && make modules_install | just prior to this issue happening. I never ended up using the kernel that I compiled; I changed an unrelated option but I thought I would mention it.
As I said, when I do I can see that r8169 is loaded and the ethernet device shows just like it always did. |
|
Back to top |
|
 |
|