Does KVM support the P.A. Semi PA6T cpu?
Subsystems (2)
Hi,
I'd like to virtualize a 32-bit guest Linux system on my P.A. Semi PA6T host system with QEMU/KVM. Does KVM support the P.A. Semi PA6T cpu as host system?
Happy Easter!
Cheers,
Christian
Quoted 7 lines
Am 18.04.2014 um 14:37 schrieb Christian Zigotzky <[email protected]>:
Hi,
I'd like to virtualize a 32-bit guest Linux system on my P.A. Semi PA6T host system with QEMU/KVM. Does KVM support the P.A. Semi PA6T cpu as host system?
PR KVM should work, but I don't think anyone tried so far :).
Please let us know your experience.
Alex
Hi Alexander,
Thanks a lot for your answer. PR KVM works on my Nemo board with a PA6T cpu. It's a bit faster than QEMU without PR KVM.
Screenshots:
http://forum.hyperion-entertainment.biz/viewtopic.php?f5&t47&p'150#p27150
Thank you very much for openSUSE 13.1 PowerPC and for PR KVM!
Cheers,
Christian
Quoted 16 lines · Alexander Graf
Quoted 6 lines
Am 18.04.2014 um 14:37 schrieb Christian Zigotzky <[email protected]>:
Hi,
I'd like to virtualize a 32-bit guest Linux system on my P.A. Semi PA6T host system with QEMU/KVM. Does KVM support the P.A. Semi PA6T cpu as host system?
PR KVM should work, but I don't think anyone tried so far :).
Please let us know your experience.
Alex--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 7 lines · Christian Zigotzky
Hi Alexander,
Thanks a lot for your answer. PR KVM works on my Nemo board with a PA6T cpu. It's a bit faster than QEMU without PR KVM.
Screenshots:
http://forum.hyperion-entertainment.biz/viewtopic.php?f5&t47&p'150#p27150
Very nice, glad to see it works. If you like you can also try to compile mac-on-linux from svn. There is KVM support in that one which should hopefully work for you as long as you run 32bit user space. MOL isn't particularly happy when it gets compiled on 64bit.
Enjoy your PA6T machine :).
Alex
Hi Alex,
Thanks a lot for your answer. I have downloaded mac-on-linux from svn. I have selected KVM support in the menu config. I have tried to compile mol but I get the following error messages:
+ Entering booter
Compiling booter.o
Compiling common.o
Compiling elf.o
Compiling macho.o
Compiling oldworld.o
Linking libbooter.a
Linking liballmol.a= Building mol
../obj-ppc64/build/src/liballmol.a(_misc.o): In function `flush_icache_range':/home/christian/Downloads/mac-on-linux-svn/src/cpu/kvm/misc.c:65:
multiple definition of `flush_icache_range' ../obj-ppc64/build/src/liballmol.a(cache.o):(.text+0x30): first defined here
collect2: ld returned 1 exit status
make[2]: *** [../obj-ppc64/build/src/mol] Fehler 1
make[1]: *** [sub-src-all] Fehler 2
make: *** [auto-bootstrap] Fehler 2
Do you have an idea for me, please?
Cheers,
Christian
Quoted 25 lines · Alexander Graf
Quoted 7 lines · Christian Zigotzky
Hi Alexander,
Thanks a lot for your answer. PR KVM works on my Nemo board with a PA6T cpu. It's a bit faster than QEMU without PR KVM.
Screenshots:
http://forum.hyperion-entertainment.biz/viewtopic.php?f5&t47&p'150#p27150Very nice, glad to see it works. If you like you can also try to compile mac-on-linux from svn. There is KVM support in that one which should hopefully work for you as long as you run 32bit user space. MOL isn't particularly happy when it gets compiled on 64bit.
Enjoy your PA6T machine :).
Alex
Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
I have deselected Oldworld Support (NEW) and this solved the problem below.
-- Christian
Quoted 65 lines · Christian Zigotzky
Hi Alex,
Thanks a lot for your answer. I have downloaded mac-on-linux from svn. I have selected KVM support in the menu config. I have tried to compile mol but I get the following error messages:
+ Entering booter
Compiling booter.o Compiling common.o Compiling elf.o Compiling macho.o Compiling oldworld.o Linking libbooter.a Linking liballmol.a= Building mol ../obj-ppc64/build/src/liballmol.a(_misc.o): In function `flush_icache_range':
/home/christian/Downloads/mac-on-linux-svn/src/cpu/kvm/misc.c:65:
multiple definition of `flush_icache_range' ../obj-ppc64/build/src/liballmol.a(cache.o):(.text+0x30): first defined here
collect2: ld returned 1 exit status
make[2]: *** [../obj-ppc64/build/src/mol] Fehler 1 make[1]: *** [sub-src-all] Fehler 2
make: *** [auto-bootstrap] Fehler 2Do you have an idea for me, please?
Cheers,
Christian
Quoted 25 lines · Alexander Graf
Quoted 7 lines · Christian Zigotzky
Hi Alexander,
Thanks a lot for your answer. PR KVM works on my Nemo board with a PA6T cpu. It's a bit faster than QEMU without PR KVM.
Screenshots:
http://forum.hyperion-entertainment.biz/viewtopic.php?f5&t47&p'150#p27150Very nice, glad to see it works. If you like you can also try to compile mac-on-linux from svn. There is KVM support in that one which should hopefully work for you as long as you run 32bit user space. MOL isn't particularly happy when it gets compiled on 64bit.
Enjoy your PA6T machine :).
Alex
Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.htmlSignature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Just for info: I try to boot the Mac OS X Tiger DVD:
http://forum.hyperion-entertainment.biz/viewtopic.php?f5&t$25&p'161#p27161
Quoted 77 lines · Christian Zigotzky
I have deselected Oldworld Support (NEW) and this solved the problem below.
-- Christian
Quoted 65 lines · Christian Zigotzky
Hi Alex,
Thanks a lot for your answer. I have downloaded mac-on-linux from svn. I have selected KVM support in the menu config. I have tried to compile mol but I get the following error messages:
+ Entering booter
Compiling booter.o Compiling common.o Compiling elf.o Compiling macho.o Compiling oldworld.o Linking libbooter.a Linking liballmol.a= Building mol ../obj-ppc64/build/src/liballmol.a(_misc.o): In function `flush_icache_range':
/home/christian/Downloads/mac-on-linux-svn/src/cpu/kvm/misc.c:65:
multiple definition of `flush_icache_range' ../obj-ppc64/build/src/liballmol.a(cache.o):(.text+0x30): first defined here
collect2: ld returned 1 exit status
make[2]: *** [../obj-ppc64/build/src/mol] Fehler 1 make[1]: *** [sub-src-all] Fehler 2
make: *** [auto-bootstrap] Fehler 2Do you have an idea for me, please?
Cheers,
Christian
Quoted 25 lines · Alexander Graf
Quoted 7 lines · Christian Zigotzky
Hi Alexander,
Thanks a lot for your answer. PR KVM works on my Nemo board with a PA6T cpu. It's a bit faster than QEMU without PR KVM.
Screenshots:
http://forum.hyperion-entertainment.biz/viewtopic.php?f5&t47&p'150#p27150Very nice, glad to see it works. If you like you can also try to compile mac-on-linux from svn. There is KVM support in that one which should hopefully work for you as long as you run 32bit user space. MOL isn't particularly happy when it gets compiled on 64bit.
Enjoy your PA6T machine :).
Alex
Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.htmlSignature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.htmlSignature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Alex,
I have tried to boot the install CD/DVD of Panther and Tiger. Unfortunately I see only the blue penguin and the activity indicator below.
Console messages (Mac OS X Panther start):
startmol -X --cdboot
Mac-on-Linux 0.9.73-SVN [Apr 19 2014 14:32]
Copyright (C) 1997-2004 Samuel Rydh
Starting MOL session 1
Removing stale lockfile /var/local/mol/lock/mol-1
*******************************************************
* Measuring the timebase frequency.
* This will take about 5 seconds
*******************************************************
03F94196
03F9417A
03F94180
03F94178
03F941A4*******************************************************
* Adding 'timebase_frequency: 0x03F94178' to
* /etc/mol/session.map will prevent this delay
*******************************************************
KVM mapped 00000000 - 0x20000000 to 0x40000000 flags 0 Unknown processor id (0000).
Running in PowerPC 750 mode, 512 MB RAM
Timebase: 66.66 MHz, Bus: 900.00 MHz, Clock: 1800 MHz Using USB mouse on /dev/input/mice
OHCI USB controller registered
Could not open '/var/local/mol/x11.kbd' Fullscreen video on VT 8.
Could not open '/var/local/mol/console.kbd' Video driver(s): [xvideo] [console_video]
640* 480, depth 8,32 { 0.0 } Hz
800* 600, depth 8,32 { 0.0 } Hz
1024* 768, depth 8,32 { 0.0 } Hz
1152* 864, depth 8,32 { 0.0 } Hz
1280*1024, depth 8,32 { 0.0 } Hz
1440* 960, depth 8,32 { 0.0 } Hz
1600*1024, depth 8,32 { 0.0 } Hz
1600*1200, depth 8,15,32 { 0.0 } Hz
1680*1050, depth 8,32 { 0.0 } HzFATAL: Module ip_tables not found.
iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded. Ethernet Interface 'tun-<tun1>' @ 00:00:0D:EA:DB:EF
ip/mask: 192.168.41.2/255.255.255.0 gw: 192.168.41.1
broadcast: 192.168.41.255 nameserver: 192.168.41.1OSS sound driver loaded
Available Disks:
HFS+ /home/christia.. Mac_OS_X_CD <read-only> 646 MB
SCSI devices:
[SCSI auto-probing disabled]
<No SCSI Devices>
KVM mapped 0x81000000 - 0x8112c000 to 0xf7dbf000 flags 38
Quoted 7 lines
Quoted 7 lines
=========================
MacOS X Boot Loader ;.9.73-SVN
Candidate boot volume: /mol-blk@0/disk@0:0 /mol-blk@0/disk@0:0,\mach_kernel (3819896 bytes) KVM advanced inst patch: success /mol-blk@0/disk@0:0,\System\Library\Extensions.mkext
=========================
<*> MOL acceleration for 10.3
<*> Block Driver v1.1
Console messages (Mac OS X Tiger start):
startmol -X --cdboot
Mac-on-Linux 0.9.73-SVN [Apr 19 2014 14:32]
Copyright (C) 1997-2004 Samuel Rydh
Starting MOL session 1
Removing stale lockfile /var/local/mol/lock/mol-1
*******************************************************
* Measuring the timebase frequency.
* This will take about 5 seconds
*******************************************************
03F9419A
03F941C2
03F94190
03F9419A
03F94192*******************************************************
* Adding 'timebase_frequency: 0x03F94190' to
* /etc/mol/session.map will prevent this delay
*******************************************************
KVM mapped 00000000 - 0x20000000 to 0x40000000 flags 0 Unknown processor id (0000).
Running in PowerPC 750 mode, 512 MB RAM
Timebase: 66.66 MHz, Bus: 900.00 MHz, Clock: 1800 MHz Using USB mouse on /dev/input/mice
OHCI USB controller registered
Could not open '/var/local/mol/x11.kbd' Fullscreen video on VT 8.
Could not open '/var/local/mol/console.kbd' Video driver(s): [xvideo] [console_video]
640* 480, depth 8,32 { 0.0 } Hz
800* 600, depth 8,32 { 0.0 } Hz
1024* 768, depth 8,32 { 0.0 } Hz
1152* 864, depth 8,32 { 0.0 } Hz
1280*1024, depth 8,32 { 0.0 } Hz
1440* 960, depth 8,32 { 0.0 } Hz
1600*1024, depth 8,32 { 0.0 } Hz
1600*1200, depth 8,15,32 { 0.0 } Hz
1680*1050, depth 8,32 { 0.0 } HzFATAL: Module ip_tables not found.
iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded. Ethernet Interface 'tun-<tun1>' @ 00:00:0D:EA:DB:EF
ip/mask: 192.168.41.2/255.255.255.0 gw: 192.168.41.1
broadcast: 192.168.41.255 nameserver: 192.168.41.1OSS sound driver loaded
Available Disks:
CD /dev/sr0 CD/DVD <read-only> ------ BOOT1
SCSI devices:
[SCSI auto-probing disabled]
SCSI /dev/sr0 [CDROM/DVD driver]
KVM mapped 0x81000000 - 0x8112c000 to 0xf784a000 flags 38
Quoted 8 lines
Quoted 8 lines
=========================
MacOS X Boot Loader 0.9.73-SVN
Candidate boot volume: /mol-scsi/disk@0:3 /mol-scsi/disk@0:3,\mach_kernel (4313028 bytes) KVM paHched:_bcopy_physvir_32
KVM advanced inst patch: success /mol-scsi/disk@0:3,\System\Library\Extensions.mkext
=========================
<*> SCSI driver v1.03
<*> IRQ vectorCanBeShared 3
<*> IRQ vectorCanBeShared 4
<*> IRQ vectorCanBeShared 2
<*> Block Driver v1.1
<*> IRQ vectorCanBeShared 6
<*> IRQ vectorCanBeShared 24
Rgds,
Christian
Quoted 87 lines · Christian Zigotzky
Just for info: I try to boot the Mac OS X Tiger DVD:
http://forum.hyperion-entertainment.biz/viewtopic.php?f5&t$25&p'161#p27161Quoted 77 lines · Christian Zigotzky
I have deselected Oldworld Support (NEW) and this solved the problem below.
-- Christian
Quoted 65 lines · Christian Zigotzky
Hi Alex,
Thanks a lot for your answer. I have downloaded mac-on-linux from svn. I have selected KVM support in the menu config. I have tried to compile mol but I get the following error messages:
+ Entering booter
Compiling booter.o Compiling common.o Compiling elf.o Compiling macho.o Compiling oldworld.o Linking libbooter.a Linking liballmol.a= Building mol ../obj-ppc64/build/src/liballmol.a(_misc.o): In function `flush_icache_range':
/home/christian/Downloads/mac-on-linux-svn/src/cpu/kvm/misc.c:65:
multiple definition of `flush_icache_range' ../obj-ppc64/build/src/liballmol.a(cache.o):(.text+0x30): first defined here
collect2: ld returned 1 exit status
make[2]: *** [../obj-ppc64/build/src/mol] Fehler 1 make[1]: *** [sub-src-all] Fehler 2
make: *** [auto-bootstrap] Fehler 2Do you have an idea for me, please?
Cheers,
Christian
Quoted 25 lines · Alexander Graf
Quoted 7 lines · Christian Zigotzky
Hi Alexander,
Thanks a lot for your answer. PR KVM works on my Nemo board with a PA6T cpu. It's a bit faster than QEMU without PR KVM.
Screenshots:
http://forum.hyperion-entertainment.biz/viewtopic.php?f5&t47&p'150#p27150Very nice, glad to see it works. If you like you can also try to compile mac-on-linux from svn. There is KVM support in that one which should hopefully work for you as long as you run 32bit user space. MOL isn't particularly happy when it gets compiled on 64bit.
Enjoy your PA6T machine :).
Alex
Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.htmlSignature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.htmlSignature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.htmlSignature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Alex,
Mac OS X on MOL and QEMU doesn't work with KVM-PR. But it works without KVM on QEMU.
Screenshot:
http://forum.hyperion-entertainment.biz/download/file.php?id96&mode=view
Rgds,
Christian
Quoted 257 lines · Christian Zigotzky
Hi Alex,
I have tried to boot the install CD/DVD of Panther and Tiger. Unfortunately I see only the blue penguin and the activity indicator below.
Console messages (Mac OS X Panther start):
startmol -X --cdboot
Mac-on-Linux 0.9.73-SVN [Apr 19 2014 14:32]
Copyright (C) 1997-2004 Samuel Rydh
Starting MOL session 1
Removing stale lockfile/var/local/mol/lock/mol-1
*******************************************************
* Measuring the timebase frequency.
* This will take about 5 seconds
*******************************************************03F94196 03F9417A 03F94180 03F94178 03F941A4*******************************************************
* Adding 'timebase_frequency:0x03F94178' to
*/etc/mol/session.mapwill prevent this delay
*******************************************************
KVM mapped 00000000 -0x20000000to0x40000000flags 0 Unknown processor id (0000).
Running in PowerPC 750 mode, 512 MB RAM
Timebase: 66.66 MHz, Bus: 900.00 MHz, Clock: 1800 MHz Using USB mouse on/dev/input/mice
OHCI USB controller registered
Could not open '/var/local/mol/x11.kbd' Fullscreen video on VT 8.
Could not open '/var/local/mol/console.kbd' Video driver(s): [xvideo] [console_video]640* 480, depth 8,32 { 0.0 } Hz 800* 600, depth 8,32 { 0.0 } Hz 1024* 768, depth 8,32 { 0.0 } Hz 1152* 864, depth 8,32 { 0.0 } Hz 1280*1024, depth 8,32 { 0.0 } Hz 1440* 960, depth 8,32 { 0.0 } Hz 1600*1024, depth 8,32 { 0.0 } Hz 1600*1200, depth 8,15,32 { 0.0 } Hz 1680*1050, depth 8,32 { 0.0 } HzFATAL: Module
ip_tablesnot found.
iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded. Ethernet Interface 'tun-<tun1>' @ 00:00:0D:EA:DB:EFip/mask: 192.168.41.2/255.255.255.0 gw: 192.168.41.1 broadcast: 192.168.41.255 nameserver: 192.168.41.1OSS sound driver loaded
Available Disks:
HFS+/home/christia..Mac_OS_X_CD<read-only> 646 MBSCSI devices:
[SCSI auto-probing disabled]<No SCSI Devices>
KVM mapped0x81000000-0x8112c000to0xf7dbf000flags 38Quoted 7 lines
Quoted 7 lines
=========================
MacOS X Boot Loader ;.9.73-SVN
Candidate boot volume: /mol-blk@0/disk@0:0 /mol-blk@0/disk@0:0,\mach_kernel (3819896 bytes) KVM advanced inst patch: success /mol-blk@0/disk@0:0,\System\Library\Extensions.mkext
=========================<*> MOL acceleration for 10.3
<*> Block Driver v1.1Console messages (Mac OS X Tiger start):
startmol -X --cdboot
Mac-on-Linux 0.9.73-SVN [Apr 19 2014 14:32]
Copyright (C) 1997-2004 Samuel Rydh
Starting MOL session 1
Removing stale lockfile/var/local/mol/lock/mol-1
*******************************************************
* Measuring the timebase frequency.
* This will take about 5 seconds
*******************************************************03F9419A 03F941C2 03F94190 03F9419A 03F94192*******************************************************
* Adding 'timebase_frequency:0x03F94190' to
*/etc/mol/session.mapwill prevent this delay
*******************************************************
KVM mapped 00000000 -0x20000000to0x40000000flags 0 Unknown processor id (0000).
Running in PowerPC 750 mode, 512 MB RAM
Timebase: 66.66 MHz, Bus: 900.00 MHz, Clock: 1800 MHz Using USB mouse on/dev/input/mice
OHCI USB controller registered
Could not open '/var/local/mol/x11.kbd' Fullscreen video on VT 8.
Could not open '/var/local/mol/console.kbd' Video driver(s): [xvideo] [console_video]640* 480, depth 8,32 { 0.0 } Hz 800* 600, depth 8,32 { 0.0 } Hz 1024* 768, depth 8,32 { 0.0 } Hz 1152* 864, depth 8,32 { 0.0 } Hz 1280*1024, depth 8,32 { 0.0 } Hz 1440* 960, depth 8,32 { 0.0 } Hz 1600*1024, depth 8,32 { 0.0 } Hz 1600*1200, depth 8,15,32 { 0.0 } Hz 1680*1050, depth 8,32 { 0.0 } HzFATAL: Module
ip_tablesnot found.
iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded. Ethernet Interface 'tun-<tun1>' @ 00:00:0D:EA:DB:EFip/mask: 192.168.41.2/255.255.255.0 gw: 192.168.41.1 broadcast: 192.168.41.255 nameserver: 192.168.41.1OSS sound driver loaded
Available Disks:
CD/dev/sr0CD/DVD <read-only> ------ BOOT1SCSI devices:
[SCSI auto-probing disabled]SCSI
/dev/sr0[CDROM/DVD driver]KVM mapped
0x81000000-0x8112c000to0xf784a000flags 38Quoted 8 lines
Quoted 8 lines
=========================
MacOS X Boot Loader 0.9.73-SVN
Candidate boot volume: /mol-scsi/disk@0:3 /mol-scsi/disk@0:3,\mach_kernel (4313028 bytes) KVM paHched:_bcopy_physvir_32
KVM advanced inst patch: success /mol-scsi/disk@0:3,\System\Library\Extensions.mkext
=========================<*> SCSI driver v1.03
<*> IRQ vectorCanBeShared 3
<*> IRQ vectorCanBeShared 4
<*> IRQ vectorCanBeShared 2
<*> Block Driver v1.1
<*> IRQ vectorCanBeShared 6
<*> IRQ vectorCanBeShared 24Rgds,
Christian
Quoted 87 lines · Christian Zigotzky
Just for info: I try to boot the Mac OS X Tiger DVD:
http://forum.hyperion-entertainment.biz/viewtopic.php?f5&t$25&p'161#p27161Quoted 77 lines · Christian Zigotzky
I have deselected Oldworld Support (NEW) and this solved the problem below.
-- Christian
Quoted 65 lines · Christian Zigotzky
Hi Alex,
Thanks a lot for your answer. I have downloaded mac-on-linux from svn. I have selected KVM support in the menu config. I have tried to compile mol but I get the following error messages:
+ Entering booter
Compiling booter.o Compiling common.o Compiling elf.o Compiling macho.o Compiling oldworld.o Linking libbooter.a Linking liballmol.a= Building mol ../obj-ppc64/build/src/liballmol.a(_misc.o): In function `flush_icache_range':
/home/christian/Downloads/mac-on-linux-svn/src/cpu/kvm/misc.c:65:
multiple definition of `flush_icache_range' ../obj-ppc64/build/src/liballmol.a(cache.o):(.text+0x30): first defined here
collect2: ld returned 1 exit status
make[2]: *** [../obj-ppc64/build/src/mol] Fehler 1 make[1]: *** [sub-src-all] Fehler 2
make: *** [auto-bootstrap] Fehler 2Do you have an idea for me, please?
Cheers,
Christian
Quoted 25 lines · Alexander Graf
Quoted 7 lines · Christian Zigotzky
Hi Alexander,
Thanks a lot for your answer. PR KVM works on my Nemo board with a PA6T cpu. It's a bit faster than QEMU without PR KVM.
Screenshots:
http://forum.hyperion-entertainment.biz/viewtopic.php?f5&t47&p'150#p27150Very nice, glad to see it works. If you like you can also try to compile mac-on-linux from svn. There is KVM support in that one which should hopefully work for you as long as you run 32bit user space. MOL isn't particularly happy when it gets compiled on 64bit.
Enjoy your PA6T machine :).
Alex
Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.htmlSignature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.htmlSignature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.htmlSignature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.htmlSignature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi All,
Mac-on-Linux with KVM support works. But Mac OS X doesn't boot. I haven't found any problems. Do you have a tip for me, please?
==== Backtrace: ====/lib/powerpc-linux-gnu/libc.so.6(+0x88d70)[0xfbd3d70] /lib/powerpc-linux-gnu/libc.so.6(realloc+0x340)[0xfbd8440] /lib/ld.so.1(+0x13054)[0xf7e74054] /lib/ld.so.1(+0x277c)[0xf7e6377c] /lib/powerpc-linux-gnu/libc.so.6(+0x147b48)[0xfc92b48] /lib/powerpc-linux-gnu/libc.so.6(__libc_thread_freeres+0x50)[0xfc92af0] /lib/powerpc-linux-gnu/libpthread.so.0(+0x7ad8)[0xfdf6ad8] /lib/powerpc-linux-gnu/libc.so.6(clone+0x84)[0xfc404e4]
==== Memory map: ====
00100000-00103000 r-xp 00000000 00:00 0
[vdso]
0faa1000-0faa6000 r-xp 00000000 08:04 12851160 /usr/lib/powerpc-linux-gnu/libXdmcp.so.6.0.0 0faa6000-0fab5000 ---p 00005000 08:04 12851160 /usr/lib/powerpc-linux-gnu/libXdmcp.so.6.0.0 0fab5000-0fab6000 rw-p 00004000 08:04 12851160 /usr/lib/powerpc-linux-gnu/libXdmcp.so.6.0.0 0fac6000-0fac8000 r-xp 00000000 08:04 12849118 /usr/lib/powerpc-linux-gnu/libXau.so.6.0.0
0fac8000-0fad8000 ---p 00002000 08:04 12849118 /usr/lib/powerpc-linux-gnu/libXau.so.6.0.0
0fad8000-0fad9000 r--p 00002000 08:04 12849118 /usr/lib/powerpc-linux-gnu/libXau.so.6.0.0
0fad9000-0fada000 rw-p 00003000 08:04 12849118 /usr/lib/powerpc-linux-gnu/libXau.so.6.0.0
0faea000-0faed000 r-xp 00000000 08:04 11802152 /lib/powerpc-linux-gnu/libdl-2.17.so
0faed000-0fafc000 ---p 00003000 08:04 11802152 /lib/powerpc-linux-gnu/libdl-2.17.so
0fafc000-0fafd000 r--p 00002000 08:04 11802152 /lib/powerpc-linux-gnu/libdl-2.17.so
0fafd000-0fafe000 rw-p 00003000 08:04 11802152 /lib/powerpc-linux-gnu/libdl-2.17.so
0fb0e000-0fb2a000 r-xp 00000000 08:04 12849104 /usr/lib/powerpc-linux-gnu/libxcb.so.1.1.0
0fb2a000-0fb39000 ---p 0001c000 08:04 12849104 /usr/lib/powerpc-linux-gnu/libxcb.so.1.1.0
0fb39000-0fb3a000 r--p 0001b000 08:04 12849104 /usr/lib/powerpc-linux-gnu/libxcb.so.1.1.0
0fb3a000-0fb3b000 rw-p 0001c000 08:04 12849104 /usr/lib/powerpc-linux-gnu/libxcb.so.1.1.0
0fb4b000-0fcc0000 r-xp 00000000 08:04 11802168 /lib/powerpc-linux-gnu/libc-2.17.so
0fcc0000-0fccf000 ---p 00175000 08:04 11802168 /lib/powerpc-linux-gnu/libc-2.17.so
0fccf000-0fcd4000 r--p 00174000 08:04 11802168 /lib/powerpc-linux-gnu/libc-2.17.so
0fcd4000-0fcd5000 rw-p 00179000 08:04 11802168 /lib/powerpc-linux-gnu/libc-2.17.so
0fcd5000-0fcd8000 rw-p 00000000 00:00 0
0fce8000-0fcfe000 r-xp 00000000 08:04 11796547 /lib/powerpc-linux-gnu/libz.so.1.2.8
0fcfe000-0fd0d000 ---p 00016000 08:04 11796547 /lib/powerpc-linux-gnu/libz.so.1.2.8
0fd0d000-0fd0e000 r--p 00015000 08:04 11796547 /lib/powerpc-linux-gnu/libz.so.1.2.8
0fd0e000-0fd0f000 rw-p 00016000 08:04 11796547 /lib/powerpc-linux-gnu/libz.so.1.2.8
0fd1f000-0fdca000 r-xp 00000000 08:04 11802166 /lib/powerpc-linux-gnu/libm-2.17.so
0fdca000-0fdda000 ---p 000ab000 08:04 11802166 /lib/powerpc-linux-gnu/libm-2.17.so
0fdda000-0fdde000 r--p 000ab000 08:04 11802166 /lib/powerpc-linux-gnu/libm-2.17.so
0fdde000-0fddf000 rw-p 000af000 08:04 11802166 /lib/powerpc-linux-gnu/libm-2.17.so
0fdef000-0fe06000 r-xp 00000000 08:04 11802160 /lib/powerpc-linux-gnu/libpthread-2.17.so
0fe06000-0fe16000 ---p 00017000 08:04 11802160 /lib/powerpc-linux-gnu/libpthread-2.17.so
0fe16000-0fe17000 r--p 00017000 08:04 11802160 /lib/powerpc-linux-gnu/libpthread-2.17.so
0fe17000-0fe18000 rw-p 00018000 08:04 11802160 /lib/powerpc-linux-gnu/libpthread-2.17.so
0fe18000-0fe1a000 rw-p 00000000 00:00 0
0fe2a000-0fe3d000 r-xp 00000000 08:04 12859019 /usr/lib/powerpc-linux-gnu/libXext.so.6.4.0
0fe3d000-0fe4c000 ---p 00013000 08:04 12859019 /usr/lib/powerpc-linux-gnu/libXext.so.6.4.0
0fe4c000-0fe4d000 r--p 00012000 08:04 12859019 /usr/lib/powerpc-linux-gnu/libXext.so.6.4.0
0fe4d000-0fe4e000 rw-p 00013000 08:04 12859019 /usr/lib/powerpc-linux-gnu/libXext.so.6.4.0
0fe5e000-0ff96000 r-xp 00000000 08:04 12849127 /usr/lib/powerpc-linux-gnu/libX11.so.6.3.0
0ff96000-0ffa5000 ---p 00138000 08:04 12849127 /usr/lib/powerpc-linux-gnu/libX11.so.6.3.0
0ffa5000-0ffa7000 r--p 00137000 08:04 12849127 /usr/lib/powerpc-linux-gnu/libX11.so.6.3.0
0ffa7000-0ffaa000 rw-p 00139000 08:04 12849127 /usr/lib/powerpc-linux-gnu/libX11.so.6.3.0
0ffba000-0ffdf000 r-xp 00000000 08:04 11796670 /lib/powerpc-linux-gnu/libpng12.so.0.49.0
0ffdf000-0ffee000 ---p 00025000 08:04 11796670 /lib/powerpc-linux-gnu/libpng12.so.0.49.0
0ffee000-0ffef000 r--p 00024000 08:04 11796670 /lib/powerpc-linux-gnu/libpng12.so.0.49.0
0ffef000-0fff0000 rw-p 00025000 08:04 11796670 /lib/powerpc-linux-gnu/libpng12.so.0.49.0
10000000-10040000 r-xp 00000000 08:04 13771643 /usr/local/lib/mol/0.9.73/bin/mol
1004f000-10051000 rw-p 0003f000 08:04 13771643 /usr/local/lib/mol/0.9.73/bin/mol
10051000-10075000 rwxp 00000000 00:00 0
[heap]
10075000-1008e000 rwxp 00000000 00:00 0
[heap]
f6128000-f6129000 ---p 00000000 00:00 0
f6129000-f6928000 rwxp 00000000 00:00 0
[stack:11074]
f6928000-f6929000 ---p 00000000 00:00 0
f6929000-f7128000 rwxp 00000000 00:00 0
[stack:11073]
f7128000-f7129000 ---p 00000000 00:00 0
f7129000-f7928000 rwxp 00000000 00:00 0
f7e61000-f7e82000 r-xp 00000000 08:04 11802173 /lib/powerpc-linux-gnu/ld-2.17.so
f7e88000-f7e8b000 rw-p 00000000 00:00 0
f7e8b000-f7e8d000 rw-s 00000000 00:08 15
anon_inode:kvm-vcpu
f7e8d000-f7e92000 rw-p 00000000 00:00 0
f7e92000-f7e93000 r--p 00021000 08:04 11802173 /lib/powerpc-linux-gnu/ld-2.17.so
f7e93000-f7e94000 rw-p 00022000 08:04 11802173 /lib/powerpc-linux-gnu/ld-2.17.so
ff9e2000-ffa03000 rwxp 00000000 00:00 0
[stack]
Hi All,
I have compiled Mac-on-Linux with KVM support on Lubuntu 12.04.4. I have set up an env variable "export CFLAGS=-m32" and the binaries are all in 32-bit. But Mac OS X Jaguar doesn't boot.
file /usr/local/bin/mol*
/usr/local/bin/mol-img: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]&fec38beb93ac3deb500ad3d8f08bde78d5512a, not stripped /usr/local/bin/molrcget: symbolic link to `/usr/local/lib/mol/0.9.73/bin/molrcget' /usr/local/bin/molvconfig: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]Ïe14810b52a6de07365646e8b77ca3ab3fbcdd8, stripped
@Alex: Have you got any tips for me, please?
Have a nice weekend.
Cheers,
Christian
Quoted 19 lines · Christian Zigotzky
Hi All,
I have compiled Mac-on-Linux with KVM support on Lubuntu 12.04.4. I have set up an env variable "export CFLAGS=-m32" and the binaries are all in 32-bit. But Mac OS X Jaguar doesn't boot.
file
/usr/local/bin/mol*
/usr/local/bin/mol-img: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]&fec38beb93ac3deb500ad3d8f08bde78d5512a, not stripped/usr/local/bin/molrcget: symbolic link to `/usr/local/lib/mol/0.9.73/bin/molrcget'/usr/local/bin/molvconfig: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]Ïe14810b52a6de07365646e8b77ca3ab3fbcdd8, stripped
Quoted 4 lines
@Alex: Have you got any tips for me, please?
Phew. Check dmesg. Are there unknown instructions anywhere maybe? Play with the emulated CPU type - for some cases G3, for others G4 worked better for me. IIRC I had most success running Tiger.
Also, I think I always used VNC output - that one was most reliable for me.
Alex
Hi Alex,
Thanks a lot for your answer. I checked dmesg yesterday but I didn't find any error messages about MOL or KVM. I played a bit with the emulated CPU types but without any success. I tried the VNC output and it works but it didn't solve the boot problem of Mac OS X. I have figured out, that there is a verbose mode. I have activated it in the molrc.osx (cmdline "-v"). I have started 2 MOL sessions. The first with Jaguar and the second with Tiger. Unfortunately, both aren't booting to the end.
Screenshot:
http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id7652&forum4&start`&viewmode=flat&order=0
http://forum.hyperion-entertainment.biz/viewtopic.php?f5&t"55&p'368#p27368
Both are running in the G3 mode (molrc.osx: processor: G3). The G4 mode doesn't work because MOL told me that AltiVec is unavailable; reverting to G3 mode. But AltiVec was activated in the molrc.osx. Do you have another idea, please?
Have a nice week and thanks in advance.
Cheers,
Christian
Quoted 41 lines · Alexander Graf
Quoted 19 lines · Christian Zigotzky
Hi All,
I have compiled Mac-on-Linux with KVM support on Lubuntu 12.04.4. I have set up an env variable "export CFLAGS=-m32" and the binaries are all in 32-bit. But Mac OS X Jaguar doesn't boot.
file
/usr/local/bin/mol*
/usr/local/bin/mol-img: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]&fec38beb93ac3deb500ad3d8f08bde78d5512a, not stripped/usr/local/bin/molrcget: symbolic link to `/usr/local/lib/mol/0.9.73/bin/molrcget'/usr/local/bin/molvconfig: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]Ïe14810b52a6de07365646e8b77ca3ab3fbcdd8, strippedQuoted 4 lines
@Alex: Have you got any tips for me, please?
Phew. Check dmesg. Are there unknown instructions anywhere maybe? Play with the emulated CPU type - for some cases G3, for others G4 worked better for me. IIRC I had most success running Tiger.
Also, I think I always used VNC output - that one was most reliable for me.
Alex
Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
I use a smp kernel. Can I use a smp kernel for "PR" KVM?
-- Christian
Quoted 79 lines · Christian Zigotzky
Hi Alex,
Thanks a lot for your answer. I checked dmesg yesterday but I didn't find any error messages about MOL or KVM. I played a bit with the emulated CPU types but without any success. I tried the VNC output and it works but it didn't solve the boot problem of Mac OS X. I have figured out, that there is a verbose mode. I have activated it in the molrc.osx (cmdline "-v"). I have started 2 MOL sessions. The first with Jaguar and the second with Tiger. Unfortunately, both aren't booting to the end.
Screenshot:
http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id7652&forum4&start`&viewmode=flat&order=0
http://forum.hyperion-entertainment.biz/viewtopic.php?f5&t"55&p'368#p27368
Both are running in the G3 mode (molrc.osx: processor: G3). The G4 mode doesn't work because MOL told me that AltiVec is unavailable; reverting to G3 mode. But AltiVec was activated in the molrc.osx. Do you have another idea, please?
Have a nice week and thanks in advance.
Cheers,
Christian
Quoted 41 lines · Alexander Graf
Quoted 19 lines · Christian Zigotzky
Hi All,
I have compiled Mac-on-Linux with KVM support on Lubuntu 12.04.4. I have set up an env variable "export CFLAGS=-m32" and the binaries are all in 32-bit. But Mac OS X Jaguar doesn't boot.
file
/usr/local/bin/mol*
/usr/local/bin/mol-img: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]&fec38beb93ac3deb500ad3d8f08bde78d5512a, not stripped/usr/local/bin/molrcget: symbolic link to `/usr/local/lib/mol/0.9.73/bin/molrcget'/usr/local/bin/molvconfig: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]Ïe14810b52a6de07365646e8b77ca3ab3fbcdd8, strippedQuoted 4 lines
@Alex: Have you got any tips for me, please?
Phew. Check dmesg. Are there unknown instructions anywhere maybe? Play with the emulated CPU type - for some cases G3, for others G4 worked better for me. IIRC I had most success running Tiger.
Also, I think I always used VNC output - that one was most reliable for me.
Alex
Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.htmlSignature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 18 lines · Christian Zigotzky
Hi Alex,
Thanks a lot for your answer. I checked dmesg yesterday but I didn't find any error messages about MOL or KVM. I played a bit with the emulated CPU types but without any success. I tried the VNC output and it works but it didn't solve the boot problem of Mac OS X. I have figured out, that there is a verbose mode. I have activated it in the molrc.osx (cmdline "-v"). I have started 2 MOL sessions. The first with Jaguar and the second with Tiger. Unfortunately, both aren't booting to the end.
Screenshot:
http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id7652&forum4&start`&viewmode=flat&order=0
http://forum.hyperion-entertainment.biz/viewtopic.php?f5&t"55&p'368#p27368
Quoted 6 lines
Both are running in the G3 mode (molrc.osx: processor: G3). The G4 mode doesn't work because MOL told me that AltiVec is unavailable; reverting to G3 mode. But AltiVec was activated in the molrc.osx. Do you have another idea, please?
Have a nice week and thanks in advance.
Please don't top post.
Not sure what's going wrong here. Maybe the MOL patchery to circumvent split real mode doesn't work? Maybe there's something not working with the dcbz32 patchery?
You could try to trace the guest through /sys/kernel/debug/tracing and see where it's stuck. You can also tell XNU to be more verbose by passing in a debug= parameter - though I don't remember the exact syntax anymore.
SMP should be fine. The reason XNU doesn't work with QEMU + KVM is split real mode. We don't emulate that one properly in KVM yet.
Alex
Quoted 29 lines · Alexander Graf
Quoted 18 lines · Christian Zigotzky
Hi Alex,
Thanks a lot for your answer. I checked dmesg yesterday but I didn't find any error messages about MOL or KVM. I played a bit with the emulated CPU types but without any success. I tried the VNC output and it works but it didn't solve the boot problem of Mac OS X. I have figured out, that there is a verbose mode. I have activated it in the molrc.osx (cmdline "-v"). I have started 2 MOL sessions. The first with Jaguar and the second with Tiger. Unfortunately, both aren't booting to the end.
Screenshot:
http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id7652&forum4&start`&viewmode=flat&order=0
http://forum.hyperion-entertainment.biz/viewtopic.php?f5&t"55&p'368#p27368
Quoted 6 lines
Both are running in the G3 mode (molrc.osx: processor: G3). The G4 mode doesn't work because MOL told me that AltiVec is unavailable; reverting to G3 mode. But AltiVec was activated in the molrc.osx. Do you have another idea, please?
Have a nice week and thanks in advance.
Please don't top post.
Quoted 8 lines
Not sure what's going wrong here. Maybe the MOL patchery to circumvent split real mode doesn't work? Maybe there's something not working with the dcbz32 patchery?
You could try to trace the guest through
/sys/kernel/debug/tracingand see where it's stuck. You can also tell XNU to be more verbose by passing in a debug= parameter - though I don't remember the exact syntax anymore.
Hi Alex,
I have traced a Mac OS X Tiger guest. I have started it in the single user mode. Sometimes I get a shell. But the cpu load rise up to 100% and I can't enter any commands.
Screenshot:
http://forum.hyperion-entertainment.biz/download/file.php?id05&mode=view
Trace log: http://forum.hyperion-entertainment.biz/download/file.php?id04
Could you look in the trace log, please? I can do more tests if you like.
Cheers,
Christian
Quoted 12 lines
SMP should be fine. The reason XNU doesn't work with QEMU + KVM is split real mode. We don't emulate that one properly in KVM yet.
Alex
Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 44 lines · Christian Zigotzky
Quoted 29 lines · Alexander Graf
Quoted 18 lines · Christian Zigotzky
Hi Alex,
Thanks a lot for your answer. I checked dmesg yesterday but I didn't find any error messages about MOL or KVM. I played a bit with the emulated CPU types but without any success. I tried the VNC output and it works but it didn't solve the boot problem of Mac OS X. I have figured out, that there is a verbose mode. I have activated it in the molrc.osx (cmdline "-v"). I have started 2 MOL sessions. The first with Jaguar and the second with Tiger. Unfortunately, both aren't booting to the end.
Screenshot:
http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id7652&forum4&start`&viewmode=flat&order=0
http://forum.hyperion-entertainment.biz/viewtopic.php?f5&t"55&p'368#p27368
Quoted 6 lines
Both are running in the G3 mode (molrc.osx: processor: G3). The G4 mode doesn't work because MOL told me that AltiVec is unavailable; reverting to G3 mode. But AltiVec was activated in the molrc.osx. Do you have another idea, please?
Have a nice week and thanks in advance.
Please don't top post.
Quoted 8 lines
Not sure what's going wrong here. Maybe the MOL patchery to circumvent split real mode doesn't work? Maybe there's something not working with the dcbz32 patchery?
You could try to trace the guest through
/sys/kernel/debug/tracingand see where it's stuck. You can also tell XNU to be more verbose by passing in a debug= parameter - though I don't remember the exact syntax anymore.Hi Alex,
I have traced a Mac OS X Tiger guest. I have started it in the single user mode. Sometimes I get a shell. But the cpu load rise up to 100% and I can't enter any commands.
Quoted 7 lines
Screenshot:
http://forum.hyperion-entertainment.biz/download/file.php?id05&mode=viewTrace log:
http://forum.hyperion-entertainment.biz/download/file.php?id04Could you look in the trace log, please? I can do more tests if you like.
$ echo 1 > /sys/kernel/debug/tracing/events/kvm/enabled $ echo 1 > /sys/kernel/debug/tracing/events/kvm_pr/enabled $ cat /sys/kernel/debug/tracing/trace_pipe > /dev/shm/trace & $ start_mol -X ...
then check out /dev/shm/trace :).
Alex
Quoted 23 lines · Alexander Graf
Quoted 6 lines · Christian Zigotzky
Hi Alex,
I have traced a Mac OS X Tiger guest. I have started it in the single user mode. Sometimes I get a shell. But the cpu load rise up to 100% and I can't enter any commands.
Quoted 8 lines
Screenshot:
http://forum.hyperion-entertainment.biz/download/file.php?id05&mode=viewTrace log:
http://forum.hyperion-entertainment.biz/download/file.php?id04Could you look in the trace log, please? I can do more tests if you like.
$ echo 1 > /sys/kernel/debug/tracing/events/kvm/enabled $ echo 1 > /sys/kernel/debug/tracing/events/kvm_pr/enabled $ cat /sys/kernel/debug/tracing/trace_pipe > /dev/shm/trace & $ start_mol -X ...
Quoted 5 lines
then check out
/dev/shm/trace:).Alex
Hi Alex,
Thank you for your answer. Here are the traces:
http://www.xenosoft.de/trace_mol_mac_os_x_tiger.txt.tar.gz
http://www.xenosoft.de/trace_mol_mac_os_x_jaguar.txt.tar.gz
Log:
modprobe kvm-pr
mount -t debugfs nodev /sys/kernel/debug
echo 1 > /sys/kernel/debug/tracing/events/kvm/enable
echo 1 > /sys/kernel/debug/tracing/events/kvm_pr/enable
cat /sys/kernel/debug/tracing/trace_pipe > /dev/shm/trace & startmol -X (Mac OS X Tiger guest in the single user mode from the DVD ISO) cat /dev/shm/trace
startmol -X (Mac OS X Jaguar guest in the single user mode from the disk image)
cat /dev/shm/trace
Screenshots:
http://forum.hyperion-entertainment.biz/download/file.php?id11&mode=view
http://forum.hyperion-entertainment.biz/download/file.php?id12&mode=view
Thank you for your help. :-)
Cheers,
Christian
Quoted 27 lines · Christian Zigotzky
Quoted 26 lines · Alexander Graf
Quoted 6 lines · Christian Zigotzky
Hi Alex,
I have traced a Mac OS X Tiger guest. I have started it in the single user mode. Sometimes I get a shell. But the cpu load rise up to 100% and I can't enter any commands.
Quoted 8 lines
Screenshot:
http://forum.hyperion-entertainment.biz/download/file.php?id05&mode=viewTrace log:
http://forum.hyperion-entertainment.biz/download/file.php?id04Could you look in the trace log, please? I can do more tests if you like.
$ echo 1 > /sys/kernel/debug/tracing/events/kvm/enabled $ echo 1 > /sys/kernel/debug/tracing/events/kvm_pr/enabled $ cat /sys/kernel/debug/tracing/trace_pipe > /dev/shm/trace & $ start_mol -X ...then check out
/dev/shm/trace:).
Quoted 8 lines
Quoted 2 lines
Alex
Hi Alex,
Thank you for your answer. Here are the traces:
http://www.xenosoft.de/trace_mol_mac_os_x_tiger.txt.tar.gz
http://www.xenosoft.de/trace_mol_mac_os_x_jaguar.txt.tar.gz
Looking at the Jaguar log, the guest seems to be stuck trying to map a page:
mol-4087 [001] .... 252.368002: kvm_exit:
exitÚTA_STORAGE | pc=0x900074c4 | msr=0x4000d030 | dar=0xa000a434 | srr1=0x100000000000d032 | last_inst=0x912b0
000
If you look at the trace, you will see that this PC with the exact same DAR happens over and over again - every time the guest thinks it's mapped the page.
I don't know why that's happening. Try to enable the debug prints (or convert them to trace points ;)) in the book3s_32 guest and book3s_64 host emulation. Maybe that tells us something.
Alex
Am 30.05.14 14:21, schrieb Alexander Graf:
Quoted 21 lines · Christian Zigotzky
Quoted 6 lines
Hi Alex,
Thank you for your answer. Here are the traces:
http://www.xenosoft.de/trace_mol_mac_os_x_tiger.txt.tar.gz
http://www.xenosoft.de/trace_mol_mac_os_x_jaguar.txt.tar.gzLooking at the Jaguar log, the guest seems to be stuck trying to map a page:
mol-4087 [001] .... 252.368002: kvm_exit:exitÚTA_STORAGE | pc=0x900074c4 | msr=0x4000d030 | dar=0xa000a434 | srr1=0x100000000000d032 | last_inst=0x912b0
000If you look at the trace, you will see that this PC with the exact same DAR happens over and over again - every time the guest thinks it's mapped the page.
Quoted 6 lines
I don't know why that's happening. Try to enable the debug prints (or convert them to trace points ;)) in the
book3s_32guest andbook3s_64host emulation. Maybe that tells us something.Alex
Thanks Alex for your effort. How can I enable the debug prints?
-- Christian
Quoted 22 lines · Christian Zigotzky
Am 30.05.14 14:21, schrieb Alexander Graf:
Quoted 21 lines · Christian Zigotzky
Quoted 6 lines
Hi Alex,
Thank you for your answer. Here are the traces:
http://www.xenosoft.de/trace_mol_mac_os_x_tiger.txt.tar.gz
http://www.xenosoft.de/trace_mol_mac_os_x_jaguar.txt.tar.gzLooking at the Jaguar log, the guest seems to be stuck trying to map a page:
mol-4087 [001] .... 252.368002: kvm_exit:exitÚTA_STORAGE | pc=0x900074c4 | msr=0x4000d030 | dar=0xa000a434 | srr1=0x100000000000d032 | last_inst=0x912b0
000If you look at the trace, you will see that this PC with the exact same DAR happens over and over again - every time the guest thinks it's mapped the page.
Quoted 7 lines
Quoted 6 lines
I don't know why that's happening. Try to enable the debug prints (or convert them to trace points ;)) in the
book3s_32guest andbook3s_64host emulation. Maybe that tells us something.Alex
Thanks Alex for your effort. How can I enable the debug prints?
This should do the trick. Output will be in dmesg:
(quoted diff) +0 -0
b/arch/powerpc/kvm/book3s_32_mmu.c
index 93503bb..939b14f 100644
arch/powerpc/kvm/book3s_32_mmu.c +2 -2
@@ -27,8 +27,8 @@#include <asm/kvm_ppc.h> #include <asm/kvm_book3s.h> -/* #define DEBUG_MMU */ -/* #define DEBUG_MMU_PTE */ +#define DEBUG_MMU +#define DEBUG_MMU_PTE /* #define DEBUG_MMU_PTE_IP 0xfff14c40 */ #ifdef DEBUG_MMU
There's also always the chance that split real mode is the real culprit for breakage here. Have you verified that the same kernel source (KVM code) works on a PPC32 host with MOL?
Alex
Quoted 40 lines · Alexander Graf
Quoted 22 lines · Christian Zigotzky
Am 30.05.14 14:21, schrieb Alexander Graf:
Quoted 21 lines · Christian Zigotzky
Quoted 6 lines
Hi Alex,
Thank you for your answer. Here are the traces:
http://www.xenosoft.de/trace_mol_mac_os_x_tiger.txt.tar.gz
http://www.xenosoft.de/trace_mol_mac_os_x_jaguar.txt.tar.gzLooking at the Jaguar log, the guest seems to be stuck trying to map a page:
mol-4087 [001] .... 252.368002:
kvm_exit: exitÚTA_STORAGE | pc=0x900074c4 | msr=0x4000d030 | dar=0xa000a434 | srr1=0x100000000000d032 | last_inst=0x912b0
000If you look at the trace, you will see that this PC with the exact same DAR happens over and over again - every time the guest thinks it's mapped the page.
Quoted 7 lines
Quoted 6 lines
I don't know why that's happening. Try to enable the debug prints (or convert them to trace points ;)) in the
book3s_32guest andbook3s_64host emulation. Maybe that tells us something.Alex
Thanks Alex for your effort. How can I enable the debug prints?
This should do the trick. Output will be in dmesg:
arch/powerpc/kvm/book3s_32_mmu.c +0
-0
arch/powerpc/kvm/book3s_32_mmu.c line 34
Quoted 10 lines
arch/powerpc/kvm/book3s_32_mmu.c +2
-2@@ -27,8 +27,8 @@#include <asm/kvm_ppc.h> #include <asm/kvm_book3s.h> -/* #define DEBUG_MMU */ -/* #define DEBUG_MMU_PTE */ +#define DEBUG_MMU +#define DEBUG_MMU_PTE /* #define DEBUG_MMU_PTE_IP 0xfff14c40 */ #ifdef DEBUG_MMU
Hi Alex,
Unfortunately, the KVM modul doesn't compile with DEBUG_MMU.
Kernel 3.14.4:
make modules
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
AS [M] arch/powerpc/kvm/fpu.o
CC [M] arch/powerpc/kvm/book3s_paired_singles.o CC [M] arch/powerpc/kvm/book3s_pr.o
CC [M] arch/powerpc/kvm/book3s_pr_papr.o
CC [M] arch/powerpc/kvm/book3s_emulate.o
AS [M] arch/powerpc/kvm/book3s_interrupts.o
CC [M] arch/powerpc/kvm/book3s_mmu_hpte.o
CC [M] arch/powerpc/kvm/book3s_64_mmu_host.o
CC [M] arch/powerpc/kvm/book3s_64_mmu.o
CC [M] arch/powerpc/kvm/book3s_32_mmu.o arch/powerpc/kvm/book3s_32_mmu.c: In function ‘kvmppc_mmu_book3s_32_get_pteg’:arch/powerpc/kvm/book3s_32_mmu.c:133:2: error: ‘struct kvmppc_vcpu_book3s’ has no member named ‘vcpu’ make[1]: *** [arch/powerpc/kvm/book3s_32_mmu.o] Fehler 1
make: *** [arch/powerpc/kvm] Fehler 2
Quoted 5 lines
There's also always the chance that split real mode is the real culprit for breakage here. Have you verified that the same kernel source (KVM code) works on a PPC32 host with MOL?
My PPC32 host (Sam440ep-Flex 733MHz) is too slow for MOL.
Rgds,
Christian
Quoted 45 lines · Alexander Graf
Quoted 36 lines
Quoted 9 lines
This should do the trick. Output will be in dmesg:
arch/powerpc/kvm/book3s_32_mmu.c +0
-0arch/powerpc/kvm/book3s_32_mmu.c line 34
Quoted 10 lines
arch/powerpc/kvm/book3s_32_mmu.c +2
-2@@ -27,8 +27,8 @@#include <asm/kvm_ppc.h> #include <asm/kvm_book3s.h> -/* #define DEBUG_MMU */ -/* #define DEBUG_MMU_PTE */ +#define DEBUG_MMU +#define DEBUG_MMU_PTE /* #define DEBUG_MMU_PTE_IP 0xfff14c40 */ #ifdef DEBUG_MMU Hi Alex,
Unfortunately, the KVM modul doesn't compile with
DEBUG_MMU.Kernel 3.14.4:
make modules
CHKinclude/config/kernel.release
CHKinclude/generated/uapi/linux/version.h
CHKinclude/generated/utsrelease.h
CALLscripts/checksyscalls.sh
AS [M]arch/powerpc/kvm/fpu.o
CC [M]arch/powerpc/kvm/book3s_paired_singles.o
CC [M]arch/powerpc/kvm/book3s_pr.o
CC [M]arch/powerpc/kvm/book3s_pr_papr.o
CC [M]arch/powerpc/kvm/book3s_emulate.o
AS [M]arch/powerpc/kvm/book3s_interrupts.oQuoted 8 lines
CC [M]
arch/powerpc/kvm/book3s_mmu_hpte.o
CC [M]arch/powerpc/kvm/book3s_64_mmu_host.oCC [M]arch/powerpc/kvm/book3s_64_mmu.o
CC [M]arch/powerpc/kvm/book3s_32_mmu.oarch/powerpc/kvm/book3s_32_mmu.c: In function ‘kvmppc_mmu_book3s_32_get_pteg’:arch/powerpc/kvm/book3s_32_mmu.c:133:2: error: ‘struct kvmppc_vcpu_book3s’ has no member named
Quoted 4 lines
Och jetzt komm - das bisschen C um den zu fixen wirst du doch noch schaffen, oder? ;)
Huch, Deutsch. Bestimmt aus Nürnberg. :D Meine Lieblingsstadt. ;-) I have solved the problem above.
Dmesg logs:
watch -n 0 "dmesg" > dmesg_mol_mac_os_x_tiger.txt watch -n 0 "dmesg" > dmesg_mol_mac_os_x_jaguar.txt
http://forum.hyperion-entertainment.biz/download/file.php?id15
http://forum.hyperion-entertainment.biz/download/file.php?id16
more dmesg_mol_mac_os_x_tiger.txt
I hope you can fix the problem.
-- Christian
Am 30.05.14 19:38, schrieb Christian Zigotzky:
Quoted 5 lines
Dmesg logs:
watch -n 0 "dmesg" > dmesg_mol_mac_os_x_tiger.txt watch -n 0 "dmesg" > dmesg_mol_mac_os_x_jaguar.txt
Quoted 9 lines
http://forum.hyperion-entertainment.biz/download/file.php?id15
http://forum.hyperion-entertainment.biz/download/file.php?id16more dmesg_mol_mac_os_x_tiger.txt
I hope you can fix the problem.
-- Christian
Hi Alex,
I've read that we should disable SMP support for KVM
(http://techuman.wordpress.com/2013/09/12/powerpc-g4-virtualization-with-kvm/).
Is that right? Shall I unset the SMP support in the kernel config? Have you looked in the dmesg files above?
Cheers,
Christian
Quoted 13 lines · Christian Zigotzky
Am 30.05.14 19:38, schrieb Christian Zigotzky:
Quoted 12 lines
Dmesg logs:
watch -n 0 "dmesg" > dmesg_mol_mac_os_x_tiger.txt watch -n 0 "dmesg" > dmesg_mol_mac_os_x_jaguar.txt
http://forum.hyperion-entertainment.biz/download/file.php?id15
http://forum.hyperion-entertainment.biz/download/file.php?id16more dmesg_mol_mac_os_x_tiger.txt
I hope you can fix the problem.
Quoted 7 lines
Quoted 2 lines
-- Christian
Hi Alex,
I've read that we should disable SMP support for KVM
(http://techuman.wordpress.com/2013/09/12/powerpc-g4-virtualization-with-kvm/).
Is that right?
Only on 32bit hosts.
Quoted 2 lines
Shall I unset the SMP support in the kernel config? Have you looked in the dmesg files above?
I have no idea what's going wrong on your system tbh :).
Alex