All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Petr Vandrovec" <VANDROVE@vc.cvut.cz>
To: Andries Brouwer <aebr@win.tue.nl>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>, martin@dalecki.de
Subject: Re: [PATCH] 2.5.30 IDE 112
Date: Tue, 6 Aug 2002 18:06:55 +0200	[thread overview]
Message-ID: <1404D797AC6@vcnet.vc.cvut.cz> (raw)

On  6 Aug 02 at 16:10, Andries Brouwer wrote:
> > BIOS refused to report proper size (120GB) when partition table
> > was empty, or when it contained partitions created for xxx/16/63
> > geometry. It reported size ~600MB, and actively refused to allow
> > access above this limit...
> 
> Funny. Do you mean that your BIOS used SETMAX ?

No. It miscalculated something somewhere. Only BIOS INT13h interface
was affected. But it is problem if it is your boot disk, and BIOS
is willing to load only MBR and first few sectors from disk, while your
LILO lives at ~60GB from disk start.
 
> Yes. I already advised this maintainer to add -C,-H,-S options to fdisk
> (cfdisk and sfdisk already have them), and he did so immediately.
> Visible one of these weeks in util-linux-2.11v.

Thanks. I'm still using fdisk...
 
> So, I have two questions:
> 1. What precisely do you mean with "actively refused" ?
> 2. Is there a Windows or Netware reason to prefer extended translation
> above no translation?

When that one BIOS (Award in 6BTM from Chaintech) found 120GB disk
with partition table saying that it is partitioned as 16heads/63sectors,
depending on LBA/LARGE/NORMAL setting it reported size 20MB/600MB/30GB
(if you want exact numbers/geometries, I can obtain them on saturday),
and code in the BIOS checked that OS does not try to access data above 
limit BIOS (mis)calculated when using INT13 interface (so windows98 rescue 
diskette was not able to create partition > 30GB, and PartitionMagic 
refused to operate at all with partition error #110 (or 108 or 109)).

I first thought that BIOS does not support disks over 30GB, but after
I rebuilt partition table with xxx/255/63 geometry, disk was correctly 
recognized and reported as 120GB by BIOS regardless of setting in the BIOS.

Some Netware drivers use geometry reported by the BIOS internally, and
if BIOS reports 16heads/63sectors, code doing blocknr -> CHS -> LBA can
overflow. But it is fixed for some years, so it should not be problem
for existing systems, and new (NW5/NW6) systems should cope with this.
                                                Petr Vandrovec
                                                vandrove@vc.cvut.cz
                                                

             reply	other threads:[~2002-08-06 16:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-06 16:06 Petr Vandrovec [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-08-06 12:19 [PATCH] 2.5.30 IDE 112 Petr Vandrovec
2002-08-06 12:23 ` Marcin Dalecki
2002-08-06 18:17   ` Andre Hedrick
2002-08-06 14:10 ` Andries Brouwer
2002-08-06  8:50 Marcin Dalecki
2002-08-06 10:27 ` Andries Brouwer
2002-08-06 19:22 ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1404D797AC6@vcnet.vc.cvut.cz \
    --to=vandrove@vc.cvut.cz \
    --cc=aebr@win.tue.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin@dalecki.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.