[HEADS UP] recent ld is needed to build kernel

2010-09-20 Thread Andriy Gapon
Sorry, I should have sent out this earlier. Please note an entry in UPDATING from 20100915: A workaround for a fixed ld bug has been removed in kernel code, so make sure that your system ld is built from sources after revision 210245 (r211583 if building head kernel on stable/8, r211584 for

Re: sysctl -a is slow

2010-09-20 Thread David Xu
jhell wrote: On 09/19/2010 09:28, David Xu wrote: just typed sysctl -a on keyboard, and found it is slow, sometimes it has been stuck for a few seconds, further studied,I found it is stucked at sysctl kern.geom: %/usr/bin/time sysctl -a kern.geom kern.geom.collectstats: 1 kern.geom.debugflags:

Re: sysctl -a is slow

2010-09-20 Thread jhell
On Mon, 20 Sep 2010 10:26, David Xu wrote: In Message-Id: 4c976f14.8000...@freebsd.org jhell wrote: On 09/19/2010 09:28, David Xu wrote: just typed sysctl -a on keyboard, and found it is slow, sometimes it has been stuck for a few seconds, further studied,I found it is stucked at sysctl

Re: sysctl -a is slow

2010-09-20 Thread David Xu
jhell wrote: On Mon, 20 Sep 2010 10:26, David Xu wrote: In Message-Id: 4c976f14.8000...@freebsd.org jhell wrote: On 09/19/2010 09:28, David Xu wrote: just typed sysctl -a on keyboard, and found it is slow, sometimes it has been stuck for a few seconds, further studied,I found it is stucked

Re: buildworld + ccache trouble

2010-09-20 Thread Dmitry Krivenok
Your patch works fine for me, thanks! However, I don't see any performance gain when using ccache: # ccache -s cache directory /usr/src/.ccache cache hit (direct)65 cache hit (preprocessed) 397 cache miss225341 called for

Re: buildworld + ccache trouble

2010-09-20 Thread Dimitry Andric
On 2010-09-20 10:43, Dmitry Krivenok wrote: Your patch works fine for me, thanks! Note this patch is just a workaround for now, I'm still working on the proper solution. :) However, I don't see any performance gain when using ccache: ... cache miss225341 ...

Re: buildworld + ccache trouble

2010-09-20 Thread Maxim Khitrov
On Mon, Sep 20, 2010 at 4:43 AM, Dmitry Krivenok krivenok.dmi...@gmail.com wrote: Your patch works fine for me, thanks! However, I don't see any performance gain when using ccache: Number of cache hits is very low. I need to understand this... Make sure you have the following environment

Re: gptboot rewrite, bootonce, etc.

2010-09-20 Thread krad
On 19 September 2010 18:10, Boris Samorodov b...@ipt.ru wrote: Hi! On Sat, 18 Sep 2010 01:45:42 +0200 Pawel Jakub Dawidek wrote: My company was in need for functionality similar to nextboot(8), but on boot loader level, so we can have two partitions we boot from where one is known to be

Re: sysctl -a is slow

2010-09-20 Thread Lawrence Stewart
On 09/21/10 02:21, David Xu wrote: jhell wrote: On Mon, 20 Sep 2010 10:26, David Xu wrote: In Message-Id: 4c976f14.8000...@freebsd.org jhell wrote: On 09/19/2010 09:28, David Xu wrote: just typed sysctl -a on keyboard, and found it is slow, sometimes it has been stuck for a few seconds,

Re: gptboot rewrite, bootonce, etc.

2010-09-20 Thread Pawel Jakub Dawidek
On Mon, Sep 20, 2010 at 09:46:56AM +0100, krad wrote: does it work for zfs boot as that would be really nice if it did? No, it doesn't. ZFS works a bit differently. ZFS operate on pools, not really on partitions. One ZFS file system can span multiple disks/partitions. I'm not yet sure how to

Re: gptboot rewrite, bootonce, etc.

2010-09-20 Thread Pawel Jakub Dawidek
On Mon, Sep 20, 2010 at 01:17:38AM +0200, Oliver Pinter wrote: Hi PJD! Can you this patcheset release for 7-STABLE? I've no plans atm to port this work to 7-STABLE. I don't even have 7.x systems anymore. Not sure how boot code differs, maybe the patch will apply without modifications? No

Re: gptboot rewrite, bootonce, etc.

2010-09-20 Thread Pawel Jakub Dawidek
On Sun, Sep 19, 2010 at 09:10:52PM +0400, Boris Samorodov wrote: Hi! On Sat, 18 Sep 2010 01:45:42 +0200 Pawel Jakub Dawidek wrote: My company was in need for functionality similar to nextboot(8), but on boot loader level, so we can have two partitions we boot from where one is known to

Re: gptboot rewrite, bootonce, etc.

2010-09-20 Thread Andriy Gapon
on 20/09/2010 15:47 Pawel Jakub Dawidek said the following: No, it doesn't. ZFS works a bit differently. ZFS operate on pools, not really on partitions. One ZFS file system can span multiple disks/partitions. I'm not yet sure how to implement it, so it is intuitive, but I also haven't spend

Re: buildworld + ccache trouble

2010-09-20 Thread Bartosz Stec
W dniu 2010-09-20 12:27, Maxim Khitrov pisze: On Mon, Sep 20, 2010 at 4:43 AM, Dmitry Krivenok krivenok.dmi...@gmail.com wrote: Your patch works fine for me, thanks! However, I don't see any performance gain when using ccache: Number of cache hits is very low. I need to understand this...

Re: gptboot rewrite, bootonce, etc.

2010-09-20 Thread John Hay
On Mon, Sep 20, 2010 at 03:59:20PM +0300, Andriy Gapon wrote: on 20/09/2010 15:47 Pawel Jakub Dawidek said the following: No, it doesn't. ZFS works a bit differently. ZFS operate on pools, not really on partitions. One ZFS file system can span multiple disks/partitions. I'm not yet sure how

Re: gptboot rewrite, bootonce, etc.

2010-09-20 Thread Andriy Gapon
on 20/09/2010 16:37 John Hay said the following: On Mon, Sep 20, 2010 at 03:59:20PM +0300, Andriy Gapon wrote: on 20/09/2010 15:47 Pawel Jakub Dawidek said the following: No, it doesn't. ZFS works a bit differently. ZFS operate on pools, not really on partitions. One ZFS file system can span

Re: RFT: if_ath HAL refactoring

2010-09-20 Thread John Baldwin
On Saturday, September 18, 2010 12:09:21 pm Adrian Chadd wrote: Hi all, I've uploaded a snapshot of the if_ath HAL which i've been working on. I've been refactoring out various bits of the AR5416 HAL into something that resembles the ath9k hardware MAC/PHY operations to make it easier to

Re: gptboot rewrite, bootonce, etc.

2010-09-20 Thread John Baldwin
On Friday, September 17, 2010 7:45:42 pm Pawel Jakub Dawidek wrote: - Split code shared by almost any boot loader into separate files and clean up most layering violations: I like this in general. I worry that the space constraints for boot2 will prevent it from using this though as it

Re: gptboot rewrite, bootonce, etc.

2010-09-20 Thread krad
On 20 September 2010 14:37, John Hay j...@meraka.org.za wrote: On Mon, Sep 20, 2010 at 03:59:20PM +0300, Andriy Gapon wrote: on 20/09/2010 15:47 Pawel Jakub Dawidek said the following: No, it doesn't. ZFS works a bit differently. ZFS operate on pools, not really on partitions. One ZFS

Re: sysctl -a is slow

2010-09-20 Thread David Xu
Lawrence Stewart wrote: On 09/21/10 02:21, David Xu wrote: jhell wrote: On Mon, 20 Sep 2010 10:26, David Xu wrote: In Message-Id: 4c976f14.8000...@freebsd.org jhell wrote: On 09/19/2010 09:28, David Xu wrote: just typed sysctl -a on keyboard, and found it

Re: RFT: if_ath HAL refactoring

2010-09-20 Thread Adrian Chadd
On 20 September 2010 21:25, John Baldwin j...@freebsd.org wrote: Why not include this iff both 'device ath' and 'device pci' are included? That is what is normally done for bus-specific attachments. I've not idea right now whether there's an Atheros SoC with an AHB-attached wireless device and

Re: sysctl -a is slow

2010-09-20 Thread Alexander Best
On Sun Sep 19 10, David Xu wrote: just typed sysctl -a on keyboard, and found it is slow, sometimes it has been stuck for a few seconds, further studied,I found it is stucked at sysctl kern.geom: %/usr/bin/time sysctl -a kern.geom kern.geom.collectstats: 1 kern.geom.debugflags: 0

Re: sysctl -a is slow

2010-09-20 Thread Lawrence Stewart
On 09/21/10 00:01, David Xu wrote: Lawrence Stewart wrote: On 09/21/10 02:21, David Xu wrote: jhell wrote: On Mon, 20 Sep 2010 10:26, David Xu wrote: In Message-Id: 4c976f14.8000...@freebsd.org jhell wrote: On 09/19/2010 09:28, David Xu wrote: just typed

Re: ZFS v28 is ready for wider testing.

2010-09-20 Thread Graham Todd
On 09/02/10 17:48, Pawel Jakub Dawidek wrote: On Tue, Aug 31, 2010 at 11:59:15PM +0200, Pawel Jakub Dawidek wrote: [...] Ok, now that I know you read everything carefully, here is the patch: http://people.freebsd.org/~pjd/patches/zfs_20100831.patch.bz2 Now it is even easier to test

Re: [HEADS UP] recent ld is needed to build kernel

2010-09-20 Thread Randall Stewart
For all of you that are wondering what this means ;-) If you don't do this you will see a crash early in boot if witness/invariants is enabled... At least I did.. Basically it will be a mtx_init() complaining about an unaligned mtx... (netisr_mtx or some such).. see my previous queries from

Re: RFT: if_ath HAL refactoring

2010-09-20 Thread PseudoCylon
Message: 9 Date: Sun, 19 Sep 2010 01:04:47 +0800 From: Adrian Chadd adr...@freebsd.org Subject: Re: RFT: if_ath HAL refactoring To: Brandon Weisz li...@avioc.org Cc: freebsd-current@freebsd.org Message-ID: aanlkti=tcbozkeft15=158s=7my9c7sebku+5nycq...@mail.gmail.com Content-Type: