login.conf.db, /sbin/init, separate /etc, and configs around "thin provisioning" WAS: Re: nuOS

2013-07-09 Thread Chad J. Milios
On 07/08/13 22:12, Teske, Devin wrote: We also had to put one file into the etc directory on the / "beneath" the /etc mount so that /sbin/init can read it before /etc is mounted. There were two or three ways we could do that and each has a tradeoff. I've been bitten by that. Getting access t

Re: Announcing: nuOS 0.0.9.1b1 - a whole NEW FreeBSD distro, NOT a fork

2013-07-08 Thread Chad J. Milios
On 07/08/13 00:12, Teske, Devin wrote: On Jul 7, 2013, at 2:58 PM, Chad J. Milios wrote: [snip] /etc is now a ZFS dataset of its own How did we do it? Decades of conventional wisdom says /etc must be on /. Check it out

Re: Announcing: nuOS 0.0.9.1b1 - a whole NEW FreeBSD distro, NOT a fork

2013-07-07 Thread Chad J. Milios
On 07/07/13 22:05, "C. Bergström" wrote: omg you've created Solaris If you're going to spam commercial stuff with absolutely no technically interesting details - please keep it brief at the least. Generally people will be curious about What are you actually adding to the ISO

Announcing: nuOS 0.0.9.1b1 - a whole NEW FreeBSD distro, NOT a fork

2013-07-07 Thread Chad J. Milios
PLEASE reply to this only in freebsd-chat. I have posted this announcement to five freebsd mailing lists, I hope I am not overstepping. Hello everybody. My name's Chad J. Milios. Long-time lurker, sparse rare sporadic poster. TL;DR? -- Skip below to our summary of features in an ou

Re: UNIVERSE_TARGET doesn't seem to work

2013-06-03 Thread Simon J. Gerraty
On Mon, 3 Jun 2013 14:13:38 -0700, Navdeep Parhar writes: >On 05/30/13 18:43, Navdeep Parhar wrote: >> I build kernel-toolchain and MAKE_JUST_KERNELS (often with NO_CLEAN, but >> not this time) as part of my pre-commit checklist. It doesn't seem to >> work after the switch to bmake. What am I mi

Re: UNIVERSE_TARGET doesn't seem to work

2013-06-03 Thread Simon J. Gerraty
64_prologue' was not built (made 0, flags 2009, type b01) >! >> `universe_epilogue' was not built (made 1, flags 2009, type b01)! >> `universe_epilogue' has .ORDER dependency against universe_amd64 (made 1 >, flags 3009, type 301) >> `unive

Making bmake default? (was: Re: ports/173299: [exp-run] test bmake conversion)

2013-05-11 Thread Simon J. Gerraty
On Mon, 6 May 2013 00:11:51 +0200, Baptiste Daroussin writes: >The ports tree on current is still in very bad shape but I don't see >anymore errors due to bmake specifically. > >You have my approval as portmgr to switch base make to bmake. As an interim step, I would propose the change below. In

Re: Cross Compiling of ports Makefiles.

2012-12-31 Thread Simon J. Gerraty
>>One is to have a MAKEOBJDIRPREFIX like option, and redefine every >>target’s DESTDIR ${makeobjDESTDIR} before running do-install. Now i’ve >>yet to complete this stage, but I believe this is the way to do it. > >Would it be sufficient to have an INSTALL_PREFIX and/or INSTALL_DESTDIR >so that DES

Re: Cross Compiling of ports Makefiles.

2012-12-27 Thread Simon J. Gerraty
>Doing the same thing could also prevent the need for a DESTDIR JAIL >install at all and just use the real build machine’s build env, rather >than a jail. Regardless. We still have to install these targets and >their DESTDIR is skewed. There is a few options, I think I know what you mean, but

Re: Fwd: Re: make -jN buildworld on < 512MB ram

2012-11-09 Thread Simon J. Gerraty
>Ah, but make(1) can delay spawning any new processes when it knows its >children are paging. Sounds good - but I doubt the complexity it adds would really be worth it. If the real problem is the C++ compiler or other large tool needing sufficient resources that you have to ensure invocations ar

Re: pgbench performance is lagging compared to Linux and DragonflyBSD?

2012-11-06 Thread Samuel J. Greear
On Tue, Nov 6, 2012 at 2:01 PM, Yuri wrote: > On 11/06/2012 11:10, Samuel J. Greear wrote: >> >> Single and multi-socket hardware are not really directly comparable in >> PostgreSQL tests. > > > So if the CPUs are split between sockets, would such system generally

Re: pgbench performance is lagging compared to Linux and DragonflyBSD?

2012-11-06 Thread Samuel J. Greear
On Tue, Nov 6, 2012 at 10:58 AM, Yuri wrote: > On 11/05/2012 12:52, Garrett Cooper wrote: >> >> FWIW, I think that the last time scheduler benchmarks from anyone at >> @FreeBSD.org (was kris@ the last one, or has flo@ run benchmarks since > > > I myself ran the similar test on i7 920 (4 cores 8 th

Re: pgbench performance is lagging compared to Linux and DragonflyBSD?

2012-11-06 Thread Samuel J. Greear
Your entire email is conjecture, the performance of DragonFly 3.2 is improved across the board vs 3.0. Not just batch performance, interactive performance (especially under X11) is also greatly improved. Sam On Tue, Nov 6, 2012 at 2:25 AM, Wojciech Puchar wrote: >> some serious system issue. >>

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-28 Thread Simon J. Gerraty
On Sun, 28 Oct 2012 14:06:41 +, Chris Rees writes: >Are we planning to replace /usr/bin/make with bmake in the near future? That was what I heard, but any such move is dependent on dealing with ports. The ~sjg/ports2bmake.tar.gz on freefall is the plan I came up with after the above "require

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-27 Thread Simon J. Gerraty
On Sat, 27 Oct 2012 19:53:56 +0100, Chris Rees writes: >I'm saying that it's unacceptable to expect people to change their >systems just to make the ports tree work after we have broken it on a >supposedly supported version. But there's no suggestion of that. The ports tree would take care of i

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-27 Thread Simon J. Gerraty
On Sat, 27 Oct 2012 14:23:29 +0100, Chris Rees writes: >We (ab)use the security update mechanism to merge the pmake changes >(:tl and :tu) into releng/7.4 and releng/8.3 (possibly the earlier I originally provided the :tl and :tu patch for something like that (not planning any abuse mind ;-) But

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-27 Thread Simon J. Gerraty
On Sat, 27 Oct 2012 18:32:56 +0100, Chris Rees writes: >On 27 October 2012 18:27, Simon J. Gerraty wrote: >> I've tested the ports tree converted to bmake - per the "patch" I >> mentioned on a 7.1 box. It worked for me. Once the ports tree has >What about th

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-27 Thread Simon J. Gerraty
On Sat, 27 Oct 2012 09:44:36 -0500, Bryan Drewery writes: >Could there be a make.conf/env setting to make bmake run AS pmake in >full compat mode? On by default until all older branches are EoL, then >it can flip and be optional. This has been mentioned before. Firstly, I have changed bmake beha

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-27 Thread Simon J. Gerraty
>These discussions need backing up with a real roadmap, including detail on >exactly what 8.3 and 7.4 users will have to do to ensure that the ports >tree still works. I've tested the ports tree converted to bmake - per the "patch" I mentioned on a 7.1 box. It worked for me. Once the ports tree

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-27 Thread Simon J. Gerraty
BTW, would it be useful to put a devel/fmake into ports to make it easy for people with older systems to install an up to date version of freebsd make (which groks both sets of toupper/tolower modifiers)? Perhaps a knob to install it or put in a link as /usr/bin/make ?

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-26 Thread Simon J. Gerraty
On Fri, 26 Oct 2012 22:02:00 +0100, Chris Rees writes: >In that case we have a switch time on the order of years, not weeks; 8.3 is >supported until May '14, and unless we get a :tl etc MFC into 8, even >longer. All this time the ports tree must work with pmake. I'm pretty sure I was told it is

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-26 Thread Simon J. Gerraty
On Fri, 26 Oct 2012 21:00:26 +0100, Chris Rees writes: >:L -- seems that bmake's use for this is kinda pointless; returning the >name of the variable; we could swap that usage over directly. Acutally it is very useful. The debugging facilities in dirdeps.mk rely on it. The junos build uses it in

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-26 Thread Simon J. Gerraty
On Fri, 26 Oct 2012 12:27:35 -0700, Garrett Cooper writes: >There are some basic examples, but they're in my p4 branch and >unfortunately they depend on atf.test.mk/bsd.test.mk/bsd.progs.mk Speaking of which. I notice there is now a bsd.progs.mk in head, which bears little relationship to the on

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-26 Thread Simon J. Gerraty
On Fri, 26 Oct 2012 10:55:59 -0700, "David O'Brien" writes: >I'm trying to create an ATF test for filemon, but I don't want to have to >build make back and forth when I want to build a port. >Likely that doesn't put me in the "people working on ATF" in your book. >What can I and others do to work

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-26 Thread Simon J. Gerraty
On Fri, 26 Oct 2012 11:41:46 -0600, Warner Losh writes: >It's called a transition period for a reason. The historical use has = >permeated itself into many places, not all of which are obvious. It would seem that leaving FreeBSD make as make, for the transition period and installing bmake as bma

Re: Installing make as pmake when WITH_BMAKE specified (was Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program)

2012-10-26 Thread Simon J. Gerraty
>with their use of FreeBSD's make in their own projects. So picking a >good name now would be helpful. FWIW I keep a copy in /usr/bin/fmake so I can compare behavior. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-26 Thread Simon J. Gerraty
On Fri, 26 Oct 2012 08:27:06 -0600, Warner Losh writes: >And we've had the :U and :L for a similar period of time as well. = Sorry, I didn't mean to imply age has anything to do with it. The doc I refered to makes it clear that the two sets of conflicting modifers were introduced at about the sa

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-26 Thread Simon J. Gerraty
>In particular, why cannot the ':L' and ':U' support be added ? Because they already exist - with different meanings. They were added to NetBSD make over 10 years ago, from the OSF version of pmake. In several areas the behavior of bmake has been changed to make it a drop in replacement for FreeB

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-26 Thread Simon J. Gerraty
>> In particular, why cannot the ':L' and ':U' support be added ? > >:U is already used by bmake for something else- I can't remember what, but >I checked the man page last night :( http://www.crufty.net/sjg/blog/freebsd-meta-mode.htm might provide some interesting background. It is a more FreeBS

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-25 Thread Simon J. Gerraty
On Thu, 25 Oct 2012 23:01:27 +0100, Chris Rees writes: >Is there a Wiki page where the actual benefits of moving to bmake are >made clear? This is a major, *major* upheaval, and having two >versions of bsd.port.mk for years is simply not an option. There is no need/plan for two versions of bsd.p

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-25 Thread Simon J. Gerraty
On Thu, 25 Oct 2012 22:21:59 +0100, Chris Rees writes: >We really aren't going to have any luck yet... > >[crees@pegasus]/usr/ports% sudo make MAKE=/usr/bin/bmake index |& head If anyone is eager to play with this, I just have put a copy of ports2bmake.tar.gz in ~sjg/ on freefall. This contains

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-13 Thread Simon J. Gerraty
On Sat, 13 Oct 2012 15:15:59 -0400, George Neville-Neil writes: >> It could be a while (many weeks) before we get to 4, so the question >> really is whether the people working on ATF are willing and able to >> build and install FreeBSD using WITH_BMAKE? >>=20 > >I think that's a small price to pay

Re: Fwd: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-04 Thread Simon J. Gerraty
On Thu, 4 Oct 2012 09:42:29 -0700, Garrett Cooper writes: >I'd like to know what all is >being contributed back from Juniper in terms of tests, ATF integration >into the build system (which I've given back to marcel@/gnn@, but We aim to contribute build improvments, and integration of ATF was par

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-02 Thread Simon J. Gerraty
On Tue, 2 Oct 2012 07:19:55 -0700, Garrett Cooper writes: >> We put the test cases in a subdir of the lib/prog >> This has multiple benefits, and eliminates any impact on the normal >> build of said libs/progs. > >Hmmm... that's one of the 3 approaches I provided, but it turned out >to be annoying

Re: Fwd: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-02 Thread Simon J. Gerraty
On Tue, 2 Oct 2012 07:50:23 -0400, John Baldwin writes: >BTW, one general comment. There seem to be two completely independent >groups of folks working on ATF (e.g. there have been two different >imports of ATF into the tree in two different locations IIRC, and now >we have two different sets of

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-01 Thread Simon J. Gerraty
>> Not to mention the fact that bsd.prog.mk goes from being relatively >> simple, to unspeakably hard to read, and all for rather limited = >return. This btw I think is the more important issue. I was looking at bsd.prog.mk in netbsd the other day. It has no business being that complex. >Getting

Re: Fwd: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-01 Thread Simon J. Gerraty
Hi Garrett, >> From: Garrett Cooper >> Subject: [CFT/RFC]: refactor bsd.prog.mk to understand multiple = >programs instead of a singular program >> Date: September 2, 2012 11:01:09 PM PDT >> To: freebsd-hackers@freebsd.org >> Cc: "freebsd-a...@freebsd.org Arch" >>=20 >> Hello, >>I've been a

Re: Replacing BIND with unbound

2012-08-31 Thread Samuel J. Greear
On Tue, Aug 21, 2012 at 12:56 PM, Doug Barton wrote: > On 8/21/2012 11:08 AM, Bjoern A. Zeeb wrote: >> On Tue, 21 Aug 2012, Doug Barton wrote: > >>> Neither importing ldns nor removing BIND is going to have any effect on >>> the stub resolver library in libc. >> >> Yes it does as if we are not car

Re: TeXLive merge into FreeBSD ports tree - FreeBSD project idea

2012-06-21 Thread Christopher J. Ruwe
On Sun, 17 Jun 2012 02:01:35 -0400 David Schultz wrote: > On Wed, May 30, 2012, Aldis Berjoza wrote: > > On Sat, 26 May 2012 22:45:37 +1200 > > Sam Lin wrote: > > > > > Hi FreeBSD fellows, > > > > > > Those who are using LaTeX on FreeBSD must know that tetex has been > > > discontinued years

Re: PostgreSQL benchmarks (now with Linux numbers)

2012-03-27 Thread Samuel J. Greear
On Tue, Mar 27, 2012 at 8:27 AM, Ivan Voras wrote: > >> On 02/22/2012 01:42, Ivan Voras wrote: > >> > The Dragonfly team has recently liberated their VM from the giant lock > >> > and there are some interesting benchmarks comparing it to FreeBSD 9 > and a > >> > derivative of RedHat Enterprise Li

Re: PostgreSQL benchmarks (now with Linux numbers)

2012-03-27 Thread Samuel J. Greear
On Wed, Feb 22, 2012 at 7:59 PM, Doug Barton wrote: > On 02/22/2012 01:42, Ivan Voras wrote: > > The Dragonfly team has recently liberated their VM from the giant lock > and there are some interesting benchmarks comparing it to FreeBSD 9 and a > derivative of RedHat Enterprise Linux: > > > > http

Re: How to submit a new port along with its distfile?

2012-03-04 Thread Conrad J. Sabatier
On Sun, 4 Mar 2012 09:19:42 -0800 Kevin Oberman wrote: > On Fri, Mar 2, 2012 at 10:59 PM, Conrad J. Sabatier > wrote: > > If anyone's interested, the package is call mkreadmes-1.0.  It's a C > > language version of the port's collection's "m

Re: _SC_GETPW_R_SIZE_MAX undefined in sysconf.c, what is correct value?

2011-10-26 Thread Christopher J. Ruwe
On Tue, 25 Oct 2011 16:27:38 -0500 Dan Nelson wrote: > In the last episode (Oct 25), Christopher J. Ruwe said: > > On Mon, 24 Oct 2011 15:42:10 -0500 > > Dan Nelson wrote: > > > In the last episode (Oct 24), Christopher J. Ruwe said: > > > > On Sun, 23 Oct 20

Re: _SC_GETPW_R_SIZE_MAX undefined in sysconf.c, what is correct value?

2011-10-25 Thread Christopher J. Ruwe
On Mon, 24 Oct 2011 15:42:10 -0500 Dan Nelson wrote: > In the last episode (Oct 24), Christopher J. Ruwe said: > > On Sun, 23 Oct 2011 19:10:34 -0500 > > Dan Nelson wrote: > > > In the last episode (Oct 23), Christopher J. Ruwe said: > > > > I need to get

Re: _SC_GETPW_R_SIZE_MAX undefined in sysconf.c, what is correct value?

2011-10-24 Thread Christopher J. Ruwe
On Sun, 23 Oct 2011 19:10:34 -0500 Dan Nelson wrote: > In the last episode (Oct 23), Christopher J. Ruwe said: > > I need to get the maximum size of an pwd-entry to determine the > > correct buffersize for calling getpwnam_r("uname",&pwd, buf, > > bufsize, &

_SC_GETPW_R_SIZE_MAX undefined in sysconf.c, what is correct value?

2011-10-23 Thread Christopher J. Ruwe
he code, are there any obstacles in defining that value so nobody has done that so far? Thanks for any help, cheers, -- Christopher J. Ruwe TZ GMT + 2 signature.asc Description: PGP signature

Re: PR bin/157732

2011-06-26 Thread Christopher J. Ruwe
On Sun, 26 Jun 2011 21:06:34 +0200 Dimitry Andric wrote: > On 2011-06-26 16:08, Christopher J. Ruwe wrote: > > In reaction to PR bin/157732 > > (http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/157732) I am > > investigating why traceroute does not trace hostnames greater

PR bin/157732

2011-06-26 Thread Christopher J. Ruwe
-level, so I am not sure and asking about opinions. Am I turning to the right forum with my request or should I post somewhere else? Thanks for your input, cheers -- Christopher J. Ruwe TZ GMT + 2 ___ freebsd-hackers@freebsd.org mailing list http

Re: Add SUM sysctl

2011-04-16 Thread J. Hellenthal
ing else is running unless you have a remote only machine without a console in which you have purposely disabled getty(8). -- Regards, J. Hellenthal WWJD pgppcKBQy1QF8.pgp Description: PGP signature

Re: ifconfig output: ipv4 netmask format

2011-04-09 Thread J. Hellenthal
0.255.0 >> # ifconfig em0 >> em0: flags=8843 metric 0 >mtu 1500 >options=219bAGIC> >> ether xx:xx:xx:xx:xx:xx >> inet 10.0.5.2 netmask 0xff00ff00 broadcast 10.255.5.255 >> media: Ethernet autoselect (1000baseT ) >> status: act

Re: ifconfig output: ipv4 netmask format

2011-04-08 Thread J. Hellenthal
On Fri, Apr 08, 2011 at 10:33:17PM -0700, Garrett Cooper wrote: >On Fri, Apr 8, 2011 at 9:54 PM, J. Hellenthal wrote: >> On Fri, Apr 08, 2011 at 07:36:45PM +0400, Sergey Vinogradov wrote: >>>On 08.04.2011 19:23, Mike Oliver wrote: >>>>On Fri, Apr 8, 2011 at 08:08,

Re: ifconfig output: ipv4 netmask format

2011-04-08 Thread J. Hellenthal
into place that restores the old functionality. It is time to stop living in the past and start thinking about the future. These types of things are what causes forks of projects to happen ultimately yielding in less contributors and developers. I for one hate to see things like that happen. -- J. Hellenthal pgphoJQxGRatj.pgp Description: PGP signature

Re: issues with kern.devstat.all

2011-03-20 Thread J. Hellenthal
interesting details. -- Regards, J. Hellenthal (0x89D8547E) JJH48-ARIN ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Question about Reverse Mappings in FreeBSD.

2011-03-18 Thread J L
I read an article about Reverse Mappings technique in memory management part. It improves a lot from Linux 2.4 to 2.6. I am wondering is FreeBSD also have this feature? Which source files should I go to find these? I want to do some study on this. Wish someone can enlighten me. Thank you. _

Re: jailing MySQL error

2011-01-02 Thread J. Hellenthal
This is the fourth or fifth list Ive seen this very same message on. If anything I would have thought it had more to do with the relaase your running '-CURRENT' or '-STABLE' + 'JAILS' + 'PORTS'. But as it seems 'QUESTIONS' or 'PORTS' would have been a proper burial ground for this as it has more

setting a random password with PAM API

2010-12-29 Thread Christopher J. Ruwe
apologies for being more than just slightly off topic. Kind regards, -- Christopher J. Ruwe TZ GMT + 1 signature.asc Description: PGP signature

Re: Auto Connect After Connection Fails

2008-09-17 Thread Thiago J. Ruiz
> -- > Visit http://www.noixe.net Electronic Music 24/7 > ___ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "[EMAIL PROTECTED]" >

Re: Idea for FreeBSD

2008-08-07 Thread Kurt J. Lidl
On Thu, Aug 07, 2008 at 07:02:30PM +1000, Peter Jeremy wrote: > On 2008-Aug-06 19:14:51 -0400, [EMAIL PROTECTED] wrote: > > In Solaris 10 the Services Management Facility (SMF) was introduced. > > The main purpose of SMF appears to be to drum up business for Sun's > training courses by radically

Re: BDB corrupt

2008-05-14 Thread Kurt J. Lidl
On Thu, May 15, 2008 at 05:20:26AM +1000, Peter Jeremy wrote: > On 2008-May-14 09:50:52 -0400, "Kurt J. Lidl" <[EMAIL PROTECTED]> wrote: > >One other thing to watch for in SQLite is the lack of atomicity > >in updates. It's not ACID, just like BDB 1.8x isn&#

Re: BDB corrupt

2008-05-14 Thread Kurt J. Lidl
On Tue, May 13, 2008 at 10:06:21PM +0100, James Mansion wrote: > Kurt J. Lidl wrote: >> There are known problems with certain keys corrupting the DB 1.8x >> series code. In fact, the "release" of the 1.86 was an attempt >> to solve this problem when the Ker

Re: BDB corrupt

2008-05-14 Thread Kurt J. Lidl
On Wed, May 14, 2008 at 12:25:16AM -0700, Garrett Cooper wrote: > Most of the complaints about other DBs is licensing related, but SQLite's > complaint was also the fact that the past stability record was a bit rocky. One other thing to watch for in SQLite is the lack of atomicity in updates. It

Re: BDB corrupt

2008-05-13 Thread Kurt J. Lidl
On Tue, May 13, 2008 at 05:14:52AM -0700, Jeremy Chadwick wrote: > On Tue, May 13, 2008 at 03:44:06PM +0400, Anthony Pankov wrote: > > If concurrency is the only problem then: > > 1. ?an data corruption be avoided? Or this is impossible? > > 2. How? > > Use Sleepycat/Oracle DB instead? The libc D

Re: BDB corrupt

2008-05-13 Thread Kurt J. Lidl
On Tue, May 13, 2008 at 03:44:06PM +0400, Anthony Pankov wrote: > My requirements is > 1. there is no need for SQL > 2. processes are sharing db file in concurrent mode > 3. reading/writing = 60%/40% > > With BDB > clause 1 - satisfied > clause 3 - satisfied (databases of relatively small items th

Re: double start of scripts in /usr/local/etc/rc.d

2008-02-01 Thread glen . j . barber
sam wrote: hi all description of my trouble: on 6.3-RELEASE i386 --- Clearing /tmp (X related). Starting local daemons:. Updating motd. Mounting late file systems:. Starting mysql. Starting apache. mysql already running? (pid=8720). apache already running?

Re: Patch RFC: Promise SATA300 TX4 hardware bug workaround.

2007-11-02 Thread Arno J. Klaassen
Hello, > [ ... ] > > I will test again with "#define PDC_MAXLASTSGSIZE 32*4" (just to see > > if that makes a difference) > > > One thing to try is to loose any geom raid, if raid needed use ataraid > instead. Nope : i did a "newfs ad6" (the disk at the Promise TX4) and then an rsync on it panic

Re: Patch RFC: Promise SATA300 TX4 hardware bug workaround.

2007-11-02 Thread Arno J. Klaassen
Alexander Sabourenkov <[EMAIL PROTECTED]> writes: > Arno J. Klaassen wrote: > > definitely an improvement, but not sufficient (for my setup ) : > > > > amd64-releng_6 on an ASUS A8V UP (box ran rock-stable > > for years i386-releng_5 with same hardware apart

Re: Patch RFC: Promise SATA300 TX4 hardware bug workaround.

2007-11-02 Thread Arno J. Klaassen
Hello, Alexander Sabourenkov <[EMAIL PROTECTED]> writes: > Hello. > > I have ported the workaround for the hardware bug that causes data > corruption on Promise SATA300 TX4 cards to RELENG_7. > > Bug description: > SATA300 TX4 hardware chokes if last PRD entry (in a dma transfer) is > larger th

"indefinite" wait buffer patch

2007-11-01 Thread Arno J. Klaassen
etrieving revision 1.295 diff -u -r1.295 swap_pager.c --- sys/vm/swap_pager.c 5 Aug 2007 21:04:32 - 1.295 +++ sys/vm/swap_pager.c 1 Nov 2007 18:59:18 - @@ -941,6 +941,10 @@ vm_page_t mreq; int i; int j; + int retry = 0; +#define TIMO_CHUNK 2 +#define TIMO_START 1 /* set low to force quick

Using get_system_info() - Obtaining the CPU states...

2007-05-29 Thread Suresh Kumar J
the get_system_info() function is located?. Any other ideas are also welcome. Note: I do not want to display the CPU load average... -- Thanks, Suresh Kumar J ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: Where's the pkg_add, etc. code?

2007-02-06 Thread Joseph J. Damato
On Tue, 6 Feb 2007, Henry Lenzi wrote: I can't find it. I've been looking at: http://fxr.watson.org/fxr/source/?v=RELENG62 That is only the code under src/sys/ in the source tree, pkg_add and friends are under src/usr.sbin/pkg_install/. I don't know if the code in src/usr.sbin/ is browsabl

Re: Properly controlling CFLAGS/CXXFLAGS

2006-12-23 Thread Joseph J. Damato
> Garrett Cooper wrote: > > With '-O2' and better, '-fstrict-aliasing' is the default in newer > versions of GCC, AFAIK, but people tend to switch it off because it > apparently breaks too many software packages. Or at least those whose > code base dates back to times where '-fno-strict-aliasi

Re: [PATCH] "automated" make -j value

2006-12-14 Thread Kurt J. Lidl
On Wed, Dec 13, 2006 at 08:19:52PM -0800, David O'Brien wrote: > With multi-socket systems becoming more prevalent, and the continued > increase in cores per processors, I thought it would be nice for > 'make -j' to gain some automation. > > Attached is a patch t

Inconsistent snapshots?

2006-07-08 Thread Stephen J. Roznowski
sjr MODE=100600 SIZE=18099 MTIME=Jul 8 22:57 2006 FILE LINKUP IN SNAPSHOT CLEAR? no ** Phase 5 - Check Cyl groups CANNOT ADJUST NUMBER OF FREE BLOCKS: -8 CONTINUE? [yn] n Othertimes when I run the same commands, I get a consistent snapshot. Am I doing something wrong? Thanks, -SR -- Steph

Re: FreeBSD 6.1 Released

2006-05-12 Thread J. T. farmer
Mike Jakubik wrote: Jonathan Noack wrote: The *entire* errata page was from 6.0; it was a mistake. This wasn't some "put on the rose-colored classes and gloss over major issues" thing. It was a long release cycle and something was forgotten. C'est la vie. It's always a good idea to check the

Re: cloning a FreeBSD HDD

2006-03-29 Thread Kurt J. Lidl
On Wed, Mar 29, 2006 at 10:14:19AM -0300, Patrick Tracanelli wrote: > Daniel O'Connor wrote: > >On Wednesday 29 March 2006 14:34, M. Warner Losh wrote: > > > >>dump + restore is slow but reliabe. > > > >Faster than dd for disks that aren't full :) > > > >It also gives you a defrag as well as allowi

Re: CVSup upgrading?

2006-03-14 Thread Donald J. O'Neill
On Tuesday 14 March 2006 21:01, Carlos Silva, yourdot-internet.com wrote: > Hi, > > but, it erases all! I have a doubt if he downloads the beta kernel > sources. do you have another solution? If it erases all, then your supfile is not correct. As Kris said, RELENG_6 is the correct tag to use for

Patches for bootparamd for multiple subnets of interest?

2006-03-06 Thread Brian J. McGovern
All, I've done some hacking on bootparamd to support multiple subnets (along with applying some patches to allow some Sun-specific behavior) that I'm using for jumpstarting Solaris/Sparc boxes across a boatload of small subnets. The most obvious change is adding a -R parameter, th

RE: portmanager

2005-10-13 Thread Mark J. Sommer
> -Original Message- > From: Sergey Matveychuk [mailto:[EMAIL PROTECTED] > Sent: 10/13/2005 5:38 AM > To: Michael C. Shultz > Cc: Mark J. Sommer; [EMAIL PROTECTED]; RW > Subject: Re: portmanager > > Michael C. Shultz wrote: &g

RE: portmanager

2005-10-13 Thread Mark J. Sommer
Just a comment from an on-looker to this post. From the getenv The getenv() function obtains the current value of the environment vari- able, name. If the variable name is not in the current environment, a null pointer is returned. So it could potentially be passing in a null pointer t

Re: Realtek RTL8100S on FreeBSD 5.4: no carrier.

2005-08-10 Thread j snod
changed to DOWN Over and over on every LED blink. -j j snod wrote: I did some more research, it appears that the Abit AA8-DuraMax actually uses the RealTek RTL8100S chipset, not the 8169. The hardware compatibility list for 5.4 shows support for the 8110S chipset, but not my specific m

Re: Realtek RTL8169 on FreeBSD 5.4: no carrier.

2005-08-10 Thread j snod
Dag-Erling Smørgrav from a similar thread ( http://lists.freebsd.org/pipermail/freebsd-hackers/2005-March/011022.html ) but no luck. -j Dmitry Mityugov wrote: On 8/10/05, Julien Gabel <[EMAIL PROTECTED]> wrote: ... Regrettably, i always encountered this problem. I spoke about that sin

Realtek RTL8169 on FreeBSD 5.4: no carrier

2005-08-09 Thread j snod
I recently installed FreeBSD 5.4 on an ABIT AA-8 DuraMax and all went well. All hardware detected properly and everything was running great, until I got to configuring my network. ifconfig shows my onboard gigabit LAN as "status: no carrier" I can successfully ping localhost and the IP tha

Per CPU load statistics

2005-07-15 Thread J. Martin Petersen
Hi Is it possible to get per CPU (load) statistics? It seems cp_time is a sum for all the CPUs, so is there another way to get this information? I looked through the source, but I'm not quite sure what to look for. Cheers, Martin ___ freebsd-hackers@fre

Re: C programming question

2005-07-07 Thread Juan J.
El mié, 06-07-2005 a las 13:56 -0400, Michael Shalayeff escribió: > [...] > > Those are declarations of pointers to functions. > > > > /* real function */ > > void dumb(int a) { return a; } > > warning: `return' with a value, in function returning void Obviously dumb must return int, not void.

Re: C programming question

2005-07-07 Thread Juan J.
El lun, 04-04-2005 a las 11:43 -0700, Matt escribió: > [...] > Can someone break down these declarations (if that's what they are)? Is > this a form of typecasting? Thanks for your help. Those are declarations of pointers to functions. /* real function */ void dumb(int a) { return a; } ... /*

Re: FS impl.

2005-05-06 Thread Kurt J. Lidl
On Fri, May 06, 2005 at 02:01:35PM -0600, Warner Losh wrote: > > I have been trying to write my own UFS-like filesystem > > implementation for fun. I had read somewhere that UFS was developed in > > user space (correct me if I'm wrong on that one) and then moved over > > to kernel-space. I was wo

Re: Idea about 'skeleton jail

2005-03-14 Thread Samuel J. Greear
On Sunday 13 March 2005 14:24, Anish Mistry wrote: > On Sunday 13 March 2005 01:23 pm, Chris Hodgins wrote: > > Samuel J. Greear wrote: > > > Not a bad 'idea' at all, although I won't comment on semantics. > > > I had something implemented using fs st

Re: Idea about 'skeleton jail

2005-03-13 Thread Samuel J. Greear
Not a bad 'idea' at all, although I won't comment on semantics. I had something implemented using fs stacking (in a very hackish way, and I believe it's lost now, so don't ask to see it...) to implement per-jail quota's that seemed to work quite well. Sam > > This might be a very stupid idea b

Re: Devilator - performance monitoring for FreeBSD

2005-02-02 Thread Andrew J Caines
ke to see pretty pictures. I'd also vouch for collecting orcallator data using rsync over ssh from the client systems to the cruching and report generating server. -Andrew- -- ___ | -Andrew J. Caines- Unix Systems Engine

Re: ttyd0/cuad0 - why is there still this duality ?

2005-01-24 Thread Kurt J. Lidl
On Mon, Jan 24, 2005 at 04:16:13PM +0100, Bernd Walter wrote: > On Mon, Jan 24, 2005 at 09:30:43AM +0100, Christoph P. Kukulies wrote: > > Just a question. Maybe it isn't true but to me it seems there > > is still this duality between ttyd and cuad serial devices. > > > > Why is that? I'm just ask

Re: devel/libgtop2 cannot build

2004-11-18 Thread Conrad J. Sabatier
On Thu, 18 Nov 2004 20:00:50 +0900, Norikatsu Shigemura <[EMAIL PROTECTED]> wrote: > On Tue, 16 Nov 2004 13:14:51 -0600 > "Conrad J. Sabatier" <[EMAIL PROTECTED]> wrote: > > The attached patch, applied under > > /usr/ports/devel/libgtop2/work/libgtop-2.8.1

Re: devel/libgtop2 cannot build

2004-11-16 Thread Conrad J. Sabatier
function. > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > -___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to >

Re: Where is the source to the system calls?

2004-11-08 Thread Kurt J. Lidl
On Sun, Nov 07, 2004 at 04:29:42PM -0800, Dan Strick wrote: > Does anyone know where the system calls are really defined? > I followed open() to _open() to __sys_open() which seems > to be part of something called libc_r before I ran into a > blank wall. I grepped all of the regular files in /usr/

open() vs the lowest unused file descriptor

2004-10-16 Thread Carl J
Hi! Today I noticed that on Single Unix Specification V2, as well as on the Linux 2.4.26 machine I have here, that the open() call promises to return the lowest unused file descriptor when successful. I'm just wondering: does FreeBSD 4.x and 5.x promise that? If so, should we update the manpage to

Re: please help with: warning: initialization makes integer from pointer

2004-10-09 Thread Kurt J. Lidl
On Fri, Oct 08, 2004 at 12:25:45PM -0500, Sam wrote: > > Sick! > > > > Are there actually systems out there that don't have "all-zero" NULL pointers? > > > > You have officially shattered my previously held beliefs about the > > sacredness of memset :( > > If there are, I'd be interested to know o

Re: help with a module, please..

2004-09-11 Thread Conrad J. Sabatier
n't load ./icmp.ko: No such file or directory > digital-security# I may be wrong, but perhaps it has something to do with the fact that the module is not in the correct module path? Try this: sysctl kern.module_path=/usr/home/vxp/mycode/reboot kldload icmp -- Conrad J. Sabatier <

Re: Kernel Configuration script [was Re: "Next Generation" kernel configuration?]

2004-07-30 Thread Conrad J. Sabatier
On 29-Jul-2004 William Kirkland wrote: > On Tue, Jul 20, 2004 at 07:39:31PM -0500, Conrad J. Sabatier wrote: >> Just musing on an idea here: >> >> I've been thinking for a while now about trying to write a tool to >> make kernel configuration easier, sort of a &q

Re: "Next Generation" kernel configuration?

2004-07-22 Thread Conrad J. Sabatier
ted to see if there was any willingness to even consider something like this before I went and did a lot of work for nothing. Seems the general concensus is that most people are OK with the idea, depending on the implementation. I'll be quiet now until/unless I can actually come up with somet

Re: "Next Generation" kernel configuration?

2004-07-22 Thread Conrad J. Sabatier
t did I include last time?" > > if devd could map, somehow, the pnp info into drivers to load, that > would solve this problem. > > warner Interesting ideas. Saving all this stuff in my "suggestion box". :-) -- Conrad J. Sabatier <[EMAIL PROTECTED]

Re: "Next Generation" kernel configuration?

2004-07-20 Thread Conrad J. Sabatier
On 21-Jul-2004 Max Laier wrote: > On Wednesday 21 July 2004 03:03, Brooks Davis wrote: >> On Tue, Jul 20, 2004 at 07:39:31PM -0500, Conrad J. Sabatier wrote: [snip] >> > A dependable tool offering a menu-driven means of configuring the >> > kernel, ensuring proper con

  1   2   3   4   5   >