LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-11-2003, 03:49 AM   #16
Poulpy
LQ Newbie
 
Registered: Nov 2003
Posts: 20

Original Poster
Rep: Reputation: 0

Quote:
Originally posted by k0rupt
I'm stuck at the same spot SpiritAuthor is,

linux cannot find /usr/src/LINUX

I can get into /usr/src/RPM, /usr/src/BUILD etc but not /usr/src/LINUX!

anyone know?!
Did you install the kernel-source-2.4.22-10mdk.i586.rpm package?
 
Old 12-11-2003, 09:15 AM   #17
SpiritAuthor
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Mandrake 9.2
Posts: 36

Rep: Reputation: 15
Stuck with installing kernel

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.
 
Old 12-11-2003, 09:20 AM   #18
Poulpy
LQ Newbie
 
Registered: Nov 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Re: Stuck with installing kernel

Quote:
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.
 
Old 12-11-2003, 09:31 AM   #19
SpiritAuthor
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Mandrake 9.2
Posts: 36

Rep: Reputation: 15
Source not included in 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.

Thoughts?
 
Old 12-11-2003, 09:41 AM   #20
Poulpy
LQ Newbie
 
Registered: Nov 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Re: Source not included in 3-CD set

Quote:
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.

Thoughts?
The link was already in my first post, but here you go: kernel-source-2.4.22-10mdk.i586.rpm.
 
Old 12-11-2003, 12:27 PM   #21
SpiritAuthor
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Mandrake 9.2
Posts: 36

Rep: Reputation: 15
Sometimes I think the older I get, the more stupid I get. Next time I'll go back and check before I ask again.

Thanks.
 
Old 12-11-2003, 06:59 PM   #22
k0rupt
LQ Newbie
 
Registered: Dec 2003
Location: Ontario Canada
Distribution: Gentoo w/ Kernel 2.6.7
Posts: 18

Rep: Reputation: 0
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
 
Old 12-12-2003, 11:27 PM   #23
SpiritAuthor
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Mandrake 9.2
Posts: 36

Rep: Reputation: 15
Still nothing but trying

Man I feel pretty frustrated right now. I mean all I'm trying to do is get a recognized network card to work and I'm getting nowhere.

I did the kernel source upgrade that Poulpy suggested and that went fine. Got the /usr/src/linux directory and everything in it. So far so good BUT...

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

Apparently something has gone amok here.

Also, not to allow some simple binary on/off code mess with my head, I tried to continue the instructions and cp goes nowhere.

So, I'm once again dead in the water.

There must be an easier way or I'm really missing something terribly obvious here.

Hmm.... I do remember pulling out a few hairs setting up OS/2 years ago too but persistence paid off! Hoping that's the case here too.


Last edited by SpiritAuthor; 12-12-2003 at 11:41 PM.
 
Old 12-13-2003, 02:54 PM   #24
Animefoo
LQ Newbie
 
Registered: Dec 2003
Posts: 1

Rep: Reputation: 0
Re: Still nothing but trying

Quote:
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

Last edited by Animefoo; 12-13-2003 at 02:57 PM.
 
Old 12-13-2003, 05:08 PM   #25
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
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

Save lilo.conf
lilo
reboot

Last edited by /bin/bash; 12-13-2003 at 05:13 PM.
 
Old 12-14-2003, 04:14 PM   #26
SpiritAuthor
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Mandrake 9.2
Posts: 36

Rep: Reputation: 15
mrproper error 123. What does that mean?

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.
 
Old 12-14-2003, 05:44 PM   #27
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Go to /usr/src and do this:
su -c "chown -R <user>:<user> linux-2.4.23"

That should set the ownership of the files to <user>
 
Old 12-14-2003, 05:47 PM   #28
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Quote:
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:

# id
uid=0(root) gid=0(root) groups=0(root)
 
Old 12-15-2003, 12:11 AM   #29
SpiritAuthor
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Mandrake 9.2
Posts: 36

Rep: Reputation: 15
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? :-)
 
Old 12-15-2003, 05:58 AM   #30
Poulpy
LQ Newbie
 
Registered: Nov 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
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? :-)
Same question...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Abit nForce2 ethernet controller under SuSE 9.0? alcazar SUSE / openSUSE 4 12-31-2004 09:29 AM
Abit nForce2 ethernet controller under SuSE 9.0? alcazar Linux - Newbie 0 12-29-2004 04:56 PM
Asustek nforce2 Ethernet Controller donk Linux - Hardware 6 05-08-2004 04:14 PM
nforce2 ethernet controller holdenowen Red Hat 2 09-05-2003 01:26 PM
SiS630E Chipset based ethernet controller problems tobythelard Linux - Software 3 02-22-2002 05:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration