Jump to content

Eth0 does not want to start


Guest Opatrick
 Share

Recommended Posts

Guest Opatrick

Salut,

Je suis nouveau et si je viens, c'est que j'ai un petit problème dans ma distribution ;)

 

Depuis que je suis passé de 9.1 à 10.0 RC2 sur mon desktop nunux, je n'ai plus accès à mon ordi portable w98 alors qu'internet c'est bon. J'ai la freebox qui fait router entre les deux PC, et qui distribue bien le Web et la messagerie.

 

Au démarrage de mon nunux, j'ai une erreur Et0 : activation de l'interface impossible (vous savez, dans la liste des services et porcess avant que n'arrive l'écran de KDE)

 

Suite à un post ici, j'ai regardé /etc/modprob.conf et j'ai ça :

 

alias agpgart intel-agp

alias ieee1394-controller ohci1394

alias eth0 tg3

alias sound-slot-0 snd-intel8x0

install scsi_hostadapter /sbin/modprobe sata_promise; /sbin/modprobe aic7xxx; /bin/true

install snd-intel8x0 /sbin/modprobe --first-time --ignore-install snd-intel8x0 && { /sbin/modprobe snd-pcm-oss; /bin/true; }

install usb-interface /sbin/modprobe usb-uhci; /sbin/modprobe ehci-hcd; /bin/true

remove snd-intel8x0 { /sbin/modprobe -r snd-pcm-oss; } ; /sbin/modprobe -r --first-time --ignore-remove snd-intel8x0

 

Est-ce que la 3ème ligne peut-être la causqe ?

Est-ce que la dernière ligne est la cause de mon abscence de son (j'ai jamais réussi à l'installer sur ce micro, même avec la 9.1)

 

Merci de m'avoir lu jusqu'au bout :)

 

[Edit - Qchem - Changed the title to English]

Link to comment
Share on other sites

Eth0 does not want to start

 

Hello,

I'm new here, and if I come, it's because I have a small problem with my distribution

 

Since I went from 9.1 to 10.0RC2 on my nunux desktop, I can't get access to my w98 laptop comp., whereas internet works nice. I have a freebox, that acts as a router between the two PC, and that relays web and mail correctly.

 

When my nunux starts, I have an error with Eth0: impossible to activate the interface (you know, in this list of services and processes, before KDE launches)

 

After reading a post here, I had a look at /etc/modprobe.conf, and here's what I have:

 

alias agpgart intel-agp

alias ieee1394-controller ohci1394

alias eth0 tg3

alias sound-slot-0 snd-intel8x0

install scsi_hostadapter /sbin/modprobe sata_promise; /sbin/modprobe aic7xxx; /bin/true

install snd-intel8x0 /sbin/modprobe --first-time --ignore-install snd-intel8x0 && { /sbin/modprobe snd-pcm-oss; /bin/true; }

install usb-interface /sbin/modprobe usb-uhci; /sbin/modprobe ehci-hcd; /bin/true

remove snd-intel8x0 { /sbin/modprobe -r snd-pcm-oss; } ; /sbin/modprobe -r --first-time --ignore-remove snd-intel8x0

 

Can the third line be at fault?

Can the missing sound be caused by the last line (I never could get sound on this PC, even with 9.1)

 

Thanks for having read my message until the end

 

Note: I'm a translator on these boards. Yves.

Edited by theYinYeti
Link to comment
Share on other sites

hmmm

de'sole' je n'avais pas deja repondu

 

La dernier ligne est vraiment etrange.... mais si c'est moi j'essaye de insirer une <<#>> a la commencement du ligne... et redemmarais

 

alors, la probleme avec eth0 est plus important?

la premiere chose est de se determiner si la module deja existe

 

se determine ta niveau de noyeaux avec

uname -r

et cherche dans /etc/modules/$uname -r/ pour le pilot tg3.ko

 

aussi: si vous tappe

lspci -v -v (dans une fenetre de root)

et cherche pour ta carte dans tout l'ecriture tu peut etre trouve le nom de pilot avec google ...

 

donc retournera d' /etc/modules/ .... et cherchera pour cet pilot ...

si ce 'n'est pas tg3 remplace cette ligne dans modprobe.conf ....

Link to comment
Share on other sites

Guest Opatrick

Thanks for your answer.

I tried to comment out the last line of /etc/modprobe.conf

i.e.:

#remove snd-intel8x0 { /sbin/modprobe -r snd-pcm-oss; } ; /sbin/modprobe -r --first-time --ignore-remove snd-intel8x0

 

But it still not work (both the sound and Eth0)

Unfortunately, /etc/modules is not a directory but a file which contains only one line: scsi_hostadapter

 

What's next doc? ;)

Link to comment
Share on other sites

est qu tu a trouvee le pilot ?

 

Mais alors, j'etais bete ... en fait c'est /lib/modules/ (je pense mais je suis au beureau avec XP maintenant) (et les resultats de uname -r) ?? donc essaye avec cette location ou cherche vers root avec

 

find "tg3.ko" / -print

en fait je me pose le question si l'pilot existe avec le noyeau 2.6? ou esc qu le pilot renommer ou remplacer avec une autre?

 

donc utilise

lspci -v -v

et collier les resultats

(si tu n'avais pas l'internet utilise lspci -v -v > toto.txt pour creer un fichier )

Link to comment
Share on other sites

Guest Opatrick

find "tg3.ko" / -print lists hundreds of files everywhere :/

 

/lib/modules is the right one :)

# cd /lib/modules2.6.2-3mdkenterprise

# dir

kernel modules.ccwmap modules.description modules.inputmap modules.pcimap modules.usbmap

modules.alias modules.dep modules.ieee1394map modules.isapnpmap modules.symbols

# lspci -v -v

...

02:05.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5702 Gigabit Ethernet (rev 02)

Subsystem: Asustek Computer, Inc.: Unknown device 80a9

Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-

Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-

Latency: 64 (16000ns min), cache line size 08

Interrupt: pin A routed to IRQ 10

Region 0: Memory at ec800000 (64-bit, non-prefetchable)

Expansion ROM at efef0000 [disabled]

Capabilities: [40] PCI-X non-bridge device.

Command: DPERE- ERO- RBC=0 OST=0

Status: Bus=0 Dev=0 Func=0 64bit- 133MHz- SCD- USC-, DC=simple, DMMRBC=0, DMOST=0, DMCRS=0, RSCEM- Capabilities: [48] Power Management version 2

Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)

Status: D0 PME-Enable- DSel=0 DScale=1 PME-

Capabilities: [50] Vital Product Data

Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-

Address: dfd3f7e7adb177fc Data: dbe1

...

 

I remark that the Interrup is routed to IRQ10, & I think this IRQ is a shared one. Shall I investigate which one?

 

I appreciate your help

Link to comment
Share on other sites

Guest Opatrick

I did lsmod and I found:

lsmod

Module                  Size  Used by
ipv6                  266176  25
snd-seq-oss            36512  0
snd-seq-midi-event      8768  1 snd-seq-oss
snd-seq                58960  4 snd-seq-oss,snd-seq-midi-event
snd-pcm-oss            55748  0
snd-mixer-oss          20480  1 snd-pcm-oss
snd-intel8x0           35240  0
snd-ac97-codec         63972  1 snd-intel8x0
snd-pcm               103520  2 snd-pcm-oss,snd-intel8x0
snd-timer              27748  2 snd-seq,snd-pcm
snd-page-alloc         13508  2 snd-intel8x0,snd-pcm
snd-mpu401-uart         8800  1 snd-intel8x0
snd-rawmidi            25984  1 snd-mpu401-uart
snd-seq-device          9256  3 snd-seq-oss,snd-seq,snd-rawmidi
snd                    57668  12 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              10976  1 snd
[b]tg3                    80676  0[/b]
aic7xxx               208396  0
sata_promise           15396  0
scsi_mod              121680  5 sg,sr_mod,sd_mod,aic7xxx,libata

 

Also :/

I did dmesg and a lot of identical lines appeared:

Device not ready. Make sure there is a disc in the drive.

Device not ready. Make sure there is a disc in the drive.

...

 

I may have a bigger problem there... :o

Link to comment
Share on other sites

OK,

 

2 things...

 

Broadcom do their own drivers, Ive downloaded them myself (used on a live CD)

 

2nd your on Kernel enterprise ... I think this is the problem.

 

...Im still an idiot ...

find -name "tg3.ko" / -print

 

anyway, the driver I made was bcmXXX

 

If you don't need to be using enterprise my guess is this should work better with the normal kernel... In 10.0 or 10.1 they actually changed so that the normal kernel did up to 4GB RAM. If you get the choice when you boot try sel3ecting the non enterprise kernel...

you can check the RAM with

cat /proc/meminfo

 

If you decide on the verson you need the kernel source to compile the driver so dload the driver and the right kernel source (if you can first)

Link to comment
Share on other sites

Guest Opatrick
OK,

 

2 things...

 

Broadcom do their own drivers, Ive downloaded them myself (used on a live CD)

Ok, I've dowloaded the right archive.

2nd your on Kernel enterprise ... I think this is the problem. 

Tried to boot on the normal kernel. Same almost :/

Except that now, the computer is rightly switching off itself when shuting down :) I will stay with normal kernel. Do you know how to make this choice the default one ?

Now:

# lsmod

...

tg3 51020 1 (autoclean)

...

# lspci -v -v -> give same listing as previous

...

Ethernet controller: Broadcom Corporation NetXtreme BCM5702 Gigabit Ethernet (rev 02)

Subsystem: Asustek Computer, Inc.: Unknown device 80a9

...

# uname -r

2.4.25-0.pre7.3mdk

# cd /lib/modules/2.4.25-0.pre7.3mdk

# dir

kernel modules.description modules.ieee1394map modules.parportmap modules.pnpbiosmap

modules.dep modules.generic_string modules.isapnpmap modules.pcimap modules.usbmap

 

Again, no module for Ethernet...

find -name "tg3.ko" / -print

# find -name "tg3.ko" / -print

find: les chemins doivent précéder l'expression

Usage: find [CHEMIN] [EXPRESSION]

 

Missed ;)

anyway,  the driver I made was bcmXXX 

If you don't need to be using enterprise my guess is this should work better with the normal kernel...  In 10.0 or 10.1 they actually changed so that the normal kernel did up to 4GB RAM.  If you get the choice when you boot try sel3ecting the non enterprise kernel...

Choosen to stick with normal kernel unless its too old...

you can check the RAM with

cat /proc/meminfo

Ok

If you decide on the verson you need the kernel source to compile the driver so dload the driver and the right kernel source (if you can first)

Compilling.... my nightmare...

There is an RPM in the driver package, do you think I could use the Mandrake graphical tools to install it?

Link to comment
Share on other sites

1) the driver compile is really simple, its just a

 

make && make_install

 

2) If your kernel is a 2.4 kernel then this explains a lot. The .ko drivers are kernel 2.6 (in 2.4 drivers are just .o)

 

3) This looks like something messed up on install. I'm assuming you have >1GB RAM.

The newer Mandrake kernels (certainly 10.1) have support for 4GB.

I have no idea what the enterprise kernels do.... they have never corresponded to anything exact. I had them forced on me for a long time and compiles agains the kernel source never work, neither could I ever find out what patches MDK applied.

 

I'm hoping you have broadband :D

 

What I think you need to do is download a later kernel (definately a 2.6 one) as i think this is the source of your problems. (edit your title and put also in English then we might get more input ... )

 

If you can download the rpm's for the mandrake 2.6 kernel I think it might solve everything... (even without compiling)

 

You haven't said how much upgrade vs install you have...

If you can backup all your data why not do a straight 10.1 community install. (If you are in France its on plenty of magazine covers)

 

Even if you don't install you can use the RPM's on the Cd to replace the kernel... you might even have choices on the 10.0 CD's....

 

We can try either... but if it were me I'd try a clean 10.1 install since the hardware is obviously new and it messed you around with the enterprise kernel?

 

I had endless trouble with the enterprise kernel myself ...

Link to comment
Share on other sites

Guest Opatrick

Thanks for your input. I've seen that MDK is releasing the 10.2beta1. I might wait few weeks to get a 10.2RC version before installing.

 

From now, each time I've installed a new version, I reformated all the partitions. I have lost all my software installs and preferences, so it took me a week to re-setup everything... That's why I'm worried... The MDK tech support told me it is safer to reformat everything...

 

Do you have any experience with the "update" install ?

Link to comment
Share on other sites

gotta agree wih anon.... no need to go with the beta version.

People seem to be having more problems with 10.1 OE than CE ...

strange as that is its probably down to the installer.

 

80% of mandrake's prob's seem to come from the installer in some releases. The acpi thing you have laready experienced now it shut's down OK ...

 

What seems to happen is half of the config is under a 'normal' mandrake kernel and part under the 'enterprise'.

In the past I have managed to hack this together in a manner that would make M. Bricolage horrified.... its not pretty but Ive copied drivers across and hacked about the modules.conf... but in the end it is never stable.

 

If you want to reinstall let us know how everything is setup and we can help plan it... if your 'freebox' has space you can copy stuff over for backup.

 

Also your home directory has your desktop etc. and files but you don't say what is the part you want ot preserve, if its just the look and feel etc. then its easy with home but I can do a basic reinstall and have stuff working in a lot less than 1hr. Its the extra stuff that takes time, making it pretty and downloading my favorite apps again!

Link to comment
Share on other sites

Guest Opatrick

That's the point: my favorite aps: Thunderbird, Firefox, Jedit, ZendStudio, InkScape, Scribus, NVU, MOM and of course OpenOffice...

 

But also the selection of apps from the MDK choice (it took me hours to select those needed)

Link to comment
Share on other sites

That's the point: my favorite aps: Thunderbird, Firefox, Jedit, ZendStudio, InkScape, Scribus, NVU, MOM and of course OpenOffice...

Yep this does suck! Thunderbird and Firefox are i think available from plf.

However NVU proved to be a pain for me... all those mozilla deps...

 

If you have broadband then its pretty simple though you can backup your app install stuff first. (the OO installer/firefox and thunderbird etc.)

I keep all this stuff on my main server and just rerun it after a new install (presuming the eth0 is working :D)

 

Anyway, we can also try changing to a newer kernel...

there should be a 2.6 kernel on the 10.0 install CD's... if someone has them then they could confirm this for me.

 

you can update the kernel and then update the lilo.conf and I hope this should then give you a working ethernet.... however sometimes its quicker to just reinstall.

 

I have to say the Mandrake installer does strange things... I once spent forever messing about after a install trying to get networking up and Ixthusdan (an admin now) told me to weigh up how much time i was wasting... vs what would I loose for another install.

 

He was right, I reinstalled and it just worked ... I had been messing about for a week ... when the installer doesn't work properly it seems to make a real mess things are half done on config's etc.

 

So we can repair this but I can't guarantee it will fix everything... I'm guessing lots of the problems are due to the installer mixing up the two kernels (normal and enterprise) but then it often forgets to do other stuff (or can't) after that which was kernel dependant.

 

bvc another member here has a lot of sucess just updating via urpmi... he just replaces the progs... I haven't personally tried but once you have working internet it is at least possible. What I do know from experience is that the mandrake upgrade on the install CD rarely works or at least for me.

 

But also the selection of apps from the MDK choice (it took me hours to select those needed)

ahh... go minimal.... I used to spend hours... now i just select network client and workstation ... the rest can be added later from URPMI...

 

Also this way you don't install loads of stuff you forget to use but keep getting security updates for.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...