You are not logged in.
I installed a fresh copy of Arch on a flash drive that will power my RAID server today. So far, it's almost perfect.
The issue right now is that in netcfg fails to bring up a static eth0 profile at boot. I've got the netcfg.service enabled and if I do it from the command line, it'll come up without a hassle. Occassionally, it'll give me the "NOHZ: local_softirq_pending 08" error, but it still works. However, nine times out of ten, an error flashes by and the interface never comes up.
[root@whitebox ~]# systemctl | grep net
sys-devi...et-eth0.device loaded active plugged RTL8111/8168B PCI Express Gigabit Ethernet controller
netcfg.service loaded failed failed Netcfg multi-profile daemon
network.target loaded active active NetworkThe unfortunate thing is that I don't have a /var/log/boot file. Also, because I booted with systemd, I can't use inittab to stop Arch from clearing the terminal before presenting the login prompt.
So, I'm not sure where to go from here. Please give me something to post or read or something.
I definitely need to get this to come up reliably at boot, as this'll be a headless unit.
Offline
Well, to help along the way, I found this: https://wiki.archlinux.org/index.php/Sy … er_boot.3F
That worked exactly as described. Now, though, the interface isn't failing anymore, so I can't diagnose what was happening in the first place, haha.
Speculation still welcome. I don't much prefer to simply let a problem "disappear" without knowing what it was. ![]()
Offline
It failed again today:
whitebox ~ # systemctl status netcfg.service
netcfg.service - Netcfg multi-profile daemon
Loaded: loaded (/usr/lib/systemd/system/netcfg.service; enabled)
Active: failed (Result: exit-code) since Sun, 19 Aug 2012 12:54:43 -0500; 7min ago
Process: 208 ExecStart=/usr/bin/netcfg-daemon start (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/netcfg.service
Aug 19 12:54:43 whitebox netcfg-daemon[208]: :: anglednet up Interface eth0 does not exist
Aug 19 12:54:43 whitebox netcfg-daemon[208]: [fail]
whitebox ~ #And yet...
whitebox ~ # ls /sys/class/net/
eth0 lo
whitebox ~ #whitebox ~ # cat /etc/network.d/anglednet
CONNECTION='ethernet'
DESCRIPTION='Anglednet static IP for whitebox'
INTERFACE='eth0'
IP='static'
ADDR='192.168.42.2'
GATEWAY='192.168.42.42'
DNS=('192.168.42.42')
whitebox ~ #And, of course:
whitebox ~ # netcfg anglednet
:: anglednet up [ BUSY ]
[ 343.246151] NOHZ: local_softirq_pending 08
[ DONE ]
whitebox ~ #I don't know what that NOHZ bit is about, but it doesn't seem to stand in the way. So, what I've gathered from all of this is that netcfg recognizes eth0 just fine, but somewhere between systemd's netcfg.service and netcfg-daemon, eth0 is invisible.
Help?
Offline
I am not sure what is going on; check two things.
What is the output of ip link ??
Are there any messages about interrupts relating to eth0 in the output of dmesg or in /var/log/everything.log ??
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
Well, I brought the interface up manually and this is via SSH, so that's not exactly "accurate" in terms of diagnosis, but my RAID benchmark is almost done, so I'll reboot in a little bit and post what I find when it fails to come up again. ![]()
But, for now:
whitebox ~ # ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode DEFAULT
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
link/ether 00:1a:92:59:64:b8 brd ff:ff:ff:ff:ff:ff
whitebox ~ # ls /var/log
btmp faillog lastlog old pacman.log wtmp
whitebox ~ #As you can see, I don't have much in /var/log. I'm not sure why.
Offline
Alright, tried it again. ip link shows an identical listing to the one in my post above after netcfg fails to bring up the interface at boot.
Offline