grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: Unable to run grub-mkrescue powerpc ISO in QEMU
Date: Sun, 06 Apr 2014 11:59:52 +0200	[thread overview]
Message-ID: <53412598.8070801@gmail.com> (raw)
In-Reply-To: <20140406082457.5c46f78c@opensuse.site>

[-- Attachment #1: Type: text/plain, Size: 4865 bytes --]

On 06.04.2014 06:24, Andrey Borzenkov wrote:
> Using "qemu-system-ppc -cdrom /tmp/grub2-ppc.iso -boot d
> -nographic" (-nographic just to capture output) I get
> 
CNR with either upstream or phcoder/no-libgcc. Do you put anything in
grub.cfg?
>>> =============================================================
>>> OpenBIOS 1.1 [Jul 30 2013 21:44]
>>> Configuration device id QEMU version 1 machine id 2
>>> CPUs: 1
>>> Memory: 128M
>>> UUID: 00000000-0000-0000-0000-000000000000
>>> CPU type PowerPC,750
> Welcome to OpenBIOS v1.1 built on Jul 30 2013 21:44
> Trying cd:,\\:tbxi...
> call-method color!: exception -21 
> call-method color!: exception -21 
> call-method color!: exception -21 
> call-method color!: exception -21 
> call-method color!: exception -21 
> call-method color!: exception -21 
> call-method color!: exception -21 
> call-method color!: exception -21 
> Welcome to GRUB!
> 
> call-method block-size: exception -21 
> call-method block-size: exception -21 
> call-method block-size: exception -21 
> call-method block-size: exception -21 
> call-method block-size: exception -21 
> call-method block-size: exception -21 
> call-method block-size: exception -21 
> call-method block-size: exception -21 
> call-method block-size: exception -21 
> call-method block-size: exception -21 
> call-method block-size: exception -21 
> 
> 
> Using "qemu-system-ppc64 -M pseries -no-reboot
> -cdrom /tmp/grub2-ppc.iso -boot d -serial file:/dev/stdout -serial
> null" it goes as far as booting from CD, displays Welcome to GRUB and
> crashes:
> 
>>> =============================================================
>>> OpenBIOS 1.1 [Jul 30 2013 21:44]
>>> Configuration device id QEMU version 1 machine id 2
>>> CPUs: 1
>>> Memory: 128M
>>> UUID: 00000000-0000-0000-0000-000000000000
>>> CPU type PowerPC,750
> bor@opensuse:~/src/linux> qemu-system-ppc64 -M pseries -no-reboot -cdrom /tmp/grub2-ppc.iso -boot d -serial file:/dev/stdout -serial null 
> Warning: default mac address being used, creating potential for address conflict
> Warning: Disabling some instructions which are not emulated by TCG (0x0, 0x6)
> 
> 
> SLOF **********************************************************************
> QEMU Starting
>  Build Date = Apr 30 2013 14:04:00
>  FW Version = git-8cfdfc43f4c4c8c8
>  Press "s" to enter Open Firmware.
> 
> Populating /vdevice methods
> Populating /vdevice/vty@71000000
> Populating /vdevice/vty@71000001
> Populating /vdevice/nvram@71000002
> 
> NVRAM: size=65536, fetch=200E, store=200F
> Populating /vdevice/l-lan@71000003
> Populating /vdevice/v-scsi@71000004
> VSCSI: Initializing
> VSCSI: Looking for devices
>   8200000000000000 CD-ROM   : "QEMU     QEMU CD-ROM      1.6."
> Populating /pci@800000020000000
>  Adapters on 0800000020000000
>                      00 0000 (D) : 1234 1111    qemu vga
>                      00 0800 (D) : 106b 003f    serial bus [ usb-ohci ]
> No NVRAM common partition, re-initializing...
> Installing QEMU fb
>  Scan USB... 
>   USB Keyboard
>   USB Mouse
> No console specified using screen & keyboard
>      
> 
> 
>   Welcome to Open Firmware
> 
>   Copyright (c) 2004, 2011 IBM Corporation All rights reserved.
>   This program and the accompanying materials are made available
>   under the terms of the BSD License available at
>   http://www.opensource.org/licenses/bsd-license.php
> 
> 
> Trying to load:  from: cdrom ...   Successfully loaded
>  
> 
> ( 700 ) Program Exception [ 0 ]
> 
> 
>     R0 .. R7           R8 .. R15         R16 .. R23         R24 .. R31
> 00000000000000b0   0000000000000000   0000000000000000   0000000000000000   
> 0000000005d32d50   0000000000000000   0000000000000000   0000000000000000   
> 0000000000000000   0000000000000001   0000000000000000   0000000000000000   
> 00000000001f4d30   0000000005d32f10   0000000000000000   00000000ffffffff   
> 00000000001f4da0   0000000040022028   00000000001f4da0   0000000000000000   
> 0000000000000000   0000000000000000   0000000000000000   0000000000000000   
> 0000000000000000   0000000000000000   0000000000000000   00000000001f4d30   
> 000000000020f8f0   0000000000000000   0000000000000001   000000000020f8f0   
> 
>     CR / XER           LR / CTR          SRR0 / SRR1        DAR / DSISR
>         80022028   000000000016a5c8   0000000000169cd0   0000000000000000   
> 0000000020000000   0000000000204230   0000000000082000           00000000   
> 
> 
> 2 > 
> 
> bor@opensuse:~/src/linux> qemu-system-ppc --version
> QEMU emulator version 1.6.2, Copyright (c) 2003-2008 Fabrice Bellard
> bor@opensuse:~/src/linux> 
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 274 bytes --]

  reply	other threads:[~2014-04-06 10:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-06  4:24 Unable to run grub-mkrescue powerpc ISO in QEMU Andrey Borzenkov
2014-04-06  9:59 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2014-05-01 16:39   ` Andrey Borzenkov

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=53412598.8070801@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).