Re: Netra T5220 and LDOMs

Irek Szcześniak <[email protected]> Sat, 17 Aug 2024 00:24:17 +0200
Newsgroups gmane.os.openbsd.sparc
Message-ID <[email protected]>
Thank you, Claudio, for your email.

I guess that downloading a configuration also selects it, as shown in 
the example in the man page:

# ldomctl download openbsd
# ldomctl list
factory-default [current]
openbsd [next]

In the man page, we read for the download command:

 > Depending on the firmware, the new configuration must
 > be activated explicitly using the select command.

So this time I also did:

# ldomctl select openbsd

But the system still boots with the factory-default.

On 8/16/24 20:53, Claudio Jeker wrote:

> On Fri, Aug 16, 2024 at 08:30:38PM +0200, Irek Szcześniak wrote:
>> Hi,
>>
>> I have a Sun Oracle Netra T5220 with the OpenBSD 7.5 running.  I wanted to
>> create a guest logical domain (LDOM), and so I followed the example in the
>> manual page of ldomctl.
>>
>> After I reset the system, the primary domain starts allright, but the guest
>> domain does not:
>>
>> # ldomctl status
>> primary    -    running    OpenBSD running    0%
>>
>> # ldomctl list
>> factory-default [current]
>> openbsd
> 
> You are still running the factory-default config.
> You need to `ldomctl select openbsd` to make it the config on next reboot.
> The man page is missing this step it seems.
>   
>> # ldomctl status openbsd
>> ldomctl: unknown guest 'openbsd'
>>
>> In dmesg I can see:
>>
>> "ldom-primary" at vldc2 chan 0x1 not configured
>>
>> I would appreciate it if someone could help me out.
>>
>>
>> Best,
>> Irek
>>
>