All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [bug, 2.5.29, IDE] partition table corruption?
Date: 8 Aug 2002 23:06:43 -0700	[thread overview]
Message-ID: <aivm5j$rmt$1@cesium.transmeta.com> (raw)
In-Reply-To: 3.0.5.32.20020808153603.01476050@pop-server.san.rr.com

Followup to:  <3.0.5.32.20020808153603.01476050@pop-server.san.rr.com>
By author:    John Coffman <johninsd@san.rr.com>
In newsgroup: linux.dev.kernel
> 
> The lilo boot loader must use the BIOS as its disk driver to access the
> disk at boot time.  It may be directed to use one of three addressing modes:
> 
>   geometric - use int 13h, fn 2 (CHS read)
>   linear - convert 24-bit disk address to CHS, use int 13h, fn 2 as above.
>   lba32 - 32-bit disk addresses; IF AVAILABLE, use int 13h, fn 42h (EDD
> packet call) to read disk; else convert disk address to CHS, use int 13h,
> fn 2 as above.
> 
> All CHS addressing is subject to the 1024 cylinder limit.  If a 'linear' or
> 'lba32' address is converted to CHS, the head/sector information need for
> the conversion is obtained with int 13h, fn 8 (Get drive parameters).
> 

Why support geometric at all?  Either "linear" or "lba32" should work
on all systems (otherwise (Win)DOS won't work either.)

	-hpa
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>

  reply	other threads:[~2002-08-09  6:03 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-08 18:22 [bug, 2.5.29, IDE] partition table corruption? Andries.Brouwer
2002-08-08 22:36 ` John Coffman
2002-08-09  6:06   ` H. Peter Anvin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-08-08 12:29 Andries.Brouwer
2002-08-08  9:08 Adam J. Richter
2002-08-08  9:24 ` Marcin Dalecki
2002-08-08  9:31   ` Ingo Molnar
2002-08-08  9:34     ` Marcin Dalecki
2002-08-08 10:01       ` Ingo Molnar
2002-08-08 11:45         ` Andries Brouwer
2002-08-08 12:30       ` Alan Cox
2002-08-08 11:22         ` Marcin Dalecki
2002-08-08 13:23           ` Alan Cox
2002-08-08 12:18             ` Marcin Dalecki
2002-08-08 18:11               ` Alan Cox
2002-08-09  0:11                 ` Thunder from the hill
2002-08-09  6:27                   ` Marcin Dalecki
     [not found]     ` <3D523B25.5 <20020808181100Z315277-685+26763@vger.kernel.org>
2002-08-09  6:25       ` Marcin Dalecki
2002-08-07 18:43 Andries.Brouwer
2002-08-08  7:46 ` Marcin Dalecki
2002-08-06 22:27 Andries.Brouwer
2002-08-07 17:46 ` Ingo Molnar
2002-08-07 17:51   ` Ingo Molnar
2002-08-01 13:45 Ingo Molnar
2002-08-01 13:48 ` Marcin Dalecki
2002-08-01 16:16   ` Alan Cox
2002-08-01 15:02     ` Marcin Dalecki
2002-08-01 15:12 ` Alan Cox

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='aivm5j$rmt$1@cesium.transmeta.com' \
    --to=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    /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.