ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: devel@lists.altlinux.org
Subject: Re: [devel] qemu-ppc hangs
Date: Wed, 1 Aug 2012 19:03:53 +0300
Message-ID: <20120801160353.GC31323@osdn.org.ua> (raw)
In-Reply-To: <20120731124058.GA2728@shutemov.name>

On Tue, Jul 31, 2012 at 03:40:58PM +0300, Kirill A. Shutemov wrote:
> > qemu-ppc:
> > /usr/src/RPM/BUILD/qemu-1.1.0/linux-user/signal.c:4341:
> > setup_frame: Assertion `({ unsigned long __guest = (unsigned
> > long)(ka->_sa_handler) - guest_base; (__guest < (1ul << 32))
> > && (!reserved_va || (__guest < reserved_va)); })' failed.
> > qemu: uncaught target signal 6 (Aborted) - core dumped
> Указатель ka->_sa_handler не помещается в target address space.
> Пытаешься эмулировать ppc32 на x86_64? Я в своё время давил
> много багов с 32-х битным таргетом на 64-х битном хосте.
> Как workaround -- попробуй 32-х битный хост.

Симптомы те же, висим на /.host/entry до таймаута.

> Исошка бы не помешала.

Добавил strace, пакетик livecd-qemu-arch с конфигурацией apt
для arm/ppc и скриптиками для binfmt_misc, положил hasher-priv
с патчиком насчёт QEMU_STRACE=1:

http://ftp.linux.kiev.ua/pub/Linux/ALT/people/mike/iso/mkimage-profiles/tmp/live-builder-20120801-i586.iso
http://ftp.linux.kiev.ua/pub/Linux/ALT/people/mike/iso/mkimage-profiles/tmp/live-builder-20120801-x86_64.iso

Тестировал на VM с 4Gb RAM и доступом в интернет:

tty2 # register-qemu-ppc
tty2 # cat /proc/sys/fs/binfmt_misc/ppc

tty3 $ cd /usr/share/mkimage-profiles
tty3 $ make ARCH=ppc APTCONF=/etc/apt/apt.conf.4.1.ppc ve/bare.tar

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  reply	other threads:[~2012-08-01 16:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-30 19:13     ` [devel] qemu-ppc hangs (was: [devel-distro] I: mkimage-profiles 0.7.4-alt1) Michael Shigorin
2012-07-31 12:40       ` Kirill A. Shutemov
2012-08-01 16:03         ` Michael Shigorin [this message]
2012-08-01 19:14           ` [devel] qemu-ppc hangs Kirill A. Shutemov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120801160353.GC31323@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git