From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: Faried Nawaz Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.5 (cassava, berkeley-unix) Subject: [9fans] a kernel compile problem. Date: Sun, 14 Sep 2003 02:11:16 +0500 Topicbox-Message-UUID: 34aacfa4-eacc-11e9-9e20-41e7f4b1d025 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