[OpenSUSE 10.3] eth0 disappeared after reboot

My eth0 disappeared after reboot. I have made no changes to the system and there was no BIOS or any other upgrade.

ifconfig -a shows only the loopback interface and nothing else.

lspci shows the two network cards: “Ethernet controller: Broadcom Corporation NetXtreme BCM5752 Gigabit Ethernet PCI Express (rev 01)”

lsmod | grep bcm shows nothing

yast->hardware->hardware information shows the complete details of the ethernet cards.

I did a cat /etc/modprobe.d/module-renames and tried insmod <module> for the following modules listed there but I get “module not found”

bcm-new
aic79xx-new
bcm4400
bcm5700
bcm5700-new
carmel
e1000-new
lpfcdd
qla2100
qla2200
qla2300
qla2322
qla2400
qla6312
qla6322
tg3-new

lspci -v | grep -i ether shows

3f:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5752 Gigabit Ethernet PCI Express (rev 01)
Subsystem: Hewlett-Packard Company Unknown device 1308
Flags: bus master, fast devsel, latency 0, IRQ 218
Memory at e3000000 (64-bit, non-prefetchable) [size=64]
Capabilities: <access denied>

My eth0 and eth1 configuration files don’t have MAC Address. They boot via dhcp. I also booted off a Knoppix Live CD and I can see two ethernet interface.

I know I need to load the module somehow or tell the system to scan for new ethernet modules (modprobe?). But I am not sure how to do that.

Thanks for any help.[/size]

On 09/12/2008 henders254 wrote:
> I know I need to load the module somehow or tell the system to scan
> for new ethernet modules (modprobe?). But I am not sure how to do
> that.

Yast, Network Devices, Network Settings

Uwe

There is no “Network Settings” under Yast, Network Devices.

Under Yast, Network Devices there is only Network Card, Modem, ISDN and DSL. I used Network Card and tried to (A)dd the card there but since the system cannot see it (as the module is not loaded), it’s of no use.

This is OpenSUSE 10.3.

  • henders254 wrote, On 09/12/2008 10:16 PM:
    > There is no “Network Settings” under Yast, Network Devices.

Ah sorry, they changed the names in Yast in 11

> Under Yast, Network Devices there is only Network Card, Modem, ISDN and
> DSL. I used Network Card and tried to (A)dd the card there but since the
> system cannot see it (as the module is not loaded), it’s of no use.

Can you post the content of your NIC config files?
Did you try renaming them and reboot?

Uwe

The command I needed to use was: insmod /lib/modules/2.6.22.5-31-default/kernel/drivers/net/tg3.ko
now it’s all back up and running.

However, I lose network on each reboot and need to type the above. Does anyone know how to fix that?

Thanks

  • henders254,

when you try a “modprobe tg3”, does it work without the full path?
Does the output of “uname -r” match the kernel version in the path you loaded the module from?

Uwe

nope, “modprobe tg3” doesn’t work without full path.

yes, output of uname -r matches the kernel version.

at the moment, all i need to load the driver when the system (re)boots.

thanks.

  • henders254,

/etc/modprobe.conf
at the end, does it include /etc/modprobe.d ?

And in modprobe.d, do you have a file for your ethernet driver?

Uwe

Yes, /etc/modprobe.conf includes /etc/modprobe.d directory.

/etc/modprobe.d directory has lots of file. One of the files that, I found, include the ethernet driver is: module-renames and that file mentions the ethernet driver.

/etc/modprobe.d/module-renames:

alias bcm-new bcm
alias aic79xx-new aic79xx

alias bcm4400 b44
alias bcm5700 tg3
alias bcm5700-new tg3
alias carmel sx8
alias e1000-new e1000
alias lpfcdd lpfc
alias qla2100 qla2xxx
alias qla2200 qla2xxx
alias qla2300 qla2xxx
alias qla2322 qla2xxx
alias qla2400 qla2xxx
alias qla6312 qla2xxx
alias qla6322 qla2xxx
alias tg3-new tg3

/etc/modprobe.conf

install eth0 /bin/true
install eth1 /bin/true
install tr0 /bin/true
install scsi_hostadapter /bin/true
install fb0 /bin/true

install block-major-48 /bin/true
install block-major-49 /bin/true
install block-major-72 /bin/true
install block-major-73 /bin/true

install block-major-56 /bin/true
install block-major-57 /bin/true

install char-major-10 /bin/true

alias autofs autofs4

install dummy0 /sbin/modprobe -o dummy0 --ignore-install dummy
install dummy1 /sbin/modprobe -o dummy1 --ignore-install dummy
remove dummy0 /sbin/modprobe -r -o dummy0 --ignore-remove dummy
remove dummy1 /sbin/modprobe -r -o dummy1 --ignore-remove dummy

install block-major-3 /bin/true
alias block-major-13 xd
alias block-major-15 cdu31a
alias block-major-16 gscd
alias block-major-17 optcd
alias block-major-18 sjcd
alias block-major-20 mcdx

install block-major-22 /bin/true
alias block-major-24 sonycd535
alias block-major-29 aztcd
alias block-major-32 cm206
install block-major-33 /bin/true
install block-major-34 /bin/true
install block-major-43 /bin/true
alias block-major-45 pd
alias block-major-46 pcd
alias block-major-47 pf

install char-major-10-134 /bin/true
install char-major-10-135 /bin/true
alias char-major-10-175 agpgart
alias char-major-10-181 toshiba
alias char-major-10-250 sonypi
options sonypi minor=250
install char-major-15 /bin/true
alias char-major-19 cyclades
alias char-major-20 cyclades
install char-major-29 /bin/true
install char-major-43 /bin/true
install char-major-44 /bin/true
install char-major-45 /bin/true
alias char-major-67 coda
alias char-major-75 specialix
alias char-major-76 specialix
alias char-major-81 videodev
install char-major-81-0 /bin/true
install char-major-81-1 /bin/true
install char-major-81-2 /bin/true
install char-major-81-3 /bin/true

alias char-major-89 i2c-dev
alias char-major-96 pt
alias char-major-97 pg
install char-major-116 /bin/true

alias char-major-144 pppoe

alias char-major-161 ircomm-tty

alias char-major-162 raw

install b1pci /bin/true
install c4 /bin/true
install sc /bin/true
install hisax /bin/true
install hisax_fcpcipnp /bin/true
install hfc4s8s_l1 /bin/true
install hysdn /bin/true
install pcbit /bin/true
install t1pci /bin/true
install divas /bin/true
install fcdsl /bin/true
install fcdsl2 /bin/true
install fcpci /bin/true
install fcpnp /bin/true
install fcdslsl /etc/sysconfig/isdn/scripts/hotplug_pci

install char-major-166 /bin/true

alias char-major-172 moxa
alias char-major-173 moxa

alias char-major-174 mxser
alias char-major-175 mxser

alias char-major-188 usbserial

alias char-major-212 /bin/true

alias binfmt-204 binfmt_aout
alias binfmt-263 binfmt_aout
alias binfmt-264 binfmt_aout
alias binfmt-267 binfmt_aout
alias binfmt-0064 binfmt_aout
alias binfmt-0008 binfmt_aout

alias iso9660 isofs

install tty-ldisc-7 /bin/true

install ax0 /bin/true
install sp0 /bin/true
alias slip0 slip
alias sl0 slip
alias slip1 slip
alias sl1 slip

alias ppp0 ppp_generic
alias ppp1 ppp_generic

alias plip0 plip
alias plip1 plip

alias sit0 ipv6
alias gre0 ip_gre
alias ipip0 ipip

alias xfrm-type-2-50 esp4

alias xfrm-type-2-51 ah4
alias xfrm-type-2-108 ipcomp
alias xfrm-type-10-50 esp6
alias xfrm-type-10-51 ah6
alias xfrm-type-10-108 ipcomp6

install binfmt_misc /sbin/modprobe --ignore-install binfmt_misc && { mount -t binfmt_misc none /proc/sys/fs/binfmt_misc; }
remove binfmt_misc { umount /proc/sys/fs/binfmt_misc; } ; /sbin/modprobe -r --ignore-remove binfmt_misc

alias nfs4 nfs

install rpc_pipefs /sbin/modprobe sunrpc

options ide-scsi idescsi_nocd=1

alias parport_lowlevel parport_pc

alias char-major-10-219 mwave

alias char-major-10-170 thinkpad

options sisfb mode=none mem=12288

install ata_piix /sbin/modprobe ahci 2>&1 |:; /sbin/modprobe --ignore-install ata_piix

include /etc/modprobe.d
include /etc/modprobe.conf.local

  • henders254,

in modprobe.d, do you have files named bcm5700-new, tg3 or tg3-new?
During boot, are there any complaints about modules not loaded?

Uwe

no and no (it just fails to with “Failed” in red)

  • henders254 wrote, On 09/17/2008 02:56 AM:

> no and no (it just fails to with “Failed” in red)

Can you add a NIC manually using Yast, with the tg3 driver?
After that, issue an “rcnetwork restart” and give us the output.

Uwe

The NICs are already loaded since I typed insmod manually and loaded the driver; there is no need to load them again.

But after reboot, if I don’t type “insmod /path/to/driver/” to load the NIC driver then going to Yast and trying to add the NIC is not going to help as the system can’t see it since the driver is not loaded!!!

  • henders254,

what I want to see is what happens if Yast creates a file in /etc/modprobe.d calling the driver. IMO it should then load the driver, without manual intervention.

Uwe

Maybe you don’t understand the problem but yast doesn’t solve anything in this situation.

Anyhow, I have solved this problem just by adding “insmod /lib/modules/2.6.22.5-31-default/kernel/drivers/net/tg3.ko” to the /etc/init.d/network file.

  • henders254,

thanks for the feedback! Glad you found a solution.

Uwe

I had exactly the same problem when I replaced a built-in 100Mbs controller with a 1000Mbps network card.
The new card got eth1 as I had not properly disabled the motherboard Nic in the BIOS. Then I removed the motherboard Nic via Yast. Each reboot my Nic was gone I had to setup again via Yast. After I renamed eth1 to eth0 the Nic was still there after a reboot. So, something is upsetting Suse in case you have eth1 with just one Nic present.