Results 1 to 4 of 4
Dear All,
This is first my first ever mail to USCLug group.
I am facing problem while I am trying to compile my kernel.
I have fedora core 4 with ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-09-2006 #1Just Joined!
- Join Date
- Apr 2006
- Posts
- 2
Problem while compiling new Kernel -2.6.14
Dear All,
This is first my first ever mail to USCLug group.
I am facing problem while I am trying to compile my kernel.
I have fedora core 4 with 2.6.11-1 kernel version. I have read all the mails in reply to Michael Phoenix., but it didn’t help me to solve my error.
I am trying to compile it on my Laptop- Sony VGN-B100B
I have downloaded 2.6.14 kernel source and performed following actions after untaring it.
1. “make menuconfig” and chose all the defaults.
2. “make dep”. ( I don’t think it’s necessary though I have done it.)
3.”make clean”
4. “make bzImage”
5. “make modules”
6. “cp /usr//src/Fedoracore2.6.14/arch/i386/boot/bzImage /boot/newkernel”
7. “make modules_install”
After performing these actions I have done changes to grub.conf. The modified grub.conf looks like following.
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/hda3
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=5
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,2)
kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.11-1.1369_FC4.img
title Fedora Core (2.6.14.1369_FC4)
root (hd0,2)
kernel /boot/newkernel ro root=/dev/hda3
title Other
rootnoverify (hd0,1)
chainloader +1
Then, I save the file, rebooted the machine and entered into new kernel
I got following messages on screen and it hangs up.(after uncompressing kernel)
Input:ALPS PS/2 ALPS glide point on iscc0060/seri01
Security: 3users, 6roles, 764 types 87 boots.
Security: 55 classes, 182383 rules
SELinux: completing initialization
SELinux: getting up existing superblocks
SELinux:initialized( dev hada 3, type ext2) uses xattr
SELinux:initialized(dev debugfs, type debug fs), uses gen fs context
SELinux:initialized(dev selinuxfs,type mque), not configures for
Labeling
SELinux:…………………………………………………………………………(
. ................................ . .............. .....
. . .
… ........................................... ......... .
(there are several other messages also starting with SELinux)
SELinux:................................... . .
........................................... . .
. . ......................................
SELinux: initialized(dev sysfs,type sysfs) uses genfs_context
SELinux: initialized(dev usbfs, type usbfs), uses genfs_context.
One more thing, I have formatted my /dev/hda3 with ext3 type.
Can anyone please tell me where I am going wrong?
t.
Thanks,
Ghost.machine
- 04-09-2006 #2
I'm not exactly sure what you are doing wrong but may I ask: Why are you upgrading your kernel?
- 04-09-2006 #3Just Joined!
- Join Date
- Apr 2006
- Posts
- 2
Actually, I am not upgrading my kernel. But as a part of my project, I have to make some changes in kernel code and have to recompile it.
So, as a first step I am compiling it with all default options. If I will succeed, I can put my changes and make it compile again.
Thanks
- 04-10-2006 #4Linux Newbie
- Join Date
- Jul 2005
- Location
- Turn Around
- Posts
- 202
when i compiled 2.6.14 i found i needed to use mkinitrd...


Reply With Quote
