Re: [PATCH] newsyslog - don't compress first log file

2007-08-11 Thread Dirk GOUDERS
> How about using the flag "0" similar to that in newsyslog written by > Theodore Ts'o of MIT Project Athena: Sorry, I have to correct myself: The flag "0" appears in the enhanced version of newsyslog that is maintained by Greg A. Woods. Dirk ___ free

strange KASSERT in _sleep()

2007-08-11 Thread Roman Divacky
hi tsleep() maps to _sleep() with lock = NULL, the _sleep() contains this: KASSERT(timo != 0 || mtx_owned(&Giant) || lock != NULL || ident == &lbolt, ("sleeping without a lock")); which simplifies for tsleep(foo, ...) where foo != lbolt to "timo != 0 || mtx_owned(&Giant)" why

Re: [PATCH] newsyslog - don't compress first log file

2007-08-11 Thread Joost Bekkers
On Fri, August 10, 2007 18:13, David Wolfskill wrote: > > Biggest problem I can see (with what I want to accomplish) is how to > specify it in the config file. > We could extend the 'count' field to accept 'N+M'. N being the number of plain log files and M the number of compressed ones. This woul

Re: [PATCH] newsyslog - don't compress first log file

2007-08-11 Thread Dirk GOUDERS
> We could extend the 'count' field to accept 'N+M'. N being the number of > plain log files and M the number of compressed ones. > > This would also negate the need for a new flag. It could also be done with a numerical flag "n" where n is a number that specifies the extension of the logfile up

Re: [PATCH] newsyslog - don't compress first log file

2007-08-11 Thread David Wolfskill
On Sat, Aug 11, 2007 at 04:12:29PM +0200, Joost Bekkers wrote: > On Fri, August 10, 2007 18:13, David Wolfskill wrote: > > > > Biggest problem I can see (with what I want to accomplish) is how to > > specify it in the config file. > > > > We could extend the 'count' field to accept 'N+M'. N being

Re: [PATCH] newsyslog - don't compress first log file

2007-08-11 Thread David Wolfskill
On Sat, Aug 11, 2007 at 04:39:42PM +0200, Dirk GOUDERS wrote: > > > We could extend the 'count' field to accept 'N+M'. N being the number of > > plain log files and M the number of compressed ones. > > > > This would also negate the need for a new flag. > > It could also be done with a numerical

IDE ultraDMA problem (hackers WAS via IDE controller problem) - SOLVED !!

2007-08-11 Thread Mario Lobo
*** Re-cap of problem: FreeBSD 6.2-STABLE was not recognizing the VT8237A south bridge ultraDMA ata controller on a P5VD2-X ASUS mobo. FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 4 ioapic0 irqs 0-23 on moth

Re: strange KASSERT in _sleep()

2007-08-11 Thread John-Mark Gurney
Roman Divacky wrote this message on Sat, Aug 11, 2007 at 14:46 +0200: > tsleep() maps to _sleep() with lock = NULL, > > the _sleep() contains this: > > KASSERT(timo != 0 || mtx_owned(&Giant) || lock != NULL || > ident == &lbolt, ("sleeping without a lock")); > > > which simplifi