[Techtalk] Trying to patch the kernel...
Rudy L. Zijlstra
rudy at edsons.demon.nl
Sat May 31 21:31:00 EST 2003
Sara,
It looks like you have only installed the kernel headers. You have to
install the kernel sources as well :)
Generally speaking you have 2 routes:
-1- get the kernel.org (the 'vanilla' kernel)
-2- get the most recent kernel sources from your distro.
Whereas I have no clue as to which distro you are running, and the
commands to get the most recent sources vary from distro to distro (also
I have no recent experience with RedHat, which seems to be widely used),
I'll limit myself to the kernel.org version.
- point you browser to www.kernel.org/pub/linux/kernel/v2.4
- download the most recent (currently 2.4.20) stable kernel. Either in
gz or bz2 format
- go to /usr/src and do:
tar xzf <downloaded image>
or
tar xyf <downloaded image>
tar xzf if in gz format.
After that you'll have the patch again.
Good luck,
Rudy
Sara wrote:
>Hi!
>I tryiing to apply an ACPI pacth to my kernel, but I not going too far :(."
>I've been reading some doc (including the linuxchix course on kernel hacking)
>but ...
>
>I've done already "patch ...." and I think that's OK. But I'm trying now to
>configure the kernel, so I've tried "make menuconfig" and "make xconfig" in
>my /usr/src/linux directory, but that gives me the error: "make: *** No rule
>to make target `config'. Stop." Same with xconfig.
>
>What I'm doing wrong? (Maybe the question would be if I'm doing something
>right ;))
>
>The contents of my linux directory are: Documentation include
>(in case that info could be useful)
>
>I'm not suprised at the error, because there is no file to make, but in all
>the doc I've read it says to do make in this directory. Is some file missing?
>Have I misread something?
>
>I'm quite a newbie, as I guess tou can gues... :)
>
>Thanks in advance,
>
>Sara
>
>_______________________________________________
>Techtalk mailing list
>Techtalk at linuxchix.org
>http://mailman.linuxchix.org/mailman/listinfo/techtalk
>
>
More information about the Techtalk
mailing list