* [gentoo-user] [UDEV] No network on startup
@ 2007-01-22 18:00 Jakob Buchgraber
2007-01-22 18:10 ` Richard Fish
0 siblings, 1 reply; 7+ messages in thread
From: Jakob Buchgraber @ 2007-01-22 18:00 UTC (permalink / raw
To: gentoo-user
Hello!
I have updated my gentoo box by typing emerge --update world. This also
updated udev and now I don't get any network on startup. If I want to
get a network connection, I'll have to first delete
"/var/run/dhcpcd-eth0.pid" and then run 'dhcpcd eth0'.
On startup I get some udev related error messages:
>> Letting udev process events ...
>> udevd-event[668]: wait_for_sysfs: waiting for
'/sys/class/net/lo/device/driver' failed
>> udevd-event[1371]: wait_for_sysfs: waiting for
'/sys/class/net/eth1/device/driver' failed
>> Finalizing udev configuration ...
However when entering runlevel 3 and dhcpcd is being started it
successfully assigns an (correct) ip address to eth0. The only problem
is that the resolv.conf is then empty and so I get no network connection
at all. I didn't change any configuration files, I just updated udev.
My version of udev is 104 (latest stable version available) and ifconfig
eth0 tells me
eth0 Link encap:Ethernet HWaddr 00:15:C5:3A:EB:EB
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:615 errors:0 dropped:0 overruns:0 frame:0
TX packets:368 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:412119 (402.4 Kb) TX bytes:45958 (44.8 Kb)
Interrupt:17
Please don't tell me to downgrade udev as I unfortunately don't know
which version was my previous merged version :-(.
Please let me know if you need any further informations regarding my system.
Thanks in advance for any help!
Best Regards Jay
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] [UDEV] No network on startup
2007-01-22 18:00 [gentoo-user] [UDEV] No network on startup Jakob Buchgraber
@ 2007-01-22 18:10 ` Richard Fish
2007-01-22 18:20 ` Jakob Buchgraber
0 siblings, 1 reply; 7+ messages in thread
From: Richard Fish @ 2007-01-22 18:10 UTC (permalink / raw
To: gentoo-user
On 1/22/07, Jakob Buchgraber <jakob.buchgraber@googlemail.com> wrote:
> Hello!
>
> I have updated my gentoo box by typing emerge --update world. This also
> updated udev and now I don't get any network on startup. If I want to
> get a network connection, I'll have to first delete
> "/var/run/dhcpcd-eth0.pid" and then run 'dhcpcd eth0'.
Did you also update baselayout at the same time...or dhcpcd? I'd
suspect these would be more likely to cause the problem you describe.
Could you post your current /etc/conf.d/net?
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] [UDEV] No network on startup
2007-01-22 18:10 ` Richard Fish
@ 2007-01-22 18:20 ` Jakob Buchgraber
2007-01-22 20:23 ` Richard Fish
0 siblings, 1 reply; 7+ messages in thread
From: Jakob Buchgraber @ 2007-01-22 18:20 UTC (permalink / raw
To: gentoo-user
Hello Richard!
Thanks for your fast reply!
>>> Could you post your current /etc/conf.d/net?
The content of /etc/conf.d/net is
>> config_eth0=( "dhcp" )
>> dhcp_eth0="nodns nontp nonis"
Could it help to delete resolv.conf so that it is then created properly
on next startup? (I am just careful since I don't want to ruin my system
:-)).
>>> Did you also update baselayout at the same time...or dhcpcd? I'd
>>> suspect these would be more likely to cause the problem you describe.
I am not quite sure, but I think that I have updated baselayout.
Thanks for your help!
Best Regards Jay
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] [UDEV] No network on startup
2007-01-22 18:20 ` Jakob Buchgraber
@ 2007-01-22 20:23 ` Richard Fish
2007-01-22 21:00 ` Jakob Buchgraber
0 siblings, 1 reply; 7+ messages in thread
From: Richard Fish @ 2007-01-22 20:23 UTC (permalink / raw
To: gentoo-user
On 1/22/07, Jakob Buchgraber <jakob.buchgraber@googlemail.com> wrote:
> The content of /etc/conf.d/net is
> >> config_eth0=( "dhcp" )
> >> dhcp_eth0="nodns nontp nonis"
nodns instructs baselayout to run the dhcp client such that it will
not overwrite/update resolv.conf with settings from the DHCP server.
It is equivalent to running dhcpcd with the -R option. So, try
removing nodns from your settings.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] [UDEV] No network on startup
2007-01-22 20:23 ` Richard Fish
@ 2007-01-22 21:00 ` Jakob Buchgraber
2007-01-22 22:26 ` Richard Fish
0 siblings, 1 reply; 7+ messages in thread
From: Jakob Buchgraber @ 2007-01-22 21:00 UTC (permalink / raw
To: gentoo-user
Hello!
Thanks a lot! My internet connection now works perfectly, but the error
messages are still there :-(
Some wise guy told me that there is a tool called genlop, and so I now
know exactly what I have emerged.
There were just some apps like adobe reader, x11-server. The only
program that actually matters is udev (upgraded from 103 to 104)
So I downgraded to udev-103 again and now I get the error message (on
startup) that /lib/udev/net.sh cannot be executed, because this file
doesn't exist!
I also tried reemerging udev, but it didn't help.
I didn't find anything about this issue in the gentoo udev guide or google.
I appreciate every help!
Best Regards Jay
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] [UDEV] No network on startup
2007-01-22 21:00 ` Jakob Buchgraber
@ 2007-01-22 22:26 ` Richard Fish
2007-01-23 17:30 ` Jakob Buchgraber
0 siblings, 1 reply; 7+ messages in thread
From: Richard Fish @ 2007-01-22 22:26 UTC (permalink / raw
To: gentoo-user
On 1/22/07, Jakob Buchgraber <jakob.buchgraber@googlemail.com> wrote:
> Hello!
> So I downgraded to udev-103 again and now I get the error message (on
> startup) that /lib/udev/net.sh cannot be executed, because this file
> doesn't exist!
> I also tried reemerging udev, but it didn't help.
What kernel version are you using. I suspect the problem with -104
may be due to using an older kernel version. Also downgrading udev
can be tricky, because it may leave orphaned files around (which seems
to be the problem you are having with -103).
A guideline when upgrading udev:
- be sure to run etc-update/dispatch-conf and accept any file
modifications for /etc/udev/rules.d/. The only file you should modify
in here is 10-local.rules, and udev shouldn't touch it.
A guideline when downgrading udev:
- run etc-update/dispatch-conf just as when upgrading
- Also check each file in /etc/udev/rules.d with "equery belongs" to
find any orphans and consider removing them. Again, your rules in
10-local.rules should be ok to keep.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] [UDEV] No network on startup
2007-01-22 22:26 ` Richard Fish
@ 2007-01-23 17:30 ` Jakob Buchgraber
0 siblings, 0 replies; 7+ messages in thread
From: Jakob Buchgraber @ 2007-01-23 17:30 UTC (permalink / raw
To: gentoo-user
Richard Fish wrote:
> On 1/22/07, Jakob Buchgraber <jakob.buchgraber@googlemail.com> wrote:
>> Hello!
>> So I downgraded to udev-103 again and now I get the error message (on
>> startup) that /lib/udev/net.sh cannot be executed, because this file
>> doesn't exist!
>> I also tried reemerging udev, but it didn't help.
>
> What kernel version are you using. I suspect the problem with -104
> may be due to using an older kernel version. Also downgrading udev
> can be tricky, because it may leave orphaned files around (which seems
> to be the problem you are having with -103).
>
> A guideline when upgrading udev:
> - be sure to run etc-update/dispatch-conf and accept any file
> modifications for /etc/udev/rules.d/. The only file you should modify
> in here is 10-local.rules, and udev shouldn't touch it.
>
> A guideline when downgrading udev:
> - run etc-update/dispatch-conf just as when upgrading
> - Also check each file in /etc/udev/rules.d with "equery belongs" to
> find any orphans and consider removing them. Again, your rules in
> 10-local.rules should be ok to keep.
>
> -Richard
Thanks for your reply!
I already fixed the problem with the udev error messages by simply
deleting /et/udev/rules.d/70-persistent-net.rules (and reemerging udev)
as this file was not update correctly despite running etc-update! I am
now running udev-104 which works fine for me :-)
Thanks!
Best Regards Jay
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-01-23 17:36 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-22 18:00 [gentoo-user] [UDEV] No network on startup Jakob Buchgraber
2007-01-22 18:10 ` Richard Fish
2007-01-22 18:20 ` Jakob Buchgraber
2007-01-22 20:23 ` Richard Fish
2007-01-22 21:00 ` Jakob Buchgraber
2007-01-22 22:26 ` Richard Fish
2007-01-23 17:30 ` Jakob Buchgraber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox