Anything to do about Qemu error messages?

About Qemu-system-ppc, a PPC Mac emulator for Windows, macOS and Linux that can run Mac OS 9.0 up to Mac OS X 10.5

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
emendelson
Forum All-Star
Posts: 1726
Joined: Tue Oct 14, 2008 12:12 am

Anything to do about Qemu error messages?

Post by emendelson »

When I start up Qemu running OS 9, I get various OpenBios messages including one like this:

Code: Select all

MacOS:Unable to find a usable NVRAM portion.... etc.
Is it possible to hide those?

Also, in the OS X Terminal I get these messages:

Code: Select all

Trying to write invalid spr 0 (0x000) at 00f113c0
Trying to read invalid spr 0 (0x000) at 00f113c8
Trying to write privileged spr 955 (0x3bb) at 00f164b8
Trying to write invalid spr 959 (0x3bf) at 00f16520
Trying to read invalid spr 959 (0x3bf) at 00f16528
Trying to write privileged spr 955 (0x3bb) at 00f164b8
Trying to write invalid spr 959 (0x3bf) at 00f16520
Trying to read invalid spr 959 (0x3bf) at 00f16528
Is there (1) anything to be done about them (2) any way to hide the terminal output entirely?
User avatar
adespoton
Forum All-Star
Posts: 4287
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Anything to do about Qemu error messages?

Post by adespoton »

Does redirecting output to /dev/null work? That should be possible under OS X, Linux and Windows 10+.
emendelson
Forum All-Star
Posts: 1726
Joined: Tue Oct 14, 2008 12:12 am

Re: Anything to do about Qemu error messages?

Post by emendelson »

adespoton wrote:Does redirecting output to /dev/null work? That should be possible under OS X, Linux and Windows 10+.
It was of course the first thing I tried. It still opens a console window; it doesn't block error messages. (And I made the mistake also of redirecting to Windows-style nul, not null, which stops Qemu from starting at all.)
User avatar
adespoton
Forum All-Star
Posts: 4287
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Anything to do about Qemu error messages?

Post by adespoton »

What I did in my older launch scripts was launched the terminal window hidden; it still launches, but isn't visible. An alternative would be to use an applescript and redirect output to the applescript instead of the console or terminal.

Also, you'll have to redirect both /dev/stdout (regular Terminal output) AND /dev/stderr (error output) as either one will bring up a terminal window.
emendelson
Forum All-Star
Posts: 1726
Joined: Tue Oct 14, 2008 12:12 am

Re: Anything to do about Qemu error messages?

Post by emendelson »

adespoton wrote:What I did in my older launch scripts was launched the terminal window hidden; it still launches, but isn't visible. An alternative would be to use an applescript and redirect output to the applescript instead of the console or terminal.

Also, you'll have to redirect both /dev/stdout (regular Terminal output) AND /dev/stderr (error output) as either one will bring up a terminal window.
Do you have the exact syntax available for that? Thanks for any details.
User avatar
adespoton
Forum All-Star
Posts: 4287
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Anything to do about Qemu error messages?

Post by adespoton »

I don't have my emulation computer handy, but I'll try to look it up.
emendelson
Forum All-Star
Posts: 1726
Joined: Tue Oct 14, 2008 12:12 am

Re: Anything to do about Qemu error messages?

Post by emendelson »

adespoton wrote:I don't have my emulation computer handy, but I'll try to look it up.
Thank you in advance. It can be a bit tricky to try to take expert advice when I don't really know what I'm doing...
Post Reply