LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   while compiling kernel i get errors,how do i fix them? (https://www.linuxquestions.org/questions/slackware-14/while-compiling-kernel-i-get-errors-how-do-i-fix-them-663965/)

rixtr66 08-19-2008 11:26 PM

while compiling kernel i get errors,how do i fix them?
 
when i compiled a new kernel i got this message;
oot@slack-1:/usr/src/linux# make install
sh /usr/src/linux-2.6.24.5/arch/x86/boot/install.sh 2.6.24.5 arch/x86/boot/bzImage System.map "/boot"
Warning: LINEAR is deprecated in favor of LBA32: LINEAR specifies 24-bit
disk addresses below the 1024 cylinder limit; LBA32 specifies 32-bit disk
addresses not subject to cylinder limits on systems with EDD-BIOS extensions;
use LINEAR only if you are aware of its limitations.
Warning: LILO is compensating for a BIOS bug: (drive 0x81) heads > 255
Warning: LILO will try to compensate for a BIOS bug: (drive 0x81) sectors > 63
Fatal: LBA32 addressing should be used, not LINEAR
make[1]: *** [install] Error 1
make: *** [install] Error 2
root@slack-1:/usr/src/linux#
what does it mean?and what can i do about it?
Rick

Bruce Hill 08-20-2008 12:40 AM

Try this Kernel Rebuild Guide and see if you have better success.

gnashley 08-20-2008 11:17 AM

On Slackware it is not a good idea to use the 'make install' command as it may not work properly and leave your system unbootable. Instead, install the kernel by hand as directed in the Guide. It's okay to use 'make modules_install' to install the modules, but even there it is a good idea to back up your modules or change the name of the folder before running the command.

vharishankar 08-20-2008 11:49 AM

Quote:

Originally Posted by gnashley (Post 3253886)
On Slackware it is not a good idea to use the 'make install' command as it may not work properly and leave your system unbootable. Instead, install the kernel by hand as directed in the Guide. It's okay to use 'make modules_install' to install the modules, but even there it is a good idea to back up your modules or change the name of the folder before running the command.

That's why I always almost never use make install myself regardless of distribution.

On most modern Linux distributions make install is a bad idea. It usually conflicts with package manager tracked files as well as some system specific files.

Oliver_H 08-23-2008 10:26 AM

>It usually conflicts with package manager tracked files as well as some system specific files.

Therefore we are using Slackware, purely KISS. In Debian etc. you will kill yourself using the real power of Linux.


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