Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New LinuxDNA 64bit patch out for 2.6.32 - testers wanted!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Thaidog
Veteran
Veteran


Joined: 19 May 2004
Posts: 1053

PostPosted: Fri Feb 26, 2010 8:32 pm    Post subject: Reply with quote

darkbasic wrote:
Hi, it does not work for me, see http://groups.google.com/group/linuxdna/browse_thread/thread/c3b67572e65ac1a6


I see you are using an AMD cpu. Are you using this for the kernel:


http://freshmeat.net/projects/patch-authenticamd/

Also the kernel needs both ia32 and intel64 compilers parts installed.
_________________
Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Back to top
View user's profile Send private message
darkbasic
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2006
Posts: 133

PostPosted: Sun Feb 28, 2010 1:38 pm    Post subject: Reply with quote

Thaidog wrote:
I see you are using an AMD cpu.


No, I'm not: my laptop's cpu is a 45nm core2 duo.
The problem were some config options which does not work with ICC:

General setup --> OProfile system profiling (EXPERIMENTAL)

Processor type and features --> Enable -fstack-protector buffer
overflow detection (EXPERIMENTAL) (a pretty obvious one, I admit it :oops: )

Kernel hacking --> Tracers


Thaidog wrote:
Also the kernel needs both ia32 and intel64 compilers parts installed.


I already have both installed. By the way, if someone needs my modified ebuild which installs the latest version of the compiler (both ia32 and intel64 on amd64), you can find it here:
http://darkbasic.homelinux.com/varie/dev-lang_icc-11.1.069.tar.bz2
_________________
Computers are like air conditioners:
they stop working properly when you open Windows...

Coltiva Linux, Windows si pianta da solo.


http://www.linuxsystems.it/
Back to top
View user's profile Send private message
Thaidog
Veteran
Veteran


Joined: 19 May 2004
Posts: 1053

PostPosted: Sun Feb 28, 2010 8:06 pm    Post subject: Reply with quote

darkbasic wrote:
if someone needs my modified ebuild which installs the latest version of the compiler (both ia32 and intel64 on amd64), you can find it here:
http://darkbasic.homelinux.com/varie/dev-lang_icc-11.1.069.tar.bz2


Thanks! Looks like that is the wrong tar-zipped ebuild inside however.
_________________
Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Back to top
View user's profile Send private message
darkbasic
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2006
Posts: 133

PostPosted: Sun Feb 28, 2010 8:13 pm    Post subject: Reply with quote

Thaidog wrote:
Thanks! Looks like that is the wrong tar-zipped ebuild inside however.

Ops, I uploaded the right one.

P.S.
If you compile python with icc remember to backup libintlc.so.5, otherwise after starting to upgrade icc you will not be able to use portage because it will delete the library which python is linked against.
_________________
Computers are like air conditioners:
they stop working properly when you open Windows...

Coltiva Linux, Windows si pianta da solo.


http://www.linuxsystems.it/
Back to top
View user's profile Send private message
Thaidog
Veteran
Veteran


Joined: 19 May 2004
Posts: 1053

PostPosted: Sun Feb 28, 2010 10:55 pm    Post subject: Reply with quote

darkbasic wrote:
Thaidog wrote:
Thanks! Looks like that is the wrong tar-zipped ebuild inside however.

Ops, I uploaded the right one.

P.S.
If you compile python with icc remember to backup libintlc.so.5, otherwise after starting to upgrade icc you will not be able to use portage because it will delete the library which python is linked against.


Cool! I will remember that trick!
_________________
Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Back to top
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 321

PostPosted: Tue Mar 02, 2010 10:08 am    Post subject: Reply with quote

I got this at the end of compile of kernel:
Code:

  CC      arch/x86/boot/a20.o
catastrophic error: Compiler configuration problem encountered.  The expected target architecture compiler is missing (11.1-ia32 != 11.1-intel64)
compilation aborted for arch/x86/boot/a20.c (code 1)
make[1]: *** [arch/x86/boot/a20.o] Error 1
make: *** [bzImage] Error 2

Does anybody know what's wrong ?

I aplied http://linuxdna.com/dna-2.6.33-intel64.patch over gentoo-sources-2.6.33
Code:

cd /usr/src
patch -p0 < dna-2.6.33-intel64.patch

Code:
emerge -p icc

These are the packages that would be merged, in order:

Calculating dependencies                 ... done!
[ebuild   R   ] dev-lang/icc-11.1.069


emerge --info
Code:

Portage 2.2_rc63 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo-costel x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-costel-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 02 Mar 2010 09:00:01 +0000
app-shells/bash:     4.1_p2
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.51.0.6
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -w -march=native -mtune=native -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -w -march=native -mtune=native -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=5 --load-average=7.0 --keep-going --with-bdeps y"
FEATURES="assume-digests candy distlocks fixpackages news nodoc parallel-fetch prelink preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://localhost http://mirrors.xservers.ro/gentoo/ http://ftp.roedu.net/pub/mirrors/gentoo.org/ http://mirrors.evolva.ro/gentoo/ http://distfiles.gentoo.org/ http://distfiles.gentoo.org"
LANG="ro_RO.UTF-8"
LC_ALL="ro_RO.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--warn-once,--hash-style=gnu"
LINGUAS="ro en"
MAKEOPTS="-j8 --load-average=11"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--progress --delete-before --human-readable"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/added"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bzip2 cairo cdr clamdtop cleartype cli consolekit cracklib crypt cups curl custom-cflags custom-cpuopts custom-optimization cxx dbus dri dts dvd dvdr eds emboss encode evo faac faad fam ffmpeg firefox flac fontconfig fortran fuse gdbm geoip gif git gnome gpm gstreamer gtk hal iconv icu imagemagick inotify ithreads jpeg jpeg2k kde lame libnotify lm_sensors logrotate mad matroska mikmod mmx mng modules mp3 mp4 mpeg mpi mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp optimization oss pam pcre pdf perl php png postgres ppds pppd python qt3support qt4 quicktime rar readline reflection replytolist resolvconf samba sdl session slang smp spell spl sse sse2 ssh ssl startup-notification subversion svg sysfs tcl tcpd threads thunar tiff tk tools truetype unicode usb v4l v4l2 vdpau vhosts vorbis x264 xattr xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_alias cern_meta charset_lite dumpio log_forensic proxy_ftp version actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias asis substitute" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ro en" LIRC_DEVICES="hauppauge" RUBY_TARGETS="ruby18 jruby" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
darkbasic
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2006
Posts: 133

PostPosted: Tue Mar 02, 2010 11:59 am    Post subject: Reply with quote

costel78 wrote:
Does anybody know what's wrong ?

You miss the 32bit compiler.
Use my ebuild:
http://darkbasic.homelinux.com/varie/dev-lang_icc-11.1.069.tar.bz2
_________________
Computers are like air conditioners:
they stop working properly when you open Windows...

Coltiva Linux, Windows si pianta da solo.


http://www.linuxsystems.it/
Back to top
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 321

PostPosted: Tue Mar 02, 2010 1:23 pm    Post subject: Reply with quote

darkbasic wrote:

You miss the 32bit compiler.
Use my ebuild:
http://darkbasic.homelinux.com/varie/dev-lang_icc-11.1.069.tar.bz2


That solved the problem. Thank you!
The bad part is that I finally found one package that require more space in /var/tmp/portage than openoffice :lol:
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
darkbasic
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2006
Posts: 133

PostPosted: Tue Mar 02, 2010 1:34 pm    Post subject: Reply with quote

costel78 wrote:
The bad part is that I finally found one package that require more space in /var/tmp/portage than openoffice :lol:


Do you use /etc/portage/package.nomem?
_________________
Computers are like air conditioners:
they stop working properly when you open Windows...

Coltiva Linux, Windows si pianta da solo.


http://www.linuxsystems.it/
Back to top
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 321

PostPosted: Tue Mar 02, 2010 3:37 pm    Post subject: Reply with quote

No, I didn't know about it.
In fact, even now I'm confused - all I found is that it should be declared in /etc/make.conf (MEMFILE=/etc/portage/package.nomem) and it contain a list of packages, but I wasn't able to find something about how it's works, even in official documentation (man emerge; man make.conf etc)
Can you, please, tell me how it's work ?

Thank you!
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
darkbasic
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2006
Posts: 133

PostPosted: Tue Mar 02, 2010 5:18 pm    Post subject: Reply with quote

costel78 wrote:
even in official documentation


Official? Do you use bashrcng-shmfs?
_________________
Computers are like air conditioners:
they stop working properly when you open Windows...

Coltiva Linux, Windows si pianta da solo.


http://www.linuxsystems.it/
Back to top
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 321

PostPosted: Tue Mar 02, 2010 6:26 pm    Post subject: Reply with quote

No, I don't use or bashrcng or bashrcng-shmfs.
I read about them today, after I seen your post.
Maybe that's why I don't nothing about package.nomem :)

Later: I experience some random freeze using gentoo-sources-2.6.33 with linuxdna patch and btrfs as filesystem.
I'm sure it's btrfs because it's working like a charm on reiserfs.
I'm talking about complete freeze, no SysReq, nothing. And, that's annoying, nothing in dmesg, messages or kernel.log
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
Thaidog
Veteran
Veteran


Joined: 19 May 2004
Posts: 1053

PostPosted: Wed Mar 10, 2010 9:16 am    Post subject: Reply with quote

For those of you who may be confused on how to make the kernel with ICC I have created a new install guide pdf:

http://www.linuxdna.com/install.pdf
_________________
Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Back to top
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 321

PostPosted: Wed Mar 10, 2010 4:42 pm    Post subject: Reply with quote

It seems that vanilla-sources-2.6.33 and gentoo-sources-2.6.33 patched with dna-2.6.33-intel64.patch and compiled with icc-11.1.069 does not work with btrfs or reiser4 using compression.
With btrfs it simple freeze, with no message, but with reiser4 (compress=gzip1) I got a kernel panic with an minimal trace regarding gzip error and a serious file-system corruption. Fortunately I make backups.
It works without flaws with reiserfs (3.6) and ext3.

Anyone did experience same errors ?
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
Thaidog
Veteran
Veteran


Joined: 19 May 2004
Posts: 1053

PostPosted: Wed Mar 10, 2010 9:42 pm    Post subject: Reply with quote

costel78 wrote:
It seems that vanilla-sources-2.6.33 and gentoo-sources-2.6.33 patched with dna-2.6.33-intel64.patch and compiled with icc-11.1.069 does not work with btrfs or reiser4 using compression.
With btrfs it simple freeze, with no message, but with reiser4 (compress=gzip1) I got a kernel panic with an minimal trace regarding gzip error and a serious file-system corruption. Fortunately I make backups.
It works without flaws with reiserfs (3.6) and ext3.

Anyone did experience same errors ?


Can you add a thread to the linuxdna google group describing your troubles? That way everybody can see it and maybe find a patch for it.
_________________
Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Back to top
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 321

PostPosted: Wed Mar 10, 2010 10:44 pm    Post subject: Reply with quote

Thaidog wrote:
Can you add a thread to the linuxdna google group describing your troubles? That way everybody can see it and maybe find a patch for it.

It's done.
There were were similar problems in the past, (I found two thread regarding this problem), but they are supposed to have been fixed.
I suppose it's a regression.
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1160

PostPosted: Thu Mar 11, 2010 12:00 pm    Post subject: Reply with quote

Thaidog wrote:
costel78 wrote:
It seems that vanilla-sources-2.6.33 and gentoo-sources-2.6.33 patched with dna-2.6.33-intel64.patch and compiled with icc-11.1.069 does not work with btrfs or reiser4 using compression.
With btrfs it simple freeze, with no message, but with reiser4 (compress=gzip1) I got a kernel panic with an minimal trace regarding gzip error and a serious file-system corruption. Fortunately I make backups.
It works without flaws with reiserfs (3.6) and ext3.

Anyone did experience same errors ?


Can you add a thread to the linuxdna google group describing your troubles? That way everybody can see it and maybe find a patch for it.


same here with btrfs
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
Thaidog
Veteran
Veteran


Joined: 19 May 2004
Posts: 1053

PostPosted: Fri Mar 12, 2010 4:23 am    Post subject: Reply with quote

tranquilcool wrote:
Thaidog wrote:
costel78 wrote:
It seems that vanilla-sources-2.6.33 and gentoo-sources-2.6.33 patched with dna-2.6.33-intel64.patch and compiled with icc-11.1.069 does not work with btrfs or reiser4 using compression.
With btrfs it simple freeze, with no message, but with reiser4 (compress=gzip1) I got a kernel panic with an minimal trace regarding gzip error and a serious file-system corruption. Fortunately I make backups.
It works without flaws with reiserfs (3.6) and ext3.

Anyone did experience same errors ?


Can you add a thread to the linuxdna google group describing your troubles? That way everybody can see it and maybe find a patch for it.


same here with btrfs


Try what linuxrouter put in this post:

http://groups.google.com/group/linuxdna/browse_thread/thread/bfac9eda005348b
_________________
Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Back to top
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 321

PostPosted: Mon Mar 15, 2010 6:43 am    Post subject: Reply with quote

The problem with compression is solved thanks to linuxrouter.

http://groups.google.com/group/linuxdna/browse_thread/thread/bfac9eda005348b
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
Thaidog
Veteran
Veteran


Joined: 19 May 2004
Posts: 1053

PostPosted: Tue Mar 16, 2010 7:58 am    Post subject: Reply with quote

costel78 wrote:
The problem with compression is solved thanks to linuxrouter.

http://groups.google.com/group/linuxdna/browse_thread/thread/bfac9eda005348b


Here is the latest patch with those fixes:

wget http://www.linuxdna.com/dna-2.6.33-intel64-3.patch
_________________
Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Back to top
View user's profile Send private message
Gentoo4Work
n00b
n00b


Joined: 20 Mar 2010
Posts: 39

PostPosted: Sat Mar 20, 2010 11:09 pm    Post subject: Reply with quote

Wow, this is a really cool project guys. One of the things that I've been lamenting is GCC's inability to take advantage of my nehalems, and I've been dying for a way to ditch GCC for either ICC or SunStudio. My benchmarks for individual software run speeds compiled under the three compilers are so dramatically different its just absurd (we're talking multipliers rather than percentages for the math-heavy apps).

I'll definitely be trying this out once I get a fully-stable vanilla setup up and running. Cheers!
Back to top
View user's profile Send private message
Thaidog
Veteran
Veteran


Joined: 19 May 2004
Posts: 1053

PostPosted: Mon Mar 22, 2010 12:41 am    Post subject: Reply with quote

Gentoo4Work wrote:
Wow, this is a really cool project guys. One of the things that I've been lamenting is GCC's inability to take advantage of my nehalems, and I've been dying for a way to ditch GCC for either ICC or SunStudio. My benchmarks for individual software run speeds compiled under the three compilers are so dramatically different its just absurd (we're talking multipliers rather than percentages for the math-heavy apps).

I'll definitely be trying this out once I get a fully-stable vanilla setup up and running. Cheers!


Glad you're enjoying it :D We have been trying to get a hold of some patches that have been postulated to compile the kernel with Sun's compiler but have been unsuccessful in get a hold of anyone in development. I would doubt it would be faster than ICC but may be of benefit for exposing bugs.
_________________
Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1160

PostPosted: Mon Mar 22, 2010 11:29 am    Post subject: Reply with quote

any patch for 32-bits?
thanks.
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
Gentoo4Work
n00b
n00b


Joined: 20 Mar 2010
Posts: 39

PostPosted: Mon Mar 22, 2010 12:37 pm    Post subject: Reply with quote

Thaidog wrote:
Gentoo4Work wrote:
Wow, this is a really cool project guys. One of the things that I've been lamenting is GCC's inability to take advantage of my nehalems, and I've been dying for a way to ditch GCC for either ICC or SunStudio. My benchmarks for individual software run speeds compiled under the three compilers are so dramatically different its just absurd (we're talking multipliers rather than percentages for the math-heavy apps).

I'll definitely be trying this out once I get a fully-stable vanilla setup up and running. Cheers!


Glad you're enjoying it :D We have been trying to get a hold of some patches that have been postulated to compile the kernel with Sun's compiler but have been unsuccessful in get a hold of anyone in development. I would doubt it would be faster than ICC but may be of benefit for exposing bugs.


Believe it or not, it's actually considerably quicker at heavy maths, at least on the Nehalems... we'll have to see how it fares now that Intel's new line is out. You'd think otherwise, but I suppose when it comes down to it Oracle is the operation with the experience in optimizing the performance of algorithms in distributed node settings, so all they really need is the architecture to translate their existing IP to the particular application, whereas with Intel the case is just the opposite.
Back to top
View user's profile Send private message
darkbasic
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2006
Posts: 133

PostPosted: Mon Mar 22, 2010 2:00 pm    Post subject: Reply with quote

Sun compiler is also VERY good in automatic parallelization :)

P.S.
I'm doing some benchmarks of linux-2.6.33.1-gcc4.4.3 vs linux-2.6.33.1-linuxdna :wink:
_________________
Computers are like air conditioners:
they stop working properly when you open Windows...

Coltiva Linux, Windows si pianta da solo.


http://www.linuxsystems.it/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 3 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum