9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Eris Discordia" <eris.discordia@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] Serious Problem Running Plan 9 on Virtual PC
Date: Fri,  1 Feb 2008 15:17:40 +0000	[thread overview]
Message-ID: <op.t5upxyssc6yvfe@computer> (raw)
In-Reply-To: <d1e7f656e8025f2cf58c2be5e563e728@quanstro.net>

On Fri, 01 Feb 2008 12:34:14 -0000, erik quanstrom <quanstro@quanstro.net>  
wrote:

> 	; cat /dev/sdctl
> to give you information on this disks in your system.  this information
> is going to be interesting.  then you can try  (where XX is likely C0
> on your machine)
> 	dd -if /dev/sdXX/data -of /dev/null -bs 8k
> if that works, then you might want to try a write test
> 	dd -if /dev/sdXX/data -bs 512k |
> 		dd -of /dev/sdXX/data -bs 8k
> this may destroy your installed image.
>
> if any of these steps barf, you may want to fiddle with the dma
> settings on sdXX:
> 	dmaon
>
> - erik
>

A "cat /dev/sdctl" gives:

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

A "cat ctl" in /dev/sdC0 gives:

inquiry Virtual HD
config 045A capabilities 0F00 dma 00000004 dmactl 00000000 rwm 16 rwmctl 0
geometry 16777152 512 16644 16 63
part data 0 16777152
part plan9 63 16771860
part 9fat 63 204863
part nvram 204863 204864
part fossil 204864 15723284
part swap 15723284 16771860

Doing "9fat:" and then "cat /n/9fat/plan9.ini" gives:

bootfile=sdC0!9fat!9pcf
bootargs=local!#S/sdC0/fossil
bootdisk=local!#S/sdC0/fossil

#*noahciload=1
*debugload=1
*nobiosload=1
*nodumpstak=1
*nomp=1
dmamode=ask (but it asks me nothing, probably it never gets to that point)
partition=new
mouseport=ps2
monitor=xga
vgasize=640x480x8

I tried changing dmamode from "ask" to "off." No use.

Then, did this according to the newsgroup entry I linked to in my first  
post:

fossil/fossil -c 'srv -p fscons'
con /srv/fscons
prompt: srv -AWP replica
prompt: fsys main config /dev/sdC0/fossil
prompt: fsys main open -AWP
warning: connecting to venti: cs: can't translate address: '/srv/dns' file
does not exist
prompt: fsys main
main: check fix

The above ought to verify at least two things:

1. The disk is indeed readable.
2. The fossil partition is OK.

Result is:

checking epoch 1...
check: visited 1/968226 blocks (0%)
check: visited 9683/968226 (1%)
[it freezes here and the green hdd indicator in VPC's status line shows no  
activity after around 20 minutes]

I have noticed an eccentricity: when the live system boots, it boots from  
#S/dev/sdD0/data but the installed system boots from #S/dev/sdC0/fossil. I  
tried changing that to #S/dev/sdC0/data, but then the boot process  
complains that it cannot find /boot/kfs and stops.

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


  reply	other threads:[~2008-02-01 15:17 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-31 17:27 Eris Discordia
2008-02-01  2:37 ` erik quanstrom
2008-02-01  8:14   ` Eris Discordia
2008-02-01 12:34     ` erik quanstrom
2008-02-01 15:17       ` Eris Discordia [this message]
2008-02-01 15:43         ` erik quanstrom
2008-02-01 17:07           ` Juan M. Mendez
2008-02-01 17:44             ` Eris Discordia
2008-02-01 17:42           ` Eris Discordia
2008-02-01 17:54             ` erik quanstrom
     [not found] <20080201180331.DBFB55B52@mail.bitblocks.com>
2008-02-02 22:22 ` Eris Discordia
2008-02-02 23:49   ` Steve Simon
2008-02-04 10:24     ` Eris Discordia
2008-02-04 10:58       ` Filipp Andronov
2008-02-04 11:23         ` Juan M. Mendez
2008-02-04 11:50           ` Filipp Andronov
2008-02-04 11:54             ` Juan M. Mendez
2008-02-04 12:56               ` Filipp Andronov
2008-02-04 13:29                 ` Eris Discordia
2008-02-04 14:47                   ` Martin Neubauer
2008-02-04 15:56                     ` Filipp Andronov
2008-02-04 16:55               ` Gorka Guardiola
2008-02-05 10:46                 ` Filipp Andronov
2008-02-04 13:52         ` Eris Discordia

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=op.t5upxyssc6yvfe@computer \
    --to=eris.discordia@gmail.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).