9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 9front nvram setup
@ 2024-04-15 17:36 Eric Lynema
  2024-04-15 18:03 ` [9fans] " elynema
  2024-04-18  8:57 ` [9fans] " cinap_lenrek
  0 siblings, 2 replies; 7+ messages in thread
From: Eric Lynema @ 2024-04-15 17:36 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 498 bytes --]

I am setting up a CPU server on 9front, and have been getting the following
errors that I just can't seem to work around.
can't write to nvram: i/o error

I have set my nvram in plan9.ini to

nvram=#S/sdE2/nvram
nvroff=0
nvrlen=0

Eric Lynema
(616) 990-0911

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T7b64800a7a98e3e1-Mea9759eb71f1e8f35bc46c0c
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1193 bytes --]

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

* [9fans] Re: 9front nvram setup
  2024-04-15 17:36 [9fans] 9front nvram setup Eric Lynema
@ 2024-04-15 18:03 ` elynema
  2024-04-15 19:26   ` Eric Lynema
  2024-04-18  8:57 ` [9fans] " cinap_lenrek
  1 sibling, 1 reply; 7+ messages in thread
From: elynema @ 2024-04-15 18:03 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]

for reference, not reading the documentation and assuming you can just set things like nvrlen to 0, might be the start of issues. What is the appopriate value for that? I set it to 256 and it worked.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T7b64800a7a98e3e1-M37f83ea9b4adf2217303bc62
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 915 bytes --]

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

* Re: [9fans] Re: 9front nvram setup
  2024-04-15 18:03 ` [9fans] " elynema
@ 2024-04-15 19:26   ` Eric Lynema
  0 siblings, 0 replies; 7+ messages in thread
From: Eric Lynema @ 2024-04-15 19:26 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 978 bytes --]

To the kind person who called and made sure I was all set, what was your
name again? Thank you, kind human!

On Mon, Apr 15, 2024 at 2:04 PM <elynema@gmail.com> wrote:

> for reference, not reading the documentation and assuming you can just set
> things like nvrlen to 0, might be the start of issues. What is the
> appopriate value for that? I set it to 256 and it worked.
> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions
> <https://9fans.topicbox.com/groups/9fans> + participants
> <https://9fans.topicbox.com/groups/9fans/members> + delivery options
> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
> <https://9fans.topicbox.com/groups/9fans/T7b64800a7a98e3e1-M37f83ea9b4adf2217303bc62>
>

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T7b64800a7a98e3e1-M440b7db57dfbf6c036dc3165
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1345 bytes --]

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

* Re: [9fans] 9front nvram setup
  2024-04-15 17:36 [9fans] 9front nvram setup Eric Lynema
  2024-04-15 18:03 ` [9fans] " elynema
@ 2024-04-18  8:57 ` cinap_lenrek
  2024-04-18 12:38   ` Eric Lynema
  1 sibling, 1 reply; 7+ messages in thread
From: cinap_lenrek @ 2024-04-18  8:57 UTC (permalink / raw)
  To: 9fans

> I am setting up a CPU server on 9front, and have been getting the following
> errors that I just can't seem to work around.
> can't write to nvram: i/o error
> I have set my nvram in plan9.ini to
> nvram=#S/sdE2/nvram
> nvroff=0
> nvrlen=0

You can break into rc shell at the bootargs prompt by typing !rc

then you can inspect the state of the sata drive.

cd /dev/sdE2
ls
cat ctl

Check if the nvram partition is here.

I'm curious as it complains only on write?

--
cinap

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T7b64800a7a98e3e1-M35df4b4e9c81c47f5598053d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] 9front nvram setup
  2024-04-18  8:57 ` [9fans] " cinap_lenrek
@ 2024-04-18 12:38   ` Eric Lynema
  2024-04-18 14:34     ` cinap_lenrek
  0 siblings, 1 reply; 7+ messages in thread
From: Eric Lynema @ 2024-04-18 12:38 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 1051 bytes --]

It was that nvrlen setting. Apparently that needs to be something like 256
or it gets mad. It didnt like 0.

Sent from my phone. Please excuse the fact that I can't type on these
things to save my life.

On Thu, Apr 18, 2024, 4:59 AM <cinap_lenrek@felloff.net> wrote:

> > I am setting up a CPU server on 9front, and have been getting the
> following
> > errors that I just can't seem to work around.
> > can't write to nvram: i/o error
> > I have set my nvram in plan9.ini to
> > nvram=#S/sdE2/nvram
> > nvroff=0
> > nvrlen=0
> 
> You can break into rc shell at the bootargs prompt by typing !rc
> 
> then you can inspect the state of the sata drive.
> 
> cd /dev/sdE2
> ls
> cat ctl
> 
> Check if the nvram partition is here.
> 
> I'm curious as it complains only on write?
> 
> --
> cinap

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T7b64800a7a98e3e1-M058812cc2e58a761c0b7cb05
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 2433 bytes --]

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

* Re: [9fans] 9front nvram setup
  2024-04-18 12:38   ` Eric Lynema
@ 2024-04-18 14:34     ` cinap_lenrek
  2024-04-18 16:05       ` Eric Lynema
  0 siblings, 1 reply; 7+ messages in thread
From: cinap_lenrek @ 2024-04-18 14:34 UTC (permalink / raw)
  To: 9fans

> It was that nvrlen setting. Apparently that needs to be something like 256
> or it gets mad. It didnt like 0.

all right! good catch :D

iirc these are optional, i usually just set nvram= and nothing else.
nvr is fixed size anyway.

--
cinap

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T7b64800a7a98e3e1-M09cc8d488b6c432d2308165f
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] 9front nvram setup
  2024-04-18 14:34     ` cinap_lenrek
@ 2024-04-18 16:05       ` Eric Lynema
  0 siblings, 0 replies; 7+ messages in thread
From: Eric Lynema @ 2024-04-18 16:05 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 760 bytes --]

my setup complained when it was not set, then again im running in a vm
(uefi setup).

Sent from my phone. Please excuse the fact that I can't type on these
things to save my life.

On Thu, Apr 18, 2024, 10:36 AM <cinap_lenrek@felloff.net> wrote:

> > It was that nvrlen setting. Apparently that needs to be something like
> 256
> > or it gets mad. It didnt like 0.
> 
> all right! good catch :D
> 
> iirc these are optional, i usually just set nvram= and nothing else.
> nvr is fixed size anyway.
> 
> --
> cinap

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T7b64800a7a98e3e1-Mfc2b877e1f554b42ae1f8c33
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 2073 bytes --]

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

end of thread, other threads:[~2024-04-18 16:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-15 17:36 [9fans] 9front nvram setup Eric Lynema
2024-04-15 18:03 ` [9fans] " elynema
2024-04-15 19:26   ` Eric Lynema
2024-04-18  8:57 ` [9fans] " cinap_lenrek
2024-04-18 12:38   ` Eric Lynema
2024-04-18 14:34     ` cinap_lenrek
2024-04-18 16:05       ` Eric Lynema

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