Bug 61549 - Bochs Makefile lacks options dealing with the
Summary: Bochs Makefile lacks options dealing with the
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Eric Anholt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-18 21:40 UTC by kstailey
Modified: 2004-01-22 00:11 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (4.99 KB, patch)
2004-01-18 21:40 UTC, kstailey
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kstailey 2004-01-18 21:40:08 UTC
I exerpt from these two web pages in {{ }} quotes below:

http://sourceforge.net/tracker/index.php?func=detail&aid=536329&group_id=12580&atid=362580

(exact same page at http://tinyurl.com/yv9rk )

and

http://minix1.bio.umass.edu/faq/bochstime.html

{{ Under my test conditions (Bochs 2.0.1 on W2K, AMD K6-450 CPU) there
seems to be about a 30x speedup of the Minix clock.  If I enter the command
sequence

  # date; sleep 300; date

the second date command executes about 10 seconds after the first, showing
a time 5 minutes later than the first. }}

{{ You are correct that the choice of IPS can actually cause a
program to succeed or fail.  None of the authors of Linux
ever tested it on a 0.5 Megahertz machine, so there are some
cases where things time out too fast. }}

Fix: This Makefile patch adds two options both of which help keep the guest OS
clock and the host clock closer to sync.

This Makefile patch also includes fixes for many punctuation errors in
output including putting periods in the middle of sentances instead of
at the end.

How-To-Repeat: 
Run guest OS in bochs, do things that require the host clock and guest OS
clock to be in sync or do things that rely on delay loops.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2004-01-18 21:45:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->anholt

Over to maintainer.
Comment 2 Eric Anholt freebsd_committer freebsd_triage 2004-01-22 00:10:14 UTC
State Changed
From-To: open->closed

Committed some of the punctuation fixes. 
The clock option you want now is apparently "clock: sync=realtime, time0=local" 
in your .bochsrc, with no configure options necessary.