Re: ldomctl (still?) not generating usable configurations

Claudio Jeker <[email protected]> Sun, 12 Jan 2025 13:49:51 +0100
Newsgroups gmane.os.openbsd.sparc
Message-ID <[email protected]>
On Wed, Jan 08, 2025 at 05:02:24PM +0000, Abu Hussain Al Mukhtar wrote:
> Hi Claudio,
> 
> * Claudio Jeker <[email protected]>:
> > On Wed, Jan 08, 2025 at 10:02:42AM +0000, Abu Hussain Al Mukhtar wrote:
> > > Hi All,
> > > 
> > > I am having trouble generating an usable logical domain configuration on a
> > > Sunfire T2000 (UltraSPARC T1 chip).
> > > 
> > > Has someone had success in generating an ldom configuration using a 7.6 release?
> > > If so, I would like to take a look at your config, and maybe share what your OBP
> > > Firmware version is?
> > > 
> > > I have tried so far:
> > > 
> > > 1.- Explicitly setting (a pretty generous amount, i.e. >4GB) RAM to the primary, as
> > >     mentioned by Mark Kettenis in a previous thread;
> > > 2.- Quoting and unquoting the ldom names - If I unquote them, the boot process hangs
> > >     completely, never even reaching OpenFirmware's 'ok' prompt. If I quote them, I
> > >     experience the same errors mentioned in another thread ("Unknown hypervisor option...")
> > > 3.- Even resetting the service processor after changing LDOM configuration.
> > > 
> > > Any hints greatly appreciated!
> > > 
> > 
> > Could you share your ldom.conf file?
> 
> Here it is!
> 
> domain "primary" {
>     vcpu 4
>     memory 4G
> 
> }
> 
> domain "www" {
>     vcpu 6
>     memory 4G
>     vdisk "/home/admin/uat-config/vdisk1"
>     vnet
> }

This looks like a very simple config.

On my T4-1 I do not quote the names:

domain primary {
        vcpu 4:2
        memory 14G
        #iodevice "/@400/@1/@0/@0"      # /SYS/MB/RISER1/PCIE4
        #iodevice "/@400/@2/@0/@6"      # /SYS/MB/NET0
        variable boot-device = "/pci@400/pci@1/pci@0/pci@0/nvme@0/disk@1"
}
domain playground1 {
        vcpu 8:2
        memory 32G
        iodevice "/@400/@2/@0/@c"       # /SYS/MB/RISER0/PCIE3
        vnet
        vnet
        variable boot-device = "/pci@400/pci@2/pci@0/pci@c/nvme@0/disk@1"
}

I have no access to a T1000 or T2000 system. How much memory does your
system have?

-- 
:wq Claudio