9fans archive / 1998 / 04 / 76 /    prev next

From: forsyth@cal... forsyth@cal...
Subject: [9fans] Tried 9pcdisk with negative results. Output attached.
Date: Mon, 20 Apr 1998 06:48:20 BST

>>root is from (local, 9600, 19200, il)[local!#H/hd0disk]:
>>user[none]:
>>fs...File system main inconsistent
>>Would you like to ream it (y/n)?     tag=Tnone; expected Tdir

9pcdisk expects a file system in a plan 9 partition `fs' (you'd answer local!#H/hd0fs to
boot's `root from' prompt).  from your messages thus far it wasn't
clear that you'd actually got as far as creating a plan 9 file system partition.

>>between 9dos and 9pcdisk, and tried to do a full install with 9pcdisk in
>>place of 9dos or 9cpu, but (obviopusly) the setup code isn't in the

actually, i'd say it's best to avoid thrashing about too much (eg, trying to use one
kernel instead of another kernel etc) at this point, since it just makes it
more confusing to diagnose.  cunning substitution of one thing for another can work well
during installation (to bypass some stages, or to install over ether from
an existing system), but only once you know how things are put together
and why.  (for instance, the setup or install code isn't in the kernel, it is controlled
by an rc script in the file system.)

in the sequence
        ip/ipconfig -b -m ipmask ipaddr
        ip/arpd -b bcast-addr
two things bother me: unless the -a option is given, ip/ipconfig
starts ip/arpd itself, and that's fine unless you really need to change
the broadcast address from the one the system will calculate;
and in any case ip/arpd command doesn't fork and thus
you'd need an '&' following the command.