NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-xen/53965: XEN DomU fails to poweroff in new HEAD kernels



On Sat, Feb 09, 2019 at 05:40:01PM +0000, Greg Oster wrote:
>  I'm seeing this with an 8.0_STABLE DOM0... I instrumented cpu_reset()
>  with printfs before/after the call to HYPERVISOR_reboot():
>  
>  #ifdef XEN
>          printf("calling HYPERVISOR_reboot()\n");
>  	HYPERVISOR_reboot();
>          printf("done HYPERVISOR_reboot()\n");
>  #else
>  
>  and both are printed:
>  [ 119.1643554] xbd1: detached
>  [ 119.3838479] rebooting...
>  [ 119.3838479] calling x86_disable_intr()
>  [ 119.3838479] calling HYPERVISOR_reboot()
>  [ 119.3838479] done HYPERVISOR_reboot()
>  
>  I note that if I do a 'shutdown -h' I can enter 5 "+"'s to get to ddb,
>  but once it hits the "done HYPERVISOR_reboot()" I can no longer get to
>  ddb on the DOMU.
>  
>  Is HYPERVISOR_reboot() expected to return?  The next line in

I don't think it should, indeed.

AFAIK shutdown -r always worked properly for me, even with 8.0.
shutdown -p never did

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index