Kernel KVM-PPC virtualization development
 help / color / mirror / Atom feed
From: Christian Zigotzky <chzigotzky@xenosoft.de>
To: kvm-ppc@vger.kernel.org
Subject: Does KVM support the P.A. Semi PA6T cpu?
Date: Mon, 21 Apr 2014 15:45:26 +0000	[thread overview]
Message-ID: <53553D16.6040104@xenosoft.de> (raw)
In-Reply-To: <53511C7B.5010208@xenosoft.de>

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
>


  parent reply	other threads:[~2014-04-21 15:45 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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
2014-04-19 12:36 ` Christian Zigotzky
2014-04-19 15:08 ` Christian Zigotzky
2014-04-19 19:56 ` Christian Zigotzky
2014-04-21 15:45 ` Christian Zigotzky [this message]
2014-04-26 22:11 ` Christian Zigotzky
2014-04-27 17:41 ` Christian Zigotzky
2014-04-27 17:47 ` Alexander Graf
2014-04-28 14:19 ` Christian Zigotzky
2014-04-28 19:03 ` Christian Zigotzky
2014-04-29  9:14 ` Alexander Graf
2014-05-29 23:50 ` Christian Zigotzky
2014-05-30  7:49 ` Alexander Graf
2014-05-30 11:39 ` Christian Zigotzky
2014-05-30 12:21 ` Alexander Graf
2014-05-30 12:42 ` Christian Zigotzky
2014-05-30 12:47 ` Alexander Graf
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

Reply instructions:

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

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

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

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

  git send-email \
    --in-reply-to=53553D16.6040104@xenosoft.de \
    --to=chzigotzky@xenosoft.de \
    --cc=kvm-ppc@vger.kernel.org \
    /path/to/YOUR_REPLY

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

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox