i386 of linux-2.6.31
I have compiled the kernel 2.6.23.8 for i386.
But Now when I checked the Linux kernel 2.6.31, there is no arch/i386 folder. Please help me to resolve the problem (I cant make the kernel). Outputs: ///////////// anand@Front-sys:/usr/src/linux-2.6.31$ sudo make [sudo] password for anand: CHK include/linux/version.h CHK include/linux/utsrelease.h SYMLINK include/asm -> include/asm-x86 CALL scripts/checksyscalls.sh CHK include/linux/compile.h /usr/src/linux-2.6.31/scripts/gen_initramfs_list.sh: Cannot open '1500' make[1]: *** [usr/initramfs_data.cpio] Error 1 make: *** [usr] Error 2 anand@Front-sys:/usr/src/linux-2.6.31$ //////////// ///////////// anand@Front-sys:/usr/src/linux-2.6.31$ uname -r 2.6.28-11-generic ///////////////// ///////////////// anand@Front-sys:/usr/src/linux-2.6.31$ uname -a Linux Front-sys 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux Thanking You. |
Hi, what process did you use before to compile the kernel?
Generally when I do this I follow a strict proceedure. First I unpack the kernel to /usr/src/(kernel-package-name-and-version) Then I make a symlink to /usr/src/linux Code:
ln -s /usr/src/(kernel-package-name-and-version) /usr/src/linux Code:
make oldconfig Now at this stage I would go into the .config file and configure any special options that I know my system requires. With... Code:
make xconfig Now once you have finished there you need to run Code:
make all Code:
make modules_install Code:
sudo make install In a simple upgrade I use the commands like this... An additional step to remove the old symlink is included here.... Code:
rm -rf /usr/src/linux && ln -s /usr/src/(kernel-name-ver) /usr/src/linux Code:
cd /usr/src/linux I hope this helps, any questions please ask here. I think in the short term you need to run make oldconfig, the missing step. See how you go, regards Glenn |
Thank You Sir
|
All times are GMT -5. The time now is 08:11 PM. |