Discussion:
Bus error from bochs; was Re: dependancies of bochs.
p***@easthope.ca
2014-09-15 02:25:26 UTC
Permalink
From: Robert Swindells <***@fdy2.co.uk>
Date: Sun, 14 Sep 2014 22:10:14 +0100 (BST)
... download and unpack xserver.tgz, xetc.tgz and xfont.tgz.
Right oh. The server starts now, with a complaint from xauth.

sparc2$ startx
xauth: file /home/peter/.serverauth.nnnn does not exist

xterm is useable. bochs opens a window and after a few seconds
it crashes.

[1] Bus error (core dumped) bochs

If there are any ideas about that I can follow up tomorrow.

Thanks, ... P.
--
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +1 360 639 0202 http://carnot.yi.org/ Bcc: peter at easthope. ca
Robert Swindells
2014-09-15 20:36:04 UTC
Permalink
Post by p***@easthope.ca
xterm is useable. bochs opens a window and after a few seconds
it crashes.
[1] Bus error (core dumped) bochs
If there are any ideas about that I can follow up tomorrow.
Why do you want to run bochs on a sparc 2 ? There must be a faster
x86 machine in a dumpster fairly near you.

You could always try running gdb on the core dump:

% gdb /usr/pkg/bin/bochs bochs.core

My first guess would be that it may be trying to mmap() something
in the 'hole' in the sun4c MMU.
matthew green
2014-09-15 20:52:04 UTC
Permalink
Post by Robert Swindells
Post by p***@easthope.ca
xterm is useable. bochs opens a window and after a few seconds
it crashes.
[1] Bus error (core dumped) bochs
If there are any ideas about that I can follow up tomorrow.
Why do you want to run bochs on a sparc 2 ? There must be a faster
x86 machine in a dumpster fairly near you.
:-)
Post by Robert Swindells
% gdb /usr/pkg/bin/bochs bochs.core
My first guess would be that it may be trying to mmap() something
in the 'hole' in the sun4c MMU.
i'm used to that being more likely an unaligned access. gdb is the
right next step, indeed.

thanks.


.mrg.
Peter Easthope
2014-09-16 01:05:47 UTC
Permalink
Post by Robert Swindells
Why do you want to run bochs on a sparc 2 ? There must be a faster
x86 machine in a dumpster fairly near you.
True. I have a half dozen orphaned laptops which are faster.
Too many people squander resources.

I'll use the ss2 as a simple Web server. Running Oberon under
bochs is only a curiosity.
Post by Robert Swindells
My first guess would be that it may be trying to mmap() something
in the 'hole' in the sun4c MMU.
OK, thanks, ... Peter E.
--
Telephone 1 360 639 0202. Bcc: peter at easthope.ca "http://carnot.yi.org/ "
David Laight
2014-10-01 21:42:55 UTC
Permalink
Post by p***@easthope.ca
Date: Sun, 14 Sep 2014 22:10:14 +0100 (BST)
... download and unpack xserver.tgz, xetc.tgz and xfont.tgz.
Right oh. The server starts now, with a complaint from xauth.
sparc2$ startx
xauth: file /home/peter/.serverauth.nnnn does not exist
xterm is useable. bochs opens a window and after a few seconds
it crashes.
[1] Bus error (core dumped) bochs
If there are any ideas about that I can follow up tomorrow.
bochs does things from signal handlers that are not allowed.
(IIRC they include updating X).

I got them to fix a problem with floating point printfs, but that
was just the tip of the iceberg.

David
--
David Laight: ***@l8s.co.uk
Loading...