Re: CVS commit: src

2011-01-01 Thread Julio Merino
On Sat, Jan 1, 2011 at 2:09 PM, Adam Hamsik h...@netbsd.org wrote:
 Module Name:    src
 Committed By:   haad
 Date:           Sat Jan  1 13:09:13 UTC 2011

 Modified Files:
        src/distrib/sets/lists/base: mi
        src/etc/mtree: NetBSD.dist.base

 Log Message:
 Add /var/lock/lvm subdir for LVM it can be created automagically but I think
 that it's better to have it created before.

This broke the build:

http://www.gson.org/netbsd/bugs/build/build/2011.01.01.20.43.01/build.log.tail

-- 
Julio Merino


Re: CVS commit: src/etc/mtree

2011-01-01 Thread Adam Hamsik

On Jan,Saturday 1 2011, at 11:11 PM, Adam Hamsik wrote:

 Module Name:  src
 Committed By: haad
 Date: Sat Jan  1 22:11:45 UTC 2011
 
 Modified Files:
   src/etc/mtree: NetBSD.dist.base
 
 Log Message:
 Remove optional keyword from directory definition.
 
 

This fixes PR misc/44308

Regards

Adam.



Re: CVS commit: src

2011-01-01 Thread Adam Hamsik

On Jan,Saturday 1 2011, at 11:40 PM, Julio Merino wrote:

 On Sat, Jan 1, 2011 at 2:09 PM, Adam Hamsik h...@netbsd.org wrote:
 Module Name:src
 Committed By:   haad
 Date:   Sat Jan  1 13:09:13 UTC 2011
 
 Modified Files:
src/distrib/sets/lists/base: mi
src/etc/mtree: NetBSD.dist.base
 
 Log Message:
 Add /var/lock/lvm subdir for LVM it can be created automagically but I think
 that it's better to have it created before.
 
 This broke the build:
 
 http://www.gson.org/netbsd/bugs/build/build/2011.01.01.20.43.01/build.log.tail

Should be fixed now. Thanks for noticing. Sorry for breakage.

Regards

Adam.




Re: CVS commit: src/etc/powerd/scripts

2011-01-01 Thread Jukka Ruohonen
On Fri, Dec 31, 2010 at 12:51:24PM -0600, David Young wrote:
 IMO, we should put the system to sleep by sending a
 power-saving/wakeup-latency goal and a set of waking events (e.g.,
 keystroke, mouse movement, LAN activity) to the root device_t using
 drvctl.  To put any smaller set of devices to sleep, send the goal 
 wake events to some subtree.

 FWIW, the sleep states that ACPI names are not sufficient even to
 describe all of the potential sleep states of ACPI hardware.  I have a
 laptop that's perfectly capable of an S3-like sleep, but the ACPI BIOS
 doesn't support S3, and the HDD is not formatted properly for the S4
 sleep.

I would still make the distinction between system sleep and device sleep.
It seems to me that you describe above the latter. In the former you still
need to call the machine-dependent suspend-sequences at some point.

There is nothing quite like ACPI when it comes to jargon. The actual device
power states are represented as D-states, which range from D0 (fully on)
to D3 (fully off). If I recall correctly, the same abstraction is used in
the USB or PCI specifications. As I've noted before, we lack a representation
for this in device_t.

- Jukka.


Re: CVS commit: src/tests/fs/common

2011-01-01 Thread David Holland
On Sat, Jan 01, 2011 at 03:02:00PM +0200, Antti Kantee wrote:
   It is possible that netbsd's nfs server does additional checks but
   they are expensive to do on every nfs request.
  
  That's good advise to someone who is configuring an nfs server.

...which is to say, it's not relevant to this test; a readonly mount
on the client should still be readonly regardless of what the server
export permissions allow.

It would also be worthwhile to test that nfsd doesn't allow writing
via read-only handles, but that's a different issue and will require a
different test framework that sends raw nfs packets.

-- 
David A. Holland
dholl...@netbsd.org


Re: CVS commit: src/tests/fs/common

2011-01-01 Thread David Holland
On Sun, Jan 02, 2011 at 05:22:32AM +, David Holland wrote:
  It would also be worthwhile to test that nfsd doesn't allow writing
  via read-only handles, but that's a different issue and will require a
  different test framework that sends raw nfs packets.

Hmm, no, maybe I misunderstood. Anyway, the mountd permissions issue
is PR 3019, the longest-lived-without-attention bug in the whole bug
database.

-- 
David A. Holland
dholl...@netbsd.org