Subject: Re: Big hard drives
To: Port Amiga <port-amiga@netbsd.org>
From: Patryk =?iso-8859-2?Q?=A3ogiewa?= <silverdr@inet.com.pl>
List: port-amiga
Date: 04/10/1999 14:13:38
Napisane 09-Kwi-99 przez: Ignatios Souvatzis...
>> Does anyone know the exact specifications of the (in)famous 4GB hard drive
>> limit?
>>
>> AFAIK it is the matter of the number of addressable blocks but what are the
>> _exact_ limits? Drive size? Partitions size?
>Several different.
>For one, the classic IORequest interface can only reach the first
>4*1024*1024*1024-1 bytes of the drive.
>As a consequence, partitions containing Amiga bootblocks MUST BE COMPLETELY
>WITHIN the first 4GB.
Does that imply that non-bootable (from AmigaOS) partitions _can_ lie above
that?
>Other than that, NetBSD can address 4*1024*1024*1024* (fs fragment size)
>blocks using BSD FFS partitions.
You have written "blocks". Thus if the blocksize (aka fs fragment size?) is
e.g. 1024 bytes - then NetBSD can access 4*(1024^4) i.e. 4096GB. Right?
>I won't comment AmigaOS usage here. THere are 2.5 different approaches to
make
>AmigaOS work with >4GB drives.
No. I am not interested in trying any of those 5*0.5 approaches... ;-) I
simply want to set all my partitions that are to be accessed from AmigaOS
(including MacHFS, msdos etc.) to lie exactly within the limits and configure
the rest of the drive for use under NetBSD. I think that this would make my
life much easier than trying to make AmigaOS use the rest of the drive,
especially that I need to have NetBSD partitions on it anyway.
>> Could someone confirm or deny if I am right thinking this way? And give me
>> clues about the exact limits or at least what exactly causes them so I
could
>> calculate them myself.
>Uhm, you'll damage the disk if you use unmodified HDTOOLBOX with unmodified
>drivers on a big disk.
Even if ALL my AmigaOS accessed partitions will lie within the first 4GB (or
what exactly the limit is) and above that, there will be only the ones used by
NetBSD ??? Till now I got no real problems with HDToolbox. The only drawback
was that it shows the disk/partition size in weird numbers (-2013MB or 15MB
for example) but seems to store the actual block numbers correctly.
>Other than that, your root partition must be below 4GB, so that the ROM can
>access the bootblock, and the kernel on behalf of the bootblock.
Understood. I can do it this way: 'root' - within the limits. 'swap' and 'usr'
above. But this applies only if one wants to boot NetBSD from the bootblock I
suppose? Otherwise all can be placed above AFAI understand.
Thanks in advance.
--
/ /
/ /
/ / silverdr@wfmh.org.pl
\ \/ /
\/\/