SheepShaver 2.3 (Fedora repositories) on Fedora 21

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
mmulin
Space Cadet
Posts: 1
Joined: Wed Mar 25, 2015 7:34 am

SheepShaver 2.3 (Fedora repositories) on Fedora 21

Post by mmulin »

Hi,

When trying to start the VM within SheepShaver it crashes immediately. Here the log before the traceback:

Code: Select all

[~]$ SheepShaver 
SheepShaver V2.4 by Christian Bauer and Mar"c" Hellwig
Reading ROM file...
WARNING: Cannot open /dev/cdrom (No such file or directory)
Using SDL/pulse audio output
Detected CPU features: MMX SSE SSE2 SSE3 SSSE3
PowerPC CPU emulator by Gwenole Beauchesne
SIGSEGV
  pc 0x101b41b3
  ea 0xfffffffff2caeffb
 r0 00000000   r1 68ffe000   r2 00000000   r3 00000000
 r4 00000000   r5 00000000   r6 00000000   r7 00800000
 r8 68ffe978   r9 40b0d348  r10 40c6e740  r11 0000d032
r12 00000000  r13 00000000  r14 00000000  r15 00001012
r16 00000000  r17 ffffffff  r18 00000000  r19 bebc2000
r20 627631e3  r21 00000018  r22 fffffffd  r23 00000008
r24 ac433f5f  r25 40b10000  r26 40b0d000  r27 68fff000
r28 00000000  r29 68ffe5e0  r30 0000ffff  r31 04000f7b
 f0 0.00000   f1 0.00000   f2 0.00000   f3 0.00000
 f4 0.00000   f5 0.00000   f6 0.00000   f7 0.00000
 f8 0.00000   f9 0.00000  f10 0.00000  f11 0.00000
f12 0.00000  f13 0.00000  f14 0.00000  f15 0.00000
f16 0.00000  f17 0.00000  f18 0.00000  f19 0.00000
f20 0.00000  f21 0.00000  f22 0.00000  f23 0.00000
f24 0.00000  f25 0.00000  f26 0.00000  f27 0.00000
f28 0.00000  f29 0.00000  f30 0.00000  f31 0.00000
 lr 40b142dc  ctr 00000000   cr 88800088  xer e000007f
 pc 40b142dc fpscr 00000000
  0x40b142bc:  bl      0x40b121b4
  0x40b142c0:  lwz     r27,1584(r1)
  0x40b142c4:  lwz     r27,160(r27)
  0x40b142c8:  bl      0x40b121b4
  0x40b142cc:  lwz     r27,1584(r1)
  0x40b142d0:  lwz     r27,164(r27)
  0x40b142d4:  bl      0x40b121b4
  0x40b142d8:  bl      0x40b131e8
 >0x40b142dc:  mtxer   r17
  0x40b142e0:  lmw     r14,56(r1)
  0x40b142e4:  lwz     r3,1588(r1)
  0x40b142e8:  lwz     r4,4508(r1)
  0x40b142ec:  lwz     r0,4484(r1)
  0x40b142f0:  mtctr   r0
  0x40b142f4:  bctr
  0x40b142f8:  nop
  0x40b142fc:  nop
*** buffer overflow detected ***: SheepShaver terminated
If more information is need, I will provide.
Faab
Space Cadet
Posts: 2
Joined: Mon May 04, 2015 12:22 pm

Re: SheepShaver 2.3 (Fedora repositories) on Fedora 21

Post by Faab »

Hello I have a similar issue on Ubuntu 14.04, with SheepShaver I have complied according to the following web help:
http://ubuntuforums.org/showthread.php?t=670336

and the modification for the window size mentioned in

http://www.emaculation.com/doku.php/com ... r_basilisk

When I run SheepShaver "Start" I get the error message: "No audio device found, audio output will be disabled" then it crashes the following is displayed in the console:
SheepShaver V2.4 by Christian Bauer and Mar"c" Hellwig
Reading ROM file...
WARNING: Cannot open /dev/mixer (No such file or directory)
WARNING: Cannot open /dev/dsp (No such file or directory)
WARNING: Cannot open ESD connection
Detected CPU features: MMX SSE SSE2 SSE3 SSSE3
PowerPC CPU emulator by Gwenole Beauchesne
SIGSEGV
pc 0x10086193
ea 0xfffffffff2caeffb
r0 00000000 r1 68ffe000 r2 00000000 r3 00000000
r4 00000000 r5 00000000 r6 00000000 r7 00800000
r8 68ffe978 r9 40b0d348 r10 40c6e740 r11 0000d032
r12 00000000 r13 00000000 r14 00000000 r15 00001012
r16 00000000 r17 ffffffff r18 00000000 r19 bebc2000
r20 627631e3 r21 00000018 r22 fffffffd r23 00000008
r24 ac433f5f r25 40b10000 r26 40b0d000 r27 68fff000
r28 00000000 r29 68ffe5e0 r30 0000ffff r31 04000f7b
f0 0.00000 f1 0.00000 f2 0.00000 f3 0.00000
f4 0.00000 f5 0.00000 f6 0.00000 f7 0.00000
f8 0.00000 f9 0.00000 f10 0.00000 f11 0.00000
f12 0.00000 f13 0.00000 f14 0.00000 f15 0.00000
f16 0.00000 f17 0.00000 f18 0.00000 f19 0.00000
f20 0.00000 f21 0.00000 f22 0.00000 f23 0.00000
f24 0.00000 f25 0.00000 f26 0.00000 f27 0.00000
f28 0.00000 f29 0.00000 f30 0.00000 f31 0.00000
lr 40b142dc ctr 00000000 cr 88800088 xer e000007f
pc 40b142dc fpscr 00000000
0x40b142bc: bl 0x40b121b4
0x40b142c0: lwz r27,1584(r1)
0x40b142c4: lwz r27,160(r27)
0x40b142c8: bl 0x40b121b4
0x40b142cc: lwz r27,1584(r1)
0x40b142d0: lwz r27,164(r27)
0x40b142d4: bl 0x40b121b4
0x40b142d8: bl 0x40b131e8
>0x40b142dc: mtxer r17
0x40b142e0: lmw r14,56(r1)
0x40b142e4: lwz r3,1588(r1)
0x40b142e8: lwz r4,4508(r1)
0x40b142ec: lwz r0,4484(r1)
0x40b142f0: mtctr r0
0x40b142f4: bctr
0x40b142f8: nop
0x40b142fc: nop
Any suggestions on how to get it running? Thanks a lot

Faab
kataetheweirdo
Master Emulator
Posts: 313
Joined: Sun Feb 01, 2009 4:55 pm

Re: SheepShaver 2.3 (Fedora repositories) on Fedora 21

Post by kataetheweirdo »

Curious to know what ROM you're using (and how much RAM). Sheepshaver only supports a handful of ROMs, largely because the patches it uses are designed for those. Old World ROMs also work better.

I'd also like to know which version of Mac OS you're trying to run.

Judging by the error report, it crashes at an mtxer instruction. Code-wise, GPR 17 has a value of 0xFFFFFFFF stored and Sheepshaver is trying to store what's in GPR 17 into the XER register. This may result in the XER not being able to handle this case, but I'm not sure what triggers the overflow.
Faab
Space Cadet
Posts: 2
Joined: Mon May 04, 2015 12:22 pm

Re: SheepShaver 2.3 on Fedora 21 - Ubuntu 14.04 LTS

Post by Faab »

kataetheweirdo many thanks for your feedback.

the final goal is to emulate a PPC with OS 9.x

I have got the ROM file and the operating system from

http://www.redundantrobot.com/sheepshaver-tutorial/

There it suggests a new world ROM gives best results with SheepShaver for running OS 9

In SheepShaver I have given a RAM of 512 MB

Pls suggest if I should try another ROM file with Ubuntu SheepShaver.
Post Reply