Re: CVS commit: [cherry-xenmp] src/sys/arch/xen/xen

2011-11-04 Thread Cherry G. Mathew
Hi Manuel,

On 23 October 2011 04:12, Manuel Bouyer bou...@netbsd.org wrote:
 Module Name:    src
 Committed By:   bouyer
 Date:           Sat Oct 22 22:42:21 UTC 2011

 Modified Files:
        src/sys/arch/xen/xen [cherry-xenmp]: clock.c

 Log Message:
 More improvements:
 - Precise what tmutex protects
 - springle some KASSERT(mutex_owned(tmutex))
 - the system time uses the CPU timecounter to get some precision;
  don't mix local CPU timecounter with VCPU0's time, it won't work well.
  Always use curcpu()'s time.


 To generate a diff of this commit:
 cvs rdiff -u -r1.54.6.6 -r1.54.6.7 src/sys/arch/xen/xen/clock.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.



Thanks for this - I'm curious to know if this fixes the clock drift
that has been reported on port-xen@

Thanks,
-- 
~Cherry


Re: CVS commit: src/distrib/utils/sysinst

2011-11-04 Thread Izumi Tsutsui
 Log Message:
 Add a new hook, md_pre_mount(), that is called after preparation of
 the target filesystem, but before mounting it. Use this on sparc64
 to install the primary boot block, but install the secondary boot
 (/ofwboot) later.
 This allows sysinst to run at securelevel 1 (as long as we don't do an
 upgrade install on the hard disk we booted from).

What won't work on securelevel 1?
installboot(8) against mounted LABELSECTOR?

---
Izumi Tsutsui


Re: CVS commit: src/distrib/utils/sysinst

2011-11-04 Thread Martin Husemann
On Fri, Nov 04, 2011 at 09:02:15PM +0900, Izumi Tsutsui wrote:
 What won't work on securelevel 1?
 installboot(8) against mounted LABELSECTOR?

Yes.

Martin


Re: CVS commit: src/distrib/utils/sysinst

2011-11-04 Thread Izumi Tsutsui
martin@ wrote:

 On Fri, Nov 04, 2011 at 09:02:15PM +0900, Izumi Tsutsui wrote:
  What won't work on securelevel 1?
  installboot(8) against mounted LABELSECTOR?
 
 Yes.

Doesn't DIOCWLABEL work as macppc does?
http://nxr.NetBSD.org/xref/src/usr.sbin/installboot/arch/macppc.c#119

---
Izumi Tsutsui