Port-xen archive

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

NetBSD domU fails to shutdown/reboot



Hi,

I upgraded my NetBSD/i386 Xen domU to the latest 5.0.0_PATCH (sources updated and release built this morning) and now the host won't shutdown properly if I execute "xm shutdown -a" on dom0.


NetBSD/i386 (hostname) (console)

login:
Jun 18 09:18:50 hostname shutdown: poweroff by root: power button pressed
Jun 18 09:19:04 hostname syslogd: Exiting on signal 15
syncing disks... done
unmounting file systems...
unmounting /tmp (tmpfs)...
unmounting /proc (procfs)...
unmounting /dev/pts (ptyfs)...
unmounting /kern (kernfs)...
unmounting /home (/dev/xbd0e)...
unmounting / (/dev/xbd0a)... done


Also normal "reboot" or "shutdown -r now" or "halt -p" causes domU to hang after unmounting the filesystems. On the Linux dom0 I see

Name                                        ID   Mem VCPUs      State   Time(s)
  Domain-0                                     0   512     1     r-----    255.8
  hostname                                     1   512     1     ---s--     13.9

and I have to execute "xm destroy hostname" to kill the host. The difference is between the working and non-working kernel is

-NetBSD 5.0.0_PATCH (XEN3PAE_DOMU) #0: Mon May 18 08:50:17 EEST 2009
+NetBSD 5.0.0_PATCH (XEN3PAE_DOMU) #2: Thu Jun 18 04:52:58 EEST 2009

On real hardware (using GENERIC) shutdown works fine. Any ideas?

Martti


Home | Main Index | Thread Index | Old Index