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

2012-11-23 Thread Chris H
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. Thanks again! MUCH appreciated! > Hello Chris, > > I can sell you one :) > > Anyway, I belive what's happening is that you should copy GENERIC not >

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

2012-11-23 Thread Alfred Perlstein
hrm.. Isn't k7 i386? -alfred On 11/23/12 11:23 PM, Chris H wrote: Sorry, that _should_ have read: RELENG_8 Greetings, I've been running a RELENG_* box for some time now. I recently slipped the same CD into an older AMD k7 box, and performed an install && cvsup. I then promptly cd /usr/src

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

2012-11-23 Thread Derek Kulinski
Hello Chris, I can sell you one :) Anyway, I belive what's happening is that you should copy GENERIC not in /usr/src/sys/amd64 directory, but in /usr/src/sys/i386 k7 is a 32 bit CPU so it is i386. Perhaps you could also try building FreeBSD on your faster box, I did that when I had 2 32bit mach

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

2012-11-23 Thread Chris H
Sorry, that _should_ have read: RELENG_8 > Greetings, > I've been running a RELENG_* box for some time now. I recently slipped the > same CD into an older AMD k7 box, and performed an install && cvsup. > I then promptly cd /usr/src/sys/amd64/conf && cp GENERIC CUSTOM. > edited CUSTOM to taste, cd

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

2012-11-23 Thread Chris H
Greetings, I've been running a RELENG_* box for some time now. I recently slipped the same CD into an older AMD k7 box, and performed an install && cvsup. I then promptly cd /usr/src/sys/amd64/conf && cp GENERIC CUSTOM. edited CUSTOM to taste, cd /usr/src && make buildworld; wait _hours_. Then per

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Beeblebrox
Thanks for your answer. > You've already been told that WITHOUT_GCC is currently unsupported. No, I have not been informed of that. If you are referring to this by V Kostryko: > And WITHOUT_GCC is not right thing to do for now, gcc is still needed for > a number of ports. I understood his messag

Re: natd in a jail

2012-11-23 Thread Morgan Reed
On Fri, Nov 23, 2012 at 5:16 PM, Morgan Reed 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 ipfw a bit today but I've run into an issue, > loading ipfw_nat causes my kernel to

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Chuck Burns
On 11/23/2012 4:03 PM, Beeblebrox wrote: I went ahead and hacked gnu/lib/Makefile and changed to: if ${MK_CXX} != "no" #SUBDIR+= libstdc++ libsupc++ .endif I then restarted buildworld. Next stop, new error: clang -m32 -march=k8 -DCOMPAT_32BIT -isystem /usr/obj/asp/src/lib32/usr/include/ -L/u

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

2012-11-23 Thread Peter Olsson
On Fri, Nov 23, 2012 at 01:25:06PM +0100, Bas Smeelen wrote: > On 11/23/2012 12:22 PM, Peter Olsson wrote: > > We are currently using cvs for both source and ports. > > I have begun changing to portsnap for ports, and I > > would also like to try changing at least some of our > > servers to freebsd

Re: Some new hardware with 9.1 does not reboot easily

2012-11-23 Thread Willem Jan Withagen
On 23-11-2012 23:25, Andriy Gapon wrote: on 24/11/2012 00:09 Willem Jan Withagen said the following: With you latest patch I was able to: reboot shutdown -r now shutdown -p now So that seems to work just oke. Good news. Thank you for working on this! I'm waiting for the syste

Re: Some new hardware with 9.1 does not reboot easily

2012-11-23 Thread Andriy Gapon
on 24/11/2012 00:09 Willem Jan Withagen said the following: > With you latest patch I was able to: > reboot > shutdown -r now > shutdown -p now > So that seems to work just oke. Good news. Thank you for working on this! > I'm waiting for the system to come back up, and will put the s

Re: Some new hardware with 9.1 does not reboot easily

2012-11-23 Thread Willem Jan Withagen
On 23-11-2012 15:31, Andriy Gapon wrote: on 23/11/2012 15:09 Patrick Lamaiziere said the following: Le Thu, 22 Nov 2012 11:41:54 +0200, Andriy Gapon a écrit : Hello, I will definitely MFC it to stable/9, just not sure if I would be able to do it before New Year. It definitely won't be in 9.

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Beeblebrox
I went ahead and hacked gnu/lib/Makefile and changed to: if ${MK_CXX} != "no" #SUBDIR+= libstdc++ libsupc++ .endif I then restarted buildworld. Next stop, new error: clang -m32 -march=k8 -DCOMPAT_32BIT -isystem /usr/obj/asp/src/lib32/usr/include/ -L/usr/obj/asp/src/lib32/usr/lib32 -B/usr/obj/

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

2012-11-23 Thread Adam McDougall
On 11/23/2012 6:22 AM, Peter Olsson wrote: We are currently using cvs for both source and ports. I have begun changing to portsnap for ports, and I would also like to try changing at least some of our servers to freebsd-update. But all servers have been patched, using either RELENG_8_3 or RELENG

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Beeblebrox
OK, I disabled -j and ccache in the config file, deleted the entire previous build and re-started a plain old run of buildworld. Compile stopped at the exact same place as above (libstdc++) I did not remove WITH_CLANG_IS_CC=yes from /etc/src.conf. For ports building I have and use gcc-46, so I d

Re: Some new hardware with 9.1 does not reboot easily

2012-11-23 Thread Andriy Gapon
on 23/11/2012 18:25 Willem Jan Withagen said the following: > On 2012-11-23 17:21, Andriy Gapon wrote: >> on 23/11/2012 18:12 Willem Jan Withagen said the following: >>> I have applied the patch but at the moment it does not fix anything >>> If I go reboot, it still hangs. >>> >>> CTL-ALT-DEL g

Re: Some new hardware with 9.1 does not reboot easily

2012-11-23 Thread Willem Jan Withagen
On 2012-11-23 17:21, Andriy Gapon wrote: > on 23/11/2012 18:12 Willem Jan Withagen said the following: >> I have applied the patch but at the moment it does not fix anything >> If I go reboot, it still hangs. >> >> CTL-ALT-DEL give the last burp from the console buffer. >> And then the cycle go

Re: Some new hardware with 9.1 does not reboot easily

2012-11-23 Thread Andriy Gapon
on 23/11/2012 18:12 Willem Jan Withagen said the following: > I have applied the patch but at the moment it does not fix anything > If I go reboot, it still hangs. > > CTL-ALT-DEL give the last burp from the console buffer. > And then the cycle goes again, with all the time outs. > > So there

Re: Some new hardware with 9.1 does not reboot easily

2012-11-23 Thread Willem Jan Withagen
On 2012-11-23 15:31, Andriy Gapon wrote: > on 23/11/2012 15:09 Patrick Lamaiziere said the following: >> Le Thu, 22 Nov 2012 11:41:54 +0200, >> Andriy Gapon a écrit : >> >> Hello, >> I will definitely MFC it to stable/9, just not sure if I would be able to do it before New Year. It defi

Re: Some new hardware with 9.1 does not reboot easily

2012-11-23 Thread Andriy Gapon
on 23/11/2012 17:25 Patrick Lamaiziere said the following: > I've applied your previous patch (#3, I think) to 9.1 with > few modifications but a quick test doing a "poudriere bulk" (lot of > ZFS mount/rollback) shows that the system quickly becomes instable. I > didn't find the time to dig into th

Re: Some new hardware with 9.1 does not reboot easily

2012-11-23 Thread Patrick Lamaiziere
Le Fri, 23 Nov 2012 16:31:06 +0200, Andriy Gapon a écrit : Hello, > >>> I will definitely MFC it to stable/9, just not sure if I would be > >>> able to do it before New Year. It definitely won't be in 9.1. > >>> I'll send you a patch later. > >>> > >> > >> The patch: > >> http://people.freebsd.

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Volodymyr Kostyrko
23.11.2012 16:14, Beeblebrox: 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. clang: error: linker command

Re: Some new hardware with 9.1 does not reboot easily

2012-11-23 Thread Andriy Gapon
on 23/11/2012 15:09 Patrick Lamaiziere said the following: > Le Thu, 22 Nov 2012 11:41:54 +0200, > Andriy Gapon a écrit : > > Hello, > >>> I will definitely MFC it to stable/9, just not sure if I would be >>> able to do it before New Year. It definitely won't be in 9.1. >>> I'll send you a patc

Re: Help review the FAQ

2012-11-23 Thread Lars Engels
Am 23.11.2012 14:54, schrieb Andrea Venturoli: On 11/23/12 10:25, Lars Engels wrote: I've seen that on almost every USB MP3 player, Android mobile phones and on other USB devices that export an internal memory card. BTW, my disk drive is SCSI attached, so it's not an USB-only issue. So, it

Re: Help review the FAQ

2012-11-23 Thread Andrea Venturoli
On 11/23/12 10:25, Lars Engels wrote: I've seen that on almost every USB MP3 player, Android mobile phones and on other USB devices that export an internal memory card. BTW, my disk drive is SCSI attached, so it's not an USB-only issue. But it would be really really really great if someone(

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Beeblebrox
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. clang: error: linker command failed with exit code 1 (use -v

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Volodymyr Kostyrko
23.11.2012 15:45, Beeblebrox: I am now stuck with trying to make this work. I am doing buildworld with clang and ccache enabled. 1. I have to keep re-starting buildworld at different points of break. When re-started the build continues past the last break-point and goes on to break somewhere els

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Beeblebrox
I am now stuck with trying to make this work. I am doing buildworld with clang and ccache enabled. 1. I have to keep re-starting buildworld at different points of break. When re-started the build continues past the last break-point and goes on to break somewhere else. 2. This continues until build

cam SCSI negotiation issues (mpt in that case), only 3.300MB/s transfers

2012-11-23 Thread Harald Schmalzbauer
Hello, I have a LSI20320IE, wich is a LSI1030 (U320-SCSI, supported by MPT) behind an PCI-X-PCIe bridge. I'm using that for two tape drives: LTO-3 and DAT72. My (solved, see below) first problem was, that passthrough of that HBA with ESXi5.0 didn't work. As soon as mpt was kldloaded, there was a

Re: Some new hardware with 9.1 does not reboot easily

2012-11-23 Thread Patrick Lamaiziere
Le Thu, 22 Nov 2012 11:41:54 +0200, Andriy Gapon a écrit : Hello, > > I will definitely MFC it to stable/9, just not sure if I would be > > able to do it before New Year. It definitely won't be in 9.1. > > I'll send you a patch later. > > > > The patch: > http://people.freebsd.org/~avg/zfs-vf

buildworld with clang breaks because no cc

2012-11-23 Thread Beeblebrox
Looks like I should have placed these in my /etc/src.conf: WITH_CLANG= yes WITH_CLANG_EXTRAS= yes WITH_CLANG_IS_CC= yes I don't believe I will need anything under /usr/src/tools. How can I disable that in /etc/src.conf? The man page does not have that info. Thanks. -- View this message in cont

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

2012-11-23 Thread Bas Smeelen
On 11/23/2012 12:22 PM, Peter Olsson wrote: > We are currently using cvs for both source and ports. > I have begun changing to portsnap for ports, and I > would also like to try changing at least some of our > servers to freebsd-update. > > But all servers have been patched, using either RELENG_8_3

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Beeblebrox
I hacked it with cd /usr/obj/asp/src/tmp/usr/bin/ # ln -s clang cc BUT NOW I HAVE: ===> lib/libz (install) sh /asp/src/tools/install.sh -C -o root -g wheel -m 444 libz.a /usr/obj/asp/src/lib32/usr/lib32 sh /asp/src/tools/install.sh -C -o root -g wheel -m 444 /asp/src/lib/libz/zconf.h /asp/src/

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

2012-11-23 Thread Peter Olsson
We are currently using cvs for both source and ports. I have begun changing to portsnap for ports, and I would also like to try changing at least some of our servers to freebsd-update. But all servers have been patched, using either RELENG_8_3 or RELENG_9_0 as cvs tag. I need to revert them to the

buildworld with clang breaks because no cc

2012-11-23 Thread Beeblebrox
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: ===> usr.bin/xlint/xlint (all) ===> usr.bin/xlint/llib (all) lint -cghapbx -Cposix /asp/src/usr.bin/xlint/llib/llib-lposix lint -cghapbx -C

Re: Increasing the DMESG buffer....

2012-11-23 Thread Lars Engels
Am 23.11.2012 05:50, schrieb Ian Smith: On Thu, 22 Nov 2012 16:20:52 -0800, Kevin Oberman wrote: > On Thu, Nov 22, 2012 at 2:49 PM, Gary Palmer 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 wrote: > >> > On 22

Re: Latest for buildworld + clang + ccache

2012-11-23 Thread Volodymyr Kostyrko
23.11.2012 11:46, Beeblebrox: I think I made a mistake: clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [tblgen] Error code 1 1 error *** [bootstrap-tools] Error code 2 1 error *** [_bootstrap-tools] Error code 2 1 error *** [buildworld] Error code 2 in /urs/l

Re: Latest for buildworld + clang + ccache

2012-11-23 Thread Beeblebrox
Sorry for my stupidity. I placed wrong entries: CPP= clang CXX= clang It works very beautifully now Spasiba vam bolshoi... -- View this message in context: http://freebsd.1045724.n5.nabble.com/Latest-for-buildworld-clang-ccache-tp5763430p5763459.html Sent from the freebsd-stable mailing list

Re: Latest for buildworld + clang + ccache

2012-11-23 Thread Olivier Smedts
2012/11/23 Beeblebrox : > I think I made a mistake: > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > *** [tblgen] Error code 1 > 1 error > *** [bootstrap-tools] Error code 2 > 1 error > *** [_bootstrap-tools] Error code 2 > 1 error > *** [buildworld] Error code

Re: Latest for buildworld + clang + ccache

2012-11-23 Thread Beeblebrox
It breaks while spitting all these errors. I will try without ccache and see how that goes... undefined reference to `operator delete[](void*)' undefined reference to `__cxa_guard_acquire' undefined reference to `__cxa_guard_release' undefined reference to `__cxa_pure_virtual' undefined reference

Re: Latest for buildworld + clang + ccache

2012-11-23 Thread Beeblebrox
I think I made a mistake: clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [tblgen] Error code 1 1 error *** [bootstrap-tools] Error code 2 1 error *** [_bootstrap-tools] Error code 2 1 error *** [buildworld] Error code 2 in /urs/local/buildflags.conf I have: /us

Re: Latest for buildworld + clang + ccache

2012-11-23 Thread Volodymyr Kostyrko
23.11.2012 11:30, Beeblebrox: Is this the same reason CMAKE yells at CCACHE? Haven't seen this before. Can you share? I meant for ports, not buildworld... I use bsdadminscripts and specify preferences in /usr/local/etc/buildflags.conf. I tried these and did not work. What is the setting for t

Re: natd in a jail

2012-11-23 Thread Morgan Reed
On Fri, Nov 23, 2012 at 7:48 PM, Andreas Nilsson wrote: > Why not just load the module? Yeah, you got beaten to the punch on that one offlist, it's late in the day here ;) ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/list

Re: Latest for buildworld + clang + ccache

2012-11-23 Thread Beeblebrox
I think maybe it has to be like this: BUILDFLAGS_GCC_CC= clang BUILDFLAGS_GCC_CPP= clang BUILDFLAGS_GCC_CXX= clang But BUILDFLAGS_GCC_CXX looks at CCACHE_CPP2 I think and must be modified. -- View this message in context: http://freebsd.1045724.n5.nabble.com/Latest-for-buildworld-

Re: Latest for buildworld + clang + ccache

2012-11-23 Thread Beeblebrox
>>Is this the same reason CMAKE yells at CCACHE? > Haven't seen this before. Can you share? I meant for ports, not buildworld... I use bsdadminscripts and specify preferences in /usr/local/etc/buildflags.conf. I tried these and did not work. What is the setting for this, and I assume I can set

Re: Latest for buildworld + clang + ccache

2012-11-23 Thread Volodymyr Kostyrko
23.11.2012 11:20, Beeblebrox: Care to not specify CCACHE_CPP2 for virtualbox and friends. Not true for Jails I assume? No, it's just that virtualbox still doesn't build with clang and gcc doesn't really like some -MD (?) flags. Define CCACHE_CPP2 as otherwise clang will yell at ccache Is

Re: Help review the FAQ

2012-11-23 Thread Lars Engels
Am 19.11.2012 21:07, schrieb Aldis Berjoza: 19.11.2012, 22:04, "Andrea Venturoli" : On 11/19/12 18:44, Eitan Adler wrote:  Hey all,  The FAQ for FreeBSD needs a significant amount of updating and  changing.  The first step in that process is to figure out what needs  to be changed.  If you

Re: Latest for buildworld + clang + ccache

2012-11-23 Thread Beeblebrox
Thanks to both. >> Care to not specify CCACHE_CPP2 for virtualbox and friends. Not true for Jails I assume? >> Define CCACHE_CPP2 as otherwise clang will yell at ccache Is this the same reason CMAKE yells at CCACHE? -- View this message in context: http://freebsd.1045724.n5.nabble.com/Latest-

Re: Latest for buildworld + clang + ccache

2012-11-23 Thread Olivier Smedts
Hello, 2012/11/23 Beeblebrox : > 9.1-PRERELEASE #2 r242867: When will buildworld + clang + ccache be > functional? > I think I read somewhere that buildworld + clang - ccache was working fine > now. Any info on date ccache will work with clang and when to try? Can't comment on this. > Also, clan

Re: Latest for buildworld + clang + ccache

2012-11-23 Thread Volodymyr Kostyrko
23.11.2012 10:59, Beeblebrox: 9.1-PRERELEASE #2 r242867: When will buildworld + clang + ccache be functional? I think I read somewhere that buildworld + clang - ccache was working fine now. Any info on date ccache will work with clang and when to try? Define CCACHE_CPP2 as otherwise clang will

Latest for buildworld + clang + ccache

2012-11-23 Thread Beeblebrox
9.1-PRERELEASE #2 r242867: When will buildworld + clang + ccache be functional? I think I read somewhere that buildworld + clang - ccache was working fine now. Any info on date ccache will work with clang and when to try? Also, clang users - do you see any speed advantage for kernel / world / port

Re: natd in a jail

2012-11-23 Thread Andreas Nilsson
On Fri, Nov 23, 2012 at 7:22 AM, Morgan Reed wrote: > On Fri, Nov 23, 2012 at 5:16 PM, Morgan Reed > 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 ipfw a bit today bu

Re: Ask freebsd 9 to stabil

2012-11-23 Thread Johan Hendriks
Denny Johannurdin schreef: dear admin how to make freebsd 9.1 prerelease in to stable reagrds ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubsc