English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 19 April 2014, 02:56   #1
amigasith
Registered User
 
amigasith's Avatar
 
Join Date: Jan 2013
Location: Wild South / Germany
Age: 48
Posts: 271
PFS3AIO and DirectSCSI and large IDE HD

Hi folks,

I read so much tonight about this topic, but could not find an answer... Can anyone please help me with this ?

What I would like to do eventually is to use a large IDE real hard disk (40GB or 80GB) in my A1200 with Kick 3.1, WB 3.1, and PFS3AIO. So first of all, am I right with my thinking that I will definitely need a patched scsi.device (preferably a V43+ if I got it right) in order to be able to utilize the full disk size, since I am planning to use a real hard disk and not a CF / SD card that might give illegal but "good" CHS values?

When using a patched scsi.device, it seems all of them (according to the table here) support NSD and DirectSCSI. So my second question is: Is there any reason to prefer DirectSCSI over NSD or vice versa? Maybe performance? Or this doesn't matter anyway when using IDE? And if so, why?

I learned that I can set the DosType so that PFS3AIO will try DirectSCSI first. So this would be a means to actually prefer one over the other. My last question is then: Is there any way to tell which access method PFS3AIO actually uses after initializing?

I apologize for this plethora of questions but I would like to really understand before moving on...

Thanks for looking
amigasith is offline  
Old 19 April 2014, 08:53   #2
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
There is no big difference between NSD (or TD64) and DirectSCSI for IDE. Both have to be interpreted and translated into ATA commands.

On true SCSI bus, the DirectSCSI commands are simply passed through to the device by the driver while NSD/TD64 commands have to be translated into SCSI commands. This means that in case of DirectSCSI the file system is responsible to send properly formulated SCSI commands to the device while with NSD/TD64 this is done by the driver. Possible device-specific differences which are implemented in the driver are only taken into account when using NSD/TD64.

So generally NSD is to prefer. DirectSCSI is only a workaround for device drivers which don't support new standards.

In your special case the major difference is that with DirectSCSI you can use the first 7.8 GB of your drive for boot partitions while with (or better without) NSD the limit is at 4 GB.
thomas is offline  
Old 19 April 2014, 23:40   #3
amigasith
Registered User
 
amigasith's Avatar
 
Join Date: Jan 2013
Location: Wild South / Germany
Age: 48
Posts: 271
Awesome, thanks Thomas This explains most of my questions. But what exactly do you mean by the "without" in
Quote:
...with (or better without) NSD the limit is at 4 GB
I understand it two-fold like this: (a) with NSD the boot partition has to reside within the first 4 GB of the drive but the rest of the partitions can be virtually anywhere in the drive and (b) without NSD (or any other 64-Bit addressing mode), the total limit for all partitions, not only the boot partition, is 4 GB. Please correct me if I'm wrong
amigasith is offline  
Old 20 April 2014, 10:22   #4
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
At power-on time the harddrive can only be accessed through the ROM version of scsi.device. This means that the harddrive size is limited to 4GB if accessed with the standard CMD_READ and CMD_WRITE commands and to 7.8 GB when using HD_SCSICMD. There is no NSD or TD64 available at this time.

There is no partition size limit except that of the file system. But of course you cannot make partitions bigger than the harddrive which means that if the harddrive is limited to 4GB, all partitions which need to be accesses at that time (i.e. the boot partition(s)) have to reside entirely inside this space, the first 4GB of your harddrive.

Once the scsi.device patch has been loaded and activated, the harddrive size limit is much bigger: 2 TB for HD_SCSICMD with 512 byte sectors and 17,179,869,184 TB for TD64 and NSD.

Partititon sizes are still limited by the file system which means 104 GB for PFS3.
thomas is offline  
Old 20 April 2014, 14:30   #5
amigasith
Registered User
 
amigasith's Avatar
 
Join Date: Jan 2013
Location: Wild South / Germany
Age: 48
Posts: 271
Great, thank you very much for your detailed explanation This is one of the things that makes this forum so very special: You (almost) always get extremely good and technically well-founded answers by people like you!

Btw. I am also a big fan of your website - especially the "Große Festplatten mit Kickstart 2.0" article really helped me getting started with my current 4 GB CF card setup. Again, thanks a mllion
amigasith is offline  
Old 22 May 2014, 10:37   #6
Doc Mindie
In deep Trouble
 
Join Date: Sep 2004
Location: Manchester, Made in Norway
Age: 51
Posts: 841
Hmmm.
I've got a problem on my end... I've got a 2.5" IDE of 40GB... I've installed and use Loadmodule Devs:SCSI.device in the startup-sequence, and installed PFS3AIO which I use on partitions that are not *DH0 (ie, sys

my boot partition is roughly 300MB (so well inside the 4GB limit) and at the start of the HD. *DH1: is roughly 3.5GB (taking the total up to around 3.8 for *DH0:+*DH1 and then I made the remaining space (roughly 36GB) on large partition and formatted using PDS\3.

Problem is that after formatting *DH2:, my SYS: became corrupted and I had to reinstall from scrath, formatting *DH0: at the same time.

I used HDToolbox at first, but later switched to HDInstTools, (from the PFS_53 archive) but with the same problem occurring, corruption of *DH0:

Is it a better idea to switch from FFS_DC on the 0: partition to PFS3AIO?

Or is it "simply" that my a1200 IDE is broken?

Or something else alltogether?

btw, I followed the guide of http://eab.abime.net/showpost.php?p=831346&postcount=14 that post when installing, I take it the MaxTransfer doesn't apply if you're using a proper HD instead of an SD-card, but I'm still puzzled as to the results with the 40GB HD
Doc Mindie is offline  
Old 22 May 2014, 10:49   #7
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
Quote:
Originally Posted by Doc Mindie View Post
Problem is that after formatting *DH2:, my SYS: became corrupted and I had to reinstall from scrath, formatting *DH0: at the same time.
I suppose you did not use "quick" format? Which format program did you use?

Before OS 3.5 the standard SYS:System/Format program has the same 4GB problem as FastFileSystem: it just wraps around to 0 every 4GB. You should never do a non-quick format on a partition outside the first 4GB.

Generally a harddisk does not need to be formatted. It cannot even be formatted by software. All the "formatting" does, is to fill every block on the disk with garbage. This might be useful if you want to sell the drive. But for normal usage it is not necessary.

Do a quick format. It's sufficient and much faster.


Quote:
Originally Posted by Doc Mindie View Post
btw, I followed the guide of http://eab.abime.net/showpost.php?p=831346&postcount=14 that post when installing, I take it the MaxTransfer doesn't apply if you're using a proper HD instead of an SD-card, but I'm still puzzled as to the results with the 40GB HD
The MaxTransfer setting works around a bug in scsi.device. It applies to all drives, not only flash memory cards. Only if the drive is old enough to follow the same ATA specs as scsi.device, only then it might not have the MaxTransfer problem. Current ATA specs miss a feature which scsi.device relies on.
thomas is offline  
Old 22 May 2014, 10:51   #8
zipper
Registered User
 
Join Date: Mar 2004
Location: finland
Posts: 1,837
FFS DC is better for floppies , I once installed it onto HD and got constant errors - took some time until I recognized the culprit to be the file system.
zipper is online now  
Old 22 May 2014, 10:55   #9
Doc Mindie
In deep Trouble
 
Join Date: Sep 2004
Location: Manchester, Made in Norway
Age: 51
Posts: 841
I used the format programme that comes with PFS3_53 (from Aminet) and did a full format.... hmmm.

I'll try again. And again. And again. Untill things goes right

Cheers, Thomas and Zipper

PS: I take it I did everything "correct" is that a good assumption?
Doc Mindie is offline  
Old 22 May 2014, 11:09   #10
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
BTW, the machine boots a lot faster if the boot partition uses PFS3. There is no reason to use FFS on the boot partition.
thomas is offline  
Old 23 May 2014, 10:13   #11
Doc Mindie
In deep Trouble
 
Join Date: Sep 2004
Location: Manchester, Made in Norway
Age: 51
Posts: 841
Right, cheers.

However, I'm limited to the 4GB as the boot partition, right? Otherwise, where will I load the SCSI.device_A1200 from.

Correct assumption?
Doc Mindie is offline  
Old 23 May 2014, 10:33   #12
fgh
Registered User
 
Join Date: Dec 2010
Location: Norway
Posts: 817
Just to be sure - type version scsi.device to confirm that the new version is loaded.
If it is, just do a quick format and you should be fine.

(Using directSCSI (PFS3DS or AiO) 7,87GiB is the limit, not 4GB)
fgh is offline  
Old 23 May 2014, 10:52   #13
Doc Mindie
In deep Trouble
 
Join Date: Sep 2004
Location: Manchester, Made in Norway
Age: 51
Posts: 841
Ta.

Though I "refuse*" to use a superlarge partition as my sys:

Simply because even OS3.9 doesn't use more than 100MB, so I believe I'm quite safe with my current (approximate) 250MB. Got room for MUI and some other small and nice addons... you know... the things you're "addicted" to... like MultiCX, et.al

* By "refuse" I mean" I don't see the point of a several GB woth of HD dedicated to SYS: All games and projects will be on a different partition, simply because I like it that way.

Kinda like SYS: Work: Games: and Other: style partition setup

Last edited by Doc Mindie; 23 May 2014 at 12:12.
Doc Mindie is offline  
Old 23 May 2014, 12:16   #14
Doc Mindie
In deep Trouble
 
Join Date: Sep 2004
Location: Manchester, Made in Norway
Age: 51
Posts: 841
Quote:
Originally Posted by thomas View Post
The MaxTransfer setting works around a bug in scsi.device. It applies to all drives, not only flash memory cards. Only if the drive is old enough to follow the same ATA specs as scsi.device, only then it might not have the MaxTransfer problem. Current ATA specs miss a feature which scsi.device relies on.
Right. What I meant was "I don't need to change the MaxTransfer to something smaller than default, as I'm using a HD proper and not a SD-card?"
Doc Mindie is offline  
Old 23 May 2014, 12:22   #15
fgh
Registered User
 
Join Date: Dec 2010
Location: Norway
Posts: 817
You need to lower it to 0x1fe00 for all drive types (SD,CF,HDD,SSD), except for very old ATA-1 HDDs.
(ATA-1 was replaced by ATA-2 in 1996)
fgh is offline  
Old 23 May 2014, 12:30   #16
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
More correct answer is: "it depends". Some IDE drives still support original ATA-1 behavior, some don't.
Toni Wilen is online now  
Old 23 May 2014, 13:41   #17
fgh
Registered User
 
Join Date: Dec 2010
Location: Norway
Posts: 817
Thanks Toni, didn't know that.
The recommendation remains though
fgh is offline  
Old 23 May 2014, 20:43   #18
Jope
-
 
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,861
Yeah, no point in adding any conditions to that rule of thumb.. It was an arduous process to finally get everyone saying 0x1fe00 with two zeros. :-)

And to give yet another opinion on partitioning: I never understood more than one partition per disk on an Amiga.. As long as you're not using FFS, there's no point in wasting the RAM. Organizing your stuff is not a valid reason for chopping them up, there's the makedir command in C: ;-)
Jope is offline  
Old 23 May 2014, 21:12   #19
Doc Mindie
In deep Trouble
 
Join Date: Sep 2004
Location: Manchester, Made in Norway
Age: 51
Posts: 841
Quote:
Originally Posted by Jope View Post
Yeah, no point in adding any conditions to that rule of thumb.. It was an arduous process to finally get everyone saying 0x1fe00 with two zeros. :-)

And to give yet another opinion on partitioning: I never understood more than one partition per disk on an Amiga.. As long as you're not using FFS, there's no point in wasting the RAM. Organizing your stuff is not a valid reason for chopping them up, there's the makedir command in C: ;-)
Ahh. But what if your SYS: becomes corrupted, or there's another problem and you have to format? And frankly.. I feel that by keeping the system proper on a separate partition, and keeping it well defragmented, it boots faster... and then there's always the IF something happens" in which case I just need to reinstall the system, not everything else as well.

Then again.... people are different.... and some like this and others like that
Doc Mindie is offline  
Old 24 May 2014, 18:33   #20
Jope
-
 
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,861
Been using PFS3 since 1998.. Zero HD corruptions so far. Back in the turn of the millennium I used Amigas semi seriously, so there was a lot more IO due to web browsing and so on, and no problems.
Jope is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
PFS3AIO Questions manic23 support.Hardware 26 22 April 2014 13:49
Pfs3aio ???? stingray76 support.Hardware 2 19 February 2014 09:15
HD only works with WinUAE. PFS3Aio used. Retrofan support.Other 13 07 September 2013 13:36
A3000 Xserf and a large IDE HD?!?! Claw22000 support.Hardware 18 05 May 2011 05:26
Hmm a hint perhaps.. [directscsi hangs io] Error support.WinUAE 2 11 May 2004 16:50

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 20:35.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09881 seconds with 13 queries