View previous topic :: View next topic |
Author |
Message |
Drewgrange Guru
Joined: 29 Mar 2003 Posts: 483 Location: Ohio, US
|
Posted: Thu Apr 03, 2003 5:36 am Post subject: recompiled kernel, messed everything up |
|
|
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 |
|
|
bsolar Bodhisattva
Joined: 12 Jan 2003 Posts: 2764
|
Posted: Thu Apr 03, 2003 5:45 am Post subject: Re: recompiled kernel, messed everything up |
|
|
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
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 |
|
|
Red Nalie Guru
Joined: 24 Mar 2003 Posts: 484 Location: Den Helder - The Netherlands - Europe - Earth - Milky Way - Universe
|
Posted: Thu Apr 03, 2003 7:22 am Post subject: |
|
|
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 _________________ 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 |
|
|
papabean Tux's lil' helper
Joined: 26 Oct 2002 Posts: 130 Location: Sacramento, California
|
Posted: Thu Apr 03, 2003 7:24 am Post subject: |
|
|
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 |
|
|
bsolar Bodhisattva
Joined: 12 Jan 2003 Posts: 2764
|
Posted: Thu Apr 03, 2003 7:25 am Post subject: |
|
|
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 |
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 |
|
|
Red Nalie Guru
Joined: 24 Mar 2003 Posts: 484 Location: Den Helder - The Netherlands - Europe - Earth - Milky Way - Universe
|
Posted: Thu Apr 03, 2003 7:34 am Post subject: |
|
|
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 |
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 _________________ 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 |
|
|
papabean Tux's lil' helper
Joined: 26 Oct 2002 Posts: 130 Location: Sacramento, California
|
Posted: Thu Apr 03, 2003 8:44 am Post subject: |
|
|
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 |
|
|
Red Nalie Guru
Joined: 24 Mar 2003 Posts: 484 Location: Den Helder - The Netherlands - Europe - Earth - Milky Way - Universe
|
Posted: Thu Apr 03, 2003 10:22 am Post subject: |
|
|
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 |
|
|
papabean Tux's lil' helper
Joined: 26 Oct 2002 Posts: 130 Location: Sacramento, California
|
Posted: Thu Apr 03, 2003 11:54 am Post subject: |
|
|
Oops. So, I did.
Sorry. _________________ -- The world is full of tough guys. It doesn't need me to be one too. |
|
Back to top |
|
|
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Thu Apr 03, 2003 11:59 am Post subject: |
|
|
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 |
|
|
|