LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-14-2005, 03:38 PM   #1
Maxei
Member
 
Registered: Mar 2005
Posts: 84

Rep: Reputation: 15
Cool ethernet initializing at boot failed. SOLVED


During booting, I see this message:
"Bringing up eth0: Failed". .

Every time I am forced to start a new conection using Mandrake (10.1 comm) Control Center.

I have installed the driver, rhinefet.ko (and rhinefet.o just in case) for this ethernet card (VT6105 Rhine III 10/100). I followed the instructions as follows:

1) save the rhinefet.tgz to a directory (/tmp)
2) then, cd /tmp , then tar xvzf rhinefet.tgz ; a bunch o files are created.
3)Then I type : make install ; some files are created, including rhinefet.ko and rhinefet.o
4) I check that these two files are added to :/lib/modules/2.6.8.1-10mdk/kernel/drivers/net
5) I check that the line "alias eth0 rhinefet" exists in /etc/modules.conf
6) I check that the line "alias eth0 rhinefet" exists in /etc/aliases
7) From the /tmp directory, I issue the command # insmod rhinefet.ko ; I dont get any message. (Is that o.k ?)
8) If I do # modprobe rhinefet ; no message is displayed (is that o.k. ?)
9) I rebbot with the command reboot.....

....and here I am with this problem, the card cannot be initialized at boot. What is wrong?

After boot and login in, I do #ifconfig eth0
I get the message:
eth0: error fetching interface information: Device not found

Please help me to troubleshoot the problem. Thanks

EDIT: By the way, yes, with Mandrake Control Center I can make a new ADSL connection through this card. Strange, isn't it?

Maxei

Last edited by Maxei; 03-17-2005 at 12:29 PM.
 
Old 03-14-2005, 07:03 PM   #2
pave
Member
 
Registered: Oct 2004
Posts: 42

Rep: Reputation: 16
modules files are.ko so you need to move rhinefet.ko, object fles .o are not neccesary there.

Modprobe does not say anything if everything is okay. Try "modinfo rhinefet" to check if the module is loaded

You dont have to reboot. use "ifup eth0" and "ifdown eth0"

What you did was building the driver for your ethernet interface and making the module load on boot. When module is loaded it should create a device. Check /dev directory by date if any new device was created just after modprobe command (could be/dev/net or somewhere else). If you cant find the device do "modinfo rhinefet" and look if module has alias. Also check depends section of the output and try to "modprobe" all dependencies and the dependencies of dependencies if neccesary. Finally try "ifup eth0"

I had the same problem with sound driver but i get it work by desperate modprobing everything that was related
 
Old 03-14-2005, 09:05 PM   #3
Maxei
Member
 
Registered: Mar 2005
Posts: 84

Original Poster
Rep: Reputation: 15
Thanks pave for your answer

If I do #modinfo rhinefet , I get:
filename: /lib/modules/2.6.8.1-10mdk/kernel/drivers/net/rhinefet.ko
author: VIA Technologies, Inc.
license: GPL
description: VIA Rhine Family Fast Ethernet Adapter Driver
parm: RxDescriptors:Number of receive descriptors
parm: TxDescriptors:Number of transmit descriptors
parm: VID_setting:802.1Q VLAN ID
parm: tx_thresh:Transmit fifo threshold
parm: rx_thresh:Receive fifo threshold
parm: DMA_length: DMA length
parm: enable_tagging:Enable 802.1Q tagging
parm: IP_byte_align:Enable IP header dword aligned
parm: rxcsum_offload:Enable receive packet checksum offload
parm: txcsum_offload:Enable transmit packet checksum offload
parm: flow_control:Enable flow control ability
parm: speed_duplex:Setting the speed and duplex mode
parm: ValPktLen:Receiving or Drop invalid 802.3 frame
parm: wol_opts:Wake On Lan options
parm: int_works:Number of packets per interrupt services
vermagic: 2.6.8.1-10mdk 686 gcc-3.4
depends:
alias: pci:v00001106d00003043sv*sd*bc*sc*i*
alias: pci:v00001106d00003065sv*sd*bc*sc*i*
alias: pci:v00001106d00003106sv*sd*bc*sc*i*
alias: pci:v00001106d00003053sv*sd*bc*sc*i*


I am not sure of what that means, but I guess the module was loaded. Am I right or wrong? Any other ideas to check?

Perhaps it is not a module loading failure, but rather, the card is not yet configured or something like that (I dont understand the process of PCI card initialization during boot)?

Maxei

Edit: I also issued the command #dmesg | more and got a long output:
But I dont see any line about eth0 , please see below a shortened list:

BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000037ff0000 (usable)
BIOS-e820: 0000000037ff0000 - 0000000037ff3000 (ACPI NVS)
BIOS-e820: 0000000037ff3000 - 0000000038000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
895MB LOWMEM available.
On node 0 totalpages: 229360
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 225264 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI 2.2 present.
ACPI disabled because your bios is from 2000 and too old
You can enable it with acpi=force
Built 1 zonelists
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
PID hash table entries: 4096 (order 12: 32768 bytes)
SELinux: Disabled at boot.
Capability LSM initialized
ACPI: Looking for DSDT in initrd ... not found!
PCI: PCI BIOS revision 2.10 entry at 0xfb480, last bus=1
PCI: Using configuration type 1
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Disabled
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Disabling VIA memory write queue (PCI ID 0305, rev 02): [55] 89 & 1f -> 09
PCI: Using IRQ router VIA [1106/0686] at 0000:00:07.0
spurious 8259A interrupt: IRQ7.
vesafb: framebuffer at 0xd4000000, mapped to 0xf8800000, size 1875k
vesafb: mode is 800x600x16, linelength=1600, pages=3
vesafb: protected mode interface info at c000:02e5
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
fb0: VESA VGA frame buffer device
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
audit: initializing netlink socket (disabled)
audit(1110876559.299:0): initialized
devfs: boot_options: 0x0
Initializing Cryptographic API
Applying VIA southbridge workaround.
PCI: Disabling Via external APIC routing
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
PCI: Found IRQ 9 for device 0000:00:0b.0
PCI: Sharing IRQ 9 with 0000:00:07.5
ttyS4 at I/O 0xe000 (irq = 9) is a 16550A
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
ide0: BM-DMA at 0xc000-0xc007, BIOS settings: hdaMA, hdbMA
ide1: BM-DMA at 0xc008-0xc00f, BIOS settings: hdcMA, hddMA
serio: i8042 AUX port at 0x60,0x64 irq 12
input: PS/2 Generic Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
BIOS EDD facility v0.16 2004-Jun-25, 2 devices found
PCI: Found IRQ 11 for device 0000:00:07.2
PCI: Sharing IRQ 11 with 0000:00:07.3
PCI: Sharing IRQ 11 with 0000:00:0c.0
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: irq 11, io base 0000c400
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
PCI: Found IRQ 11 for device 0000:00:07.3
PCI: Sharing IRQ 11 with 0000:00:07.2
PCI: Sharing IRQ 11 with 0000:00:0c.0
uhci_hcd 0000:00:07.3: UHCI Host Controller
uhci_hcd 0000:00:07.3: irq 11, io base 0000c800
uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
nvidia: module license 'NVIDIA' taints kernel.
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-6111 Tue Jul 27 07:55:38
Linux video capture interface: v1.00
bttv: Bt8xx card found (0).
PCI: Found IRQ 10 for device 0000:00:0d.0
PCI: Sharing IRQ 10 with 0000:00:0d.1
bttv0: Bt878 (rev 17) at 0000:00:0d.0, irq: 10, latency: 32, mmio: 0xd8001000
bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
bttv0: using: Hauppauge (bt878) [card=10,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00ffffdb [init]
bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
bttv0: Hauppauge eeprom: model=44811, tuner=Philips FM1236 (2), radio=yes
bttv0: using tuner=2
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
tvaudio: TV audio decoder + audio/video mux driver
tvaudio: known chips: tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,
pic16c54 (PV951),ta8874z
tuner: chip found at addr 0xc2 i2c-bus bt878 #0 [sw]
tuner: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles)) by bt878 #0 [sw]
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0
bttv0: PLL: 28636363 => 35468950 .. ok
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA Twister-K/KT133x/KM133 chipset
PPP generic driver version 2.4.2
PCI: Found IRQ 5 for device 0000:00:0a.0
Bluetooth: Core ver 2.6
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.3
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM ver 1.3
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
NET: Registered protocol family 10
Disabled Privacy Extensions on device c0323b60(lo)
IPv6 over IPv4 tunneling driver
parport0: PC-style at 0x378 [PCSPP,EPP]
parport_pc: Via 686A parallel port: io=0x378
lp0: using parport0 (polling).
lp0: console ready
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode


Last edited by Maxei; 03-15-2005 at 10:10 AM.
 
Old 03-15-2005, 10:14 AM   #4
Maxei
Member
 
Registered: Mar 2005
Posts: 84

Original Poster
Rep: Reputation: 15
Hi, I would like to add the info for lsmod:

I cannot see any line with the eth0, but I see that the wrong module via-rhine is loaded; the correct module (rhinefet) is not being used. What to do to change the module for my ethernet card?

Maxei DeVraie
 
Old 03-16-2005, 01:57 PM   #5
Maxei
Member
 
Registered: Mar 2005
Posts: 84

Original Poster
Rep: Reputation: 15
Cool Bringing up interface eth0: OK! Solved !!!

Hi everyone,

I just posted the solution to my problem in this thread:
http://www.linuxforum.com/forums/ind...owtopic=134427

Hope it is usefull for someone with similar problems. Thanks to all to helped me to troubleshoot the problem.

Maxei DeVraie
 
  


Reply



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
Ethernet detection failed! zener Mandriva 1 11-22-2005 07:06 PM
Failed Ethernet thom Fedora 0 02-15-2005 10:48 PM
Printer + failed ethernet JoeO Linux - Hardware 0 06-16-2004 11:31 PM
[Debian] Boot stop initializing eth0 (DHCP3) Zolex Linux - Newbie 1 03-09-2004 09:05 AM
boot hangs at firewire controller initializing soundgarden Linux - Laptop and Netbook 0 02-19-2004 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:33 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