[Simh] Physical disk access

Mark Pizzolato - Info Comm Mark at infocomm.com
Mon Sep 29 06:09:26 EDT 2014


On Monday, September 29, 2014 at 2:37 AM, Pontus Pihlgren wrote:
> On Mon, Sep 29, 2014 at 02:33:41AM -0700, Mark Pizzolato - Info Comm
> wrote:
> > On Monday, September 29, 2014 at 2:28 AM, Pontus Pihlgren wrote:
> > > Is it possible for SIMH to use a SCSI disk directly under linux?
> > > such as
> > > /dev/sg1 ?
> > >
> > > What I want to accomplish is to install RT-11 under SIMH and then
> > > transfer that installation to a physical PDP-11/73 with a SCSI-controller.
> > >
> > > Does anyone have any experience doing this?
> >
> > The latest codebase at https://github.com/simh/simh/archive/master.zip
> has support for RAW disk device access on Linux.
> 
> Thanks! It will be worth a shot. Does the documentation cover how to do it?

   sim> SET RQn FORMAT=RAW
   sim> ATTACH RQn /dev/sg1

or in one command:

   sim> ATTACH RQn -f RAW /dev/sg1

then:
   sim> SHOW RQn

You will probably need to run as root to gain access to the raw device.  You may be able to set permissions on the device /dev/sg1 to avoid running as root.

- Mark



More information about the Simh mailing list