[Pkg-xen-devel] Bug#369042: xen-utils-3.0: does not work with 32.bit userspace and 64-bit kernel

Steinar H. Gunderson sgunderson at bigfoot.com
Fri May 26 23:34:19 UTC 2006


Package: xen-utils-3.0
Severity: normal

32-bit (i386) xend is completely broken when running on a 64-bit (amd64)
dom0 kernel (under a 64-bit hypervisor). "xend start" gives (in dmesg):

  [  149.356355] ioctl32(xenstored:9100): Unknown cmd fd(19) cmd(00084501){00} arg(ffffcae8) on /dev/xen/evtchn
  [  149.356628] xenstored[9100]: segfault at 000000000000001c rip 000000000804d6bf rsp 00000000ffffcb00 error 6
  [  149.395409] ioctl32(python:9108): Unknown cmd fd(3) cmd(00185000){00} arg(ffffc534) on /proc/xen/privcmd
  [  149.395695] ioctl32(python:9108): Unknown cmd fd(3) cmd(00185000){00} arg(ffffc534) on /proc/xen/privcmd

and then xend just gets an exception and dies.

I guess this bug might ultimately lie in the kernel, which needs to
provide 32-bit ioctl emulation for the Xen ioctls, but the userspace
should at least give a proper _error_, not just segfault/exception out
and die badly.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.11
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)




More information about the Pkg-xen-devel mailing list