LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-01-2008, 02:14 AM   #1
noir911
Member
 
Registered: Apr 2004
Posts: 682

Rep: Reputation: Disabled
[OpenSUSE 10.3] booting network driver manually after each reboot


After a reboot of the server my network driver disappeared. Now every time I reboot the box, I cannot see eth0 (ifconfig -a). I have to load the network driver manually (insmod /lib/modules/2.6.22.5-31-default/kernel/drivers/net/tg3.ko) to be able to see eth0.

I haven't made any changes to the system.

Is there any way I can automate this so I don't have to load the network driver manually?

/etc/modprobe.conf file

Quote:
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/trueinstall 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 autofs autofs4

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

The following modules are listed in the /etc/modprobe.d/module-renames file:

Quote:
bcm-new
aic79xx-new
bcm4400
bcm5700
bcm5700-new
carmel
e1000-new
lpfcdd
qla2100
qla2200
qla2300
qla2322
qla2400
qla6312
qla6322
tg3-new
I have compared the above with another "good" OpenSUSE 10.3 and they are all the same.

I have also booted off a Knoppix Live CD and I can see two ethernet interface fine.

Thanks for any help.
 
Old 10-01-2008, 10:51 AM   #2
Ziloma
LQ Newbie
 
Registered: Oct 2007
Posts: 5

Rep: Reputation: 0
booting network driver manually

this is what i used to do with my ndiswrapper driver that i had to manually load each time i booted.
login as root and go to /etc/sysconfig.
then open the file kernel with a text editor like gedit and kwrite
or open the terminal in supermode or enter su to be root
then enter gedit /etc/sysconfig/kernel
on the section of MODULES_LOADED_ON_BOOT=""
type in the name of the module that you want loaded at boot time.
then save the file and reboot to see if it is automatically loaded
have a good day.
 
Old 10-06-2008, 07:13 PM   #3
noir911
Member
 
Registered: Apr 2004
Posts: 682

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ziloma View Post
this is what i used to do with my ndiswrapper driver that i had to manually load each time i booted.
login as root and go to /etc/sysconfig.
then open the file kernel with a text editor like gedit and kwrite
or open the terminal in supermode or enter su to be root
then enter gedit /etc/sysconfig/kernel
on the section of MODULES_LOADED_ON_BOOT=""
type in the name of the module that you want loaded at boot time.
then save the file and reboot to see if it is automatically loaded
have a good day.
Solved by adding "insmod /lib/modules/2.6.22.5-31-default/kernel/drivers/net/tg3.ko" to the /etc/init.d/network file

Tried to add "tg3" and "tg3.ko" to /etc/sysconfig/kernel file for the MODULES_LOADED_ON_BOOT="" to no avail.

Wonder why!
 
Old 01-09-2009, 10:50 PM   #4
Muhammad Shakeel
LQ Newbie
 
Registered: Jul 2008
Posts: 9

Rep: Reputation: 0
Quote:
Originally Posted by noir911 View Post
Solved by adding "insmod /lib/modules/2.6.22.5-31-default/kernel/drivers/net/tg3.ko" to the /etc/init.d/network file

Tried to add "tg3" and "tg3.ko" to /etc/sysconfig/kernel file for the MODULES_LOADED_ON_BOOT="" to no avail.

Wonder why!
Hi,

At what line u add insmod /lib/modules/2.6.22.5-31-default/kernel/drivers/net/tg3.ko

in the /etc/sysconfig/init.d file i m facing the same problem.

Regards
 
  


Reply

Tags
network



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to manually add SATA driver manually when kernel boot? aixilin Linux - Kernel 6 08-15-2008 10:36 AM
Nvidia Kernel FORCEDETH Network Driver Reboot Issue Increments ETHx jdmcdaniel3 SUSE / openSUSE 0 04-28-2007 10:04 AM
FC4 hangs after reboot. Is it possible to manually reboot to find problem hathmann Fedora 5 08-13-2006 03:57 AM
Fsck failed. Please repair manually and reboot. jginger SUSE / openSUSE 4 10-23-2005 01:44 PM
Network Card Driver intialize on server reboot imsajjadali Red Hat 2 04-18-2005 11:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration