[CFT/CFR] machine independent sf_bufs

2014-07-18 Thread Gleb Smirnoff
Hi! we've got a lot of common code in sys/*/*/vm_machdep.c wrt the sf_buf allocation. I have gathered it into kern/subr_sfbuf.c. o No MD code left in sys/*/*/vm_machdep.c. o The arches that have physical map have their implementation in machine/sf_buf.h o The arches that needs sf_bufs use s

Re: Future of pf / firewall in FreeBSD ? - does it have one ?

2014-07-18 Thread Darren Pilgrim
On 7/18/2014 4:06 AM, Gleb Smirnoff wrote: K> b) We are a major release away from OpenBSD (5.6 coming soon) - is K> following OpenBSD's pf the past? - should it be? Following OpenBSD on features would be cool, but no bulk imports would be made again. Bulk imports produce bad quality of port, and

Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg?

2014-07-18 Thread Rui Paulo
On Jul 17, 2014, at 13:00, Adrian Chadd wrote: > On 17 July 2014 12:57, Andreas Nilsson wrote: >> >> >> >> On Thu, Jul 17, 2014 at 9:28 PM, Adrian Chadd wrote: >>> >>> Hi! >>> >>> 3) The binary packages need to work out of the box >>> 4) .. which means, when you do things like pkg install

Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg?

2014-07-18 Thread Adrian Chadd
On 18 July 2014 14:21, Baptiste Daroussin wrote: > On Fri, Jul 18, 2014 at 12:10:34PM -0700, Adrian Chadd wrote: >> Hi! >> >> >> On 18 July 2014 07:28, Lars Engels wrote: >> > On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote: >> >> On Thu, Jul 17, 2014 at 10:15 PM, Navdeep Parhar

Re: VT and kms is broken on a Lenovo Thinkpad E530

2014-07-18 Thread Daniel Peyrolon
> I guess that I should do: > # echo kern.vty=\"vt\" >> /boot/loader.conf That did the trick. Thanks Ed! 2014-07-19 0:57 GMT+02:00 Daniel Peyrolon : > Allright, it seems that the kernel switched back to sysconsole. (kern.vty: > sc) > > The wiki says that I should add this to the loader: >

Re: VT and kms is broken on a Lenovo Thinkpad E530

2014-07-18 Thread Daniel Peyrolon
Allright, it seems that the kernel switched back to sysconsole. (kern.vty: sc) The wiki says that I should add this to the loader: To enable Newcons on i386 or amd64, set the loader tunable kern.vty=vt. I guess that I should do: # echo kern.vty=\"vt\" >> /boot/loader.conf 2014-07-18 18

CFR - fflush() behaviour change

2014-07-18 Thread Pedro Giffuni
Hi; Out of curiosity I took a peek at Apple's libc and generated some diffs against the libc in FreeBSD's 8. Most of the changes are not relevant to FreeBSD anymore as we have grown alternative implementations for things like xlocale. Nevertheless, there are still some small things to look at

Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg?

2014-07-18 Thread Baptiste Daroussin
On Fri, Jul 18, 2014 at 12:10:34PM -0700, Adrian Chadd wrote: > Hi! > > > On 18 July 2014 07:28, Lars Engels wrote: > > On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote: > >> On Thu, Jul 17, 2014 at 10:15 PM, Navdeep Parhar wrote: > >> > >> > On 07/17/14 13:12, Adrian Chadd wrote

Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg?

2014-07-18 Thread Alfred Perlstein
On 7/18/14, 6:28 AM, Allan Jude wrote: On 2014-07-17 16:12, Adrian Chadd wrote: On 17 July 2014 13:03, Alberto Mijares wrote: On Thu, Jul 17, 2014 at 2:58 PM, Adrian Chadd wrote: Hi! 3) The binary packages need to work out of the box 4) .. which means, when you do things like pkg install a

Re: Future of pf / firewall in FreeBSD ? - does it have one ?

2014-07-18 Thread Allan Jude
On 2014-07-18 15:07, Adrian Chadd wrote: > On 18 July 2014 07:34, krad wrote: >> that is true and I have not problem using man pages, however thats not the >> way most of the world work and search engines arent exactly new either. We >> should be trying to engage more people not less, and part of

Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg?

2014-07-18 Thread Adrian Chadd
Hi! On 18 July 2014 07:28, Lars Engels wrote: > On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote: >> On Thu, Jul 17, 2014 at 10:15 PM, Navdeep Parhar wrote: >> >> > On 07/17/14 13:12, Adrian Chadd wrote: >> > > On 17 July 2014 13:03, Alberto Mijares wrote: >> > >> On Thu, Jul 17

Re: Future of pf / firewall in FreeBSD ? - does it have one ?

2014-07-18 Thread Adrian Chadd
On 18 July 2014 07:34, krad wrote: > that is true and I have not problem using man pages, however thats not the > way most of the world work and search engines arent exactly new either. We > should be trying to engage more people not less, and part of that is > reaching out. Then do the port and

Re: VT and kms is broken on a Lenovo Thinkpad E530

2014-07-18 Thread Ed Maste
On 18 July 2014 12:36, Daniel Peyrolon wrote: > I basically installed from a FreeBSD VT enabled ISO. Ok, it seems those are not available any longer. To confirm that you're actually using vt, check "sysctl kern.vty". It will report either sc, vt, or an error. If you get an error the kernel pre

Re: VT and kms is broken on a Lenovo Thinkpad E530

2014-07-18 Thread Daniel Peyrolon
I basically installed from a FreeBSD VT enabled ISO. You presume correctly. On Jul 18, 2014 3:42 PM, "Ed Maste" wrote: > On 18 July 2014 10:32, Daniel Peyrolon wrote: > > The problems arise when I try to use the console, the screen just shows a > > static image of the last xorg frame, with some

Re: Future of pf / firewall in FreeBSD ? - does it have one ?

2014-07-18 Thread Matt Bettinger
Back in the day we didn't have Google to ask the oracle for cut and paste answers. If the man page is accurate that should be good enough. On Jul 18, 2014 8:26 AM, "krad" wrote: > this is also another important point. If you go onto google and search on > how to do this and that under pf, you g

Re: Future of pf / firewall in FreeBSD ? - does it have one ?

2014-07-18 Thread krad
that is true and I have not problem using man pages, however thats not the way most of the world work and search engines arent exactly new either. We should be trying to engage more people not less, and part of that is reaching out. On 18 July 2014 15:10, Matt Bettinger wrote: > Back in the day

Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg?

2014-07-18 Thread Dreamcat4
On Thu, Jul 17, 2014 at 9:54 PM, Baptiste Daroussin wrote: > On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote: > > On Thu, Jul 17, 2014 at 10:15 PM, Navdeep Parhar > wrote: > > > > > On 07/17/14 13:12, Adrian Chadd wrote: > > > > On 17 July 2014 13:03, Alberto Mijares wrote: > >

Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg?

2014-07-18 Thread Dreamcat4
On Thu, Jul 17, 2014 at 7:25 PM, Craig Rodrigues wrote: > Hi, > > I attend a lot of different Meetup groups in the San Francisco Bay Area / > Silicon Valley. > > What I am seeing is the following usage pattern for new developers, > especially for web apps and cloud applications. > > (1) On thei

Re: Future of pf / firewall in FreeBSD ? - does it have one ?

2014-07-18 Thread krad
this is also another important point. If you go onto google and search on how to do this and that under pf, you get a mix of freebsd, and openbsd stuff coming up. I havent analysed it but i think the majority of the stuff is openbsd related. THerefore I find some nice solution to my problem, only t

Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg?

2014-07-18 Thread Brooks Davis
On Thu, Jul 17, 2014 at 11:07:39PM +0200, Baptiste Daroussin wrote: > On Thu, Jul 17, 2014 at 01:57:52PM -0700, Adrian Chadd wrote: > > On 17 July 2014 13:54, Baptiste Daroussin wrote: > > > On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote: > > >> On Thu, Jul 17, 2014 at 10:15 PM, N

Re: VT and kms is broken on a Lenovo Thinkpad E530

2014-07-18 Thread Ed Maste
On 18 July 2014 10:32, Daniel Peyrolon wrote: > The problems arise when I try to use the console, the screen just shows a > static image of the last xorg frame, with some weird colors. I presume you mean you try to access the console by pressing Ctrl-Alt-F1 (for example), and then see the static

VT and kms is broken on a Lenovo Thinkpad E530

2014-07-18 Thread Daniel Peyrolon
Hello there, I have both and a end-of-June installed kernels (the second at /boot/kernel.old), and somehow, the console stops working when it changes its mode. I'm using the most recent one, I installed xdm and I'm running xorg over here, without problems. The problems arise when I try to use the

Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg?

2014-07-18 Thread Lars Engels
On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote: > On Thu, Jul 17, 2014 at 10:15 PM, Navdeep Parhar wrote: > > > On 07/17/14 13:12, Adrian Chadd wrote: > > > On 17 July 2014 13:03, Alberto Mijares wrote: > > >> On Thu, Jul 17, 2014 at 2:58 PM, Adrian Chadd > > wrote: > > >>> Hi!

Re: Future of pf / firewall in FreeBSD ? - does it have one ?

2014-07-18 Thread Franco Fichtner
Hi Kristian, On 17 Jul 2014, at 01:12, Kristian K. Nielsen wrote: > a) First of all - are any actively developing pf in FreeBSD? not directly related to FreeBSD, but I was planning to bring DragonFly's pf to a new feature state. We've had a little bit of discussion over the recent DF SMP fixes

Re: Future of pf / firewall in FreeBSD ? - does it have one ?

2014-07-18 Thread Eric Masson
Gleb Smirnoff writes: Hi, > Following OpenBSD on features would be cool, but no bulk imports > would be made again. Bulk imports produce bad quality of port, > and also pf in OpenBSD has no multi thread support. Seems this is the Next Big Thing ™ that will hit OpenBSD/pf according to last confe

Re: Future of pf / firewall in FreeBSD ? - does it have one ?

2014-07-18 Thread Gleb Smirnoff
Mark, On Fri, Jul 18, 2014 at 01:31:04PM +, Mark Felder wrote: M> > On Thu, Jul 17, 2014 at 01:12:09AM +0200, Kristian K. Nielsen wrote: M> > K> a) First of all - are any actively developing pf in FreeBSD? M> > M> > No one right now. M> > M> M> How do we fix this? Can the FreeBSD Foundati

Re: Future of pf / firewall in FreeBSD ? - does it have one ?

2014-07-18 Thread Mark Felder
July 18 2014 6:07 AM, "Gleb Smirnoff" wrote: > Kristian, > > On Thu, Jul 17, 2014 at 01:12:09AM +0200, Kristian K. Nielsen wrote: > K> a) First of all - are any actively developing pf in FreeBSD? > > No one right now. > How do we fix this? Can the FreeBSD Foundation step in and provide fundi

Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg?

2014-07-18 Thread Allan Jude
On 2014-07-17 16:12, Adrian Chadd wrote: > On 17 July 2014 13:03, Alberto Mijares wrote: >> On Thu, Jul 17, 2014 at 2:58 PM, Adrian Chadd wrote: >>> Hi! >>> >>> 3) The binary packages need to work out of the box >>> 4) .. which means, when you do things like pkg install apache, it >>> can't just

Re: Future of pf / firewall in FreeBSD ? - does it have one ?

2014-07-18 Thread Gerrit Kühn
On Fri, 18 Jul 2014 15:06:45 +0400 Gleb Smirnoff wrote about Re: Future of pf / firewall in FreeBSD ? - does it have one ?: GS> The pf mailing list is about a dozen of active people. Yes, they are GS> vocal on the new syntax. But there also exist a large number of common GS> FreeBSD users who sim

Re: Future of pf / firewall in FreeBSD ? - does it have one ?

2014-07-18 Thread Miroslav Lachman
Gleb Smirnoff wrote, On 07/18/2014 13:06: [...] The pf mailing list is about a dozen of active people. Yes, they are vocal on the new syntax. But there also exist a large number of common FreeBSD users who simply use pf w/o caring about syntax and reading pf mailing list. If we destroy the synt

Re: Future of pf / firewall in FreeBSD ? - does it have one ?

2014-07-18 Thread krad
I would like to see an updated version of pf. I realize its a big job to port it though On 17 July 2014 00:12, Kristian K. Nielsen wrote: > Hi all, > > I have been encouraged by people on the pf-mailinglist to move this > discussion to the current mailinglist since this may be an area in the OS

Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg?

2014-07-18 Thread Lars Engels
On Fri, Jul 18, 2014 at 02:10:25PM +0200, Lars Engels wrote: > On Thu, Jul 17, 2014 at 01:00:03PM -0700, Adrian Chadd wrote: > > On 17 July 2014 12:57, Andreas Nilsson wrote: > > > > > > > > > > > > On Thu, Jul 17, 2014 at 9:28 PM, Adrian Chadd wrote: > > >> > > >> Hi! > > >> > > >> 3) The binary

Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg?

2014-07-18 Thread Lars Engels
On Thu, Jul 17, 2014 at 01:00:03PM -0700, Adrian Chadd wrote: > On 17 July 2014 12:57, Andreas Nilsson wrote: > > > > > > > > On Thu, Jul 17, 2014 at 9:28 PM, Adrian Chadd wrote: > >> > >> Hi! > >> > >> 3) The binary packages need to work out of the box > >> 4) .. which means, when you do things

Re: Future of pf / firewall in FreeBSD ? - does it have one ?

2014-07-18 Thread Gleb Smirnoff
Kristian, On Thu, Jul 17, 2014 at 01:12:09AM +0200, Kristian K. Nielsen wrote: K> a) First of all - are any actively developing pf in FreeBSD? No one right now. K> b) We are a major release away from OpenBSD (5.6 coming soon) - is K> following OpenBSD's pf the past? - should it be? Following