From mboxrd@z Thu Jan 1 00:00:00 1970 From: ron minnich To: 9fans@cse.psu.edu Subject: Re: [9fans] "Can't read from nvram: /env/nvrof file does not exist" In-Reply-To: <200304180310.h3I3AX516789@augusta.math.psu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Fri, 18 Apr 2003 08:12:29 -0600 Topicbox-Message-UUID: 928b5e50-eacb-11e9-9e20-41e7f4b1d025 On Thu, 17 Apr 2003, Dan Cross wrote: > Hmm, that's strange. I doubt it's a bug in the readnvram code, but > rather, something weird that's causing the read to fail, and when > readnvram() prints out an error message, "%r" is being interpolated > with the last error string (that the nvroff environment variable > doesn't exist). My guess is that the nvram file doesn't exist on the > 9fat on the flash device. well, this brings up an issue. I am having a weird IDE problem with plan9 fdisk and prep. Here are the platforms. vmware, virtual disk (i.e. a file) on 2nd channel master (sdD0) vmware, virtual disk (i.e. a file) on 1st channel master (sdC0) vmware, compact flash physical disk on 2nd channel master (sdD0) geode (hardware), compact flash on 2nd channel master (sdD0) If I do this in plan 9 fdisk: fdisk /dev/sdx0/data p 1 0 490 w q once I exit, no partition is there. If I do this: cat > /dev/sdx0/ctl the partition is there *until reboot*, then it goes away If I fdisk the CF in linux, the partition(s) are there. (in this case I create FAT and Plan 9 partitions in linux fdisk) Once I fdisk the CF in linux, and use the disk in plan 9, I can: prep -banw /dev/sdx0/plan9 the plan9 partitions are there -- until reboot. OK, what am I doing wrong? Seems like the fdisk/prep stuff does not 'take'. But it works fine for install. weird. ron