From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Zigotzky Date: Mon, 21 Apr 2014 15:45:26 +0000 Subject: Does KVM support the P.A. Semi PA6T cpu? Message-Id: <53553D16.6040104@xenosoft.de> List-Id: References: <53511C7B.5010208@xenosoft.de> In-Reply-To: <53511C7B.5010208@xenosoft.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ppc@vger.kernel.org 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 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-' @ 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 646 MB > > SCSI devices: > [SCSI auto-probing disabled] > > > 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-' @ 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 ------ 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&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 >>>>> >>>>> -- >>>>> 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 >