View previous topic :: View next topic |
Author |
Message |
Thaidog Veteran
Joined: 19 May 2004 Posts: 1053
|
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9262
|
Posted: Thu Feb 04, 2010 1:51 pm Post subject: |
|
|
Cool stuff - now please give me a 2.6.33 version |
|
Back to top |
|
|
Thaidog Veteran
Joined: 19 May 2004 Posts: 1053
|
Posted: Thu Feb 04, 2010 2:00 pm Post subject: |
|
|
genstorm wrote: | Cool stuff - now please give me a 2.6.33 version |
haha we're on it! _________________ Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds |
|
Back to top |
|
|
ToeiRei Veteran
Joined: 03 Jan 2005 Posts: 1191 Location: Austria
|
Posted: Thu Feb 04, 2010 4:40 pm Post subject: |
|
|
Is there a chance to use genkernel with ICC and that patchset? _________________ Please stand by - The mailer daemon is busy burning your messages in hell... |
|
Back to top |
|
|
Thaidog Veteran
Joined: 19 May 2004 Posts: 1053
|
Posted: Fri Feb 05, 2010 4:46 am Post subject: |
|
|
ToeiRei wrote: | Is there a chance to use genkernel with ICC and that patchset? |
Probably not with out a bit of hacking. I will look in to it though! _________________ Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds |
|
Back to top |
|
|
ToeiRei Veteran
Joined: 03 Jan 2005 Posts: 1191 Location: Austria
|
Posted: Fri Feb 05, 2010 9:38 am Post subject: |
|
|
I just noticed some things in the genkernel help output which could be a clue.
genkernel help wrote: | Low-Level Compile settings
--kernel-cc=<compiler> Compiler to use for kernel (e.g. distcc)
--kernel-as=<assembler> Assembler to use for kernel
--kernel-ld=<linker> Linker to use for kernel
--kernel-cross-compile=<cross var> CROSS_COMPILE kernel variable
--kernel-make=<makeprg> GNU Make to use for kernel
--utils-cc=<compiler> Compiler to use for utilities
--utils-as=<assembler> Assembler to use for utils
--utils-ld=<linker> Linker to use for utils
--utils-make=<makeprog> GNU Make to use for utils
--utils-cross-compile=<cross var> CROSS_COMPILE utils variable
--utils-arch=<arch> Force to arch for utils only instead of
autodetect.
--makeopts=<makeopts> Make options such as -j2, etc... |
In my case I need the initrd to be able to boot... _________________ Please stand by - The mailer daemon is busy burning your messages in hell... |
|
Back to top |
|
|
Thaidog Veteran
Joined: 19 May 2004 Posts: 1053
|
Posted: Fri Feb 05, 2010 10:52 am Post subject: |
|
|
ToeiRei wrote: | I just noticed some things in the genkernel help output which could be a clue.
genkernel help wrote: | Low-Level Compile settings
--kernel-cc=<compiler> Compiler to use for kernel (e.g. distcc)
--kernel-as=<assembler> Assembler to use for kernel
--kernel-ld=<linker> Linker to use for kernel
--kernel-cross-compile=<cross var> CROSS_COMPILE kernel variable
--kernel-make=<makeprg> GNU Make to use for kernel
--utils-cc=<compiler> Compiler to use for utilities
--utils-as=<assembler> Assembler to use for utils
--utils-ld=<linker> Linker to use for utils
--utils-make=<makeprog> GNU Make to use for utils
--utils-cross-compile=<cross var> CROSS_COMPILE utils variable
--utils-arch=<arch> Force to arch for utils only instead of
autodetect.
--makeopts=<makeopts> Make options such as -j2, etc... |
In my case I need the initrd to be able to boot... |
You should not have to use genkernel just to have initird... but why do you have to have initrd? (just out of curiosity) _________________ Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds |
|
Back to top |
|
|
ToeiRei Veteran
Joined: 03 Jan 2005 Posts: 1191 Location: Austria
|
Posted: Fri Feb 05, 2010 11:56 am Post subject: |
|
|
Thaidog wrote: | You should not have to use genkernel just to have initird... but why do you have to have initrd? (just out of curiosity) |
btrfs as rootfs, but btrfs compiled as module so I don't have to recompile the kernel on every patch applied... _________________ Please stand by - The mailer daemon is busy burning your messages in hell... |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9262
|
Posted: Fri Feb 05, 2010 1:34 pm Post subject: |
|
|
But make is quite intelligent anyway and would only recompile those modules that have changed. |
|
Back to top |
|
|
timeBandit Bodhisattva
Joined: 31 Dec 2004 Posts: 2719 Location: here, there or in transit
|
Posted: Fri Feb 05, 2010 2:54 pm Post subject: |
|
|
Moved from Gentoo Chat to Unsupported Software, better off here. _________________ Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others. |
|
Back to top |
|
|
Thaidog Veteran
Joined: 19 May 2004 Posts: 1053
|
Posted: Mon Feb 08, 2010 12:30 am Post subject: |
|
|
genstorm wrote: | Cool stuff - now please give me a 2.6.33 version |
FYI the patch should work with 2.6.33-rc6. Luyi used that to run benchmarks.
EDIT:
This one should be better:
http://www.linuxdna.com/dna-2.6.33-rc7-atom-intel64-2.patch _________________ Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Last edited by Thaidog on Tue Feb 09, 2010 5:40 am; edited 1 time in total |
|
Back to top |
|
|
Thaidog Veteran
Joined: 19 May 2004 Posts: 1053
|
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1246
|
Posted: Fri Feb 12, 2010 7:15 am Post subject: |
|
|
make AR=xiar LD=xild && make AR=xiar LD=xild modules_install
with patch make hangs at;
xild: executing 'ld'
CC arch/x86/kernel/cpu/intel_cacheinfo.o
CC arch/x86/kernel/cpu/addon_cpuid_features.o
CC arch/x86/kernel/cpu/proc.o
MKCAP arch/x86/kernel/cpu/capflags.c
CC arch/x86/kernel/cpu/capflags.o
CC arch/x86/kernel/cpu/powerflags.o
CC arch/x86/kernel/cpu/common.o _________________ this is a strange strange world. |
|
Back to top |
|
|
Thaidog Veteran
Joined: 19 May 2004 Posts: 1053
|
Posted: Sat Feb 13, 2010 4:19 am Post subject: |
|
|
tranquilcool wrote: | make AR=xiar LD=xild && make AR=xiar LD=xild modules_install
with patch make hangs at;
xild: executing 'ld'
CC arch/x86/kernel/cpu/intel_cacheinfo.o
CC arch/x86/kernel/cpu/addon_cpuid_features.o
CC arch/x86/kernel/cpu/proc.o
MKCAP arch/x86/kernel/cpu/capflags.c
CC arch/x86/kernel/cpu/capflags.o
CC arch/x86/kernel/cpu/powerflags.o
CC arch/x86/kernel/cpu/common.o |
No need to add AR=xiar LD=xild to the command any more. _________________ Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1246
|
Posted: Sat Feb 13, 2010 6:53 am Post subject: |
|
|
Thaidog wrote: | tranquilcool wrote: | make AR=xiar LD=xild && make AR=xiar LD=xild modules_install
with patch make hangs at;
xild: executing 'ld'
CC arch/x86/kernel/cpu/intel_cacheinfo.o
CC arch/x86/kernel/cpu/addon_cpuid_features.o
CC arch/x86/kernel/cpu/proc.o
MKCAP arch/x86/kernel/cpu/capflags.c
CC arch/x86/kernel/cpu/capflags.o
CC arch/x86/kernel/cpu/powerflags.o
CC arch/x86/kernel/cpu/common.o |
No need to add AR=xiar LD=xild to the command any more. |
with the patch it hangs all the same with make && make modules_install.
if i simply source icc, but don't apply the patch, it compiles fine. _________________ this is a strange strange world. |
|
Back to top |
|
|
Thaidog Veteran
Joined: 19 May 2004 Posts: 1053
|
Posted: Sat Feb 13, 2010 8:31 am Post subject: |
|
|
tranquilcool wrote: | Thaidog wrote: | tranquilcool wrote: | make AR=xiar LD=xild && make AR=xiar LD=xild modules_install
with patch make hangs at;
xild: executing 'ld'
CC arch/x86/kernel/cpu/intel_cacheinfo.o
CC arch/x86/kernel/cpu/addon_cpuid_features.o
CC arch/x86/kernel/cpu/proc.o
MKCAP arch/x86/kernel/cpu/capflags.c
CC arch/x86/kernel/cpu/capflags.o
CC arch/x86/kernel/cpu/powerflags.o
CC arch/x86/kernel/cpu/common.o |
No need to add AR=xiar LD=xild to the command any more. |
with the patch it hangs all the same with make && make modules_install.
if i simply source icc, but don't apply the patch, it compiles fine. |
What version ICC are you using? Also, what patch and kernel are you using? 64bit or 32bit? _________________ Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1246
|
Posted: Sat Feb 13, 2010 12:25 pm Post subject: |
|
|
Thaidog wrote: | tranquilcool wrote: | Thaidog wrote: | tranquilcool wrote: | make AR=xiar LD=xild && make AR=xiar LD=xild modules_install
with patch make hangs at;
xild: executing 'ld'
CC arch/x86/kernel/cpu/intel_cacheinfo.o
CC arch/x86/kernel/cpu/addon_cpuid_features.o
CC arch/x86/kernel/cpu/proc.o
MKCAP arch/x86/kernel/cpu/capflags.c
CC arch/x86/kernel/cpu/capflags.o
CC arch/x86/kernel/cpu/powerflags.o
CC arch/x86/kernel/cpu/common.o |
No need to add AR=xiar LD=xild to the command any more. |
with the patch it hangs all the same with make && make modules_install.
if i simply source icc, but don't apply the patch, it compiles fine. |
What version ICC are you using? Also, what patch and kernel are you using? 64bit or 32bit? |
icc-11.1.064. am using the 64bit patch for a 32bit core2 intel mobo. whatever, with the various intelwrappers(different flags)
or without the wrappers and the patch it still hangs. it makes me think that the patch isn't responsible for it. _________________ this is a strange strange world. |
|
Back to top |
|
|
Thaidog Veteran
Joined: 19 May 2004 Posts: 1053
|
Posted: Sun Feb 14, 2010 1:24 am Post subject: |
|
|
tranquilcool wrote: | Thaidog wrote: | tranquilcool wrote: | Thaidog wrote: | tranquilcool wrote: | make AR=xiar LD=xild && make AR=xiar LD=xild modules_install
with patch make hangs at;
xild: executing 'ld'
CC arch/x86/kernel/cpu/intel_cacheinfo.o
CC arch/x86/kernel/cpu/addon_cpuid_features.o
CC arch/x86/kernel/cpu/proc.o
MKCAP arch/x86/kernel/cpu/capflags.c
CC arch/x86/kernel/cpu/capflags.o
CC arch/x86/kernel/cpu/powerflags.o
CC arch/x86/kernel/cpu/common.o |
No need to add AR=xiar LD=xild to the command any more. |
with the patch it hangs all the same with make && make modules_install.
if i simply source icc, but don't apply the patch, it compiles fine. |
What version ICC are you using? Also, what patch and kernel are you using? 64bit or 32bit? |
icc-11.1.064. am using the 64bit patch for a 32bit core2 intel mobo. whatever, with the various intelwrappers(different flags)
or without the wrappers and the patch it still hangs. it makes me think that the patch isn't responsible for it. |
It actually has not been tested for 32bit systems. That could be it. I am actually out of town right now and Luyi has not had time to test it on 32bit. You could try the 2.6.30.5 patch however which is 32bit. _________________ Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1246
|
Posted: Sun Feb 14, 2010 7:00 pm Post subject: |
|
|
Thaidog wrote: | tranquilcool wrote: | Thaidog wrote: | tranquilcool wrote: | Thaidog wrote: | tranquilcool wrote: | make AR=xiar LD=xild && make AR=xiar LD=xild modules_install
with patch make hangs at;
xild: executing 'ld'
CC arch/x86/kernel/cpu/intel_cacheinfo.o
CC arch/x86/kernel/cpu/addon_cpuid_features.o
CC arch/x86/kernel/cpu/proc.o
MKCAP arch/x86/kernel/cpu/capflags.c
CC arch/x86/kernel/cpu/capflags.o
CC arch/x86/kernel/cpu/powerflags.o
CC arch/x86/kernel/cpu/common.o |
No need to add AR=xiar LD=xild to the command any more. |
with the patch it hangs all the same with make && make modules_install.
if i simply source icc, but don't apply the patch, it compiles fine. |
What version ICC are you using? Also, what patch and kernel are you using? 64bit or 32bit? |
icc-11.1.064. am using the 64bit patch for a 32bit core2 intel mobo. whatever, with the various intelwrappers(different flags)
or without the wrappers and the patch it still hangs. it makes me think that the patch isn't responsible for it. |
It actually has not been tested for 32bit systems. That could be it. I am actually out of town right now and Luyi has not had time to test it on 32bit. You could try the 2.6.30.5 patch however which is 32bit. |
yes it looks like it's the 64-bit patch on 32-bit. _________________ this is a strange strange world. |
|
Back to top |
|
|
Thaidog Veteran
Joined: 19 May 2004 Posts: 1053
|
Posted: Sun Feb 14, 2010 10:09 pm Post subject: |
|
|
Ok we'll try to get a similar 32bit patch out asap. _________________ Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1246
|
Posted: Mon Feb 15, 2010 10:59 am Post subject: |
|
|
Thaidog wrote: | Ok we'll try to get a similar 32bit patch out asap. |
that would be nice. thanks. _________________ this is a strange strange world. |
|
Back to top |
|
|
ToeiRei Veteran
Joined: 03 Jan 2005 Posts: 1191 Location: Austria
|
Posted: Mon Feb 15, 2010 12:32 pm Post subject: |
|
|
any news about genkernel (ab)use? _________________ Please stand by - The mailer daemon is busy burning your messages in hell... |
|
Back to top |
|
|
Thaidog Veteran
Joined: 19 May 2004 Posts: 1053
|
Posted: Mon Feb 15, 2010 11:53 pm Post subject: |
|
|
ToeiRei wrote: | any news about genkernel (ab)use? |
Still have not had a chance to try it. It could be that genkernel explicitly relies on gcc or you may simply be able to get it to work with something like:
Code: |
genkernel all CC=icc HOSTCC=icc
|
Why not give it a shot and see what happens? _________________ Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds |
|
Back to top |
|
|
ebrsc n00b
Joined: 24 Jun 2008 Posts: 31
|
Posted: Tue Feb 16, 2010 7:31 am Post subject: |
|
|
here's what I get:
Code: | ipo: warning #11009: file format not recognized for arch/x86/vdso/vdso32/note.o
ipo: warning #11009: file format not recognized for arch/x86/vdso/vdso32/int80.o
ld: skipping incompatible /opt/intel/Compiler/11.1/064/lib/intel64/libirc_s.a when searching for -lirc_s
ld: skipping incompatible /opt/intel/Compiler/11.1/064/lib/intel64/libirc_s.a when searching for -lirc_s
ld: skipping incompatible /opt/intel/Compiler/11.1/064/lib/intel64/libirc_s.a when searching for -lirc_s
ld: cannot find -lirc_s
make[2]: *** [arch/x86/vdso/vdso32-int80.so.dbg] Error 1
make[1]: *** [arch/x86/vdso] Error 2
make: *** [arch/x86] Error 2 |
disclaimer: first time ever that I use that icc stuff, so I'm super noob on the subject and may have done something extremely dumb.
linux 2.6.32.8
dna-2.6.32.8-intel64.patch
icc 11.1.064-1
on x86_64 machine
/edit: just saw this http://groups.google.com/group/linuxdna/browse_thread/thread/2cbf65f5303104a7?pli=1
retrying with 32bit-compiler installed as well. |
|
Back to top |
|
|
Thaidog Veteran
Joined: 19 May 2004 Posts: 1053
|
Posted: Tue Feb 16, 2010 7:55 pm Post subject: |
|
|
ebrsc wrote: | here's what I get:
Code: | ipo: warning #11009: file format not recognized for arch/x86/vdso/vdso32/note.o
ipo: warning #11009: file format not recognized for arch/x86/vdso/vdso32/int80.o
ld: skipping incompatible /opt/intel/Compiler/11.1/064/lib/intel64/libirc_s.a when searching for -lirc_s
ld: skipping incompatible /opt/intel/Compiler/11.1/064/lib/intel64/libirc_s.a when searching for -lirc_s
ld: skipping incompatible /opt/intel/Compiler/11.1/064/lib/intel64/libirc_s.a when searching for -lirc_s
ld: cannot find -lirc_s
make[2]: *** [arch/x86/vdso/vdso32-int80.so.dbg] Error 1
make[1]: *** [arch/x86/vdso] Error 2
make: *** [arch/x86] Error 2 |
disclaimer: first time ever that I use that icc stuff, so I'm super noob on the subject and may have done something extremely dumb.
linux 2.6.32.8
dna-2.6.32.8-intel64.patch
icc 11.1.064-1
on x86_64 machine
/edit: just saw this http://groups.google.com/group/linuxdna/browse_thread/thread/2cbf65f5303104a7?pli=1
retrying with 32bit-compiler installed as well. |
A few more questions:
What cpu are you using? What command do you use to source the compiler? _________________ Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds |
|
Back to top |
|
|
|