Steinar H. Gunderson
2006-May-27 00:02 UTC
[Pkg-xen-devel] Bug#369042: xen-utils-3.0: does not work with 32.bit userspace and 64-bit kernel
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)
Reasonably Related Threads
- [rfc][patch][linux] ioctl32() compat plumbing for xen calls
- [PATCH 01/18] media/v4l2: remove V4L2-FLAG-MEMORY-NON-CONSISTENT flag
- Processed: forcibly merging 369042 503287 ...
- Processed: reassign 808624 to src:xen, forcibly merging 369042 808624
- Package "datasets" not exporting anything on a recent R-2.15.1-patched