9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] fossil:diskWriteRawFailed error with Plan 9 on
Date: Sat, 11 Oct 2008 10:43:17 -0400	[thread overview]
Message-ID: <87412c96def802973f91d70b9762212f@quanstro.net> (raw)
In-Reply-To: <1a02faef0810110712h76c1fa8fs88470e09f64f4caf@mail.gmail.com>

>> can you please point me to the place where i can download the source of plan 9. Also, how
>> to rebuild the code once i get it.
>
> If you want to try Erik's patch, you could install plan 9 on real
> hardware or under a different virtual machine like qemu or vmware, and
> follow the instructions at
> http://plan9.bell-labs.com/wiki/plan9/Compiling_kernels/
>
> Or just keep using the other VM and give up on Microsoft Virtual PC
> for the moment.

this is a repeat of a private email; i didn't think
this was going to be generally interesting.

option 1:
assuming the live cd boots, there is a test kernel on sources
in my contrib area which can be put into 9fat without booting
from the virtual hard drive.

	open a new window in the installer.  i'll assume that /dev/sdC0
	is your virtual hard drive.

	; cd /dev/sdC0
	; disk/fdisk -p data>ctl ; disk/prep -p plan9>ctl
	; 9fat:
	; cd /n/9fat:
	; 9fs sources
	; cp /n/sources/contrib/quanstro/9pcf.gz 9pcide.gz
	now edit plan9.ini.  add a second bootfile line like:
	bootfile=sdC0!9fat!9pcide.gz

now reboot and hope. :-)

(for those following along at home, the sdata.c i'm working from
is in /n/sources/contrib/quanstro/sdata.c.)

option 2:
install onto aoe storage.  vblade
	http://sourceforge.net/project/showfiles.php?group_id=130453&package_id=143790
runs on linux, if you have a linux machine.  or perhaps you could
run it on virtual pc.  (there's a version for plan 9, too.)
you'll need to put these lines into your plan9.ini

	# assuming that your vblade is running as 42.0
	# and you are using ether0 and ether1 to serve aoe:

	aoeif=ether0 ether1
	aoedev=f!#æ/aoe/42.0

(in any event, there are many ways to try to get this working.
e.g. if you had a seperate machine as a fileserver, you could boot
from it and be more free to experiment.)

dispite the gratitous ad hominem, i'm sorry that this is difficult.
unfortunately, i don't have a windows box or virtual pc.  thus
i can't properly test the change, even though it seems required
by the ata spec.

even if i did, it's presumptious to assume that the folks at the
labs have the time to review changes and incorporate them.

- erik




  reply	other threads:[~2008-10-11 14:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-11 11:42 [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft Virtual PC Sasidhar Kasturi
2008-10-11 14:12 ` grai
2008-10-11 14:43   ` erik quanstrom [this message]
2008-10-11 16:06     ` [9fans] fossil:diskWriteRawFailed error with Plan 9 on grai
2008-10-11 18:43 Eris Discordia
2008-10-11 20:33 ` Federico G. Benavento

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=87412c96def802973f91d70b9762212f@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /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).