You are not logged in.
Arch was installed on this computer not long ago, but I had established a steady-state of proper configuration. One day at boot time my computer threw me an error that dhcpcd failed on eth0.
Below is the output of ip addr | sed '/^[0-9]/!d;s/: <.*$//' . If you'll notice, I have no eth0 device.
1. lolspci -v | grep -a5 Ethernet
01:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. TRL=8139/8139C/8139C+ (rev 10)
Subsystem: Elitegroup Computer Systems Device 8139
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at C800 (size=256)
Memory at fd8fe000 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>/etc/rc.conf
DAEMONS=(syslog-ng network @crond @sshd @dbus)
interface=eth0This was the setup that was working for some time before things went awry, One solution I had tried involved adding
MODULES=(8139too)with no better results, so that line is now removed.
It is my understanding that the modules for my Realtek device are built into the standard kernel I'm using, but I am having no luck loading them. If this is indeed the problem, what do you advise?
Last edited by hamroctopus (2012-09-23 18:31:06)
Offline
removing
8139toofrom MODULES array
does udev load automatically the module?
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
It isn't now, but I'm assuming it used to. I'm not having any luck loading it manually.
modprobe 8139too returns nothing, and
insmod 8139too returns
Error: could not load module 8139too: No such file or directoryOffline
What is the output of ip link ??
I ask, because the behavior of ip addr has changed. It no longer displays interfaces that have no address.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
ip link
1. lo <LOOPBACK,UP,LOWER_UP> ntu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 bdr 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft foreverLast edited by hamroctopus (2012-09-23 17:39:34)
Offline
Does the module exist in the file system?
Does the path match that of your kernel?
I do not have your hardware, but I can install the module.
ewaller@odin:~[1] 1005 %find /usr/lib/modules -name 8139too.ko.gz -print
/usr/lib/modules/3.5.4-1-ARCH/kernel/drivers/net/ethernet/realtek/8139too.ko.gz
ewaller@odin:~ 1006 %uname -a
Linux odin 3.5.4-1-ARCH #1 SMP PREEMPT Sat Sep 15 08:12:04 CEST 2012 x86_64 GNU/Linux
ewaller@odin:~ 1007 %modprobe 8139too
ERROR: could not insert '8139too': Operation not permitted
ewaller@odin:~[1] 1008 %sudo modprobe 8139too
[sudo] password for ewaller:
ewaller@odin:~ 1009 %lsmod | grep 8139
8139too 20727 0
mii 4123 2 r8169,8139too
ewaller@odin:~ 1010 %Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
It is there
%find /usr/lib/modules -name 8139too.ko.gz -print
/usr/lib/modules/3.5.4-1-ARCH/kernel/drivers/net/ethernet/realtek/8139too.ko.gzOffline
And your kernel is 3.5.4-1-ARCH ?
It looks like you did modprobe the driver before you tried insmod. What is the output of lsmod | grep 8139 ??
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
%uname -r
3.5.3-1-ARCH
%lsmod | grep 8139
%sudo lsmod | grep 8139
%Offline
Well, there's your problem...
Your kernel is 3.5.3-1-Arch, but the modules are for 3.5.4-1-Arch.
Methinks you have recently updated your kernel, but have not rebooted the system so the old kernel (which is still in memory) can no longer find its modules. They have been replaced with the new ones.
Last edited by ewaller (2012-09-23 18:02:53)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
D'oh! I must have overlooked that hundreds of times. Nice catch! Now, how do I fix this? I've rebooted dozens of times since I have not had ethernet on this computer. I tried mkinitcpio -p linux which did not fix the problem, and I'm not sure what else to try.
Offline
If a reboot did not catch it, it means the kernel installed in /boot must not have been updated when you last updated your kernel. This might have happened if /boot was not mounted when you did the update. In that case, the files will be mounted at the mount point /boot, not in the volume that you normally mount at that location (your boot volume)
Check this by seeing if /boot is mounted (look at the output of mount). If it is, look at the dates and names of the kernel in boot. Then, unmount it, and see if there are newer files at /boot.
If there are, you can move those files to the boot volume.
The easiest fix is probably just to ensure the boot volume is mounted at /boot, then just reinstall the kernel. If there is any cruft in your mount point (without the boot volume mounted) then you could just delete them.
Edit: Another possibility is that you have two boot partitions, and Grub (or Syslinux, or whatever) is picking up the wrong one.
Edit: Typo
Last edited by ewaller (2012-09-23 18:46:23)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Yep! I did have two boot partitions, removing the wrong one fixed my problem. Thank you very much!
Offline