Its not the OS, and its not LBA.  We're seeing this in the BIOS.

The problem is using 28 bit addressing (for LBA).   2^28 * 512 
(bytes/sector) ~=137G (well, if you're a hard-drive manufacturer it 
does).  Current addressing is 48bit, so whatever 2^48*512 gives.. and 
they are apparently going to 4096 byte blocks now, so whatever 2^48*4096 
yields... will be the new limit.

Its concerning that the BIOS is only using 28bit LBA, and if any of your 
boot files have blocks past this limit I suspect you are scrod... but 
other then that it seems to work perfectly fine.

-- 
David E. Cross
Dixon, Wayne wrote:
> The reason you only see 134 or 137 GB is because of the operating
> system.  If the operating system cannot handle LBA (Large Block
> Addressing) you will only see 137GB partitions.  Windows prior to
> Service Pack 1 had this issue.
>
> Wayne Dixon
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Marco A.
> Calamari
> Sent: Monday, December 28, 2009 9:58 AM
> To: Owen Heisler; [email protected]
> Subject: Re: [Soekris] net5501 not detecting SATA HDs
>
> On Fri, 2009-12-25 at 16:20 -0600, Owen Heisler wrote:
>   
>> Marco A. Calamari wrote at 2009-12-25 11:53 -0600:
>>     
>>> On Thu, 2009-12-24 at 20:09 -0600, Owen Heisler wrote:
>>>       
>>>> Martin Johnson wrote at 2009-12-24 19:09 -0600:
>>>>         
>>>>> 1. Can you use both CF + HDD,  if you set FLASH = Secondary in
>>>>>           
> the ComBIOS?
>   
>>>> Yes, that seems to work.
>>>>
>>>>         
>>>>> 2. I suspect 134 GByte is not a real capacity limit, just a
>>>>>           
> limitation of the 
>   
>>>>> initial power-on scan.  One of my 5501's uses a 1TB WD 3.5"
>>>>>           
> disk: this is 
>   
>>>>> shown at power-on as 134 GB, but FreeBSD can use the whole 1 TB
>>>>>           
> with no 
>   
>>>>> problem.  This is with ComBIOS 1.33 (20070103).  BTW, I didn't
>>>>>           
> have to jumper 
>   
>>>>> the drive down to SATA-150, but perhaps different drives have
>>>>>           
> different 
>   
>>>>> timing characteristics.
>>>>>           
>>>> With this Seagate, the jumper still seems to be required to keep
>>>>         
> the BIOS from 
>   
>>>> hanging for a while on boot.
>>>>         
>>> My 5501 setting works flawlessy with CF as hda (boot) and a SATA
>>>  Seagate 160 as hdb.  The only trick in to jumper "cable select"
>>>  the HDU.
>>>       
>> The only documented jumper for this SATA Seagate is the SATA-150 speed
>>     
> limit.
>
> Er .... you're right and I beg the list pardon.
>
> In fact I've 2 equal 5501, one with 160Gb SATA and one with 
>  160 Gb PATA; I made confusion.
>
> The trick of "cable select" obviously apply to PATA; I never
>  saw it on docs or here, so I want to share it.
>
> 5501 SATA setting works flawlessy with CF as primary except
>  that the HD capacity as seen by bios is lower.
>
> Ciao.   Marco
>   

_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to