qemu-alpha-static: second stage debootstrap fails with multiple errors

Bug #1254858 reported by Ken Sharp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qemu-linaro (Ubuntu)
New
Undecided
Unassigned

Bug Description

Host: Ubuntu Precise amd64
Guest: Debian Sid alpha

While running debootstrap the second stage fails with multiple errors. chrooting to the directory suggests the failures are due to qemu rather than debootstrap.

$ sudo qemu-debootstrap --no-check-gpg --arch=alpha sid alpha http://ftp.debian-ports.org/debian
[...]
I: Running command: chroot alpha /debootstrap/debootstrap --second-stage
/usr/bin/id: error while loading shared libraries: libpcre.so.3: failed to map segment from shared object: Cannot allocate memory
/debootstrap/debootstrap: 468: [: -ne: unexpected operator
/bin/mkdir: error while loading shared libraries: libpcre.so.3: failed to map segment from shared object: Cannot allocate memory
/bin/mknod: error while loading shared libraries: libpcre.so.3: failed to map segment from shared object: Cannot allocate memory
E: Cannot install into target '/' mounted with noexec or nodev

$ sudo chroot alpha
qemu: Unsupported syscall: 87
I have no name!@??host??:/# ls

[1]+ Stopped ls
I have no name!@??host??:/# ls
Segmentation fault (core dumped)
I have no name!@??host??:/# exit
exit
There are stopped jobs.
I have no name!@??host??:/# exit
exit
$ Unhandled trap: 0x10000
     PC 0000000120076df0 PS 08
IR00 v0 0000000000000004 IR01 t0 000000012013e6f8 IR02 t1 00000040008010a8
IR03 t2 00000000001b3108 IR04 t3 0000000000000000 IR05 t4 0000000000000000
IR06 t5 0000000000000000 IR07 t6 0000000000000003 IR08 t7 0000000000000007
IR09 s0 0000000000000000 IR10 s1 00000000000309cb IR11 s2 00000000000309cb
IR12 s3 000000012013e6f8 IR13 s4 000000012013e6f8 IR14 s5 000000012015af80
IR15 fp 000000012013e6f8 IR16 a0 0000000000000001 IR17 a1 0000000000000000
IR18 a2 0000004000800e40 IR19 a3 0000000000000001 IR20 a4 000000000004d6e0
IR21 a5 00000000000000df IR22 t8 0000000000000004 IR23 t9 0000000120040e44
IR24 t10 0000000120138398 IR25 t11 0000000000000000 IR26 ra 000000000004d6e0
IR27 t12 0000000120076df0 IR28 at 000000007c96e4b3 IR29 gp 00000000001b8ef8
IR30 sp 0000004000800e40 lock_a ffffffffffffffff lock_v 0000000000000000
FIR00 0000000000000000 FIR01 0000000000000000 FIR02 0000000000000000
FIR03 0000000000000000 FIR04 0000000000000000 FIR05 0000000000000000
FIR06 0000000000000000 FIR07 0000000000000000 FIR08 0000000000000000
FIR09 0000000000000000 FIR10 0000000000000000 FIR11 0000000000000000
FIR12 0000000000000000 FIR13 0000000000000000 FIR14 0000000000000000
FIR15 0000000000000000 FIR16 0000000000000000 FIR17 0000000000000000
FIR18 0000000000000000 FIR19 0000000000000000 FIR20 0000000000000000
FIR21 0000000000000000 FIR22 0000000000000000 FIR23 0000000000000000
FIR24 0000000000000000 FIR25 0000000000000000 FIR26 0000000000000000
FIR27 0000000000000000 FIR28 0000000000000000 FIR29 0000000000000000
FIR30 0000000000000000

On i386:

# chroot alpha /debootstrap/debootstrap --second-stage
Segmentation fault (core dumped)
Segmentation fault (core dumped)
Segmentation fault (core dumped)

# chroot alpha
Segmentation fault (core dumped)

My guess is that the alpha stuff is very broken.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: qemu-user-static 1.0.50-2012.03-0ubuntu2.1
ProcVersionSignature: Ubuntu 3.8.0-33.48~precise1-generic 3.8.13.11
Uname: Linux 3.8.0-33-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Mon Nov 25 19:18:35 2013
Dependencies:

InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
MarkForUpload: True
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: qemu-linaro
UpgradeStatus: No upgrade log present (probably fresh install)

Ken Sharp (kennybobs)
tags: added: i386
Revision history for this message
Ken Sharp (kennybobs) wrote :

Version: 1.6.0+dfsg-2ubuntu4

In Trusty (qemu) there are still errors but I do not think that they are the same. I would say that this particular bug is fixed in trusty in qemu project (versus qemu-linaro).

Ken Sharp (kennybobs)
tags: added: saucy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.