From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: David Presotto To: 9fans@cse.psu.edu Subject: Re: [9fans] boot.c -> bad nvram key In-Reply-To: <20040307141250.GC879@shire> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-uklfvmdjlelcicnejtzboylqae" Date: Sun, 7 Mar 2004 10:50:15 -0500 Topicbox-Message-UUID: 1ea94d56-eacd-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-uklfvmdjlelcicnejtzboylqae Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit You're booting a cpu kernel that doesn't expect a user to be around and does expect to find its key (and other stuff) either in nvram or in a disk paritition called nvram. Boot a terminal kernel (like 9pcdisk or 9pcf). --upas-uklfvmdjlelcicnejtzboylqae Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Sun Mar 7 09:13:30 EST 2004 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Sun Mar 7 09:13:27 EST 2004 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 0446319AEF; Sun, 7 Mar 2004 09:13:17 -0500 (EST) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 4B3E119B3C; Sun, 7 Mar 2004 09:13:13 -0500 (EST) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 1008F19AEF; Sun, 7 Mar 2004 09:12:55 -0500 (EST) Received: from tnetsmtp2.mail.isp (smtp.telefonica.net [213.4.129.135]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 701D819A78 for <9fans@cse.psu.edu>; Sun, 7 Mar 2004 09:12:53 -0500 (EST) Received: from 80-26-72-139.uc.nombres.ttd.es ([80.26.72.139]) by tnetsmtp2.mail.isp (terra.es) with ESMTP id HU7M5F01.67D for <9fans@cse.psu.edu>; Sun, 7 Mar 2004 15:12:51 +0100 Received: from alcortes by 80-26-72-139.uc.nombres.ttd.es with local (Exim 3.35 #1 (Debian)) id 1Azz1O-0000KS-00 for <9fans@cse.psu.edu>; Sun, 07 Mar 2004 15:12:50 +0100 From: Alberto =?iso-8859-1?Q?Cort=E9s?= To: 9fans <9fans@cse.psu.edu> Message-ID: <20040307141250.GC879@shire> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Operating-System: Linux 2.4.18 i686 X-Editor: GNU Emacs 21.2.1 Subject: [9fans] boot.c -> bad nvram key Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu X-Reply-To: Alberto =?iso-8859-1?Q?Cort=E9s?= List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Sun, 7 Mar 2004 15:12:50 +0100 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on psuvax1.cse.psu.edu X-Spam-Status: No, hits=0.2 required=5.0 tests=NORMAL_HTTP_TO_IP autolearn=no version=2.63 X-Spam-Level: I have make a new installation of a plan 9 terminal in a clean disk (actually, it is a vmware "machine"). After loading the kernel, boot(8) prints these lines: > root is from (il, tcp, local)[local!#S/sdC0/fs]: > user[none]: glenda > kfs...bad nvram key > bad authentication id > bad authentication domain > version...time... And then init(8) is executed and everything seems to work ok. I do not know what those "bad foo bar" lines mean. Does it have something to do with boot(8) trying authenticate with the local root server? I have been looking at /sys/src/9/boot/boot.c and /sys/src/9/boot/bootauth.c but i can not identify the problem, i think it is somewhere between these lines (from boot.c): > /* > * pick a method and initialize it > */ > mp = rootserver(argc ? *argv : 0); > (*mp->config)(mp); > islocal = strcmp(mp->name, "local") == 0; > ishybrid = strcmp(mp->name, "hybrid") == 0; > > /* > * authentication agent > */ > authentication(cpuflag); > > /* > * connect to the root file system > */ > fd = (*mp->connect)(); > if(fd < 0) > fatal("can't connect)(); > if(getenv("srvold9p")) > fd = old9p(fd); > if(!islocal && !ishybrid){ > if(cfs) > fd = (*cfs)(fd); > } I am not skilled enough for solving this, any pointers, explanations or recommendations? -- url: http://163.117.15.158/~acortes/index.html --upas-uklfvmdjlelcicnejtzboylqae--