9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: jmk@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] CF boot failure
Date: Wed,  4 Oct 2006 22:59:33 -0400	[thread overview]
Message-ID: <a77c4323250515950a91c39ef7a93913@plan9.bell-labs.com> (raw)
In-Reply-To: <32859583614e4e3c2f88c14976531cb8@quanstro.net>

from what i remember, 'removeable ide' doesn't always mean
'hard disc', sometimes it means 'floppy'. a cd is a 'removeable ide',
as is an atapi zip drive. in the case of the zip, it can be
treated by the bios as either a hard disc or a floppy and which it
is determines what goes in the first sector and what the arguments
to the bios disc read calls are. it's a crap-shoot, each manufacturer
deals with them in a different way.

i/o error comes directly from attempting to read a sector.
it's possible the info in the mbr partition table doesn't match
the hardware disc configuration (e.g. the address of the pbs)
but the only thing the mbr has to do is
	check there is a good active partition table entry
		if this fails you get a different error message
	read the single first sector of the active partition
		if this fails you get 'i/o error'
	check the signature at the endo of the read sector
		if this fails youj get a different error message
	jump to the start of the read sector
so the bios is not letting you read the first sector of
the active partition. why, i don't know. can you boot anything
off this cf card?

On Wed Oct  4 22:27:32 EDT 2006, quanstro@quanstro.net wrote:
> the bios recognizes it as as "removable ide".  here's what the phoenix bios says about the
> situation
> 
> type	 auto
> 	chs
> c	2025
> h	16
> s	63
> cap.	1045 MB
> 	lba format
> 
> multi-sector transfers	disabled
> lba mode control		disabled
> 32-bit i/o			enabled (i've also tried disabled)
> transfer mode		fast pio4
> udma mode		disabled


  reply	other threads:[~2006-10-05  2:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-05  2:05 erik quanstrom
2006-10-05  2:15 ` jmk
2006-10-05  2:23   ` erik quanstrom
2006-10-05  2:59     ` jmk [this message]
2006-10-05  8:05       ` erik quanstrom
2006-10-05 21:29       ` erik quanstrom

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=a77c4323250515950a91c39ef7a93913@plan9.bell-labs.com \
    --to=jmk@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).