Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nach Kernelupdate wird Netzwerkkarte nicht mehr gefunden.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1110
Location: Schwabenländle

PostPosted: Sat Nov 29, 2008 9:29 am    Post subject: Nach Kernelupdate wird Netzwerkkarte nicht mehr gefunden. Reply with quote

Hallo Zusammen,

nachdem mir das world Update angezeigt hat, dass ein neuer Kernel verfügbar sei, wollte ich diesen natürlich auch instalieren.

Leider aber wird nach einem Reboot die NIC nicht mehr gefunden. Er meldet: "eth0 not found", oder so was in dieser Richtung.

Hier meine Vorgehensweise:

Code:
cd /usr/src/linux
cp .config ..
cd ..
ln -sfn linux-2.6.26-gentoo-r3 linux
cd /usr/src/linux
make mrproper
make oldconfig
make && make modules_install
cp -vf arch/i386/boot/bzImage /boot/bzImage-2.6.26-gentoo-r3


Habe ich da etwas übersehen?
Beim letzen Update ging alles glatt.

Mein Board ist ein ASUS P5B DeLuxe mit 2x OnBoard LAN.
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3369
Location: de

PostPosted: Sat Nov 29, 2008 9:46 am    Post subject: Re: Nach Kernelupdate wird Netzwerkkarte nicht mehr gefunden Reply with quote

3PO wrote:
Code:
cd /usr/src/linux
cp .config ..
cd ..
ln -sfn linux-2.6.26-gentoo-r3 linux
cd /usr/src/linux
make mrproper
make oldconfig
make && make modules_install
cp -vf arch/i386/boot/bzImage /boot/bzImage-2.6.26-gentoo-r3


Habe ich da etwas übersehen?

Naja, du hast die /usr/src/linux/.config nach /usr/src kopiert. Dann hast du den neuen Symlink angelegt. Du hast aber nicht /usr/src/.config nach /usr/src/linux-2.6.26-gentoo-r3 kopiert. Sofern make oldconfig das nicht automatisch macht, dürftest du damit die Default-Kernel-Einstellungen haben.

Btw: Wieso nimmst du nicht 2.6.27? Da sind wir schon bei Version r4.
Back to top
View user's profile Send private message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1110
Location: Schwabenländle

PostPosted: Sat Nov 29, 2008 10:20 am    Post subject: Re: Nach Kernelupdate wird Netzwerkkarte nicht mehr gefunden Reply with quote

Das mit dem Kopierem der .config hatte ich übersehen. :oops:

Irgendwie funktioniert das "make oldconfig" nicht wirklich gut.
Ich habe es jetzt mal mit "make menuconfig" gemacht, damit geht es wieder. :lol:

musv wrote:
[...]
Btw: Wieso nimmst du nicht 2.6.27? Da sind wir schon bei Version r4.


Deshalb??

Code:
vdr02 ~ # emerge -av gentoo-sources

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-kernel/gentoo-sources-2.6.26-r3  USE="-build -symlink" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] n

Quitting.

vdr02 ~ #
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Sat Nov 29, 2008 10:33 am    Post subject: Re: Nach Kernelupdate wird Netzwerkkarte nicht mehr gefunden Reply with quote

3PO wrote:
Irgendwie funktioniert das "make oldconfig" nicht wirklich gut.

Ich nehm meine .config mittlerweile schon (geschätzt) ein Jahr mit, hatte nie Probleme mit make oldconfig.
Was hat denn bei dir gestreikt? Oder was macht dir zu schaffen?
Back to top
View user's profile Send private message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1110
Location: Schwabenländle

PostPosted: Sat Nov 29, 2008 10:46 am    Post subject: Reply with quote

Nun, make oldconfig macht folgendes:

Code:
.....
# CONFIG_SKGE is not set
# CONFIG_SKY2 is not set
.....


Aussehen sollte es aber so:

Code:
.....
CONFIG_SKGE=y
CONFIG_SKY2=y
.....


Denn das sind genau die Module meiner NIC
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Sat Nov 29, 2008 10:49 am    Post subject: Reply with quote

Öhm, du hast aber das make oldconfig schon nochmal laufen lassen, nachdem die .config im richtigen Verzeichnis lag?
Mach mal mrproper, kopier die alte config aus deinem 2.6.25-gentoo-r7 (war doch dein alter, oder?) und lass oldconfig nochmal laufen.
Hast du evtl. die config kopiert, dann mrproper laufen lassen, und DANN erst oldconfig?
mrproper säubert (so weit mir bekannt) nämlich auch die config...
Back to top
View user's profile Send private message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1110
Location: Schwabenländle

PostPosted: Sat Nov 29, 2008 11:27 am    Post subject: Reply with quote

So, jetzt geht es.

Ich habe es nochmal mit make oldconfig probiert.

Code:
cd /usr/src/linux
cp .config ..
cd ..
ln -sfn linux-2.6.26-gentoo-r3 linux
cd /usr/src/linux
make mrproper
cp /usr/src/.config /usr/src/linux
make oldconfig
make && make modules_install
cp -vf arch/i386/boot/bzImage /boot/bzImage-2.6.26-gentoo-r3
.....


Man sollte garnicht glauben was das ausmacht, wenn man die Befehle in der richtigen Reihenfolge eingibt.... :lol: :roll:
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3369
Location: de

PostPosted: Sat Nov 29, 2008 11:29 am    Post subject: Reply with quote

kann ich bestätigen. mrproper verwende ich eigentlich nie, wenn ich ein Kernelupdate mach. Soweit ich das in Erinnerung hab, brauchst du das nur, wenn einen bereits bestehenden Kernel neubauen willst mit vollkommen veränderter Konfiguration. Wenn du nur kleine Änderungen am Kernel vornimmst, wird nämlich nicht der gesamte Kernel neugebaut sondern nur die notwendigen Teile.

Schritte bei mir bei Kernelupdate
Code:
cp /usr/src/linux/.config /usr/src/linux-2.6.27-gentoo-r4/
rm /usr/src/linux
ln -s /usr/src/linux-2.6.27-gentoo-r4 /usr/src/linux
cd /usr/src/linux
make oldconfig
make xconfig
make && make modules_install
cp arch/i386/boot/bzImage /boot/bzImage-2627-r4
nano /boot/grub/grub.conf
module-rebuild rebuild -X
reboot

Das make xconfig mach ich nur bei größeren Änderungen am Kernel
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum