03 September 2016, 05:40 | #1 |
m68k all the way
Join Date: Aug 2011
Location: Koalaland
Posts: 523
|
T-Disk: initialization failure
So, for the umpteenth time, I am creating new configs based on each Amiga model, and I am up to the one where my A1000 utilizes the T-Disk expansion. After copying the T-disk files to my WB1.1 disk (from the T-Install disk that Toni gave me) and configuring T-preferences on the same disk where I installed the device as DH0:, I rebooted the system where a window is opened and got an error saying "Error -116 mounting T-disk unit(0,0,0)".
Now, I cannot do anything with the T-Disk, other than go into the T-Disk Manager and cannot even do a format (Error -115) but can check the status where it complains that that the device is not responding. |
03 September 2016, 05:56 | #2 |
Registered User
Join Date: May 2015
Location: cerulean / usa
Posts: 75
|
is this the tecmar tdisk system?
|
03 September 2016, 07:41 | #3 |
m68k all the way
Join Date: Aug 2011
Location: Koalaland
Posts: 523
|
It says (c) 1985 Tecmar in the screenshots, so yes.
|
03 September 2016, 14:20 | #4 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
Run winuae with the -log argument and post the log output.
And you probably need to enable RDB mode, set drive type to SASI and select the correct manual geometry in Hardfile Settings. 4 surfaces, 17 sectors/track, 612 cylinders. Edit to add: make sure your HDF is at least 4×17×612×512 = 21,307,392 bytes long. Last edited by mark_k; 03 September 2016 at 22:37. |
04 September 2016, 05:51 | #5 |
m68k all the way
Join Date: Aug 2011
Location: Koalaland
Posts: 523
|
Config file updated with the modified geometry settings. Using 4x17x612x512 gives me a HDF size of about 20480 KB (which equates to 20,971,520 bytes).
|
04 September 2016, 15:02 | #6 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
Make sure your HDF is at least 21,307,392 bytes (= 20808 KB) long. Open a command prompt and do Dir to show the size in bytes.
I'll try to upload a tested-working config later today. Edit: Here's a config I used successfully. The basic procedure, starting with a blank/empty HDF is:
Last edited by mark_k; 04 September 2016 at 19:45. |
04 September 2016, 20:02 | #7 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
If you still have problems, run winuae with -log -scsiemulog then try to format/install/use the T-disk and post the output here.
|
05 September 2016, 05:54 | #8 |
m68k all the way
Join Date: Aug 2011
Location: Koalaland
Posts: 523
|
Okay, you said that I need my HDF to be at least 21,307,392 bytes, but even if I set it at the correct geometry, I get something different. So how do I go at getting that size?
Also, it's funny that if I go into T-Disk Manager and click Status, the program states that the device is functioning normally. If I do a failed format then check the status again, it then states the device is not responding. WINUAELOG.TXT Last edited by B14ck W01f; 05 September 2016 at 08:09. |
05 September 2016, 06:13 | #9 |
Registered User
Join Date: May 2015
Location: cerulean / usa
Posts: 75
|
i had issues with the memory expansion and the hard drive unit. i had to make a custom power cable before the memory module and hard drive unit would even been seen by the A1000. my hard drive unit still fails, the write light stays on, i think my hard drive is dead.
i finally went with an external zorro to zorro II adapter along with an a2091 with a sd2scsi adapter on one of my A1000s and its working fine now till i can get an original A1000 hard drive setup. |
06 September 2016, 08:24 | #10 | ||
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
Quote:
In WinUAE Hardfile settings it seems you can only choose a whole number of MB when creating an HDF. You could either create an HDF of at least 21MB there, or see the attached archive which contains an empty file of the exact size. Quote:
The relevant part of the log you uploaded is this: 33-874 [18104 072-098]: SCSIEMU HD 0: 08.00.9F.E8.11.05.00.00.00.00.00.00 CMDLEN=6 DATA=0000000006987430 33-875 [18104 072-098]: -> DATAOUT=8704 ST=0 SENSELEN=0 REPLYLEN=0 33-901 [18105 113-192]: SCSIEMU HD 0: 08.00.9F.F9.11.05.00.00.00.00.00.00 CMDLEN=6 DATA=0000000006987430 33-901 [18105 113-192]: UAEHF SCSI: out of bounds, 00000000-013FF200 + 00000000-00002200 > 00000000-01400000 33-902 [18105 113-192]: -> SENSE STATUS: KEY=5 ASC=21 ASCQ=00 33-903 [18105 113-192]: 70.00.05.00.00.00.00.0A.00.00.00.00.21.00.00.00.00.00. 33-910 [18105 113-192]: -> DATAOUT=-1 ST=2 SENSELEN=18 REPLYLEN=0 33-910 [18105 089-199]: SCSIEMU HD 0: 03.00.9F.F9.11.05.00.00.00.00.00.00 CMDLEN=0 DATA=0000000000000000 33-911 [18105 089-199]: REQUEST SENSE length 17 (18) 33-912 [18105 089-199]: 70.00.05.00.00.00.00.0A.00.00.00.00.21.00.00.00.00.00 The Tecmar drive has 4×17×612 = 41616 sectors (numbered from 0 to 41615), but the 20MB HDF you're using only has 40960 sectors. A SCSI READ (6) command is issued: 08 00 9F E8 11 05. That means read 17 sectors ($11 hex) starting from sector $9FE8 = 40936 decimal. So, read sectors 40936 to 40952 inclusive. That command succeeds. The next READ command (08 00 9F F9 11 05) attempts to read 17 sectors starting from sector 40953, in other words sectors 40953 to 40969 inclusive. That fails because your HDF is too small. WinUAE's SCSI emulation returns an error: illegal request, logical block address out of range. But that error and the length of the response was only defined in later SCSI standards, it doesn't apply to the old SASI controller in the Tecmar drive. Last edited by mark_k; 06 September 2016 at 15:14. |
||
06 September 2016, 13:08 | #11 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
I had a play around with this using the config from mark_k.
I made a 20mb hdf, selected RDB mode, ticked manual geometry and added the settings 4, 17, 612, 512. The hdf reported 41616/43008 blocks 20.3/21mb. Everything went without a hitch and the HDF is now mounted as DH0: Thanks for the info mark_k Last edited by Arnie; 07 September 2016 at 15:50. |
06 September 2016, 14:44 | #12 | |
m68k all the way
Join Date: Aug 2011
Location: Koalaland
Posts: 523
|
Thanks, mark_k. Appreciated.
Now I assume that I would have to do the same method for the Xybex 9720H? Quote:
Between you and me, I nominate him to be our next WinUAE maintainer if Toni decides to retire. Last edited by B14ck W01f; 07 September 2016 at 04:25. |
|
08 September 2016, 14:20 | #13 | |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
Quote:
I can't remember whether the Xebec software uses any hard-coded geometry. If you want to try setting up an emulated A1000+9720H config and can't get it working I'll take a look at it. |
|
08 September 2016, 20:33 | #14 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
You're welcome. By the way, I found a possible reason why things went wrong before. (Apart from the too-small HDF you were using that is.)
Over in the "SASI drive error codes" thread Toni has fixed an issue relating to the way the emulated drive responds to REQUEST SENSE commands. Could you download and test that version using your old too-small 20MB HDF? And report back what happens when you try to format it. http://www.winuae.net/files/b/winuae.7z |
09 September 2016, 18:33 | #15 | |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
Quote:
I don't know if B14ck W01f has the Xebec HDF sorted, but I'm struggling. I have tried a 5, 10, 20 & 40mb HDF. The one's that nearly work are the 5 & 10mb ones. They get as far as Installing WB from the Xebec setup disk and stop with an error when it gets to copying 'park'. The larger HDF's stop with the error 'DH0: is not a dos disk'. I'm using the same config as the Tecmar. Default CHS values and the 3.4 beta fix from post your post above. I googled around for this and apparently the HD used with the Xebec card was a ST-506, 5mb? |
|
09 September 2016, 18:54 | #16 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
Did you set correct physical geometry? It is very important when using ancient drives and drivers.
|
09 September 2016, 19:03 | #17 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
|
09 September 2016, 20:36 | #18 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
HDF size is not critical but it must be larger than the manual geometry specified.
You could start with the same manual geometry as needed for the Tecmar drive. (And either use the blank/empty correct-size HDF I attached above, or use an HDF >=21MB in size.) The original Seagate ST-506 was a 5MB hard drive, but "ST-506" later came to refer to the drive<->controller interface which became a de-facto standard used by larger drives too. The Xebec drive is 20MB, though I'm not sure of the exact capacity/geometry until I check. See this advert for it. |
10 September 2016, 08:28 | #19 | |
m68k all the way
Join Date: Aug 2011
Location: Koalaland
Posts: 523
|
Quote:
Except if I format the T-disk (outside T-disk Manager), it asks me if I want to format instead of just continuing to load WB. WINUAELOG.TXT Last edited by B14ck W01f; 10 September 2016 at 08:49. |
|
10 September 2016, 16:31 | #20 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
That seems a more reasonable response to the error condition than before.
Though it could be that WinUAE is still returning the wrong data in response to the REQUEST SENSE command. SCSIEMU HD 0: 08.00.9F.F9.11.05.00.00.00.00.00.00 CMDLEN=6 DATA=0DC7E460 UAEHF SCSI: out of bounds, 00000000-013FF200 + 00000000-00002200 > 00000000-01400000 -> SENSE STATUS: KEY=5 ASC=21 ASCQ=00 70.00.05.00.00.00.00.0A.00.00.00.00.21.00.00.00.00.00. -> DATAOUT=-1 ST=2 SENSELEN=18 REPLYLEN=0 SCSIEMU HD 0: 03.00.9F.F9.11.05.00.00.00.00.00.00 CMDLEN=0 DATA=00000000 REQUEST SENSE length 17 (18) 00.00.05.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CF card - "no disk in drive" format failure | Zapotek | support.Hardware | 15 | 04 September 2014 00:20 |
WIFI initialization causes system stall | ppascal | support.Hardware | 8 | 04 November 2011 17:23 |
Ninja Remix disk B failure! | Krenzathal | support.WinUAE | 3 | 07 January 2011 17:01 |
D3D9: Initialization Fail | MrGimper | support.WinUAE | 10 | 11 September 2010 21:41 |
Software Failure - help! | Jaekus | New to Emulation or Amiga scene | 6 | 18 November 2008 09:13 |
|
|