9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] CF boot failure
@ 2006-10-05  2:05 erik quanstrom
  2006-10-05  2:15 ` jmk
  0 siblings, 1 reply; 6+ messages in thread
From: erik quanstrom @ 2006-10-05  2:05 UTC (permalink / raw)
  To: 9fans

i installed plan 9 onto a CF card from the cd.  it boots just fine on
an nforce430 machine, but prints this

MBR...I/O Error
Press almost any key to reboot...

on a pIII 440gx machine. booting from the floppy, the CF is detected and
the partition table looks good and 9fat can be mounted and contains the 
usual suspects.  does anyone know what's going on here?  this same machine
boots just fine from a regular hard drive.

- erik


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] CF boot failure
  2006-10-05  2:05 [9fans] CF boot failure erik quanstrom
@ 2006-10-05  2:15 ` jmk
  2006-10-05  2:23   ` erik quanstrom
  0 siblings, 1 reply; 6+ messages in thread
From: jmk @ 2006-10-05  2:15 UTC (permalink / raw)
  To: 9fans

first guess would be that the bios on the old 440gx doesn't
know how to boot from a compact flash card, i.e. it doesn't
recognise it as a disc.

On Wed Oct  4 22:05:13 EDT 2006, quanstro@quanstro.net wrote:
> i installed plan 9 onto a CF card from the cd.  it boots just fine on
> an nforce430 machine, but prints this
> 
> MBR...I/O Error
> Press almost any key to reboot...
> 
> on a pIII 440gx machine. booting from the floppy, the CF is detected and
> the partition table looks good and 9fat can be mounted and contains the 
> usual suspects.  does anyone know what's going on here?  this same machine
> boots just fine from a regular hard drive.
> 
> - erik


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] CF boot failure
  2006-10-05  2:15 ` jmk
@ 2006-10-05  2:23   ` erik quanstrom
  2006-10-05  2:59     ` jmk
  0 siblings, 1 reply; 6+ messages in thread
From: erik quanstrom @ 2006-10-05  2:23 UTC (permalink / raw)
  To: 9fans

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] CF boot failure
  2006-10-05  2:23   ` erik quanstrom
@ 2006-10-05  2:59     ` jmk
  2006-10-05  8:05       ` erik quanstrom
  2006-10-05 21:29       ` erik quanstrom
  0 siblings, 2 replies; 6+ messages in thread
From: jmk @ 2006-10-05  2:59 UTC (permalink / raw)
  To: 9fans

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] CF boot failure
  2006-10-05  2:59     ` jmk
@ 2006-10-05  8:05       ` erik quanstrom
  2006-10-05 21:29       ` erik quanstrom
  1 sibling, 0 replies; 6+ messages in thread
From: erik quanstrom @ 2006-10-05  8:05 UTC (permalink / raw)
  To: 9fans

i have some other choices in bios like "removable ATAPI", or "USER".  i'll try those.

On Wed Oct  4 22:03:59 CDT 2006, jmk@plan9.bell-labs.com wrote:
> 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.

[...]

> the active partition. why, i don't know. can you boot anything
> off this cf card?

good question.  i'll try that after the bios parameters.

- erik


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] CF boot failure
  2006-10-05  2:59     ` jmk
  2006-10-05  8:05       ` erik quanstrom
@ 2006-10-05 21:29       ` erik quanstrom
  1 sibling, 0 replies; 6+ messages in thread
From: erik quanstrom @ 2006-10-05 21:29 UTC (permalink / raw)
  To: 9fans

thanks for the pointer.  i got this working by setting the media type to 
"USER" as the media type and LBA access mode.

- erik


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-10-05 21:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-05  2:05 [9fans] CF boot failure erik quanstrom
2006-10-05  2:15 ` jmk
2006-10-05  2:23   ` erik quanstrom
2006-10-05  2:59     ` jmk
2006-10-05  8:05       ` erik quanstrom
2006-10-05 21:29       ` erik quanstrom

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).