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



The following reply was made to PR port-xen/53965; it has been noted by GNATS.

From: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: port-xen-maintainer%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        netbsd-bugs%netbsd.org@localhost, kre%munnari.OZ.AU@localhost
Subject: Re: port-xen/53965: XEN DomU fails to poweroff in new HEAD kernels
Date: Sat, 9 Feb 2019 19:11:44 +0100

 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