NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-mac68k/52237: Trying to install NetBSD/mac68k on Basilisk II crashes it.



>Number:         52237
>Category:       port-mac68k
>Synopsis:       Trying to install NetBSD/mac68k on Basilisk II crashes it.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-mac68k-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 17 03:10:00 +0000 2017
>Originator:     Utkarsh Anand
>Release:        7.99.71
>Organization:
>Environment:
>Description:
I built the mac68k NetBSD port from source (version 7.99.71) using the git repository: https://github.com/jsonn/src.git
When I tried to boot from the BSD/mac68k booter, it crashed. Here's a screenshot of the emulator, moments before it crashed: https://drive.google.com/open?id=0B1M0oDUwRDEidkZKVkRod2ZxUFE

Here's the terminal output (from which I launched Basilisk II):

Caught SIGSEGV at address 0x60f01c00 [IP=0x780921c4]
D0: 00000001 D1: 00000000 D2: 00000001 D3: 00007a50 
D4: 80040f19 D5: 0bf10000 D6: 00000000 D7: 00000000 
A0: 00000000 A1: 00233220 A2: 00000000 A3: 00000040 
A4: 01800200 A5: 0bd887e8 A6: 002322be A7: 002322ba 
USP=00000000 ISP=002322ba MSP=00000000 VBR=00000000
T=00 S=1 M=0 X=0 N=0 Z=0 V=0 C=0 IMASK=7
FP0: nan FP1: nan FP2: nan FP3: nan 
FP4: nan FP5: nan FP6: nan FP7: nan 
N=0 Z=0 I=0 NAN=0
0001d43c: 13fc 007f 50f0 1c00 13fc MOVE.B #$7f,$50f01c00
next PC: 0001d444
>How-To-Repeat:
To repeat it, please install Basillisk II. Here's a link to the official site: https://basilisk.cebix.net/
Here are the instructions:

$ git clone https://github.com/cebix/macemu.git
After downloading and setting up the repository you can, for example, try to compile the Unix version of Basilisk II:

$ cd macemu/BasiliskII/src/Unix
$ ./autogen.sh
$ make

After that, for emulating Mac II si, you can use the system 7.0 disk image from here: http://www.emaculation.com/System70_boot.zip
Or, You can use system 7.5.3, whichever you like. 
If, you're using Basilisk GUI on linux, Mac OS X or Windows (I use CLI), you can find the relevant instructions here: http://www.emaculation.com/doku.php/basiliskii_linux_setup
http://www.emaculation.com/doku.php/basiliskii_osx_setup
http://www.emaculation.com/doku.php/basilisk_ii_setup

I downloaded the ROMs from: https://ia802503.us.archive.org/14/items/mac_rom_archive_-_as_of_8-19-2011/mac_rom_archive_-_as_of_8-19-2011.zip

After you're done setting it up, you can launch it using CLI (replace the PATHs relative to your own system):

BasiliskII --disk /extra/System70_boot.dsk --rom /extra/macrom/36B7FB6C\ -\ Mac\ IIsi.ROM --ramsize 200000000 --disk /extra/mac68k.img --cdrom /extra/mac68k/releasedir/images/NetBSD-7.99.71-mac68k.iso --cpu 3

(Warning: using --modelid option for this particular model will result in a non bootable machine, you'll get stuck at the boot screen.)

After that, for installing NetBSD you can follow the instructions from:
http://ftp.netbsd.org/pub/NetBSD/NetBSD-7.1/mac68k/INSTALL.html#Installing the NetBSD System (Sysinst Method)

>Fix:



Home | Main Index | Thread Index | Old Index