Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MSI Wind Netbook (U100) nach Update extrem langsam
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
LinuxTom
l33t
l33t


Joined: 26 Mar 2006
Posts: 798

PostPosted: Thu Jan 02, 2014 7:51 am    Post subject: MSI Wind Netbook (U100) nach Update extrem langsam Reply with quote

Hi Leute,

nach nunmehr einem Jahr habe ich meinen eee-PC mal wieder auf den aktuellen Stand gebracht. Nur jetzt ist dieser extrem langsam geworden. Der X-Org Server verbraucht nach dem einloggen mind. immer 50% der CPU-Ressourcen. Wer hat da einen Tipp für mich? Ich brauche auf diesem keine 3D-Effekte. Erst recht nicht, wenn der dadurch extrem langsam wird.

Ich suche Leidensgenossen, um den armen kleinen Rechner wieder flott zu bekommen.

Danke & Gruß
Thomas

PS: KDM (vor dem einloggen) liegt mit nur 3% CPU-Last.
Back to top
View user's profile Send private message
LinuxTom
l33t
l33t


Joined: 26 Mar 2006
Posts: 798

PostPosted: Fri Jan 03, 2014 6:26 am    Post subject: Reply with quote

Nach vielem lesen und probieren habe ich herausgefunden, dass die Grafikkarte in meinem Rechner keinen Interrupt auslöst. Dieser Interrupt ist jedoch für die 3D-Darstellung unter Xorg notwendig. Kann jemand mir sagen, wie ich das mit der intel i915 deichseln könnte?
Code:
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GSE Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
        Subsystem: Micro-Star International Co., Ltd. Device 0110   
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at dfe80000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at d100 [size=8]
        Memory at c0000000 (32-bit, prefetchable) [size=256M]
        Memory at dff00000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Kernel driver in use: i915
        Kernel modules: i915
Back to top
View user's profile Send private message
LinuxTom
l33t
l33t


Joined: 26 Mar 2006
Posts: 798

PostPosted: Mon Jan 06, 2014 10:06 am    Post subject: Reply with quote

Keiner hier, der mir seine CFLAGS und Kernel-Konfig mal geben kann?
Back to top
View user's profile Send private message
LinuxTom
l33t
l33t


Joined: 26 Mar 2006
Posts: 798

PostPosted: Sun Jan 12, 2014 11:10 am    Post subject: Reply with quote

Ist hier keiner mit dem MSI-Wind - PC? Ich probiere die ganze Zeit schon mit dem Kernel und verschidensten USE-Flags herum, doch keine Besserung. Ein neu angelegter User braucht ca. 5 Minuten, bis der Plasma-Dekstop zur Verfügung steht. Firefox starten braucht ca. 8 Minuten. Noch mit dem Gentoo vor einem Jahr, waren das zusammen nicht mal 2 Minuten.
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Sun Jan 12, 2014 11:29 pm    Post subject: Reply with quote

Ich hab zwar ein MSI Wind U100. Sogar mit nettem Tux-Aufkleber auf dem Deckel... 2GB RAM und "Windstille"-Passivkühler.

Leider hatte ich noch nie Gentoo drauf und seit einiger Zeit nutze ich es gar nicht mehr. Der Akku ist auch tot, hält keine 10 Minuten mehr.

KDE/Plasma ist aber vielleicht auch etwas viel verlangt von dem Teil? Aktuelle Ubuntu machen darauf z.B. auch keinen Spass mehr, da werden jetzt 3D Effekte und Fenster"beschleunigung" per Software emuliert / berechnet (llvmpipe oder was immer), und die CPU ist sowieso schon alles andere als schnell. :lol:
Back to top
View user's profile Send private message
Randy Andy
Veteran
Veteran


Joined: 19 Jun 2007
Posts: 1148
Location: /dev/koelsch

PostPosted: Mon Jan 13, 2014 7:18 pm    Post subject: Reply with quote

LinuxTom wrote:
Ist hier keiner mit dem MSI-Wind - PC?


Aber sicher doch, LinuxTom :wink: Hab nur leider deinen Post erst jetzt entdeckt (sorry) und entgegen unserem Frostschutz hab ich da von Anfang an Gentoo drauf, what else.
Allen Zweiflern und Unkenrufen zum trotz, läuft das recht geschmeidig mit KDE und das mit nur 1GB RAM Ausstattung. Reciht sogar noch für ein Windows XP in der VirtualBox!

Booten, einloggen in KDE (ja ja, dann halt Plasma), Firefox starten alles im normalen Rahmen hier. Bin von Anfang an komplett auf ~x86 und momentan bei KDE-4.12.0

Hab Dir mal meine aktuelle kernel.config hierhin geschmissen: http://bpaste.net/show/167709/

So, nun zu meinen CFLAGS, ach was solls, am besten gleich meine komplette make.conf, wer weiß an was es sonst bei Dir hakt, achte mal auf meine Kommentare zu den CFLAGS, da steckt viel Liebe/Recherche drin. :wink:

Code:

cat /etc/make.conf
CFLAGS="-march=atom -mno-cx16 -msahf -mmovbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -mno-sse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=atom -mmmx -msse -msse2 -msse3 -mssse3 -mfpmath=sse -O2 -fomit-frame-pointer -pipe"

# -mno-mmovbe=core2 aber -mmovbe für atom, Entscheidung für mehr performance statt für chroot compiling bewusst getroffen.
# Tricky, alle sse sets sind abgeschaltet,auch in -march=native, obwohl sie includiert sein sollen!
#CFLAGS="-march=native -O2 -fomit-frame-pointer -pipe -mfpmath=sse"

CXXFLAGS="${CFLAGS}"
#LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed"
#LDFLAGS="-Wl,--as-needed" # ist nun default per profile
CHOST="i686-pc-linux-gnu"
USE="7Zip X a52 aac aalib acl acpi akonadi alsa apng asf audiofile \
     bash-completion bzip2 cdda cdr cjk css dbus declarative dga dhcpcd djvu \
     dlloader dri drm dts dv dvd dvdr dvdread dvi enca extras fame fat \
     ffmpeg fftw firefox firefox3 flac flash fontconfig ftp g3dvl gallium \
     gbm gif git gles gles1 gles2 glib gphoto2 gpm graphviz gs gstreamer icq \
     imap intel irc jabber java jpeg jpeg2k kexiv2 kipi kpathsea lame laptop \
     lensfun libcaca libclamav libnotify libsamplerate libv4l libv4l2 \
     liemikuutio lirc live llvm lm_sensors lzma lzo mainmenuhooks matroska \
     metric minizip mjpeg mmx mng modemmanager mp3 mplayer msn musepack \
     mysql nas network networkmanager nfsv4 nfsv41 nsplugin nss ntfs ntp ogg \
     ogm okular openal openexr opengl openssl openstreetmap openvg \
     optimization opus osdmenu osmesa parted pastebin pcm pdf pdfimport perl \
     phonon player plugin pm-utils pmu png pnm policykit pop postproc ppp \
     prison privacy python python3 qalculate qt quicktime rar raw real \
     recode recording redeyes rle rss rtmp rtsp scanner schroedinger script \
     sdk sdl-image sdl-sound secure-delete semantic-desktop server sftp \
     shine shorten shout sift skype smp sms sna sndfile soundextract speech \
     speex sql sse sse2 ssse3 startup-notification stk stream strigi svg \
     syncearly templates tga theora threads thumbnail tiff toolame tools \
     transcode tremor twolame udev umfpack unicode urlpicpreview usb utils \
     v4l v4l2 vaapi vamp vcd vcdinfo vcdx video virtuoso vlm vpx vxml wav \
     wavpack webcam webdav webkit webpresence win32codecs winbind windeco \
     wma wma-fixed wmf x264 xanim xine xorgmodule xpm xprint xsl xslt xvid \
     xvmc xwax_decoders_aac xwax_decoders_cd xwax_decoders_flac \
     xwax_decoders_misc xwax_decoders_mp3 xwax_decoders_ogg yaepg yahoo \
     youtube yv12 zip -3dnow -3dnowext -arts -bluetooth -gnome -lcd -mail \
     -mmxext -oss -pcmcia -pulseaudio -reflection -wicd"
ACCEPT_KEYWORDS="~x86"
LINGUAS="de"

MAKEOPTS="-j5 -l4"
EMERGE_DEFAULT_OPTS="--jobs=6 --load-average=4"
PORTAGE_NICENESS="10"
FEATURES="parallel-fetch distcc distcc-pump"

PORTDIR="/usr/portage"
#CCACHE_SIZE="2G"
#CCACHE_DIR="/root/.ccache"
#CONFIG_PROTECT="/usr/kde/3.5/share/config/kdm/ /etc"
VIDEO_CARDS="intel i915"
ALSA_CARDS="hda-intel loopback virmidi"
INPUT_DEVICES="evdev synaptics"
CAMERAS="*"
PYTHON_TARGETS="python2_7 python3_2 pypy1_9 jython2_5"


#PORTDIR_OVERLAY="/usr/local/portage"
source /var/lib/layman/make.conf
LIRC_DEVICES="devinput"
AUTOCLEAN="yes"
#PORTDIR="/usr/portage"
ACCEPT_LICENSE="$ACCEPT_LICENSE *"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"

PORTAGE_ELOG_CLASSES="warn error log qa"
PORTAGE_ELOG_SYSTEM="save_summary save"
EMERGE_DEFAULT_OPTS="--quiet-build=n --keep-going --autounmask-write"


Solltest Du Dich wundern, warum ich in den CFLAGS so viel drin stehen habe, dann kannste auch mal hier rein schauen um mehr darüber zu erfahren:
https://forums.gentoo.org/viewtopic-t-955766-highlight-cflags+march+atom+mnocx16.html
Hier könnte auch an Performance noch einiges zu holen sein, falls das mit den abgeschalteten sse instruction sets auch bei Dir immer noch so sein sollte. :wink:

So und nun viel Spaß beim Probleme fixen und happy compiling.

Gruß, Andy

Edit: Zusatzinfo als Beweis:

Code:
free
             total       used       free     shared    buffers     cached
Mem:       1019416     926804      92612      34472      99676     389320
-/+ buffers/cache:     437808     581608
Swap:      4094972          0    4094972


Code:
top - 20:20:48 up  1:14,  3 users,  load average: 0,00, 0,01, 0,06
Tasks: 125 total,   1 running, 124 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0,7 us,  0,3 sy,  0,0 ni, 98,8 id,  0,0 wa,  0,0 hi,  0,2 si,  0,0 st
KiB Mem:   1019416 total,   928088 used,    91328 free,   100048 buffers
KiB Swap:  4094972 total,        0 used,  4094972 free.   389624 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                         
 2377 andy      20   0  366956 111156  43060 S   0,7 10,9   3:19.24 plasma-desktop                                                   
 4180 root      20   0    7180   1492   1040 R   0,7  0,1   0:00.41 top                                                             
 2012 root      20   0   66432  29080  19344 S   0,3  2,9   1:26.91 X                                                               
 4022 andy      20   0  234676  56092  28376 S   0,3  5,5   0:09.97 kscreenlocker_g                                                 
    1 root      20   0    2176    660    592 S   0,0  0,1   0:00.72 init                                                             
    2 root      20   0       0      0      0 S   0,0  0,0   0:00.00 kthreadd                                                         
    3 root      20   0       0      0      0 S   0,0  0,0   0:00.20 ksoftirqd/0                                                     
    5 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 kworker/0:0H                                                     
    7 root      rt   0       0      0      0 S   0,0  0,0   0:00.01 migration/0                                                     
    8 root      20   0       0      0      0 S   0,0  0,0   0:00.00 rcu_bh                                                           
    9 root      20   0       0      0      0 S   0,0  0,0   0:01.16 rcu_sched                                                       
   10 root      rt   0       0      0      0 S   0,0  0,0   0:00.01 migration/1                                                     
   11 root      20   0       0      0      0 S   0,0  0,0   0:00.13 ksoftirqd/1                                                     
   13 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 kworker/1:0H                                                     
   14 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 khelper                                                         
   15 root      20   0       0      0      0 S   0,0  0,0   0:00.00 kdevtmpfs                                                       
   16 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 netns                                                           
  260 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 writeback                                                       
  262 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 bioset                                                           
  264 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 kblockd                                                         
  374 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 ata_sff                                                         
  381 root      20   0       0      0      0 S   0,0  0,0   0:00.00 khubd                                                           
  395 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 cfg80211                                                         
  495 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 rpciod                                                           
  521 root      20   0       0      0      0 S   0,0  0,0   0:00.24 kswapd0                                                         
  587 root      20   0       0      0      0 S   0,0  0,0   0:00.00 fsnotify_mark                                                   
  605 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 nfsiod                                                           
  610 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 crypto                                                           
  760 root      20   0       0      0      0 S   0,0  0,0   0:00.01 scsi_eh_0                                                       
  763 root      20   0       0      0      0 S   0,0  0,0   0:00.00 scsi_eh_1                                                       
  766 root      20   0       0      0      0 S   0,0  0,0   0:00.00 scsi_eh_2                                                       
  769 root      20   0       0      0      0 S   0,0  0,0   0:00.00 scsi_eh_3                                                       
  794 root      20   0       0      0      0 S   0,0  0,0   0:00.13 kworker/0:2                                                     
  804 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 kpsmoused                                                       
  843 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 deferwq                                                         
  861 root       0 -20       0      0      0 S   0,0  0,0   0:00.36 kworker/0:1H                                                     
  862 root      20   0       0      0      0 S   0,0  0,0   0:00.09 jbd2/sda1-8                                                     
  863 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 ext4-rsv-conver                                                 
  864 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 kworker/1:1H                                                     
 1019 root      20   0   10240   1812    968 S   0,0  0,2   0:00.52 udevd                                                           
 1053 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 hd-audio0                                                       
 1264 root      20   0       0      0      0 S   0,0  0,0   0:00.00 jbd2/sda2-8                                                     
 1265 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 ext4-rsv-conver                                                 
 1266 root      20   0       0      0      0 S   0,0  0,0   0:00.08 jbd2/sda3-8                                                     
 1267 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 ext4-rsv-conver                                                 
 1760 message+  20   0    3612   1628    936 S   0,0  0,2   0:04.50 dbus-daemon                                                     
 1780 root      20   0   79700   8880   7412 S   0,0  0,9   0:09.37 NetworkManager                                                   
 1788 polkitd   20   0  102076   9112   5644 S   0,0  0,9   0:01.29 polkitd                                                         
 1806 root      20   0    5884   2528   2144 S   0,0  0,2   0:01.89 wpa_supplicant                                                   
 1828 root      20   0   37400   3912   3164 S   0,0  0,4   0:00.08 ModemManager                                                     
 1850 root      20   0    4728    412    208 S   0,0  0,0   0:00.00 syslog-ng                                                       
 1851 root      20   0   26324   3152   2204 S   0,0  0,3   0:01.30 syslog-ng                                                       
 1876 root      20   0   30248   3432   2784 S   0,0  0,3   0:00.35 console-kit-dae                                                 
 1962 root      20   0    2240    384    304 S   0,0  0,0   0:00.25 gpm                                                             
 2002 root      20   0    4276    748    572 S   0,0  0,1   0:00.00 kdm                                                             
 2027 root      20   0    2248    436    292 S   0,0  0,0   0:00.00 lircd                                                           
 2047 root      20   0    2760   1112    876 S   0,0  0,1   0:00.02 rpcbind                                                         
 2068 root      20   0    3108   1388    776 S   0,0  0,1   0:00.00 rpc.statd                                                       
 2113 root      20   0    5344   1812   1424 S   0,0  0,2   0:00.59 ntpd                                                             
 2138 root      20   0    5260   1060    712 S   0,0  0,1   0:00.00 sshd                                                             
 2158 root      20   0    6032    768    640 S   0,0  0,1   0:00.01 cron                                                             
 2182 root      20   0    4476    912    800 S   0,0  0,1   0:00.00 agetty                                                           
 2183 root      20   0    4476    920    800 S   0,0  0,1   0:00.00 agetty                                                           
 2184 root      20   0    4476    916    800 S   0,0  0,1   0:00.00 agetty                                                           
 2185 root      20   0    4476    920    800 S   0,0  0,1   0:00.00 agetty                                                           
 2186 root      20   0    4476    920    800 S   0,0  0,1   0:00.00 agetty                                                           
 2187 root      20   0    4476    912    800 S   0,0  0,1   0:00.00 agetty                                                           
 2190 root      20   0    5452   2212   1680 S   0,0  0,2   0:00.03 kdm                                                             
 2211 andy      20   0    7000   1540   1344 S   0,0  0,2   0:00.06 startkde                                                         
 2220 andy      20   0    3884    804    568 S   0,0  0,1   0:00.00 dbus-launch

_________________
If you want to see a Distro done right, compile it yourself!
Back to top
View user's profile Send private message
LinuxTom
l33t
l33t


Joined: 26 Mar 2006
Posts: 798

PostPosted: Mon Jan 20, 2014 10:01 am    Post subject: Reply with quote

Danke, mein Lebensretter. Denn meine Frau benutzt den und somit hat das in der Familie höchste Priorität. Ich werde es vorbereiten (das mache ich unter KVM auf meinem Server, also alles entsprechend kompilieren) und dann auf meinem "Kleinen" ausprobieren. Ich melde mich mit den Ergebnissen. Soviel vorweg, durch meine KVM-Version muss ich -mmovbe nehmen. Aber ansonsten habe ich wohl keine Einschränkungen.
Back to top
View user's profile Send private message
Randy Andy
Veteran
Veteran


Joined: 19 Jun 2007
Posts: 1148
Location: /dev/koelsch

PostPosted: Mon Jan 20, 2014 12:08 pm    Post subject: Reply with quote

Gern geschehen, Linux-Tom.

Schön dass Du dich noch mal meldest, dachte schon Du hättest die Flinte ins Korn geworfen und bereits ein alternatives System installiert, da es so lange bis zu deiner Rückmeldung dauerte.
Ich schätze Du meinst hier -mno-mmovbe, denn anders als bei den USE-Flags meint bei den CFLAGS erst mno = Minus, aber ich schätze das weißt Du schon und es war nur ein "Verschreiber".

Auf meinem Zwerg kompiliert gerade KDE-4.12.1 + Libreoffice + gcc updates per distcc, hoffe wenn ich von der Arbeit nach Hause komme ist es endlich fertig. :wink:

Dir noch viel Erfolg, hoffe am Ende wird alles gut.

Gruß, Andy.
_________________
If you want to see a Distro done right, compile it yourself!
Back to top
View user's profile Send private message
LinuxTom
l33t
l33t


Joined: 26 Mar 2006
Posts: 798

PostPosted: Mon Jan 20, 2014 12:30 pm    Post subject: Reply with quote

Ja, ich meine no- ... ;)
Ich habe noch zwei andere Hobbies, die mich manchmal ausfüllen. Geld verdienen und Pferde. Und nun kam auch noch zum Jahreswechsel die Steuer, .... :(
Back to top
View user's profile Send private message
Randy Andy
Veteran
Veteran


Joined: 19 Jun 2007
Posts: 1148
Location: /dev/koelsch

PostPosted: Mon Jan 20, 2014 5:27 pm    Post subject: Reply with quote

Alles klar, kein Thema LinuxTom.

Die leidige Steuer ist auch mir, alle Jahre wieder, ein Graus und Hobby und Familie dürfen natürlich auch nicht zu kurz kommen. :wink:

Wär aber schön irgendwann nochmal ein Feedback zu bekommen, ob's geklappt hat und ob es den gewünschten Erfolg gebracht hat.

Gruß, Andy.
_________________
If you want to see a Distro done right, compile it yourself!
Back to top
View user's profile Send private message
LinuxTom
l33t
l33t


Joined: 26 Mar 2006
Posts: 798

PostPosted: Mon Jan 20, 2014 5:44 pm    Post subject: Reply with quote

Kommt. Versprochen.
Back to top
View user's profile Send private message
LinuxTom
l33t
l33t


Joined: 26 Mar 2006
Posts: 798

PostPosted: Mon Jan 20, 2014 9:25 pm    Post subject: Reply with quote

Hi Andy,

hast Du Deinen GCC auch ohne sse4.2 übersetzt? Denn ich bekomme dadurch den folgenden Fehler:

Code:
/usr/lib/gcc/i686-pc-linux-gnu/4.7.3/include/nmmintrin.h:31:3: Fehler: #error "SSE4.2 instruction set not enabled"
In file included from ../sysdeps/i386/i686/multiarch/strstr.c:1:0:
../sysdeps/x86_64/multiarch/strstr.c: In Funktion »__strstr_sse42«:
../sysdeps/x86_64/multiarch/strstr.c:210:5: Warnung: Implizite Deklaration der Funktion »_mm_insert_epi8« [-Wimplicit-function-declaration]
../sysdeps/x86_64/multiarch/strstr.c:210:11: Fehler: unverträgliche Typen bei Zuweisung an Typ »__m128i« von Typ »int«
../sysdeps/x86_64/multiarch/strstr.c:213:3: Warnung: Implizite Deklaration der Funktion »_mm_cmpistrc« [-Wimplicit-function-declaration]
../sysdeps/x86_64/multiarch/strstr.c:214:3: Warnung: Implizite Deklaration der Funktion »_mm_cmpistrz« [-Wimplicit-function-declaration]
../sysdeps/x86_64/multiarch/strstr.c:215:3: Warnung: Implizite Deklaration der Funktion »_mm_cmpistri« [-Wimplicit-function-declaration]
../sysdeps/x86_64/multiarch/strstr.c:216:3: Warnung: Implizite Deklaration der Funktion »_mm_cmpistrs« [-Wimplicit-function-declaration]
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.16.0/work/build-default-i686-pc-linux-gnu-nptl/string/strstr.o] Fehler 1


Gruß
Thomas
Back to top
View user's profile Send private message
Randy Andy
Veteran
Veteran


Joined: 19 Jun 2007
Posts: 1148
Location: /dev/koelsch

PostPosted: Mon Jan 20, 2014 9:57 pm    Post subject: Reply with quote

Ja Thomas,

hab ich ohne übersetzt.
Schau doch nochmal etwas gründlicher in meinen ersten Post, dort hab ich schließlich alle meine gesetzten CFLAGS aus der make.conf gelistet. :wink:

Gruß, Andy.
_________________
If you want to see a Distro done right, compile it yourself!
Back to top
View user's profile Send private message
LinuxTom
l33t
l33t


Joined: 26 Mar 2006
Posts: 798

PostPosted: Tue Jan 21, 2014 6:48 am    Post subject: Reply with quote

Und diese Deine Zeile habe ich 1:1 übernommen. Welche Versionen des GCC und der Glibc hast Du genau?
Back to top
View user's profile Send private message
Randy Andy
Veteran
Veteran


Joined: 19 Jun 2007
Posts: 1148
Location: /dev/koelsch

PostPosted: Tue Jan 21, 2014 7:05 am    Post subject: Reply with quote

Moin Thomas.

Kann das jetzt nicht mehr nachschauen weil auffe Malloche. Da ich mit dem Teil aber immer auf dem letzten Stand der ~x86 arch bin, kannst Du dich ja auch daran orientieren.
GCC weiß ich definitiv aus'm Kopf das nur noch 4.6.4 und 4.8.2 installiert sind, aber 4.8.2 verwendete wird.

Meine CFLAGS 1:1 zu übernehmen halte ich für eine gute Idee. Lediglich bei dem von Dir erwähnten -mno-mmovbe wegen der KVM Umgebung musst Du ggf. davon abweichen.

Viel Erfolg dabei.

Andy.
_________________
If you want to see a Distro done right, compile it yourself!
Back to top
View user's profile Send private message
LinuxTom
l33t
l33t


Joined: 26 Mar 2006
Posts: 798

PostPosted: Tue Jan 21, 2014 7:18 am    Post subject: Reply with quote

Ja, das -mno-mmovbe habe ich. Und da haben wir schon einen Unterschied. Mein Stand vom Gentoo ist vom 31.12. und da ist der GCC-4.7.3-r1 aktuell und noch nicht der 4.8. Ich probiere dann mal den (aus ~x86) aus.
Back to top
View user's profile Send private message
Randy Andy
Veteran
Veteran


Joined: 19 Jun 2007
Posts: 1148
Location: /dev/koelsch

PostPosted: Tue Jan 21, 2014 8:13 am    Post subject: Reply with quote

Ja Thomas,

versuch das mal. Die GCC-4.8er Serie ist schon recht ordentlich. Auf dem Weg dahin hatte ich mal mit LTO experimentiert, bin aber wegen zu vieler Probleme und dem damit erforderlichen Aufwand des händischen fixens, wieder davon weg gegangen.

Auch Interessant: Ich bekomme ich mit dem 4.8.2er den 4.6.4er nicht mehr durch kompiliert, wenn ich das möchte muss ich zuvor auf den 4.6.4er umschalten. Ist wohl nicht ganz abwärtskompatibel, der Gute, hab ihn aber wegen der Redundanz noch drauf, für den Fall der Fälle.
Den 4.6er brauchte ich mal für ein Problem, bei dem sich Firefox mit dem frühen 4.8.er nicht kompilieren ließ, ist aber schon lang gefixet.

Den 4.7.er hab ich mir mal versehentlich bei einem --depclean runtergeschmissen.

Aber wie gesagt, der aktülle GCC baut eigentlich mittlerweile alle meine Pakete ohne Probleme. Nur mit der ~ Version von boost wäre ich etwas vorsichtig, denn damit hab ich auf einem anderen ~x86_64 System etwas Probleme die auch im Bug-Report bekannt sind. Würde hier daher zur stabilen Version von boost raten, ansonsten ist ~ aber für mich stabil genug. :wink:

Happy compiling.
_________________
If you want to see a Distro done right, compile it yourself!
Back to top
View user's profile Send private message
LinuxTom
l33t
l33t


Joined: 26 Mar 2006
Posts: 798

PostPosted: Tue Jan 21, 2014 9:36 pm    Post subject: Reply with quote

Nö, wird bei mir auch in dieser Kombi nichts. Ich muss es anders probieren:

Code:
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/include/nmmintrin.h:31:3: Fehler: #error "SSE4.2 instruction set not enabled"
 # error "SSE4.2 instruction set not enabled"
   ^
In file included from ../sysdeps/i386/i686/multiarch/strstr.c:1:0:
../sysdeps/x86_64/multiarch/strstr.c: In Funktion »__strstr_sse42«:
../sysdeps/x86_64/multiarch/strstr.c:210:5: Warnung: Implizite Deklaration der Funktion »_mm_insert_epi8« [-Wimplicit-function-declaration]
     frag2 = _mm_insert_epi8 (zero, LOADBYTE (p2[0]), 0);
     ^
../sysdeps/x86_64/multiarch/strstr.c:210:11: Fehler: unverträgliche Typen bei Zuweisung an Typ »__m128i« von Typ »int«
     frag2 = _mm_insert_epi8 (zero, LOADBYTE (p2[0]), 0);
           ^
../sysdeps/x86_64/multiarch/strstr.c:213:3: Warnung: Implizite Deklaration der Funktion »_mm_cmpistrc« [-Wimplicit-function-declaration]
   int cmp_c = _mm_cmpistrc (frag2, frag1, 0x0c);
   ^
../sysdeps/x86_64/multiarch/strstr.c:214:3: Warnung: Implizite Deklaration der Funktion »_mm_cmpistrz« [-Wimplicit-function-declaration]
   int cmp_z = _mm_cmpistrz (frag2, frag1, 0x0c);
   ^
../sysdeps/x86_64/multiarch/strstr.c:215:3: Warnung: Implizite Deklaration der Funktion »_mm_cmpistri« [-Wimplicit-function-declaration]
   int cmp = _mm_cmpistri (frag2, frag1, 0x0c);
   ^
../sysdeps/x86_64/multiarch/strstr.c:216:3: Warnung: Implizite Deklaration der Funktion »_mm_cmpistrs« [-Wimplicit-function-declaration]
   int cmp_s = _mm_cmpistrs (frag2, frag1, 0x0c);
   ^
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.17/work/build-default-i686-pc-linux-gnu-nptl/string/strstr.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17/string'


Der Fehler hat glaube ich was mit der glibc zu tun, der erst nach der 2.18 weg sein soll. Ich muss mal forschen.

Was steht in Deiner Date: /usr/lib/gcc/i686-pc-linux-gnu/4.8.2/include/nmmintrin.h
Code:
#ifndef _NMMINTRIN_H_INCLUDED
#define _NMMINTRIN_H_INCLUDED

#ifndef __SSE4_2__
# error "SSE4.2 instruction set not enabled"
#else
/* We just include SSE4.1 header file.  */
#include <smmintrin.h>
#endif /* __SSE4_2__ */

#endif /* _NMMINTRIN_H_INCLUDED */


hast Du Deine glibc wirklich mit dem gcc-4.8.2 übersetzt? Und wenn, welche glibc?
Back to top
View user's profile Send private message
LinuxTom
l33t
l33t


Joined: 26 Mar 2006
Posts: 798

PostPosted: Wed Jan 22, 2014 6:47 am    Post subject: Reply with quote

Nehme ich
Code:
-mno-sse4.2 -mno-sse4.1

raus, funktioniert das übersetzen der glibc sofort. Der Inhalt der Datei /usr/lib/gcc/i686-pc-linux-gnu/4.8.2/include/nmmintrin.h (oder auch entsprechend 4.7.3) ändert sich hierbei nicht. Ist wohl ein Problem der glibc. Vielleicht hat das auch mit diesem Bug zu tun. Ich habe daraufhin mal geschaut und auch ein paar SIGSEGV's in meinen Logs gefunden. :(
Back to top
View user's profile Send private message
Randy Andy
Veteran
Veteran


Joined: 19 Jun 2007
Posts: 1148
Location: /dev/koelsch

PostPosted: Wed Jan 22, 2014 9:00 am    Post subject: Reply with quote

Moin Thomas,

Hab mal wieder keinen Zugriff auf das Netbook und werde deine Frage "hast Du Deine glibc wirklich mit dem gcc-4.8.2 übersetzt? Und wenn, welche glibc?"
dann später beantworten.

Ein paar Ideen trotzdem schon mal vorab.

Solltest Du bereits dev-libs/boost-1.53.0-r1 verwenden, versuch es besser mit dev-libs/boost-1.52.0-r6.

Wenn ich Dich richtig verstanden habe versuchst Du ja alles in einer virtuellen Maschine auf anderer Hardware zu übersetzen, richtig?
Könnte mir denken dass dein Problem nicht auf der orginalen Zielhardware auftritt.

Grund:
Vielleicht erkennt ein Automatismus (gcc's oder wessen auch immer) auf deiner Hardware das Vorhandensein der Instruction-sets sse4.1 und 4.2 und will sie partout eingebaut wissen...

Sind die störrischen Dateien erst mal dort übersetzt, kannst Du sie dann ja zurück in deine KVM-Umgebung verfrachten um dann dort den restlichen Löwenanteil zu kompilieren.

Viellicht bringt dich diese Idee ja schneller ans Ziel, als auf eine Antwort auf deine Frage zu warten...


Gruß, Andy.
_________________
If you want to see a Distro done right, compile it yourself!
Back to top
View user's profile Send private message
LinuxTom
l33t
l33t


Joined: 26 Mar 2006
Posts: 798

PostPosted: Thu Jan 23, 2014 12:32 pm    Post subject: Reply with quote

Was hältst Du hiervon?
Back to top
View user's profile Send private message
Randy Andy
Veteran
Veteran


Joined: 19 Jun 2007
Posts: 1148
Location: /dev/koelsch

PostPosted: Thu Jan 23, 2014 7:08 pm    Post subject: Reply with quote

Wär schon möglich,

versuch es doch mal mit der gerade frisch in den tree genommenen version 2.18-r1 der sys-libs/glibc, vielleicht hilft's ja.

Ansonsten versuch's halt mal so wie von mir im vorigen post vorgeschlagen.
_________________
If you want to see a Distro done right, compile it yourself!
Back to top
View user's profile Send private message
LinuxTom
l33t
l33t


Joined: 26 Mar 2006
Posts: 798

PostPosted: Thu Jan 23, 2014 11:00 pm    Post subject: Reply with quote

Bin schon am Ausprobieren. Dir r1 gibt es offensichtlich erst seit ein paar Stunden oder so.
Back to top
View user's profile Send private message
LinuxTom
l33t
l33t


Joined: 26 Mar 2006
Posts: 798

PostPosted: Fri Feb 07, 2014 11:29 am    Post subject: Reply with quote

Nachdem ich langsam ein funktionierendes System brauche, habe ich erst einmal alle "no"-Sachen rausgeschmissen. Ich versuche es erst einmal zusätzlich mit "-mmmx -msse -msse2 -msse3 -mssse3 -mfpmath=sse". Also unterm Strich mit:
Code:
CFLAGS="-march=atom -msahf -mtune=atom -mno-movbe -mmmx -msse -msse2 -msse3 -mssse3 -mfpmath=sse -fomit-frame-pointer -pipe -O2"

Da funktioniert bisher endlich alles (auch der gcc:4.6, den ich noch brauche). Was es für Geschwindigkeitsvorteile bringt, berichte ich hier wieder.
Back to top
View user's profile Send private message
Randy Andy
Veteran
Veteran


Joined: 19 Jun 2007
Posts: 1148
Location: /dev/koelsch

PostPosted: Sat Feb 08, 2014 4:24 pm    Post subject: Reply with quote

Ja , mach das.

Bin gespannt und schaue immer mal wieder nach wie's bei Dir hier weiter geht.

Gruß, Andy.
_________________
If you want to see a Distro done right, compile it yourself!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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