Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I'm attempting to patch my Redhat 9 kernel to setup ACPI support for my Picturebook (yea, I did my first Lunix install on a Sony Picturebook, I'm a massochist.)
ls /usr/src/ only lists 'debug' so I figured I had to download and install the kernel source. I used uname to find my kernel version and processor:
$ uname -rm
2.4.20-8 i686
and downloaded and installed this rpm:
kernel-2.4.20-8.i686.rpm
by double clicking on it. It seemed to install fine but /usr/src still only had 'debug' in it! I think the rpm installed a bunch of files in /lib/modules/2.4.20-8 but I can't seem to be able to use the patch command in there? How do I get a subdirectory like /usr/src/linux-2.4.20-8
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398
Rep:
you can use i386 the source code is a collection of text files so it realy doesnt matter if it is 686 or 386 but you can always use 386 on a 686 machines for binary files. cpu s are backward compatible so 486 can run 386 code and 686 can run 386 code
Thanks again. I'm trying to install kernel-source-2.4.20-8.i386.rpm from the second disk of the RedHat 9 install CDs but now I have to work through a gcc dependency...
Thanks nakkaya. I booted up the installer CD, installed the kernel source, gcc, tcl, and tk. I rebooted, applied the patch, recompiled the kernel and APCI works perfectly. My Picturebook is no longer a toaster oven (man would that thing get HOT!) Now I just have to figure out why my wireless PCMCIA card is totally dead (no lights). I can't remember what I had to do to get it working in the first place but I'll post another thread on that if I get stuck.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.