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

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

zhitch's picture

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

7 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
srimks's picture
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

zhitch's picture
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...

Attachments: 

AttachmentSize
Download patches.tar.gz4.46 KB
Download intelwrapper753 bytes
srimks's picture
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

zhitch's picture
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.

Attachments: 

AttachmentSize
Download config64.06 KB
jumico's picture
Best Reply
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. http://groups.google.com/group/linuxdna/browse_thread/thread/c43035b9512...
zhitch's picture
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. http://groups.google.com/group/linuxdna/browse_thread/thread/c43035b9512...

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!

Login to leave a comment.