Xen domu crash on boot

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Xen domu crash on boot

Bill MacAllister
I rebuilt a xen server today, first using the standard packages in
Ubuntu 18.04 and then using Ubuntu 16.04. I went back to 16.04 after I
was unable to get a domu's to boot successfully.  I have another
Xen host running successfully on 16.04.

I am building pv domu's using xen-create-image.  The command line I am
using is:

/usr/bin/xen-create-image --hostname=somehost.com --ip=10.0.0.44 \
  --memory=2Gb --genpass=1 --size=32Gb --pygrub --swap=2Gb  \
  --role=udev,cz-stretch --dist=stretch --arch=amd64

I was getting exactly the same behavior on the Ubuntu 18.04 system, i.e.
domu's crash on boot. What should I try?

I have been able to build a buster domu on the 16.04 system, but there
appears to be some entropy problems with it. I have to wait several
minutes after bootimg the domu before it will accept logins.  Once I see
the following message on the console I am able to login.

[  207.744797] random: crng init done
[  207.744814] random: 7 urandom warning(s) missed due to ratelimiting

This appears to be a problem with newer kernels.  Does anyone have a
work around?

Bill

_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xenproject.org/mailman/listinfo/xen-users
Reply | Threaded
Open this post in threaded view
|

Re: Xen domu crash on boot

Klaus Darilion
Maybe it is related to:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903821

Klaus

Am 30.07.2018 um 09:21 schrieb Billy MacAllister:

> I rebuilt a xen server today, first using the standard packages in
> Ubuntu 18.04 and then using Ubuntu 16.04. I went back to 16.04 after I
> was unable to get a domu's to boot successfully.  I have another
> Xen host running successfully on 16.04.
>
> I am building pv domu's using xen-create-image.  The command line I am
> using is:
>
> /usr/bin/xen-create-image --hostname=somehost.com --ip=10.0.0.44 \
>  --memory=2Gb --genpass=1 --size=32Gb --pygrub --swap=2Gb  \
>  --role=udev,cz-stretch --dist=stretch --arch=amd64
>
> I was getting exactly the same behavior on the Ubuntu 18.04 system, i.e.
> domu's crash on boot. What should I try?
>
> I have been able to build a buster domu on the 16.04 system, but there
> appears to be some entropy problems with it. I have to wait several
> minutes after bootimg the domu before it will accept logins.  Once I see
> the following message on the console I am able to login.
>
> [  207.744797] random: crng init done
> [  207.744814] random: 7 urandom warning(s) missed due to ratelimiting
>
> This appears to be a problem with newer kernels.  Does anyone have a
> work around?
>
> Bill
>
> _______________________________________________
> Xen-users mailing list
> [hidden email]
> https://lists.xenproject.org/mailman/listinfo/xen-users

_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xenproject.org/mailman/listinfo/xen-users
Reply | Threaded
Open this post in threaded view
|

Re: Xen domu crash on boot

Bill MacAllister
On 07/30/2018 01:46 AM, Klaus Darilion wrote:

> Am 30.07.2018 um 09:21 schrieb Billy MacAllister:
>> I rebuilt a xen server today, first using the standard packages in
>> Ubuntu 18.04 and then using Ubuntu 16.04. I went back to 16.04 after I
>> was unable to get a domu's to boot successfully.  I have another
>> Xen host running successfully on 16.04.
>>
>> I am building pv domu's using xen-create-image.  The command line I am
>> using is:
>>
>> /usr/bin/xen-create-image --hostname=somehost.com --ip=10.0.0.44 \
>>   --memory=2Gb --genpass=1 --size=32Gb --pygrub --swap=2Gb  \
>>   --role=udev,cz-stretch --dist=stretch --arch=amd64
>>
>> I was getting exactly the same behavior on the Ubuntu 18.04 system, i.e.
>> domu's crash on boot. What should I try?
>>
>> I have been able to build a buster domu on the 16.04 system, but there
>> appears to be some entropy problems with it. I have to wait several
>> minutes after bootimg the domu before it will accept logins.  Once I see
>> the following message on the console I am able to login.
>>
>> [  207.744797] random: crng init done
>> [  207.744814] random: 7 urandom warning(s) missed due to ratelimiting
>>
>> This appears to be a problem with newer kernels.  Does anyone have a
>> work around?
>>
 > Maybe it is related to:
 > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903821
 >
 > Klaus

Yes, that was it.  Just added extra = 'elevator=noop pti=off' to the cfg
for the domu's and they boot cleanly now.

Thanks a lot,

Bill

_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xenproject.org/mailman/listinfo/xen-users