9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] boot.c -> bad nvram key
@ 2004-03-07 14:12 Alberto Cortés
  2004-03-07 15:50 ` David Presotto
  0 siblings, 1 reply; 9+ messages in thread
From: Alberto Cortés @ 2004-03-07 14:12 UTC (permalink / raw)
  To: 9fans

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-03-08 15:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-07 14:12 [9fans] boot.c -> bad nvram key Alberto Cortés
2004-03-07 15:50 ` David Presotto
2004-03-07 17:07   ` Alberto Cortés
2004-03-08 14:16     ` Zhen Lin
2004-03-08 12:05   ` Alberto Cortés
2004-03-08 12:17     ` lucio
2004-03-08 14:06       ` David Presotto
2004-03-08 15:18       ` [9fans] boot.c -> bad nvram key -> solved! (workaround, not fixed) Alberto Cortés
2004-03-08 12:18     ` [9fans] boot.c -> bad nvram key Fco.J.Ballesteros

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).