Qemu 2.6 Solaris 9 Sparc Segmentation Fault Hi, I tried the following command to boot Solaris 9 sparc: qemu-system-sparc -nographic -boot d -hda ./Spark9.disk -m 256 -cdrom sol-9-905hw-ga-sparc-dvd.iso -serial telnet:0.0.0.0:3000,server It seems there are a few Segmentation Faults, one from the starting of the boot. Another at the beginning of the commandline installation. Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Configuration device id QEMU version 1 machine id 32 Probing SBus slot 0 offset 0 Probing SBus slot 1 offset 0 Probing SBus slot 2 offset 0 Probing SBus slot 3 offset 0 Probing SBus slot 4 offset 0 Probing SBus slot 5 offset 0 Invalid FCode start byte CPUs: 1 x FMI,MB86904 UUID: 00000000-0000-0000-0000-000000000000 Welcome to OpenBIOS v1.1 built on Apr 18 2016 08:19 Type 'help' for detailed information Trying cdrom:d... Not a bootable ELF image Loading a.out image... Loaded 7680 bytes entry point is 0x4000 bootpath: /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@2,0:d Jumping to entry point 00004000 for type 00000005... switching to new context: SunOS Release 5.9 Version Generic_118558-34 32-bit Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. WARNING: /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@0,0 (sd0): Corrupt label; wrong magic number Segmentation Fault Configuring /dev and /devices NOTICE: Couldn't set value (../../sun/io/audio/sada/drv/audiocs/audio_4231.c, Line #1759 0x00 0x88) audio may not work correctly until it is stopped and restarted Segmentation Fault Using RPC Bootparams for network configuration information. Skipping interface le0 Searching for configuration file(s)... Search complete. .... What type of terminal are you using? 1) ANSI Standard CRT 2) DEC VT52 3) DEC VT100 4) Heathkit 19 5) Lear Siegler ADM31 6) PC Console 7) Sun Command Tool 8) Sun Workstation 9) Televideo 910 10) Televideo 925 11) Wyse Model 50 12) X Terminal Emulator (xterms) 13) CDE Terminal Emulator (dtterm) 14) Other Type the number of your choice and press Return: 3 syslog service starting. savecore: no dump device configured Running in command line mode /sbin/disk0_install[109]: 143 Segmentation Fault /sbin/run_install[130]: 155 Segmentation Fault That basically looks like it should work. The only time I've seen random segfaults similar to this is with a corrupted disk, so the first question to ask is whether you've verified the ISO image you are using? Unfortunately this isn't an image I currently have access to, but I can report my Solaris 8 32-bit ISO boots and installs fine with no issues here. Does it make any difference if you remove the -hda part of the command line? Hi Mark, I compared the cksum provided and the dvd cksum that i did, seems to match. I did try out Solaris 8 too. It seems to work fine with sun formatted hda disk. I did try removing the -hda for solaris 9, the problem still persist. I shall find if i can get another solaris 9 image source to try out. If you can verify that the media is correct and you still see problems, I'd be interested to take a look if you are able to provide me a copy of the media for debugging. Hi Mark, I have uploaded a copy of it to mega.nz https://mega.nz/#!94ZVXBra Hi Mark, Attached is the new link: https://mega.nz/#!94ZVXBra!8QMsQ2d9eKKkMuawg_0YelfyWTy47CyyD1f6tvSv1bQ Thanks for the test case. It appears that this is a regression that occurred somewhere between 2.5 and 2.6 - bisecting now. Can you guys check if the problem persists when qemu is launched with the -singlestep option? I think it's in general a good idea always check TCG-related problems with -singlestep , because it helps to find out whether a bug is in the optimizer or generator module of TCG. Artyom On Tue, Jun 14, 2016 at 11:44 PM, Mark Cave-Ayland