Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
recompiled kernel, messed everything up
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Drewgrange
Guru
Guru


Joined: 29 Mar 2003
Posts: 483
Location: Ohio, US

PostPosted: Thu Apr 03, 2003 5:36 am    Post subject: recompiled kernel, messed everything up Reply with quote

Maybe this is just too obvious and I'm too tired.. I searched through the forums and didn't see anything. I recompiled my kernel in order to make sure I had scsi emulation this time.

(cd /usr/src/linux
make mrproper
make menuconfig
make dep && make clean bzImage modules modules_install
cp /usr/src/linux/arch/i386/boot/bzImage /boot

Now, NVdriver still works fine, but I can't get 8139too or the sound drivers to work anymore. It says it can't find them. Is this common with recompiling kernels? How do I get everything back?

Sorry if I'm asking an obvious question.
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Thu Apr 03, 2003 5:45 am    Post subject: Re: recompiled kernel, messed everything up Reply with quote

Drewgrange wrote:
cd /usr/src/linux
make mrproper
make menuconfig
make dep && make clean bzImage modules modules_install
cp /usr/src/linux/arch/i386/boot/bzImage /boot

Why mrproper? This way you lost your .config too, so you have to reconfigure everything, not just the SCSI emulation part.

Another thing is that if you have /boot on a separate partition you have to do
Code:
# mount /boot

before cp /usr/src/.../bzImage /boot
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
Red Nalie
Guru
Guru


Joined: 24 Mar 2003
Posts: 484
Location: Den Helder - The Netherlands - Europe - Earth - Milky Way - Universe

PostPosted: Thu Apr 03, 2003 7:22 am    Post subject: Reply with quote

I redid my Kernel as well, now my NVdriver can't be found or something...
Modprobe doesn't find it, re-emerging the kernel doesn't help, all is ok in modules.autoload, and it does say nvidia in /etc/modules.d/

Could someone help me out as well, so I won't need to open a different topic, and I can't really find the answer in the forum as well :cry:
_________________
Many people call me Linux-freak, I just see me as a freak who uses Linux :)

i'm a little n00bie short and stout, here is my nickname here is my SHOUT!!!1 when i get all flamed up hear me SHOUT!!1 ban me forever, kick me out
Back to top
View user's profile Send private message
papabean
Tux's lil' helper
Tux's lil' helper


Joined: 26 Oct 2002
Posts: 130
Location: Sacramento, California

PostPosted: Thu Apr 03, 2003 7:24 am    Post subject: Reply with quote

Have you tried either re-emerging the nvidia drivers or recompiling/installing the driver set from Nvidia's website?

Every time I've recompiled my kernel and rebooted, I get similar modprobe errors, but recompiling and installing the Nvidia drivers corrects it.
_________________
-- The world is full of tough guys. It doesn't need me to be one too.
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Thu Apr 03, 2003 7:25 am    Post subject: Reply with quote

Red Nalie wrote:
I redid my Kernel as well, now my NVdriver can't be found or something...
Modprobe doesn't find it, re-emerging the kernel doesn't help, all is ok in modules.autoload, and it does say nvidia in /etc/modules.d/

Could someone help me out as well, so I won't need to open a different topic, and I can't really find the answer in the forum as well :cry:

Remember that if you removed the old modules you have to emerge packages that install kernel modules again.
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
Red Nalie
Guru
Guru


Joined: 24 Mar 2003
Posts: 484
Location: Den Helder - The Netherlands - Europe - Earth - Milky Way - Universe

PostPosted: Thu Apr 03, 2003 7:34 am    Post subject: Reply with quote

bsolar wrote:
Red Nalie wrote:
I redid my Kernel as well, now my NVdriver can't be found or something...
Modprobe doesn't find it, re-emerging the kernel doesn't help, all is ok in modules.autoload, and it does say nvidia in /etc/modules.d/

Could someone help me out as well, so I won't need to open a different topic, and I can't really find the answer in the forum as well :cry:

Remember that if you removed the old modules you have to emerge packages that install kernel modules again.


Which one are those exactly, re-emerging the nvidia-glx/kernel had no effect.

I read somewhere that they changed the name in modules.autoload from NVdriver to nvidia, so did that, but no effect.

I find it so strange that remerging the nvidia-kernel doesn't make it work 8O
_________________
Many people call me Linux-freak, I just see me as a freak who uses Linux :)

i'm a little n00bie short and stout, here is my nickname here is my SHOUT!!!1 when i get all flamed up hear me SHOUT!!1 ban me forever, kick me out
Back to top
View user's profile Send private message
papabean
Tux's lil' helper
Tux's lil' helper


Joined: 26 Oct 2002
Posts: 130
Location: Sacramento, California

PostPosted: Thu Apr 03, 2003 8:44 am    Post subject: Reply with quote

I must have overlooked this in the original post and I apologize, but you're trying to get the 8139 (NIC) and your sound card modules to load again, correct?

I am going to guess that you have an Nforce-based motherboard. When you recompiled your kernel, did you select the 8139too module and the i810 audio module?

Or did you possibly compile them into the kernel itself? If this is the case, the modules would not load.

Quote:
Modprobe doesn't find it, re-emerging the kernel doesn't help, all is ok in modules.autoload, and it does say nvidia in /etc/modules.d/


The module you'd be looking for in this case is 8139too.
_________________
-- The world is full of tough guys. It doesn't need me to be one too.
Back to top
View user's profile Send private message
Red Nalie
Guru
Guru


Joined: 24 Mar 2003
Posts: 484
Location: Den Helder - The Netherlands - Europe - Earth - Milky Way - Universe

PostPosted: Thu Apr 03, 2003 10:22 am    Post subject: Reply with quote

You just mixed 2 things up, I just used this topic for my problem, the topicstarter has a total different problem....

I think I'll open-up my own topic then, sorry topicstarter...
_________________
Many people call me Linux-freak, I just see me as a freak who uses Linux :)

i'm a little n00bie short and stout, here is my nickname here is my SHOUT!!!1 when i get all flamed up hear me SHOUT!!1 ban me forever, kick me out
Back to top
View user's profile Send private message
papabean
Tux's lil' helper
Tux's lil' helper


Joined: 26 Oct 2002
Posts: 130
Location: Sacramento, California

PostPosted: Thu Apr 03, 2003 11:54 am    Post subject: Reply with quote

Oops. So, I did. :oops:

Sorry.
_________________
-- The world is full of tough guys. It doesn't need me to be one too.
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Thu Apr 03, 2003 11:59 am    Post subject: Reply with quote

a make clean will delete your modules, so you'll have to reinstall it. And the 8139too should work fine if it worked before, though you could probably forget about it as a module and run it in the kernel instead.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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