Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36214 - /etc/init.d/net.eth0 fails to bring up network during boot after upgrade to 2.6.0
Summary: /etc/init.d/net.eth0 fails to bring up network during boot after upgrade to 2...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-20 21:28 UTC by Gregg Casillo
Modified: 2003-12-28 15:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregg Casillo 2003-12-20 21:28:00 UTC
I have built two machines with the 2.6.0 kernel. Both machines are exhibiting this problem. Both use the e1000 driver. I have e1000 in /etc/modules.autoload.d/kernel-2.6. The e1000 module is loaded during boot. However, /etc/init.d/net.eth0 fails to bring up the network. Yet, I can log in as root and type "/etc/init.d/net.eth0 start" and everything works fine.

A snippet from /var/log/everything/current:
Dec 21 08:16:57 [kernel] Intel(R) PRO/1000 Network Driver - version 5.2.20-k1
Dec 21 08:16:57 [kernel] eth0: Intel(R) PRO/1000 Network Connection
Dec 21 08:16:57 [kernel] intel8x0: clocking to 48000
Dec 21 08:16:57 [kernel] drivers/usb/core/usb.c: registered new driver usbfs
Dec 21 08:16:57 [kernel] drivers/usb/core/usb.c: registered new driver hub
Dec 21 08:16:57 [kernel] Real Time Clock Driver v1.12
Dec 21 08:16:57 [kernel] e1000: eth0 NIC Link is Up 100 Mbps Full Duplex
Dec 21 08:16:58 [pci.agent] ... no modules for PCI slot
Dec 21 08:16:58 [pci.agent] ... no modules for PCI slot
                - Last output repeated 16 times -
Dec 21 08:16:58 [kernel] ehci_hcd 0000:00:1d.7: EHCI Host Controller
Dec 21 08:16:58 [kernel] ehci_hcd 0000:00:1d.7: irq 23, pci mem f89fec00
Dec 21 08:16:59 [kernel] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
Dec 21 08:16:59 [kernel] PCI: cache line size of 128 is not supported by device 0000:00:1d.7
Dec 21 08:16:59 [kernel] ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-13
Dec 21 08:16:59 [kernel] hub 1-0:1.0: USB hub found
Dec 21 08:16:59 [kernel] hub 1-0:1.0: 8 ports detected
Dec 21 08:16:59 [kernel] drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
Dec 21 08:16:59 [kernel] uhci_hcd 0000:00:1d.0: UHCI Host Controller
Dec 21 08:16:59 [kernel] uhci_hcd 0000:00:1d.0: irq 16, io base 0000cc00
Dec 21 08:16:59 [kernel] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
Dec 21 08:16:59 [kernel] hub 2-0:1.0: USB hub found
Dec 21 08:16:59 [kernel] hub 2-0:1.0: 2 ports detected
Dec 21 08:16:59 [kernel] uhci_hcd 0000:00:1d.1: UHCI Host Controller
Dec 21 08:16:59 [kernel] uhci_hcd 0000:00:1d.1: irq 19, io base 0000d000
Dec 21 08:16:59 [kernel] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
Dec 21 08:16:59 [kernel] hub 3-0:1.0: USB hub found
Dec 21 08:16:59 [kernel] hub 3-0:1.0: 2 ports detected
Dec 21 08:16:59 [kernel] uhci_hcd 0000:00:1d.2: UHCI Host Controller
Dec 21 08:16:59 [kernel] uhci_hcd 0000:00:1d.2: irq 18, io base 0000d400
Dec 21 08:16:59 [kernel] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
Dec 21 08:16:59 [kernel] hub 4-0:1.0: USB hub found
Dec 21 08:16:59 [kernel] hub 4-0:1.0: 2 ports detected
Dec 21 08:16:59 [kernel] uhci_hcd 0000:00:1d.3: UHCI Host Controller
Dec 21 08:16:59 [kernel] uhci_hcd 0000:00:1d.3: irq 16, io base 0000d800
Dec 21 08:16:59 [kernel] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
Dec 21 08:16:59 [kernel] hub 5-0:1.0: USB hub found
Dec 21 08:16:59 [kernel] hub 5-0:1.0: 2 ports detected
Dec 21 08:16:59 [usb.agent] ... no modules for USB product 0/0/0
                - Last output repeated 4 times -
Dec 21 08:16:59 [dhcpcd] recvfrom: Network is down_
Dec 21 08:16:59 [dhcpcd] sendto: Network is down_
Dec 21 08:16:59 [rc-scripts] Failed to bring eth0 up
Dec 21 08:16:59 [rc-scripts] Failed to bring eth0 up


/etc/conf.d/net:
# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $
 
# Global config file for net.* rc-scripts
 
# This is basically the ifconfig argument without the ifconfig $iface
#
#iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"
 
# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
iface_eth0="dhcp"
#dhcpcd_eth0="..."
 
# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"
 
# NB:  The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly.  Leave commented to assign
# defaults for that interface.
#
broadcast_eth0="192.168.1.255 192.168.1.255"
netmask_eth0="255.255.255.0 255.255.255.0"
 
 
# For setting the default gateway
#
gateway="eth0/192.168.3.1"


A snippet from dmesg:
Intel(R) PRO/1000 Network Driver - version 5.2.20-k1
Copyright (c) 1999-2003 Intel Corporation.
PCI: Setting latency timer of device 0000:02:01.0 to 64
eth0: Intel(R) PRO/1000 Network Connection
PCI: Setting latency timer of device 0000:00:1f.5 to 64
intel8x0: clocking to 48000
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
Real Time Clock Driver v1.12
e1000: eth0 NIC Link is Up 100 Mbps Full Duplex


Reproducible: Always
Steps to Reproduce:
1. Boot computer.
2. /etc/init.d/net.eth0 fails to bring up network
3. Log in as root, run "/etc/init.d/net.eth0 start", and use network normally.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-12-21 15:11:39 UTC
sorry but what you are doing ?

dhcp or _complete_ config for eth0
not dhcp and incomplete config for your devices
Comment 2 Gregg Casillo 2003-12-22 15:31:02 UTC
I see your point, Martin. I commented out the gateway, broadcast, and netmask lines, and all is well since I'm using DHCP. What's weird is that it worked before my install of the 2.6.0 kernel. Oh well. Thanks for turning the light on.
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2003-12-28 15:20:54 UTC
Looks like this is fixed.