Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
boot says eth0 cannot start, but it does?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Timothee
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2005
Posts: 96
Location: Singapore

PostPosted: Thu Nov 16, 2006 1:44 am    Post subject: boot says eth0 cannot start, but it does? Reply with quote

Hi all,

I'm having a problem at boot where the process says eth0 cannot be started and because of that, netmount and apache cannot start. However, once I log into kde, eth0 is definitely up, I have network access, and I can manually start netmount and apache without any problem.

What could the problem be? I'm not very familiar with the boot process so I'll post below what information I know. Please let know what other info I could post to help resolve this.

Thanks in advance!
Tim

messages in /var/log/messages:
Code:

...
Nov 16 11:08:49 localhost tg3: eth0: Link is up at 100 Mbps, full duplex.
Nov 16 11:08:49 localhost tg3: eth0: Flow control is off for TX and off for RX.
Nov 16 11:08:49 localhost rc-scripts: ERROR:  cannot start netmount as net.eth0 could not start
Nov 16 11:08:50 localhost rc-scripts: ERROR:  cannot start apache2 as net.eth0 could not start
...


config in /etc/conf.d/net
Code:

localhost ~ # cat /etc/conf.d/net
iface_eth0="dhcp"
dhcpcd_eth0=""


Eth0 is set up in default start script (I even added to boot group but no change occured):
Code:

localhost ~ # rc-update show
             apache2 |      default
            bootmisc | boot
             checkfs | boot
           checkroot | boot
               clock | boot
            coldplug | boot
         consolefont | boot
               cupsd |      default
                hald |      default
            hostname | boot
             hotplug |      default
             keymaps | boot
               local |      default nonetwork
          localmount | boot
             modules | boot
               mysql |      default
            net.eth0 | boot default
              net.lo | boot
            netmount |      default
           rmnologin | boot
            svnserve |      default
           syslog-ng |      default
             urandom | boot
          vixie-cron |      default
Back to top
View user's profile Send private message
Yui
n00b
n00b


Joined: 21 Jul 2006
Posts: 29

PostPosted: Thu Nov 16, 2006 2:43 am    Post subject: Reply with quote

Quote:
net.eth0 | boot default

I think it's because it is started at runlevel boot and at runlevel default.
Runlevel boot run first, and then when you enter your runlevel (3 for me) it runs default apps.
I don't know if I am understandable xD
So rc-update -d net.eth0 boot should fix the problem.
(Better not let the network at boot runlevel I think :))

Here you go
_________________
To mess up a Linux box, you need to work at it; to mess up your
Windows box, you just need to work on it.
Back to top
View user's profile Send private message
Timothee
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2005
Posts: 96
Location: Singapore

PostPosted: Thu Nov 16, 2006 1:02 pm    Post subject: Reply with quote

Hi Yui,

Thanks fo replying. I don't think that's the problem unfortunately. eth0 wasn't in the boot group when I had the problem originally. I added it to boot to see if that would improve the situation (but it didn't). Anyway, I'll remove and try again later (it's my desktop PC at work).

Thanx!
Tim.
Back to top
View user's profile Send private message
Yui
n00b
n00b


Joined: 21 Jul 2006
Posts: 29

PostPosted: Thu Nov 16, 2006 3:24 pm    Post subject: Reply with quote

Quote:
Eth0 is set up in default start script (I even added to boot group but no change occured):

Didn't see that, sorry I was tired (*feel stupid*).

There is nothing else in the /var/log/messages about eth0 ?
Sorry I don't know :P
_________________
To mess up a Linux box, you need to work at it; to mess up your
Windows box, you just need to work on it.
Back to top
View user's profile Send private message
mhaverkamp
n00b
n00b


Joined: 05 Jun 2003
Posts: 5

PostPosted: Tue Nov 21, 2006 4:37 pm    Post subject: Reply with quote

I am experiencing this problem currently also. I don't know if it is related, but I use the tg3 driver also. None of my other Gentoo systems are experiencing this, but none of them use tg3 either.
Back to top
View user's profile Send private message
FlareHeart
n00b
n00b


Joined: 27 Aug 2006
Posts: 13

PostPosted: Wed Nov 22, 2006 6:42 am    Post subject: I am having the same problem. Reply with quote

I am getting this same error message "cannot start netmount as net.eth0 could not start", but it seems to have come out of nowhere as it wasn't coming up when I initially installed everything and now it is coming up but it hasn't affected the starting of the interface or the networking. Are there any other ideas?
Back to top
View user's profile Send private message
wah
Guru
Guru


Joined: 25 Feb 2005
Posts: 453
Location: Raleigh, NC, USA

PostPosted: Thu Dec 07, 2006 3:45 pm    Post subject: Reply with quote

*bump* as I am experiencing the same issue on x86 and AMD64. Nothing more than an annoyance, but any new ideas would be cool!

Cheers,
W.
_________________
- AMD64 3000+, MSI K8N-SLI, Nvidia Geforce 6600 PCIE, 2GB OCZ Dual-Channel PC3200,2x160GB SATA
- Registered Linux User #418541
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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