Re: 250GB hd: Can FreeBSD use >137GB (bios) as Linux or Windows do?



On 7/31/08, Jan Henrik Sylvester <me@xxxxxxx> wrote:
On 7/31/08, me@xxxxxxx <me@xxxxxxx> wrote:
Yesterday, I wrote about "CANNOT READ BLK" from my new hd that I
filled via firewire:
http://lists.freebsd.org/pipermail/freebsd-questions/2008-July/179646.html
The response suggested to check for faulty hardware, which I am still
trying to do.

I found FreeBSD reporting the drive to have 128GB instead of 232GB as
FreeBSD did when the drive was connected via firewire. Searching the
web, I found one reference of someone else having problems with
128/137GB using the same (latest) bios on this five year old
(Centrino) laptop (Acer TM800).


I don't know how long ago the ATA-6 specification was adopted, but
prior to that ATA-5 had a 128 GB limit on disk size. I suspect your
BIOS is old enough to have adopted that limit. Perhaps if a BIOS
update for your system is available, it will solve your problem. BUT,
my understanding is that after the initial boot, FreeBSD reads the
size directly from the drive, so it seems strange that you are
encountering this problem if the drive itself is correctly reporting
its size.

Anyway, the fundamental answer to your question is "this should not be
happening." The challenge is to figure out where the problem is and
what to do about it.

FreeBSD has no such limit, at least not in recent versions (I'm using
a 200 GB drive at this moment, and at home I have a system with a 500
GB and a 750 GB drive). Your problem is caused either by the BIOS

I never said FreeBSD had a limit. With ddo, it works. (I am on 7.0.)

lying to it (which is unlikely, because FreeBSD uses the BIOS value

Yes, it is the bios. With ddo, the full disk is available; ddo supposingly
does nothing but change the bios interrupt handlers.

only for initial booting), or the hard drive itself lying. Does your

Are you sure about "only for initial booting"? If that was the case, I would
not understand why it shows "ad0: 238475MB" with ddo and "ad0: 131072MB"
without. Moreover, I tried writing to a sector beyond 128GB unsuccessfully
without ddo and successfully with ddo (using dd).


I am quite certain, although I don't know the details. Like any modern
operating system (and since before some of them), FreeBSD asks the
drive for its size.

drive have a jumper that causes it to report its capacity as 128GB for
compatibility with older BIOSes? If so, remove the jumper and try
again.

These is no such jumper. With Linux and Windows seeing the correct size
(without ddo), the drive must report it somehow correctly.

Either your claim that FreeBSD is not relying on the bios is wrong, or I
understand even less about the interaction of bios, drive, ddo handler, and
os than I thought I would. (Please, enlighten me, if you know more.)


I think it would be informative to do as someone suggested after your
first post, and re-install FreeBSD on the partition from scratch, to
see if it that solves the behavior problems. It could be an artifact
of your transfer method, although I don't have a specific theory to
explain it.

By the way, what version of FreeBSD is on the system? Any chance it is
old enough that it didn't support drives larger than 128 GB (I don't
know how old that would have to be)? That might include a bug in an
IDE driver that has since been fixed, or an obscure default
configuration option that changes FreeBSD's idea of how to address a
drive.

Another thought is that if you aren't using the FreeBSD loader (MBR),
then your problems may be caused by the loader. You could test this by
installing the FreeBSD disk loader (I think that would be "boot0cfg -B
ad0", but I might not have that right).

Is there any chance the MS-DOS partition table got changed at some
point to tell FreeBSD the partition is smaller than the BSD label says
it is?

Thanks for your input!

Good luck.

- Bob
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: freebsd-questions Digest, Vol 97, Issue 21
    ... Seagate HD not detected by FreeBSD ... It is correctly detected by the BIOS as the Secondary Slave. ... > dialogue on Dynamic Hosting Recommendation: ... > FreeBSD has been known to have problems recognizing slave only drives. ...
    (freebsd-questions)
  • Re: maximum hard drive capacity supported?
    ... |> BIOS the system might not be able to recognize a large disk. ... after booting FreeBSD will get whole disk ... I already have two drives that are ...
    (freebsd-questions)
  • Re: RELENG_7: interrupt eating whole cpu core
    ... CD-/DVD-Rom drives. ... Yes, but not in FreeBSD. ... It's a bug in the BIOS of my Notebook. ... My preferred solution would be to have device hints for every device to override the BIOS settings. ...
    (freebsd-stable)
  • bsdlabel, now no boot
    ... I was playing last night on my home FreeBSD system which is the only machine there that has internet access. ... Didn't do the usual "F1 FreeBSD" boot, fell back to a 0:ad/boot/ prompt asking what to boot. ... Wasn't getting anywhere with the CD so I installed a minimal binary 6.1 on one of the SATA drives. ... No error message. ...
    (freebsd-questions)
  • Re: Planning a FreeBSD desktop, basic questions.
    ... doing it over again on a fresh installation of 5.x ... > - FreeBSD will be on the second disk. ... Windows and FreeBSD from the *same* drive, but not two different drives. ...
    (freebsd-questions)

Quantcast