Emulator "crashing" on "PRU 0 pc 00c3" during format/initialiation

18 views
Skip to first unread message

Convergent MightyFrame

unread,
Dec 18, 2020, 3:19:38 AM12/18/20
to MFM Discuss
OK, so I"m testing out a totally new thing here...The Convergent AWS Turbo.  

(BTW, I was surprised to find CONVERGENT_AWS in your list as a known format.  Did you do that because you knew from a few years ago I was working on this, or did you get that format data from another source that I have yet to find?  Or has another person who used your emulator & worked on one of these?  Scott Baker's NGEN restoration perhaps?)

Anyway, moving on.  I've finally found my first floppy disk that will boot this AWS Beast, and I just tonight got it to finally agree to Initialize the MFM Hard Drive...which is being emulated by your device, of course.

But early on in the Initialize/format process, it crashes.  I tried it twice, and with a few variations, it seems to crash the same way, and just the same time in the process.  Can you shed some light on what might be happening here?  I searched "PRU 0 pc" multiple ways hoping to get a hit on that as an error code, and it turned up nothing relating to this emulator device.

Here's the terminal screen dump of the time of the crash, (or is it a halt?) and several lines before it:

Incident 1:

select 3 head 1
select 3 head 0
select 3 head 1
select 3 head 0
  Drive 0 Cyl 410->408 select 3, head 1 dirty 1
Free buffers 74,0 delay 0.000
  Waiting, seek time 8.6 ms max 3060.1 min free buffers 74
  Waiting, seek time 7.8 ms max 3060.1 min free buffers 74
select 3 head 3
select 3 head 1
select 3 head 0
glitch count 8
  Drive 0 Cyl 408->0 select 3, head 0 dirty 0
  Waiting, seek time 3.1 ms max 3060.1 min free buffers 74
  Waiting, seek time 1.0 ms max 3060.1 min free buffers 74
select 3 head 3
PRU 0 pc 00c3
00: 0030d784 00000190 0000001e 00000002 00000f00 00140027 a82675f1 9d653f85
08: 08000000 02000000 00000000 00317720 00321360 23299302 f54ab0e1 051c4668
16: 085286c4 0002200c 0000becf 00000000 00000000 52601fb2 00000010 9f600000
24: 0032de80 00000000 000ebb7c 00000000 00000014 000000ac 5a72ed1e 400040c0

0000: 9f600000 000fffff 4a300000 00000000 00000000 00000000 00000000 00000000
0020: 099d1111 9a4ea62c 492987e5 28de362f 000000ff 00000000 00000000 00000f00
0040: 00000008 d729ef4d 00000003 00000c00 00032e95 00000334 ae90c7d7 00000006
0060: 00000000 00000000 00000000 00000000 00000000 00000010 00000000 00000800
0080: 00000000 00000000 00000000 00000014 00000027 00317720 00321360 0032de80
00a0: 1bb27b01 00000000 00000000 00000c00 00aeff20 09e53c7c 503b61fe 411f734d
00c0: 3d314116 1109f2c6 9e3d51a0 8f58e387 9269edb8 2c87230b 6323dcad c3b2cb08
00e0: 0000becf 000ee83f 0030d740 2680bd81 0032de76 0030d784 0000bc93 56b96da8

0400: aa5526d6 d96dd197 a31de8db 877a3dda faa76cdd 34cbd2cc 0a7aaa7a c0129f91
0420: 82440b55 e35bdb02 2ab5b8c3 926b29d4 fdee164f 8a633f4d 9968c54d fa594abf
0440: 2c77925e 9e977f47 5ae9d123 19a5acdd 670f5e5a 2faa2f3d 12ac390c 28b32a4d
0460: b17f6c23 6c24d7c7 10c4afbf b154a363 bdf46f71 02e9a9a6 d87fce9c 201b1c2c

PRU 1 pc 0155
00: 0030d9fc 0000026c 00014284 00000400 0000138a 0002200c 00000013 20c10005
08: 08000000 02000000 00014254 000000cf 6e0189bb 0000044c ffffffff 00000000
16: b9e3aa60 00005164 0000becf 0134013e 00000000 001f141e 0000f45c 9f600000
24: 00000004 4804c194 00010000 0002714c 0030d9fc 00028b20 8f867976 40000000

0000: 9f600000 000fffff 4a302000 00000000 00000000 00000000 00000000 00000000
0020: f4473a10 03941814 b03dc6b0 13049b72 0000000f 00000000 00000000 96ac3a13
0040: d6ca4221 d56add98 5471d983 258efa81 0000000c 0b7ff861 00005164 b8ceab32
0060: 0ccccccd 0000001e 00000014 00000007 00000400 00014288 d4604298 0a913f6c
0080: 02000027 0300003b 02000027 02000027 02000027 0300003b 02000027 02000027
00a0: 02140027 0314003b 02140027 02140027 02140027 0314003b 02140027 02140027
00c0: 7505d18d 1e726ec6 54b995c0 01bea562 00010014 9f614248 2bb9d0e5 18db7226
00e0: 0030bc28 0030941e 0030bc5e 000eb5d3 0030d6ab 000eb5f3 000ee804 000eb40a

0400: 55555555 55555555 55555555 55555555 55555555 55555555 55555555 55555555
0420: 55555555 55555555 55555555 55555555 55555555 55555555 55555555 55555555
0440: 55555555 55555555 55555555 55555555 55555555 55555555 55555555 55555555
0460: 55555555 55555555 55555555 55555555 55555555 55555555 55555555 55555555

0000: 00000000 00000028 00000028 00000029 00000028 00000028 00000028 00000028
0020: 00000028 00000028 00000028 00000028 00000028 00000028 00000028 00000028
0040: 00000028 00000029 00000028 00000028 00000028 00000028 00000028 00000028
0060: 00000028 00000028 00000028 00000028 00000028 00000028 00000028 00000028

root@beaglebone:~/emu#

Incident 2:

select 3 head 1
select 3 head 0
select 3 head 1
select 3 head 0
  Drive 0 Cyl 410->408 select 3, head 1 dirty 1
Free buffers 74,0 delay 0.000
  Waiting, seek time 3.9 ms max 15.4 min free buffers 74
  Waiting, seek time 8.2 ms max 15.4 min free buffers 74
select 3 head 3
select 3 head 1
select 3 head 0
glitch count 8
  Drive 0 Cyl 408->0 select 3, head 0 dirty 0
  Waiting, seek time 3.1 ms max 15.4 min free buffers 74
  Waiting, seek time 1.1 ms max 15.4 min free buffers 74
select 3 head 1
PRU 0 pc 00c3
00: 0030d63b 00000190 0000001e 00000002 00000f00 00140027 a82675f1 9d653f85
08: 08000028 02000000 00000000 00317720 00321360 23299302 f54ab0e1 051c4668
16: 085286c4 0002200c 0000c4be 00000000 00000000 52601fb2 00000010 9f600000
24: 0032de80 00000000 000f3250 00000000 00000014 000000ac 5a72ed1e 400040c0

0000: 9f600000 000fffff 4a300000 00000000 00000000 00000000 00000000 00000000
0020: 099d1111 9a4ea62c 492987e5 28de362f 000000ff 00000000 00000000 00000f00
0040: 00000008 d729ef4d 00000001 00000e00 00033642 00000334 ae90c7d7 00000006
0060: 00000000 00000000 00000000 00000000 00000000 00000010 00000000 00000800
0080: 00000000 00000000 00000000 00000014 00000027 00317720 00321360 0032de80
00a0: 1bb27b01 00000000 00000000 00000e00 00aeff20 09e53c7c 503b61fe 411f734d
00c0: 3d314116 1109f2c6 9e3d51a0 8f58e387 9269edb8 2c87230b 6323dcad c3b2cb08
00e0: 0000c4be 000f5ede 0030d5f7 2680bd81 0032de72 0030d63b 0000c284 56b96da8

0400: aa5526d6 d96dd197 a31de8db 877a3dda faa76cdd 34cbd2cc 0a7aaa7a c0129f91
0420: 82440b55 e35bdb02 2ab5b8c3 926b29d4 fdee164f 8a633f4d 9968c54d fa594abf
0440: 2c77925e 9e977f47 5ae9d123 19a5acdd 670f5e5a 2faa2f3d 12ac390c 28b32a4d
0460: b17f6c23 6c24d7c7 10c4afbf b154a363 bdf46f71 02e9a9a6 d87fce9c 201b1c2c

PRU 1 pc 0155
00: 0030d8b3 0000026c 00009fa0 00000400 00001389 0002200c 00000004 20c10005
08: 08000028 02000000 00009f74 000000d0 6e0189bb 0000040c ffffffff 00000000
16: b9e3aa60 00005164 0000c4be 0134013e 00000000 001f141e 0000517c 9f600000
24: 00000008 4804c194 00010000 0002713c 0030d8b3 00028b20 8f867976 40000000

0000: 9f600000 000fffff 4a302000 00000000 00000000 00000000 00000000 00000000
0020: f4473a10 03941814 b03dc6b0 13049b72 00000003 00000000 00000000 96ac3a13
0040: d6ca4221 d56add98 5471d983 258efa81 0000000c 0b7ff861 00005164 b8ceab32
0060: 0ccccccd 0000001e 00000014 00000007 00000440 00009fa8 d4604298 0a913f6c
0080: 02000027 0300003b 02000027 02000027 02000027 0300003b 02000027 02000027
00a0: 02140027 0314003b 02140027 02140027 02140027 0314003b 02140027 02140027
00c0: 7505d18d 1e726ec6 54b995c0 01bea562 00010014 9f609f68 2bb9d0e5 18db7226
00e0: 0030bc05 003093fb 0030bc3b 000f2c9c 0030d673 000f2cbc 000f5ed4 000f2ad3

0400: 55555555 55555555 55555555 55555555 55555555 55555555 55555555 55555555
0420: 55555555 55555555 55555555 55555555 55555555 55555555 55555555 55555555
0440: 55555555 55555555 55555555 55555555 55555555 55555555 55555555 55555555
0460: 55555555 55555555 55555555 55555555 55555555 55555555 55555555 55555555

0000: 00000028 00000028 00000028 00000028 00000028 00000028 00000028 00000028
0020: 00000028 00000028 00000000 00000028 00000028 00000028 00000028 00000028
0040: 00000028 00000028 00000028 00000028 00000028 00000028 00000028 00000028
0060: 00000028 00000028 00000028 00000028 00000028 00000028 00000028 00000029

root@beaglebone:~/emu#
 
Thanks again for all your help and making this device possible!
Best,
AJ

David Gesswein

unread,
Dec 18, 2020, 9:37:00 PM12/18/20
to mfm-d...@googlegroups.com
On Fri, Dec 18, 2020 at 12:19:37AM -0800, Convergent MightyFrame wrote:
>
> (BTW, I was surprised to find CONVERGENT_AWS in your list as a known
> format. Did you do that because you knew from a few years ago I was
> working on this, or did you get that format data from another source that I
> have yet to find?

Comments in the code
http://mightyframe.blogspot.com/2017/03/convergent-technologies-workstation.html

I did get an image of an 8" Quantum 2040 drive that had the same sector
format. Has CTOS on it.


> Here's the terminal screen dump of the time of the crash, (or is it a
> halt?) and several lines before it:
>
Its an intentional crash. There are a number of consistency checks in the
code that if fail it dumps state and exits.


> PRU 1 pc 0155
>

This is the real trigger. After a write is finished it need to switch
back to outputting data. There is a mismatch between the data it has
buffered and the rotation timer. Doesn't look like timing information to
know why this is happening is captured. I'll need to think about what
additional information I need to capture and send you code to test. Both
dumps are the same cause.

Reply all
Reply to author
Forward
0 new messages