LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   i am not able to compile a kernel 2.6.29.1 on fedora14. (https://www.linuxquestions.org/questions/linux-newbie-8/i-am-not-able-to-compile-a-kernel-2-6-29-1-on-fedora14-862628/)

anil_cdac 02-14-2011 11:41 AM

i am not able to compile a kernel 2.6.29.1 on fedora14.
 
hi friends,
i was trying to install kernel 2.6.29.1 on fedora 14 but it is giving error.
First download a package with kernel and i saved in home/user/linux.
Afterwards i can extract this package.
1.tar -xvzf linux-2.6.29.1 -C /usr/src
2.cd /usr/src/linux-2.6.29.1/
3.make menuconfig
4.make
5.make modules_install
6.make install

after above steps i got this error.

ERROR: modinfo: could not find module ip6t_REJECT
ERROR: modinfo: could not find module nf_conntrack_ipv6
ERROR: modinfo: could not find module ip6table_filter
ERROR: modinfo: could not find module ip6_tables
ERROR: modinfo: could not find module ipv6
ERROR: modinfo: could not find module fuse

however it gives initramfs,vmlinuz-2.6.29.1 and System.map-2.6.29.1 in /boot folder and menu.lst in /boot/grub is updating according to new kernel.
when i reboot my machine and selects the kernel 2.6.29.1 it shows

FATAL:kernel too old
[1.591633] Kernel panic-not syncing:Attempted to kill init

business_kid 02-14-2011 01:06 PM

Did you compile your filesystem support into the kernel?
If so, take out the startup initrd and see if it boots.

anil_cdac 02-14-2011 10:38 PM

I have taken my start up initrd and it is not booting...
again same error
i have checked the file system macros in .config files all are looking fine,even it is installing the modules related to file system.
is it possible that gcc (GCC) 4.5.1 20100924 is creating some problem??

anil_cdac 02-15-2011 12:08 AM

my .config section for file system looks like.

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT2_FS_XIP=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_DEFAULTS_TO_ORDERED=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_EXT4_FS=y
# CONFIG_EXT4DEV_COMPAT is not set
CONFIG_EXT4_FS_XATTR=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_DEBUG is not set
CONFIG_FS_XIP=y
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_JBD2=y
# CONFIG_JBD2_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=m
# CONFIG_REISERFS_CHECK is not set
CONFIG_REISERFS_PROC_INFO=y
CONFIG_REISERFS_FS_XATTR=y
CONFIG_REISERFS_FS_POSIX_ACL=y
CONFIG_REISERFS_FS_SECURITY=y
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_FILE_LOCKING=y
CONFIG_FSNOTIFY=y
# CONFIG_OCFS2_FS is not set
# CONFIG_BTRFS_FS is not set
CONFIG_DNOTIFY=y
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
CONFIG_QUOTA=y
CONFIG_QUOTA_NETLINK_INTERFACE=y
# CONFIG_PRINT_QUOTA_WARNING is not set
CONFIG_QUOTA_TREE=y
# CONFIG_QFMT_V1 is not set
CONFIG_QFMT_V2=y
CONFIG_QUOTACTL=y
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=y
CONFIG_FUSE_FS=m
CONFIG_CUSE=m
CONFIG_GENERIC_ACL=y

business_kid 02-16-2011 02:44 AM

Quote:

Originally Posted by anil_cdac (Post 4258563)
I have taken my start up initrd and it is not booting...
again same error
i have checked the file system macros in .config files all are looking fine,even it is installing the modules related to file system.
is it possible that gcc (GCC) 4.5.1 20100924 is creating some problem??

It's worth mentioning that you are doing a kernel in fedora. Did you download the Fedora kernel source, or Linus' kernel source? Fedora has a few megs of patches onto your standard kernel, which between them probably do something


All times are GMT -5. The time now is 11:37 AM.