Re: svn incantation for 9.1-RELEASE

2012-12-04 Thread Christer Solskogen
On Wed, Dec 5, 2012 at 5:47 AM, Reed Loefgren  wrote:
> I re-built my home and work machines to 9.1-RELEASE today and tonight a
> lap top is next, all using the same URL for svn. They all have a
> different revision number: Home machine is r243863M, work machine is
> r243864M and the laptop source is 243875. How long do changes go on
> under the 'RELEASE' badge, before it becomes 9-STABLE? I thought they
> picked a rev and nailed the tag there.
>

Yes, and no.
releng/9.1 will get very imporant fixes and security fixes (if any)
release/9.1.0 however will not - this is a read-only tag.
stable/9 will be a moving target. And at a certain point in time, that
become releng/9.2.

Don't be fooled by the revision number. The revision number is for the
whole subversion repository.
svn info will tell you:
Last Changed Rev: 243710

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: svn incantation for 9.1-RELEASE

2012-12-02 Thread Christer Solskogen
On Mon, Dec 3, 2012 at 5:16 AM, John  wrote:
> Hello list,
>
> At the moment, I get sources via a line like this:
>
> svn checkout svn://svn.freebsd.org/base/releng/9.1/ /usr/src
>


That one should give you 9.1-RELEASE.


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Odd X11 over SSH issue

2012-11-24 Thread Christer Solskogen
On Fri, Nov 23, 2012 at 6:43 PM, Paul Kraus  wrote:
> I am seeing very poor response time running the VitrualBox GUI via X11
> tunneled over SSH via the Internet. The issue _appears_ to be limited
> to the VBox GUI as Firefox is reasonable. I am well aware of the
> latency issues tunneling X11 over SSH across the Internet, but that is
> what we are stuck with for the moment. The server is running FreeBSD 9
> and is patched as of about 4 weeks ago.
>

I see the same thing.
But doing the same thing with CentOS(that is, CentOSis the host that
VirtualBox runs on) goes pretty fast. My guess is that it is related
to QT.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: installworld strangeness

2012-11-22 Thread Christer Solskogen
On Thu, Nov 22, 2012 at 2:14 PM, David Noel  wrote:
> Updating from 8.2 to 8.3 I'm running into the following:
>
> ===> include (install)
> creating osreldate.h from newvers.sh
> dirname: not found
> *** Error code 127


Check your time/date.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: portsnap

2012-11-13 Thread Christer Solskogen
On Tue, Nov 13, 2012 at 11:19 PM, Jason Garrett  wrote:
> On Mon, Nov 12, 2012 at 6:13 PM, ajtiM  wrote:
>
>> On Monday 12 November 2012 17:46:44 Aldis Berjoza wrote:
>> > 13.11.2012, 01:27, "ajtiM" :
>> > > Hi!
>> > >
>> > > Is it something wrong with portsnap server or is something wrong with
>> my
>> > > system. When I run portsnap...:
>> > > portsnap fetch update
>> > > Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found.
>> > > Fetching snapshot tag from your-org.portsnap.freebsd.org... done.
>> > > Latest snapshot on server matches what we already have.
>> > > No updates needed.
>> > > Ports tree is already up to date.
>> > >
>> > > but on http://www.freshports.org/ are many new ports (I like update
>> > > Sage).
>> > >
>> > > Thanks in advance.
>> > >
>> > > Mitja
>> >
>> > It takes some time for mirrors to catch up.
>>
>> But is it about 12 hours okay (maybe more)?
>> Thanks.
>>
>> Mitja
>> 
>>
>
> I have the same problem going on 2 days now...
>

Same. This is in Europe.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: svn and/or portsnap

2012-09-11 Thread Christer Solskogen
On Tue, Sep 11, 2012 at 10:15 AM, Thomas Mueller
 wrote:
> How do you get the ports tree or svn in that case if not using portsnap?

You use pkg_add (or the youngest newcomer pkg)


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: can a jail have link to outside of the jail?

2012-08-16 Thread Christer Solskogen
On Thu, Aug 16, 2012 at 8:51 PM, Len Conrad  wrote:
>
> I have an ssh user who needs only to search some log files not in his jail. 
> The jail required because I don't want the user seeing the rest the machine.  
> If the dirs were linked to his jail, would that work?
>

man mount_nullfs(8)

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: CLANG vs GCC tests of fortran/f2c program

2012-06-21 Thread Christer Solskogen
On Thu, Jun 21, 2012 at 12:26 AM, Wojciech Puchar
 wrote:
> i would recommend you to take more care about yourself, and not me.

You are not in the right position to give advice, young man.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: CLANG vs GCC tests of fortran/f2c program

2012-06-20 Thread Christer Solskogen
On Wed, Jun 20, 2012 at 10:07 PM, Wojciech Puchar
 wrote:
>>  wrote:
>>>
>>> Will i be able to compile FreeBSD base system with gcc after some time?
>>> not sure.
>>
>>
>> Why is that so important for you?
>
> if you would read even less than carefully the topic you will get the
> answer.

No, I don't. And don't patronize me that way. You'll loose.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: CLANG vs GCC tests of fortran/f2c program

2012-06-20 Thread Christer Solskogen
On Wed, Jun 20, 2012 at 7:18 AM, Wojciech Puchar
 wrote:
> Will i be able to compile FreeBSD base system with gcc after some time?
> not sure.

Why is that so important for you?

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: why I am upset

2012-05-26 Thread Christer Solskogen
On Sat, May 26, 2012 at 3:12 AM, ajtiM  wrote:
> Why I am upset but not just me?
>


I have no idea. Please, tell me again how much you paid for this?

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


newfs on a SSD

2012-05-11 Thread Christer Solskogen
After years of waiting for a decent price on one of these I finally
got one. The questions is, which options should I use on a SSD that
will be / on my system. I see that newfs supports TRIM, so that will
be turned on, but should I use journaling? gjournal? softupdates? soft
updates journaling? I'm confused :)

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Intel turbo mode support

2012-04-13 Thread Christer Solskogen
On Fri, Apr 13, 2012 at 2:09 PM, Florian Unglaub  wrote:
> I tried it with your powerd flags and the performance_cpu_freq setting
> on HIGH, but still the maximum freq_levels entry is 2800.
>

How far should it go, then?

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Apache: Socket is not connected: core_output_filter: writing data to the network

2012-04-10 Thread Christer Solskogen
On Tue, Apr 10, 2012 at 9:33 AM, Matthew Seaman  wrote:


Thanks!

-- 
chs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Apache: Socket is not connected: core_output_filter: writing data to the network

2012-04-10 Thread Christer Solskogen
I see this error in the error log of apache. It seems to happen
whenever someone do a GET on certain mp3-files on my server. What does
this error mean?

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: lang/lua fails to build on 9.0-STABLE amd64 - bug or config issue?

2012-01-23 Thread Christer Solskogen
On Tue, Jan 24, 2012 at 12:22 AM, Lee Thomas  wrote:
> Hello fellow FreeBSD users,
> I ran across an odd issue compiling lua from ports on amd64 with FreeBSD
> 9.0-STABLE, and I'm not sure whether it's a bug or incorrect configuration
> on my part. The lang/lua port throws a linker error, claiming to need -fPIC,
> which is odd because the port Makefile seems to have logic to add that in,
> but somehow the logic seems not to have any effect, at least in my case.
> Making the port Makefile put ${CFLAGS} directly into lua's Makefile (patch
> at the end of this mail) fixes matters for me, but I don't understand the
> port infrastructure well enough to understand whether this patch represents
> a bugfix or a workaround of some local configuration issue. Has anyone run
> into this issue before? If this is a config issue, any hints on what might
> be going on or how to dope it out?
>

I think I had the same problem about a moth ago. The problem was my
CFLAGS in make.conf.
You probably have CFLAGS=, try setting it to CFLAGS?=.


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: freebsd-update and archs

2012-01-23 Thread Christer Solskogen
On Mon, Jan 23, 2012 at 8:50 PM, Christer Solskogen
 wrote:
> On Mon, Jan 23, 2012 at 4:08 PM, Colin Percival  wrote:
>
>> Hmm, you've got almost everything being different there.  Did you use the 
>> same
>> src tree as the release?  If you checked out the tree via CVS it won't match.
>>
>
> Hang on. I cheated a little. I used the base.txz from the release and
> compared that to my cross compile which was created using the
> releng/9.0 tree in subversion. I'll fire up my G4 to compile this
> instead (but it's probably going to take a while ;-)
> I'll get back to you!
>

http://antarctica.no/~solskogen/temp/cross.txt.bz2
http://antarctica.no/~solskogen/temp/native.txt.bz2
http://antarctica.no/~solskogen/temp/diff.txt.bz2

But there is still a lot of files which don't match.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: freebsd-update and archs

2012-01-23 Thread Christer Solskogen
On Mon, Jan 23, 2012 at 4:08 PM, Colin Percival  wrote:

> Hmm, you've got almost everything being different there.  Did you use the same
> src tree as the release?  If you checked out the tree via CVS it won't match.
>

Hang on. I cheated a little. I used the base.txz from the release and
compared that to my cross compile which was created using the
releng/9.0 tree in subversion. I'll fire up my G4 to compile this
instead (but it's probably going to take a while ;-)
I'll get back to you!

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: freebsd-update and archs

2012-01-23 Thread Christer Solskogen
On Mon, Jan 23, 2012 at 3:03 PM, Colin Percival  wrote:
> On 01/22/12 03:45, Christer Solskogen wrote:
>> I just did, and the file list is the same. Or do you want me to do a
>> md5 of every file?
>
> Yes, I meant to compare the contents of files (or their hashes of course).

Here you go:
http://antarctica.no/~solskogen/temp/cross.txt.bz2
http://antarctica.no/~solskogen/temp/native.txt.bz2
http://antarctica.no/~solskogen/temp/diff.txt.bz2

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: freebsd-update and archs

2012-01-21 Thread Christer Solskogen
On Sat, Jan 21, 2012 at 12:42 PM, Colin Percival  wrote:
> We don't have suitable build hardware for other architectures, and there are
> some problems with release cross-building which aren't fixed yet.
>

I found out that building ppc with TARGET= worked nicely on 9.0-RELEASE.
Do you know what problems? Maybe I can help.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: freebsd-update and archs

2012-01-21 Thread Christer Solskogen
On Sat, Jan 21, 2012 at 11:52 AM, Matthew Seaman
 wrote:
> On 21/01/2012 10:25, Christer Solskogen wrote:
>> I've just finished installing FreeBSD on my "new" Mac mini G4, and
>> when I ran freebsd-update on it I found out that freebsd-update only
>> supports i386 and amd64 architectures.
>> How come?
>
> If that's not an Intel based Mac, then your definition of "new" is,
> well, contrary to all accepted usage.
>

That's why I said "new" and not new :-)

> Tier-2 architectures aren't supported by freebsd-update for two reasons:
>
>  * Lack of available hardware for build systems for freebsd-update
>    to use.  Not entirely sure what the status of cross-compilation is
>    at the moment, but I believe the best results are still obtained by
>    compiling natively.
>

Perhaps. But building 9.0-RELEASE with TARGET= worked perfectly :)


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


freebsd-update and archs

2012-01-21 Thread Christer Solskogen
Hi!

I've just finished installing FreeBSD on my "new" Mac mini G4, and
when I ran freebsd-update on it I found out that freebsd-update only
supports i386 and amd64 architectures.
How come?

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Cross building FreeBSD

2012-01-18 Thread Christer Solskogen
On Wed, Jan 18, 2012 at 11:38 PM, Roland Smith  wrote:
> On Wed, Jan 18, 2012 at 01:40:02PM +0100, Christer Solskogen wrote:
>> Hi!
>>
>> I've just installed FreeBSD 9.0-RELEASE on my Mac Mini G4 (powerpc) -
>> Can I use my other, and much faster, machine(amd64) to compile world
>> and kernel to either populate /usr/obj or to generate base.txz, and
>> kernel.txz?
>
> It should be possible. See e.g. this article:
> http://bsdimp.blogspot.com/2006/09/cross-building-freebsd.html
>

Hm, that didn't help me much. I've already built both the kernel and
world on my amd64 machine.

> You do have to look up what the correct values of TARGET and TARGET_ARCH are
> on powerpc. IIRC, the G4 is 32-bit. So according to running 'make target' in
> /usr/src, it should be TARGET="powerpc" and TARGET_ARCH="powerpc".
>

There is no reason to add TARGET_ARCH when TARGET==TARGET_ARCH :)

> If you use the DESTDIR variable on the build command line, you can put the
> generated world and kernel in a separate directory, the contents of which you
> can then copy (e.g. with tar|nc or with rsync) to /usr/obj on the Mac Mini.
>

Well, that is the question. How to copy those file over. Files have
special chflags (for instance in /lib)

> Personally, 9.0 is the first release where I haven't bothered to build a
> custom kernel, because the GENERIC kernel seems to have everything I need
> built-in or available as a module. And neither have I bothered yet with
> building a custom world.
>

I agree. But there tend to be some erratas when the time comes. (And
there is no freebsd-update on ppc) And building on a PPC is a pain :)

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Cross building FreeBSD

2012-01-18 Thread Christer Solskogen
Hi!

I've just installed FreeBSD 9.0-RELEASE on my Mac Mini G4 (powerpc) -
Can I use my other, and much faster, machine(amd64) to compile world
and kernel to either populate /usr/obj or to generate base.txz, and
kernel.txz?
If the latter, how to I use base.txz? Just unpack it in / ?

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: "portmaster --list-origins" question

2011-12-29 Thread Christer Solskogen
On Thu, Dec 29, 2011 at 5:58 AM, Scott Bennett  wrote:

>     Did I misunderstand something about the --list-origins option?  Or have
> I run into a bug?  Any suggestions of how to proceed would be welcome.

No, not a bug.
portmaster --list-origins | wc -l
58
pkg_info | wc -l
 207

list-origins only lists packages that does not have any dependencies.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: postfix INST_BASE option

2011-11-03 Thread Christer Solskogen
On Thu, Nov 3, 2011 at 6:19 PM, Eric Masson  wrote:
> From rc.sendmail(8) :



See, know I also learned something today :-)


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: postfix INST_BASE option

2011-11-03 Thread Christer Solskogen
On Thu, Nov 3, 2011 at 4:23 PM, Alejandro Imass  wrote:
> On Thu, Nov 3, 2011 at 10:47 AM, Janos Dohanics  wrote:
>> Could you comment on the pros and cons of using INST_BASE=on in postfix
>> on a production server?
>>
>
> Great question! I know there has been some discussion to be able to
> choose your base MTA upon install but I don't know how far this has
> gone.
> I don't use that option but rather install it as a regular port,
> register it in mailer.conf when it asks you to and then do this in
> your rc.conf
>
> sendmail_enable="NO"
> sendmail_submit_enable="NO"
> sendmail_outbound_enable="NO"
> sendmail_msp_queue_enable="NO"
> postfix_enable="YES"
>

You can do this a lot easier with just:
sendmail_enable="NONE"
postfix_enable="YES"


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: rsync and the ports tree

2011-10-26 Thread Christer Solskogen
On Wed, Oct 26, 2011 at 12:39 PM, Peter Kryszkiewicz
 wrote:
> I have several machines installed in my temporary location and only my
> laptop gets the internet through wireless. So far I've been building ports
> on the other machines by rsync'ing the distfiles from the laptop as I need
> them (all machines have the same FreeBSD 8.2 installed).
>
> The problem comes after I did a 'portupgrade -a' on the laptop. To ensure
> the other ports trees are in sync, can I rsync the /usr/ports directory to
> the other machines? Since some of them are different architectures (amd64
> multicore for instance) I ran into situations where the distfiles are
> different (for gcc for example).
>

The distfiles are not different between architectures. Rsyncing
/usr/ports works fine. But if you will bump into problems if you also
sync /usr/ports/packages and you have different archs (i386 vs amd64
for instance).

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: moving a svn repository

2011-10-03 Thread Christer Solskogen
On Mon, Oct 3, 2011 at 7:32 PM, n dhert  wrote:

> One user wants the SVN repository of one project to be transferred to a
> different machine (which had
> exactly the same FreeBSD version and exactly the same version of the svn
> software).
>

Yeah, no problem. But I'll recommend that the user checks out his
working directory after the change. Subversions switch command pr.
instance do not always work svn:properties.


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Heavy I/O blocks FreeBSD box for several seconds

2011-07-06 Thread Christer Solskogen
2011/7/6 O. Hartmann :


Could you post /etc/sysctl.conf and /boot/loader.conf? Also, the
output of uname -a on all machines would be nice.
And since you don't use GENERIC, could you also tell us what
difference your setup is from a GENERIC kernel?

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Correct file name

2011-06-19 Thread Christer Solskogen
On Sun, Jun 19, 2011 at 9:01 AM, Wisam Haider  wrote:

>    Great work you are doing, however there is a typo error
>
> File
> ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/8.2/FreeBSD-8.2-
> RELEASE-amd64-dvd1.iso.xz
>
> I think the file type should be GZ not XZ.
>

Nothing wrong there. Use xz instead of gunzip2 to unpack it.



-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Question : Developing/Making FreeBSD derivative.

2011-04-11 Thread Christer Solskogen
On Mon, Apr 11, 2011 at 6:44 AM, Stefan N  wrote:
> My name is Stefan and I am newbie with FreeBSD but I'm interested to learn 
> more
> about FreeBSD . I am keen to know and learn more on  the process to make a new
> BSD's derivative/fork  from FreeBSD ?
>

You change the source code and compile

> How is the method for customizing/remastering FreeBSD ? The most interesting
> part is that if we could make the new fork of FreeBSD with its own uname. If I
> could make my own BSD derivative and used StefanBSD as its uname, it would be
> awesome.

The method is really simple, actually. You change the source code and compile.
Good luck!

-- 
chs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Port dependencies

2011-04-03 Thread Christer Solskogen
On Sun, Apr 3, 2011 at 5:07 AM, Chris Telting
 wrote:
>
>
> How does debian get around all the "make config" options that we deal with?
>  Such as does such and such package pull in samba...  Or does debian just
> compile with every option more or less enabled?
>

Yes, and no. One debian "source" package may create 1 or more binary
packages. For instance, Debian has at least two sudo packages (sudo
and sudo-ldap) -but only one source package. Take a look here:
http://packages.debian.org/squeeze/sudo
(Also, Debian/Ubuntu also create -dev packages for headers and
development libraries, which FreeBSD ports does not (THANK GOD!))


-- 
chs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: "Best practices" on upgrading, etc.

2011-03-11 Thread Christer Solskogen
On Fri, Mar 11, 2011 at 10:03 PM, Ed Flecko  wrote:
> Hi folks,
> I'm trying to fully understand the whole FBSD version thing and when,
> if , and why you should consider upgrading.
>
> I have a production server running FBSD 8.1 (and I'm following the
> errata branch) that works just fine, with no problems.
>
> I see that the "Production Release" of 8.2 is available.
>
> Obviously, 8.2 has features that 8.1 does not, but I guess my primary
> questions is:
>
> 1.) If you have a production server that's running well (and is fully
> patched, i.e. following the errata branch), is there a compelling
> reason to upgrade or do most people do it because there are features
> in the new release that you want/need? I guess what I'm really asking
> is if it makes more sense to take the "if it aint broke - don't fix
> it" mindset or should you really consider upgrading when a new version
> is released???
>

I do. At a certain point 8.1 will not be supported anymore, and thus
no more security updates.

> 2.) If I DO upgrade, I can simply change my supfile to RELENG_8_2 and then:
>
> run csup
> upgrade the ports
> make buildworld
> make buildkernel
> make installkernel
> make installworld
>
> is that right? Is my sequence wrong?
>

A bit wrong.
1) run csup
2) make buildworld && make buildkernel && make installkernel
3) reboot
4) make installworld
5) mergemaster
6) reboot
7) upgrade ports

> 3.) How do I upgrade any installed software (I CAN use portmaster for
> that, right?)?
>

Yeah, portmaster is key. There is no need to force upgrade of all
ports when going from 8.1 to 8.2.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to install Tomcat 7

2011-02-21 Thread Christer Solskogen
On Mon, Feb 21, 2011 at 9:48 AM, Andreas Junius
 wrote:

> To be honest, I don't understand that message. That file
> apache-tomcat-7.0.6.tar.gz can't be in /usr/ports/www/tomcat7/distinfo,
> because distinfo is a file and not a directory. What went wrong? I got the
> missing file, however where is it supposed to be?
>

Could you post your /etc/make.conf, please? All of it. I suspect there
is something terribly wrong there.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk)

2011-01-26 Thread Christer Solskogen
On Wed, Jan 26, 2011 at 9:42 PM, Dan Nelson  wrote:

> ZFS lets you add and detach mirrors on the fly, since you're not changing
> the capacity of the pool itself.  Sure, you're going to lose the contents of
> the large 2TB drive, but that's sort of assumed.  You can't convert 4TB of
> non-mirrored disks into 2TB of mirrored disks without losing 2TB of space.
> Just make sure you have less than 2TB total used data on all volumes, and
> copy the data off the 2TB filessytem onto the striped 1+1TB one before
> repartitioning and adding the mirrors.
>
>  zpool attach [-f] pool device new_device
>

The problem is that you cant attach a drive to a vdev that consists of
two striped disks.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk)

2011-01-26 Thread Christer Solskogen
On Wed, Jan 26, 2011 at 8:58 PM, Dan Nelson  wrote:
> In the last episode (Jan 26), Christer Solskogen said:
>> On Wed, Jan 26, 2011 at 9:42 AM, O. Hartmann wrote:
>> > My question is: is it possible to migrate the two-disk pool without data
>> > loss into a mirrored pool by adding the one 2TB-disk?
>>
>> No, you cant create a two-way mirror of three disks with ZFS. The only way
>> of doing what you want by creating a gmirror (or by hardware raid) of the
>> two 1TB disks.
>
> You can, if you partition the 2tb disk into two smaller volumes, each the
> same size as one of the 1tb disks, then add one of those as a mirror of each
> original disk.  You'll end up with two mirrored vdevs in the pool.
> Performance probably won't be as good as a real mirror, though, since zfs
> doesn't know that two of its physical disks share a spindle.
>

Rememer that he also asked to do this without data loss. As far as I
know you cant remove devices from a vdev. If he is willing to accept
data loss there are a lots of ways of doing it.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Best RAID setup

2011-01-26 Thread Christer Solskogen
On Wed, Jan 26, 2011 at 1:56 AM, Don O'Neil  wrote:

>
> I'm just looking for the most stable, and production ready RAID that can
> handle at least 1 TB disks and create volumes in the 3-4 TB range. Any
> thoughts, feedback, caveats, etc. are welcomed.
>

ZFS. You want it.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk)

2011-01-26 Thread Christer Solskogen
On Wed, Jan 26, 2011 at 9:42 AM, O. Hartmann
 wrote:

> My question is: is it possible to migrate the two-disk pool without data
> loss into a mirrored pool by adding the one 2TB-disk?
>

No, you cant create a two-way mirror of three disks with ZFS. The only
way of doing what you want by creating a gmirror (or by hardware raid)
of the two 1TB disks.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: php still dumping core.

2011-01-20 Thread Christer Solskogen
On Fri, Jan 21, 2011 at 7:24 AM, Gary Kline  wrote:
>
>        Guys,
>
>        I've rebuilt everything that I can;  still anytime I use php, it
>        dumps core.  Ideas?
>
>        I have, of course, run gdb again the binary and found that it segv's
>        in the hash table lookup.  Means almost zero to me:
>
> 
>
>
> Starting program: /usr/local/bin/php
> PHP Warning:  PHP Startup: Unable to load dynamic library 
> '/usr/local/lib/php/20090626-debug/xmlreader.so' - 
> /usr/local/lib/php/20090626-debug/xmlreader.so: Undefined symbol 
> "dom_node_class_entry" in Unknown on line 0
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x28db0006 in hash_lookup (hashtab=0x29563790,
>    key=0xbfbfe450 "ᅵᅵ\024)ᅵᅵ\b)\2207V)Tz\030)ï¿œP\200(") at misc.c:349
> 349     misc.c: No such file or directory.
>        in misc.c
> (gdb)
>
>
> 
>

Try "ldd -v usr/local/lib/php/20090626-debug/xmlreader.so" and see if
something is a miss.I would try to rebuild everything that
xml-reader.so depends on.


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: The book of pf...

2011-01-18 Thread Christer Solskogen
On Tue, Jan 18, 2011 at 7:35 PM, Kevin Wilcox  wrote:
> 1) Definitely get the first version
>

Oh, why?


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: The book of pf...

2011-01-18 Thread Christer Solskogen
On Tue, Jan 18, 2011 at 9:25 AM, Adam Vande More  wrote:
> On Mon, Jan 17, 2011 at 10:37 PM, Modulok  wrote:
>
>> List,
>>
>> "The Book of PF: A No-Nonsense Guide to the OpenBSD Firewall"
>>
>> This book comes in two editions. The first was published in December
>> 2007, the second, November, 2010. Does anyone have this? And if so
>> would I be correct to get the first edition instead? I know FreeBSD's
>> pf lags being openBSD's, so I'm not sure which version of the book to
>> get, if either are applicable to the version of pf that FreeBSD runs?
>> (FreeBSD 8.1)
>>
>
> I don't follow OpenBSD, but my understanding is there has been significant
> change between FreeBSD's version of PF and the current version in OpenBSD.
> According to the freebsd-pf@ list(which is maybe a better place for your
> question) PF version 4.5 is scheduled to appear in FreeBSD 9 so we'll still
> be well behind.  I would guess the previous version of the book has syntax
> and examples closer to what you'll be using if FreeBSD is your host although
> 2nd editions often have a lot of useful additions and corrections.
>

No. The second edition also includes the syntax for FreeBSD 8.x.(It
also includes the old sytnax for OpenBSD as well as the new syntax)

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: A jail with a dash in its name

2010-12-21 Thread Christer Solskogen
On Tue, Dec 21, 2010 at 9:26 PM, Matthew Seaman
 wrote:

> Of course, there's no problem with using the form 'forest-friend' on the
> RHS of any assignments, so long as it's properly quoted, of course.
>

Thanks for all your help!
I chose to remove all hyphens instead.

-- 
chs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: A jail with a dash in its name

2010-12-21 Thread Christer Solskogen
On Tue, Dec 21, 2010 at 1:54 PM, Da Rock
 wrote:

> However, whether or not a hyphen is allowed in the jail name is another
> matter. Yes a hyphen is allowed in a hostname, but in the rc.conf the
> hostname is set in a string (as mentioned before). Also, the jail name and
> hostname don't need to be the same thing.

Hence my email :-)

This is how my rc.conf looks now:
#jail configuration for forest-friend
jail_forest-friend_rootdir="/usr/jails/forest-friend"
jail_forest-friend_hostname="forest-friend"
jail_forest-friend_ip="192.168.0.15"

But still:
[r...@cheer /usr/local/share/jailcfg/templates/default/etc]# /etc/rc.d/jail
/etc/rc.conf: jail_forest-friend_rootdir=/usr/jails/forest-friend: not found
jail_forest-friend_hostname=forest-friend: not found
jail_forest-friend_ip=192.168.0.15: not found
Usage: /etc/rc.d/jail [fast|force|one](start|stop|restart|rcvar)

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: A jail with a dash in its name

2010-12-21 Thread Christer Solskogen
On Tue, Dec 21, 2010 at 1:11 PM, Robert Bonomi  wrote:
> That statement appears to be a shell variable assignment, yet the
> error message indicates that the system is trying to find an executable
> by the name of the entire expression.
>
> You need to show us the actual line in /etc/rc.conf _and_ the surrounding
> context.
>

part of rc.conf:

jail_forest-friend_rootdir=/usr/jails/forest-friend
jail_forest-friend_hostname=forest-friend
jail_forest-friend_ip=192.168.0.15

cheer# /etc/rc.d/jail
/etc/rc.conf: jail_forest-friend_rootdir=/usr/jails/forest-friend: not found
jail_forest-friend_hostname=forest-friend: not found
jail_forest-friend_ip=192.168.0.15: not found
Usage: /etc/rc.d/jail [fast|force|one](start|stop|restart|rcvar)


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: A jail with a dash in its name

2010-12-21 Thread Christer Solskogen
On Tue, Dec 21, 2010 at 12:28 PM, Chris Rees  wrote:
> You tried single quotes?
>


How? Where? :-)

jail_'forest-friend'_rootdir=/usr/jails/forest-friend also gives
"/etc/rc.conf: jail_forest-friend_rootdir=/usr/jails/forest-friend:
not found"

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: A jail with a dash in its name

2010-12-21 Thread Christer Solskogen
On Tue, Dec 21, 2010 at 12:06 PM, krad  wrote:
> i'd stay away from characters like that. It should be ok in theory to use
> but in my experience it is more likely to cause problems in the future
>

There's no problem of having a dash in a hostname, so why should it be
in a jailname?

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


A jail with a dash in its name

2010-12-21 Thread Christer Solskogen
I want to create a jail called forest-friend. And having a dash in the
name seems to create problems for me.

/etc/rc.conf: jail_forest-friend_rootdir=/usr/jails/forest-friend: not found

how do I escape that?

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Archiving directories / zip format

2010-12-06 Thread Christer Solskogen
On Mon, Dec 6, 2010 at 8:17 AM, Zbigniew Szalbot  wrote:
> Dear all,
>
> >From time to time I want to archive a quite a few directories to
> download them conveniently. I have been using tar to do it, endingin
> up with a tar.gz file. But the problem with it is that I do not have a
> unix machine at home so if I want to extract something or unpack the
> content, there is no easy way to do that. My question basically is if
> there is a way to end up with a zip file? Or are there any windows
> tools to unzip and/or extract content from tar.gz files?
>
> Many thanks in advance!
>


For Windows I use 7zip -  www.7-zip.org - it gets the job done. It
takes tarballs (.bz2 and .gz) zip, rar, and whatever I ever come
around. Take a look at it.


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ZFS based machine to build a backup server ?

2010-11-29 Thread Christer Solskogen
On Mon, Nov 29, 2010 at 10:56 AM, Frank Bonnet  wrote:

> In a word is FreeBSD + ZFS stable and mature ?
>

Yes.
But do it with a machine with a lot of memory and run 64bit.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: foo; no such thing as a "dual-nic" atom firewall

2010-11-24 Thread Christer Solskogen
On Wed, Nov 24, 2010 at 2:43 AM, Gary Kline  wrote:
> Maybe someone on-list can help me; after 5+ hours of clicking and
> typing, I can't find an atom cpu computer with dual NICs.  I
> _thought_ I'd found a computer to replace to Kayak firewall
> [pfSense], but nada.
>
> Any wizards on this list have a clue?

I don't know if I'm a wizard, but FitPC2i might do you good.

http://www.fit-pc.com/web/fit-pc2/specifications/


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: openssl version - how to verify

2010-11-16 Thread Christer Solskogen
On Tue, Nov 16, 2010 at 9:49 AM, c0re  wrote:
> 2010/11/16 Adam Vande More :
>> Please don't top-post, thanks.
>
> Sorry. Wont will in future. But why?
>


Because it messes up the flow of reading.
I prefer to bottom-post.
> How come?
> What do you do instead?
> > No.
> > > Do you like top-posting?



-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Portmaster creating packages

2010-10-26 Thread Christer Solskogen
On Wed, Oct 27, 2010 at 2:11 AM, David N  wrote:
> Hi,
>
> I currently use portmaster to do the upgrading of my ports.
>
> Is it possible to use portmaster to create packages of upgrade ports?
>
> I can only see it upgrading via packages only.
>

Yes, that is possible.
"MAKE_PACKAGE=gopt" in portmaster.rc . If you read portmasters manpage
you would have found out that your self.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-14 Thread Christer Solskogen
On Thu, Oct 14, 2010 at 3:07 PM, Andy Wodfer  wrote:
> On Thu, Oct 14, 2010 at 1:06 PM, Christer Solskogen <
> christer.solsko...@gmail.com> wrote:
>
>> On Thu, Oct 14, 2010 at 10:16 AM, Andy Wodfer  wrote:
>> > Hi,
>> > I'm trying to install Resin together with Apache and according to all
>> > documentation I can find I'm supposed to compile the mod_caucho and
>> include
>> > this in the Apache httpd.conf,  but I can't find any reference to
>> mod_caucho
>> > in my ports, system or compile options.
>> >
>> > Is the documentation outdated or can anyone give me some pointers as to
>> how
>> > I can make requests to Java sites go through Apache (using virtual
>> hosts)?
>> > Ie. http://caucho.com/resin-3.1/doc/install-apache.xtp
>> >
>> > Both Apache (port 80) and Resin3.1 (port 8080) runs fine alone.
>> >
>>
>> You probably have that module already installed. It comes with
>> www/resin3 according to the Makefile.
>>
>
> Don't think so. locate (updated) and find only shows these:
>
> ./tmp/caucho
> ./usr/local/resin3/webapps/resin-doc/WEB-INF/classes/com/caucho
> ./usr/local/resin3/webapps/resin-doc/WEB-INF/xsl/caucho
> ./usr/local/resin3/webapps/resin-doc/examples/amber-basic/WEB-INF/classes/com/caucho
>

You might need to have apache[2|22] installed first.


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-14 Thread Christer Solskogen
On Thu, Oct 14, 2010 at 10:16 AM, Andy Wodfer  wrote:
> Hi,
> I'm trying to install Resin together with Apache and according to all
> documentation I can find I'm supposed to compile the mod_caucho and include
> this in the Apache httpd.conf,  but I can't find any reference to mod_caucho
> in my ports, system or compile options.
>
> Is the documentation outdated or can anyone give me some pointers as to how
> I can make requests to Java sites go through Apache (using virtual hosts)?
> Ie. http://caucho.com/resin-3.1/doc/install-apache.xtp
>
> Both Apache (port 80) and Resin3.1 (port 8080) runs fine alone.
>

You probably have that module already installed. It comes with
www/resin3 according to the Makefile.


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Confused about keeping system up to date

2010-10-06 Thread Christer Solskogen
On Tue, Oct 5, 2010 at 9:32 PM, Ed Flecko  wrote:
> Thanks Patrick!
>
> :-)
>
> 1.) How do you know if a patch applies just to the kernel? For
> example, I'm looking at the security advisory 2010-09-20
> FreeBSD-SA-10:08.bzip2 (
> http://security.freebsd.org/advisories/FreeBSD-SA-10:08.bzip2.asc ),
> but it isn't clear to me if it applies to just the kernel or...???
>

If you need to recompile the kernel, the security advisory will tell
you to. And it dont in that particular advisory.
-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Jail from dump/restore?

2010-08-12 Thread Christer Solskogen
On Wed, Aug 11, 2010 at 10:57 PM, Chris Maness  wrote:
> Is it possible to create a jail from a dump/restore of a real system.
> If so, would I just restore the dump to the jail tld?
>

That should be possible yes. But it's probably a better idea to just
create a new jail and transfer the data, then you'll get rid of old
cruft.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: mercurial port broken?

2010-08-07 Thread Christer Solskogen
On Sat, Aug 7, 2010 at 5:46 AM, Chip Camden  wrote:
> I just pulled mercurial, and the build nowfails:
>
> for f in bash_completion  convert-repo  dumprevlog  hg-ssh  hgdiff  hgk
> logo-droplets.svg  memory.py  mercurial.el  mergetools.hgrc  mq.el
> perf.py  pylintrc  python-hook-examples.py  rewrite-log  sample.hgrc
> shrink-revlog.py  simplemerge  tcsh_completion  tcsh_completion_build.sh
> tmplrewrite.py  undumprevlog  zsh_completion  git-viz/git-cat-file
> git-viz/git-diff-tree  git-viz/git-rev-list  git-viz/git-rev-tree
> git-viz/hg-viz  hgsh/Makefile  hgsh/hgsh.c  vim/HGAnnotate.vim
> vim/hg-menu.vim  vim/hgcommand.vim  vim/patchreview.txt
> vim/patchreview.vim; do  /bin/cp -p
> /usr/ports/devel/mercurial/work/mercurial-1.6.2/contrib/${f}
> /usr/local/share/mercurial/contrib/${f};  done
> cp: /usr/ports/devel/mercurial/work/mercurial-1.6.2/contrib/hgdiff: No
> such file or directory
> *** Error code 1
>
> Indeed there is no directory:
> /usr/ports/devel/mercurial/work/mercurial-1.6.2/contrib/hgdiff
>

Almost same problem as you:
for f in bash_completion  convert-repo  dumprevlog  hg-ssh  hgk
logo-droplets.svg  memory.py  mercurial.el  mergetools.hgrc  mq.el
perf.py  pylintrc  python-hook-examples.py  sample.hgrc
shrink-revlog.py  simplemerge  tcsh_completion
tcsh_completion_build.sh  tmplrewrite.py  undumprevlog  zsh_completion
 git-viz/git-cat-file  git-viz/git-diff-tree  git-viz/git-rev-list
git-viz/git-rev-tree  git-viz/hg-viz  hgsh/Makefile  hgsh/hgsh.c
vim/HGAnnotate.vim  vim/hg-menu.vim  vim/hgcommand.vim
vim/patchreview.txt  vim/patchreview.vim; do  /bin/cp -p
/usr/obj/usr/ports/devel/mercurial/work/mercurial-1.6.2/contrib/${f}
/usr/local/share/mercurial/contrib/${f};  done
cp: 
/usr/obj/usr/ports/devel/mercurial/work/mercurial-1.6.2/contrib/git-viz/git-cat-file:
No such file or directory
*** Error code 1


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installkernel Failure

2010-08-03 Thread Christer Solskogen
On Tue, Aug 3, 2010 at 12:33 PM, David Allen
 wrote:

> There is no ncp.ko on the successfully upgraded system.

Do both machines have identical  /etc/make.conf and/or /etc/src.conf?

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Clear and FBSD

2010-08-01 Thread Christer Solskogen
On Sun, Aug 1, 2010 at 4:49 AM, Lars Eighner  wrote:
> Does Clear:
>
> 1) Work with FreeBSD --- you just plug it in.
>

No reason to plug in. It's already there.
(try 'man clear')

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ssh_exchange_identification: Connection closed by remote host

2010-07-02 Thread Christer Solskogen
On Fri, Jul 2, 2010 at 12:52 PM, John Almberg  wrote:

> ~ 510 $ ssh m...@my.example.com
> ssh_exchange_identification: Connection closed by remote host
>

Locked account, maybe?

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Upgrading without building and without freebsd-update

2010-07-01 Thread Christer Solskogen
On Thu, Jul 1, 2010 at 1:22 PM, Glen Barber  wrote:

> You could use 'make package-recursive', or have a look at
> ports-mgmt/tinderbox, which does this by default.
>

Or as I do: rsync /usr/ports/packages :)

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Upgrading without building and without freebsd-update

2010-07-01 Thread Christer Solskogen
I've got two FreeBSD machines on two different networks(and two
different locations). One of them is as fast machine (i7-920) while
the other one is a Intel Atom. How can I build on the fast machine and
use those binaries on the slow one, without mounting /usr/obj using
nfs? first I was thinking about creating a dump file on the fast
machine and extract that on the slow, but that wont work on a
filesystem that is already populated. Would a tarfile work? (how about
/libexec/ld-elf.so.1?)

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing FreeBSD on a USB stick.

2010-02-16 Thread Christer Solskogen
On Tue, Feb 16, 2010 at 2:33 PM, Fbsd1  wrote:
> Christer Solskogen wrote:
>>
>> On Mon, Feb 15, 2010 at 6:26 PM, Tim Judd  wrote:
>>
>>> And I agree with this 'Fbsd1' user (I wish 'Fbsd1' would update his
>>> MTA with a real name) that since Christer is who uses the product, he
>>> should look into it.
>>
>> I'm probably a bit paranoid, but when someone who is not using their
>> real name, post a email saying something like "CLIK ON DIS LINK PLZ"
>> /and/ Websense kicks in, my paranoia takes over :)
>>
> Yea like Christer Solskogen is your real name.

It is.

> Are you that naive that you
> believe a name used on a email address has any truth in who really is using
> it.

What the hell makes you belive that?

> If you have nothing to say about the article you should have kept your
> paranoia to your self instead of questioning the integrity of the writer.
> There was no reason to make your first reply. And even after being told your
> websence software is in error you still continue mouthing nonsense.
>

So you don't see the problem here, do you? You post anonymously on the
mailing list, post a link where the hostname pretty much looks like
some place where you get your computer full of virus, and websense
kicks in. If you don't see that as reason to be a bit more aware of
what you have to offer you are retarded.

> Once again YOU SHOULD BE ASKING YOUR WEBSENSE SOFTWARE VENDOR WHAT ARE THE
> EXACT REASONS THEY FLAGGED THIS SITE. OTHER POSTERS HAVE ALL READY TOLD YOU
> THAT FALSE POSITIVES ARE COMMON FROM VENDORS OF SUCH SCAM SERVICES AS
> WEBSENSE. NOBODY HAS A GUN TO YOUR HEAD TO CLICK ON A LINK. THAT IS YOUR
> CHOOSE OR NOT AND NOBODY HERE ON THE LIST HAS THE LEAST INTEREST IN WHAT YOU
> CHOOSE TO CLICK ON SO KEPT IT TO YOUR SELF.
>

And when you tell me that Websense is a scam it must be because your
site is full of evil stuff. Go away!


> Any reply from this point on just marks you as a flamer.
>

And your post don't make you one? You're not even able to keep calm
when people asks you a simple question. Still wonder why I think your
intentions are not legit?

-- 
chs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing FreeBSD on a USB stick.

2010-02-16 Thread Christer Solskogen
On Mon, Feb 15, 2010 at 6:26 PM, Tim Judd  wrote:

> And I agree with this 'Fbsd1' user (I wish 'Fbsd1' would update his
> MTA with a real name) that since Christer is who uses the product, he
> should look into it.

I'm probably a bit paranoid, but when someone who is not using their
real name, post a email saying something like "CLIK ON DIS LINK PLZ"
/and/ Websense kicks in, my paranoia takes over :)

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing FreeBSD on a USB stick.

2010-02-15 Thread Christer Solskogen
On Mon, Feb 15, 2010 at 4:55 AM, Fbsd1  wrote:

> http://www.a1poweruser.com/usb.info.htm
>

Why does Websence think your site contains Potentially Unwanted Software?

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Jailcfg - A new tool for creating small(!) jails

2010-02-13 Thread Christer Solskogen
On Sat, Feb 13, 2010 at 1:07 AM, Aiza  wrote:

> Hay wake up. Nobody is going to install special software
>  just to review some simple script. Get a life.
>

Maybe. I was hoping that google code had some nice way of creating a
tarball of the source on the fly. I'll mail google about it, it would
be a nice feature.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Jailcfg - A new tool for creating small(!) jails

2010-02-11 Thread Christer Solskogen
On Fri, Feb 12, 2010 at 2:39 AM, Aiza  wrote:

> Your URL dont work
>

Yes, it does :) But you need mercurial to get the source.
But the project also have a "homepage" - http://code.google.com/p/jailcfg/


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Jailcfg - A new tool for creating small(!) jails

2010-02-11 Thread Christer Solskogen
Hi!

I've just began scripting a small tool for creating jails, much like
ezjail. But instead of creating a own basejail, jailcfg mounts /bin,
/lib, /usr/bin, etc. from root. And this means that the footprint of
one of "my" jails is just about 3MB :) The script is in very early
stages, but it's a start. Get it by doing: hg clone
https://jailcfg.googlecode.com/hg/ jailcfg
Feedback is welcome!

-- 
chs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: portupgrade

2010-02-08 Thread Christer Solskogen
2010/2/8 Dánielisz László :
> hi,
>
> do you have any idea why it is not upgrading:
>
> root# portversion -v|grep php
> php5-5.2.12                 >  succeeds port (port has 5.2.10)
> php5-pcre-5.2.12            >  succeeds port (port has 5.2.10)
> php5-session-5.2.12         >  succeeds port (port has 5.2.10)
> php5-simplexml-5.2.12       >  succeeds port (port has 5.2.10)
> php5-spl-5.2.12             >  succeeds port (port has 5.2.10)
> php5-sqlite-5.2.12          >  succeeds port (port has 5.2.10)
> root# portupgrade -vr php5
> --->  Session started at: Mon, 08 Feb 2010 09:40:19 +0100
> ** None has been installed or upgraded.
> --->  Session ended at: Mon, 08 Feb 2010 09:40:20 +0100 (consumed 00:00:01
>

Do you use portsnap? If yes, try 'portsnap fetch update' - If you have
'/usr/sbin/portsnap -I cron update' in your crontab it will only
update the INDEX files.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Bulding release in a jail????

2010-02-02 Thread Christer Solskogen
On Tue, Feb 2, 2010 at 2:28 PM, Goran Lowkrantz
 wrote:

> but still can't mount inside the jail.
>

Try adding jail__devfs_enable="YES" in rc.conf and restart your jail.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How do you manage your jails?

2010-01-28 Thread Christer Solskogen
On Thu, Jan 28, 2010 at 3:28 PM, Adam Vande More  wrote:

> you should check out /usr/ports/sysutils/ezjail
>

Already noted :) I use it myself.

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


How do you manage your jails?

2010-01-28 Thread Christer Solskogen
So you have installed a FreeBSD server and setup several jails on your
system. They run the services they need and everything works smoothly. But
how do manage all of them? What do you do if you want to run a command on
all jails? Do you run cfengine/puppy? How do you setup sendmail? Do
you have sendmail on all jails?
Do you share ports to all jails? How do you keep ports up to date on them?
Do you have a set of scripts that you want to share? On
http://antarctica.no/stuff/UNIX/FreeBSD/jails/ you'll find what I use.

I'm preparing a talk for BLUG (the local Linux/BSD group) and I want to know how
YOU manage your jails, there sure are more than one way do it.

-- 
chs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Questions regarding portmaster's man page

2009-09-30 Thread Christer Solskogen
Hi!

The man page for portmaster say this:
 Alternatively you could use portmaster -a -f -D to do an ``in place''
 update of your ports.  If that process is interrupted for any reason you
 can use portmaster -a -f -D -R to avoid rebuilding ports already rebuilt
 on previous runs.  However the first method (delete everything and rein-
 stall) is preferred.

I'm wondering why the first method is preferred.

-- 
chs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Not able to compile GENERIC kernel

2009-09-20 Thread Christer Solskogen

Giorgos Keramidas wrote:


# rm -fr /usr/obj/usr
# cd /usr/src
# make cleandir ; make cleandir



I've seen serveral placeses that "make cleandir" should be run twice. I 
dont understand why. Could somebody explain?


--
chs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: sftp + chrooting users

2009-08-09 Thread Christer Solskogen

On 8/9/09 4:29 PM, Stefan Miklosovic wrote:

hi all,

I am about chrooting ftp users into theirs home
directories. I've following in the end of /etc/ssh/sshd_config

Subsystem  sftp   internal-sftp

Match group ftp
  ChrootDirectory /home
  X11Forwarding no
  AllowTcpForwarding no
  ForceCommand internal-sftp



I have this in my sshd_config:
Match Group sftponly
 ChrootDirectory /usr/home/%u
 X11Forwarding no
 AllowTcpForwarding no
 ForceCommand internal-sftp

But also note that the user(which is in the sftponly group) have / as 
his home directory.


--
chs


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: CF cards

2009-06-10 Thread Christer Solskogen

On 6/10/09 10:46 PM, gbel...@rogers.com wrote:

Hi,

Could anyone recommend a decent CF card and CF to ATA adapter that works well 
with freebsd.  My intended use for it is on a machine providing firewall and 
dns services for my internal network.



I got a card reader one from this swedish guy.

http://www.kabelpiraten.se/catalog/product_info.php?cPath=44_27&products_id=191

I tried a couple of different CF cards, and as far as I can see every 
card goes. It depends more on how much money you want to spend (more 
money, more speed and capacity)



--
chs


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


FreeBSD 7.2 released?

2009-05-03 Thread Christer Solskogen
How come http://torrents.freebsd.org:8080/ have the isos for 7.2-RELEASE 
while the announce have not?


--
chs


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: portupgrade <-> portmaster?

2009-01-15 Thread Christer Solskogen

On 1/15/09 8:25 PM, Ewald Jenisch wrote:


Anything to consider when going from portupgrade to portmaster?



Portupgrade has the advantage that it can use binary packages to upgrade 
your system. portmaster can create them (by adding the -g option) - but 
not use them. This is the reason we use portupgrade at work where we 
have several FreeBSD servers which shares /usr/ports.



Is there also a way back, i.e. from portmaster to portupgrade?



No problem at all. You can even have both installed. If you upgrade your 
outdated port with portupgrade, portmaster will not try to upgrade it 
and vice versa, unless you force it to (which makes no sense).


--
chs


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: High load - lost network

2008-11-11 Thread Christer Solskogen
Christer Solskogen wrote:
> I have a server with a em interface. Whenever the server has a high load
> (compiling world for instance) the network connectivity is lost.
> 

The solution was to disable the onboard network card, and insert a pci-x
card instead.

-- 
chs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: High load - lost network

2008-11-11 Thread Christer Solskogen
Jeremy Chadwick wrote:

> Simply put: I don't know.  Based on the polling(4) man page, it might
> improve things for you, but your ATA high interrupt rate problem will
> still exist even if you use polling(4).
> 

Okay. Thanks for taking time helping me :)

-- 
chs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: High load - lost network

2008-11-11 Thread Christer Solskogen
Jeremy Chadwick wrote:

> I'm not really sure anyone will know how to fix this.  Sometimes a BIOS
> upgrade can fix such things, other times motherboard replacements are in
> order.
> 

I'll check the BIOS and see if I could do something with it.
If I enable POLLING, could that fix the problem?

-- 
chs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: High load - lost network

2008-11-10 Thread Christer Solskogen
Wojciech Puchar wrote:
> i don't think it's interrupt sharing problems.
> 
> anyway - turn on MSI interrupts if your hardware can.
> 

I dont seem so (unless i interpret the output of pciconf wrong:

[EMAIL PROTECTED] ~]# pciconf -lc
[EMAIL PROTECTED]:0:0:0:  class=0x06 card=0x342f8086 chip=0x25788086
rev=0x02 hdr=0x00
cap 09[e4] = vendor (length 6) Intel cap 3 version 1
[EMAIL PROTECTED]:0:3:0:   class=0x060400 card=0x chip=0x257b8086
rev=0x02 hdr=0x01
[EMAIL PROTECTED]:0:28:0:  class=0x060400 card=0x chip=0x25ae8086
rev=0x02 hdr=0x01
cap 07[50] = PCI-X 64-bit bridge supports
[EMAIL PROTECTED]:0:29:0:  class=0x0c0300 card=0x342f8086 chip=0x25a98086
rev=0x02 hdr=0x00
[EMAIL PROTECTED]:0:29:1:  class=0x0c0300 card=0x342f8086 chip=0x25aa8086
rev=0x02 hdr=0x00
[EMAIL PROTECTED]:0:29:4:  class=0x088000 card=0x342f8086 chip=0x25ab8086
rev=0x02 hdr=0x00
[EMAIL PROTECTED]:0:29:5:class=0x080020 card=0x342f8086 chip=0x25ac8086
rev=0x02 hdr=0x00
cap 07[50] = PCI-X 64-bit supports 512 burst read, 1 split transaction
[EMAIL PROTECTED]:0:29:7:  class=0x0c0320 card=0x342f8086 chip=0x25ad8086
rev=0x02 hdr=0x00
cap 01[50] = powerspec 2  supports D0 D3  current D0
cap 0a[58] = EHCI Debug Port at offset 0x80 in map 0x14
[EMAIL PROTECTED]:0:30:0:  class=0x060400 card=0x chip=0x244e8086
rev=0x0a hdr=0x01
[EMAIL PROTECTED]:0:31:0:  class=0x060100 card=0x chip=0x25a18086
rev=0x02 hdr=0x00
[EMAIL PROTECTED]:0:31:1:class=0x01018a card=0x342f8086 chip=0x25a28086
rev=0x02 hdr=0x00
[EMAIL PROTECTED]:0:31:2:class=0x01048f card=0x34308086 chip=0x25b08086
rev=0x02 hdr=0x00
[EMAIL PROTECTED]:0:31:3:  class=0x0c0500 card=0x342f8086 chip=0x25a48086
rev=0x02 hdr=0x00
[EMAIL PROTECTED]:1:1:0: class=0x02 card=0x342f8086 chip=0x10758086 rev=0x00
hdr=0x00
cap 01[dc] = powerspec 2  supports D0 D3  current D0
[EMAIL PROTECTED]:3:0:0: class=0x03 card=0x342f8086 chip=0x47521002
rev=0x27 hdr=0x00
cap 01[5c] = powerspec 2  supports D0 D1 D2 D3  current D0
[EMAIL PROTECTED]:3:1:0:class=0x02 card=0x342f8086 chip=0x12298086
rev=0x10 hdr=0x00
cap 01[dc] = powerspec 2  supports D0 D1 D2 D3  current D0


> check if producing high load on atapci1 make problem worse or not.
> 

During "dd if=/dev/random of=bigfile bs=500k count=5" (about 200
seconds) made the network unresponsive again. Same symptom as I got when
running make buildworld.

-- 
chs


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: High load - lost network

2008-11-10 Thread Christer Solskogen
Jeremy Chadwick wrote:

> Well shoot, that didn't tell me what I want.  pciconv -lv, and look
> for the em0 entry?  (I need all the lines shown associated with it)
> 

Here you go:

[EMAIL PROTECTED]:1:1:0: class=0x02 card=0x342f8086 chip=0x10758086 rev=0x00
hdr=0x00
vendor = 'Intel Corporation'
device = '82547EI Gigabit Ethernet Controller'
class  = network
subclass   = ethernet

-- 
chs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: High load - lost network

2008-11-10 Thread Christer Solskogen

Jeremy Chadwick wrote:


Can you provide "dmesg | grep em0" output?  I'd like to see what version
of NIC this is.



No problem.

em0:  port 
0xbc00-0xbc1f mem 0xfc5e-0xfc5f irq 18 at device 1.0 on pci1

em0: Ethernet address: 00:02:b3:ea:28:f0
em0: [FILTER]

--
chs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: High load - lost network

2008-11-10 Thread Christer Solskogen
Mel wrote:

> Any shared interrupts? What does vmstat -i show under the load you describe?
> 

irq1: atkbd0 531  0
irq6: fdc010  0
irq14: ata0   95  0
irq18: em0 atapci1   1198845  4
cpu0: timer559484003   1999
cpu1: timer559483898   1999
Total 1120167382   4004


-- 
chs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: High load - lost network

2008-11-10 Thread Christer Solskogen
Robert Huff wrote:

>   Have you double-checked the hardware?  (Includes the cable
> connection.)  The "em" driver has a very good reputation and others
> - includong myself - use it under siilar load profiles with no
> problems.
> 

Yeah, I have. The error is replicated just by giving the machine
something to do. It might also have something to do with the auto
neogation and the switch.

the wierd thing is that the only message in the log is:
Nov 10 13:29:58 caius kernel: em0: link state changed to DOWN
Nov 10 13:29:59 caius kernel: em0: link state changed to UP
Nov 10 13:30:08 caius kernel: em0: link state changed to DOWN
Nov 10 13:30:10 caius kernel: em0: link state changed to UP

Nothing else :/


-- 
chs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


High load - lost network

2008-11-10 Thread Christer Solskogen
I have a server with a em interface. Whenever the server has a high load
(compiling world for instance) the network connectivity is lost.

dmesg tells me this:
em0: link state changed to DOWN
em0: link state changed to UP
em0: link state changed to DOWN
em0: link state changed to UP
em0: link state changed to DOWN
em0: link state changed to UP
em0: link state changed to DOWN
em0: link state changed to UP
em0: link state changed to DOWN
em0: link state changed to UP

Do anyone have a tips for how to workaround this or is the server just junk?

The server is running FreeBSD 7.0 (i386) with latest patches from
freebsd-update.

-- 
chs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Local freebsd-update and portsnap server

2008-09-07 Thread Christer Solskogen
Is there any docs about how to setup a own freebsd-update and 
portsnap-server/mirror? Or is the only way to setup some kind of proxy?



--
chs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: When gcc43 is expected to be in base?

2008-08-04 Thread Christer Solskogen

Kris Kennaway wrote:

Jakub Lach wrote:
I'm eager to have core2 march, but don't want to mess system forcing 
gcc43 as

base.


I don't think it is planned to update to gcc 4.3 since it is covered by 
the GPLv3.




Isn't possible to add GPLv3 code in the base system?
(By possible I mean the license part, not the technical part;)

--
chs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Changing sshd to start earlier

2008-08-01 Thread Christer Solskogen

Oh hai!

Is it possible to change the order when rc scripts are staring?
I would like sshd (from base) to be started before anything else.

--
chs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: VIA EX15000G

2008-05-19 Thread Christer Solskogen

Walter C. Pelissero wrote:

Sevan / Venture37 writes:
 > 
 > as a test try a daily snapshot


Just tried 8.0 of May 2008.  Same thing.

BTW, Gentoo 1.4 eventually boots, disabling the USB disks legacy
support in the BIOS.  (As far as I understand, it's an emulation that
lets primiteve OSs see the USB disks as IDE disks, or something like
that.)  This doesn't help FreeBSD, though.



Have you tried updating the BIOS (if it's available)?

--
chs, for the greater good

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: arplookup 0.0.0.0 failed: host is not on local network

2008-05-15 Thread Christer Solskogen

Christian Walther wrote:


I don't want to point you into the wrong direction, but is it possible
that this arp entry is actually a sign of an ARP spoofing attempt?
http://en.wikipedia.org/wiki/ARP_spoofing



I suspect that, but I just want to know if might be something else.


Do you run a wireless network?


Yes I do. And that means that I will also try to be even more pedantic 
in the security on that box.


--
chs


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: arplookup 0.0.0.0 failed: host is not on local network

2008-05-15 Thread Christer Solskogen

Jon Radel wrote:


to see what you can catch.



First of all, thanks for taking time to help me on this.

[EMAIL PROTECTED] ~]# tcpdump -vvv -n -l -e arp
tcpdump: listening on nfe0, link-type EN10MB (Ethernet), capture size 96 
bytes
08:58:46.337968 00:1d:60:36:34:a6 > ff:ff:ff:ff:ff:ff, ethertype ARP 
(0x0806), length 60: arp who-has 192.168.0.3 tell 192.168.0.12
08:58:46.337974 00:18:f3:29:d8:15 > 00:1d:60:36:34:a6, ethertype ARP 
(0x0806), length 42: arp reply 192.168.0.3 is-at 00:18:f3:29:d8:15
08:59:46.842884 00:1d:60:36:34:a6 > ff:ff:ff:ff:ff:ff, ethertype ARP 
(0x0806), length 60: arp who-has 192.168.0.3 tell 192.168.0.12
08:59:46.842890 00:18:f3:29:d8:15 > 00:1d:60:36:34:a6, ethertype ARP 
(0x0806), length 42: arp reply 192.168.0.3 is-at 00:18:f3:29:d8:15
09:00:47.349826 00:1d:60:36:34:a6 > ff:ff:ff:ff:ff:ff, ethertype ARP 
(0x0806), length 60: arp who-has 192.168.0.3 tell 192.168.0.12
09:00:47.349833 00:18:f3:29:d8:15 > 00:1d:60:36:34:a6, ethertype ARP 
(0x0806), length 42: arp reply 192.168.0.3 is-at 00:18:f3:29:d8:15
09:01:47.854742 00:1d:60:36:34:a6 > ff:ff:ff:ff:ff:ff, ethertype ARP 
(0x0806), length 60: arp who-has 192.168.0.3 tell 192.168.0.12
09:01:47.854748 00:18:f3:29:d8:15 > 00:1d:60:36:34:a6, ethertype ARP 
(0x0806), length 42: arp reply 192.168.0.3 is-at 00:18:f3:29:d8:15
09:02:48.359670 00:1d:60:36:34:a6 > ff:ff:ff:ff:ff:ff, ethertype ARP 
(0x0806), length 60: arp who-has 192.168.0.3 tell 192.168.0.12
09:02:48.359677 00:18:f3:29:d8:15 > 00:1d:60:36:34:a6, ethertype ARP 
(0x0806), length 42: arp reply 192.168.0.3 is-at 00:18:f3:29:d8:15
09:03:48.864618 00:1d:60:36:34:a6 > ff:ff:ff:ff:ff:ff, ethertype ARP 
(0x0806), length 60: arp who-has 192.168.0.3 tell 192.168.0.12
09:03:48.864624 00:18:f3:29:d8:15 > 00:1d:60:36:34:a6, ethertype ARP 
(0x0806), length 42: arp reply 192.168.0.3 is-at 00:18:f3:29:d8:15
09:04:49.370546 00:1d:60:36:34:a6 > ff:ff:ff:ff:ff:ff, ethertype ARP 
(0x0806), length 60: arp who-has 192.168.0.3 tell 192.168.0.12
09:04:49.370551 00:18:f3:29:d8:15 > 00:1d:60:36:34:a6, ethertype ARP 
(0x0806), length 42: arp reply 192.168.0.3 is-at 00:18:f3:29:d8:15



There is this line saying:
00:1d:60:36:34:a6 > ff:ff:ff:ff:ff:ff
and nothing has ff:ff:ff:ff:ff:ff as a mac address :)


[EMAIL PROTECTED] ~]# tcpdump -vvv -n -l -e -s 128 arp or ip | grep 0.0.0.0
tcpdump: listening on nfe0, link-type EN10MB (Ethernet), capture size 
128 bytes
09:10:51.405030 00:18:f3:29:d8:15 > 00:01:c0:03:7c:09, ethertype IPv4 
(0x0800), length 66: (tos 0x10, ttl 64, id 58427, offset 0, flags [DF], 
proto TCP (6), length 52, bad cksum 0 (->6565)!) 192.168.0.3.22 > 
62.97.242.6.61121: ., cksum 0xf139 (incorrect (-> 0x5ca1), 
13136:13136(0) ack 481 win 8320 
09:11:42.703020 00:01:c0:03:7c:09 > 00:18:f3:29:d8:15, ethertype IPv4 
(0x0800), length 66: (tos 0x0, ttl 53, id 17642, offset 0, flags [DF], 
proto TCP (6), length 52) 82.137.33.24.35497 > 192.168.0.3.52332: ., 
cksum 0x7181 (correct), 938:938(0) ack 843885 win 65160 

09:11:51.809030 00:01:c0:03:7c:09 > 00:18:f3:29:d8:15, ethertype IPv4 
(0x0800), length 66: (tos 0x0, ttl 53, id 19037, offset 0, flags [DF], 
proto TCP (6), length 52) 82.137.33.24.35497 > 192.168.0.3.52332: ., 
cksum 0x2a5b (correct), 1135:1135(0) ack 982794 win 65160 



$ arp -a
hugs.carebears.lan (192.168.0.1) at 00:01:c0:03:7c:09 on nfe0 [ethernet]
shine (192.168.0.3) at 00:18:f3:29:d8:15 on nfe0 permanent [ethernet]
funshine.carebears.lan (192.168.0.12) at 00:1d:60:36:34:a6 on nfe0 
[ethernet]

? (192.168.0.255) at ff:ff:ff:ff:ff:ff on nfe0 permanent [ethernet]


I'll take you tip on shutting down one machine at a time to see which 
machine who do this. Somehow I suspect my Windows 2008 Server box :)


--
chs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: arplookup 0.0.0.0 failed: host is not on local network

2008-05-14 Thread Christer Solskogen

Derek Ragona wrote:

I would do a traceroute from all your hosts there.  When you do keep an 
eye out for the arp error message.  This should help find the host 
causing these errors and then look at that systems configuration.


Also do you have more than one ethernet interface in the system showing 
the arp errors?  If you do, make sure the interfaces are on different 
subnets.





traceroute dont show anything(no response). Only ping responds, and ping 
respodns with "192.168.0.1" - which is my router. My router on the other 
hand do not have this arp problem. Only the other machines.


Every machine, except my router, have only one interface. (my router has 
two, butthey are on to different subnets)


--
chs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: arplookup 0.0.0.0 failed: host is not on local network

2008-05-14 Thread Christer Solskogen

Derek Ragona wrote:


Yes aliases should have a netmask of 255.255.255.255




Still no go.
192.168.0.255 is showing up in "arp -a" and netstat -rn. (and the 
"arplookup 0.0.0.0 failed: host is not on local network" in 
/var/log/messages)


nfe0: flags=8843 metric 0 mtu 1500
options=18b
ether 00:18:f3:29:d8:15
inet 192.168.0.3 netmask 0xff00 broadcast 192.168.0.255
inet 192.168.0.4 netmask 0x broadcast 192.168.0.4
inet 192.168.0.5 netmask 0x broadcast 192.168.0.5
media: Ethernet autoselect (1000baseTX )
status: active

Anything else that might explain this kind of behavior?

--
chs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: arplookup 0.0.0.0 failed: host is not on local network

2008-05-12 Thread Christer Solskogen

Derek Ragona wrote:

You may want to do traceroutes from the systems that do find the 0.0.0.0 
interface.  I would bet you have a default route and/or netmask sending 
the traffic.  You will get those arp messages if you run two different 
interfaces on the same system, on the same subnet (not to be confused 
with running multiple IP's on an interface.)  Arp tries to tie an IP 
address to a machine address, but if the reverse routing isn't correct 
you will see these error messages.




A tip from George Davidovich setting the aliases to use netmask to 
0x seems to fix the problem.


--
chs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: arplookup 0.0.0.0 failed: host is not on local network

2008-05-12 Thread Christer Solskogen

Christer Solskogen wrote:

Derek Ragona wrote:

Sounds like you have 0.0.0.0 configured on an ethernet  interface.  I 
would check all your systems, and be sure it isn't used.




I checked, and there is no interface with that ip address. But thanks 
for the advice.


OpenBSD box - where 0.0.0.0 is resolving to.
rl0: flags=8843 mtu 1500
lladdr 00:01:c0:03:7c:09
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::201:c0ff:fe03:7c09%rl0 prefixlen 64 scopeid 0x1
inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255

nfe0: flags=8843 metric 0 mtu 1500
options=18b
ether 00:18:f3:29:d8:15
inet 192.168.0.3 netmask 0xff00 broadcast 192.168.0.255
inet 192.168.0.4 netmask 0xff00 broadcast 192.168.0.255
inet 192.168.0.5 netmask 0xff00 broadcast 192.168.0.255
media: Ethernet autoselect (1000baseTX )
status: active


(I also have a Mac OX 10.5 which also resolves 0.0.0.0 to 192.168.0.1. 
But a windows machine do not resolve 0.0.0.0)





Gah, my bad.
the nfe0 interface are not on OpenBSD, but on my FreeBSD box (where this 
arp-messages shows up)


--
chs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: arplookup 0.0.0.0 failed: host is not on local network

2008-05-12 Thread Christer Solskogen

Derek Ragona wrote:

Sounds like you have 0.0.0.0 configured on an ethernet  interface.  I 
would check all your systems, and be sure it isn't used.




I checked, and there is no interface with that ip address. But thanks 
for the advice.


OpenBSD box - where 0.0.0.0 is resolving to.
rl0: flags=8843 mtu 1500
lladdr 00:01:c0:03:7c:09
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::201:c0ff:fe03:7c09%rl0 prefixlen 64 scopeid 0x1
inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255

nfe0: flags=8843 metric 0 mtu 1500
options=18b
ether 00:18:f3:29:d8:15
inet 192.168.0.3 netmask 0xff00 broadcast 192.168.0.255
inet 192.168.0.4 netmask 0xff00 broadcast 192.168.0.255
inet 192.168.0.5 netmask 0xff00 broadcast 192.168.0.255
media: Ethernet autoselect (1000baseTX )
status: active


(I also have a Mac OX 10.5 which also resolves 0.0.0.0 to 192.168.0.1. 
But a windows machine do not resolve 0.0.0.0)


--
chs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


arplookup 0.0.0.0 failed: host is not on local network

2008-05-11 Thread Christer Solskogen

Hi!

I have been seeing a lot of warnings in syslog the last week. Do anyone 
have a tip for where to begin searching for the sinner?


arplookup 0.0.0.0 failed: host is not on local network
arplookup 0.0.0.0 failed: host is not on local network
arplookup 0.0.0.0 failed: host is not on local network
arplookup 0.0.0.0 failed: host is not on local network

pinging 0.0.0.0 gives me reply from 192.168.0.1 which is my OpenBSD 
router. The warnings shows up on my FreeBSD server. Nothing on the 
OpenBSD box.


$ uname -a
FreeBSD shine.carebears.lan 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Thu Feb 
28 07:58:17 CET 2008 
[EMAIL PROTECTED]:/files2/build/usr/src/sys/SHINE  amd64


--
chs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >