<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 7, 2017 at 3:37 PM, Clem Cole <span dir="ltr"><<a href="mailto:clemc@ccc.com" target="_blank">clemc@ccc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif">You need to convert the foo.tar file to a foo.tap before simh's mag tape reader will understand it.</div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​<font color="#0000ff">1.) ​</font></div><font color="#0000ff">gunzip 1bsd.tar.gz<br></font></div><div><font color="#0000ff">2<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​.) </div><span style="text-align:justify">enblock <</span>1bsd.tar<span style="text-align:justify"> ><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​1bsd</div>.tap</span><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​</div> </font></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><font color="#0000ff">​3.) ​i<span style="font-family:arial,sans-serif">n simh:    </span><span style="font-family:arial,sans-serif">att mt0 1bsd.tap</span></font></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><font color="#0000ff">​4.) in unix:  ​ta<span style="font-family:arial,sans-serif">r vxfb /dev/rmt0 ...</span></font></div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="font-family:arial,sans-serif"><br></span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="font-family:arial,sans-serif"><br></span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="font-family:arial,sans-serif"><br></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">If you want to skip that step, attach the foo.tar (or foo.tar.gz) file as a virtual disk.  The open it as a raw device</div></div></blockquote><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><font color="#0000ff">​I should have been more specific, attach the foo.tar file to >>simh<< as a virtuak disk, the under the simulated OS (UNIX) you can open it as a raw device.​</font></div><br></div><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><font color="#0000ff">​i.e.   </font><div class="gmail_default" style="display:inline"><font color="#0000ff">1.) ​</font></div><font color="#0000ff" style="font-family:arial,sans-serif">gunzip 1bsd.tar.gz</font></div><div><span style="color:rgb(0,0,255);font-family:arial,helvetica,sans-serif">​3.) ​i</span><span style="color:rgb(0,0,255)">n simh:    </span><span style="color:rgb(0,0,255)">att <div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​rk3</div> 1bsd.ta<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​r</div></span><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,255)">​4.) ​in unix:  ta</span><span style="color:rgb(0,0,255);font-family:arial,sans-serif">r vxfb /dev/rrk3  ....</span></div><br></div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span class="gmail-m_2647556312741628699gmail-HOEnZb"><font color="#888888"><div style="font-family:arial,helvetica,sans-serif">Clem</div></font></span></div><div class="gmail-m_2647556312741628699gmail-HOEnZb"><div class="gmail-m_2647556312741628699gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 7, 2017 at 2:58 PM, Will Senn <span dir="ltr"><<a href="mailto:will.senn@gmail.com" target="_blank">will.senn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I think I may have asked this a couple of years ago, but I am unable to find the email conversation, so I'll ask it again from a position of experience and greater but still lacking knowledge... here's the background - I am running a v7 instance in simh that I am quite pleased with. However, I saw somewhere where someone was running some additional software on their instance and of course, I just had to have it for my own. Unfortunately, it's not clear how they got the software, where it's from, or how they got it running. There are hints that the stuff came from early bsd. So... I thought I would try getting the bsd source on to my v7 instance to see if I could compile it and play around with it. There's a 1bsd.tar.gz in the tuhs archive. It being a tar file, I figured I could:<br>
<br>
gunzip 1bsd.tar.gz<br>
<br>
in simh:<br>
<br>
att mt0 1bsd.tar<br>
<br>
in v7, which defaults to mt1 for some reason, (not a configured device on my system and isn't created by make tm in /dev):<br>
<br>
tar vxfb /dev/rmt0 1<br>
nboot.ini-13> boot rp0<br>
<br>
Invalid magtape record length, PC: 002400 (MOV 177776,R0)<br>
<br>
or<br>
<br>
tar xv0<br>
<br>
nboot.ini-13> boot rp0<br>
<br>
Invalid magtape record length, PC: 002400 (MOV 177776,R0)<br>
<br>
I don't know why the nboot.ini-13> boot rp0 artifact is appearing (prolly some buffer flush when the sim aborts)... but of more concern is why I can't access the tar. I'm sure it is a gap in my understanding, so I'd appreciate some help.<br>
<br>
Thanks,<br>
<br>
Will<br>
<br>
______________________________<wbr>_________________<br>
Simh mailing list<br>
<a href="mailto:Simh@trailing-edge.com" target="_blank">Simh@trailing-edge.com</a><br>
<a href="http://mailman.trailing-edge.com/mailman/listinfo/simh" rel="noreferrer" target="_blank">http://mailman.trailing-edge.c<wbr>om/mailman/listinfo/simh</a></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>