Re: ttydev_cdevsw has no d_purge

2012-08-10 Thread Hans Petter Selasky
Hi, Please see the following patches for a solution of the problem given by the subject of this thread: http://svn.freebsd.org/changeset/base/239178 http://svn.freebsd.org/changeset/base/239179 http://svn.freebsd.org/changeset/base/239180 --HPS ___ fr

Re: pkg and portmaster: Downgrading ports? Why? portmaster messes up ...

2012-08-10 Thread Bryan Drewery
On 8/9/2012 8:26 AM, Chris Rees wrote: > On 7 Aug 2012 15:50, "O. Hartmann" wrote: >> >> On 08/07/12 15:39, Bryan Drewery wrote: >>> On 8/7/2012 4:31 AM, O. Hartmann wrote: ports-mgmt/portmaster installs still the old fashioned style folders of ports in /var/db/pkg. I thought ith the new

MS Hyper-v for FreeBSD announced

2012-08-10 Thread Pedro Giffuni
Hi guys, Yesterday, per chance, I had the idea of looking up what the status of the Hyper-V drivers was and I found the announcement: http://blogs.technet.com/b/openness/archive/2012/08/09/available-today-freebsd-support-for-windows-server-hyper-v.aspx  The announcement is much easier to find t

Re: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-10 Thread Mike Tancsa
On 8/10/2012 10:05 AM, John Baldwin wrote: > > 5972 tw_cli CALL > __sysctl(0x7fffd798,0x2,0x7fffd7a0,0x7fffd790,0x7fffd960,0x16) > 5972 tw_cli SCTL "sysctl.name2oid" > 5972 tw_cli RET __sysctl -1 errno 2 No such file or directory > 5972 tw_cli CALL unlink(0x7fff

Re: ttydev_cdevsw has no d_purge

2012-08-10 Thread Hans Petter Selasky
On Friday 10 August 2012 15:39:16 Ed Schouten wrote: > Hi Hans, > > 2012/8/9 Hans Petter Selasky : > > 1) Use unrhdr. Suggested by ed. > > Thanks! > > > 2) Implement tty_set_softc() and use that when dereffing ucom unit > > numbers. > > We're getting there. Now that I think of it, if we want to

Re: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-10 Thread John Baldwin
On 8/10/12 9:52 AM, Mike Tancsa wrote: > On 8/10/2012 9:31 AM, John Baldwin wrote: >> On 8/9/12 5:04 PM, Mike Tancsa wrote: >>> Start up the tw_cli client >>> >>> 0{offsite2}# tw_cli >>> //offsite2> show >>> >>> Ctl Model(V)Ports Drives Units NotOpt RRate VRate BBU >>> --

Re: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-10 Thread Mike Tancsa
On 8/10/2012 9:31 AM, John Baldwin wrote: > On 8/9/12 5:04 PM, Mike Tancsa wrote: >> Start up the tw_cli client >> >> 0{offsite2}# tw_cli >> //offsite2> show >> >> Ctl Model(V)Ports Drives Units NotOpt RRate VRate BBU >> ---

Re: ttydev_cdevsw has no d_purge

2012-08-10 Thread Ed Schouten
Hi Hans, 2012/8/9 Hans Petter Selasky : > 1) Use unrhdr. Suggested by ed. Thanks! > 2) Implement tty_set_softc() and use that when dereffing ucom unit numbers. We're getting there. Now that I think of it, if we want to go in this direction, we might as well do the following: - Simply call tty_

Re: [clang] kernel build failure

2012-08-10 Thread Boris Samorodov
09.08.2012 16:26, David Wolfskill пишет: On Thu, Aug 09, 2012 at 04:15:36PM +0400, Boris Samorodov wrote: Hi! The kernel build fails at fresh CURRENT... And then I get an error: - linking kernel.debug cam_periph.o: In function `cam_periph_error': /usr/src/sys/cam/cam_periph.c:1776: undefine

Re: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-10 Thread John Baldwin
On 8/9/12 5:04 PM, Mike Tancsa wrote: > Start up the tw_cli client > > 0{offsite2}# tw_cli > //offsite2> show > > Ctl Model(V)Ports Drives Units NotOpt RRate VRate BBU > > c09650SE-2LP 2 2