9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: John Stalker <stalker@maths.tcd.ie>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] Re: venti+fossil problems on new install
Date: Fri, 22 Sep 2006 20:48:22 +0100	[thread overview]
Message-ID: <200609222048.ab36275@salmon.maths.tcd.ie> (raw)
In-Reply-To: <7b2816dfacc7e033760a0a5f4bdf503b@quanstro.net>

> when you boot to freebsd, do you see "MBR" printed first thing?
> if you don't then there the plan9 MBR is not installed.

Sorry, I should have been a bit more precise.  The mbr is in
two parts.  There is the bootstrap code and then there is
the partition table.  The bootstrap code isn't from plan9,
it's GAG.  GAG can boot plan9 from secondary partitions.  I
know because I've done it on at least two other computers in
the past.  The partition table is the bit written by plan9.
So the answer to your question is no, I don't see "MBR" when I
boot FreeBSD, but I know the partition table was written by
plan9 disk/fdisk because FreeBSD fdisk shows the layout I
specified to plan9 disk/fdisk and not what was there before.
The bootstrap code is unchanged.

> i went through this two weeks ago with an unsupported sata chipset.
> unfortunately, i didn't take notes.
> 
> one thing that is definately wrong nis the drive letters.  if you
> have a sata disk, then the drive letter should be know as /dev/sdE0.

No, there's no sdE0.  I have no idea why, but it's always shown as
sdC0.

> i would try booting from the floppy and interrupting the installer with
> "!rc" then 
> 	cd /dev
> 	cat sdctl
> 	for(i in sd??){
> 		echo $i
> 		cat $i/ctl
> 	}
> should give some interesting results.

I tried this.  The results are more or less what they ought to be.

sdC ata port 1F0 ctl 3F4 irq 14
sdD ata port 170 ctl 374 irq 15

sdC0
inquiry ST96023A
config 0C5A capabilities 2F00 dma 00550020 dmactl 00000000 rwm 8 rwmctl 0 lba48always off
geometry 117210240 512 16383 16 63
part data 0 117210240
.
.
.
part plan9 36965628 61561080
.
.
.
part 9fat 36965628 37170428
part nvram 37170428 37170429
part fossil 37170429 40922836
part arenas 40922836 59684876
part isect 59684876 60622978
part swap 60622978 61561080
sdD0
.
.
.

I have omitted the data for the other dos partitions, but I did
check that they don't overlap the plan9 partition.  I have also
omitted the data for sdD0, since it doesn't seem relevant.  There
isn't anything else.

What I find really peculiar is that I see the same output regardless
of when I type

cd /dev
cat sdctl
for(i in sd??){
	echo $i
	cat $i/ctl
}

In other words, even after I am told that my disk is blank I still
see the correct partition table in /dev
 
> - erik
-- 
John Stalker
School of Mathematics
Trinity College Dublin
tel +353 1 896 1983
fax +353 1 896 2282


  reply	other threads:[~2006-09-22 19:48 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-21  6:50 John Stalker
2006-09-21  8:13 ` erik quanstrom
2006-09-21 18:19 ` Lyndon Nerenberg
2006-09-21 18:25   ` erik quanstrom
2006-09-21 18:51     ` jmk
2006-09-21 20:27       ` C H Forsyth
2006-09-21 20:47     ` Charles Forsyth
2006-09-21 20:56       ` jmk
2006-09-21 21:08         ` Charles Forsyth
2006-09-21 21:50           ` erik quanstrom
2006-09-21 22:00             ` Charles Forsyth
2006-09-21 22:16               ` erik quanstrom
2006-09-21 22:31                 ` Charles Forsyth
2006-09-21 22:31                 ` jmk
2006-09-21 23:22                   ` erik quanstrom
2006-09-21 23:28                     ` geoff
2006-09-21 23:47                       ` geoff
2006-09-22  0:05                         ` erik quanstrom
2006-09-22  0:24                           ` Russ Cox
2006-09-22  0:50                             ` erik quanstrom
2006-09-22  1:25                               ` jmk
2006-09-22  7:23                             ` John Stalker
2006-09-22 11:23                               ` erik quanstrom
2006-09-22 17:30                                 ` John Stalker
2006-09-22 17:45                                   ` erik quanstrom
2006-09-22 19:48                                     ` John Stalker [this message]
2006-09-22 20:09                                       ` erik quanstrom
2006-09-22 20:50                                         ` John Stalker
2006-09-22 21:06                                           ` erik quanstrom
2006-09-22  0:29                           ` jmk
2006-09-21 23:52                       ` erik quanstrom
2006-09-21 23:59                       ` erik quanstrom
2006-09-22  0:50                         ` geoff
2006-09-22 16:39                           ` erik quanstrom
2006-09-23  5:24 Zoran Kolic
2006-09-23  6:51 ` John Stalker
2006-09-23 10:34   ` erik quanstrom
2006-09-23 15:04     ` Russ 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=200609222048.ab36275@salmon.maths.tcd.ie \
    --to=stalker@maths.tcd.ie \
    --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).