"Illegal instruction" when trying to run the browser

Please post any bugs you have found
Post Reply
Message
Author
vstoykov
Posts: 6
Joined: Mon 25 Nov 2019, 21:36

"Illegal instruction" when trying to run the browser

#1 Post by vstoykov »

I tried the 32-bit version of Puppy (bionicpup32-8.0-uefi.iso) on a Duron CPU.

And got this error message. I tried Chromium, Firefox and Light - the same problem. Only Dillo is starting. I installed them with the apps from the menu (ppm and the other app, I don't remember how it's called).

https://i.imgur.com/n7oqdfy.png

Probably mismatched version (64 bit browser on 32 bit system).
Attachments
Screenshot.jpg
(89.35 KiB) Downloaded 223 times

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#2 Post by musher0 »

Hi vstoykov.

No, you cannot run a 64-bit program on 32-bit PC.

If Chromium and derivatives, it could also be that you need to start it as "spot" user.
Chromium-based browsers do not allow running as "root" user.

Vivaldi being the exception, if you launch it from a special bash script.

Perhaps send a PM to forum member Mike_Walsh, he knows a lot about browsers.

IHTH.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#3 Post by bigpup »

Use Puppy Package Manager(PPM)->Uninstall to uninstall whatever browsers you did install.

Go here and get the 32bit version of Chromium:
http://www.murga-linux.com/puppy/viewtopic.php?t=81351
This is in the form of an SFS package.
Do you know how to load a sfs package?

For Firefox look at this topic:
http://www.murga-linux.com/puppy/viewtopic.php?t=112376
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#4 Post by wiak »

musher0 wrote:No, you cannot run a 64-bit program on 32-bit PC.
True in the sense you meant it, but not an absolute truth (is there such a thing?!). You can do it using 'emulation'; either system call (user mode) emulation, or CPU emulation (more accurately being full-system emulation) but expect the result to be slow for CPU emulation. Could be reasonably okay for system call emulation though but often has limitation of some system calls not being supported:

https://www.cnblogs.com/pengdonglin137/p/5020143.html

https://ownyourbits.com/2018/06/13/tran ... nfmt_misc/

wiak

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#5 Post by peebee »

Duron does not have sse2

suspect that is the problem - processor is too old for these browsers.

what does dmesg say?
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

jafadmin
Posts: 1249
Joined: Thu 19 Mar 2009, 15:10

#6 Post by jafadmin »

I had to use "chromium-browser --test-type --no-sandbox" to start.

Browsers don't want to run as root. (It's a good thing) :wink:

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#7 Post by Mike Walsh »

musher0 wrote:Perhaps send a PM to forum member Mike_Walsh, he knows a lot about browsers.
Hoo! Well; me no expert - and a lot of what I do now know has come from other, more knowledgeable forum members! - but it's fair to say that I have 'faffed-around' with various Chromium-based browsers quite a bit over the last few years.
musher0 wrote:Chromium-based browsers do not allow running as "root" user.

Vivaldi being the exception, if you launch it from a special bash script.
By and large, that is true.

Chromium, the progenitor of all of 'em.....definitely.
Chrome (its original 'offspring').....most definitely.
Slimjet - definitely.

Vivaldi - I'll take your word for it. Never liked it; too 'colourful', and 'in-yer-face' for my liking. Modern, Blink-based Opera is also tarred with this same brush...

The one exception to this general rule is SRWare's 'Iron' browser. I have Iron 69 (not the newest, but released well after all this 'run-only-as-user' crap started) running as root. But that is with the 'sandbox' disabled.

However, most of 'em will 'run-as-root' with the sandbox taken out of the picture.....though that's kinda defeating the whole point of having the sandboxed, isolated-process security in the first place, of course.

----------------------------------------------

That Duron will never run any up-to-date Chromium-based browser, not if you stick at it till you're blue in the face. It simply hasn't got the necessary instruction sets; 'Big Brother'( aka Google) decreed some years ago that SSE2 instructions were henceforth going to be the absolutely minimum 'requirement' for running any of their browsers.....and we all know that the Chromium Projects is simply Google's browser R & D department.

They pay the bills, after all. And, as 'fallout' from this unilateral decision, every other browser out there also requires minimum SSE2s to run current versions. (Though, given how complex the modern web is becoming, I'm not surprised more advanced instruction sets are now 'required' to manipulate it all..!)


Mike. :wink:

Post Reply