Re: Bug or not? Using Linux-NIS-Clients with FreeBSD-NIS-Server

2012-05-31 Thread dev42
Hello i have tried your patch but it returns to me an error :

#
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|--- Makefile.dist   Thu Nov  3 09:12:04 2005
|+++ MakefileFri Mar 17 09:55:48 2006
--
Patching file Makefile using Plan A...
Hunk #1 failed at 40.
Hunk #2 failed at 201.
Hunk #3 failed at 504.
Hunk #4 failed at 522.
Hunk #5 succeeded at 630 with fuzz 2.
4 out of 5 hunks failed--saving rejects to Makefile.rej
Hmm...  Ignoring the trailing garbage.
done
#


--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Bug-or-not-Using-Linux-NIS-Clients-with-FreeBSD-NIS-Server-tp3978911p5713639.html
Sent from the freebsd-bugs mailing list archive at Nabble.com.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/162174: commit references a PR

2012-05-31 Thread dfilter service
The following reply was made to PR kern/162174; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: kern/162174: commit references a PR
Date: Thu, 31 May 2012 17:27:19 + (UTC)

 Author: imp
 Date: Thu May 31 17:27:05 2012
 New Revision: 236359
 URL: http://svn.freebsd.org/changeset/base/236359
 
 Log:
   Unlock in the error path to prevent a lock leak.
   
   PR:  162174
   Submitted by:Ian Lepore
   MFC after:   2 weeks
 
 Modified:
   head/sys/kern/subr_rman.c
 
 Modified: head/sys/kern/subr_rman.c
 ==
 --- head/sys/kern/subr_rman.c  Thu May 31 14:47:02 2012(r236358)
 +++ head/sys/kern/subr_rman.c  Thu May 31 17:27:05 2012(r236359)
 @@ -161,6 +161,7 @@ int
  rman_manage_region(struct rman *rm, u_long start, u_long end)
  {
struct resource_i *r, *s, *t;
 +  int rv = 0;
  
DPRINTF(("rman_manage_region: <%s> request: start %#lx, end %#lx\n",
rm->rm_descr, start, end));
 @@ -188,13 +189,17 @@ rman_manage_region(struct rman *rm, u_lo
TAILQ_INSERT_TAIL(&rm->rm_list, r, r_link);
} else {
/* Check for any overlap with the current region. */
 -  if (r->r_start <= s->r_end && r->r_end >= s->r_start)
 -  return EBUSY;
 +  if (r->r_start <= s->r_end && r->r_end >= s->r_start) {
 +  rv = EBUSY;
 +  goto out;
 +  }
  
/* Check for any overlap with the next region. */
t = TAILQ_NEXT(s, r_link);
 -  if (t && r->r_start <= t->r_end && r->r_end >= t->r_start)
 -  return EBUSY;
 +  if (t && r->r_start <= t->r_end && r->r_end >= t->r_start) {
 +  rv = EBUSY;
 +  goto out;
 +  }
  
/*
 * See if this region can be merged with the next region.  If
 @@ -225,9 +230,9 @@ rman_manage_region(struct rman *rm, u_lo
TAILQ_INSERT_BEFORE(s, r, r_link);
}
}
 -
 +out:
mtx_unlock(rm->rm_mtx);
 -  return 0;
 +  return rv;
  }
  
  int
 ___
 svn-src-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
 
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/162174: [kernel] [patch] rman_manage_region() error return path leaves mutex locked

2012-05-31 Thread imp
Synopsis: [kernel] [patch] rman_manage_region() error return path leaves mutex 
locked

State-Changed-From-To: open->patched
State-Changed-By: imp
State-Changed-When: Thu May 31 11:36:42 MDT 2012
State-Changed-Why: 
Committed.

http://www.freebsd.org/cgi/query-pr.cgi?pr=162174
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/103455

2012-05-31 Thread Jason Helfman
The following reply was made to PR kern/103455; it has been noted by GNATS.

From: Jason Helfman 
To: j...@freebsd.org
Cc: bug-follo...@freebsd.org
Subject: Re: kern/103455
Date: Thu, 31 May 2012 10:35:56 -0700

 Hi,
 
 I just spotted this today on a system of ours that is running 7.4-p4. What
 information can I gather for this? I am not certain what a "page file," is
 however, so I am doubtful that I am running this.
 
 this is the error:
 
 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 67, size: 4096
 
 Only one error at this point, though. System is still responsive, and no
 other issues have come up.
 
 Thanks!
 -jgh
 
 -- 
 Jason Helfman
 FreeBSD Committer | http://people.freebsd.org/~jgh | The Power To Serve
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"