9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Whither nvram?
@ 2003-01-09  5:08 Dan Cross
  2003-01-09  5:10 ` Russ Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Cross @ 2003-01-09  5:08 UTC (permalink / raw)
  To: 9fans

I was setting up a CPU/auth server on a recycled VALinux server the
other day (hooray!) and ran into an annoying problem with reading
nvram contents.  Basically, this particular server had disk bays
that took SCA SCSI drives, and there was literally no way to have
an sd00; the smallest SCSI ID one could use was sd01.  So, readnvram()
/sys/src/libauthsrv/readnvram.c never found my nvram sector.  That
was highly annoying, and I fixed it by adding the appropriate lines
to nvtab to look at sd01 in addition to sd00 and sdC0.  Still, that
seemed kind of ugly and it struck me that it would be a better
solution for readnvram() to honor an ``nvr'' environment variable
if such a thing existed.  That way, the location of the nvram parition
could be set in plan9.ini.  Does that seem like a reasonable change
to other people?  If not, it'd be nice to see the sd01 entries go into
nvtab.

	- Dan C.



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

end of thread, other threads:[~2003-01-09 14:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-09  5:08 [9fans] Whither nvram? Dan Cross
2003-01-09  5:10 ` Russ Cox
2003-01-09 14:09   ` Ronald G. Minnich

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