* Re: Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
@ 2014-04-18 15:35 ` Alexander Graf
2014-04-18 22:10 ` Christian Zigotzky
` (22 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Alexander Graf @ 2014-04-18 15:35 UTC (permalink / raw)
To: kvm-ppc
> Am 18.04.2014 um 14:37 schrieb Christian Zigotzky <chzigotzky@xenosoft.de>:
>
> 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
^ permalink raw reply [flat|nested] 25+ messages in thread* Re: Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
2014-04-18 15:35 ` Alexander Graf
@ 2014-04-18 22:10 ` Christian Zigotzky
2014-04-18 22:46 ` Alexander Graf
` (21 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Christian Zigotzky @ 2014-04-18 22:10 UTC (permalink / raw)
To: kvm-ppc
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&t\x1747&p'150#p27150
Thank you very much for openSUSE 13.1 PowerPC and for PR KVM!
Cheers,
Christian
On 18.04.2014 17:35, Alexander Graf wrote:
>
>> Am 18.04.2014 um 14:37 schrieb Christian Zigotzky <chzigotzky@xenosoft.de>:
>>
>> 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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 25+ messages in thread* Re: Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
2014-04-18 15:35 ` Alexander Graf
2014-04-18 22:10 ` Christian Zigotzky
@ 2014-04-18 22:46 ` Alexander Graf
2014-04-19 11:40 ` Christian Zigotzky
` (20 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Alexander Graf @ 2014-04-18 22:46 UTC (permalink / raw)
To: kvm-ppc
On 19.04.14 00:10, Christian Zigotzky wrote:
> 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&t\x1747&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
^ permalink raw reply [flat|nested] 25+ messages in thread* Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (2 preceding siblings ...)
2014-04-18 22:46 ` Alexander Graf
@ 2014-04-19 11:40 ` Christian Zigotzky
2014-04-19 12:36 ` Christian Zigotzky
` (19 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Christian Zigotzky @ 2014-04-19 11:40 UTC (permalink / raw)
To: kvm-ppc
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
On 19.04.2014 00:46, Alexander Graf wrote:
>
> On 19.04.14 00:10, Christian Zigotzky wrote:
>> 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&t\x1747&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
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 25+ messages in thread* Re: Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (3 preceding siblings ...)
2014-04-19 11:40 ` Christian Zigotzky
@ 2014-04-19 12:36 ` Christian Zigotzky
2014-04-19 15:08 ` Christian Zigotzky
` (18 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Christian Zigotzky @ 2014-04-19 12:36 UTC (permalink / raw)
To: kvm-ppc
I have deselected Oldworld Support (NEW) and this solved the problem below.
-- Christian
On 19.04.2014 13:40, Christian Zigotzky wrote:
> 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
>
>
> On 19.04.2014 00:46, Alexander Graf wrote:
>>
>> On 19.04.14 00:10, Christian Zigotzky wrote:
>>> 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&t\x1747&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
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 25+ messages in thread* Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (4 preceding siblings ...)
2014-04-19 12:36 ` Christian Zigotzky
@ 2014-04-19 15:08 ` Christian Zigotzky
2014-04-19 19:56 ` Christian Zigotzky
` (17 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Christian Zigotzky @ 2014-04-19 15:08 UTC (permalink / raw)
To: kvm-ppc
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
On 19.04.2014 14:36, Christian Zigotzky wrote:
> I have deselected Oldworld Support (NEW) and this solved the problem
> below.
>
> -- Christian
>
> On 19.04.2014 13:40, Christian Zigotzky wrote:
>> 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
>>
>>
>> On 19.04.2014 00:46, Alexander Graf wrote:
>>>
>>> On 19.04.14 00:10, Christian Zigotzky wrote:
>>>> 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&t\x1747&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
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 25+ messages in thread* Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (5 preceding siblings ...)
2014-04-19 15:08 ` Christian Zigotzky
@ 2014-04-19 19:56 ` Christian Zigotzky
2014-04-21 15:45 ` Christian Zigotzky
` (16 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Christian Zigotzky @ 2014-04-19 19:56 UTC (permalink / raw)
To: kvm-ppc
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 } Hz
FATAL: 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.1
OSS 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
>> =========================
>> 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 } Hz
FATAL: 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.1
OSS 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
>> =========================
>> 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
On 19.04.2014 17:08, Christian Zigotzky wrote:
> 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
>
> On 19.04.2014 14:36, Christian Zigotzky wrote:
>> I have deselected Oldworld Support (NEW) and this solved the problem
>> below.
>>
>> -- Christian
>>
>> On 19.04.2014 13:40, Christian Zigotzky wrote:
>>> 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
>>>
>>>
>>> On 19.04.2014 00:46, Alexander Graf wrote:
>>>>
>>>> On 19.04.14 00:10, Christian Zigotzky wrote:
>>>>> 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&t\x1747&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
>>>>
>>>> --
>>>> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
>>>> the body of a message to majordomo@vger.kernel.org
>>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>>
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 25+ messages in thread* Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (6 preceding siblings ...)
2014-04-19 19:56 ` Christian Zigotzky
@ 2014-04-21 15:45 ` Christian Zigotzky
2014-04-26 22:11 ` Christian Zigotzky
` (15 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Christian Zigotzky @ 2014-04-21 15:45 UTC (permalink / raw)
To: kvm-ppc
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?id\x1096&mode=view
Rgds,
Christian
On 19.04.2014 21:56, Christian Zigotzky wrote:
> 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 } Hz
>
> FATAL: 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.1
>
> OSS 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
>
> >> =========================
> >> 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 } Hz
>
> FATAL: 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.1
>
> OSS 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
>
> >> =========================
> >> 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
>
>
> On 19.04.2014 17:08, Christian Zigotzky wrote:
>> 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
>>
>> On 19.04.2014 14:36, Christian Zigotzky wrote:
>>> I have deselected Oldworld Support (NEW) and this solved the problem
>>> below.
>>>
>>> -- Christian
>>>
>>> On 19.04.2014 13:40, Christian Zigotzky wrote:
>>>> 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
>>>>
>>>>
>>>> On 19.04.2014 00:46, Alexander Graf wrote:
>>>>>
>>>>> On 19.04.14 00:10, Christian Zigotzky wrote:
>>>>>> 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&t\x1747&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
>>>>>
>>>>> --
>>>>> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
>>>>> the body of a message to majordomo@vger.kernel.org
>>>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>>>
>>>>
>>>> --
>>>> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
>>>> the body of a message to majordomo@vger.kernel.org
>>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>>
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 25+ messages in thread* Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (7 preceding siblings ...)
2014-04-21 15:45 ` Christian Zigotzky
@ 2014-04-26 22:11 ` Christian Zigotzky
2014-04-27 17:41 ` Christian Zigotzky
` (14 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Christian Zigotzky @ 2014-04-26 22:11 UTC (permalink / raw)
To: kvm-ppc
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]
^ permalink raw reply [flat|nested] 25+ messages in thread* Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (8 preceding siblings ...)
2014-04-26 22:11 ` Christian Zigotzky
@ 2014-04-27 17:41 ` Christian Zigotzky
2014-04-27 17:47 ` Alexander Graf
` (13 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Christian Zigotzky @ 2014-04-27 17:41 UTC (permalink / raw)
To: kvm-ppc
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
Screenshot:
http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id7652&forum4&start@&viewmode=flat&order=0#733147
@Alex: Have you got any tips for me, please?
Have a nice weekend.
Cheers,
Christian
^ permalink raw reply [flat|nested] 25+ messages in thread* Re: Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (9 preceding siblings ...)
2014-04-27 17:41 ` Christian Zigotzky
@ 2014-04-27 17:47 ` Alexander Graf
2014-04-28 14:19 ` Christian Zigotzky
` (12 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Alexander Graf @ 2014-04-27 17:47 UTC (permalink / raw)
To: kvm-ppc
On 27.04.14 19:41, Christian Zigotzky wrote:
> 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
>
> Screenshot:
> http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id7652&forum4&start@&viewmode=flat&order=0#733147
>
> @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
^ permalink raw reply [flat|nested] 25+ messages in thread* Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (10 preceding siblings ...)
2014-04-27 17:47 ` Alexander Graf
@ 2014-04-28 14:19 ` Christian Zigotzky
2014-04-28 19:03 ` Christian Zigotzky
` (11 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Christian Zigotzky @ 2014-04-28 14:19 UTC (permalink / raw)
To: kvm-ppc
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
On 27.04.14 19:47, Alexander Graf wrote:
>
> On 27.04.14 19:41, Christian Zigotzky wrote:
>> 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
>>
>> Screenshot:
>> http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id7652&forum4&start@&viewmode=flat&order=0#733147
>>
>> @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
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 25+ messages in thread* Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (11 preceding siblings ...)
2014-04-28 14:19 ` Christian Zigotzky
@ 2014-04-28 19:03 ` Christian Zigotzky
2014-04-29 9:14 ` Alexander Graf
` (10 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Christian Zigotzky @ 2014-04-28 19:03 UTC (permalink / raw)
To: kvm-ppc
I use a smp kernel. Can I use a smp kernel for "PR" KVM?
-- Christian
On 28.04.2014 16:19, Christian Zigotzky wrote:
> 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
>
>
>
> On 27.04.14 19:47, Alexander Graf wrote:
>>
>> On 27.04.14 19:41, Christian Zigotzky wrote:
>>> 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
>>>
>>> Screenshot:
>>> http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id7652&forum4&start@&viewmode=flat&order=0#733147
>>>
>>> @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
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 25+ messages in thread* Re: Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (12 preceding siblings ...)
2014-04-28 19:03 ` Christian Zigotzky
@ 2014-04-29 9:14 ` Alexander Graf
2014-05-29 23:50 ` Christian Zigotzky
` (9 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Alexander Graf @ 2014-04-29 9:14 UTC (permalink / raw)
To: kvm-ppc
On 28.04.14 16:19, Christian Zigotzky wrote:
> 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.
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
^ permalink raw reply [flat|nested] 25+ messages in thread* Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (13 preceding siblings ...)
2014-04-29 9:14 ` Alexander Graf
@ 2014-05-29 23:50 ` Christian Zigotzky
2014-05-30 7:49 ` Alexander Graf
` (8 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Christian Zigotzky @ 2014-05-29 23:50 UTC (permalink / raw)
To: kvm-ppc
On 29.04.2014 11:14, Alexander Graf wrote:
>
> On 28.04.14 16:19, Christian Zigotzky wrote:
>> 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.
>
> 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.
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?id\x1205&mode=view
Trace log: http://forum.hyperion-entertainment.biz/download/file.php?id\x1204
Could you look in the trace log, please? I can do more tests if you like.
Cheers,
Christian
>
> 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
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 25+ messages in thread* Re: Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (14 preceding siblings ...)
2014-05-29 23:50 ` Christian Zigotzky
@ 2014-05-30 7:49 ` Alexander Graf
2014-05-30 11:39 ` Christian Zigotzky
` (7 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Alexander Graf @ 2014-05-30 7:49 UTC (permalink / raw)
To: kvm-ppc
On 30.05.14 01:50, Christian Zigotzky wrote:
> On 29.04.2014 11:14, Alexander Graf wrote:
>>
>> On 28.04.14 16:19, Christian Zigotzky wrote:
>>> 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.
>>
>> 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.
> 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?id\x1205&mode=view
>
> Trace log:
> http://forum.hyperion-entertainment.biz/download/file.php?id\x1204
>
> Could 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
^ permalink raw reply [flat|nested] 25+ messages in thread* Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (15 preceding siblings ...)
2014-05-30 7:49 ` Alexander Graf
@ 2014-05-30 11:39 ` Christian Zigotzky
2014-05-30 12:21 ` Alexander Graf
` (6 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Christian Zigotzky @ 2014-05-30 11:39 UTC (permalink / raw)
To: kvm-ppc
On 30.05.2014 09:49, Alexander Graf wrote:
>
> On 30.05.14 01:50, Christian Zigotzky wrote:
>> 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?id\x1205&mode=view
>>
>> Trace log:
>> http://forum.hyperion-entertainment.biz/download/file.php?id\x1204
>>
>> Could 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
>
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?id\x1211&mode=view
http://forum.hyperion-entertainment.biz/download/file.php?id\x1212&mode=view
Thank you for your help. :-)
Cheers,
Christian
^ permalink raw reply [flat|nested] 25+ messages in thread* Re: Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (16 preceding siblings ...)
2014-05-30 11:39 ` Christian Zigotzky
@ 2014-05-30 12:21 ` Alexander Graf
2014-05-30 12:42 ` Christian Zigotzky
` (5 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Alexander Graf @ 2014-05-30 12:21 UTC (permalink / raw)
To: kvm-ppc
On 30.05.14 13:39, Christian Zigotzky wrote:
> On 30.05.2014 09:49, Alexander Graf wrote:
>>
>> On 30.05.14 01:50, Christian Zigotzky wrote:
>>> 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?id\x1205&mode=view
>>>
>>> Trace log:
>>> http://forum.hyperion-entertainment.biz/download/file.php?id\x1204
>>>
>>> Could 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
>>
> 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
^ permalink raw reply [flat|nested] 25+ messages in thread* Re: Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (17 preceding siblings ...)
2014-05-30 12:21 ` Alexander Graf
@ 2014-05-30 12:42 ` Christian Zigotzky
2014-05-30 12:47 ` Alexander Graf
` (4 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Christian Zigotzky @ 2014-05-30 12:42 UTC (permalink / raw)
To: kvm-ppc
Am 30.05.14 14:21, schrieb Alexander Graf:
>
> On 30.05.14 13:39, Christian Zigotzky wrote:
>> 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
Thanks Alex for your effort. How can I enable the debug prints?
-- Christian
^ permalink raw reply [flat|nested] 25+ messages in thread* Re: Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (18 preceding siblings ...)
2014-05-30 12:42 ` Christian Zigotzky
@ 2014-05-30 12:47 ` Alexander Graf
2014-05-30 15:44 ` Christian Zigotzky
` (3 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Alexander Graf @ 2014-05-30 12:47 UTC (permalink / raw)
To: kvm-ppc
On 30.05.14 14:42, Christian Zigotzky wrote:
> Am 30.05.14 14:21, schrieb Alexander Graf:
>>
>> On 30.05.14 13:39, Christian Zigotzky wrote:
>>> 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
> Thanks Alex for your effort. How can I enable the debug prints?
This should do the trick. Output will be in dmesg:
diff --git a/arch/powerpc/kvm/book3s_32_mmu.c
b/arch/powerpc/kvm/book3s_32_mmu.c
index 93503bb..939b14f 100644
--- a/arch/powerpc/kvm/book3s_32_mmu.c
+++ b/arch/powerpc/kvm/book3s_32_mmu.c
@@ -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
^ permalink raw reply related [flat|nested] 25+ messages in thread* Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (19 preceding siblings ...)
2014-05-30 12:47 ` Alexander Graf
@ 2014-05-30 15:44 ` Christian Zigotzky
2014-05-30 17:38 ` Christian Zigotzky
` (2 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: Christian Zigotzky @ 2014-05-30 15:44 UTC (permalink / raw)
To: kvm-ppc
On 30.05.2014 14:47, Alexander Graf wrote:
>
> On 30.05.14 14:42, Christian Zigotzky wrote:
>> Am 30.05.14 14:21, schrieb Alexander Graf:
>>>
>>> On 30.05.14 13:39, Christian Zigotzky wrote:
>>>> 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
>> Thanks Alex for your effort. How can I enable the debug prints?
>
> This should do the trick. Output will be in dmesg:
>
> diff --git a/arch/powerpc/kvm/book3s_32_mmu.c
> b/arch/powerpc/kvm/book3s_32_mmu.c
> index 93503bb..939b14f 100644
> --- a/arch/powerpc/kvm/book3s_32_mmu.c
> +++ b/arch/powerpc/kvm/book3s_32_mmu.c
> @@ -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
>
>
> 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
^ permalink raw reply [flat|nested] 25+ messages in thread* Re: Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (20 preceding siblings ...)
2014-05-30 15:44 ` Christian Zigotzky
@ 2014-05-30 17:38 ` Christian Zigotzky
2014-06-10 10:39 ` Christian Zigotzky
2014-06-10 13:56 ` Alexander Graf
23 siblings, 0 replies; 25+ messages in thread
From: Christian Zigotzky @ 2014-05-30 17:38 UTC (permalink / raw)
To: kvm-ppc
On 30.05.2014 17:46, Alexander Graf wrote:
>
>>> This should do the trick. Output will be in dmesg:
>>>
>>> diff --git a/arch/powerpc/kvm/book3s_32_mmu.c
>>> b/arch/powerpc/kvm/book3s_32_mmu.c
>>> index 93503bb..939b14f 100644
>>> --- a/arch/powerpc/kvm/book3s_32_mmu.c
>>> +++ b/arch/powerpc/kvm/book3s_32_mmu.c
>>> @@ -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
>
> 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?id\x1215
http://forum.hyperion-entertainment.biz/download/file.php?id\x1216
more dmesg_mol_mac_os_x_tiger.txt
I hope you can fix the problem.
-- Christian
^ permalink raw reply [flat|nested] 25+ messages in thread* Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (21 preceding siblings ...)
2014-05-30 17:38 ` Christian Zigotzky
@ 2014-06-10 10:39 ` Christian Zigotzky
2014-06-10 13:56 ` Alexander Graf
23 siblings, 0 replies; 25+ messages in thread
From: Christian Zigotzky @ 2014-06-10 10:39 UTC (permalink / raw)
To: kvm-ppc
Am 30.05.14 19:38, schrieb Christian Zigotzky:
> 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?id\x1215
> http://forum.hyperion-entertainment.biz/download/file.php?id\x1216
>
> more 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
^ permalink raw reply [flat|nested] 25+ messages in thread* Re: Does KVM support the P.A. Semi PA6T cpu?
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
` (22 preceding siblings ...)
2014-06-10 10:39 ` Christian Zigotzky
@ 2014-06-10 13:56 ` Alexander Graf
23 siblings, 0 replies; 25+ messages in thread
From: Alexander Graf @ 2014-06-10 13:56 UTC (permalink / raw)
To: kvm-ppc
On 06/10/2014 12:39 PM, Christian Zigotzky wrote:
> Am 30.05.14 19:38, schrieb Christian Zigotzky:
>> 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?id\x1215
>> http://forum.hyperion-entertainment.biz/download/file.php?id\x1216
>>
>> more 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?
Only on 32bit hosts.
> 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
^ permalink raw reply [flat|nested] 25+ messages in thread