Re: Where do I purchace an unlock code to build a custom kernel?

2012-11-24 Thread Derek Kulinski
Hi Chris, Friday, November 23, 2012, 11:50:16 PM, you wrote: Thank you! Yes, I _did_ know k7 was actually i(x)86, but figured config(8) would throw me a bone if it were wrong. Anyway, I'll take your advice. There are some architecture specific settings there, so it is best to actually do

Re: natd in a jail

2012-11-24 Thread Ian Smith
On Sat, 24 Nov 2012 17:44:30 +1100, Morgan Reed wrote: On Fri, Nov 23, 2012 at 5:16 PM, Morgan Reed morgan.s.r...@gmail.com wrote: So it turns out I'd not bought bpf into the jails, however even with that and raw_sockets enabled I'm still having no joy with natd. I've been looking at

Re: Where do I purchace an unlock code to build a custom kernel?

2012-11-24 Thread Chris H
Hi Chris, Friday, November 23, 2012, 11:50:16 PM, you wrote: Thank you! Yes, I _did_ know k7 was actually i(x)86, but figured config(8) would throw me a bone if it were wrong. Anyway, I'll take your advice. There are some architecture specific settings there, so it is best to actually do

Re: natd in a jail

2012-11-24 Thread Morgan Reed
On Sat, Nov 24, 2012 at 7:26 PM, Ian Smith smi...@nimnet.asn.au wrote: Unless you needed to include FIREWALL_FORWARD, you really didn't need to build ipfw into the kernel, it's all loadable by module. No harm, but. The ipfw_nat module was causing an instant panic at load and I was going to

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Dimitry Andric
On 2012-11-23 12:37, Beeblebrox wrote: I am doing a buildworld with clang on amd64 9.1-PRERELEASE #2 r242867. In /etc/src.conf I have WITHOUT_GCC= yes. Compile progresses up to below then breaks: ... lint: cannot exec /usr/obj/asp/src/tmp/usr/bin/cc: No such file or directory Currently, you

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Dimitry Andric
On 2012-11-23 13:38, Beeblebrox wrote: Looks like I should have placed these in my /etc/src.conf: WITH_CLANG= yes This is not strictly necessary, WITH_CLANG is already enabled by default. WITH_CLANG_EXTRAS= yes In most cases, you will not need the llvm/clang extras, and they will add some

Re: natd in a jail

2012-11-24 Thread Morgan Reed
On Sat, Nov 24, 2012 at 9:16 PM, Morgan Reed morgan.s.r...@gmail.com wrote: And with ipfw nat you won't be needing ipdivert. Again, no harm. Yeah, I didn't think it should be necessary but something was trying to load it from within the jails and throwing an error, probably the natd startup

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Dimitry Andric
On 2012-11-23 14:45, Beeblebrox wrote: I am now stuck with trying to make this work. I am doing buildworld with clang and ccache enabled. If you want to use clang in combination with ccache, you must at least set CCACHE_CPP2 to make it work. If you experience any issues with this setup,

Re: natd in a jail

2012-11-24 Thread Morgan Reed
On Sat, Nov 24, 2012 at 5:44 PM, Morgan Reed morgan.s.r...@gmail.com wrote: Works like a charm, just one last thing I'd like to get squared away here though, currently OpenVPN is using a dynamically created tun device, I'd like to have a static /dev/tun0 exist prior to the /etc/rc.d/natd start

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Dimitry Andric
On 2012-11-23 15:14, Beeblebrox wrote: Thanks for the suggestion. Build progressed a little further then had other problem: === gnu/lib/libstdc++ (all) building shared library libstdc++.so.6 /usr/obj/asp/src/tmp/usr/bin/ld: warning: creating a DT_TEXTREL in a shared object. I am not sure what

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Dimitry Andric
On 2012-11-23 23:03, Beeblebrox wrote: I went ahead and hacked gnu/lib/Makefile and changed to: if ${MK_CXX} != no #SUBDIR+= libstdc++ libsupc++ .endif Don't do that, it will not work. Parts of the system need GNU libstdc++ and libsupc++. I then restarted buildworld. Next stop, new error:

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Beeblebrox
Hi Dimitry, I have been working at this for 6 hours today (I don't want to tell you how long I was at it yesterday). Thanks for your input / suggestions. I will try to answer all of them, please let me know if I forget something. 1. Fist the good news: I have just now finished buildworld with

Re: natd in a jail

2012-11-24 Thread Morgan Reed
SOLVED: Thanks all for your assistance. SUMMARY: - Kernel rebuilt with option IPFIREWALL and friends turned on (not necessary if your ipfw modules work you should just be able to load them, mine didn't for reasons I don't really have the time or inclination to track down) - OpenVPN

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Beeblebrox
I just finished installkernel + installworld - I'm up and running with world that has WITHOUT_GCC= yes!! Just for reference: I ran into this chronic error at installworld: (to paraphrase) can't find btx/btx loader something... I keep a separate section in my notes for chronic recurring errors.

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Matthew Seaman
On 24/11/2012 13:18, Beeblebrox wrote: 5. You should save the entire log I don't know how to do this. See script(1) Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Beeblebrox
@ Dr. Seaman: Ahh yes, forgot about script. Thanks. @ Chuck So I hear you like spam. Hipster Monty Python talked about spam before it was cool: http://www.youtube.com/watch?v=anwy2MPT5RE Bonus: The Lumberjack Song is an alternative to the spam song:

Re: Where do I purchace an unlock code to build a custom kernel?

2012-11-24 Thread Warren Block
On Sat, 24 Nov 2012, Chris H wrote: Hi Chris, Friday, November 23, 2012, 11:50:16 PM, you wrote: Thank you! Yes, I _did_ know k7 was actually i(x)86, but figured config(8) would throw me a bone if it were wrong. Anyway, I'll take your advice. There are some architecture specific settings

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Konstantin Belousov
On Sat, Nov 24, 2012 at 01:55:50PM +0100, Dimitry Andric wrote: On 2012-11-23 15:14, Beeblebrox wrote: Thanks for the suggestion. Build progressed a little further then had other problem: === gnu/lib/libstdc++ (all) building shared library libstdc++.so.6

Re: How go back from X.Y-RELEASE-pZ to X.Y-RELEASE?

2012-11-24 Thread Jakub Lach
Is this what are you looking for? http://svnweb.freebsd.org/base/releng/8.3/UPDATING?view=log -- View this message in context: http://freebsd.1045724.n5.nabble.com/How-go-back-from-X-Y-RELEASE-pZ-to-X-Y-RELEASE-tp5763474p5763805.html Sent from the freebsd-stable mailing list archive at

Re: How go back from X.Y-RELEASE-pZ to X.Y-RELEASE?

2012-11-24 Thread Peter Olsson
On Sat, Nov 24, 2012 at 09:17:18AM -0800, Jakub Lach wrote: Is this what are you looking for? http://svnweb.freebsd.org/base/releng/8.3/UPDATING?view=log Yes, thanks! -- Peter Olsson -- View this message in context:

Re: Where do I purchace an unlock code to build a custom kernel?

2012-11-24 Thread Chris H
On Sat, 24 Nov 2012, Chris H wrote: Hi Chris, Friday, November 23, 2012, 11:50:16 PM, you wrote: Thank you! Yes, I _did_ know k7 was actually i(x)86, but figured config(8) would throw me a bone if it were wrong. Greetings, and thank you for your reply. Anyway, I'll take your advice.

Re: Increasing the DMESG buffer....

2012-11-24 Thread Willem Jan Withagen
On 23-11-2012 1:20, Kevin Oberman wrote: On Thu, Nov 22, 2012 at 2:49 PM, Gary Palmer gpal...@freebsd.org wrote: On Thu, Nov 22, 2012 at 02:14:59PM -0800, Kevin Oberman wrote: On Thu, Nov 22, 2012 at 2:05 PM, Adrian Chadd adr...@freebsd.org wrote: On 22 November 2012 06:30, Alexander Motin

Re: Where do I purchace an unlock code to build a custom kernel?

2012-11-24 Thread Andreas Nilsson
I full-heartedly agree that include-statement is good, but still $ wc -l /usr/src/sys/amd64/conf/MINI 174 /usr/src/sys/amd64/conf/MINI And this is just after removing network cards ( (usb)ethernet, (usb)wlan, raid drivers and firewire) for my pretty standard lenovo t510. There is so much in

Re: Increasing the DMESG buffer....

2012-11-24 Thread Adrian Chadd
I'm surprised it's not tunable via a kenv variable at boottime.. Adrian ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org

Re: Increasing the DMESG buffer....

2012-11-24 Thread Willem Jan Withagen
On 25-11-2012 0:43, Adrian Chadd wrote: I'm surprised it's not tunable via a kenv variable at boottime.. That would help, especially if we can get it in the beastie bootmenu options... --WjW ___ freebsd-stable@freebsd.org mailing list

Re: Increasing the DMESG buffer....

2012-11-24 Thread Kevin Oberman
On Thu, Nov 22, 2012 at 8:50 PM, Ian Smith smi...@nimnet.asn.au wrote: On Thu, 22 Nov 2012 16:20:52 -0800, Kevin Oberman wrote: On Thu, Nov 22, 2012 at 2:49 PM, Gary Palmer gpal...@freebsd.org wrote: On Thu, Nov 22, 2012 at 02:14:59PM -0800, Kevin Oberman wrote: On Thu, Nov 22, 2012 at

Re: Increasing the DMESG buffer....

2012-11-24 Thread Alexander Motin
On 25.11.2012 01:43, Adrian Chadd wrote: I'm surprised it's not tunable via a kenv variable at boottime.. It is tunable. AFAIR that is it: kern.msgbufsize=65536 # Set size of kernel message buffer -- Alexander Motin ___

Re: Increasing the DMESG buffer....

2012-11-24 Thread Ian Smith
On Fri, 23 Nov 2012 11:33:21 +0100, Lars Engels wrote: Am 23.11.2012 05:50, schrieb Ian Smith: On Thu, 22 Nov 2012 16:20:52 -0800, Kevin Oberman wrote: [..] Also, isn't the entire verbose boot captured in /var/run/dmesg? Only if the message buffer hasn't overflowed before

Re: Increasing the DMESG buffer....

2012-11-24 Thread perryh
Alexander Motin m...@freebsd.org wrote: On 25.11.2012 01:43, Adrian Chadd wrote: I'm surprised it's not tunable via a kenv variable at boottime.. It is tunable. AFAIR that is it: kern.msgbufsize=65536 # Set size of kernel message buffer Yep. That tunable is available in 8.2 (not