Re: sys/conf/newvers.sh vs. subversion-1.7

2011-10-27 Thread Doug Barton
On 10/27/2011 12:05, Craig Rodrigues wrote: On Tue, Oct 25, 2011 at 1:07 PM, Doug Barton do...@freebsd.org wrote: The attached implements that, and is almost certainly the right way to go. It would be nice if someone could test it, and better if someone else could commit it. I swore after

Re: sys/conf/newvers.sh vs. subversion-1.7

2011-10-25 Thread Doug Barton
On 10/25/2011 12:43, Craig Rodrigues wrote: I know that Doug disagreed with me on this, I didn't disagree with you. I pointed out that there is absolutely no reason to run 2 separate commands. To put it more bluntly, I pointed out why your suggestion is a bad idea. I'm sorry to be so blunt but

Re: sys/conf/newvers.sh vs. subversion-1.7

2011-10-25 Thread Doug Barton
On 10/25/2011 13:23, Craig Rodrigues wrote: On Tue, Oct 25, 2011 at 1:07 PM, Doug Barton do...@freebsd.org wrote: I didn't disagree with you. I pointed out that there is absolutely no reason to run 2 separate commands. To put it more bluntly, I pointed out why your suggestion is a bad idea

Re: sys/conf/newvers.sh vs. subversion-1.7

2011-10-25 Thread Doug Barton
On 10/25/2011 14:45, Craig Rodrigues wrote: On Tue, Oct 25, 2011 at 1:54 PM, Doug Barton Actually hex would still work since 0x would match. :) Yes, but if in the future, a revision number format is ever chosen that doesn't include 0x at the beginning, and is something like

Re: sys/conf/newvers.sh vs. subversion-1.7

2011-10-24 Thread Doug Barton
On 10/24/2011 10:14, Craig Rodrigues wrote: On Fri, Oct 21, 2011 at 10:47 PM, Doug Barton do...@freebsd.org wrote: On 10/21/2011 22:42, Craig Rodrigues wrote: Hi, I tried following: (1) Run svnversion in non-svn directory: return status == 0 Return status isn't everything

Re: sys/conf/newvers.sh vs. subversion-1.7

2011-10-22 Thread Doug Barton
On 10/22/2011 08:29, Garrett Cooper wrote: $(svn info | awk '/^Revision:/ {print $2}') 2 subshells and a pipe for this, vs. only 1 subshell for just running svnversion. Anyone else want to propose a more complex solution when a simple and more effective one already exists? :) --

Re: sys/conf/newvers.sh vs. subversion-1.7

2011-10-22 Thread Doug Barton
On 10/22/2011 12:07, Boris Samorodov wrote: 22.10.2011 22:12, Doug Barton пишет: On 10/22/2011 08:29, Garrett Cooper wrote: $(svn info | awk '/^Revision:/ {print $2}') 2 subshells and a pipe for this, vs. only 1 subshell for just running svnversion. Anyone else want to propose a more

Re: sys/conf/newvers.sh vs. subversion-1.7

2011-10-21 Thread Doug Barton
On 10/21/2011 17:51, Craig Rodrigues wrote: Can you come up with a patch which invoke svn info . (if the svn binary exists)? This is slightly faster than svnversion. If svn info . doesn't error out, you can assume that the directory is under SVN control. Doesn't svnversion error out pretty

Re: IPv6 accept_rtadv + bfe0

2011-10-21 Thread Doug Barton
On 10/19/2011 00:29, Hiroki Sato wrote: Mattia Rossi mro...@swin.edu.au wrote in 4e9dfe11.2070...@swin.edu.au: mr So the _ipv6 bit doesn't take care of passing inet6 to ifconfig mr automatically? No. You always need to add the inet6 keyword wherever needed. That seems redundant, and

Re: sys/conf/newvers.sh vs. subversion-1.7

2011-10-21 Thread Doug Barton
On 10/21/2011 22:42, Craig Rodrigues wrote: Hi, I tried following: (1) Run svnversion in non-svn directory: return status == 0 Return status isn't everything. :) prints out exported In my case (1.7) it says Unversioned directory But my point (which perhaps I should have made

Re: Fixed: ichwd failure to attach

2011-10-14 Thread Doug Barton
On 10/14/2011 10:35, Xin LI wrote: On 10/14/11 04:35, John Baldwin wrote: On Thursday, October 13, 2011 6:26:26 pm Doug Barton wrote: On 10/12/2011 08:20, Michael Butler wrote: SVN r226302 solves the ichwd failure to attach issue .. Still failing for me: ichwd0: Intel ICH10DO watchdog

Re: Fixed: ichwd failure to attach

2011-10-14 Thread Doug Barton
On 10/14/2011 12:03, Xin LI wrote: Hmm, is your isab device behind a PCI-PCI bridge? Me either: isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT

Re: 9.0-beta3 preferring ipv4 over ipv6 with ipv6_activate_all_interfaces=YES

2011-10-14 Thread Doug Barton
On 10/14/2011 10:38, Hajimu UMEMOTO wrote: AFAIK, recent Firefox implements Happy Eyeballs. So, I suspect it doesn't obey RFC 3484, anymore. My understanding is that they added it, then turned it off because it didn't work as expected. -- Nothin' ever doesn't change, but nothin'

Re: FreeBSD 9.0-BETA3 Available...

2011-10-13 Thread Doug Barton
On 10/12/2011 06:47, Ken Smith wrote: On Wed, 2011-10-12 at 14:39 +0100, Bruce Cran wrote: On 29/09/2011 02:42, Ken Smith wrote: MD5 (FreeBSD-9.0-BETA3-amd64-bootonly.iso) = 2ce7b93d28fd7ff37965893f1af3f7fc MD5 (FreeBSD-9.0-BETA3-amd64-dvd1.iso) = 4affc701f2052edc548274f090e49235 MD5

Re: Fixed: ichwd failure to attach

2011-10-13 Thread Doug Barton
On 10/12/2011 08:20, Michael Butler wrote: SVN r226302 solves the ichwd failure to attach issue .. Still failing for me: ichwd0: Intel ICH10DO watchdog timer on isa0 ichwd0: unable to reserve GCS registers device_attach: ichwd0 attach returned 6 r226340, smp, amd64 -- Nothin' ever

Patch for ports on 10-current

2011-10-10 Thread Doug Barton
Until the pointy-haireds come up with a better solution, here is a patch that incorporates work that others have done into a manageable form so that those interested in working with ports on 10-current have some tools to work with: http://dougbarton.us/bam.patch You need to do the equivalent of

Re: Patch for ports on 10-current

2011-10-10 Thread Doug Barton
On 10/10/2011 15:00, Nali Toja wrote: Doug Barton do...@freebsd.org writes: Until the pointy-haireds come up with a better solution, here is a patch that incorporates work that others have done into a manageable form so that those interested in working with ports on 10-current have some

Re: cvs commit: ports/security/cyrus-sasl2 Makefile ports/security/cyrus-sasl2/files patch-plugins::gssapi.c

2011-10-10 Thread Doug Barton
On 10/09/2011 09:29, Hajimu UMEMOTO wrote: Hi, On Fri, 07 Oct 2011 16:48:52 -0700 Doug Barton do...@freebsd.org said: dougb In case anyone wants to take this on, this port fails to install on 10.0 dougb because it uses its own version of libtool. I took a quick look but dougb

Re: flash for 9-beta3

2011-10-08 Thread Doug Barton
On 10/08/2011 14:53, Warren Block wrote: nspluginwrapper needs to be run as the end user. The pkg-message tells them to do that. -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in

Re: cvs commit: ports/security/cyrus-sasl2 Makefile ports/security/cyrus-sasl2/files patch-plugins::gssapi.c

2011-10-07 Thread Doug Barton
In case anyone wants to take this on, this port fails to install on 10.0 because it uses its own version of libtool. I took a quick look but there wasn't a solution obvious enough for me. :) Doug On 10/07/2011 09:15, Hajimu UMEMOTO wrote: ume 2011-10-07 16:15:47 UTC FreeBSD ports

Re: cvsup broken on amd64?

2011-10-06 Thread Doug Barton
On 10/06/2011 01:41, Thomas Mueller wrote: Anyway, from what I read, csup is better, and I think I can use the same supfile and same server that I would use for cvsup? Yes. -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth

Re: subversion-freebsd dependencies

2011-10-06 Thread Doug Barton
On 10/06/2011 03:34, Andre Oppermann wrote: On a newly installed development machine I installed subversion-freebsd from ports and ended up with a huge dependency chain. If you're just using it for FreeBSD you can un-check all the OPTIONS. If you might want to use the http:// protocol to

Re: subversion-freebsd dependencies

2011-10-06 Thread Doug Barton
On 10/06/2011 12:58, Lev Serebryakov wrote: Hello, Doug. You wrote 6 октября 2011 г., 23:37:26: On a newly installed development machine I installed subversion-freebsd from ports and ended up with a huge dependency chain. If you're just using it for FreeBSD you can un-check all the OPTIONS.

Re: portsnap5 problem, portsnap error handling

2011-10-04 Thread Doug Barton
On 10/04/2011 03:32, Andriy Gapon wrote: Not sure which list would be best for this Given that it's a ports issue, freebsd-ports@ comes to mind ... -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth

Re: HEADS UP: ports/ and 10.0-CURRENT

2011-09-28 Thread Doug Barton
On 09/28/2011 12:39, Hartmann, O. wrote: The mess started to happen when I tried to repair a non CLANG compiling port math/gotoblas with portmaster -vf amth/gotoblas. Since this build binutils and even gettext and libiconv, I guess they got broken. Last I saw was a successful installation

Re: HEADS UP: ports/ and 10.0-CURRENT

2011-09-28 Thread Doug Barton
On 09/28/2011 13:45, Beech Rintoul wrote: On Wednesday 28 September 2011 12:18:47 Doug Barton wrote: On 09/28/2011 12:39, Hartmann, O. wrote: The mess started to happen when I tried to repair a non CLANG compiling port math/gotoblas with portmaster -vf amth/gotoblas. Since this build binutils

Re: Experiences with FreeBSD 9.0-BETA2

2011-09-27 Thread Doug Barton
On 09/27/2011 14:24, Peter Jeremy wrote: On 2011-Sep-26 21:29:18 -0700, Kevin Oberman kob6...@gmail.com wrote: MBR allows 4 slices (which Windows and most of the world call partitions). Windows also allows the creation of Extended Partitions, but FreeBSD does not support these. They result

Re: Experiences with FreeBSD 9.0-BETA2

2011-09-26 Thread Doug Barton
On 09/26/2011 15:38, Benjamin Kaduk wrote: This perception that ZFS is most of the future probably contributed to the lack of strong opinions regarding the default UFS partition scheme. Can we please stop saying that there were no contrary opinions stated? I personally expressed a preference

Re: FreeBSD 9-Beta3 on X300 problems.

2011-09-26 Thread Doug Barton
On 09/26/2011 16:02, crsnet.pl wrote: 2. Kadu/Gnu Gadu. I dont know why, but when i run kadu / gnu gadu and try to connect to Gadu-Gadu network software segments ;/ Kadu with signal 6, GnuGadu with signal 11. I try to use old gadulib, or recompie it. But this doesn't help ;/ I run

Re: bin/160979: 9.0 burncd error caused by change to cd0 from acd0

2011-09-26 Thread Doug Barton
On 09/26/2011 17:59, Fbsd8 wrote: Your solution is very un-professional. Good thing we're all volunteers. :) What your solution purposes to do is do nothing. I think your judgment is flawed and a larger group of your peers need to review your judgment in this case. Ok, done. Eitan is

Re: bin/160979: 9.0 burncd error caused by change to cd0 from acd0

2011-09-26 Thread Doug Barton
On 09/26/2011 18:43, Craig Rodrigues wrote: On Mon, Sep 26, 2011 at 6:28 PM, Doug Barton do...@freebsd.org wrote: burncd has been part of the system utilities included in the basic release since release 4.0 and cdrecord is a port. The professional solution is to remove burncd from the 9.0

Re: Screwy behavior in ports framework

2011-09-13 Thread Doug Barton
First, this should be on freebsd-po...@freebsd.org. If you still have problems later please start a new thread there. On 09/13/2011 02:45, Thomas Mueller wrote: I quote my /etc/make.conf from BETA2: WRKDIR=workb2 That's guaranteed to break things. What you want is to remove that and set:

Re: Unusually high LA without any load at FreeBSD9-BETA2

2011-09-06 Thread Doug Barton
On 09/06/2011 10:05, Garrett Cooper wrote: On Tue, Sep 6, 2011 at 9:30 AM, Alex Kozlov s...@rm-rf.kiev.ua wrote: Hi, current I see an unusually high LA for more than 10 hours without slightest load. Any ideas? What is LA? Load Average. -- Nothin' ever doesn't change, but

Re: LOR 9.0 beta1

2011-08-28 Thread Doug Barton
On 8/23/2011 7:48 AM, Garrett Cooper wrote: On Tue, Aug 23, 2011 at 4:29 AM, Holger Kipp holger.k...@alogis.com wrote: Maybe already seen... This is within Parallels 6.0 VM on a Mac with OS 10.6.8 ... This is a well known LOR. There are a lot of well-known LORs in HEAD. This is a bug.

Re: ichwd attach failure

2011-08-26 Thread Doug Barton
John was working on this, haven't seen an update recently though. Doug On 08/26/2011 14:24, Mike Tancsa wrote: Got a newish Intel board in and decided to give it a spin. Trying to load the watchdog, I get this error below on CURRENT. Anyone able to get ichwd working on such a motherboard ?

periodic weekly catman - perl problem

2011-08-22 Thread Doug Barton
I have the catman option enabled for periodic/weekly and get the following errors: Reformatting manual pages: catman: /usr/local/lib/perl5/5.12.4/man/cat3: mkdir: Permission denied catman: /usr/local/lib/perl5/5.12.4/perl/man/cat3: mkdir: Permission denied It seems that the cat3 directories are

Re: Well, there goes Windows!

2011-08-22 Thread Doug Barton
On Mon, 22 Aug 2011 12:23:43 +0800 Adrian Chadd adr...@freebsd.org wrote: However, an installer is user-facing (here), as well as system-facing. As much as I understand the logic behind it, it is still going to surprise people to find that their partition tables are modified at any point

Re: periodic weekly catman - perl problem

2011-08-22 Thread Doug Barton
On 08/22/2011 09:41, Andrej Zverev wrote: On Mon, Aug 22, 2011 at 11:59 AM, Doug Barton do...@freebsd.org mailto:do...@freebsd.org wrote: I have the catman option enabled for periodic/weekly and get the following errors: Reformatting manual pages: catman: /usr/local

Re: nroff -mandoc | more no longer works

2011-08-14 Thread Doug Barton
The proper way to do this atm is 'man ./foo.1'. I had the same set of commands under the fingers as well, but doing it the new way has many benefits. Not the least of which is that you will see the page the same way man will render it when it's installed. Doug (change is hard) On 8/14/2011

Re: ghost files

2011-08-07 Thread Doug Barton
On 08/06/2011 23:08, deeptec...@gmail.com wrote: i'd note that the hard drive is kind of old (7 years), and i recently had the power cut during port build operations twice, although the (UFS) filesystem is fsck-clean. Have you actually booted single user and run 'fsck -y'? That should probably

Re: svn commit: r224659 - head/etc

2011-08-06 Thread Doug Barton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 08/05/2011 23:07, Ed Schouten wrote: Hi Doug, * Doug Barton do...@freebsd.org, 20110806 02:07: However, I would much rather see us actually change the default file. Users who are going to enable nis will already know that this file needs

Re: New installation script

2011-08-06 Thread Doug Barton
On 08/06/2011 07:52, Nathan Whitehorn wrote: This is, to some extent, a deliberate design decision. The idea is that if you are installing onto an existing partition with the right type, then you really do just want to use it without newfs. Actually, if I am reinstalling I really do want to

Re: resolvconf script overwrites entries in resolv.conf - RDNSS/DNSSL related

2011-08-05 Thread Doug Barton
On 08/04/2011 22:59, Mattia Rossi wrote: Hi all, I've finally patched my 8.2 IPv6 gateway with the RDNSS/DNSSL patches and I'm distributing DNS servers that way now. Works fine, my box running CURRENT picks up the DNS servers and search domains and writes them into /etc/resolv.conf using

Re: svn commit: r224659 - head/etc

2011-08-05 Thread Doug Barton
Ed, First off, thanks for taking a look at this. I've always been uncomfortable with our default nsswitch.conf file because most users do not use nis, and although everything works with our (previous) default it produces errors in the logs that are very non-obvious. That said, I think the

Re: ichwd0: unable to reserve GCS registers

2011-08-03 Thread Doug Barton
On 08/02/2011 15:06, John Baldwin wrote: On Saturday, July 30, 2011 2:49:52 am Andriy Gapon wrote: on 19/07/2011 18:16 John Baldwin said the following: Hmm, can you get devinfo -r output from a working kernel with ichwd loaded? You might be able to just build the kernel with 'nooptions

Re: ichwd0: unable to reserve GCS registers

2011-07-30 Thread Doug Barton
On 07/30/2011 05:34, John Baldwin wrote: On Saturday, July 30, 2011 02:49:52 AM Andriy Gapon wrote: on 19/07/2011 18:16 John Baldwin said the following: Hmm, can you get devinfo -r output from a working kernel with ichwd loaded? You might be able to just build the kernel with 'nooptions

Re: ichwd0: unable to reserve GCS registers

2011-07-30 Thread Doug Barton
On 07/30/2011 19:35, John Baldwin wrote: On 7/30/11 7:55 PM, Doug Barton wrote: On 07/30/2011 05:34, John Baldwin wrote: On Saturday, July 30, 2011 02:49:52 AM Andriy Gapon wrote: on 19/07/2011 18:16 John Baldwin said the following: Hmm, can you get devinfo -r output from a working kernel

Re: sys/boot/i386/boot2 build failure with clang

2011-07-18 Thread Doug Barton
On 07/17/2011 07:03, Dimitry Andric wrote: In any case, I have committed a fix in r224131, let me know how that works out for you. A clean /usr/obj got me all the way through buildworld to the point where it was building the 32-bit compat libs, and got this: clang -m32 -march=i686 -mmmx -msse

ichwd0: unable to reserve GCS registers

2011-07-18 Thread Doug Barton
I'm getting this with recent HEAD: isab0: found ICH7 or equivalent chipset: Intel ICH7M watchdog timer ichwd0: Intel ICH7M watchdog timer at port 0x1030-0x1037,0x1060-0x107f on isa0 isab0: found ICH7 or equivalent chipset: Intel ICH7M watchdog timer pcib0: allocated type 4 (0x1030-0x1037) for rid

Re: sys/boot/i386/boot2 build failure with clang

2011-07-18 Thread Doug Barton
On 07/18/2011 13:11, Dimitry Andric wrote: On 2011-07-18 09:42, Doug Barton wrote: .. A clean /usr/obj got me all the way through buildworld to the point where it was building the 32-bit compat libs, and got this: ... /tmp/.root/cc-ysEysz.s:31589: Error: unknown pseudo-op: `.cfi_sections

Re: ichwd0: unable to reserve GCS registers

2011-07-18 Thread Doug Barton
On 07/18/2011 10:08, John Baldwin wrote: On Monday, July 18, 2011 4:26:49 am Doug Barton wrote: I'm getting this with recent HEAD: isab0: found ICH7 or equivalent chipset: Intel ICH7M watchdog timer ichwd0: Intel ICH7M watchdog timer at port 0x1030-0x1037,0x1060-0x107f on isa0 isab0: found

sys/boot/i386/boot2 build failure with clang

2011-07-17 Thread Doug Barton
Howdy, Trying to build r224125 with clang, and got this (using no -j): === boot2 (all) objcopy -S -O binary boot1.out boot1 dd if=/dev/zero of=boot2.ldr bs=512 count=1 1+0 records in 1+0 records out 512 bytes transferred in 0.40 secs (12782641 bytes/sec) clang -Os

Re: sys/boot/i386/boot2 build failure with clang

2011-07-17 Thread Doug Barton
I have DEBUG_FLAGS+= -g in my /etc/make.conf. Commenting that out allows this to work. Doug On 07/17/2011 03:11, Doug Barton wrote: Howdy, Trying to build r224125 with clang, and got this (using no -j): === boot2 (all) objcopy -S -O binary boot1.out boot1 dd if=/dev/zero of=boot2

HEADS UP: BIND 9.8 imported to HEAD

2011-07-16 Thread Doug Barton
Howdy, I wanted to let everyone know that BIND 9.8.0-P4 has just been imported to 9-current, and will be part of the 9.0-RELEASE. The 9.8 branch has many nice new features vs. 9.6.x, especially in the area of DNSSEC. You can read more about the new features in the README file included in

Re: named crashes on assertion in rbtdb.c on sparc64/SMP

2011-07-16 Thread Doug Barton
On 07/15/2011 01:40, Marius Strobl wrote: The generated config.h and platform.h for sparc64 are these: http://people.freebsd.org/~marius/bind96_config.h http://people.freebsd.org/~marius/bind96_platform.h Marius, Thanks again for all your help on this. During the work to upgrade to BIND 9.8

Re: cardbus panic: end address is not aligned

2011-07-14 Thread Doug Barton
On 07/12/2011 07:22, John Baldwin wrote: On Monday, July 11, 2011 9:29:19 pm Doug Barton wrote: On 07/08/2011 06:19, John Baldwin wrote: Hmm, well that's odd. It didn't grow it enough it seems. Also, can you boot your machine, then do 'sysctl debug.bootverbose=1', insert the card

Re: cardbus panic: end address is not aligned

2011-07-14 Thread Doug Barton
On 07/14/2011 11:39, John Baldwin wrote: On Thursday, July 14, 2011 6:27:20 am Adrian Chadd wrote: Don't forget if_ath_pci. Which I think is a bug for this very reason if it turns out to be the cause. I have MODULES_OVERRIDE=ath ... in src.conf and I have an if_ath module, but no if_ath_pci

Re: cardbus panic: end address is not aligned

2011-07-14 Thread Doug Barton
On 07/14/2011 12:55, Doug Barton wrote: On 07/14/2011 11:39, John Baldwin wrote: On Thursday, July 14, 2011 6:27:20 am Adrian Chadd wrote: Don't forget if_ath_pci. Which I think is a bug for this very reason if it turns out to be the cause. I have MODULES_OVERRIDE=ath ... in src.conf

Re: named crashes on assertion in rbtdb.c on sparc64/SMP

2011-07-14 Thread Doug Barton
On 07/14/2011 16:21, Marius Strobl wrote: On Thu, Jul 14, 2011 at 09:53:42AM +0400, KOT MATPOCKuH wrote: 2011/7/11 KOT MATPOCKuH matpoc...@gmail.com: Oops, sorry, I forgot to revert the previous patch when test-compiling. Please re-fetch sparc64_isc_atomic.h.diff2 and try again. I started

Re: cardbus panic: end address is not aligned

2011-07-12 Thread Doug Barton
On 07/12/2011 07:22, John Baldwin wrote: On Monday, July 11, 2011 9:29:19 pm Doug Barton wrote: On 07/08/2011 06:19, John Baldwin wrote: Hmm, well that's odd. It didn't grow it enough it seems. Also, can you boot your machine, then do 'sysctl debug.bootverbose=1', insert the card

Re: cardbus panic: end address is not aligned

2011-07-11 Thread Doug Barton
On 07/08/2011 06:19, John Baldwin wrote: Hmm, well that's odd. It didn't grow it enough it seems. Also, can you boot your machine, then do 'sysctl debug.bootverbose=1', insert the card and record the messages in dmesg when it does? (You can likely get those out of kgdb.) I tried

Re: cardbus panic: end address is not aligned

2011-07-08 Thread Doug Barton
On 07/07/2011 14:20, John Baldwin wrote: On Sunday, July 03, 2011 1:39:18 am Doug Barton wrote: I have 2 ath-based pc-card adapters. If I put either one of them in the slot while the system is up, or if I try booting with them in the slot, I get an instant panic. The cards previously worked

Re: named crashes on assertion in rbtdb.c o? sparc64/SMP

2011-07-05 Thread Doug Barton
On 06/28/2011 08:58, Marius Strobl wrote: Uhm, we once fixed a problem in the MD atomic implementation which still seems to present in the ISC copy. Could you please test whether the following patch makes a difference? http://people.freebsd.org/~marius/sparc64_isc_atomic.h.diff I haven't seen

Re: cardbus panic: end address is not aligned

2011-07-04 Thread Doug Barton
On 07/03/2011 03:05, Adrian Chadd wrote: The obvious question - can you bisect kernel versions to find out when it broke? Sorry, I thought the answer to that was obvious from my message. I have no idea how far back the breakage goes since I don't use the cards often. Doug --

Re: My problems with stability on -current

2011-07-04 Thread Doug Barton
On 05/11/2011 04:33, Alexander Motin wrote: On 11.05.2011 08:17, Doug Barton wrote: I had an interesting result doing nothing but switching from HPET to LAPIC ... no crash. Still on the same version of -current (r221566) the only thing I've done is to add kern.eventtimer.timer=LAPIC to /boot

cardbus panic: end address is not aligned

2011-07-02 Thread Doug Barton
I have 2 ath-based pc-card adapters. If I put either one of them in the slot while the system is up, or if I try booting with them in the slot, I get an instant panic. The cards previously worked in -current, and continue to work in 8-stable and windows xp. I don't have any other pc-cards to

Re: named crashes on assertion in rbtdb.c on sparc64/SMP

2011-06-29 Thread Doug Barton
On 06/29/2011 06:41, Marius Strobl wrote: On Wed, Jun 29, 2011 at 02:33:06PM +0400, KOT MATPOCKuH wrote: 2011/6/29 KOT MATPOCKuHmatpoc...@gmail.com: I'm got a problem with named on FreeBSD-CURRENT/sparc64. Up to 5 times a day it crashes with these messages: 27-Jun-2011 03:42:14.384 general:

Re: sys/boot/i386/boot2 (install) fail

2011-06-26 Thread Doug Barton
On 06/24/2011 13:39, Doug Barton wrote: On r223514M, kernel installed Ok, then after reboot and attempt to installworld I first get a failure that btxld is not found. So I add that to ITOOLS and then I get this. Any ideas? Building again with a clean /usr/obj solved this problem, FYI

sys/boot/i386/boot2 (install) fail

2011-06-24 Thread Doug Barton
On r223514M, kernel installed Ok, then after reboot and attempt to installworld I first get a failure that btxld is not found. So I add that to ITOOLS and then I get this. Any ideas? Thanks, Doug === sys/boot/i386/boot2 (install) as --32 -o boot2.o boot2.s ld -static -N --gc-sections

mariadb-server-5.2.6 failed on amd64 9

2011-06-22 Thread Doug Barton
Unfortunately this problem didn't magically fix itself in the 5.2.7 version of mariadb, so I'm still open to suggestions ... Doug Original Message Subject: mariadb-server-5.2.6 failed on amd64 9 Date: Sat, 11 Jun 2011 22:16:22 -0700 From: Doug Barton do...@freebsd.org

Re: rc.d script to load kernel modules

2011-06-12 Thread Doug Barton
On 6/12/2011 1:56 AM, Jason Hellenthal wrote: Cutting modules out of the kernel in general does help speed up booting but loading those same modules later in the boot process will just lead you back to the same boot time. Loading modules via loader.conf is many times slower than doing it from

Re: rc.d script to load kernel modules

2011-06-12 Thread Doug Barton
On 6/12/2011 11:56 AM, Jason Hellenthal wrote: So technically here a ZFS only install is lacking the speed in which modules are loaded. It has nothing to do with zfs. It has to do with how the kernel and modules are loaded at boot time, vs. after the disks are up. Please read the threads on

Re: rc.d script to load kernel modules

2011-06-12 Thread Doug Barton
On 6/12/2011 12:05 PM, Jason Hellenthal wrote: Any opposition for keeping the syntax of loader.conf ? nullfs_load=YES Yes, see my other message on this point. -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT

Re: rc.d script to load kernel modules

2011-06-12 Thread Doug Barton
On 6/12/2011 12:16 PM, Jason Hellenthal wrote: Doug, On Sun, Jun 12, 2011 at 12:00:56PM -0700, Doug Barton wrote: Absolutely not. That would not fit into the way we do things at all, and would essentially require /etc/rc to do the processing, which is a huge step in the wrong direction

Re: rc.d script to load kernel modules

2011-06-12 Thread Doug Barton
On 6/12/2011 12:34 PM, Garrett Cooper wrote: On Sun, Jun 12, 2011 at 12:24 PM, Gary Palmergpal...@freebsd.org wrote: On Sun, Jun 12, 2011 at 02:56:31PM -0400, Jason Hellenthal wrote: So technically here a ZFS only install is lacking the speed in which modules are loaded. I would prefer to

Re: rc.d script to load kernel modules

2011-06-12 Thread Doug Barton
On 6/12/2011 12:42 PM, Jason Hellenthal wrote: Yes I agree. I was just stating that simply for the previous post implying where ZFS was slower than UFS. No, it wasn't. You completely fail to understand the problem. Stop writing, and start reading. As in, read the threads on both -arch and

Re: rc.d script to load kernel modules

2011-06-12 Thread Doug Barton
On 6/12/2011 1:43 PM, Jason Hellenthal wrote: Doug, On Sun, Jun 12, 2011 at 12:46:58PM -0700, Doug Barton wrote: On 6/12/2011 12:42 PM, Jason Hellenthal wrote: Yes I agree. I was just stating that simply for the previous post implying where ZFS was slower than UFS. No, it wasn't. You

rc.d script to load kernel modules

2011-06-11 Thread Doug Barton
Howdy, Per discussion on -arch and the svn list about improving boot time and stripping down the kernel to just that-which-cannot-be-modularized I created the attached script to kldload modules that don't need to be in loader.conf. It cut quite a bit of time off my boot, so hopefully it will

kldstat -q -m seems broken

2011-06-11 Thread Doug Barton
Howdy, I'm running 9.0-CURRENT r222889M amd64 and in the kld script I just sent to the list I had to use the slower 'load_kld -e' form because 'kldstat -q -m foo' is not working for me. For example: kldstat -qm linux ; echo $? 1 However the module is definitely loaded: 52

mariadb-server-5.2.6 failed on amd64 9

2011-06-11 Thread Doug Barton
No luck on -ports, anyone here have a suggestion? I'm confused by this error, since it works just fine with default settings on 7 and 8 with both amd64 and i386. Can someone give me a suggestion on the right direction to look? Original Message Excerpt from the build log at

Re: llimport(8): Import lastlog into utmpx

2011-06-03 Thread Doug Barton
On 06/03/2011 13:47, Garrett Cooper wrote: On Fri, Jun 3, 2011 at 1:43 PM, Ed Schoutene...@80386.nl wrote: Hi all, I think not long after I replaced utmp with utmpx, I got requests to add utilities to convert the old utmp databases to the new formats. I added wtmpcvt(1) for /var/log/wtmp*,

Re: llimport(8): Import lastlog into utmpx

2011-06-03 Thread Doug Barton
On 06/03/2011 14:07, Ed Schouten wrote: the reason why I picked the current approach, is because I don't want to cause people to get confused when they upgrade to 9.0, to discover that their lastlog database is `missing'. Understood, but in my mind that's a release notes issue. --

Re: CURRENT /usr/ports

2011-05-26 Thread Doug Barton
On 05/26/2011 01:37, Matthias Apitz wrote: Hello, I'm running -CURRENT on my laptop (r220692 from ~mid of April) and /usr/ports from CVS from the same day; I want from time to time (let's says once a week) SVN update my kernel and userland; I know that these two should be in sync, but what

Re: [PATCH] Fix CFLAGS overwrite by Makefile

2011-05-24 Thread Doug Barton
On 05/24/2011 13:41, Dimitry Andric wrote: So that is why these Makefiles purposefully overwrite CFLAGS, it is not by accident. In those cases adding comments to the Makefile is probably appropriate, if they are not present already. Something to the effect of, Purposely overwriting CFLAGS

Re: My problems with stability on -current

2011-05-12 Thread Doug Barton
On 05/11/2011 04:33, Alexander Motin wrote: On 11.05.2011 08:17, Doug Barton wrote: I had an interesting result doing nothing but switching from HPET to LAPIC ... no crash. Still on the same version of -current (r221566) the only thing I've done is to add kern.eventtimer.timer=LAPIC to /boot

Re: My problems with stability on -current

2011-05-10 Thread Doug Barton
I had an interesting result doing nothing but switching from HPET to LAPIC ... no crash. Still on the same version of -current (r221566) the only thing I've done is to add kern.eventtimer.timer=LAPIC to /boot/loader.conf, and so far I haven't been able to get it to crash no matter how much I

Re: My problems with stability on -current

2011-05-09 Thread Doug Barton
was seeing previously that I tracked to the one-shot timer update. More below. On 05/07/2011 02:43, Alexander Motin wrote: Doug Barton wrote: On 05/05/2011 13:55, Alexander Motin wrote: I see several possibly unrelated problems there: - crashes are always crashes. They should be debugged

Re: My problems with stability on -current

2011-05-07 Thread Doug Barton
On 05/05/2011 13:55, Alexander Motin wrote: Doug Barton wrote: Alexander suggested some knobs to twist for the timers, and I'll be glad to do that once he gets back to me with more concrete suggestions now that he knows more about my specific problems. OK, I am all here. While this post

My problems with stability on -current

2011-05-05 Thread Doug Barton
This is long, sorry. I wish I could condense things down to just the answer, or even just the question, but here goes. I've used HEAD on my main workstation(s) for many years. It's common for there to be ups and downs, and that's fine. Lately however the problems have been debilitating. First

Re: responsiveness during IO tasks

2011-04-27 Thread Doug Barton
On 04/26/2011 03:37, Alexander Best wrote: On Mon Apr 25 11, Steve Wills wrote: Hi, I've noticed lately that when doing heavy IO, my 9-CURRENT system (Fri Apr 15 23:33:46 EDT 2011) is quite unresponsive. I have two ZFS mirrors setup and run KDE4. The system has 12GB of RAM. When I, for

Why is /usr/obj/lib32 where it is?

2011-04-25 Thread Doug Barton
Howdy, In my /usr/obj (on amd64) I have 2 directories; lib32, and the root of the fs where the sources are. It seems odd to me that lib32 is not under the same root as everything else, so I'm asking why. :) Doug -- Nothin' ever doesn't change, but nothin' changes much.

Re: Why is /usr/obj/lib32 where it is?

2011-04-25 Thread Doug Barton
On 04/25/2011 13:07, Steve Kargl wrote: On Mon, Apr 25, 2011 at 12:53:44PM -0700, Doug Barton wrote: Howdy, In my /usr/obj (on amd64) I have 2 directories; lib32, and the root of the fs where the sources are. It seems odd to me that lib32 is not under the same root as everything else, so I'm

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Doug Barton
On 04/20/2011 15:18, Scott Long wrote: I agree with what Alexander is saying, but I'd like to take it a step further. We should all be using [...] mount-by-label +1 When I first saw this on linux my gut reaction was e, different. But now that I've worked with it a bit, I really like

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Doug Barton
On 04/20/2011 16:01, Warren Block wrote: Not sure I understand the question. I have a little article called FreeBSD Labeled Filesystems: http://www.wonkity.com/~wblock/docs/html/labels.html That's a good article, but it highlights what seem to be some deficiencies in the various

Re: `hw.acpi.thermal.tz0.temperature' disappeared

2011-04-19 Thread Doug Barton
On 4/19/2011 9:44 AM, m...@freebsd.org wrote: As an aside, what kind of h/w do I need for hw.acpi.thermal to show up? I don't see it on my Dell desktop... The hardware is likely to be there for any reasonably modern Dell desktop. Do you have coretemp loaded? Doug -- Nothin' ever

crash on r220282

2011-04-04 Thread Doug Barton
Someone suggested I might get better results including the actual panic: panic: Freeing unused sector 4918950 6 c41f Meanwhile the core.txt.1 file is in my home directory on freefall. Doug #0 sched_switch (td=dwarf2_read_address: Corrupted DWARF expression. ) at

crash on r220282

2011-04-03 Thread Doug Barton
#0 sched_switch (td=dwarf2_read_address: Corrupted DWARF expression. ) at /home/svn/head/sys/kern/sched_ule.c:1854 #1 0x8042b16d in mi_switch (flags=dwarf2_read_address: Corrupted DWARF expression. ) at /home/svn/head/sys/kern/kern_synch.c:450 #2 0x8045ce3a in sleepq_switch

How can I clone a mac address on wlan0?

2011-03-29 Thread Doug Barton
For a variety of boring reasons I need to clone a mac address on wlan0. The documented way to do this: ifconfig wlan0 create wlandev wpi0 wlanaddr 00:11:22:33:44:55:66 works in the sense that it sets up the interface with that mac, but then the wlan0 interface never associates. Doing

Re: tzsetup disregards setting TZ to UTC

2011-03-28 Thread Doug Barton
On 03/28/2011 16:24, David Cornejo wrote: To me it seems that the fault is that I can find no way in tzsetup to specify UTC. Though it seems the system defaults to UTC if you don't run tzsetup anyway, so maybe it would suffice to just say not to do that. (tzsetup is a no-op anyway if you're

Re: r219385 build error.

2011-03-07 Thread Doug Barton
On 03/07/2011 14:56, Alexander Best wrote: native doesn't get handled by bsd.cpu.mk at all! it gets passed to gcc directly and gcc choses -m{tune,arch} on it's own. don't add -march=* directly to CFLAGS. this is bound to go wrong at some point. use CPUTYPE to set the cpu and CFLAGS for -O*,

<    1   2   3   4   5   6   7   8   9   >