LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-19-2004, 07:03 PM   #1
MysteriousRevC
Member
 
Registered: May 2004
Distribution: Mandrake 10
Posts: 35

Rep: Reputation: 15
Mandrake 10 fails eth0


it never succeeds in interfacing when the computer starts up. and then i have to reset the connection in drak control when i get into X. does anyone please know how to sort this problem out? thanks
 
Old 05-19-2004, 10:12 PM   #2
cinnamonq
LQ Newbie
 
Registered: May 2004
Location: Michigan
Distribution: Mandrake Linux 9.2
Posts: 12

Rep: Reputation: 0
I have a similar problem. The only solution I have found thus far is to start up using the old version. I would appreciate any suggestions as well. This seems to be the only major problem that I am facing with the beta version of Mandrakelinux 10.0
 
Old 05-19-2004, 11:41 PM   #3
Grasshopper
Member
 
Registered: Nov 2003
Location: CT, USA
Posts: 55

Rep: Reputation: 15
What is the name and specs of the networking devices you are trying to get to start at boot?

Post the output of lsmod (this must be done as root)

Post the contents of /etc/modules.conf

Post the contents of /etc/modprobe.preload

This should be enough to get us started. The reason why I ask this is because I had a similar problem that stemmed from the fact that the modules needed to load my network card loaded after the card was attempted to be brought up (and this ultimately stemmed from the fact that modules.conf is the kernel 2.4.x file for loading modules at boot and modprobe.preload is the file used to load modules in the kernel 2.6.x)
 
Old 05-20-2004, 02:55 PM   #4
cinnamonq
LQ Newbie
 
Registered: May 2004
Location: Michigan
Distribution: Mandrake Linux 9.2
Posts: 12

Rep: Reputation: 0
Module Size Used by Not tainted
parport_pc 25544 1 (autoclean)
lp 8160 0 (autoclean)
parport 34472 1 (autoclean) [parport_pc lp]
snd-seq-oss 32000 0 (unused)
snd-seq-midi-event 6080 0 [snd-seq-oss]
snd-seq 42544 2 [snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 43652 1
snd-mixer-oss 14200 0 [snd-pcm-oss]
snd-via82xx 15360 1
snd-pcm 79588 0 [snd-pcm-oss snd-via82xx]
snd-timer 18436 0 [snd-seq snd-pcm]
snd-ac97-codec 45720 0 [snd-via82xx]
snd-mpu401-uart 4704 0 [snd-via82xx]
snd-rawmidi 17760 0 [snd-mpu401-uart]
snd-seq-device 5832 0 [snd-seq-oss snd-seq snd-rawmidi]
snd-page-alloc 9044 0 [snd-via82xx snd-pcm]
snd 41380 0 [snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 6340 0 [snd]
nfsd 75280 8 (autoclean)
af_packet 14856 1 (autoclean)
floppy 55932 0
via-rhine 15856 1 (autoclean)
mii 3864 0 (autoclean) [via-rhine]
3c59x 29680 1 (autoclean)
supermount 84032 2 (autoclean)
ide-scsi 11376 0
scsi_mod 106176 1 [ide-scsi]
ide-cd 33956 0
cdrom 32608 0 [ide-cd]
ehci-hcd 19212 0 (unused)
usb-uhci 25136 0 (unused)
usbcore 74988 1 [ehci-hcd usb-uhci]
rtc 9004 0 (autoclean)
ext3 60048 2
jbd 39264 2 [ext3]

probeall scsi_hostadapter
probeall usb-interface usb-uhci ehci-hcd
alias sound-slot-0 snd-via82xx
above snd-via82xx snd-pcm-oss
alias agpgart via-agp
alias eth0 3c59x
alias eth1 via-rhine

# /etc/modprobe.preload: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
# this file is for module-init-tools (kernel 2.5 and above) ONLY
# for old kernel use /etc/modules

eth0 does just fine when I run Mandrake 9.2
 
Old 05-20-2004, 03:42 PM   #5
Grasshopper
Member
 
Registered: Nov 2003
Location: CT, USA
Posts: 55

Rep: Reputation: 15
I need to know the model of the network device (your Ethernet card, wireless card, etc, whatever device you are trying to get to start)

The reason I need to know this is to determine if the module that needs to be loaded for the device to start properly is being loaded at all.

You can look up your networking device in the Hardware Compatibility List here at LinuxQuestions: http://www.linuxquestions.org/hcl/index.php

Or try google'ing it: http://www.google.com/linux

If you are able to determine the module name for the device that you are trying to start, search the output of lsmod to see if it there. If it is not try adding the name of the module to the bottom of your modprobe.preload file (its in your /etc directory). Keep in mind in order to edit that file you will need to be root.

Try rebooting after that and see if it starts.

If this does in fact work remember to post back with any other info that helped you solve your problem so others can benefit from your experience.
 
Old 05-20-2004, 04:31 PM   #6
mermxx
Member
 
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411

Rep: Reputation: 30
u can try editing this file to add/alter boot processes

/etc/rc.d/rc.local
 
Old 05-20-2004, 05:58 PM   #7
Grasshopper
Member
 
Registered: Nov 2003
Location: CT, USA
Posts: 55

Rep: Reputation: 15
Quote:
u can try editing this file to add/alter boot processes
/etc/rc.d/rc.local
mermxx makes a good point, just keep in mind that the rc.local file is the last script to be run after all other init scripts. So in the case of loading proper modules in order to start a network device at boot (given that your network device will be attempted to be brought up before rc.local is run) it may not be the best way to do it. That file is however a very useful way to append things to your boot process and start-up.
 
Old 05-20-2004, 06:26 PM   #8
Cetrocet
LQ Newbie
 
Registered: May 2004
Posts: 8

Rep: Reputation: 0
Quote:
The reason why I ask this is because I had a similar problem that stemmed from the fact that the modules needed to load my network card loaded after the card was attempted to be brought up (and this ultimately stemmed from the fact that modules.conf is the kernel 2.4.x file for loading modules at boot and modprobe.preload is the file used to load modules in the kernel 2.6.x)
I know you're waiting for a response from the original poster, but would you mind summarising how you resolved this? I suspect I'm having the same problem in this thread:

Problems after installing ATI radeon drivers in Mandrake 10
(I'd post the url, but you can't when you have fewer than 5 posts). It's not far down the page.

In it I forgot to mention that in the process of rebuilding the kernel, I went from 2.4.x to 2.6.x

If I can just get the infernal internet working again, I'll be all set
 
Old 05-20-2004, 06:49 PM   #9
Grasshopper
Member
 
Registered: Nov 2003
Location: CT, USA
Posts: 55

Rep: Reputation: 15
Cetrocet: see my post in your first thread.

Last edited by Grasshopper; 05-20-2004 at 06:51 PM.
 
Old 05-21-2004, 10:27 AM   #10
cinnamonq
LQ Newbie
 
Registered: May 2004
Location: Michigan
Distribution: Mandrake Linux 9.2
Posts: 12

Rep: Reputation: 0
The module that you are looking for in that list is
3c59x 29680 1 (autoclean)

It is already present, so that cannot be the problem. Let me repeat what I said earlier, when I start up with 9.2, eth0 loads fine. When I start up with 10.0, eth0 fails.
 
Old 05-21-2004, 11:02 AM   #11
Grasshopper
Member
 
Registered: Nov 2003
Location: CT, USA
Posts: 55

Rep: Reputation: 15
Knowing that the device works at least with one configuration (under 9.2 you said it works) is useful so at least we know its not a hardware problem, but its not enough info to solve the problem.

A couple of things to try:

As root issue the command

service network restart

Does eth0 still fail when you do this?


Also try booting into 9.2 and 10.0 and comparing the text file /etc/sysconfig/network-scripts/ifcfg-eth0 between the two (its the configuration file for the network device).

If you post the contents of this file for both 9.2 and 10 that may be useful for narrowing down the problem.
 
Old 05-21-2004, 01:44 PM   #12
cinnamonq
LQ Newbie
 
Registered: May 2004
Location: Michigan
Distribution: Mandrake Linux 9.2
Posts: 12

Rep: Reputation: 0
eth0 still fails upon the command service network restart
For 9.2 where eth0 functions
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
MII_NOT_SUPPORTED=no
NEEDHOSTNAME=yes
 
Old 05-21-2004, 02:00 PM   #13
cinnamonq
LQ Newbie
 
Registered: May 2004
Location: Michigan
Distribution: Mandrake Linux 9.2
Posts: 12

Rep: Reputation: 0
For 10.0 where it fails
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
MII_NOT_SUPPORTED=no
NEEDHOSTNAME=yes
 
Old 05-21-2004, 02:48 PM   #14
mermxx
Member
 
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411

Rep: Reputation: 30
Try editing ifcfg-eth0 and change
MII_NOT_SUPPORTED to yes
and try again it could be because of ifplugd which is by default used for eth0.
another way is maybe to assign a static ip address
a typical /etc/sysconfig/network-scripts/ifcfg-eth0 would be some thing along these lines bearing in mind the ip addys i have used here are typical lan addys, you could change dns to =yes and add dns servers to /etc/resolv.conf
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
IPADDR=192.168.0.2
NETMASK=255.255.255.0
USERCTL=no
PEERDNS=no
GATEWAY=192.168.0.1
TYPE=Ethernet
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
 
Old 05-21-2004, 06:36 PM   #15
MysteriousRevC
Member
 
Registered: May 2004
Distribution: Mandrake 10
Posts: 35

Original Poster
Rep: Reputation: 15
here you go:

lsmod

Module Size Used by
sis900 19268 0
binfmt_misc 9960 1
ppp_synctty 8832 0
ppp_async 11744 1
ppp_generic 29552 6 ppp_synctty,ppp_async
slhc 7200 1 ppp_generic
sg 38044 0
st 38616 0
sr_mod 17028 0
sd_mod 16832 0
scsi_mod 114648 4 sg,st,sr_mod,sd_mod
parport_pc 32832 1
lp 12200 0
parport 38952 2 parport_pc,lp
md5 3872 1
ipv6 232352 8
snd-seq-oss 31232 0
snd-seq-midi-event 7552 1 snd-seq-oss
snd-seq 51024 4 snd-seq-oss,snd-seq-midi-event
snd-pcm-oss 51812 0
snd-mixer-oss 17952 1 snd-pcm-oss
snd-intel8x0 32776 2
snd-ac97-codec 58148 1 snd-intel8x0
snd-pcm 93156 3 snd-pcm-oss,snd-intel8x0
snd-timer 24484 2 snd-seq,snd-pcm
gameport 4480 1 snd-intel8x0
snd-page-alloc 11972 2 snd-intel8x0,snd-pcm
snd-mpu401-uart 7072 1 snd-intel8x0
snd-rawmidi 23616 1 snd-mpu401-uart
snd-seq-device 8008 3 snd-seq-oss,snd-seq,snd-rawmidi
snd 52484 15 snd-seq-oss,snd-seq-midi-event,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-intel8x0,snd-ac97-codec,snd-pcm,snd-timer,snd-mpu401-uart,snd-rawmidi,snd-seq-device
soundcore 9248 1 snd
af_packet 20520 4
ip_vs 97760 0
ide-floppy 18752 0
ide-tape 34864 0
ide-cd 40548 0
cdrom 37184 2 sr_mod,ide-cd
floppy 59444 0
joydev 10240 0
evdev 9504 0
hid 53312 0
nls_iso8859-15 4480 1
ntfs 85932 1
supermount 37876 1
sis-agp 5568 1
agpgart 31016 1 sis-agp
ehci-hcd 24196 0
uhci-hcd 29104 0
ohci-hcd 18692 0
usbcore 99132 6 hid,ehci-hcd,uhci-hcd,ohci-hcd
rtc 11576 0
ext3 110408 2
jbd 54328 1 ext3

modules.conf

probeall scsi_hostadapter
probeall usb-interface usb-ohci usb-uhci ehci-hcd
above snd-intel8x0 snd-pcm-oss
alias sound-slot-0 snd-intel8x0

modprobe.preload

# /etc/modprobe.preload: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
# this file is for module-init-tools (kernel 2.5 and above) ONLY
# for old kernel use /etc/modules

scsi_hostadapter
sis-agp

thanks a lot, i am sorry for taking so long to reply.

Rev
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
eth0 fails shueib Linux - Newbie 6 10-19-2005 01:36 PM
Mandrake fails to bring up eth0 9re9 Mandriva 17 10-11-2004 02:20 AM
Mandrake 10 eth0 fails on boot and no display Storm660 Mandriva 5 04-22-2004 04:02 PM
eth0 fails on boot - mandrake 10 Power_Penguin Linux - Networking 5 04-17-2004 07:16 AM
eth0 fails at boot up jaysturm Linux - Networking 11 02-27-2004 05:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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