Re: [OmniOS-discuss] Quick Test of r151021 ISO Install using Xen HVM and an "xdf" Device

2017-03-24 Thread Stephan Budach
Hi,

I have started out by simply copying the Xen disk image over to a omniOS host, 
where I attached the disk image using lofiadm. I then immediately tried zpool 
import -d /dev/lofi, but that didn't output anything. I then ran prtvtoc on the 
lofi device:

root@tr1207410:/tr1207410data01# prtvtoc /dev/lofi/1
* /dev/lofi/1 (volume "lofi") partition map
*
* Dimensions:
* 512 bytes/sector
*1449 sectors/track
*   1 tracks/cylinder
*1449 sectors/cylinder
*   46312 cylinders
*   46312 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
*  First SectorLast
* Partition  Tag  FlagsSector CountSector  Mount Directory
   0  001  0  67106088  67106087
This is what fdisk says about this volume:

root@tr1207410:/tr1207410data01# fdisk -R /dev/rlofi/1
 Total disk size is 46312 cylinders
 Cylinder size is 1449 (512 byte) blocks

   Cylinders
  Partition   StatusType  Start   End   Length%
  =   ==  =   ===   ==   ===
  1 EFI   0  4631346314100


So… there is something there, but how to mount that sucker?

Cheers,
Stephan


smime.p7s
Description: S/MIME cryptographic signature
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Quick Test of r151021 ISO Install using Xen HVM and an "xdf" Device

2017-03-23 Thread Stephan Budach


- Ursprüngliche Mail -
> Von: "Dan McDonald" <dan...@omniti.com>
> An: "Stephan Budach" <stephan.bud...@jvm.de>, "Dan McDonald" 
> <dan...@omniti.com>
> CC: "Prakash Surya" <prakash.su...@delphix.com>, "omnios-discuss" 
> <omnios-discuss@lists.omniti.com>
> Gesendet: Donnerstag, 23. März 2017 18:45:01
> Betreff: Re: [OmniOS-discuss] Quick Test of r151021 ISO Install using Xen HVM 
> and an "xdf" Device
> 
> 
> > On Mar 23, 2017, at 1:43 PM, Stephan Budach <stephan.bud...@jvm.de>
> > wrote:
> > 
> > Ha ha… yeah… I will try. Howerver, without any network
> > connectivity, I will be having quite a hard time getting those
> > dumps from the guest anywhere.
> 
> Can you maybe use the virtual-disks and attach them to a system with
> working network connectivity?
> 
> Just a thought,
> Dan
> 
> 
Yes, this is what I also thought, but the guest would need to be able to read 
the rpool. Will Solaris 11 be able to mount the rpool or is the underlying 
zpool version too far off? Solaris 11 runs as guest on Oracle VM…

Other than that, I could try to transfer the vdisk itself over to a omniOS box 
and just try to mount there. There was something about some offset, when doing 
this… with vdisk images, which I vaguely remember… ;)

Stephan



smime.p7s
Description: S/MIME cryptographic signature
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Quick Test of r151021 ISO Install using Xen HVM and an "xdf" Device

2017-03-23 Thread Dan McDonald

> On Mar 23, 2017, at 1:43 PM, Stephan Budach  wrote:
> 
> Ha ha… yeah… I will try. Howerver, without any network connectivity, I will 
> be having quite a hard time getting those dumps from the guest anywhere.

Can you maybe use the virtual-disks and attach them to a system with working 
network connectivity?

Just a thought,
Dan

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Quick Test of r151021 ISO Install using Xen HVM and an "xdf" Device

2017-03-23 Thread Stephan Budach
Ha ha… yeah… I will try. Howerver, without any network connectivity, I will be 
having quite a hard time getting those dumps from the guest anywhere. 


Cheers, 
Stephan 

- Ursprüngliche Mail -


Von: "Dan McDonald" <dan...@omniti.com> 
An: "Stephan Budach" <stephan.bud...@jvm.de>, "Dan McDonald" 
<dan...@omniti.com> 
CC: "Prakash Surya" <prakash.su...@delphix.com>, "omnios-discuss" 
<omnios-discuss@lists.omniti.com> 
Gesendet: Donnerstag, 23. März 2017 18:08:11 
Betreff: Re: [OmniOS-discuss] Quick Test of r151021 ISO Install using Xen HVM 
and an "xdf" Device 


Share kernel core dumps please so we can debug them please. 


Dan 

Sent from my iPhone (typos, autocorrect, and all) 

On Mar 23, 2017, at 1:05 PM, Stephan Budach < stephan.bud...@jvm.de > wrote: 






Hi, 


following-up on this thread, I managed to get the current r151021 ISO booting 
and installing on my Oracle VM Xen host - yay!! 


I have installed and tweaked /etc/system such as that the system boots up 
sucessfully. However, I am unable to configure the network card, since as soon 
as I am trying ipadm create-addr on it, omniOS crashes, dumps a core and 
reboots. 


Another interesting issue may be the fact that format shows two disks c1d0 
 and c2t0d0 , when there is only one disk in 
the system anyway and rpool has been installed on c3t0d0. 


Also, there're some occasional log messages to the console about a PCI device 
from which no SOF interrupts have been received and which is an unusable USB 
UHCI host controller at this point. 


Cheers, 
Stephan 









smime.p7s
Description: S/MIME cryptographic signature
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Quick Test of r151021 ISO Install using Xen HVM and an "xdf" Device

2017-03-23 Thread Dan McDonald
Share kernel core dumps please so we can debug them please.

Dan

Sent from my iPhone (typos, autocorrect, and all)

> On Mar 23, 2017, at 1:05 PM, Stephan Budach  wrote:
> 
> Hi,
> 
> following-up on this thread, I managed to get the current r151021 ISO booting 
> and installing on my Oracle VM Xen host - yay!!
> 
> I have installed and tweaked /etc/system such as that the system boots up 
> sucessfully. However, I am unable to configure the network card, since as 
> soon as I am trying ipadm create-addr on it, omniOS crashes, dumps a core and 
> reboots.
> 
> Another interesting issue may be the fact that format shows two disks c1d0 
>  and c2t0d0 , when there is only one disk in 
> the system anyway and rpool has been installed on c3t0d0.
> 
> Also, there're some occasional log messages to the console about  a PCI 
> device from which no SOF interrupts have been received and which is an 
> unusable USB UHCI host controller at this point.
> 
> Cheers,
> Stephan
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Quick Test of r151021 ISO Install using Xen HVM and an "xdf" Device

2017-03-23 Thread Stephan Budach
Hi, 

following-up on this thread, I managed to get the current r151021 ISO booting 
and installing on my Oracle VM Xen host - yay!! 

I have installed and tweaked /etc/system such as that the system boots up 
sucessfully. However, I am unable to configure the network card, since as soon 
as I am trying ipadm create-addr on it, omniOS crashes, dumps a core and 
reboots. 

Another interesting issue may be the fact that format shows two disks c1d0 
 and c2t0d0 , when there is only one disk in 
the system anyway and rpool has been installed on c3t0d0. 

Also, there're some occasional log messages to the console about a PCI device 
from which no SOF interrupts have been received and which is an unusable USB 
UHCI host controller at this point. 

Cheers, 
Stephan 

smime.p7s
Description: S/MIME cryptographic signature
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Quick Test of r151021 ISO Install using Xen HVM and an "xdf" Device

2017-03-08 Thread Eric Sproul
On Wed, Mar 8, 2017 at 10:08 AM, Dan McDonald  wrote:

>
> On Mar 8, 2017, at 2:28 AM, Stephan Budach  wrote:
>
> Can you elaborate on that a little more as of what exactly you did to the
> loader? I am guessing that you modified the kernel boot arguments,
> but unfortuanetly, I am unfamiliar with the new loader.
>
>
> Screenshots being inlined...
>
> Step 1:  Say hello to the new Loader menu:
>

Wow, this is awesome, Dan. Thanks for bringing this to OmniOS!

Eric
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Quick Test of r151021 ISO Install using Xen HVM and an "xdf" Device

2017-03-07 Thread Stephan Budach
Hi Prakash, 

- Ursprüngliche Mail -

> Von: "Prakash Surya" <prakash.su...@delphix.com>
> An: omnios-discuss@lists.omniti.com
> Gesendet: Mittwoch, 8. März 2017 01:55:19
> Betreff: [OmniOS-discuss] Quick Test of r151021 ISO Install using Xen
> HVM and an "xdf" Device

> Hey All,

> I just wanted to post and say that I've tested the new r151021 ISO
> installer using a Xen VM and was able to successfully perform the
> installation. Here's a copy of the Xen VM configuration that I used:

> # cat ami-template.cfg
> builder='hvm'
> name='ami-template'
> vcpus=4
> memory=4096
> vif=['bridge=xenbr0, type=ioemu']
> #disk=[ 'file:/root/psurya/omni-kayak/r151021-kayak.iso,hdb:cdrom,r',
> # 'file:/root/psurya/omni-kayak/ami-template.img,xvda,w' ]
> disk=[ 'file:/root/psurya/omni-kayak/ami-template.img,xvda,w' ]
> #boot='d'
> boot='c'
> vnc=1
> vnclisten='0.0.0.0'
> vncconsole=1
> on_crash='preserve'
> xen_platform_pci=1
> serial='pty'
> on_reboot='destroy'

> The only "catch", is I have to set "apix_enable" to 0. I do that
> using KMDB during the installer (e.g. edit the loader so I drop to
> KMDB first), and then edit "/etc/system" after the install is
> completed but prior to the first boot (so I don't have to keep using
> KMDB for every boot).

> If I don't set that tuning, the system will "hang" during boot up
> (this is a problem with illumos and Xen HVM, and not specific to
> OmniOS or the new ISO).

> Additionally, I've attached a PNG image with some "zpool" and
> "format" output from within the Xen VM running after the ISO install
> (hopefully the mailing list doesn't strip the image from this post).

> Cheers,
> Prakash

Can you elaborate on that a little more as of what exactly you did to the 
loader? I am guessing that you modified the kernel boot arguments, but 
unfortuanetly, I am unfamiliar with the new loader. 

Cheers, 
Stephan 


smime.p7s
Description: S/MIME cryptographic signature
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


[OmniOS-discuss] Quick Test of r151021 ISO Install using Xen HVM and an "xdf" Device

2017-03-07 Thread Prakash Surya
Hey All,

I just wanted to post and say that I've tested the new r151021 ISO
installer using a Xen VM and was able to successfully perform the
installation. Here's a copy of the Xen VM configuration that I used:

# cat ami-template.cfg
builder='hvm'
name='ami-template'
vcpus=4
memory=4096
vif=['bridge=xenbr0, type=ioemu']
#disk=[  'file:/root/psurya/omni-kayak/r151021-kayak.iso,hdb:cdrom,r',
#'file:/root/psurya/omni-kayak/ami-template.img,xvda,w' ]
disk=[  'file:/root/psurya/omni-kayak/ami-template.img,xvda,w' ]
#boot='d'
boot='c'
vnc=1
vnclisten='0.0.0.0'
vncconsole=1
on_crash='preserve'
xen_platform_pci=1
serial='pty'
on_reboot='destroy'

The only "catch", is I have to set "apix_enable" to 0. I do that using KMDB
during the installer (e.g. edit the loader so I drop to KMDB first), and
then edit "/etc/system" after the install is completed but prior to the
first boot (so I don't have to keep using KMDB for every boot).

If I don't set that tuning, the system will "hang" during boot up (this is
a problem with illumos and Xen HVM, and not specific to OmniOS or the new
ISO).

Additionally, I've attached a PNG image with some "zpool" and "format"
output from within the Xen VM running after the ISO install (hopefully the
mailing list doesn't strip the image from this post).

Cheers,
Prakash
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss