[expert] Kernel compilation.
Could you suggest me the best place to find who-to or docs for compliation of MDK 8.1 kernel. I am looking especially for APMD (power off and battery) for compaq laptop. I am looking for some kind of manual or explication of all the steps I need to do to compile my kernel. If you have any suggestion in this subject they are also very welcomed. Thanks, Tomek -- Tego nie znajdziesz w zadnym sklepie! [ http://oferty.onet.pl ] Want to buy your Pack or Services from MandrakeSoft? Go to http://wwwmandrakestorecom
Re: [expert] Kernel compilation.
On Thu, 28 Feb 2002, Tomek Nowinski wrote: Could you suggest me the best place to find who-to or docs for compliation of MDK 81 kernel I am looking especially for APMD (power off and battery) for compaq laptop I am looking for some kind of manual or explication of all the steps I need to do to compile my kernel Try this: http://wwwdigitalhermitcom/linux/kernelhtml :) If you have any suggestion in this subject they are also very welcomed Thanks, Tomek Want to buy your Pack or Services from MandrakeSoft? Go to http://wwwmandrakestorecom
Re: [expert] Kernel Compilation Error
El mié, 16-01-2002 a las 02:46, Noah Swint escribió: I made the mistake of attempting to install some ipsec client that was in my webmin networking section. It modified my kernel files somehow. Now I'm trying to recombile the kernel and this is the error that I get #make xconfig rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts kconfig.tk make[1]: Entering directory `/usr/src/linux-2.4.8/scripts' cat header.tk ./kconfig.tk ./tkparse ../arch/i386/config.in kconfig.tk net/Config.in: 72: unable to open net/ipsec/Config.in make[1]: *** [kconfig.tk] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.8/scripts' make: *** [xconfig] Error 2 Any help. I'm using the 2.4.8-34.1mdk kernel -- http://ld.net/?nswint Registered Linux User Number 254358 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Run 'make mrproper' before. saludos óscar. -- .-. oo| /`'\ Usuario de Linux Registrado #227443 (\_;/) http://counter.li.org/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Kernel Compilation Error
On 15 Jan 2002, Noah Swint wrote: I made the mistake of attempting to install some ipsec client that was in my webmin networking section. It modified my kernel files somehow. Now I'm trying to recombile the kernel and this is the error that I get #make xconfig rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts kconfig.tk make[1]: Entering directory `/usr/src/linux-2.4.8/scripts' cat header.tk ./kconfig.tk ./tkparse ../arch/i386/config.in kconfig.tk net/Config.in: 72: unable to open net/ipsec/Config.in make[1]: *** [kconfig.tk] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.8/scripts' make: *** [xconfig] Error 2 Any help. I'm using the 2.4.8-34.1mdk kernel Which version of the ipsec client did you install? What are the full list of steps that you're taking to rebuild your kernel? Also, are you using the Mandrake provided kernel sources or the stock Linus kernel. It matters if you're trying to run a patch against the sources and it's seeing something different than what it expects. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Kernel Compilation Error
I made the mistake of attempting to install some ipsec client that was in my webmin networking section. It modified my kernel files somehow. Now I'm trying to recombile the kernel and this is the error that I get #make xconfig rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts kconfig.tk make[1]: Entering directory `/usr/src/linux-2.4.8/scripts' cat header.tk ./kconfig.tk ./tkparse ../arch/i386/config.in kconfig.tk net/Config.in: 72: unable to open net/ipsec/Config.in make[1]: *** [kconfig.tk] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.8/scripts' make: *** [xconfig] Error 2 Any help. I'm using the 2.4.8-34.1mdk kernel -- http://ld.net/?nswint Registered Linux User Number 254358 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] kernel compilation probs
I am trying to compile a new kernel from kernel.org, 2.4.5 make dep clean and bzImage all went well, however make install errors with: Warning: device 0x030f exceeds 1024 cylinder limit Fatal: geo_comp_addr: Cylinder number is too big (3426 1023) make[1]: *** [install] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.5/arch/i386/boot' make: *** [install] Error 2 Now Mandrake is out there on partition hda15, and I have 4 other os's on this machine, so how do i get make install to work here?? Any help appreciated... Brian D. Klar - CVE OTS WPAFB (937) 656-2861 (937) 973-3125 (pager)
Re: [expert] Kernel Compilation
Hi, please see the klogd(8) manual page for info about the System.map file. On Mar 12 Tom Berkley wrote: No, the System.map in boot in not affected by a kernel compilation. The System.map in /usr/src/linux ( or wherever you installed the source) is updated. I'm thinking that the System.map in /usr/src/linux needs to be copied to /boot with a unique id and then point the /boot/System.map to that file before running lilo and rebooting (assuming the corresponding kernel is in the /boot directory along with it) But there is something that does not seem correct about this because then how would you boot to another kernel without editing the link, rerunning lilo and then rebooting. Just does not compute. Does the kernel find the correct System.map file when it boots? If you use more than one kernel, then copy /usr/src/linux/System.map to /boot/System.map-`uname -r` and start klogd with the `-k' switch at boot time, i.e. klogd -k /boot/System.map-`uname -r` from /etc/rc.d/init.d/syslog. Rene -- UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things. (Doug Gwyn)
Re: [expert] Kernel Compilation
I *think* that the link the system.map points to is updated when you run make install (somewhat automated kernel install). Check the timestamp of the files in /boot, and check to see if the link itself is pointing to the right one. -- Stephen On Sat, 11 Mar 2000, you wrote: There are two files in the /boot directory that I don't understand: System.map module-info Both are typcially symbolic links to other files. The System.map file is also in the /usr/src/linux file and is generated anew during the kernel compilation process but I am not certain which make xxx function generates it (where xxx= dep, clean, bzImage, modules, or modules_install) since I usually compile with all of the commands in a single line with the shell function. I would be most grateful for elucidation on the subject since I have not been able to find anything in the kernel HOWTO or in any of the many linux books that I have. Thanks Tom