LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   I don't have /usr/src/linux ?!?!? (https://www.linuxquestions.org/questions/slackware-14/i-dont-have-usr-src-linux-79765/)

Nikon01 08-07-2003 03:16 AM

I don't have /usr/src/linux ?!?!?
 
Well I was about to attempt my first custom kernel and after editing my lilo.conf I did a cd /usr/src/linux and it said that the directory doesn't exist. so I go the slow route (cd usr, cd src) and low and behold all I have is a diretory caled rpm. What did I do wrong on install to not have it? I'm running Slack 9.0 and I would very much like to compile my own custom kernel.

Please help! Thanks a ton in advance!

Kjetil4455 08-07-2003 03:23 AM

oh man, i dident understand that first time either:) the thing is- you can simply download the full source from www.kernel.org

download a folder mine is called "linux-2.4.21" after you got your source folder in /usr/src/

you make this commands:

cd /usr/src/
ln -s linux-2.4.21 linux (makes a systemlink called linux ((A SHORTCUT))

after that cd linux
make mrproper
make menuconfig
make dep
make clean
make bzImage
make modules
make modules install
cp /linux/arch/i386/boot/bzImage /boot/

then make lilo boot your new file :)

(REMEMBER TO DO THE MENUCONFIG CORRECTLY!!!)

Nikon01 08-07-2003 03:37 AM

ok

I have a problem though. I cant get my laptop onto the net because my pcmcia card isn't working. I've asked on here a couples times and I've searched the forums but can't figure out why it wont work. On boot it recognizes the card but claims it is unsupported. How would I go about getting the source code onto my laptop? The pcmcia card is half the reason I want to compile a kernel, that and to learn how ;). The pcmcia card is a Orinoco 802.11b gold card and I've read that you need a patch for this card but I wouldn't know where to get the patch from... Even if I got the patch I don't know how to patch anyways. lol. Should I just d/l the src onto my windows desktop and burn it to a cd? I would prefer to fix my pcmcia card before compiling the kernel if at all possible.

Help please? =)

Kjetil4455 08-07-2003 03:42 AM

hmm, im guessing its a dialup modem? anyways you might want to check for a driver on the home page... usually somerthing like

www.<<harware maker name thingie>>.com

(im a complete n00b about new hardware, sorry :/)

Nikon01 08-07-2003 07:15 AM

Proxim doesnt have drivers for them and I'm too big of a newb to get all the tech talk about linux to understand how to install a patch for orinoco or even get the so-called support from the 2.4 kernel ;\

Hopefully someone who knows could do a walkthrough for me? =)

tipaul 08-07-2003 12:01 PM

Kernel sources
 
For the kernel compilation part:

Have you downloaded the kernel source of Slackware?

Because it's not included on the CD, but available on slackware mirror sites in the sources directory...

It's easier and all configured "a la" Slackware... Just install the .tgz package and voilą!

Regards,
Ti-Paul.

stevenhasty 08-07-2003 12:05 PM

and you can always *buy* a set of slackware cds, support the cause, and get your kernel source delivered almost as fast as a 56k modem would do it...

tipaul 08-07-2003 03:12 PM

Support Slackware
 
You can be SURE that in the next release, I will go through the "DONATION" way!!!! :D

I'm in heaven since I installed Slack 9.0 when it was released...

I'm FULLY devotional to it now...

I always got so many strange behaviour under RedHat-Mandrake-Lycoris and so on...

I'm not talking about Gentoo tough... Because I don't want to compile my whole system! :p ...Lazy guy!

Nikon01 08-07-2003 05:13 PM

Could you point me in the direction of where on slackware.com to get the src from? TY bunches ;D.

carboncopy 08-08-2003 12:23 AM

This is the official mirror list:
http://www.slackware.com/getslack/

I prefer this list:
http://www.abnormalpenguin.com/slackware-mirrors.php
ftp.kpn.be
is very fast. unfortunately it has ban my IP address cause I used flashget to download from there.


All times are GMT -5. The time now is 03:50 AM.