Opened 11 years ago

Closed 11 years ago

#40244 closed defect (fixed)

qemu @1.6.0+target_i386+target_m68k+target_mips+target_ppc+target_sparc+target_x86_64 - qemu-system-sparc broken - compiler issue?

Reported by: d0wntime Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: cooljeanius (Eric Gallager)
Port: qemu

Description (last modified by larryv (Lawrence Velázquez))

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

Change History (7)

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Owner: changed from macports-tickets@… to raimue@…
Port: qemu added; qemu-1.6.0 removed

Thanks for the ticket. In the future, please Cc relevant port maintainers (port info --maintainers) and use WikiFormatting in ticket descriptions.

comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)

When I build it using gcc-apple-4.2, I have no such problem.

Which compiler had you used before?

comment:3 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:4 Changed 11 years ago by raimue (Rainer Müller)

Status: newassigned

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.

comment:5 Changed 11 years ago by raimue (Rainer Müller)

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.

comment:6 Changed 11 years ago by d0wntime

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.

comment:7 in reply to:  6 Changed 11 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: assignedclosed

Replying to 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.

Note: See TracTickets for help on using tickets.