Kernel Compilation
-
- Lance Naik
- Posts: 25
- Joined: Thu Mar 31, 2005 2:26 am
Kernel Compilation
Hello Everyone,
I am compiling kernel with grsecurity pacth on RedHat4 Enterprise. Every thing went fine but I am not able to boot my system with new kernel , getting the following error.
Warning: unable to open an initial console.
System hanged after this warning.
Any help would be highly appreciated..
"
I am compiling kernel with grsecurity pacth on RedHat4 Enterprise. Every thing went fine but I am not able to boot my system with new kernel , getting the following error.
Warning: unable to open an initial console.
System hanged after this warning.
Any help would be highly appreciated..
"
Regards,
Pasha
Pasha
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re: Kernel Compilation
Dear Kamranalilakhnavi,
Salam,
Best Regards.
Salam,
Have you selected support for Unix pty support and under file system have you selected devpts ?Kamranalilakhnavi wrote:I am compiling kernel with grsecurity pacth on RedHat4 Enterprise. Every thing went fine but I am not able to boot my system with new kernel , getting the following error.
Warning: unable to open an initial console.
System hanged after this warning.
Any help would be highly appreciated.."
Best Regards.
Farrukh Ahmed
-
- Lance Naik
- Posts: 25
- Joined: Thu Mar 31, 2005 2:26 am
-
- Lance Naik
- Posts: 25
- Joined: Thu Mar 31, 2005 2:26 am
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear Kamranalilakhnavi,
Salam,
Please post output of following command.
# cd /usr/src/linux
# grep "CONFIG_UNIX98_PTYS" config
Best Regards.
Salam,
Please post output of following command.
# cd /usr/src/linux
# grep "CONFIG_UNIX98_PTYS" config
Best Regards.
Farrukh Ahmed
Hi Sir,
Pls check do you have all headers and their code is avaialble with that distribution and by the way what update you are using and what specific version you are using for security software.
If you are still getting that error, contact your vendor or its better to install following software but still you need source-code to compile it from source code. lets try it from www.kernel.org
following softwares are required for kernel that comes with RedHat Advance server update #2.
kernel-devel-2.6.9-22.EL
kernel-smp-devel-2.6.9-22.EL
kernel-doc-2.6.9-22.EL
kernel-2.6.9-22.EL
kernel-hugemem-devel-2.6.9-22.EL
kernel-utils-2.4-13.1.69
you pls check your side.
cd /usr/src/kernel/*EL-i686
My suggestion is that you should recompile your security software with that kernel version sourc-code that it prefers.
Regards,
Noman Liaquat
Pls check do you have all headers and their code is avaialble with that distribution and by the way what update you are using and what specific version you are using for security software.
If you are still getting that error, contact your vendor or its better to install following software but still you need source-code to compile it from source code. lets try it from www.kernel.org
following softwares are required for kernel that comes with RedHat Advance server update #2.
kernel-devel-2.6.9-22.EL
kernel-smp-devel-2.6.9-22.EL
kernel-doc-2.6.9-22.EL
kernel-2.6.9-22.EL
kernel-hugemem-devel-2.6.9-22.EL
kernel-utils-2.4-13.1.69
you pls check your side.
cd /usr/src/kernel/*EL-i686
My suggestion is that you should recompile your security software with that kernel version sourc-code that it prefers.
Regards,
Noman Liaquat
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Dear nomankhn,
Salam,
Best Regards.
Salam,
I believe he is trying to re-compile kernel so it does not need any kernel headers. As he is compiling from source.nomankhn wrote:Pls check do you have all headers and their code is avaialble with that distribution and by the way what update you are using and what specific version you are using for security software.
If you are still getting that error, contact your vendor or its better to install following software but still you need source-code to compile it from source code. lets try it from www.kernel.org
following softwares are required for kernel that comes with RedHat Advance server update #2.
kernel-devel-2.6.9-22.EL
kernel-smp-devel-2.6.9-22.EL
kernel-doc-2.6.9-22.EL
kernel-2.6.9-22.EL
kernel-hugemem-devel-2.6.9-22.EL
kernel-utils-2.4-13.1.69
you pls check your side.
cd /usr/src/kernel/*EL-i686
My suggestion is that you should recompile your security software with that kernel version sourc-code that it prefers.
Best Regards.
Farrukh Ahmed
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
-
- Lance Naik
- Posts: 25
- Joined: Thu Mar 31, 2005 2:26 am
Right,
now download the kernel from www.kernel.org and start its compilation.
Download this kernel and start compiling then
http://www.kernel.org/pub/linux/kernel/ ... .14.tar.gz
Regards,
Noman Liaquat
now download the kernel from www.kernel.org and start its compilation.
Download this kernel and start compiling then
http://www.kernel.org/pub/linux/kernel/ ... .14.tar.gz
Regards,
Noman Liaquat
-
- Lance Naik
- Posts: 25
- Joined: Thu Mar 31, 2005 2:26 am