WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-users] Re: [Xen-devel] Re: 2.6.28.7 domU: 32-bit emulation seems to

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: [Xen-users] Re: [Xen-devel] Re: 2.6.28.7 domU: 32-bit emulation seems to be broken
From: Sven Köhler <sven.koehler@xxxxxxxxx>
Date: Sat, 14 Mar 2009 10:13:41 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 14 Mar 2009 02:14:43 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type; bh=mabo83URxllcKTILAM0wJM9DCDwJUeqAiba86qslUHU=; b=J/ofQq/tJQDS4SzGAB6U1jgrv+dHDj7wqkHOmCUCAr18jiDtga5SmDoAVvHrHUimvp e+iNJefWprrzaMW6wINON5/gDncZ9u+kY5uW+MsWhf+nFDsjd94Ayw3y3lgfNGDh+UlK fpYgbe35J5Rw3/sy4xaMvOhmGG06R8DeqNN70=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; b=d65I7ZCrwT5G3zZcziMiOJCXR9J3iZ3hIl3CMnACFqUWTAHWb8joEN5wAzmKAw/Cj5 5aXmFir3s3a970Vu9QqBqGz6KlA/AEHGp3+PPRqDG+7B3RW/x+KImqM4dOH5LmRjy0X7 sFjhkjXcp1IG2jGHR41LveXu0rAEZufOLLKTA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49BAFC72.4040501@xxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <gpe0vg$j67$1@xxxxxxxxxxxxx> <gpei6e$gcn$1@xxxxxxxxxxxxx> <49BAFC72.4040501@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (X11/20090128)
Jeremy Fitzhardinge schrieb:
Sven Köhler wrote:
Also asking the devel-list for help:

Sven Köhler schrieb:
Hi,

I cannot execute any 32-bit executables. Same problem with 2.6.29-rc7.

I compiled and linked them statically on another machine where they work
just fine! But inside the xen domU, they just segfault:


a.out[32093] general protection ip:f7f7042f sp:ffc6f2d4 error:0


Is this a knows problem? CONFIG_IA32_EMULATION is turned on!

Hm, it works for me. Can you give more detail about what you're trying to run, the kernel .config and the distro? dmesg output would have some clues too.

xm dmesg shows nothing.

A full dmesg of the domU kernel is attached.

Mar 13 13:09:49 xen-sk1 kernel: klogd 1.4.1, log source = /proc/kmsg started.
Mar 13 13:09:49 xen-sk1 kernel: Cannot find map file.
Mar 13 13:09:49 xen-sk1 kernel: Linux version 2.6.28.7 
(root@xxxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.2 (Gentoo 4.1.2)) #7 Fri Mar 13 
13:08:54 CET 2009
Mar 13 13:09:49 xen-sk1 kernel: Command line: root=/dev/xvda1 ro
Mar 13 13:09:49 xen-sk1 kernel: KERNEL supported cpus:
Mar 13 13:09:49 xen-sk1 kernel:   Intel GenuineIntel
Mar 13 13:09:49 xen-sk1 kernel:   AMD AuthenticAMD
Mar 13 13:09:49 xen-sk1 kernel:   Centaur CentaurHauls
Mar 13 13:09:49 xen-sk1 kernel: BIOS-provided physical RAM map:
Mar 13 13:09:49 xen-sk1 kernel:  Xen: 0000000000000000 - 00000000000a0000 
(usable)
Mar 13 13:09:49 xen-sk1 kernel:  Xen: 00000000000a0000 - 0000000000100000 
(reserved)
Mar 13 13:09:49 xen-sk1 kernel:  Xen: 0000000000100000 - 00000000007c6000 
(usable)
Mar 13 13:09:49 xen-sk1 kernel:  Xen: 00000000007c6000 - 00000000008a0000 
(reserved)
Mar 13 13:09:49 xen-sk1 kernel:  Xen: 00000000008a0000 - 000000001ae00000 
(usable)
Mar 13 13:09:49 xen-sk1 kernel: DMI not present or invalid.
Mar 13 13:09:49 xen-sk1 kernel: last_pfn = 0x1ae00 max_arch_pfn = 0x3ffffffff
Mar 13 13:09:49 xen-sk1 kernel: init_memory_mapping: 
0000000000000000-000000001ae00000
Mar 13 13:09:49 xen-sk1 kernel: last_map_addr: 1ae00000 end: 1ae00000
Mar 13 13:09:49 xen-sk1 kernel: (4 early reservations) ==> bootmem [0000000000 
- 001ae00000]
Mar 13 13:09:49 xen-sk1 kernel:   #0 [0000000000 - 0000001000]   BIOS data page 
==> [0000000000 - 0000001000]
Mar 13 13:09:49 xen-sk1 kernel:   #1 [00008a0000 - 00008a9000]   XEN PAGETABLES 
==> [00008a0000 - 00008a9000]
Mar 13 13:09:49 xen-sk1 kernel:   #2 [0000200000 - 00007c5468]    TEXT DATA BSS 
==> [0000200000 - 00007c5468]
Mar 13 13:09:49 xen-sk1 kernel:   #3 [0000100000 - 00001cd000]          PGTABLE 
==> [0000100000 - 00001cd000]
Mar 13 13:09:49 xen-sk1 kernel: Zone PFN ranges:
Mar 13 13:09:49 xen-sk1 kernel:   DMA      0x00000000 -> 0x00001000
Mar 13 13:09:49 xen-sk1 kernel:   DMA32    0x00001000 -> 0x00100000
Mar 13 13:09:49 xen-sk1 kernel:   Normal   0x00100000 -> 0x00100000
Mar 13 13:09:49 xen-sk1 kernel: Movable zone start PFN for each node
Mar 13 13:09:49 xen-sk1 kernel: early_node_map[3] active PFN ranges
Mar 13 13:09:49 xen-sk1 kernel:     0: 0x00000000 -> 0x000000a0
Mar 13 13:09:49 xen-sk1 kernel:     0: 0x00000100 -> 0x000007c6
Mar 13 13:09:49 xen-sk1 kernel:     0: 0x000008a0 -> 0x0001ae00
Mar 13 13:09:49 xen-sk1 kernel: No local APIC present
Mar 13 13:09:49 xen-sk1 kernel: Allocating PCI resources starting at 20000000 
(gap: 1ae00000:e5200000)
Mar 13 13:09:49 xen-sk1 kernel: Built 1 zonelists in Zone order, mobility 
grouping on.  Total pages: 106569
Mar 13 13:09:49 xen-sk1 kernel: Kernel command line: root=/dev/xvda1 ro
Mar 13 13:09:49 xen-sk1 kernel: Initializing CPU#0
Mar 13 13:09:49 xen-sk1 kernel: PID hash table entries: 2048 (order: 11, 16384 
bytes)
Mar 13 13:09:49 xen-sk1 kernel: Detected 2399.726 MHz processor.
Mar 13 13:09:49 xen-sk1 kernel: Console: colour dummy device 80x25
Mar 13 13:09:49 xen-sk1 kernel: console [tty0] enabled
Mar 13 13:09:49 xen-sk1 kernel: console [hvc0] enabled
Mar 13 13:09:49 xen-sk1 kernel: Dentry cache hash table entries: 65536 (order: 
7, 524288 bytes)
Mar 13 13:09:49 xen-sk1 kernel: Inode-cache hash table entries: 32768 (order: 
6, 262144 bytes)
Mar 13 13:09:49 xen-sk1 kernel: Memory: 423588k/440320k available (3176k kernel 
code, 1256k absent, 14908k reserved, 1836k data, 272k init)
Mar 13 13:09:49 xen-sk1 kernel: installing Xen timer for CPU 0
Mar 13 13:09:49 xen-sk1 kernel: Calibrating delay loop (skipped), value 
calculated using timer frequency.. 4799.45 BogoMIPS (lpj=23997260)
Mar 13 13:09:49 xen-sk1 kernel: Mount-cache hash table entries: 256
Mar 13 13:09:49 xen-sk1 kernel: CPU: L1 I Cache: 64K (64 bytes/line), D cache 
64K (64 bytes/line)
Mar 13 13:09:49 xen-sk1 kernel: CPU: L2 Cache: 512K (64 bytes/line)
Mar 13 13:09:49 xen-sk1 kernel: CPU: AMD Athlon(tm) 64 Processor 3800+ stepping 
02
Mar 13 13:09:49 xen-sk1 kernel: Apic disabled by BIOS
Mar 13 13:09:49 xen-sk1 kernel: net_namespace: 888 bytes
Mar 13 13:09:49 xen-sk1 kernel: Booting paravirtualized kernel on Xen
Mar 13 13:09:49 xen-sk1 kernel: Xen version: 3.3.0 (preserve-AD)
Mar 13 13:09:49 xen-sk1 kernel: Grant table initialized
Mar 13 13:09:49 xen-sk1 kernel: NET: Registered protocol family 16
Mar 13 13:09:49 xen-sk1 kernel: NET: Registered protocol family 2
Mar 13 13:09:49 xen-sk1 kernel: IP route cache hash table entries: 4096 (order: 
3, 32768 bytes)
Mar 13 13:09:49 xen-sk1 kernel: TCP established hash table entries: 16384 
(order: 6, 262144 bytes)
Mar 13 13:09:49 xen-sk1 kernel: TCP bind hash table entries: 16384 (order: 5, 
131072 bytes)
Mar 13 13:09:49 xen-sk1 kernel: TCP: Hash tables configured (established 16384 
bind 16384)
Mar 13 13:09:49 xen-sk1 kernel: TCP reno registered
Mar 13 13:09:49 xen-sk1 kernel: NET: Registered protocol family 1
Mar 13 13:09:49 xen-sk1 kernel: platform rtc_cmos: registered platform RTC 
device (no PNP device found)
Mar 13 13:09:49 xen-sk1 kernel: 00000000: 00 01 02 03 04 05 06 07 08 08 08 08 
08 08 08 08 
Mar 13 13:09:49 xen-sk1 kernel: Installing knfsd (copyright (C) 1996 
okir@xxxxxxxxxxxx).
Mar 13 13:09:49 xen-sk1 kernel: fuse init (API version 7.10)
Mar 13 13:09:49 xen-sk1 kernel: msgmni has been set to 828
Mar 13 13:09:49 xen-sk1 kernel: alg: No test for cipher_null 
(cipher_null-generic)
Mar 13 13:09:49 xen-sk1 kernel: alg: No test for digest_null 
(digest_null-generic)
Mar 13 13:09:49 xen-sk1 kernel: alg: No test for compress_null 
(compress_null-generic)
Mar 13 13:09:49 xen-sk1 kernel: alg: No test for fcrypt (fcrypt-generic)
Mar 13 13:09:49 xen-sk1 kernel: alg: No test for stdrng (krng)
Mar 13 13:09:49 xen-sk1 kernel: alg: No test for stdrng (ansi_cprng)
Mar 13 13:09:49 xen-sk1 kernel: io scheduler noop registered
Mar 13 13:09:49 xen-sk1 kernel: io scheduler anticipatory registered
Mar 13 13:09:49 xen-sk1 kernel: io scheduler deadline registered
Mar 13 13:09:49 xen-sk1 kernel: io scheduler cfq registered (default)
Mar 13 13:09:49 xen-sk1 kernel: Hangcheck: starting hangcheck timer 0.9.0 (tick 
is 180 seconds, margin is 60 seconds).
Mar 13 13:09:49 xen-sk1 kernel: Hangcheck: Using get_cycles().
Mar 13 13:09:49 xen-sk1 kernel: loop: module loaded
Mar 13 13:09:49 xen-sk1 kernel: PPP generic driver version 2.4.2
Mar 13 13:09:49 xen-sk1 kernel: PPP Deflate Compression module registered
Mar 13 13:09:49 xen-sk1 kernel: PPP BSD Compression module registered
Mar 13 13:09:49 xen-sk1 kernel: Initialising Xen virtual ethernet driver.
Mar 13 13:09:49 xen-sk1 kernel: blkfront: xvda1: barriers enabled
Mar 13 13:09:49 xen-sk1 kernel: blkfront: xvda2: barriers enabled
Mar 13 13:09:49 xen-sk1 kernel: tun: Universal TUN/TAP device driver, 1.6
Mar 13 13:09:49 xen-sk1 kernel: tun: (C) 1999-2004 Max Krasnyansky 
<maxk@xxxxxxxxxxxx>
Mar 13 13:09:49 xen-sk1 kernel: mice: PS/2 mouse device common for all mice
Mar 13 13:09:49 xen-sk1 kernel: device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) 
initialised: dm-devel@xxxxxxxxxx
Mar 13 13:09:49 xen-sk1 kernel: Netfilter messages via NETLINK v0.30.
Mar 13 13:09:49 xen-sk1 kernel: nf_conntrack version 0.5.0 (3440 buckets, 13760 
max)
Mar 13 13:09:49 xen-sk1 kernel: CONFIG_NF_CT_ACCT is deprecated and will be 
removed soon. Please use
Mar 13 13:09:49 xen-sk1 kernel: nf_conntrack.acct=1 kernel paramater, acct=1 
nf_conntrack module option or
Mar 13 13:09:49 xen-sk1 kernel: sysctl net.netfilter.nf_conntrack_acct=1 to 
enable it.
Mar 13 13:09:49 xen-sk1 kernel: ctnetlink v0.93: registering with nfnetlink.
Mar 13 13:09:49 xen-sk1 kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Mar 13 13:09:49 xen-sk1 kernel: arp_tables: (C) 2002 David S. Miller
Mar 13 13:09:49 xen-sk1 kernel: TCP cubic registered
Mar 13 13:09:49 xen-sk1 kernel: NET: Registered protocol family 17
Mar 13 13:09:49 xen-sk1 kernel: Bridge firewalling registered
Mar 13 13:09:49 xen-sk1 kernel: Ebtables v2.0 registered
Mar 13 13:09:49 xen-sk1 kernel: RPC: Registered udp transport module.
Mar 13 13:09:49 xen-sk1 kernel: RPC: Registered tcp transport module.
Mar 13 13:09:49 xen-sk1 kernel: XENBUS: Device with no driver: device/console/0
Mar 13 13:09:49 xen-sk1 kernel: kjournald starting.  Commit interval 5 seconds
Mar 13 13:09:49 xen-sk1 kernel: EXT3-fs: mounted filesystem with ordered data 
mode.
Mar 13 13:09:49 xen-sk1 kernel: VFS: Mounted root (ext3 filesystem) readonly.
Mar 13 13:09:49 xen-sk1 kernel: Freeing unused kernel memory: 272k freed
Mar 13 13:09:49 xen-sk1 kernel: EXT3 FS on xvda1, internal journal
Mar 13 13:09:49 xen-sk1 kernel: Adding 995988k swap on /dev/xvda2.  Priority:-1 
extents:1 across:995988k
Mar 13 17:20:12 xen-sk1 kernel: a.out[1792] general protection ip:f7fd942f 
sp:ffed6934 error:0
Mar 14 03:10:59 xen-sk1 syslogd 1.4.1: restart.
Mar 14 10:06:40 xen-sk1 kernel: a.out[6030] general protection ip:f7ffa42f 
sp:ff8f9354 error:0
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users