Bug 61549

Summary: Bochs Makefile lacks options dealing with the
Product: Ports & Packages Reporter: kstailey <kstailey>
Component: Individual Port(s)Assignee: Eric Anholt <anholt>
Status: Closed FIXED    
Severity: Affects Only Me CC: anholt
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

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.