PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Mandrake 9.2 erkennt Ethernet-Karte nicht



Amandus
23.01.04, 20:02
Hallo

Mandrake hat ja ein Kontrollzentrum, ich glaube es heißt DarkDrake, oder so ähnlich. Jedenfalls wollte ich dort meinen Internetzugang konfigurieren/einrichten, doch Mandrake erkennt die Onboard Ethernetkarte nicht. Weiß wer Rat?

Mandrake 9.2 (keine Ahnung, welcher Kernel - der, der eben dabei war)

Board: Asus A7N8X-X
onboard-LAN: (Angabe von asus.com): MCP integriert NVIDIA® MAC + Realtek® 8201BL PHY

Ich hoffe, diese Angaben genügen, was vielleicht noch zu erwähnen ist, ist der Provider: (Chello; Kabel;)
Irgendiwe finde ich den Assistenten nicht sehr hilfreich...

Grüße,
Amandus

Tarzipan
23.01.04, 20:23
benutz mal die sufu mit deinem board/chip

Amandus
23.01.04, 21:14
Hallo

Es gibt scheinbar mehrere Probleme mit Realtek Karten... :(

Asus gilt zwar im Windows-Bereich als sehr zuverlässig, doch mit Linux schauts nicht so gut aus. Ich habe einmal gesucht und einen Beitrag gefunden, in dem vorgeschlagen wird, das modul 8139too zu laden. Klappt aber nicht:

Ausgabe:



[root@localhost uli]# modprobe 8139too
/lib/modules/2.4.22-10mdk/kernel/drivers/net/8139too.o.gz: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid
IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
modprobe: insmod /lib/modules/2.4.22-10mdk/kernel/drivers/net/8139too.o.gz failed
modprobe: insmod 8139too failed
[root@localhost uli]#


Warum soll es eigentlich auch 8139too sein? Bei SuSE hieß es nvnet. Woher weiß ich welches Modul ich laden muss?

Grüße,
Amandus

Carlmc
23.01.04, 21:36
bevor du dein modul laden kannst musste erstmal die treiber (www.asus.com) saugen, installieren und zuletzt einbinden.
wenn du dich an die anleitung von nvidia oder hier im Forum hälst dann klappt das auch mit der onboard lankarte...

das modul wird auch, wie bei suse -> nvnet heissen... ;-)

greeetz

Amandus
23.01.04, 22:05
Ja, die Treiber habe ich schon runtergeladen, ABER:

Die Readme schreibt:

1.Copy if_rl.ko in "modules" directory to "/modules" directory and
overwrite the existing file.
2.Modify the file "/boot/defaults/loader.conf" and set "if_rl_load" in "Network drivers" section to "Yes"
3.Reboot.

Ich verstehe nicht wo ich if_rl.ko hinkopiren soll. /modules gibt es bei mir nicht, demzufolge gibt es auch nichts zu überschreiben...

Carlmc
23.01.04, 23:01
http://download.nvidia.com/XFree86/nforce/1.0-0261/NVIDIA_nforce-1.0-0261.mdk91up_2.4.21_0.13.athlon.rpm
oder alternativ
http://download.nvidia.com/XFree86/nforce/1.0-0261/NVIDIA_nforce-1.0-0261.tar.gz

was sagt denn lsmod?
wird dort nvnet aufgeführt? wenn nicht ist die treiber installation schief gelaufen und du solltest mal die alternativ installation versuchen.
ich hab ja das gleiche board und hab von vorn herein mit den der tar-balls gearbeitet und es lief super...
installiert -> lsmod -> kein nvnet -> modprobe nvnet -> lsmod -> nvnet geladen aber nit aktiv -> netzwerk aktiviert und in der modules.conf eingetragen, dass nvnet automatisch gestartet werden soll...

greetz..

pinglord
24.01.04, 02:30
Original geschrieben von Amandus
Ich verstehe nicht wo ich if_rl.ko hinkopiren soll. /modules gibt es bei mir nicht, demzufolge gibt es auch nichts zu überschreiben...

heisst ja auch /lib/modules

Anscheinend hat dein MainBoard 2 NICs? Na dann müsste doch wenigstens eine gehen ;)

Das Mandrake Control Center nennt sich drakconf und ist halt nur so hilfreich wie es kann...

... ich musste beim Kernel Laden APIC damals deaktivieren damit meine NIC funktioniert, und das hat mir das MCC nicht gesagt :mad: Skandal ;)

Amandus
24.01.04, 20:47
Original geschrieben von Carlmc
http://download.nvidia.com/XFree86/nforce/1.0-0261/NVIDIA_nforce-1.0-0261.mdk91up_2.4.21_0.13.athlon.rpm
oder alternativ
http://download.nvidia.com/XFree86/nforce/1.0-0261/NVIDIA_nforce-1.0-0261.tar.gz

was sagt denn lsmod?
wird dort nvnet aufgeführt? wenn nicht ist die treiber installation schief gelaufen und du solltest mal die alternativ installation versuchen.
ich hab ja das gleiche board und hab von vorn herein mit den der tar-balls gearbeitet und es lief super...
installiert -> lsmod -> kein nvnet -> modprobe nvnet -> lsmod -> nvnet geladen aber nit aktiv -> netzwerk aktiviert und in der modules.conf eingetragen, dass nvnet automatisch gestartet werden soll...

greetz..

Ich hoffe du liest das, weil eine pm oder e-mail lässt du nicht zu. ;) Ich habe nun die 2. Datei heruntergeladen (tar), da die .rpm für mandrake 9.1 ist und nicht 9.2. (Oder kann ich glaubst du die 9.1er nehmen) Allerdings habe ich keine Ahnung, wie ich die installieren soll, da keine Readme dabei ist. Erklär mir doch bitte, wie du das gelöst hast.

Grüße,
Amandus

ConiKost
24.01.04, 22:26
Also die Nvidia Com ist meiner Meinung nach für den Arsch...

Ich würde da eher die 3Com on Board nehmen!
Die ist besser und wird 100% unterstützt!

Amandus
25.01.04, 07:59
Häh? Jetzt kenn ich mich dann nicht mehr aus... :D

Wenn irgend jemand die gleiche Karte hat, wäre ich erfreut, wenn er mir sagen könnte, wie er das Problem gelöst hat. Also was soll ich nun installieren?

Auf Asus.com gibts lan Treiber, da versteh ich aber nicht, wie ich installieren soll, da es bei mir in /lib/modules/kernelversion/ nichts zu überschreiben gibt. Und was meinst du mit 3com onboard?

Danke für eure Hilfe, irgendwann werde ich es schon schaffen es zu installieren,
Grüße,
Amandus

/edit:

Habe jetzt doch ne Art readme gefunden und bin ganz nach Rezept vorgegegangen, aber, funktioniert nicht. :( Hier die Ausgabe der Konsole, da wimmelts nur von Errors...



[uli@localhost uli]$ cd /mnt/win_d/linux/nforce
[uli@localhost nforce]$ make
make -C nvnet
make[1]: Entering directory `/mnt/win_d/linux/nforce/nvnet'
cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O -Wstrict-prototypes
-DCONFIG_PM -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -fal
ign-functions=4 -DMODULE -I/usr/src/linux-2.4.22/include nvnet.c
In file included from /usr/include/linux/prefetch.h:13,
from /usr/include/linux/list.h:6,
from /usr/include/linux/module.h:11,
from nvnet.h:20,
from nvnet.c:21:
/usr/include/asm/processor.h:55: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared h
ere (not in a function)
/usr/include/asm/processor.h:55: error: requested alignment is not a constant
In file included from /usr/include/linux/module.h:20,
from nvnet.h:20,
from nvnet.c:21:
/usr/include/linux/modversions.h:1:2: #error "==================================
====================="
/usr/include/linux/modversions.h:2:2: #error "You should not include /usr/includ
e/{linux,asm}/ header"
/usr/include/linux/modversions.h:3:2: #error "files directly for the compilation
of kernel modules."
/usr/include/linux/modversions.h:4:2: #error ""
/usr/include/linux/modversions.h:5:2: #error "glibc now uses kernel header files
from a well-defined"
/usr/include/linux/modversions.h:6:2: #error "working kernel version (as recomme
nded by Linus Torvalds)"
/usr/include/linux/modversions.h:7:2: #error "These files are glibc internal and
may not match the"
/usr/include/linux/modversions.h:8:2: #error "currently running kernel. They sho
uld only be"
/usr/include/linux/modversions.h:9:2: #error "included via other system header f
iles - user space"
/usr/include/linux/modversions.h:10:2: #error "programs should not directly incl
ude <linux/*.h> or"
/usr/include/linux/modversions.h:11:2: #error "<asm/*.h> as well."
/usr/include/linux/modversions.h:12:2: #error ""
/usr/include/linux/modversions.h:13:2: #error "To build kernel modules please do
the following:"
/usr/include/linux/modversions.h:14:2: #error ""
/usr/include/linux/modversions.h:15:2: #error " o Have the kernel sources instal
led"
/usr/include/linux/modversions.h:16:2: #error ""
/usr/include/linux/modversions.h:17:2: #error " o Make sure that the symbolic li
nk"
/usr/include/linux/modversions.h:18:2: #error " /lib/modules/`uname -r`/build
exists and points to"
/usr/include/linux/modversions.h:19:2: #error " the matching kernel source dir
ectory"
/usr/include/linux/modversions.h:20:2: #error ""
/usr/include/linux/modversions.h:21:2: #error " o Now copy /boot/vmlinuz.version
.h to"
/usr/include/linux/modversions.h:22:2: #error " /lib/modules/`uname -r`/build/
include/linux/version.h"
/usr/include/linux/modversions.h:23:2: #error ""
/usr/include/linux/modversions.h:24:2: #error " o When compiling, make sure to u
se the following"
/usr/include/linux/modversions.h:25:2: #error " compiler option to use the cor
rect include files:"
/usr/include/linux/modversions.h:26:2: #error ""
/usr/include/linux/modversions.h:27:2: #error " -I/lib/modules/`uname -r`/buil
d/include"
/usr/include/linux/modversions.h:28:2: #error ""
/usr/include/linux/modversions.h:29:2: #error " instead of"
/usr/include/linux/modversions.h:30:2: #error ""
/usr/include/linux/modversions.h:31:2: #error " -I/usr/include/linux"
/usr/include/linux/modversions.h:32:2: #error ""
/usr/include/linux/modversions.h:33:2: #error " Please adjust the Makefile acc
ordingly."
/usr/include/linux/modversions.h:34:2: #error "=================================
======================"
In file included from /usr/include/linux/module.h:297,
from nvnet.h:20,
from nvnet.c:21:
/usr/include/linux/version.h:2:2: #error "======================================
================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l
inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro
m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended
by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may
not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file
s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the
following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exis
ts and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directo
ry"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t
o"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/incl
ude/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t
he following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct
include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/in
clude"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordi
ngly."
/usr/include/linux/version.h:35:2: #error "=====================================
=================="
In file included from nvnet.h:20,
from nvnet.c:21:
/usr/include/linux/module.h:299: error: syntax error before "UTS_RELEASE"
In file included from /usr/include/linux/mm.h:12,
from /usr/include/linux/slab.h:14,
from nvnet.h:29,
from nvnet.c:21:
/usr/include/linux/mmzone.h:44: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared he
re (not in a function)
/usr/include/linux/mmzone.h:44: error: requested alignment is not a constant
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:46,
from nvnet.h:30,
from nvnet.c:21:
/usr/include/linux/irq.h:65: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here
(not in a function)
/usr/include/linux/irq.h:65: error: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:46,
from nvnet.h:30,
from nvnet.c:21:
/usr/include/asm/hardirq.h:16: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared her
e (not in a function)
/usr/include/asm/hardirq.h:16: error: requested alignment is not a constant
In file included from nvnet.h:30,
from nvnet.c:21:
/usr/include/linux/interrupt.h:129: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclare
d here (not in a function)
/usr/include/linux/interrupt.h:129: error: requested alignment is not a constant
In file included from nvnet.h:31,
from nvnet.c:21:
/usr/include/linux/version.h:2:2: #error "======================================
================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l
inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro
m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended
by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may
not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file
s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the
following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exis
ts and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directo
ry"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t
o"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/incl
ude/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t
he following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct
include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/in
clude"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordi
ngly."
/usr/include/linux/version.h:35:2: #error "=====================================
=================="
In file included from nvnet.h:35,
from nvnet.c:21:
/usr/include/linux/netdevice.h:165: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclare d here (not in a function)
/usr/include/linux/netdevice.h:165: error: requested alignment is not a constant
In file included from nvnet.h:35,
from nvnet.c:21:
/usr/include/linux/netdevice.h:517: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclare d here (not in a function)
/usr/include/linux/netdevice.h:517: error: requested alignment is not a constant
nvnet.c:40:41: missing binary operator before token "("
nvnet.c:1284:41: missing binary operator before token "("
make[1]: *** [nvnet.o] Fehler 1
make[1]: Leaving directory `/mnt/win_d/linux/nforce/nvnet'
make: *** [nvnet_make] Fehler 2
[uli@localhost nforce]$ su
Password:
[root@localhost nforce]# make install
make -C nvnet install
make[1]: Entering directory `/mnt/win_d/linux/nforce/nvnet'
mkdir -p //lib/modules/2.4.22-10mdk/kernel/drivers/net
install -b -m 644 -o root nvnet.o //lib/modules/2.4.22-10mdk/kernel/drivers/net
install: Aufruf von stat für »nvnet.o« nicht möglich: No such file or directory
make[1]: *** [install] Fehler 1
make[1]: Leaving directory `/mnt/win_d/linux/nforce/nvnet'
make: *** [nvnet_install] Fehler 2
[root@localhost nforce]#


/edit2: noch ein bisschen information:

unter lsmod ist nvnet übrigens nicht auffindbar; modprobe nvnet: can't locate module nvnet; wenn ich bei mandrake die netzwerkkarte konfigurieren will, zeigt er zwar nvidia mcp networking adapter auf, doch am Ende steht trotzdem immer: "keine ethernet karte erkannt"

Hoffe man kann das Problem überhaupt lösen.

Amandus
25.01.04, 22:01
*schieb*

Ich will einmal mit Mandrake ans Internet!

pinglord
26.01.04, 01:09
Tja und ich will immer noch wissen, ob du nun eine oder 2 NIC's auf deinem Mainboard hast.

Du beschreibst irgendwie deine Hardware dermassen "nuschelig" dass ich überhaupt nicht weiss wie's bei dir aussieht.

Und hast du es denn schon mal mit dem Kernel 2.6 RPM aus dem Cooker probiert?

http://www.linuxforen.de/forums/showthread.php?s=&threadid=115170

Ich habe ja nicht umsonst geschrieben, dass auch meine zum Internet-Nutzen gedachten NICs (Realtec bzw. onboard) nicht mit dem 2.4.22 funktionierten, weil es ein APIC Problem gab.

Aber wahrscheinlich hast du auch noch nicht probiert, "noapic" als Kernel Parameter zu übergeben und die Hardware Erkennung nochmal zu starten.

Ich zweifle auch, ob du überhaupt weisst, wozu du da was kompilierst, und was du mit dem kompilierten etwas dann anfangen würdest.

Amandus
26.01.04, 21:17
Dieser Beitrag war jetzt aber sehr kritisch... *räusper* Aber naja, ich kenn mich nicht gut mit Linux aus, habe zwar vor, mich damit einmal tiefer zu beschäftigen, aber im Moment brauche ich es vorallem für die Anwendung, da ich mit Quanta Plus arbeiten will. Zu deinen Fragen:

Was heißt das ein oder 2 Nics? Ich kann dir aber hier einmal einen Link zur Seite auf asus.com geben, da wo alles genau beschrieben ist: Asus A7N8X-X (http://www.asuscom.de/prog/spec.asp?m=A7N8X-X&langs=07) Wie gesagt habe ich vor den onboard lan des Mainboards zu verwenden.

Das mit den noapic habe ich wirklcih nciht probiert, aber das werde ich gleich machen. Aber was muss ich dazu eingeben? Kann ich das beim Grub auch tun?

/edit: Man kann beim Systemstart bei Grub "no apic" erzwingen. -> kein Erfolg
ich habs auch im Bios deaktiviert. -> bringt auch nic, bis dass Windwos nicht mehr gestartet werden konnte. (als ich es wieder disablede ging es wieder)

Den Link und das kann ich wohl nicht nutzen, da das dann doch downgeloadet wird oder? (per rootkonsole)

Trotzdem danke für deine Antwort.
Grüße,
Amandus

Amandus
28.01.04, 18:52
Jaaa, jetzt habe ichs geschafft. Ich habe von nvida die tar-bals heruntergeladen, um sie mit make, make install zu installieren. Beim ersten Versuch klappte das nicht, (lauter errors) weil ich die Kernel-sourcen nicht installiert hatte.

Nachdem ich die aber installierte, klappte es gleich und auch mandrake konfigurerte dann erfolgreich das Internet.

Nvidia-Treiber: http://download.nvidia.com/XFree86/nforce/1.0-0261/NVIDIA_nforce-1.0-0261.tar.gz
Kernel-Sourcen: ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/Mandrake/9.2/i586/Mandrake/RPMS/kernel-source-2.4.22-10mdk.i586.rpm

Vielen Danke an alle die mir geholfen haben.

Grüße,
Amandus

jedy
29.01.04, 12:49
Original geschrieben von Carlmc
netzwerk aktiviert und in der modules.conf eingetragen, dass nvnet automatisch gestartet werden soll...

greetz.. [/B]

Hi!

Was genau muss ich in die modules.conf eintragen, damit nvnet automatisch startet !?

Gruß

Daniel

pinglord
29.01.04, 21:50
Es gibt neben der Modules.conf noch eine andere Datei, namens modules (soweit ich weiss), in der man die beim Boot zu ladenden Treiber einträgt.

@Amandus: Schön dass es jetzt läuft :). NIC bedeutet Network Interface Controller also Netzwerkkarte ;). Du hast irgendwie von verschiedenen geredet und ich wusste gar nicht genau was du drin hast. Aber du hast es ja mit Installieren der Kernel-Sourcen hinbekommen.

Die müssen immer dabei sein, wenn du einen Treiber für deinen gegebenen Kernel kompilieren willst :)