* Unable to run grub-mkrescue powerpc ISO in QEMU
@ 2014-04-06 4:24 Andrey Borzenkov
2014-04-06 9:59 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 1 reply; 3+ messages in thread
From: Andrey Borzenkov @ 2014-04-06 4:24 UTC (permalink / raw)
To: grub-devel
Using "qemu-system-ppc -cdrom /tmp/grub2-ppc.iso -boot d
-nographic" (-nographic just to capture output) I get
>> =============================================================
>> 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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Unable to run grub-mkrescue powerpc ISO in QEMU
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
2014-05-01 16:39 ` Andrey Borzenkov
0 siblings, 1 reply; 3+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2014-04-06 9:59 UTC (permalink / raw)
To: The development of GNU GRUB
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Unable to run grub-mkrescue powerpc ISO in QEMU
2014-04-06 9:59 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2014-05-01 16:39 ` Andrey Borzenkov
0 siblings, 0 replies; 3+ messages in thread
From: Andrey Borzenkov @ 2014-05-01 16:39 UTC (permalink / raw)
To: The development of GNU GRUB; +Cc: phcoder
[-- Attachment #1: Type: text/plain, Size: 3914 bytes --]
В Sun, 06 Apr 2014 11:59:52 +0200
Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com> пишет:
> 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?
grub.cfg is empty. Not sure what exactly changed but using QEMU 2.0 +
current no-libgcc tip + whatever was changed in build system I now get
grub prompt but it fails to access devices. Looks like something is
missing in OBP? Could you show your command line you use to start grub?
bor@opensuse:~> qemu-system-ppc -cdrom /tmp/grub2-ppc.iso -boot d -hda /datastore/kvm/btrfs/hda.img -nographic
Warning: default mac address being used, creating potential for address conflict
>> =============================================================
>> OpenBIOS 1.1 [Mar 10 2014 08:42]
>> 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 Mar 10 2014 08:42
Trying cd:,\\:tbxi...
call-method color!: exception -21
>> call-method color! failed with error ffffffdf
call-method color!: exception -21
>> call-method color! failed with error ffffffdf
call-method color!: exception -21
>> call-method color! failed with error ffffffdf
call-method color!: exception -21
>> call-method color! failed with error ffffffdf
call-method color!: exception -21
>> call-method color! failed with error ffffffdf
call-method color!: exception -21
>> call-method color! failed with error ffffffdf
call-method color!: exception -21
>> call-method color! failed with error ffffffdf
call-method color!: exception -21
>> call-method color! failed with error ffffffdf
Welcome to GRUB!
call-method block-size: exception -21
>> call-method block-size failed with error ffffffdf
call-method block-size: exception -21
>> call-method block-size failed with error ffffffdf
call-method block-size: exception -21
>> call-method block-size failed with error ffffffdf
call-method block-size: exception -21
>> call-method block-size failed with error ffffffdf
call-method block-size: exception -21
>> call-method block-size failed with error ffffffdf
call-method block-size: exception -21
>> call-method block-size failed with error ffffffdf
call-method block-size: exception -21
>> call-method block-size failed with error ffffffdf
call-method block-size: exception -21
>> call-method block-size failed with error ffffffdf
call-method block-size: exception -21
>> call-method block-size failed with error ffffffdf
call-method block-size: exception -21
>> call-method block-size failed with error ffffffdf
call-method block-size: exception -21
>> call-method block-size failed with error ffffffdf
call-method block-size: exception -21
>> call-method block-size failed with error ffffffdf
GNU GRUB version 2.02~beta2
Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists possible
device or file completions.
grub> insmod disk
call-mlshod block-size: exception -21
call-method block-size: exception -21 error ffffffdf
>> call-method block-size failed with error ffffffdf
(ieee1275/ide0) call-method block-size: exception -21
>> call-method block-size failed with error ffffffdf
(ieee1275//pci@80000000/mac-io@3/ata-1@20000/disk@0) call-method block-size: exception -21
>> call-method block-size failed with error ffffffdf
(ieee1275/
/pci@80000000/mac-io@3/ata-2@21000/cdrom@0) call-method block-size: exception -21
>> call-method block-size failed with error ffffffdf
grub>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-05-01 16:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2014-05-01 16:39 ` Andrey Borzenkov
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).