Re: [Simh] Initializing disks under RT11

2011-12-21 Thread Ken Hall
Nope, still getting size function failed.

[ken@raptor Disks]$ dd if=/dev/zero bs=1024 count=5120 of=rt11dat.dsk
5120+0 records in
5120+0 records out
5242880 bytes (5.2 MB) copied, 0.0115284 s, 455 MB/s
[ken@raptor Disks]$ pdp11 rt11.cmd 

PDP-11 simulator V3.6-1
Create bad block table on last track? [N] 

RT-11FB  V05.03  

.   
initialize/noquery dl2:
?DUP-F-Size function failed

It does work for RK05 though.


-Original Message-
From: Jacob Goense [mailto:d...@xs4all.nl] 
Sent: Tuesday, December 20, 2011 20:31
To: Jacob Goense
Cc: Jacob Goense; Ken Hall; simh@trailing-edge.com
Subject: Re: [Simh] Initializing disks under RT11

 Anyone know how to initialize a disk under RT-11 with simh?

 I can format and initialize RK05 images, but INITIALIZE fails on 
 RL01 with ?DUP-F-Size function failed.

 Assuming
 [snip previous reply after misreading]

 Here is for the RL01.
[snip previous reply after still misreading]

Ok, that was for the RL02, sorry for again not getting your question right.
Anyway, the answer for the RL01/RL02 disks is, mind the badblocks track.

root@mercury:/museum/fuzzball/a# dd if=/dev/zero bs=1024 count=5120
of=rl01.dsk
5120+0 records in
5120+0 records out
5242880 bytes (5.2 MB) copied, 0.0623074 s, 84.1 MB/s
root@mercury:/museum/fuzzball/a# cat 1.ini set ptr dis set ptp dis set lpt
enabled set dz DISABLED set RK dis set HK dis set rx dis set rp dis set tm
dis set tq dis set xq dis

set tti 8b
set tto 8b
set cpu 11/73 512K
attach LPT lpt.txt
set rl1 writeenabled
set rl1 rl01
attach rl1 rl01.dsk
set rl0 writeenabled
set rl0 rl02
attach rl0 rl0.dsk
set rl0 badblock
set rl1 badblock
boot rl0
root@mercury:/museum/fuzzball/a# pdp11 1.ini

PDP-11 simulator V3.8-1
Disabling CR
Overwrite last track? [N] Y
Overwrite last track? [N] Y

RT-11FB  V05.03

.INITIALIZE/NOQUERY DL1:

.DIR DL1:


 0 Files, 0 Blocks
 10172 Free blocks

.

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


Re: [Simh] Initializing disks under RT11

2011-12-21 Thread Jacob Goense
 Nope, still getting size function failed.

 [ken@raptor Disks]$ dd if=/dev/zero bs=1024 count=5120 of=rt11dat.dsk
 5120+0 records in
 5120+0 records out
 5242880 bytes (5.2 MB) copied, 0.0115284 s, 455 MB/s
 [ken@raptor Disks]$ pdp11 rt11.cmd

 PDP-11 simulator V3.6-1
 Create bad block table on last track? [N]

What if you give a Y the first time Simh asks if
it can write on the last track?


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


Re: [Simh] Initializing disks under RT11

2011-12-21 Thread Kenneth Hall
Same thing.  I'm a bit puzzled why it keeps asking me that anyway.  It
should only ask me the first time.



On Wed, Dec 21, 2011 at 8:34 AM, Jacob Goense d...@xs4all.nl wrote:

  Nope, still getting size function failed.
 
  [ken@raptor Disks]$ dd if=/dev/zero bs=1024 count=5120 of=rt11dat.dsk
  5120+0 records in
  5120+0 records out
  5242880 bytes (5.2 MB) copied, 0.0115284 s, 455 MB/s
  [ken@raptor Disks]$ pdp11 rt11.cmd
 
  PDP-11 simulator V3.6-1
  Create bad block table on last track? [N]

 What if you give a Y the first time Simh asks if
 it can write on the last track?



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

Re: [Simh] Initializing disks under RT11 (Ken Hall)

2011-12-21 Thread Bob Supnik
I just tried this under both RT v4 and v5.3, and it works fine on a 
stock release.


However, if you either (a) fail to write the bad block table or (b) 
attach an RL01-sized file to a drive that's declared to be an RL02, 
rather than AUTOSIZE, RT will get very confused, and the INIT will fail.


/Bob

On 12/21/2011 12:00 PM, simh-requ...@trailing-edge.com wrote:

Initializing disks under RT11 (Ken Hall)

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


Re: [Simh] Initializing disks under RT11 (Ken Hall)

2011-12-21 Thread Ken Hall
I'm just letting the emulator create the file.  I have three defined in the
cmd file, DL0-DL2.  Disks that are already initialized (DL0 and DL1) are
fine, but if I delete DL2 and let the emulator recreate it, I get these
errors.  So far the only way I've been able to create a working disk image
is to copy an existing one, and remove all the files.

Bob, is there anything special in your startup cmd file for the disks?  This
is what I have:

[ken@raptor Disks]$ cat rt11.cmd 
ATTACH RL0 rt11run.dsk
ATTACH RL1 rtv53_rl.dsk
ATTACH RL2 rt11dat.dsk
SET RL2 BADBLOCK
BOOT RL0

RL2 is the one I'm trying to initialize.


-Original Message-
From: simh-boun...@trailing-edge.com [mailto:simh-boun...@trailing-edge.com]
On Behalf Of Bob Supnik
Sent: Wednesday, December 21, 2011 12:51
To: simh@trailing-edge.com
Subject: Re: [Simh] Initializing disks under RT11 (Ken Hall)

I just tried this under both RT v4 and v5.3, and it works fine on a stock
release.

However, if you either (a) fail to write the bad block table or (b) attach
an RL01-sized file to a drive that's declared to be an RL02, rather than
AUTOSIZE, RT will get very confused, and the INIT will fail.

/Bob

On 12/21/2011 12:00 PM, simh-requ...@trailing-edge.com wrote:
 Initializing disks under RT11 (Ken Hall)
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

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


Re: [Simh] Initializing disks under RT11 (Ken Hall)

2011-12-21 Thread Bob Supnik
Ok... I have it.  The stock systems have only two RL units (see the 
RT5.0 Installation Guide).  So when you try to init units 2 or 3, the 
requests go to unit 0 and fail.  (RT11 could give better error messages, 
but it doesn't.)  This code snippet from the distributed sources 
confirms it:


.IIF NDF DL$UN, DL$UN   == 2
.IIF GT DL$UN-4, DL$UN  == 4
.IIF LE DL$UN,  DL$UN   == 1
.IRPX,\DL$UN
.SBTTL  *** THIS HANDLER SUPPORTS X UNITS ***
.ENDR

You need to generate a custom system to get 4 units.

/Bob

On 12/21/2011 1:10 PM, Ken Hall wrote:

I'm just letting the emulator create the file.  I have three defined in the
cmd file, DL0-DL2.  Disks that are already initialized (DL0 and DL1) are
fine, but if I delete DL2 and let the emulator recreate it, I get these
errors.  So far the only way I've been able to create a working disk image
is to copy an existing one, and remove all the files.

Bob, is there anything special in your startup cmd file for the disks?  This
is what I have:

[ken@raptor Disks]$ cat rt11.cmd
ATTACH RL0 rt11run.dsk
ATTACH RL1 rtv53_rl.dsk
ATTACH RL2 rt11dat.dsk
SET RL2 BADBLOCK
BOOT RL0

RL2 is the one I'm trying to initialize.


-Original Message-
From: simh-boun...@trailing-edge.com [mailto:simh-boun...@trailing-edge.com]
On Behalf Of Bob Supnik
Sent: Wednesday, December 21, 2011 12:51
To: simh@trailing-edge.com
Subject: Re: [Simh] Initializing disks under RT11 (Ken Hall)

I just tried this under both RT v4 and v5.3, and it works fine on a stock
release.

However, if you either (a) fail to write the bad block table or (b) attach
an RL01-sized file to a drive that's declared to be an RL02, rather than
AUTOSIZE, RT will get very confused, and the INIT will fail.

/Bob

On 12/21/2011 12:00 PM, simh-requ...@trailing-edge.com wrote:

Initializing disks under RT11 (Ken Hall)

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



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


[Simh] Initializing disks under RT11

2011-12-20 Thread Ken Hall
Anyone know how to initialize a disk under RT-11 with simh?

I can format and initialize RK05 images, but INITIALIZE fails on RL01 with
?DUP-F-Size function failed.

Thanks.


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


Re: [Simh] Initializing disks under RT11

2011-12-20 Thread Jacob Goense
 Anyone know how to initialize a disk under RT-11 with simh?

 I can format and initialize RK05 images, but INITIALIZE fails on RL01 with
 ?DUP-F-Size function failed.

Assuming
ftp://minnie.tuhs.org/UnixArchive/PDP-11/Distributions/research/Dennis_v6/v6doc.gz
is a RK05 image:

root@mercury:/museum/fuzzball/a# cat 5.ini
set ptr dis
set ptp dis
set lpt enabled
set dz DISABLED
set RK ENABLE
set HK dis
set rx dis
set rp dis
set tm dis
set tq dis
set xq dis
set tti 8b
set tto 8b
set cpu 11/73 128K
set rl0 writeenabled
set rl0 rl02
attach rl0 rl0.dsk
set rl0 badblock
SET RK0 WRITEENABLED
ATTACH RK0 v6root
boot rl0
root@mercury:/museum/fuzzball/a# ls -l v6root
-rw-r--r-- 1 root root 2048000 Dec 20 23:29 v6root
root@mercury:/museum/fuzzball/a# pdp11 5.ini

PDP-11 simulator V3.8-1
Disabling CR
Overwrite last track? [N]

RT-11FB  V05.03

.INITIALIZE/NOQUERY RK:

.DIR RK:


 0 Files, 0 Blocks
 4762 Free blocks

.


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


Re: [Simh] Initializing disks under RT11

2011-12-20 Thread Jacob Goense
 Anyone know how to initialize a disk under RT-11 with simh?

 I can format and initialize RK05 images, but INITIALIZE fails on RL01
 with
 ?DUP-F-Size function failed.

 Assuming
[snip previous reply after misreading]

Here is for the RL01.

root@mercury:/museum/fuzzball/a# dd if=/dev/zero of=rl1.dsk bs=1024
count=10230
10230+0 records in
10230+0 records out
10475520 bytes (10 MB) copied, 0.133831 s, 78.3 MB/s
root@mercury:/museum/fuzzball/a# ls -l rl1.dsk
-rw--- 1 root root 10475520 Dec 21 00:00 rl1.dsk
root@mercury:/museum/fuzzball/a# cat 01.ini
set ptr dis
set ptp dis
set lpt enabled
set dz DISABLED
set RK dis
set HK dis
set rx dis
set rp dis
set tm dis
set tq dis
set xq dis

set tti 8b
set tto 8b
set cpu 11/73 512K
attach LPT lpt.txt
set rl1 writeenabled
set rl1 rl02
attach rl1 rl1.dsk
set rl0 writeenabled
set rl0 rl02
attach rl0 rl0.dsk
set rl0 badblock
set rl1 badblock
boot rl0
root@mercury:/museum/fuzzball/a# pdp11 01.ini

PDP-11 simulator V3.8-1
Disabling CR
Overwrite last track? [N] Y
Overwrite last track? [N] Y

RT-11FB  V05.03

.INITIALIZE/NOQUERY DL1:

.DIR DL1:


 0 Files, 0 Blocks
 20382 Free blocks

. [CTRL-E]
Simulation stopped, PC: 152656 (BEQ 152676)
sim quit
Goodbye
root@mercury:/museum/fuzzball/a# ls -l rl1.dsk
-rw--- 1 root root 10478080 Dec 21 00:00 rl1.dsk



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


Re: [Simh] Initializing disks under RT11

2011-12-20 Thread Jacob Goense
 Anyone know how to initialize a disk under RT-11 with simh?

 I can format and initialize RK05 images, but INITIALIZE fails on RL01
 with
 ?DUP-F-Size function failed.

 Assuming
 [snip previous reply after misreading]

 Here is for the RL01.
[snip previous reply after still misreading]

Ok, that was for the RL02, sorry for again not getting your question
right. Anyway, the answer for the RL01/RL02 disks is, mind the badblocks
track.

root@mercury:/museum/fuzzball/a# dd if=/dev/zero bs=1024 count=5120
of=rl01.dsk
5120+0 records in
5120+0 records out
5242880 bytes (5.2 MB) copied, 0.0623074 s, 84.1 MB/s
root@mercury:/museum/fuzzball/a# cat 1.ini
set ptr dis
set ptp dis
set lpt enabled
set dz DISABLED
set RK dis
set HK dis
set rx dis
set rp dis
set tm dis
set tq dis
set xq dis

set tti 8b
set tto 8b
set cpu 11/73 512K
attach LPT lpt.txt
set rl1 writeenabled
set rl1 rl01
attach rl1 rl01.dsk
set rl0 writeenabled
set rl0 rl02
attach rl0 rl0.dsk
set rl0 badblock
set rl1 badblock
boot rl0
root@mercury:/museum/fuzzball/a# pdp11 1.ini

PDP-11 simulator V3.8-1
Disabling CR
Overwrite last track? [N] Y
Overwrite last track? [N] Y

RT-11FB  V05.03

.INITIALIZE/NOQUERY DL1:

.DIR DL1:


 0 Files, 0 Blocks
 10172 Free blocks

.

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