9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Faried Nawaz <news@pain.hungry.com>
To: 9fans@cse.psu.edu
Subject: [9fans] a kernel compile problem.
Date: Sun, 14 Sep 2003 02:11:16 +0500	[thread overview]
Message-ID: <m1k78c4cnf.fsf@xpf.nilpotent.org> (raw)


Hello,

I've tried a few things, but I can't seem to compile a kernel that will use
/dev/sdD0/fossil instead of /dev/sdC0/fossil.

I installed off a snapshot cd from late July; I didn't want to go through
the process of converting from kfs to fossil.  To compile the new kernel, I
did this:

- copy /sys/src/9/pc/pcf to /sys/src/9/pc/pcf2
- change the boot section: "boot boot #S/sdC0/" to "boot boot #S/sdD0/"
- change the bootdir section: "bootpcf.out boot" to "bootpcf2.out boot"
- copy all of /sys/lib/sysconfig/fl to /sys/lib/sysconfig/f2, and edit to
  change sdC0 to sdD0
- add /sys/lib/sysconfig/f2/boot, flproto, venti.conf to the bootdir section

mk 'CONF=pcf2' && mk 'CONF=pcf2' install
9fat:
cp pcf2.gz /n/9fat/

- edited plan9.ini to add

bootfile=sdD0!9fat!9pcf2.gz
bootargs=local!#S/sdD0/fossil
bootdisk=local!#S/sdD0/fossil

On boot, I get this:

root is from (il, tcp, local)[local!#S/sdD0/fossil]:
user[none]:faried
kfs...version...File system main inconsistent
Would you like to ream it (y/n0? bad nvram key
bad authentication id
bad authentication domain
        tag = Tnone; expected Tdir; addr = 2
kfs init 7: FID1 attach to root
kfs 7: suicide: sys: trap: fault read addr=0x0 pc=0x0001d649
boot: can't init 9P: EOF receiving fversion reply
panic: boot process died: unknown
cpu0: exiting

What am I missing here?


Faried.
--
^self



             reply	other threads:[~2003-09-13 21:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-13 21:11 Faried Nawaz [this message]
2003-09-13 21:58 ` Russ Cox
2003-09-13 22:28   ` [9fans] " Faried Nawaz

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=m1k78c4cnf.fsf@xpf.nilpotent.org \
    --to=news@pain.hungry.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).