On Fri, 01 Feb 2008 12:34:14 -0000, erik quanstrom <[EMAIL PROTECTED]> 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 via email to