Re: A smarter mergemaster

2005-09-30 Thread Ashley Moran
Daniel O'Connor wrote: This work does look neat, but.. Try etcmerge :) It's a bit of a pain to get started with it, but it is a *lot* faster (human input wise) than mergemaster. It only asks you about files that you have modified rather than ones that have been changed by committers (ie does a

freebsd-5.4-stable panics

2005-09-30 Thread Antoine Pelisse
Hi Robert, I don't think your patch is correct, the total linked list can be broken while the lock is released, thus just passing the link may not be enough I have submitted a PR[1] for this a month ago but nobody took care of it yet Regards, Antoine Pelisse [1] http://www.freebsd.org/cgi/query

Re: A smarter mergemaster

2005-09-30 Thread Yar Tikhiy
On Thu, Sep 29, 2005 at 11:41:57PM -0700, Doug Barton wrote: > > First let me say that you've obviously put a lot of work into this, and you > have some very interesting ideas here that are worthy of further discussion. > Please don't let any of my comments here be understood as criticism, or an >

Re: A smarter mergemaster

2005-09-30 Thread Yar Tikhiy
[Replying to everyone who mentioned etcmerge or 3-way merge in general] On Fri, Sep 30, 2005 at 12:15:59AM -0700, Jon Dama wrote: > It is worth while to mention sysutils/etcmerge. > > Having the "three-way" merge makes the process much better. The primary > way I've shot myself with mergemaster

Re: freebsd-5.4-stable panics

2005-09-30 Thread Rob Watt
Robert, We have gotten some more information from our type1 crash: >sh lockedvnods Locked vnodes >sh alllocks Process 2204 (dataplay) thread 0xff00b1726a000 (100214) exclusive sleep mutex inp (udpinp) f = 0 (0xff00cc90fcc8) locked @ /usr/src/sys/netinet/udp_usrreq.c:762 Process 62 (paged

Re: journaling fs and large mailbox format

2005-09-30 Thread Stanislav Sedov
On Thu, Sep 29, 2005 at 04:11:29AM +0300, Alin-Adrian Anton wrote: > Dear Hackers, > > First of all thank you for your time and attention. > > I am in the position to implement a large-scale mail server and I > will never go for anything else but FreeBSD (fixation?). > >

Re: freebsd-5.4-stable panics

2005-09-30 Thread Rob Watt
On Thu, 29 Sep 2005, Robert Watson wrote: > Could you dump the contents of *td and *td->td_proc for me? I'm quite > interested to know what the value in td->td_proc->p_state is, among other > things. If I could also have you generate a dump of the KSE group > structures in td->td_proc->p_ksegrps

using fast interrupts with em(4)

2005-09-30 Thread Kernel Dev
Hello All. For a project, I am looking into making the em(4) driver use fast interrupts. Has someone done this or are there other driver references that could help me in this? I understand that the main problems are: 1. Sharing of interrupts. 2. Blocking (memory and mutexes). Are there any

Re: A smarter mergemaster

2005-09-30 Thread Brian Candler
On Fri, Sep 30, 2005 at 02:45:48AM +0400, Yar Tikhiy wrote: > The fruitiest features are as follows: Will it automatically install new versions of files where the old one was not altered? That's my biggest bugbear with mergemaster - it asks you about a zillion files in /etc/rc.d which you have to

Re: A smarter mergemaster

2005-09-30 Thread Alex Zbyslaw
Brian Candler wrote: That's my biggest bugbear with mergemaster - it asks you about a zillion files in /etc/rc.d which you have to manually agree to overwrite just because the RCS ID has changed. In those cases where you've not altered them yourself, I think you should just get the latest versio

Re: A smarter mergemaster

2005-09-30 Thread Daniel O'Connor
On Friday 30 September 2005 18:12, Brian Candler wrote: > On Fri, Sep 30, 2005 at 02:45:48AM +0400, Yar Tikhiy wrote: > > The fruitiest features are as follows: > > Will it automatically install new versions of files where the old one was > not altered? That's my biggest bugbear with mergemaster -

Re: A smarter mergemaster

2005-09-30 Thread Daniel O'Connor
On Friday 30 September 2005 18:23, Ashley Moran wrote: > > It does have problems handling DB files, but that is usually not a big > > problem to fix. > > I read about etcmerge in BSD Hacks and there's been no going back for > me. It seems pretty stable even though it's not been updated for a good

Re: freebsd-5.4-stable panics

2005-09-30 Thread John Baldwin
On Friday 30 September 2005 05:24 am, Antoine Pelisse wrote: > Hi Robert, > I don't think your patch is correct, the total linked list can be broken > while the lock is released, thus just passing the link may not be enough > I have submitted a PR[1] for this a month ago but nobody took care of it

Re: dev_lock() question

2005-09-30 Thread John Baldwin
On Thursday 29 September 2005 03:36 pm, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, John Baldwin writes: > >On Thursday 29 September 2005 02:14 pm, Poul-Henning Kamp wrote: > >> In message <[EMAIL PROTECTED]>, John Baldwin writes: > >> >Actually, you would think that it could be init

Re: A smarter mergemaster

2005-09-30 Thread John Baldwin
On Friday 30 September 2005 07:08 am, Yar Tikhiy wrote: > [Replying to everyone who mentioned etcmerge or 3-way merge in general] > > On Fri, Sep 30, 2005 at 12:15:59AM -0700, Jon Dama wrote: > > It is worth while to mention sysutils/etcmerge. > > > > Having the "three-way" merge makes the process

Re: A smarter mergemaster

2005-09-30 Thread Ashley Moran
Daniel O'Connor wrote: On Friday 30 September 2005 18:23, Ashley Moran wrote: It sure would be nice :) One thing would be to have automatically fetched etc directories so when you ran it for the first time it would grab a release version of etc for you :) Hmm.. I'll try and add that if I get s

Re: A smarter mergemaster

2005-09-30 Thread Daniel O'Connor
On Friday 30 September 2005 23:50, Ashley Moran wrote: > Unfortunately it seems that config files for the subsystems (eg SSH) are > stored separately in the CVS tree and I didn't have time to work out > where they live. The trick is to get the system to build you an /etc - see how mergemaster does

Re: A smarter mergemaster

2005-09-30 Thread Yar Tikhiy
On Fri, Sep 30, 2005 at 09:07:16AM -0400, John Baldwin wrote: > On Friday 30 September 2005 07:08 am, Yar Tikhiy wrote: > > [Replying to everyone who mentioned etcmerge or 3-way merge in general] > > > > On Fri, Sep 30, 2005 at 12:15:59AM -0700, Jon Dama wrote: > > > It is worth while to mention sy

serial login to SBC

2005-09-30 Thread jerry
Hello list, I am trying to use a FreeBSD box to log into a Single Board Computer. I have a null modem and it's plugged to both serial ports. The SBC runs openbsd ( /dev/cua00). When I run "cu -l /dev/cuaa0" from FreeBSD, I don't get any login prompt. What I am doing wrong? I've already read t

freebsd-5.4-stable panics

2005-09-30 Thread Antoine Pelisse
On 9/30/05, John Baldwin <[EMAIL PROTECTED]> wrote: > On Friday 30 September 2005 05:24 am, Antoine Pelisse wrote: > > Hi Robert, > > I don't think your patch is correct, the total linked list can be broken > > > while the lock is released, thus just passing the link may not be enough > > I have s

Re: serial login to SBC

2005-09-30 Thread Brian Reichert
On Fri, Sep 30, 2005 at 05:14:01PM +0200, [EMAIL PROTECTED] wrote: > > Hello list, > I am trying to use a FreeBSD box to log into a Single Board Computer. I > have a null modem and it's plugged to both serial > ports. The SBC runs openbsd ( /dev/cua00). > When I run "cu -l /dev/cuaa0" from FreeBSD

arplookup/arpresolved failure messages in mailserver

2005-09-30 Thread Khaled
Hi, I am seeing a lot of these messages in my /var/log/messages directory and cannot understand why: arplookup 192.168.0.12 failed: could not allocate llinfo arpresolve: can't allocate llinfo for 192.168.0.12rt There were more of these messages for two other IPs (one external), but this is the o

Re: using fast interrupts with em(4)

2005-09-30 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Kernel Dev <[EMAIL PROTECTED]> writes: : Hello All. For a project, I am looking into making the em(4) driver use fast interrupts. Has someone done this or are there other driver references that could help me in this? : : I understand that the main pro

Re: serial login to SBC

2005-09-30 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Brian Reichert <[EMAIL PROTECTED]> writes: : On Fri, Sep 30, 2005 at 05:14:01PM +0200, [EMAIL PROTECTED] wrote: : > : > Hello list, : > I am trying to use a FreeBSD box to log into a Single Board Computer. I : > have a null modem and it's plugged to both

Re: Filesystem access from a KLD causes "vrele: negative ref cnt" panic

2005-09-30 Thread Sebastien
> It is hard to say something not seeing and understanding the > complete source code. Well, it's a very simple module : http://lekernel.lya-fr.com/firmwareagent_en.html > But since fdinit() which is called from > fork1() and fdfree() which is called from exit1() get and release > reference on

Re: serial login to SBC

2005-09-30 Thread John Baldwin
On Friday 30 September 2005 12:33 pm, M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > > Brian Reichert <[EMAIL PROTECTED]> writes: > : On Fri, Sep 30, 2005 at 05:14:01PM +0200, [EMAIL PROTECTED] wrote: > : > Hello list, > : > I am trying to use a FreeBSD box to log into a Sing

Re: freebsd-5.4-stable panics

2005-09-30 Thread John Baldwin
On Friday 30 September 2005 11:25 am, Antoine Pelisse wrote: > On 9/30/05, John Baldwin <[EMAIL PROTECTED]> wrote: > > On Friday 30 September 2005 05:24 am, Antoine Pelisse wrote: > > > Hi Robert, > > > I don't think your patch is correct, the total linked list can be > > > broken > > > > > > while

RE: serial login to SBC

2005-09-30 Thread jerry
Thank you all for your replys. My answers are inline: > : Do you have getty running on that port on the SBC? yes. It should be running. We have in /etc/ttys (openbsd) tty00 "/usr/libexec/getty std.9600" dialup on secure > Do you have all the modem pins connected for this cable? I got th

Re: serial login to SBC

2005-09-30 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> writes: : One thing I've noticed on the FreeBSD (5.4 RELEASE) dmesg is : sio0: port may not be enabled : : I enabled the first serial port in the BIOS, but I still get this. : Me scratching head now. Anything else I may be missing? C

Re: serial login to SBC

2005-09-30 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Sergey Babkin <[EMAIL PROTECTED]> writes: : >From: "M. Warner Losh" <[EMAIL PROTECTED]> : : >In message: <[EMAIL PROTECTED]> : >Brian Reichert <[EMAIL PROTECTED]> writes: : >: On Fri, Sep 30, 2005 at 05:14:01PM +0200, [EMAIL PROTECTED] wrote:

Re: journaling fs and large mailbox format

2005-09-30 Thread Vaclav Haisman
On Thu, 29 Sep 2005, Doug Barton wrote: Alin-Adrian Anton wrote: XFS fits incredibly well with Maildir, however this I did not test practically I am curious as to what the defaults are for frag, inode, and block sizes on XFS, and whether that is one of the factors that make it work well

Re: journaling fs and large mailbox format

2005-09-30 Thread David Malone
On Fri, Sep 30, 2005 at 09:43:13PM +0200, Vaclav Haisman wrote: > I don't think that frag, inode and block size is the main factor that makes > XFS work well in many small files situations. From what I have read about > XFS I gather that it allocates inodes on demand, that it doesn't have fixed

sysctl variable creation

2005-09-30 Thread Eric Anderson
I'm hacking up sys/ufs/ufs/ufs_vnops.c, and I've added a sysctl entry, but it doesn't appear via sysctl -a -c vfs.ufs. Here's what I've done: --- ufs_vnops.c-origThu Sep 29 20:47:50 2005 +++ ufs_vnops.c Fri Sep 30 13:44:55 2005 @@ -79,6 +79,7 @@ #include #include #include +#include

Daemon image with a beer mug?

2005-09-30 Thread Greg 'groggy' Lehey
I'm just putting the finishing touches on a paper that I'll present at the AUUG 2005 conference (see http://www.auug.org.au/ for details). The paper is about using FreeBSD to control the fermentation process. Normally I put a beastie image at the bottom right of the slides (see http://www.lemis.co

Re: sysctl variable creation

2005-09-30 Thread Peter Jeremy
On Fri, 2005-Sep-30 16:51:51 -0500, Eric Anderson wrote: >I'm hacking up sys/ufs/ufs/ufs_vnops.c, and I've added a sysctl entry, >but it doesn't appear via sysctl -a -c vfs.ufs. Here's what I've done: The code looks correct but I can't find a '-c' option to sysctl in 4.x, 5.x or 7.x. Note that

Re: sysctl variable creation

2005-09-30 Thread Eric Anderson
Peter Jeremy wrote: On Fri, 2005-Sep-30 16:51:51 -0500, Eric Anderson wrote: I'm hacking up sys/ufs/ufs/ufs_vnops.c, and I've added a sysctl entry, but it doesn't appear via sysctl -a -c vfs.ufs. Here's what I've done: The code looks correct but I can't find a '-c' option to sysctl in 4.x,