Partition Manager feedback

General development discussion not covered by a specific forum
User avatar
IanJeffray
Posts: 162
Joined: Mon Jan 18, 2021 1:51 pm

Re: Partition Manager feedback

Post by IanJeffray »

JonAbbott wrote: Wed Jun 28, 2023 7:59 am
IanJeffray wrote: Tue Jun 27, 2023 10:43 pm iX partitions don't show up
IanJeffray wrote: Tue Jun 27, 2023 10:43 pm This now gives "Subscript out of range in FS.SCSIFS at line 266"
Hopefully both are fixed in the build I've just made available.
Sadly I still get the subscript error at 266
And I doublechecked it's the 28th June version of version 0.99 I'm running.

Hacking MaxDrives% again does let it run - I see the iX partitions now, so that's fixed, but I then still see the oakSCSI drives multiple times repeated.

One of the iX images shows no iX partitions tho - will need to check that at some point as I did have an issue with one.
JonAbbott
Posts: 2978
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Re: Partition Manager feedback

Post by JonAbbott »

IanJeffray wrote: Wed Jun 28, 2023 12:03 pm Sadly I still get the subscript error at 266
Please try the build I've just made available
IanJeffray wrote: Wed Jun 28, 2023 12:03 pm One of the iX images shows no iX partitions tho - will need to check that at some point as I did have an issue with one.
See what the debug log says. Search for "RISC iX is supported" and see what it says the type is. If it's 1 or 2, there will be additional info directly below.
User avatar
IanJeffray
Posts: 162
Joined: Mon Jan 18, 2021 1:51 pm

Re: Partition Manager feedback

Post by IanJeffray »

JonAbbott wrote: Wed Jun 28, 2023 12:43 pm
IanJeffray wrote: Wed Jun 28, 2023 12:03 pm Sadly I still get the subscript error at 266
Please try the build I've just made available
No errors now, but ZIDEFS drives have now gone completely missing from the display.
The Oak drives each still appears four times, too.

ZIDEFS debug looks kinda messed up... "Potentially 1 drives" ... and then "read_bytes_SCSIFS" - SCSIFS?

Code: Select all

PartMgr v0.99 28/06/23 DEBUG
OS Version=311
FileCore Version=241
FileSwitch Version=208
ADFS found
CDFS found
SCSIFS found
ZIDEFS found
BASIC END=4A7A0

read_drives
===========

SCSIFS
------
SCSI 0:0 found, reported as type &0
SCSI_Op &1000000,16,[&9E,&00,&40],..,&40
SCSI_Op failed
Physical drive is SCSI 0:0
Model      =BlueSCSI HARDDRIVE        
LBA Size   =512
Size in LBA=&0000811A7
Removable  =0
SCSI 0:1 found, reported as type &0
SCSI_Op &1000001,16,[&9E,&00,&40],..,&40
SCSI_Op failed
Physical drive is SCSI 0:1
Model      =BlueSCSI HARDDRIVE        
LBA Size   =512
Size in LBA=&00003A088
Removable  =0
SCSI 0:2 found, reported as type &0
SCSI_Op &1000002,16,[&9E,&00,&40],..,&40
SCSI_Op failed
Physical drive is SCSI 0:2
Model      =BlueSCSI HARDDRIVE        
LBA Size   =512
Size in LBA=&00003203F
Removable  =0
SCSI 0:3 found, reported as type &0
SCSI_Op &1000003,16,[&9E,&00,&40],..,&40
SCSI_Op failed
Physical drive is SCSI 0:3
Model      =BlueSCSI HARDDRIVE        
LBA Size   =512
Size in LBA=&00003203F
Removable  =0
SCSI 1:0 found, reported as type &0
SCSI_Op &1000008,16,[&9E,&00,&40],..,&40
SCSI_Op failed
Physical drive is SCSI 1:0
Model      =BlueSCSI HARDDRIVE        
LBA Size   =512
Size in LBA=&0000811A7
Removable  =0
SCSI 1:1 found, reported as type &0
SCSI_Op &1000009,16,[&9E,&00,&40],..,&40
SCSI_Op failed
Physical drive is SCSI 1:1
Model      =BlueSCSI HARDDRIVE        
LBA Size   =512
Size in LBA=&00003A088
Removable  =0
SCSI 1:2 found, reported as type &0
SCSI_Op &100000A,16,[&9E,&00,&40],..,&40
SCSI_Op failed
Physical drive is SCSI 1:2
Model      =BlueSCSI HARDDRIVE        
LBA Size   =512
Size in LBA=&00003203F
Removable  =0
SCSI 1:3 found, reported as type &0
SCSI_Op &100000B,16,[&9E,&00,&40],..,&40
SCSI_Op failed
Physical drive is SCSI 1:3
Model      =BlueSCSI HARDDRIVE        
LBA Size   =512
Size in LBA=&00003203F
Removable  =0
SCSI 2:0 found, reported as type &0
SCSI_Op &1000010,16,[&9E,&00,&40],..,&40
SCSI_Op failed
Physical drive is SCSI 2:0
Model      =BlueSCSI HARDDRIVE        
LBA Size   =512
Size in LBA=&0000811A7
Removable  =0
SCSI 2:1 found, reported as type &0
SCSI_Op &1000011,16,[&9E,&00,&40],..,&40
SCSI_Op failed
Physical drive is SCSI 2:1
Model      =BlueSCSI HARDDRIVE        
LBA Size   =512
Size in LBA=&00003A088
Removable  =0
SCSI 2:2 found, reported as type &0
SCSI_Op &1000012,16,[&9E,&00,&40],..,&40
SCSI_Op failed
Physical drive is SCSI 2:2
Model      =BlueSCSI HARDDRIVE        
LBA Size   =512
Size in LBA=&00003203F
Removable  =0
SCSI 2:3 found, reported as type &0
SCSI_Op &1000013,16,[&9E,&00,&40],..,&40
SCSI_Op failed
Physical drive is SCSI 2:3
Model      =BlueSCSI HARDDRIVE        
LBA Size   =512
Size in LBA=&00003203F
Removable  =0

ZIDEFS
-----
Potentially 1 drives
Drive: 0  Partition: 0
read_bytes_SCSIFS(0,&6,&0,..,&200)
SCSI_Op &1000000,10,[&28,&06,&1],..,&200

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 7D 02 00 0D 0A 00 00 00 10 A1 00 21 02 00 00   ............!...
&000010 : 00 50 23 10 00 00 32 35 30 38 5F 30 38 30 37 00   .P#...2508_0807.
&000020 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 02 EC 01 07   ................

RISC iX is supported on this filesystem (type=2)
                                              ^^ ^^ ^^
Non-ADFS partition found at cylinder &1EC / LBA &1E078 type 2

read_bytes_SCSIFS(0,&1E078,&0,..,&200)
SCSI_Op &1000000,10,[&28,&01E078,&1],..,&200
Address :        0        4        8        C
&000000 : 4A657320 3B875CC0 0001E079 00059100  seJ.\.;y.......
&000010 : 00000001 746F6F52 64656D00 0000003E ....Root.med>...
&000020 : 00000000 0007717A 0000A02C 00000001 ....zq..,.......
&000030 : 746F6F42 64656D00 0000003E 00000000 Boot.med>.......
&000040 : 00000000 00000000 00000000 6E6E753C ............<unn
&000050 : 64656D61 0000003E 00000000 00000000 amed>...........
&000060 : 00000000 00000000 6E6E753C 64656D61 ........<unnamed
&000070 : 0000003E 00000000 00000000 00000000 >...............
&000080 : 00000000 6E6E753C 64656D61 0000003E ....<unnamed>...
&000090 : 00000000 00000000 00000000 00000000 ................
&0000A0 : 6E6E753C 64656D61 0000003E 00000000 <unnamed>.......

  Unix partition 0 - Root
   start cylinder: 123001 / LBA &1E079
             size: 364800 / LBA &59100
  Unix partition 1 - Boot
   start cylinder: 487802 / LBA &7717A
             size: 41004 / LBA &A02C

Full DiscRec is in Zone 8 at LBA &F230
LBA size in bits=4096 Log2=9
Zone spare bits=161
DiscRec size in bits=480
Log2 bytes per map bit=10

read_bytes_SCSIFS(0,&F230,&0,..,&200)
SCSI_Op &1000000,10,[&28,&0F230,&1],..,&200

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 1D 06 82 0A 09 7D 02 00 0D 0A 00 00 00 10 A1 00   ................
&000010 : 21 02 00 00 00 50 23 10 68 00 52 49 53 43 69 58   !....P#.h.RISCiX
&000020 : 61 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00   a   ............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive SCSI::RISCiXa
Matching FileCore disc found as SCSI::4
OS_FSControl 55 failed, trying 49
Free=&000017ED0
OS Size in LBA=&0000811A8
Drive: 1  Partition: 0
read_bytes_SCSIFS(1,&6,&0,..,&200)
SCSI_Op &1000001,10,[&28,&06,&1],..,&200

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 27 04 00 0C 0A 00 00 00 03 6A 00 07 02 00 00   .'........j.....
&000010 : 00 12 41 07 00 00 30 34 30 33 5F 31 39 34 36 00   ..A...0403_1946.
&000020 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 39   ...............9

RISC iX is supported on this filesystem (type=2)
                                              ^^ ^^ ^^
Non-ADFS partition found at cylinder &0 / LBA &0 type 2

read_bytes_SCSIFS(1,&0,&0,..,&200)
SCSI_Op &1000001,10,[&28,&00,&1],..,&200
Address :        0        4        8        C
&000000 : 00000000 00000000 00000000 0003A089 ................
&000010 : 00000000 63736952 003A734F 00000000 ....RiscOs:.....
&000020 : 00000000 00000000 00000000 00000000 ................
&000030 : 00000000 00000000 00000000 00000000 ................
&000040 : 00000000 00000000 00000000 00000000 ................
&000050 : 00000000 00000000 00000000 00000000 ................
&000060 : 00000000 00000000 00000000 00000000 ................
&000070 : 00000000 00000000 00000000 00000000 ................
&000080 : 00000000 00000000 00000000 00000000 ................
&000090 : 00000000 00000000 00000000 00000000 ................
&0000A0 : 00000000 00000000 00000000 00000000 ................

Invalid RISC iX partition table

Full DiscRec is in Zone 1 at LBA &1B6C
LBA size in bits=4096 Log2=9
Zone spare bits=106
DiscRec size in bits=480
Log2 bytes per map bit=10

read_bytes_SCSIFS(1,&1B6C,&0,..,&200)
SCSI_Op &1000001,10,[&28,&01B6C,&1],..,&200

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 52 F9 8D 00 09 27 04 00 0C 0A 00 02 00 03 6A 00   R....'........j.
&000010 : 07 02 00 00 00 12 41 07 0E 00 52 49 53 43 69 58   ......A...RISCiX
&000020 : 31 32 31 20 00 00 00 00 00 00 00 00 00 00 00 00   121 ............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive SCSI::RISCiX121
Matching FileCore disc found as SCSI::5
OS_FSControl 55 failed, trying 49
Free=&0000014E2
OS Size in LBA=&00003A089
Drive: 2  Partition: 0
read_bytes_SCSIFS(2,&6,&0,..,&200)
SCSI_Op &1000002,10,[&28,&06,&1],..,&200

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 21 08 00 0C 0A 00 00 00 03 34 00 07 02 00 00   .!........4.....
&000010 : 00 80 40 06 00 00 31 31 31 32 5F 30 39 33 37 00   ..@...1112_0937.
&000020 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 02 4E 00 B8   .............N..

RISC iX is supported on this filesystem (type=2)
                                              ^^ ^^ ^^
Non-ADFS partition found at cylinder &4E / LBA &5070 type 2

read_bytes_SCSIFS(2,&5070,&0,..,&200)
SCSI_Op &1000002,10,[&28,&05070,&1],..,&200
Address :        0        4        8        C
&000000 : 4A657320 2D099540 00005071 0000A000  seJ@..-qP......
&000010 : 00000001 746F6F52 64656D00 0000003E ....Root.med>...
&000020 : 00000000 0000F072 00008000 00000001 ....r...........
&000030 : 746F6F42 64656D00 0000003E 00000000 Boot.med>.......
&000040 : 00017073 0001AFCC 00000001 6E6E753C sp..........<unn
&000050 : 64656D61 0000003E 00000000 00000000 amed>...........
&000060 : 00000000 00000000 6E6E753C 64656D61 ........<unnamed
&000070 : 0000003E 00000000 00000000 00000000 >...............
&000080 : 00000000 6E6E753C 64656D61 0000003E ....<unnamed>...
&000090 : 00000000 00000000 00000000 00000000 ................
&0000A0 : 6E6E753C 64656D61 0000003E 00000000 <unnamed>.......

  Unix partition 0 - Root
   start cylinder: 20593 / LBA &5071
             size: 40960 / LBA &A000
  Unix partition 1 - Boot
   start cylinder: 61554 / LBA &F072
             size: 32768 / LBA &8000
  Unix partition 2 - <unnamed>
   start cylinder: 94323 / LBA &17073
             size: 110540 / LBA &1AFCC

Full DiscRec is in Zone 1 at LBA &1BD8
LBA size in bits=4096 Log2=9
Zone spare bits=52
DiscRec size in bits=480
Log2 bytes per map bit=10

read_bytes_SCSIFS(2,&1BD8,&0,..,&200)
SCSI_Op &1000002,10,[&28,&01BD8,&1],..,&200

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : F8 05 82 04 09 21 08 00 0C 0A 00 00 00 03 34 00   .....!........4.
&000010 : 07 02 00 00 00 80 40 06 08 00 31 31 31 32 5F 30   ......@...1112_0
&000020 : 39 33 37 00 00 00 00 00 00 00 00 00 00 00 00 00   937.............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive SCSI::1112_0937
  not found
Drive: 3  Partition: 0
read_bytes_SCSIFS(3,&6,&0,..,&200)
SCSI_Op &1000003,10,[&28,&06,&1],..,&200

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 21 08 00 0C 0A 00 00 00 03 34 00 07 02 00 00   .!........4.....
&000010 : 00 80 40 06 00 00 33 30 31 32 5F 30 33 30 36 00   ..@...3012_0306.
&000020 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 02 3F 00 A0   .............?..

RISC iX is supported on this filesystem (type=2)
                                              ^^ ^^ ^^
Non-ADFS partition found at cylinder &3F / LBA &40F8 type 2

read_bytes_SCSIFS(3,&40F8,&0,..,&200)
SCSI_Op &1000003,10,[&28,&040F8,&1],..,&200
Address :        0        4        8        C
&000000 : 4A657320 277D59C0 000040F9 00029F58  seJ.Y.'.@..X...
&000010 : 00000001 746F6F52 64656D00 0000003E ....Root.med>...
&000020 : 00000000 0002E052 00003FEC 00000001 ....R....?......
&000030 : 70617753 64656D00 0000003E 00000000 Swap.med>.......
&000040 : 00000000 00000000 00000000 6E6E553C ............<Unn
&000050 : 64656D61 0000003E 00000000 00000000 amed>...........
&000060 : 00000000 00000000 6E6E553C 64656D61 ........<Unnamed
&000070 : 0000003E 00000000 00000000 00000000 >...............
&000080 : 00000000 6E6E553C 64656D61 0000003E ....<Unnamed>...
&000090 : 00000000 00000000 00000000 00000000 ................
&0000A0 : 6E6E553C 64656D61 0000003E 00000000 <Unnamed>.......

  Unix partition 0 - Root
   start cylinder: 16633 / LBA &40F9
             size: 171864 / LBA &29F58
  Unix partition 1 - Swap
   start cylinder: 188498 / LBA &2E052
             size: 16364 / LBA &3FEC

Full DiscRec is in Zone 1 at LBA &1BD8
LBA size in bits=4096 Log2=9
Zone spare bits=52
DiscRec size in bits=480
Log2 bytes per map bit=10

read_bytes_SCSIFS(3,&1BD8,&0,..,&200)
SCSI_Op &1000003,10,[&28,&01BD8,&1],..,&200

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 68 05 82 0D 09 21 08 00 0C 0A 00 02 00 03 34 00   h....!........4.
&000010 : 07 02 00 00 00 80 40 06 10 00 52 69 73 63 A0 69   ......@...Risc.i
&000020 : 58 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00   X   ............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive SCSI::Risc iX
  not found
Drive: 4  Partition: 0
read_bytes_SCSIFS(4,&6,&0,..,&200)
SCSI_Op &1000008,10,[&28,&06,&1],..,&200

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 7D 02 00 0D 0A 00 00 00 10 A1 00 21 02 00 00   ............!...
&000010 : 00 50 23 10 00 00 32 35 30 38 5F 30 38 30 37 00   .P#...2508_0807.
&000020 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 02 EC 01 07   ................

RISC iX is supported on this filesystem (type=2)
                                              ^^ ^^ ^^
Non-ADFS partition found at cylinder &1EC / LBA &1E078 type 2

read_bytes_SCSIFS(4,&1E078,&0,..,&200)
SCSI_Op &1000008,10,[&28,&01E078,&1],..,&200
Address :        0        4        8        C
&000000 : 4A657320 3B875CC0 0001E079 00059100  seJ.\.;y.......
&000010 : 00000001 746F6F52 64656D00 0000003E ....Root.med>...
&000020 : 00000000 0007717A 0000A02C 00000001 ....zq..,.......
&000030 : 746F6F42 64656D00 0000003E 00000000 Boot.med>.......
&000040 : 00000000 00000000 00000000 6E6E753C ............<unn
&000050 : 64656D61 0000003E 00000000 00000000 amed>...........
&000060 : 00000000 00000000 6E6E753C 64656D61 ........<unnamed
&000070 : 0000003E 00000000 00000000 00000000 >...............
&000080 : 00000000 6E6E753C 64656D61 0000003E ....<unnamed>...
&000090 : 00000000 00000000 00000000 00000000 ................
&0000A0 : 6E6E753C 64656D61 0000003E 00000000 <unnamed>.......

  Unix partition 0 - Root
   start cylinder: 123001 / LBA &1E079
             size: 364800 / LBA &59100
  Unix partition 1 - Boot
   start cylinder: 487802 / LBA &7717A
             size: 41004 / LBA &A02C

Full DiscRec is in Zone 8 at LBA &F230
LBA size in bits=4096 Log2=9
Zone spare bits=161
DiscRec size in bits=480
Log2 bytes per map bit=10

read_bytes_SCSIFS(4,&F230,&0,..,&200)
SCSI_Op &1000008,10,[&28,&0F230,&1],..,&200

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 1D 06 82 0A 09 7D 02 00 0D 0A 00 00 00 10 A1 00   ................
&000010 : 21 02 00 00 00 50 23 10 68 00 52 49 53 43 69 58   !....P#.h.RISCiX
&000020 : 61 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00   a   ............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive SCSI::RISCiXa
Matching FileCore disc found as SCSI::4
OS_FSControl 55 failed, trying 49
Free=&000017ED0
OS Size in LBA=&0000811A8
Drive: 5  Partition: 0
read_bytes_SCSIFS(5,&6,&0,..,&200)
SCSI_Op &1000009,10,[&28,&06,&1],..,&200

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 27 04 00 0C 0A 00 00 00 03 6A 00 07 02 00 00   .'........j.....
&000010 : 00 12 41 07 00 00 30 34 30 33 5F 31 39 34 36 00   ..A...0403_1946.
&000020 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 39   ...............9

RISC iX is supported on this filesystem (type=2)
                                              ^^ ^^ ^^
Non-ADFS partition found at cylinder &0 / LBA &0 type 2

read_bytes_SCSIFS(5,&0,&0,..,&200)
SCSI_Op &1000009,10,[&28,&00,&1],..,&200
Address :        0        4        8        C
&000000 : 00000000 00000000 00000000 0003A089 ................
&000010 : 00000000 63736952 003A734F 00000000 ....RiscOs:.....
&000020 : 00000000 00000000 00000000 00000000 ................
&000030 : 00000000 00000000 00000000 00000000 ................
&000040 : 00000000 00000000 00000000 00000000 ................
&000050 : 00000000 00000000 00000000 00000000 ................
&000060 : 00000000 00000000 00000000 00000000 ................
&000070 : 00000000 00000000 00000000 00000000 ................
&000080 : 00000000 00000000 00000000 00000000 ................
&000090 : 00000000 00000000 00000000 00000000 ................
&0000A0 : 00000000 00000000 00000000 00000000 ................

Invalid RISC iX partition table

Full DiscRec is in Zone 1 at LBA &1B6C
LBA size in bits=4096 Log2=9
Zone spare bits=106
DiscRec size in bits=480
Log2 bytes per map bit=10

read_bytes_SCSIFS(5,&1B6C,&0,..,&200)
SCSI_Op &1000009,10,[&28,&01B6C,&1],..,&200

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 52 F9 8D 00 09 27 04 00 0C 0A 00 02 00 03 6A 00   R....'........j.
&000010 : 07 02 00 00 00 12 41 07 0E 00 52 49 53 43 69 58   ......A...RISCiX
&000020 : 31 32 31 20 00 00 00 00 00 00 00 00 00 00 00 00   121 ............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive SCSI::RISCiX121
Matching FileCore disc found as SCSI::5
OS_FSControl 55 failed, trying 49
Free=&0000014E2
OS Size in LBA=&00003A089
Drive: 6  Partition: 0
read_bytes_SCSIFS(6,&6,&0,..,&200)
SCSI_Op &100000A,10,[&28,&06,&1],..,&200

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 21 08 00 0C 0A 00 00 00 03 34 00 07 02 00 00   .!........4.....
&000010 : 00 80 40 06 00 00 31 31 31 32 5F 30 39 33 37 00   ..@...1112_0937.
&000020 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 02 4E 00 B8   .............N..

RISC iX is supported on this filesystem (type=2)
                                              ^^ ^^ ^^
Non-ADFS partition found at cylinder &4E / LBA &5070 type 2

read_bytes_SCSIFS(6,&5070,&0,..,&200)
SCSI_Op &100000A,10,[&28,&05070,&1],..,&200
Address :        0        4        8        C
&000000 : 4A657320 2D099540 00005071 0000A000  seJ@..-qP......
&000010 : 00000001 746F6F52 64656D00 0000003E ....Root.med>...
&000020 : 00000000 0000F072 00008000 00000001 ....r...........
&000030 : 746F6F42 64656D00 0000003E 00000000 Boot.med>.......
&000040 : 00017073 0001AFCC 00000001 6E6E753C sp..........<unn
&000050 : 64656D61 0000003E 00000000 00000000 amed>...........
&000060 : 00000000 00000000 6E6E753C 64656D61 ........<unnamed
&000070 : 0000003E 00000000 00000000 00000000 >...............
&000080 : 00000000 6E6E753C 64656D61 0000003E ....<unnamed>...
&000090 : 00000000 00000000 00000000 00000000 ................
&0000A0 : 6E6E753C 64656D61 0000003E 00000000 <unnamed>.......

  Unix partition 0 - Root
   start cylinder: 20593 / LBA &5071
             size: 40960 / LBA &A000
  Unix partition 1 - Boot
   start cylinder: 61554 / LBA &F072
             size: 32768 / LBA &8000
  Unix partition 2 - <unnamed>
   start cylinder: 94323 / LBA &17073
             size: 110540 / LBA &1AFCC

Full DiscRec is in Zone 1 at LBA &1BD8
LBA size in bits=4096 Log2=9
Zone spare bits=52
DiscRec size in bits=480
Log2 bytes per map bit=10

read_bytes_SCSIFS(6,&1BD8,&0,..,&200)
SCSI_Op &100000A,10,[&28,&01BD8,&1],..,&200

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : F8 05 82 04 09 21 08 00 0C 0A 00 00 00 03 34 00   .....!........4.
&000010 : 07 02 00 00 00 80 40 06 08 00 31 31 31 32 5F 30   ......@...1112_0
&000020 : 39 33 37 00 00 00 00 00 00 00 00 00 00 00 00 00   937.............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive SCSI::1112_0937
  not found
Drive: 7  Partition: 0
read_bytes_SCSIFS(7,&6,&0,..,&200)
SCSI_Op &100000B,10,[&28,&06,&1],..,&200

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 21 08 00 0C 0A 00 00 00 03 34 00 07 02 00 00   .!........4.....
&000010 : 00 80 40 06 00 00 33 30 31 32 5F 30 33 30 36 00   ..@...3012_0306.
&000020 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 02 3F 00 A0   .............?..

RISC iX is supported on this filesystem (type=2)
                                              ^^ ^^ ^^
Non-ADFS partition found at cylinder &3F / LBA &40F8 type 2

read_bytes_SCSIFS(7,&40F8,&0,..,&200)
SCSI_Op &100000B,10,[&28,&040F8,&1],..,&200
Address :        0        4        8        C
&000000 : 4A657320 277D59C0 000040F9 00029F58  seJ.Y.'.@..X...
&000010 : 00000001 746F6F52 64656D00 0000003E ....Root.med>...
&000020 : 00000000 0002E052 00003FEC 00000001 ....R....?......
&000030 : 70617753 64656D00 0000003E 00000000 Swap.med>.......
&000040 : 00000000 00000000 00000000 6E6E553C ............<Unn
&000050 : 64656D61 0000003E 00000000 00000000 amed>...........
&000060 : 00000000 00000000 6E6E553C 64656D61 ........<Unnamed
&000070 : 0000003E 00000000 00000000 00000000 >...............
&000080 : 00000000 6E6E553C 64656D61 0000003E ....<Unnamed>...
&000090 : 00000000 00000000 00000000 00000000 ................
&0000A0 : 6E6E553C 64656D61 0000003E 00000000 <Unnamed>.......

  Unix partition 0 - Root
   start cylinder: 16633 / LBA &40F9
             size: 171864 / LBA &29F58
  Unix partition 1 - Swap
   start cylinder: 188498 / LBA &2E052
             size: 16364 / LBA &3FEC

Full DiscRec is in Zone 1 at LBA &1BD8
LBA size in bits=4096 Log2=9
Zone spare bits=52
DiscRec size in bits=480
Log2 bytes per map bit=10

read_bytes_SCSIFS(7,&1BD8,&0,..,&200)
SCSI_Op &100000B,10,[&28,&01BD8,&1],..,&200

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 68 05 82 0D 09 21 08 00 0C 0A 00 02 00 03 34 00   h....!........4.
&000010 : 07 02 00 00 00 80 40 06 10 00 52 69 73 63 A0 69   ......@...Risc.i
&000020 : 58 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00   X   ............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive SCSI::Risc iX
  not found
Drive: 8  Partition: 0
read_bytes_SCSIFS(8,&6,&0,..,&200)
SCSI_Op &1000010,10,[&28,&06,&1],..,&200

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 7D 02 00 0D 0A 00 00 00 10 A1 00 21 02 00 00   ............!...
&000010 : 00 50 23 10 00 00 32 35 30 38 5F 30 38 30 37 00   .P#...2508_0807.
&000020 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 02 EC 01 07   ................

RISC iX is supported on this filesystem (type=2)
                                              ^^ ^^ ^^
Non-ADFS partition found at cylinder &1EC / LBA &1E078 type 2

read_bytes_SCSIFS(8,&1E078,&0,..,&200)
SCSI_Op &1000010,10,[&28,&01E078,&1],..,&200
Address :        0        4        8        C
&000000 : 4A657320 3B875CC0 0001E079 00059100  seJ.\.;y.......
&000010 : 00000001 746F6F52 64656D00 0000003E ....Root.med>...
&000020 : 00000000 0007717A 0000A02C 00000001 ....zq..,.......
&000030 : 746F6F42 64656D00 0000003E 00000000 Boot.med>.......
&000040 : 00000000 00000000 00000000 6E6E753C ............<unn
&000050 : 64656D61 0000003E 00000000 00000000 amed>...........
&000060 : 00000000 00000000 6E6E753C 64656D61 ........<unnamed
&000070 : 0000003E 00000000 00000000 00000000 >...............
&000080 : 00000000 6E6E753C 64656D61 0000003E ....<unnamed>...
&000090 : 00000000 00000000 00000000 00000000 ................
&0000A0 : 6E6E753C 64656D61 0000003E 00000000 <unnamed>.......

  Unix partition 0 - Root
   start cylinder: 123001 / LBA &1E079
             size: 364800 / LBA &59100
  Unix partition 1 - Boot
   start cylinder: 487802 / LBA &7717A
             size: 41004 / LBA &A02C

Full DiscRec is in Zone 8 at LBA &F230
LBA size in bits=4096 Log2=9
Zone spare bits=161
DiscRec size in bits=480
Log2 bytes per map bit=10

read_bytes_SCSIFS(8,&F230,&0,..,&200)
SCSI_Op &1000010,10,[&28,&0F230,&1],..,&200

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 1D 06 82 0A 09 7D 02 00 0D 0A 00 00 00 10 A1 00   ................
&000010 : 21 02 00 00 00 50 23 10 68 00 52 49 53 43 69 58   !....P#.h.RISCiX
&000020 : 61 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00   a   ............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive SCSI::RISCiXa
Matching FileCore disc found as SCSI::4
OS_FSControl 55 failed, trying 49
Free=&000017ED0
OS Size in LBA=&0000811A8
Drive: 9  Partition: 0
read_bytes_SCSIFS(9,&6,&0,..,&200)
SCSI_Op &1000011,10,[&28,&06,&1],..,&200

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 27 04 00 0C 0A 00 00 00 03 6A 00 07 02 00 00   .'........j.....
&000010 : 00 12 41 07 00 00 30 34 30 33 5F 31 39 34 36 00   ..A...0403_1946.
&000020 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 39   ...............9

RISC iX is supported on this filesystem (type=2)
                                              ^^ ^^ ^^
Non-ADFS partition found at cylinder &0 / LBA &0 type 2

read_bytes_SCSIFS(9,&0,&0,..,&200)
SCSI_Op &1000011,10,[&28,&00,&1],..,&200
Address :        0        4        8        C
&000000 : 00000000 00000000 00000000 0003A089 ................
&000010 : 00000000 63736952 003A734F 00000000 ....RiscOs:.....
&000020 : 00000000 00000000 00000000 00000000 ................
&000030 : 00000000 00000000 00000000 00000000 ................
&000040 : 00000000 00000000 00000000 00000000 ................
&000050 : 00000000 00000000 00000000 00000000 ................
&000060 : 00000000 00000000 00000000 00000000 ................
&000070 : 00000000 00000000 00000000 00000000 ................
&000080 : 00000000 00000000 00000000 00000000 ................
&000090 : 00000000 00000000 00000000 00000000 ................
&0000A0 : 00000000 00000000 00000000 00000000 ................

Invalid RISC iX partition table

Full DiscRec is in Zone 1 at LBA &1B6C
LBA size in bits=4096 Log2=9
Zone spare bits=106
DiscRec size in bits=480
Log2 bytes per map bit=10

read_bytes_SCSIFS(9,&1B6C,&0,..,&200)
SCSI_Op &1000011,10,[&28,&01B6C,&1],..,&200

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 52 F9 8D 00 09 27 04 00 0C 0A 00 02 00 03 6A 00   R....'........j.
&000010 : 07 02 00 00 00 12 41 07 0E 00 52 49 53 43 69 58   ......A...RISCiX
&000020 : 31 32 31 20 00 00 00 00 00 00 00 00 00 00 00 00   121 ............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive SCSI::RISCiX121
Matching FileCore disc found as SCSI::5
OS_FSControl 55 failed, trying 49
Free=&0000014E2
OS Size in LBA=&00003A089
Drive: 10  Partition: 0
read_bytes_SCSIFS(10,&6,&0,..,&200)
SCSI_Op &1000012,10,[&28,&06,&1],..,&200

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 21 08 00 0C 0A 00 00 00 03 34 00 07 02 00 00   .!........4.....
&000010 : 00 80 40 06 00 00 31 31 31 32 5F 30 39 33 37 00   ..@...1112_0937.
&000020 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 02 4E 00 B8   .............N..

RISC iX is supported on this filesystem (type=2)
                                              ^^ ^^ ^^
Non-ADFS partition found at cylinder &4E / LBA &5070 type 2

read_bytes_SCSIFS(10,&5070,&0,..,&200)
SCSI_Op &1000012,10,[&28,&05070,&1],..,&200
Address :        0        4        8        C
&000000 : 4A657320 2D099540 00005071 0000A000  seJ@..-qP......
&000010 : 00000001 746F6F52 64656D00 0000003E ....Root.med>...
&000020 : 00000000 0000F072 00008000 00000001 ....r...........
&000030 : 746F6F42 64656D00 0000003E 00000000 Boot.med>.......
&000040 : 00017073 0001AFCC 00000001 6E6E753C sp..........<unn
&000050 : 64656D61 0000003E 00000000 00000000 amed>...........
&000060 : 00000000 00000000 6E6E753C 64656D61 ........<unnamed
&000070 : 0000003E 00000000 00000000 00000000 >...............
&000080 : 00000000 6E6E753C 64656D61 0000003E ....<unnamed>...
&000090 : 00000000 00000000 00000000 00000000 ................
&0000A0 : 6E6E753C 64656D61 0000003E 00000000 <unnamed>.......

  Unix partition 0 - Root
   start cylinder: 20593 / LBA &5071
             size: 40960 / LBA &A000
  Unix partition 1 - Boot
   start cylinder: 61554 / LBA &F072
             size: 32768 / LBA &8000
  Unix partition 2 - <unnamed>
   start cylinder: 94323 / LBA &17073
             size: 110540 / LBA &1AFCC

Full DiscRec is in Zone 1 at LBA &1BD8
LBA size in bits=4096 Log2=9
Zone spare bits=52
DiscRec size in bits=480
Log2 bytes per map bit=10

read_bytes_SCSIFS(10,&1BD8,&0,..,&200)
SCSI_Op &1000012,10,[&28,&01BD8,&1],..,&200

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : F8 05 82 04 09 21 08 00 0C 0A 00 00 00 03 34 00   .....!........4.
&000010 : 07 02 00 00 00 80 40 06 08 00 31 31 31 32 5F 30   ......@...1112_0
&000020 : 39 33 37 00 00 00 00 00 00 00 00 00 00 00 00 00   937.............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive SCSI::1112_0937
  not found
Drive: 11  Partition: 0
read_bytes_SCSIFS(11,&6,&0,..,&200)
SCSI_Op &1000013,10,[&28,&06,&1],..,&200

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 21 08 00 0C 0A 00 00 00 03 34 00 07 02 00 00   .!........4.....
&000010 : 00 80 40 06 00 00 33 30 31 32 5F 30 33 30 36 00   ..@...3012_0306.
&000020 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 02 3F 00 A0   .............?..

RISC iX is supported on this filesystem (type=2)
                                              ^^ ^^ ^^
Non-ADFS partition found at cylinder &3F / LBA &40F8 type 2

read_bytes_SCSIFS(11,&40F8,&0,..,&200)
SCSI_Op &1000013,10,[&28,&040F8,&1],..,&200
Address :        0        4        8        C
&000000 : 4A657320 277D59C0 000040F9 00029F58  seJ.Y.'.@..X...
&000010 : 00000001 746F6F52 64656D00 0000003E ....Root.med>...
&000020 : 00000000 0002E052 00003FEC 00000001 ....R....?......
&000030 : 70617753 64656D00 0000003E 00000000 Swap.med>.......
&000040 : 00000000 00000000 00000000 6E6E553C ............<Unn
&000050 : 64656D61 0000003E 00000000 00000000 amed>...........
&000060 : 00000000 00000000 6E6E553C 64656D61 ........<Unnamed
&000070 : 0000003E 00000000 00000000 00000000 >...............
&000080 : 00000000 6E6E553C 64656D61 0000003E ....<Unnamed>...
&000090 : 00000000 00000000 00000000 00000000 ................
&0000A0 : 6E6E553C 64656D61 0000003E 00000000 <Unnamed>.......

  Unix partition 0 - Root
   start cylinder: 16633 / LBA &40F9
             size: 171864 / LBA &29F58
  Unix partition 1 - Swap
   start cylinder: 188498 / LBA &2E052
             size: 16364 / LBA &3FEC

Full DiscRec is in Zone 1 at LBA &1BD8
LBA size in bits=4096 Log2=9
Zone spare bits=52
DiscRec size in bits=480
Log2 bytes per map bit=10

read_bytes_SCSIFS(11,&1BD8,&0,..,&200)
SCSI_Op &1000013,10,[&28,&01BD8,&1],..,&200

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 68 05 82 0D 09 21 08 00 0C 0A 00 02 00 03 34 00   h....!........4.
&000010 : 07 02 00 00 00 80 40 06 10 00 52 69 73 63 A0 69   ......@...Risc.i
&000020 : 58 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00   X   ............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive SCSI::Risc iX
  not found
BASIC END=4BCC8
JonAbbott
Posts: 2978
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Re: Partition Manager feedback

Post by JonAbbott »

IanJeffray wrote: Wed Jun 28, 2023 1:15 pm No errors now, but ZIDEFS drives have now gone completely missing from the display.
..
ZIDEFS debug looks kinda messed up... "Potentially 1 drives" ... and then "read_bytes_SCSIFS" - SCSIFS?
It hit the Max drives limit in SCSIFS and stopped adding drives.
IanJeffray wrote: Wed Jun 28, 2023 1:15 pm The Oak drives each still appears four times, too.
I've taken a look at the Module source code (SCSIRM41) and sure enough, doenquire does not check the card ID before responding. I suppose we could raise it with the author and get it fixed?
JonAbbott
Posts: 2978
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Re: Partition Manager feedback

Post by JonAbbott »

JonAbbott wrote: Wed Jun 28, 2023 3:54 pm I've taken a look at the Module source code (SCSIRM41) and sure enough, doenquire does not check the card ID before responding.
I've been going through the code of all three Oak SCSI Modules fixing issues, including checking the card ID. It appears to work if I replace the Podule in Arculator although I can't for the life of me figure out how you map a physical drive to a logical drive. *SCSIMAP will list them if configured, but doesn't appear to take a parameter to configure them.

Before I start adding code, what am I missing?
User avatar
IanJeffray
Posts: 162
Joined: Mon Jan 18, 2021 1:51 pm

Re: Partition Manager feedback

Post by IanJeffray »

JonAbbott wrote: Wed Jun 28, 2023 10:46 pm Before I start adding code, what am I missing?
I just use SCSIForm to set up the card, sorry. As you'll probably have seen, all its configuration is stored in its own eeprom, not CMOS RAM.
JonAbbott
Posts: 2978
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Re: Partition Manager feedback

Post by JonAbbott »

IanJeffray wrote: Wed Jun 28, 2023 11:30 pm I just use SCSIForm to set up the card, sorry. As you'll probably have seen, all its configuration is stored in its own eeprom, not CMOS RAM.
Crunched BASIC...fantastic :|

I did note in the documentation it mentions storing partition information in EEPROM - I sometimes wonder what goes through the developer's head when they have these fantastic ideas!

Do you know if the EEPROM also includes the Modules? Or are they in a separate ROM?

EDIT: Found an uncrunched copy of the formatter.

The whole thing is "arcane" for want of a better word and doesn't lend itself to PM configuring either the drive mapping, or touching the EEPROM. I think I'll give it a pass for the time being and figure out how to support it fully later. Attached is the EPROM (without CD support) with the patches I've implemented, should you want to try it.

I've tested under Arculator, formatting with PM and mapping via the bespoke formatter. When I first open a drive via its Filer icon it reports an error, click again and it works - which I think is another issue that needs fixing, but I've not looked into it.
Attachments
OAKROM138.zip
Oak SCSI EEPROM with several issues fixed
(7.24 KiB) Downloaded 174 times
User avatar
IanJeffray
Posts: 162
Joined: Mon Jan 18, 2021 1:51 pm

Re: Partition Manager feedback

Post by IanJeffray »

JonAbbott wrote: Thu Jun 29, 2023 9:01 am Do you know if the EEPROM also includes the Modules? Or are they in a separate ROM?
The config EEPROM is a small 1K 93C06N I2C EEPROM. The podule modules are stored in a standard 8bit parallel 64KB 27C512 EPROM.
JonAbbott wrote: Thu Jun 29, 2023 9:01 am I sometimes wonder what goes through the developer's head when they have these fantastic ideas!
Blame Acorn. They only allocate each podule a few (5?) bytes of CMOS RAM space to store things. Yes, there are few extras specifically for SCSI, but this is far from the only podule that stores its configuration in its own flash -- Watford IDE does, and I think maybe Castle SCSI do too.
JonAbbott
Posts: 2978
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Re: Partition Manager feedback

Post by JonAbbott »

IanJeffray wrote: Thu Jun 29, 2023 10:36 am Blame Acorn. They only allocate each podule a few (5?) bytes of CMOS RAM space to store things. Yes, there are few extras specifically for SCSI, but this is far from the only podule that stores its configuration in its own flash -- Watford IDE does, and I think maybe Castle SCSI do too.
The partition information could be on the disc. MBR would cover Arc partitioning, but nobody thought to use it - and I can't fathom out why. Using LUN's would also have covered SCSI partitioning without the need for EEPROM.

From my reverse-engineer of Watford IDE, it didn't appear to be anything other than a plain IDE card - unless I have an old version of IDEFS (v2.10). It does have an IDEFS_NovRAM SWI, but without any of the original software (or a card to test) its not clear what it's for or does.

I purchased a Castle SCSI card to test a while ago, but can't get it to work as it's missing the SCSIDriver Module. I raised it on stardot at the time.
User avatar
IanJeffray
Posts: 162
Joined: Mon Jan 18, 2021 1:51 pm

Re: Partition Manager feedback

Post by IanJeffray »

JonAbbott wrote: Thu Jun 29, 2023 10:57 am From my reverse-engineer of Watford IDE, it didn't appear to be anything other than a plain IDE card - unless I have an old version of IDEFS (v2.10). It does have an IDEFS_NovRAM SWI, but without any of the original software (or a card to test) its not clear what it's for or does.
Oh it definitely does. There's a special !WipeRAM program to nuke the onboard settings when they get too far shot that !IDEForm can't sort them out (weird). Attached for your amuse.
JonAbbott wrote: Thu Jun 29, 2023 10:57 am I purchased a Castle SCSI card to test a while ago, but can't get it to work as it's missing the SCSIDriver Module. I raised it on stardot at the time.
Ah, I only have the "EtherSCSI" board (without the Ether bits - not sure they were ever built?)
Attachments
WatIDE.zip
(122.65 KiB) Downloaded 161 times
Post Reply