Re: [9fans] Serious Problem Running Plan 9 on Virtual PC



On Fri, 01 Feb 2008 12:34:14 -0000, erik quanstrom <quanstro@xxxxxxxxxxxx> 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/
.



Relevant Pages

  • Re: switch vs. hub for hobbyist cluster
    ... I do not think that the 3000/600 does 100 Mb/s, ... full speed of your DSL connection, but only if you have a switch. ... and on the same LAN there is a PC which boots quickly which I ... disks directly connected to the same node for system disks and to two ...
    (comp.os.vms)
  • Re: Hardy Heron impressions
    ... all my other disks on the shelf weren't ... IDE RAID card, not set as RAID, just separate disks. ... two disks on the RAID as sda and sdb and the mobo one as sdc whereas ... unfortunately when the system boots from said disk it sees that one as hd0 ...
    (uk.comp.os.linux)
  • switch vs. hub for hobbyist cluster
    ... In my hobbyist cluster I have 2 VAXes and 1 ALPHA as full-time members. ... and on the same LAN there is a PC which boots quickly which I ... disks directly connected to the same node for system disks and to two ... there is no connection between the nodes other than the LAN. ...
    (comp.os.vms)
  • Re: [9fans] information about filesystems
    ... and fossil, ... but i have a few old fses using scsi disks or ata disks ... it can have a huge memory cache... it doesn't need to copy between user space and kernel space; ...
    (comp.os.plan9)
  • Re: Where files and downloads are being saved
    ... "Andrew Murray" wrote: ... Did you receive all the disks etc with this computer, ... or it can be set so it will prompt you where to save the ... for the first time) will prompt you to save where you want to, ...
    (microsoft.public.windows.vista.general)