Mageia 4 on i686

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Mageia 4 on i686

Postby wanne » Apr 10th, '14, 14:44

Hi,

I've installed PC with a older CPU:
Code: Select all
$ lscpu
Architecture:          i686
CPU op-mode(s):        32-bit
Byte Order:            Little Endian
CPU(s):                1
On-line CPU(s) list:   0
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             1
Vendor ID:             AuthenticAMD
CPU family:            6
Model:                 10
Model name:            AMD Athlon(tm) Processor
Stepping:              0
CPU MHz:               1545.410
BogoMIPS:              3090.82
L1d cache:             64K
L1i cache:             64K
L2 cache:              512K
$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 10
model name      : AMD Athlon(tm) Processor
stepping        : 0
cpu MHz         : 1545.410
cache size      : 512 KB
fdiv_bug        : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips        : 3090.82
clflush size    : 32
cache_alignment : 32
address sizes   : 34 bits physical, 32 bits virtual
power management: ts

But now I get some Illegal instruction errors: The first time I got it was from the nouveau-driver. I cant provide the log-message since i changed to vesa and mageia seems to remove dmsg-log files every second boot-process.

But with midori and the flash player it seems to be the same:
Code: Select all
Program received signal SIGILL, Illegal instruction.
back0x8c7429d0 in ?? () from /usr/lib/flash-player-plugin/libflashplayer.so
(gdb) backtrace
#0  0x8c7429d0 in ?? () from /usr/lib/flash-player-plugin/libflashplayer.so
#1  0x8c7493d8 in ?? () from /usr/lib/flash-player-plugin/libflashplayer.so
#2  0x8c41a84e in ?? () from /usr/lib/flash-player-plugin/libflashplayer.so
#3  0x8c3a01b7 in ?? () from /usr/lib/flash-player-plugin/libflashplayer.so
#4  0x8c41b1e5 in ?? () from /usr/lib/flash-player-plugin/libflashplayer.so
#5  0x8c4d563f in ?? () from /usr/lib/flash-player-plugin/libflashplayer.so
#6  0x8c6f0863 in ?? () from /usr/lib/flash-player-plugin/libflashplayer.so
#7  0x8c692517 in ?? () from /usr/lib/flash-player-plugin/libflashplayer.so
#8  0x8c315646 in ?? () from /usr/lib/flash-player-plugin/libflashplayer.so
#9  0x8c69b106 in ?? () from /usr/lib/flash-player-plugin/libflashplayer.so
#10 0x8c696209 in ?? () from /usr/lib/flash-player-plugin/libflashplayer.so
#11 0xb61b6c7c in WebCore::PluginView::start() [clone .part.223] ()
   from /lib/libwebkitgtk-1.0.so.0
#12 0xb61b7050 in WebCore::PluginView::startOrAddToUnstartedList() ()
   from /lib/libwebkitgtk-1.0.so.0
#13 0xb61b70a0 in WebCore::PluginView::init() ()
   from /lib/libwebkitgtk-1.0.so.0
#14 0xb68f9951 in WebCore::PluginView::setParent(WebCore::ScrollView*) ()
   from /lib/libwebkitgtk-1.0.so.0
#15 0xb67b139e in WebCore::ScrollView::addChild(WTF::PassRefPtr<WebCore::Widget>) () from /lib/libwebkitgtk-1.0.so.0
#16 0xb6356f71 in WebCore::moveWidgetToParentSoon(WebCore::Widget*, WebCore::FrameView*) () from /lib/libwebkitgtk-1.0.so.0
#17 0xb63574ca in WebCore::RenderWidget::setWidget(WTF::PassRefPtr<WebCore::Widget>) () from /lib/libwebkitgtk-1.0.so.0
#18 0xb62fb1b9 in WebCore::RenderPart::setWidget(WTF::PassRefPtr<WebCore::Widget>) () from /lib/libwebkitgtk-1.0.so.0
#19 0xb6103b2a in WebCore::SubframeLoader::loadPlugin(WebCore::HTMLPlugInImageElement*, WebCore::KURL const&, WTF::String const&, WTF::Vector<WTF::String, 0u, WTF::CrashOnOverflow> const&, WTF::Vector<WTF::String, 0u, WTF::CrashOnOverflow> const&, bool) () from /lib/libwebkitgtk-1.0.so.0
---Type <return> to continue, or q <return> to quit---
#20 0xb6103cc5 in WebCore::SubframeLoader::requestPlugin(WebCore::HTMLPlugInImageElement*, WebCore::KURL const&, WTF::String const&, WTF::Vector<WTF::String, 0u, WTF::CrashOnOverflow> const&, WTF::Vector<WTF::String, 0u, WTF::CrashOnOverflow> const&, bool) () from /lib/libwebkitgtk-1.0.so.0

print /x $pc
$3 = 0x8c7429d0

(gdb) x/i $pc
=> 0x8c7429d0:  cvtdq2ps %xmm1,%xmm0
(gdb) x/i 0x8c7429d0
wanne
 
Posts: 14
Joined: Jul 26th, '11, 11:42

Re: Mageia 4 on i686

Postby wanne » Apr 10th, '14, 14:45

PS: Mageia 2 was running without of problems.
wanne
 
Posts: 14
Joined: Jul 26th, '11, 11:42

Re: Mageia 4 on i686

Postby wanne » Apr 10th, '14, 15:00

Without flash:
Code: Select all
Program received signal SIGILL, Illegal instruction.
0xb7fcc095 in ?? ()
(gdb) backtrace
#0  0xb7fcc095 in ?? ()
#1  0xb55a5e69 in JSC::JITCode::execute(JSC::JSStack*, JSC::ExecState*, JSC::VM*) () from /lib/libjavascriptcoregtk-1.0.so.0
#2  0xb5589cf1 in JSC::Interpreter::execute(JSC::ProgramExecutable*, JSC::ExecState*, JSC::JSObject*) () from /lib/libjavascriptcoregtk-1.0.so.0
#3  0xb56ae50e in JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&, JSC::JSValue, JSC::JSValue*) () from /lib/libjavascriptcoregtk-1.0.so.0
#4  0xb5bf387b in WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&, WebCore::DOMWrapperWorld*) () from /lib/libwebkitgtk-1.0.so.0
#5  0xb5bf3b55 in WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&) () from /lib/libwebkitgtk-1.0.so.0
#6  0xb5dc2bc2 in WebCore::ScriptElement::executeScript(WebCore::ScriptSourceCode const&) () from /lib/libwebkitgtk-1.0.so.0
#7  0xb5f836c9 in WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent(WebCore::PendingScript&) () from /lib/libwebkitgtk-1.0.so.0
#8  0xb5f83cba in WebCore::HTMLScriptRunner::executeParsingBlockingScript() ()
   from /lib/libwebkitgtk-1.0.so.0
#9  0xb5f83f98 in WebCore::HTMLScriptRunner::executeParsingBlockingScripts() ()
   from /lib/libwebkitgtk-1.0.so.0
#10 0xb5f83fdb in WebCore::HTMLScriptRunner::executeScriptsWaitingForStylesheets() () from /lib/libwebkitgtk-1.0.so.0

(gdb) print /x $pc
$1 = 0xb7fcc095
(gdb) x/i $pc
=> 0xb7fcc095:  movsd  (%ebx,%ecx,8),%xmm0

(gdb) disassemble 0xb7fcc095
No function contains specified address.
wanne
 
Posts: 14
Joined: Jul 26th, '11, 11:42

Re: Mageia 4 on i686

Postby benmc » Apr 11th, '14, 03:06

hi

was this an upgrade or a fresh install?

If a fresh install did you do the md5 check before burning the iso to usb / dvd / cd?

If an upgrade was it from above disk image or an online upgrade?
If the online upgrade did you choose to download all files first or download as required?

IIRC there was file system change from M2 to M3 [ or M4 ] which caused a few headaches for upgrades.
benmc
 
Posts: 1205
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: Mageia 4 on i686

Postby wanne » Apr 11th, '14, 05:25

benmc wrote:was this an upgrade or a fresh install?
fresh install
benmc wrote:If a fresh install did you do the md5 check before burning the iso to usb / dvd / cd?
I didn't use a CD or an USB flash drive. I made a network installation. (I think the installer is using urpmi which checks the downloaded rpms)
wanne
 
Posts: 14
Joined: Jul 26th, '11, 11:42

Re: Mageia 4 on i686

Postby benmc » Apr 11th, '14, 06:25

hi

Hmmmm.
Have you, as root, run urpmi --auto-update?

just to check that you have a good mirror.
benmc
 
Posts: 1205
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: Mageia 4 on i686

Postby alf » Apr 11th, '14, 12:53

@wanne
flashplayer and webkit are using sse2 but your ancient K6-CPU is not sse2 enabled.
for windows problems reboot; for linux problems be root
alf
 
Posts: 326
Joined: Apr 1st, '11, 23:07
Location: DE Paderborn

Re: Mageia 4 on i686

Postby wanne » Apr 12th, '14, 20:40

That mean The system reqirements on the websites of Adobe and Mageia are wrong and when you have an older CPU you hve to go to gentoo or something like that?

Do someone know a simple tool, that finds binarys with sse2/sse3/ssse instructions?
I tryed this, but that's realy slow and I don't think, that it's realy stable:
Code: Select all
objdump -d {} | tr "\t" "&" | grep -E "&0f (1[01234567]|2[89abcdef]|5|6|7[123456789]|c[23456]|d|e|f)" | grep -E -q "&(addpd|addsd|andnpd|andpd|cmppd|cmpsd|comisd|cvtdq2pd|cvtdq2ps|cvtpd2dq|cvtpd2pi|cvtpd2ps|cvtpi2pd|cvtps2dq|cvtps2pd|cvtsd2si|cvtsd2ss|cvtsi2sd|cvtss2sd|cvttpd2dq|cvttpd2pi|cvttps2dq|cvttsd2si|divpd|divsd|maxpd|maxsd|minpd|minsd|movapd|movhpd|movlpd|movmskpd|movsd|movupd|mulpd|mulsd|orpd|shufpd|sqrtpd|sqrtsd|subpd|subsd|ucomisd|unpckhpd|unpcklpd|xorpd|movdq2q|movdqa|movdqu|movq2dq|paddq|psubq|pmuludq|pshufhw|pshuflw|pshufd|pslldq|psrldq|punpckhqdq|punpcklqdq)"


Btw: Is it not a little bit senceless to provide 32Bit-rpms when they need sse2? There only a hand full of CPUs which support sse2 but no x86_64
wanne
 
Posts: 14
Joined: Jul 26th, '11, 11:42

Re: Mageia 4 on i686

Postby doktor5000 » Apr 12th, '14, 21:23

We obviously cannot influence what flashplayer requires, and it's not contained in the default installation. Not sure about webkit.
Feel free to create a list of things from the default installation which require SSE2 so we can adjust the system requirements.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 4 on i686

Postby alf » Apr 12th, '14, 22:01

@wanne
for the flash-issue have a look here: https://wiki.mageia.org/en/Flash_Plugin_Installation
for windows problems reboot; for linux problems be root
alf
 
Posts: 326
Joined: Apr 1st, '11, 23:07
Location: DE Paderborn

Re: Mageia 4 on i686

Postby wanne » Apr 13th, '14, 11:06

alf wrote:for the flash-issue have a look here: https://wiki.mageia.org/en/Flash_Plugin_Installation
It's almost what I've made. I just changed to chromium.
doktor5000 wrote:We obviously cannot influence what flashplayer requires, and it's not contained in the default installation. Not sure about webkit.
May not per default but if you change some ticks.

But for me this is not the problem. If I know the problem I know which programms/packages are affected I can recompile them. But every package is named i586 (which was introduces 1993 and is supported by almost every intel/AMD CPU which is used at the moment.) but some of them need sse2 (Which was introduced eleven years later. And there is no i586 CPU which support this.) and there is no way to find out what is what. (Even midori crash only on some websites and I cant find sse2 instructions neither in libjavascriptcoregtk-1.0 nor in midori itself but gdb says that there is at least one.) For me the rpm-sources are the key feature of Mageia. Up to now I thought: If I use the official sources, I have to care about nothing. Updates, dependencies, stable code, right architecture, linking to the right libraries... Mageia does it for me.

doktor5000 wrote:Feel free to create a list of things from the default installation which require SSE2 so we can adjust the system requirements.
If I find a way how I can do this in a simple way I will do this. At the moment it seems that at least the kernel-Package contains some SSE2 instructions.
wanne
 
Posts: 14
Joined: Jul 26th, '11, 11:42

Re: Mageia 4 on i686

Postby doktor5000 » Apr 13th, '14, 15:04

wanne wrote:
doktor5000 wrote:Feel free to create a list of things from the default installation which require SSE2 so we can adjust the system requirements.
If I find a way how I can do this in a simple way I will do this. At the moment it seems that at least the kernel-Package contains some SSE2 instructions.


Well then at least create a placeholder bug and mention the issues you already encountered there, as those seem all valid and should be fixed.
Some related ones do already exist:
https://bugs.mageia.org/show_bug.cgi?id=9757
https://bugs.mageia.org/show_bug.cgi?id=9459
https://bugs.mageia.org/show_bug.cgi?id=10815
https://bugs.mageia.org/show_bug.cgi?id=12510
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest