HOW-TO: Mandrake 9.2 with nForce2 based ethernet controller
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok, I know this probably sounds really stupid but I'm more of a newbie at Linux than I was 15 years ago with DOS.
So how do you install (or get for that matter) these other kernel versions?
When I installed my Mandrake 9.2, I had lots of disk space so I installed EVERYTHING so I could play around with it. That means, development, scientific, etc. If that's the case, why didn't this kernel development thing get installed?
Thanks for helping those of us who haven't a clue get through this bump.
Originally posted by SpiritAuthor When I installed my Mandrake 9.2, I had lots of disk space so I installed EVERYTHING so I could play around with it. That means, development, scientific, etc. If that's the case, why didn't this kernel development thing get installed?
Because the sources are not provided on the Mandrake 9.2 3-CD set.
So does this mean that we're stuck or can we get the source somewhere? I downloaded Mandrake from USF just last week but never bothered to look if they have the source somewhere.
Originally posted by SpiritAuthor So does this mean that we're stuck or can we get the source somewhere? I downloaded Mandrake from USF just last week but never bothered to look if they have the source somewhere.
Okay, I installed the kenerl-source no problem and did make and make install and no errors but when i goto configure the network in mandrake control panel it says it cannot find anything...
i also did the "alias eth0 nvnet" in modules.conf and rebooted and still no go....
Originally posted by SpiritAuthor
When I do uname -r all I get is the kernel version. No Kernel-source; no kernel-enterprise; no kernel-header, just 2.4.22-10mdk
From what I read, I think it means that since it doesn't say -enterprise then you don't include the ... I think the line will be
cp arch/config/i386/defconfig.config
I'm not at home, so I can't try it.. let me know if it helps
Here's a step by step guide for what you are trying to do. You could practically turn this into a script and it would do it for you automatically, but don't do that, follow the steps and it should work. You may need to verify some things, like the name of your config file or weather you are using an initrd (hint: Mandrake almost always uses initrd.)
WARNING Not responsible for typos or errors.
This assumes you are trying to build 2.4.23 kernel and you are in the directory with the bz2 tarball.
mv linux-2.4.23.tar.bz2 /usr/src
cd /usr/src
tar xjf linux-2.4.23.tar.bz2
rm -f linux
ln -s linux-2.4.23 linux
cd linux
make mrproper
cp /boot/config-2.4.22-10mdk .config #Your /boot/config may be different
make oldconfig
make dep
make bzImage
make modules
make modules_install
cat arch/i386/boot/bzImage >/boot/vmlinuz-2.4.23
cp .config /boot/config-2.4.23
cp System.map /boot/System.map-2.4.23
cd /boot
mkinitrd initrd-2.4.23.img 2.4.23 #May not be necessary
Edit /etc/lilo.conf and add this:
image=/boot/vmlinuz-2.4.23
label="2.4.23"
initrd=/boot/initrd-2.4.23.img #May not be necessary
append=" your standard append"
root="your root partition"
read-only
Also I get lots of "cannot remove" and "permission denied" stuff.
So, figuring that I don't have the proper permission (SU), I logged in as "root" and went in to set up my user account and give myself Superuser permissions. NOT. All I can do from the User Administration menu is change a user's password; add to groups, etc.
So seeing this, I figured that I'd just do this as "root" NOT again. As "root" I can't see the directories where I put the stuff I downloaded to fix this problem and this also seems strange to me. After all, "root" should be able to see everything right but when I go to "home" I can't see any user directories, which is where my instructions and RPMs are sitting.
This is getting to the point where I'm about to go into Partition Magic and blow away Linux forever. Why is this so hard? Am I just stupid or something? Wait, don't answer that!
Last edited by SpiritAuthor; 12-14-2003 at 04:16 PM.
As "root" I can't see the directories where I put the stuff I downloaded to fix this problem and this also seems strange to me. After all, "root" should be able to see everything right but when I go to "home" I can't see any user directories, which is where my instructions and RPMs are sitting.
Make sure you are in fact root by typing id, it should look like this:
I did the su -c "chown thing and actually got to rebuild the NVIDIA driver. Took a while, but it's done. Had some issues with the install but finally got that finished.
It really looked very promising until I went into the GUI for configuring he network. Then it started doing the same crap. I can configure my DSL stuff but then it tells me that it can't find a network card. When I try to launch the wizard to install the network card, it locks up the configuration panel.
Getting more frustrated here.
So NOW what's up? Thoughts? Should I just trash this thing and do a reinstall or something? Or is that only a Windows fix? :-)
Originally posted by k0rupt Okay, I installed the kenerl-source no problem and did make and make install and no errors but when i goto configure the network in mandrake control panel it says it cannot find anything...
i also did the "alias eth0 nvnet" in modules.conf and rebooted and still no go....
very wierd
Did you type /sbin/depmod -a after having your /etc/modules.conf file updated?
Quote:
Originally posted by SpiritAuthor Something happened but still back to square one!
I did the su -c "chown thing and actually got to rebuild the NVIDIA driver. Took a while, but it's done. Had some issues with the install but finally got that finished.
It really looked very promising until I went into the GUI for configuring he network. Then it started doing the same crap. I can configure my DSL stuff but then it tells me that it can't find a network card. When I try to launch the wizard to install the network card, it locks up the configuration panel.
Getting more frustrated here.
So NOW what's up? Thoughts? Should I just trash this thing and do a reinstall or something? Or is that only a Windows fix? :-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.