Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

64 bit linux kernel compiled with icc but won't boot

zhitch
Beginner
664 Views
I have suceeded in compiling a 64 bit linux kernel with icc 11.0.083 with help from the LinuxDNA project but it gives me a kernel panic when I try to boot it... any help would be most welcome...

PANIC: early exception 06 rip 10:ffffffff8094293b error 0 cr2 f009eb
0 Kudos
1 Solution
jumico
Beginner
664 Views
I know this is an old thread but I thought this would be helpfull and I was unable to find a way to send a pm or email.

View solution in original post

0 Kudos
6 Replies
srimks
New Contributor II
664 Views
Quoting - zhitch
I have suceeded in compiling a 64 bit linux kernel with help from the LinuxDNA project but it gives me a kernel panic when I try to boot it... any help would be most welcome...

PANIC: early exception 06 rip 10:ffffffff8094293b error 0 cr2 f009eb

Hello,

I think you might have missed some key steps while installing, configuring and building your Linux kernel.Something which can guide you -

http://www.kernel.org/pub/linux/kernel/people/gregkh/lkn/lkn_pdf/ch04.pdf

Somehow ISN is not a place to discuss issues related with Kernel panic, but probably you can post your issues still to forum like -

http://www.linuxquestions.org
http://www.linuxforums.org/forum/

But still, if you can share the steps incorporated by you to install your Linux kernel, probably suggesting on your kernel panic would be justified.

~BR
0 Kudos
zhitch
Beginner
664 Views
Quoting - srimks

Hello,

I think you might have missed some key steps while installing, configuring and building your Linux kernel.Something which can guide you -

http://www.kernel.org/pub/linux/kernel/people/gregkh/lkn/lkn_pdf/ch04.pdf

Somehow ISN is not a place to discuss issues related with Kernel panic, but probably you can post your issues still to forum like -

http://www.linuxquestions.org
http://www.linuxforums.org/forum/

But still, if you can share the steps incorporated by you to install your Linux kernel, probably suggesting on your kernel panic would be justified.

~BR
I am extremely familiar with configuring and compiling a kernel with gcc... I am using icc to compile the kernel with the help of a wrapper but the kernel will not boot. Since I am using the Intel compiler I doubt the links above would have any real useful info. AFAIK noone has compiled a X86_64 kernel with icc before but Feilong H has given some useful info for kernel compiling using icc to the LinuxDNA folks and I figured it might be worth a shot to ask for help here since the kernel compiles and boots fine with gcc, but won't boot with icc. Attached are the wrapper and patches I am using to compile with...

0 Kudos
srimks
New Contributor II
664 Views
Quoting - zhitch
I am extremely familiar with configuring and compiling a kernel with gcc... I am using icc to compile the kernel with the help of a wrapper but the kernel will not boot. Since I am using the Intel compiler I doubt the links above would have any real useful info. AFAIK noone has compiled a X86_64 kernel with icc before but Feilong H has given some useful info for kernel compiling using icc to the LinuxDNA folks and I figured it might be worth a shot to ask for help here since the kernel compiles and boots fine with gcc, but won't boot with icc. Attached are the wrapper and patches I am using to compile with...


Sorry, I haven't too tried with ICC, maybe some Intel guy can help answering your query.

Since you are working now, the moment it's succesful, please share the procedure done to have succesful kernel built using ICC.

~BR
0 Kudos
zhitch
Beginner
664 Views
Quoting - srimks

Sorry, I haven't too tried with ICC, maybe some Intel guy can help answering your query.

Since you are working now, the moment it's succesful, please share the procedure done to have succesful kernel built using ICC.

~BR
The method i used to compile involves using the intelwrapper file attached above placed in /usr/local/bin to compile the latest kernel version 2.6.30-rc7. Attached is the config file I am using. Copy this to .config in the base directory. Then apply the patches attached in my earlier post, although one hunk will fail and needs to be applied by hand with the bootfix patch. Issue make HOSTCC=intelwrapper CC=intelwrapper Ar=xiar LD=xild. This uses the Intel versions of these gnu files. Then issue make modules_install && make install to install the kernel. The LinuxDNA project.. http://www.linuxdna.com/ has suceeded in compiling the kernel on a 32 bit platform and getting it to boot! I can compile the kernel with 64 bit but it won't boot.
0 Kudos
jumico
Beginner
665 Views
I know this is an old thread but I thought this would be helpfull and I was unable to find a way to send a pm or email.
0 Kudos
zhitch
Beginner
664 Views
Quoting - jumico
I know this is an old thread but I thought this would be helpfull and I was unable to find a way to send a pm or email.
I have suceeded in getting the 64 bit kernel to boot! That was me in the LinuxDNA group! Full details are available with patches I used on the LinuxDNA site!
0 Kudos
Reply