[MacPorts] #40244: qemu @1.6.0+target_i386+target_m68k+target_mips+target_ppc+target_sparc+target_x86_64 - qemu-system-sparc broken - compiler issue?
#40244: qemu @1.6.0+target_i386+target_m68k+target_mips+target_ppc+target_sparc+target_x86_64 - qemu-system-sparc broken - compiler issue? ---------------------+-------------------------------- Reporter: peter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: qemu-1.6.0 ---------------------+-------------------------------- When I use the qemu-system-sparc built by MacPorts, it freezes during the emulated machine's startup process. When I build it using gcc-apple-4.2, I have no such problem. Note: --- cut here --- Power-ON Reset MB86907 POST 2.2.3 03SEP96 Probing system memory: 32 32 32 32 32 32 32 32 Config = 8800AAAA 0Kb ecache detected initializing TLB initializing cache Allocating SRMMU Context Table Setting SRMMU Context Register Setting SRMMU Context Table Pointer Register Allocating SRMMU Level 1 Table Mapping RAM Mapping ROM ttya initialized Probing Memory Bank #0 32 Megabytes Probing Memory Bank #1 32 Megabytes Probing Memory Bank #2 32 Megabytes Probing Memory Bank #3 32 Megabytes Probing Memory Bank #4 32 Megabytes Probing Memory Bank #5 32 Megabytes Probing Memory Bank #6 32 Megabytes Probing Memory Bank #7 32 Megabytes Incorrect configuration checksum; Setting NVRAM parameters to default values. Setting diag-switch? NVRAM parameter to true Probing CPU FMI,MB86907 Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledma le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 SUNW,CS4231 power- management Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 2,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 3,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 0,0 Nothing there screen not found. Can't open input device. Keyboard not present. Using tty for input and output. Probing Memory Bank #0 32 Megabytes Probing Memory Bank #1 32 Megabytes Probing Memory Bank #2 32 Megabytes Probing Memory Bank #3 32 Megabytes Probing Memory Bank #4 32 Megabytes Probing Memory Bank #5 32 Megabytes Probing Memory Bank #6 32 Megabytes Probing Memory Bank #7 32 Megabytes Incorrect configuration checksum; Setting NVRAM parameters to default values. Setting diag-switch? NVRAM parameter to true Probing CPU FMI,MB86907 Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledma le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 SUNW,CS4231 power- management Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 -- Ticket URL: <https://trac.macports.org/ticket/40244> MacPorts <http://www.macports.org/> Ports system for OS X
#40244: qemu @1.6.0+target_i386+target_m68k+target_mips+target_ppc+target_sparc+target_x86_64 - qemu-system-sparc broken - compiler issue? ----------------------+---------------------- Reporter: peter@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: qemu | ----------------------+---------------------- Changes (by larryv@…): * owner: macports-tickets@… => raimue@… * port: qemu-1.6.0 => qemu Old description:
When I use the qemu-system-sparc built by MacPorts, it freezes during the emulated machine's startup process. When I build it using gcc-apple-4.2, I have no such problem.
Note:
--- cut here ---
Power-ON Reset
MB86907 POST 2.2.3 03SEP96
Probing system memory: 32 32 32 32 32 32 32 32 Config = 8800AAAA 0Kb ecache detected
initializing TLB initializing cache
Allocating SRMMU Context Table Setting SRMMU Context Register Setting SRMMU Context Table Pointer Register Allocating SRMMU Level 1 Table Mapping RAM Mapping ROM
ttya initialized Probing Memory Bank #0 32 Megabytes Probing Memory Bank #1 32 Megabytes Probing Memory Bank #2 32 Megabytes Probing Memory Bank #3 32 Megabytes Probing Memory Bank #4 32 Megabytes Probing Memory Bank #5 32 Megabytes Probing Memory Bank #6 32 Megabytes Probing Memory Bank #7 32 Megabytes Incorrect configuration checksum; Setting NVRAM parameters to default values. Setting diag-switch? NVRAM parameter to true Probing CPU FMI,MB86907 Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledma le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 SUNW,CS4231 power- management Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 2,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 3,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 0,0 Nothing there screen not found. Can't open input device. Keyboard not present. Using tty for input and output. Probing Memory Bank #0 32 Megabytes Probing Memory Bank #1 32 Megabytes Probing Memory Bank #2 32 Megabytes Probing Memory Bank #3 32 Megabytes Probing Memory Bank #4 32 Megabytes Probing Memory Bank #5 32 Megabytes Probing Memory Bank #6 32 Megabytes Probing Memory Bank #7 32 Megabytes Incorrect configuration checksum; Setting NVRAM parameters to default values. Setting diag-switch? NVRAM parameter to true Probing CPU FMI,MB86907 Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledma le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 SUNW,CS4231 power- management Probing /iommu@0,10000000/sbus@0,10001000 at 1,0
New description: When I use the qemu-system-sparc built by MacPorts, it freezes during the emulated machine's startup process. When I build it using gcc-apple-4.2, I have no such problem. {{{ Power-ON Reset MB86907 POST 2.2.3 03SEP96 Probing system memory: 32 32 32 32 32 32 32 32 Config = 8800AAAA 0Kb ecache detected initializing TLB initializing cache Allocating SRMMU Context Table Setting SRMMU Context Register Setting SRMMU Context Table Pointer Register Allocating SRMMU Level 1 Table Mapping RAM Mapping ROM ttya initialized Probing Memory Bank #0 32 Megabytes Probing Memory Bank #1 32 Megabytes Probing Memory Bank #2 32 Megabytes Probing Memory Bank #3 32 Megabytes Probing Memory Bank #4 32 Megabytes Probing Memory Bank #5 32 Megabytes Probing Memory Bank #6 32 Megabytes Probing Memory Bank #7 32 Megabytes Incorrect configuration checksum; Setting NVRAM parameters to default values. Setting diag-switch? NVRAM parameter to true Probing CPU FMI,MB86907 Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledma le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 SUNW,CS4231 power- management Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 2,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 3,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 0,0 Nothing there screen not found. Can't open input device. Keyboard not present. Using tty for input and output. Probing Memory Bank #0 32 Megabytes Probing Memory Bank #1 32 Megabytes Probing Memory Bank #2 32 Megabytes Probing Memory Bank #3 32 Megabytes Probing Memory Bank #4 32 Megabytes Probing Memory Bank #5 32 Megabytes Probing Memory Bank #6 32 Megabytes Probing Memory Bank #7 32 Megabytes Incorrect configuration checksum; Setting NVRAM parameters to default values. Setting diag-switch? NVRAM parameter to true Probing CPU FMI,MB86907 Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledma le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 SUNW,CS4231 power- management Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 }}} -- Comment: Thanks for the ticket. In the future, please Cc relevant port maintainers (`port info --maintainers`) and use WikiFormatting in ticket descriptions. -- Ticket URL: <https://trac.macports.org/ticket/40244#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40244: qemu @1.6.0+target_i386+target_m68k+target_mips+target_ppc+target_sparc+target_x86_64 - qemu-system-sparc broken - compiler issue? ----------------------+---------------------- Reporter: peter@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: qemu | ----------------------+---------------------- Comment (by egall@…):
When I build it using gcc-apple-4.2, I have no such problem.
Which compiler had you used before? -- Ticket URL: <https://trac.macports.org/ticket/40244#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40244: qemu @1.6.0+target_i386+target_m68k+target_mips+target_ppc+target_sparc+target_x86_64 - qemu-system-sparc broken - compiler issue? ----------------------+---------------------- Reporter: peter@… | Owner: raimue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: qemu | ----------------------+---------------------- Changes (by raimue@…): * status: new => assigned Comment: There were various problems with QEMU using TCG/TCI when clang support finally arrived upstream. The i386 and x86_64 targets work fine for me with clang for some time now. I guess they are generally the targets with the best test coverage by users. I did not have time yet to reproduce the issue with the SPARC target you reported in the ticket. I would advise to report the issue upstream as well. -- Ticket URL: <https://trac.macports.org/ticket/40244#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40244: qemu @1.6.0+target_i386+target_m68k+target_mips+target_ppc+target_sparc+target_x86_64 - qemu-system-sparc broken - compiler issue? ----------------------+---------------------- Reporter: peter@… | Owner: raimue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: qemu | ----------------------+---------------------- Comment (by raimue@…): Please test again with qemu @1.6.1_0. I am now able to run `qemu-system- sparc -cdrom ~/src/img/debian/debian-7.1.0-sparc-netinst.iso`, which just hung before coming up with video output at all. However, I am dropped into an OpenBIOS shell only and I don't know how to proceed. So, please run your test case to verify if this bug can be closed. -- Ticket URL: <https://trac.macports.org/ticket/40244#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40244: qemu @1.6.0+target_i386+target_m68k+target_mips+target_ppc+target_sparc+target_x86_64 - qemu-system-sparc broken - compiler issue? ----------------------+---------------------- Reporter: peter@… | Owner: raimue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: qemu | ----------------------+---------------------- Comment (by peter@…): It works, thanks! I think you can close the bug report ... ... that said, I found another issue of sorts. Qemu isn't linked against libSDL ... can it be? Should I create another ticket to request this to happen? If you link it against SDL, you've got graphics. -- Ticket URL: <https://trac.macports.org/ticket/40244#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40244: qemu @1.6.0+target_i386+target_m68k+target_mips+target_ppc+target_sparc+target_x86_64 - qemu-system-sparc broken - compiler issue? ----------------------+---------------------- Reporter: peter@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: qemu | ----------------------+---------------------- Changes (by raimue@…): * status: assigned => closed * resolution: => fixed Comment: Replying to [comment:6 peter@…]:
... that said, I found another issue of sorts. Qemu isn't linked against libSDL ... can it be? Should I create another ticket to request this to happen? If you link it against SDL, you've got graphics.
QEMU uses a native Cocoa frontend on Mac OS X instead of SDL. Graphics are supported and work fine for me. -- Ticket URL: <https://trac.macports.org/ticket/40244#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts