tag:blogger.com,1999:blog-6739077729235978763.post3745675400719253706..comments2023-12-24T03:35:11.626+01:00Comments on Artyom Tarasenko's blog: QEMU sun4v/Niagara target went publicatarhttp://www.blogger.com/profile/16986140925986775324noreply@blogger.comBlogger20125tag:blogger.com,1999:blog-6739077729235978763.post-49843167987924474362020-03-12T19:40:02.503+01:002020-03-12T19:40:02.503+01:00Could you indicate the exact name of the file to m...Could you indicate the exact name of the file to modify the ram, please.Alexhttps://www.blogger.com/profile/16107991104958933937noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-2659334257086529982018-06-19T23:30:20.224+02:002018-06-19T23:30:20.224+02:00As my Ultra60 recently died which I occasionally u...As my Ultra60 recently died which I occasionally use to build software releases, I really hope that either the niagara networking be added (if it isn't already) or someone can give me a <b>complete & workable</b> set of instructions on how to start qemu-system-sparc64 such that it can connect to the outside world. All my searches and efforts so far have come to nought. (P.S. I am running it on Fedora 27.crmstaffordhttps://www.blogger.com/profile/13316078329662095372noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-26851506317920014172018-04-19T18:03:41.766+02:002018-04-19T18:03:41.766+02:00Thanks, ZiVo. I think "late" is not app...Thanks, ZiVo. I think "late" is not applicable to such vintage systems... :-) It's never too late.<br />atarhttps://www.blogger.com/profile/16986140925986775324noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-88707843579828512492018-04-19T07:25:48.379+02:002018-04-19T07:25:48.379+02:002 years late but here we go veganman:
System Conf...2 years late but here we go veganman:<br /><br />System Configuration: Sun Microsystems sun4v Sun Fire T2000<br />System clock frequency: 200 MHz<br />Memory size: 16376 Megabytes<br /><br />================================ Virtual CPUs ================================<br /><br /><br />CPU ID Frequency Implementation Status<br />------ --------- ---------------------- -------<br />0 1000 MHz SUNW,UltraSPARC-T1 on-line <br />1 1000 MHz SUNW,UltraSPARC-T1 on-line <br />2 1000 MHz SUNW,UltraSPARC-T1 on-line <br />3 1000 MHz SUNW,UltraSPARC-T1 on-line <br />4 1000 MHz SUNW,UltraSPARC-T1 on-line <br />5 1000 MHz SUNW,UltraSPARC-T1 on-line <br />6 1000 MHz SUNW,UltraSPARC-T1 on-line <br />7 1000 MHz SUNW,UltraSPARC-T1 on-line <br />8 1000 MHz SUNW,UltraSPARC-T1 on-line <br />9 1000 MHz SUNW,UltraSPARC-T1 on-line <br />10 1000 MHz SUNW,UltraSPARC-T1 on-line <br />11 1000 MHz SUNW,UltraSPARC-T1 on-line <br />12 1000 MHz SUNW,UltraSPARC-T1 on-line <br />13 1000 MHz SUNW,UltraSPARC-T1 on-line <br />14 1000 MHz SUNW,UltraSPARC-T1 on-line <br />15 1000 MHz SUNW,UltraSPARC-T1 on-line <br /><br /><br />time $(i=0; while (( i < 99999 )); do (( i ++ )); done)<br /><br />real 0m8.971s<br />user 0m8.965s<br />sys 0m0.006sZiVohttps://www.blogger.com/profile/13351865867938783381noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-78391698742033730502017-09-05T14:31:39.782+02:002017-09-05T14:31:39.782+02:00Please add networking support for niagara to the w...Please add networking support for niagara to the wishlist. :) All the talk recently of the very probably death of both Solaris and SPARC has me hoping that the emulation in QEMU can be "finished" to the point where anyone who needs 64-bit Solaris 10 applications will eventually be able to rely on it. (We are finally able to move over the old 32-bit apps we've got using the complete sun4m emulation which is awesome... reading about what it took to change a signed into an unsigned int in the code to get Solaris finally booting all the way was amazing.)the great quuxhttps://www.blogger.com/profile/12499379208927118053noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-4279320692736050182016-11-04T13:08:22.283+01:002016-11-04T13:08:22.283+01:00Sort of. Someone has to implement the niagara PCI ...Sort of. Someone has to implement the niagara PCI adapter, and recompile the firmware to enable it. No pci devices till it happens.atarhttps://www.blogger.com/profile/16986140925986775324noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-13517814633264592332016-11-04T00:08:46.318+01:002016-11-04T00:08:46.318+01:00Fantastic, that got me father! So the fact that tr...Fantastic, that got me father! So the fact that trying to add a network card and failing (due to it saying there is no PCI adapter) means we'll need to wait to have it merged into the main branch?Anonymoushttps://www.blogger.com/profile/17143178848892218075noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-91440905694541704512016-11-03T19:34:37.893+01:002016-11-03T19:34:37.893+01:00Before ./configure --target-list=sparc64-softmmu
...Before ./configure --target-list=sparc64-softmmu<br /><br />please do<br />git checkout sun4v-v0atarhttps://www.blogger.com/profile/16986140925986775324noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-42253180798198919762016-11-03T18:43:05.673+01:002016-11-03T18:43:05.673+01:00Setup was:
cd /sparc64
git clone git://github.com...Setup was:<br /><br />cd /sparc64<br />git clone git://github.com/artyom-tarasenko/qemu.git<br />wget http://download.oracle.com/technetwork/systems/opensparc/OpenSPARCT1_Arch.1.5.tar.bz2<br />tar xfj OpenSPARCT1_Arch.1.5.tar.bz2 ./S10image<br />cd qemu<br />./configure --target-list=sparc64-softmmu<br />makeAnonymoushttps://www.blogger.com/profile/17143178848892218075noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-60803657561868868492016-11-03T18:41:22.408+01:002016-11-03T18:41:22.408+01:00I'm getting a core dump
[root@bby1shost01 spa...I'm getting a core dump<br /><br />[root@bby1shost01 sparc64]# qemu/sparc64-softmmu/qemu-system-sparc64 -M Niagara -L /sparc64/S10image/ -nographic -m 256 -drive if=pflash,readonly=on,file=/sparc64/S10image/disk.s10hw2<br />Warning: Orphaned drive without device: id=pflash0,file=/sparc64/S10image/disk.s10hw2,if=pflash,bus=0,unit=0<br />qemu: fatal: Trap 0x0064 while trap level (6) >= MAXTL (6), Error state<br />pc: 0000000000004c80 npc: 0000000000004c84<br />%g0-3: 0000000000000000 0000000000000000 0000000000000000 0000000000000000<br />%g4-7: 0000000000000000 0000000000000000 0000000000000000 0000000000000000<br />%o0-3: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 <br />%o4-7: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 <br />%l0-3: 000000000ff00000 000001ff00000000 000001fff0080000 0000000000000000 <br />%l4-7: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 <br />%i0-3: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 <br />%i4-7: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 <br />%f00: 0000000000000000 0000000000000000 0000000000000000 0000000000000000<br />%f08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000<br />%f16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000<br />%f24: 0000000000000000 0000000000000000 0000000000000000 0000000000000000<br />%f32: 0000000000000000 0000000000000000 0000000000000000 0000000000000000<br />%f40: 0000000000000000 0000000000000000 0000000000000000 0000000000000000<br />%f48: 0000000000000000 0000000000000000 0000000000000000 0000000000000000<br />%f56: 0000000000000000 0000000000000000 0000000000000000 0000000000000000<br />pstate: 00000414 ccr: 44 (icc: -Z-- xcc: -Z--) asi: 00 tl: 6 pil: 0<br />cansave: 6 canrestore: 0 otherwin: 0 wstate: 0 cleanwin: 6 cwp: 7<br />fsr: 0000000000000000 y: 0000000000000000 fprs: 0000000000000000<br /><br />Aborted (core dumped)<br />[root@bby1shost01 sparc64]# <br /><br />Anonymoushttps://www.blogger.com/profile/17143178848892218075noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-73073583664761050162016-10-11T16:26:52.822+02:002016-10-11T16:26:52.822+02:00In the machine description files.In the machine description files.atarhttps://www.blogger.com/profile/16986140925986775324noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-66684129282449186162016-10-10T15:16:00.481+02:002016-10-10T15:16:00.481+02:00Which file in OpenSPARCT1_Arch.1.5 sets the amount...Which file in OpenSPARCT1_Arch.1.5 sets the amount of memory (256MB) available?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-77472847903500587512016-10-03T10:28:08.262+02:002016-10-03T10:28:08.262+02:00We used to have problems with image sizes and the ...We used to have problems with image sizes and the way we unpack the image.boot before it passes control to the kernel, but since the working mainline image.iso is quite bigger than the non working 0.6.0 image, I am not sure.jermarhttps://www.blogger.com/profile/10964920222531497079noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-33016327821276071782016-10-02T16:34:47.581+02:002016-10-02T16:34:47.581+02:00veganman, I don't have a real T1000/T2000 so I...veganman, I don't have a real T1000/T2000 so I can't compare.atarhttps://www.blogger.com/profile/16986140925986775324noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-22307018844726657342016-10-02T16:33:36.967+02:002016-10-02T16:33:36.967+02:00You are welcome. Do you know the exact reason why ...You are welcome. Do you know the exact reason why the 0.4.x and 0.6.0 isos don't boot?<br /><br />Yeah, since I'm one of the mainaiers, merging should go easier. Things should go even faster once I have a chance to get to some key signing party with recognized officials.atarhttps://www.blogger.com/profile/16986140925986775324noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-25058154994672199372016-10-02T14:53:41.913+02:002016-10-02T14:53:41.913+02:00This is absolute goodness. Thank you very much for...This is absolute goodness. Thank you very much for all your work. HelenOS runs like a charm without modifications. Now let's get this thing merged into QEMU master.jermarhttps://www.blogger.com/profile/10964920222531497079noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-42316949853410253402016-10-02T05:53:47.688+02:002016-10-02T05:53:47.688+02:00So roughly I get this on my instance:
bash-3.00# ...So roughly I get this on my instance:<br /><br />bash-3.00# time $(i=0; while (( i < 99999 )); do (( i ++ )); done)<br /><br />real 0m14.766s<br />user 0m11.515s<br />sys 0m0.021s<br /><br />emulated on "Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz" laptop (lenovo x1)<br /><br />how does this compares to the real thing, just so I get an idea of the magnitude.veganmanhttps://www.blogger.com/profile/12110683523619624358noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-88214113500941230992016-10-01T15:45:29.934+02:002016-10-01T15:45:29.934+02:00RAM is tricky: the Sun firmware has 256MiB coded i...RAM is tricky: the Sun firmware has 256MiB coded in the machine description. You can give QEMU more, but it won't be recognized unless you patch the machine description files.<br />1 GiB works for sure, haven't tested more.<br /><br />Haven't tried Solsris 11 yet, but think it is not compatible with this firmware version.<br /><br />It should be possible to compile a newer hypervisor version (the sources are released by Sun, I cloned their repo on my github page to be sure it's preserved) and OBP. AFAIK the build requires Solaris 9 and SunStudio.atarhttps://www.blogger.com/profile/16986140925986775324noreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-91914169220246661262016-10-01T14:49:38.855+02:002016-10-01T14:49:38.855+02:00Wow! Thanks a lot for this fantastic work!Wow! Thanks a lot for this fantastic work!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6739077729235978763.post-59183022432109115802016-10-01T14:25:47.574+02:002016-10-01T14:25:47.574+02:00How much memory does it support?
Have you tried So...How much memory does it support?<br />Have you tried Solaris 11.3?veganmanhttps://www.blogger.com/profile/12110683523619624358noreply@blogger.com