SheepShaver Issues with Ubuntu 14.04 x64

About SheepShaver, a PPC Mac emulator for Windows, MacOS X, and Linux that can run System 7.5.3 to MacOS 9.0.4.

Moderators: Cat_7, Ronald P. Regensburg, ClockWise

Post Reply
User avatar
UbuntuXP
Tinkerer
Posts: 68
Joined: Sat Feb 08, 2014 8:15 pm

SheepShaver Issues with Ubuntu 14.04 x64

Post by UbuntuXP »

Hi,
I managed to compile the SheepShaver source code, but it fails to boot a Mac OS 8.1 install iso I have. I did set it to read-only, and it installed in Baslisk II (which I also compiled.) Here's the output:

$ ./SheepShaver
SheepShaver V2.4 by Christian Bauer and Mar"c" Hellwig
Reading ROM file...
Detected CPU features: MMX SSE SSE2 SSE3 SSSE3
PowerPC CPU emulator by Gwenole Beauchesne
Segmentation fault (core dumped)

Anything I'm missing?
"Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."

Doug Gwyn
User avatar
Cat_7
Expert User
Posts: 6172
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: SheepShaver Issues with Ubuntu 14.04 x64

Post by Cat_7 »

Hi,

No, I have the same issue in my Ubuntu 14.04 virtual machine, even with the jit-compiler disabled.

This is what gdb has to say:
Starting program: /home/hsp/SheepShaver/SheepShaver
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
SheepShaver V2.4 by Christian Bauer and Mar"c" Hellwig
[New Thread 0x7fffeb035700 (LWP 2537)]
[New Thread 0x7fffea834700 (LWP 2538)]
[New Thread 0x7fffea033700 (LWP 2539)]
[Thread 0x7fffea033700 (LWP 2539) exited]
[New Thread 0x7fffea033700 (LWP 2540)]
[New Thread 0x7fffe93cd700 (LWP 2541)]
[New Thread 0x7fffe8bcc700 (LWP 2542)]
[Thread 0x7fffe8bcc700 (LWP 2542) exited]
[Thread 0x7fffe93cd700 (LWP 2541) exited]
Reading ROM file...
[New Thread 0x7fffe93cd700 (LWP 2544)]
[New Thread 0x7fffe8bcc700 (LWP 2545)]
[New Thread 0x7fffd3fff700 (LWP 2546)]
[New Thread 0x7fffd37fe700 (LWP 2547)]
Detected CPU features: MMX SSE SSE2 SSE3 SSSE3
PowerPC CPU emulator by Gwenole Beauchesne

Program received signal SIGSEGV, Segmentation fault.
0x0000000040d06193 in ?? ()
(gdb)

It seems I also can't get SDL-1.2.15 built on this Ubuntu version.


Older versions of SheepShaver for Linux downloadable from our forum do work.

Best,
Cat_7
Last edited by Cat_7 on Wed May 21, 2014 9:21 pm, edited 1 time in total.
Reason:  
User avatar
UbuntuXP
Tinkerer
Posts: 68
Joined: Sat Feb 08, 2014 8:15 pm

Re: SheepShaver Issues with Ubuntu 14.04 x64

Post by UbuntuXP »

Here's what I got using gdb:

(gdb) run ./SheepShaver
Starting program: /home/username/SheepShaver ./SheepShaver
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
SheepShaver V2.4 by Christian Bauer and Mar"c" Hellwig
[New Thread 0x7fffeb035700 (LWP 19591)]
[New Thread 0x7fffea834700 (LWP 19592)]
[New Thread 0x7fffea033700 (LWP 19593)]
[Thread 0x7fffea033700 (LWP 19593) exited]
[New Thread 0x7fffea033700 (LWP 19594)]
[New Thread 0x7fffe9358700 (LWP 19595)]
[New Thread 0x7fffe8b57700 (LWP 19596)]
[Thread 0x7fffe9358700 (LWP 19595) exited]
Reading ROM file...
[New Thread 0x7fffe9358700 (LWP 19598)]
[New Thread 0x7fffd3cff700 (LWP 19599)]
[New Thread 0x7fffd34fe700 (LWP 19600)]
[New Thread 0x7fffd2cfd700 (LWP 19601)]
Detected CPU features: MMX SSE SSE2 SSE3 SSSE3
PowerPC CPU emulator by Gwenole Beauchesne

Program received signal SIGSEGV, Segmentation fault.
0x0000000010388193 in ?? ()
(gdb)

I used a Mac OS 9.0.4 install iso and a couple of new-world roms this time. I tried to compile without jit and/or sdl, but it wouldn't make if I disabled those features.
"Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."

Doug Gwyn
User avatar
adespoton
Forum All-Star
Posts: 4274
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: SheepShaver Issues with Ubuntu 14.04 x64

Post by adespoton »

Your best bet is probably to run the Windows version in WINE, or use one of the precompiled ones on here; but if you want to track down the problem, we'd all appreciate it :)
User avatar
UbuntuXP
Tinkerer
Posts: 68
Joined: Sat Feb 08, 2014 8:15 pm

Re: SheepShaver Issues with Ubuntu 14.04 x64

Post by UbuntuXP »

I think the problem is in the cpu emulator itself, so someone needs to fix/replace that.
"Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."

Doug Gwyn
uyjulian
Apple Corer
Posts: 244
Joined: Fri Aug 27, 2010 1:02 am

Re: SheepShaver Issues with Ubuntu 14.04 x64

Post by uyjulian »

Yeah, CPU emulator is from about 2003: http://gwenole.beauchesne.free.fr/kheperix/

I might see if there are more suitable replacements.
User avatar
adespoton
Forum All-Star
Posts: 4274
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: SheepShaver Issues with Ubuntu 14.04 x64

Post by adespoton »

the MESS PowerPC code is also more recent, as is the QEmu PowerPC code.

Dolphin may be the best bet however, although it doesn't capture the exact CPU variant we're dealing with here.
uyjulian
Apple Corer
Posts: 244
Joined: Fri Aug 27, 2010 1:02 am

Re: SheepShaver Issues with Ubuntu 14.04 x64

Post by uyjulian »

adespoton wrote:the MESS PowerPC code is also more recent, as is the QEmu PowerPC code.

Dolphin may be the best bet however, although it doesn't capture the exact CPU variant we're dealing with here.
Yeah, not exactly.
Dolphin somewhat like a G3 with some other features.
uyjulian
Apple Corer
Posts: 244
Joined: Fri Aug 27, 2010 1:02 am

Re: SheepShaver Issues with Ubuntu 14.04 x64

Post by uyjulian »

MESS and Dolphin don't have G4 emulation.
Qemu has G4 emulation but is missing AltiVec.
User avatar
adespoton
Forum All-Star
Posts: 4274
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: SheepShaver Issues with Ubuntu 14.04 x64

Post by adespoton »

More importantly,
What language are they all written in? I haven't looked at the core emulation source for years now.

Maybe my next project will be refreshing the SS/PearPC core emulation based on the others as reference -- which would have me completing it in a decade or so :)
uyjulian
Apple Corer
Posts: 244
Joined: Fri Aug 27, 2010 1:02 am

Re: SheepShaver Issues with Ubuntu 14.04 x64

Post by uyjulian »

adespoton wrote:More importantly,
What language are they all written in? I haven't looked at the core emulation source for years now.

Maybe my next project will be refreshing the SS/PearPC core emulation based on the others as reference -- which would have me completing it in a decade or so :)
All of the sources of the three emulators are written in C(++).
User avatar
UbuntuXP
Tinkerer
Posts: 68
Joined: Sat Feb 08, 2014 8:15 pm

Re: SheepShaver Issues with Ubuntu 14.04 x64

Post by UbuntuXP »

I figured out something, both SheepShaver and Basilisk II will not work with more than 8mb ram at all. It works fine with 8mb, but if I set it to 16, it crashes.
"Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."

Doug Gwyn
User avatar
UbuntuXP
Tinkerer
Posts: 68
Joined: Sat Feb 08, 2014 8:15 pm

Re: SheepShaver Issues with Ubuntu 14.04 x64

Post by UbuntuXP »

I can confirm that Basilisk II can't run with more than 10mb ram. I don't know about SheepShaver. I'll try again next week.
"Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."

Doug Gwyn
User avatar
adespoton
Forum All-Star
Posts: 4274
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: SheepShaver Issues with Ubuntu 14.04 x64

Post by adespoton »

Back in the day, my Mac wouldn't address more than 10MB of RAM anyway... even though it required 12MB RAM installed to address 10MB. Of course, it was able to use Virtual Memory too.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7831
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: SheepShaver Issues with Ubuntu 14.04 x64

Post by Ronald P. Regensburg »

UbuntuXP wrote:I can confirm that Basilisk II can't run with more than 10mb ram.
It must be an issue that is specific for the Linux version and/or your specific (Ubuntu x64) host system.

On OSX I run BasiliskII with 256MB RAM and SheepShaver with 512MB RAM.
User avatar
UbuntuXP
Tinkerer
Posts: 68
Joined: Sat Feb 08, 2014 8:15 pm

Re: SheepShaver Issues with Ubuntu 14.04 x64

Post by UbuntuXP »

I think it's how it compile, because builds for previous versions of linux will work.
"Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."

Doug Gwyn
Post Reply