On 17 February 2016 at 14:48, Michael Huff <mph...@gmail.com> wrote:

> I grabbed simh_master.zip from github yesterday and compiled it on OSX and
> in a virtualbox instance of Linux Mint 17. OSX is the native OS, Linux is
> in a VM.
>
> I have a 43BSD machine accessible to both on a shared drive. It will boot
> normally when I run vax780 inside of the Linux VM, but  when I run the
> vax780 binary I compiled in OSX it crashes.
>
> I'm assuming I should file a bug report on the OSX build? Should I post
> that over at github and what do I need to include in the report?
>
> I realize this is a very noob-ish mail, but I don't want to submit
> something long and involved and find it's entirely irrelevant, so I'm
> asking here first.
>
> if it helps, this is what the crash looks like:
> ---
> Michaels-iMac:43BSD michael$ uname -a
> Darwin Michaels-iMac.local 15.3.0 Darwin Kernel Version 15.3.0: Thu Dec 10
> 18:40:58 PST 2015; root:xnu-3248.30.4~1/RELEASE_X86_64 x86_64
> Michaels-iMac:43BSD michael$ !va
> vax780 boot.ini.default
>
> VAX 11/780 simulator V4.0-0 Beta        git commit id: aadd66c7
> loading ra(0,0)boot
> Boot
> : ra(0,0)vmunix
> 279844+80872+100324 start 0x12f8
>
> Process PTE in P0 or P1 space, PC: 8002B82F (XORW3
> @-7035(R8),@D0FF6436,@-70B0(R1))
> sim> q
> Goodbye
> ---
> When I run that under my linux VM, I get:
> ---
> michael@michael-VirtualBox ~/simh/43BSD $ uname -a
> Linux michael-VirtualBox 3.13.0-24-generic #47-Ubuntu SMP Fri May 2
> 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> michael@michael-VirtualBox ~/simh/43BSD $ vax780 boot.ini.default
>
> VAX 11/780 simulator V4.0-0 Beta        git commit id: aadd66c7
> loading ra(0,0)boot
> Boot
> : ra(0,0)vmunix
> 279844+80872+100324 start 0x12f8
> 4.3 BSD UNIX #1: Fri Jun  6 19:55:29 PDT 1986
>     kar...@monet.berkeley.edu:/usr/src/sys/GENERIC
> real mem  = 8388608
> SYSPTSIZE limits number of buffers to 140
> avail mem = 7187456
> using 140 buffers containing 524288 bytes of memory
> mcr0 at tr1
> mcr1 at tr2
> ---
> and it continues to the login prompt and acts normally.
>
> Thank you for your time and advice.
> -Michael
> _______________________________________________
> Simh mailing list
> Simh@trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh


I can reproduce this on OS X 10.11.3:

 sim> show version
VAX 11/780 simulator V4.0-0 Beta
        Simulator Framework Capabilities:
                64b data
                64b addresses
                Ethernet Packet transports:PCAP:TAP:NAT:UDP
                Idle/Throttling support is available
                Virtual Hard Disk (VHD) support
                Asynchronous I/O support
                FrontPanel API Version 2
        Host Platform:
                Compiler: GCC 4.2.1 Compatible Apple LLVM 7.0.2
(clang-700.1.81)
                Simulator Compiled: Feb 17 2016 at 15:01:37
                Memory Access: Little Endian
                Memory Pointer Size: 64 bits
                Large File (>2GB) support
                SDL Video support: No Video Support
                RegEx support for EXPECT commands
                OS clock resolution: 1ms
                Time taken by msleep(1): 2ms
                OS: Darwin Shibaers-Mini.westell.com 15.3.0 Darwin Kernel
Version 15.3.0: Thu Dec 10 18:40:58 PST 2015;
root:xnu-3248.30.4~1/RELEASE_X86_64 x86_64
        git commit id: aadd66c7

Switching to -O1 instead of -O2 doesn't make a difference.  Switching to
-O0 gives a different error:

VAX 11/780 simulator V4.0-0 Beta        git commit id: aadd66c7
libpcap version 1.5.3 - Apple version 54
Abort trap: 6

I'll see if I can narrow things down a little bit more.  Michael, maybe
it's easiest to open a github issue for this so it can be tracked there?

-Henry
_______________________________________________
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Reply via email to