Re: gptzfsboot problem on HP P410i Smart Array

2012-08-20 Thread Bjorn Larsson
Hi Andrey,

We are installing freeBSD using ZFS as root filesystem using the GPT
method as described on the freeBSD ZFS wiki. We are creating a GPT
boot partition with the gptzfsboot program embedded and then a zroot
partition with the freeBSD binaries. This works well and boots on
every system we tested except HP P410i smart array systems. The
problem is that no disks are identified in gptzfsboot and the
following error code is displayed:

gptzfsboot: error 1 lba 32
gptzfsboot: error 1 lba 1

It appears that gptzfsboot is not identifying the drives properly.
However, when we insert a printf() command in main() in zfsboot.c to
troubleshoot the identification problem, the system boots perfectly
fine.

This is a problem that I believe was fixed last year in 9-CURRENT by
implementing a proper struct for edd rather than using a char array
for BIOS communication. However, it doesn't seems to have fixed the on
the p410i smart arrays.

Best regards,

Björn Larsson


On Sun, Aug 19, 2012 at 6:41 PM, Andrey V. Elsukov bu7c...@yandex.ru wrote:

 On 19.08.2012 11:22, Bjorn Larsson wrote:
  We are having problems with gptzfsboot on a HP DL360 G7 using the P410i
  Smart Array Controller.
  I’ve some information on this in the archive on this mailing list that this
  has supposedly been fixed with revision 227400, by implementing the edd
  data structure.
  However we still see the same problem and by adding a printf() in zfsboot.c
  fixes the problem.
  Please, let me know if anyone have seen this problem and if there is a fix
  for it?

 Hi,

 what exactly do you have?

 --
 WBR, Andrey V. Elsukov

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


Re: CURRENT as gateway on not-so-fast hardware: where is a bottlneck?

2012-08-20 Thread Doug Barton
On 08/15/2012 03:18, Alexander Motin wrote:
 On 15.08.2012 03:09, Doug Barton wrote:
 On 08/14/2012 12:20 PM, Adrian Chadd wrote:
 Would you be willing to compile a kernel with KTR so you can capture
 some KTR scheduler dumps?

 That way the scheduler peeps can feed this into schedgraph.py (and you
 can too!) to figure out what's going on.

 Maybe things aren't being scheduled correctly and the added latency is
 killing performance?

 You might also try switching to SCHED_ULE to see if it helps.

 Although, in the last few months as mav has been converging the 2 I've
 started to see the same problems I saw on my desktop systems previously
 re-appear even using ULE. For example, if I'm watching an AVI with VLC
 and start doing anything that generates a lot of interrupts (like moving
 large quantities of data from one disk to another) the video and sound
 start to skip. Also, various other desktop features (like menus, window
 switching, etc.) start to take measurable time to happen, sometimes
 seconds.

 ... and lest you think this is just a desktop problem, I've seen the
 same scenario on 8.x systems used as web servers. With ULE they were
 frequently getting into peak load situations that created what I called
 mini thundering herd problems where they could never quite get caught
 up. Whereas switching to 4BSD the same servers got into high-load
 situations less often, and they recovered on their own in minutes.
 
 It is quite pointless to speculate without real info like mentioned
 above KTR_SCHED traces.

I'm sorry, you're quite wrong about that. In the cases I mentioned, and
in about 2 out of 3 of the cases where users reported problems and I
suggested that they try 4BSD, the results were clear. This obviously
points out that there is a serious problem with ULE, and if I were the
one who was responsible for that code I would be looking at ways of
helping users figure out where the problems are. But that's just me.

 Main thing I've learned about schedulers, things
 there never work as you expect. There are two many factors are relations
 to predict behavior in every case.

In the web hosting case that I mentioned, I purposely kept every other
factor consistent; and changed only s/ULE/4BSD/. The results were both
clear and consistent.

 What's about playing AVIs and using other GUIs, key word here and for
 ULE in general is interactivity. ULE gives huge boost to threads it
 counts interactive.

I'm not using ULE. I haven't for over a year. Sorry if I wasn't clear.

 If somebody still wish area for experiments, there is always some:
  - if you want video player to not lag, set negative nice for it (ULE is
 not a magician to guess user wishes);

At the same time, I don't have these problems on my Linux systems, and I
don't need to adjust anything. Not to mention that given how web servers
are one of our main server implementations, the fact that we have what
seems to be a serious performance problem with out default scheduler in
that use case seems like an issue that we would want to address.

Doug

-- 

I am only one, but I am one.  I cannot do everything, but I can do
something.  And I will not let what I cannot do interfere with what
I can do.
-- Edward Everett Hale, (1822 - 1909)
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on powerpc/powerpc

2012-08-20 Thread FreeBSD Tinderbox
TB --- 2012-08-20 07:18:24 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-08-20 07:18:24 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-08-20 07:18:24 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2012-08-20 07:18:24 - cleaning the object tree
TB --- 2012-08-20 07:18:24 - cvsupping the source tree
TB --- 2012-08-20 07:18:24 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc/powerpc/supfile
TB --- 2012-08-20 07:18:38 - building world
TB --- 2012-08-20 07:18:38 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 07:18:38 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 07:18:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 07:18:38 - SRCCONF=/dev/null
TB --- 2012-08-20 07:18:38 - TARGET=powerpc
TB --- 2012-08-20 07:18:38 - TARGET_ARCH=powerpc
TB --- 2012-08-20 07:18:38 - TZ=UTC
TB --- 2012-08-20 07:18:38 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 07:18:38 - cd /src
TB --- 2012-08-20 07:18:38 - /usr/bin/make -B buildworld
 World build started on Mon Aug 20 07:18:40 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Mon Aug 20 09:38:17 UTC 2012
TB --- 2012-08-20 09:38:17 - generating LINT kernel config
TB --- 2012-08-20 09:38:17 - cd /src/sys/powerpc/conf
TB --- 2012-08-20 09:38:17 - /usr/bin/make -B LINT
TB --- 2012-08-20 09:38:17 - cd /src/sys/powerpc/conf
TB --- 2012-08-20 09:38:17 - /usr/sbin/config -m LINT
TB --- 2012-08-20 09:38:17 - building LINT kernel
TB --- 2012-08-20 09:38:17 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 09:38:17 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 09:38:17 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 09:38:17 - SRCCONF=/dev/null
TB --- 2012-08-20 09:38:17 - TARGET=powerpc
TB --- 2012-08-20 09:38:17 - TARGET_ARCH=powerpc
TB --- 2012-08-20 09:38:17 - TZ=UTC
TB --- 2012-08-20 09:38:17 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 09:38:17 - cd /src
TB --- 2012-08-20 09:38:17 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Aug 20 09:38:17 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many 
-fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
-fstack-protector -Werror  /src/sys/dev/ath/if_ath_tx.c -I/src/sys/dev/ath
/src/sys/dev/ath/if_ath_tx.c: In function 'ath_tx_chaindesclist':
/src/sys/dev/ath/if_ath_tx.c:379: error: 'ATH_DEBUG_XMIT' undeclared (first use 
in this function)
/src/sys/dev/ath/if_ath_tx.c:379: error: (Each undeclared identifier is 
reported only once
/src/sys/dev/ath/if_ath_tx.c:379: error: for each function it appears in.)
cc1: warnings being treated as errors
/src/sys/dev/ath/if_ath_tx.c:380: warning: implicit declaration of function 
'ath_printtxbuf'
/src/sys/dev/ath/if_ath_tx.c:380: warning: nested extern declaration of 
'ath_printtxbuf' [-Wnested-externs]
*** Error code 1

Stop in /obj/powerpc.powerpc/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2012-08-20 09:41:56 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2012-08-20 09:41:56 - ERROR: failed to build LINT kernel
TB --- 2012-08-20 09:41:56 - 6823.00 user 892.34 system 8612.02 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: CURRENT as gateway on not-so-fast hardware: where is a bottlneck?

2012-08-20 Thread Alexander Motin

On 20.08.2012 11:32, Doug Barton wrote:

On 08/15/2012 03:18, Alexander Motin wrote:

On 15.08.2012 03:09, Doug Barton wrote:

On 08/14/2012 12:20 PM, Adrian Chadd wrote:

Would you be willing to compile a kernel with KTR so you can capture
some KTR scheduler dumps?

That way the scheduler peeps can feed this into schedgraph.py (and you
can too!) to figure out what's going on.

Maybe things aren't being scheduled correctly and the added latency is
killing performance?


You might also try switching to SCHED_ULE to see if it helps.

Although, in the last few months as mav has been converging the 2 I've
started to see the same problems I saw on my desktop systems previously
re-appear even using ULE. For example, if I'm watching an AVI with VLC
and start doing anything that generates a lot of interrupts (like moving
large quantities of data from one disk to another) the video and sound
start to skip. Also, various other desktop features (like menus, window
switching, etc.) start to take measurable time to happen, sometimes
seconds.

... and lest you think this is just a desktop problem, I've seen the
same scenario on 8.x systems used as web servers. With ULE they were
frequently getting into peak load situations that created what I called
mini thundering herd problems where they could never quite get caught
up. Whereas switching to 4BSD the same servers got into high-load
situations less often, and they recovered on their own in minutes.


It is quite pointless to speculate without real info like mentioned
above KTR_SCHED traces.


I'm sorry, you're quite wrong about that. In the cases I mentioned, and
in about 2 out of 3 of the cases where users reported problems and I
suggested that they try 4BSD, the results were clear. This obviously
points out that there is a serious problem with ULE, and if I were the
one who was responsible for that code I would be looking at ways of
helping users figure out where the problems are. But that's just me.


I am not telling anything bad about 4BSD. Choice is provided because 
they are indeed different and none is perfect. 4BSD also has problems. 
What I would like to say is that if we want to improve situation, we 
need more detailed info then just verbal description. I am not telling 
that ULE is perfect. I went there because I've seen problems, and I am 
still fixing some pieces. I am just trying to explain described behavior 
from the point of my knowledge about it, hoping that it may help 
somebody to set up some new experiments or try some tuning/fixing.


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


[head tinderbox] failure on sparc64/sparc64

2012-08-20 Thread FreeBSD Tinderbox
TB --- 2012-08-20 08:58:06 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-08-20 08:58:06 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-08-20 08:58:06 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2012-08-20 08:58:06 - cleaning the object tree
TB --- 2012-08-20 08:58:06 - cvsupping the source tree
TB --- 2012-08-20 08:58:07 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/sparc64/sparc64/supfile
TB --- 2012-08-20 08:58:57 - building world
TB --- 2012-08-20 08:58:57 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 08:58:57 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 08:58:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 08:58:57 - SRCCONF=/dev/null
TB --- 2012-08-20 08:58:57 - TARGET=sparc64
TB --- 2012-08-20 08:58:57 - TARGET_ARCH=sparc64
TB --- 2012-08-20 08:58:57 - TZ=UTC
TB --- 2012-08-20 08:58:57 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 08:58:57 - cd /src
TB --- 2012-08-20 08:58:57 - /usr/bin/make -B buildworld
 World build started on Mon Aug 20 08:58:58 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Mon Aug 20 10:01:29 UTC 2012
TB --- 2012-08-20 10:01:29 - generating LINT kernel config
TB --- 2012-08-20 10:01:29 - cd /src/sys/sparc64/conf
TB --- 2012-08-20 10:01:29 - /usr/bin/make -B LINT
TB --- 2012-08-20 10:01:29 - cd /src/sys/sparc64/conf
TB --- 2012-08-20 10:01:29 - /usr/sbin/config -m LINT
TB --- 2012-08-20 10:01:29 - building LINT kernel
TB --- 2012-08-20 10:01:29 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 10:01:29 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 10:01:29 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 10:01:29 - SRCCONF=/dev/null
TB --- 2012-08-20 10:01:29 - TARGET=sparc64
TB --- 2012-08-20 10:01:29 - TARGET_ARCH=sparc64
TB --- 2012-08-20 10:01:29 - TZ=UTC
TB --- 2012-08-20 10:01:29 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 10:01:29 - cd /src
TB --- 2012-08-20 10:01:29 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Aug 20 10:01:29 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  /src/sys/dev/ath/if_ath_tx.c 
-I/src/sys/dev/ath
/src/sys/dev/ath/if_ath_tx.c: In function 'ath_tx_chaindesclist':
/src/sys/dev/ath/if_ath_tx.c:379: error: 'ATH_DEBUG_XMIT' undeclared (first use 
in this function)
/src/sys/dev/ath/if_ath_tx.c:379: error: (Each undeclared identifier is 
reported only once
/src/sys/dev/ath/if_ath_tx.c:379: error: for each function it appears in.)
cc1: warnings being treated as errors
/src/sys/dev/ath/if_ath_tx.c:380: warning: implicit declaration of function 
'ath_printtxbuf'
/src/sys/dev/ath/if_ath_tx.c:380: warning: nested extern declaration of 
'ath_printtxbuf' [-Wnested-externs]
*** Error code 1

Stop in /obj/sparc64.sparc64/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2012-08-20 10:06:02 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2012-08-20 10:06:02 - ERROR: failed to build LINT kernel
TB --- 2012-08-20 10:06:02 - 3160.90 user 562.65 system 4076.09 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-sparc64-sparc64.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: CURRENT as gateway on not-so-fast hardware: where is a bottlneck?

2012-08-20 Thread Doug Barton
On 08/20/2012 02:59, Alexander Motin wrote:
 On 20.08.2012 11:32, Doug Barton wrote:
 On 08/15/2012 03:18, Alexander Motin wrote:
 On 15.08.2012 03:09, Doug Barton wrote:
 On 08/14/2012 12:20 PM, Adrian Chadd wrote:
 Would you be willing to compile a kernel with KTR so you can capture
 some KTR scheduler dumps?

 That way the scheduler peeps can feed this into schedgraph.py (and you
 can too!) to figure out what's going on.

 Maybe things aren't being scheduled correctly and the added latency is
 killing performance?

 You might also try switching to SCHED_ULE to see if it helps.

 Although, in the last few months as mav has been converging the 2 I've
 started to see the same problems I saw on my desktop systems previously
 re-appear even using ULE. For example, if I'm watching an AVI with VLC
 and start doing anything that generates a lot of interrupts (like
 moving
 large quantities of data from one disk to another) the video and sound
 start to skip. Also, various other desktop features (like menus, window
 switching, etc.) start to take measurable time to happen, sometimes
 seconds.

 ... and lest you think this is just a desktop problem, I've seen the
 same scenario on 8.x systems used as web servers. With ULE they were
 frequently getting into peak load situations that created what I called
 mini thundering herd problems where they could never quite get caught
 up. Whereas switching to 4BSD the same servers got into high-load
 situations less often, and they recovered on their own in minutes.

 It is quite pointless to speculate without real info like mentioned
 above KTR_SCHED traces.

 I'm sorry, you're quite wrong about that. In the cases I mentioned, and
 in about 2 out of 3 of the cases where users reported problems and I
 suggested that they try 4BSD, the results were clear. This obviously
 points out that there is a serious problem with ULE, and if I were the
 one who was responsible for that code I would be looking at ways of
 helping users figure out where the problems are. But that's just me.
 
 I am not telling anything bad about 4BSD.

Yes, I get that, but thanks for making it clear.

 Choice is provided because
 they are indeed different and none is perfect.

... which is why I'm asking you to stop making them more the same until
we get a better idea of what the issues are.

 What I would like to say is that if we want to improve situation, we
 need more detailed info then just verbal description.

And what I'm saying is that the only realistic way that you're going to
get that information that you need is to make it easier for users to
give it to you. I don't know what form that is going to need to take, I
don't know anything about schedulers.

 I am not telling
 that ULE is perfect. I went there because I've seen problems, and I am
 still fixing some pieces. I am just trying to explain described behavior
 from the point of my knowledge about it, hoping that it may help
 somebody to set up some new experiments or try some tuning/fixing.

Yes, I think it's great that you're doing this work. I'm glad to see
that someone is improving ULE. It clearly needs it. :)

Doug

-- 

I am only one, but I am one.  I cannot do everything, but I can do
something.  And I will not let what I cannot do interfere with what
I can do.
-- Edward Everett Hale, (1822 - 1909)
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on powerpc64/powerpc

2012-08-20 Thread FreeBSD Tinderbox
TB --- 2012-08-20 07:45:14 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-08-20 07:45:14 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-08-20 07:45:14 - starting HEAD tinderbox run for powerpc64/powerpc
TB --- 2012-08-20 07:45:14 - cleaning the object tree
TB --- 2012-08-20 07:45:14 - cvsupping the source tree
TB --- 2012-08-20 07:45:14 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc64/powerpc/supfile
TB --- 2012-08-20 07:46:54 - building world
TB --- 2012-08-20 07:46:54 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 07:46:54 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 07:46:54 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 07:46:54 - SRCCONF=/dev/null
TB --- 2012-08-20 07:46:54 - TARGET=powerpc
TB --- 2012-08-20 07:46:54 - TARGET_ARCH=powerpc64
TB --- 2012-08-20 07:46:54 - TZ=UTC
TB --- 2012-08-20 07:46:54 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 07:46:54 - cd /src
TB --- 2012-08-20 07:46:54 - /usr/bin/make -B buildworld
 World build started on Mon Aug 20 07:46:55 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 stage 5.1: building 32 bit shim libraries
 World build completed on Mon Aug 20 10:30:00 UTC 2012
TB --- 2012-08-20 10:30:00 - generating LINT kernel config
TB --- 2012-08-20 10:30:00 - cd /src/sys/powerpc/conf
TB --- 2012-08-20 10:30:00 - /usr/bin/make -B LINT
TB --- 2012-08-20 10:30:00 - cd /src/sys/powerpc/conf
TB --- 2012-08-20 10:30:00 - /usr/sbin/config -m LINT
TB --- 2012-08-20 10:30:00 - building LINT kernel
TB --- 2012-08-20 10:30:00 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 10:30:00 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 10:30:00 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 10:30:00 - SRCCONF=/dev/null
TB --- 2012-08-20 10:30:00 - TARGET=powerpc
TB --- 2012-08-20 10:30:00 - TARGET_ARCH=powerpc64
TB --- 2012-08-20 10:30:00 - TZ=UTC
TB --- 2012-08-20 10:30:00 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 10:30:00 - cd /src
TB --- 2012-08-20 10:30:00 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Aug 20 10:30:00 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many 
-fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc -ffreestanding 
-fstack-protector -Werror  /src/sys/dev/ath/if_ath_tx.c -I/src/sys/dev/ath
/src/sys/dev/ath/if_ath_tx.c: In function 'ath_tx_chaindesclist':
/src/sys/dev/ath/if_ath_tx.c:379: error: 'ATH_DEBUG_XMIT' undeclared (first use 
in this function)
/src/sys/dev/ath/if_ath_tx.c:379: error: (Each undeclared identifier is 
reported only once
/src/sys/dev/ath/if_ath_tx.c:379: error: for each function it appears in.)
cc1: warnings being treated as errors
/src/sys/dev/ath/if_ath_tx.c:380: warning: implicit declaration of function 
'ath_printtxbuf'
/src/sys/dev/ath/if_ath_tx.c:380: warning: nested extern declaration of 
'ath_printtxbuf' [-Wnested-externs]
*** Error code 1

Stop in /obj/powerpc.powerpc64/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2012-08-20 10:33:27 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2012-08-20 10:33:27 - ERROR: failed to build LINT kernel
TB --- 2012-08-20 10:33:27 - 8312.90 user 1128.27 system 10092.84 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc64-powerpc.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: make package fails in chroot: tar: getvfsbyname failed: No such file or directory

2012-08-20 Thread Bernhard Fröhlich
On Sun, Aug 19, 2012 at 10:01 PM, Tim Kientzle t...@kientzle.com wrote:

 On Aug 19, 2012, at 12:17 PM, Garrett Cooper wrote:

 On Sun, Aug 19, 2012 at 9:45 AM, Tim Kientzle t...@kientzle.com wrote:

 On Aug 12, 2012, at 6:20 AM, Paul Schenkeveld wrote:

 Hi,

 I have a wrapper script that builds packages in a chroot environment
 which happily runs on release 6 thru 9 and earlier 10 but fails with:

 tar: getvfsbyname failed: No such file or directory

 on a recent -CURRENT.

 libarchive does do an initial getvfsbyname() when you ask it
 to traverse a directory tree so that it can accurately handle later
 requests about mountpoints and filesystem types.  This code
 is admittedly a little intricate.

The problem most likely is the fact that all mountpoints are
 exposed via chroot, thus, if it's checking to see if a mountpoint
 exists, it may exist outside of the chroot.


 I reviewed the code to refresh my memory.   Some
 of what I said before was not quite right.

 Libarchive's directory traversal tracks information about
 the filesystem type so that clients such as bsdtar can
 efficiently skip synthetic filesystems (/dev or /proc) or
 network filesystems (NFS or SMB mounts).

 The net effect is something like this:

For each file:
stat() or lstat() or fstat() the file
look up dev number in an internal cache
if the dev number is new:
 fstatfs() the open fd to get the FS name
 getvfsbyname() to identify the FS type

 Unless there's a logic error in libarchive itself, this
 would suggest that somehow fstatfs() is returning
 a filesystem type that getvfsbyname() can't
 identify.

 Paul:
 What filesystem are you using?

 What does mount show?

 Does it work outside the chroot?

I also see the same on the redports.org build machines.
It builds within a jail there which is completely on a tmpfs.
Interestinly everything is fine with a 10-CURRENT/amd64
jail but it breaks in a 10-CURRENT/i386 jail. Both are
running on the same 10-CURRENT/amd64 which is
around 2 months old.

https://redports.org/buildarchive/20120814130205-56327/

-- 
Bernhard Froehlich
http://www.bluelife.at/
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


FreeBSD buildkernel fails @r239409 in sys/dev/ath/if_ath_tx.c

2012-08-20 Thread David Wolfskill
This is using clang:

...
 stage 3.2: building everything
cd /usr/obj/usr/src/sys/CANARY; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  
MACHINE=i386  CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin  
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font  
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac  
_SHLIBDIRPREFIX=/usr/obj/usr/src/tmp  _LDSCRIPTROOT=  VERSION=FreeBSD 
10.0-CURRENT i386 117  INSTALL=sh /usr/src/tools/install.sh  
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 /usr/obj/usr/src/make.i386/make KERNEL=kernel all -DNO_MODULES_OBJ
clang -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option  -Wno-error-tautological-compare 
-Wno-error-empty-body  -Wno-error-parentheses-equality -nostdinc  -I. 
-I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -mno-aes -mno-avx -mno-mmx 
-mno-sse -msoft-float -ffreestanding -fstack-protector -Werror  
/usr/src/sys/dev/ath/if_ath_tx.c -I/usr/src/sys/dev/ath
/usr/src/sys/dev/ath/if_ath_tx.c:379:22: error: use of undeclared identifier
  'ATH_DEBUG_XMIT'
if (sc-sc_debug  ATH_DEBUG_XMIT)
   ^
/usr/src/sys/dev/ath/if_ath_tx.c:380:4: error: implicit declaration of function
  'ath_printtxbuf' is invalid in C99
  [-Werror,-Wimplicit-function-declaration]
ath_printtxbuf(sc, bf, qnum, 0, 0);
^
2 errors generated.
*** [if_ath_tx.o] Error code 1

Stop in /common/S4/obj/usr/src/sys/CANARY.
*** [buildkernel] Error code 1

Stop in /usr/src.
*** [buildkernel] Error code 1

Stop in /usr/src.

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


pgpVFjoMMxIa9.pgp
Description: PGP signature


[head tinderbox] failure on arm/arm

2012-08-20 Thread FreeBSD Tinderbox
TB --- 2012-08-20 10:40:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-08-20 10:40:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-08-20 10:40:00 - starting HEAD tinderbox run for arm/arm
TB --- 2012-08-20 10:40:00 - cleaning the object tree
TB --- 2012-08-20 10:40:00 - cvsupping the source tree
TB --- 2012-08-20 10:40:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/arm/arm/supfile
TB --- 2012-08-20 10:41:06 - building world
TB --- 2012-08-20 10:41:06 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 10:41:06 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 10:41:06 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 10:41:06 - SRCCONF=/dev/null
TB --- 2012-08-20 10:41:06 - TARGET=arm
TB --- 2012-08-20 10:41:06 - TARGET_ARCH=arm
TB --- 2012-08-20 10:41:06 - TZ=UTC
TB --- 2012-08-20 10:41:06 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 10:41:06 - cd /src
TB --- 2012-08-20 10:41:06 - /usr/bin/make -B buildworld
 World build started on Mon Aug 20 10:41:07 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Mon Aug 20 11:43:37 UTC 2012
TB --- 2012-08-20 11:43:37 - cd /src/sys/arm/conf
TB --- 2012-08-20 11:43:37 - /usr/sbin/config -m ARMADAXP
TB --- 2012-08-20 11:43:37 - skipping ARMADAXP kernel
TB --- 2012-08-20 11:43:37 - cd /src/sys/arm/conf
TB --- 2012-08-20 11:43:37 - /usr/sbin/config -m ATMEL
TB --- 2012-08-20 11:43:37 - building ATMEL kernel
TB --- 2012-08-20 11:43:37 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 11:43:37 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 11:43:37 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 11:43:37 - SRCCONF=/dev/null
TB --- 2012-08-20 11:43:37 - TARGET=arm
TB --- 2012-08-20 11:43:37 - TARGET_ARCH=arm
TB --- 2012-08-20 11:43:37 - TZ=UTC
TB --- 2012-08-20 11:43:37 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 11:43:37 - cd /src
TB --- 2012-08-20 11:43:37 - /usr/bin/make -B buildkernel KERNCONF=ATMEL
 Kernel build for ATMEL started on Mon Aug 20 11:43:37 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 Kernel build for ATMEL completed on Mon Aug 20 11:47:11 UTC 2012
TB --- 2012-08-20 11:47:11 - cd /src/sys/arm/conf
TB --- 2012-08-20 11:47:11 - /usr/sbin/config -m AVILA
TB --- 2012-08-20 11:47:11 - skipping AVILA kernel
TB --- 2012-08-20 11:47:11 - cd /src/sys/arm/conf
TB --- 2012-08-20 11:47:11 - /usr/sbin/config -m BEAGLEBONE
TB --- 2012-08-20 11:47:11 - skipping BEAGLEBONE kernel
TB --- 2012-08-20 11:47:11 - cd /src/sys/arm/conf
TB --- 2012-08-20 11:47:11 - /usr/sbin/config -m BWCT
TB --- 2012-08-20 11:47:11 - building BWCT kernel
TB --- 2012-08-20 11:47:11 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 11:47:11 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 11:47:11 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 11:47:11 - SRCCONF=/dev/null
TB --- 2012-08-20 11:47:11 - TARGET=arm
TB --- 2012-08-20 11:47:11 - TARGET_ARCH=arm
TB --- 2012-08-20 11:47:11 - TZ=UTC
TB --- 2012-08-20 11:47:11 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 11:47:11 - cd /src
TB --- 2012-08-20 11:47:11 - /usr/bin/make -B buildkernel KERNCONF=BWCT
 Kernel build for BWCT started on Mon Aug 20 11:47:11 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 Kernel build for BWCT completed on Mon Aug 20 11:49:21 UTC 2012
TB --- 2012-08-20 11:49:21 - cd /src/sys/arm/conf
TB --- 2012-08-20 11:49:21 - /usr/sbin/config -m CAMBRIA
TB --- 2012-08-20 11:49:21 - skipping CAMBRIA kernel
TB --- 2012-08-20 11:49:21 - cd /src/sys/arm/conf
TB --- 2012-08-20 11:49:21 - /usr/sbin/config -m CNS11XXNAS
TB --- 2012-08-20 11:49:21 - building CNS11XXNAS kernel
TB --- 2012-08-20 11:49:21 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 11:49:21 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 11:49:21 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 11:49:21 - SRCCONF=/dev/null
TB --- 2012-08-20 11:49:21 - TARGET=arm
TB --- 2012-08-20 11:49:21 - TARGET_ARCH=arm
TB --- 2012-08-20 11:49:21 - TZ=UTC
TB --- 2012-08-20 11:49:21 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 11:49:21 - cd /src
TB --- 2012-08-20 11:49:21 - /usr/bin/make -B buildkernel KERNCONF=CNS11XXNAS
 Kernel build for CNS11XXNAS started on Mon Aug 20 11:49:21 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: 

Re: kernel page fult for a valid pointer?

2012-08-20 Thread John Baldwin
On Saturday, August 18, 2012 2:29:26 pm Monthadar Al Jaberi wrote:
 Hi,
 
 I am wondering is there a reason for getting Fatal trap 12: page
 fault while in kernel mode supervisor read, page not present for an
 address used to be valid in kernel space?
 
 I dont really understand why I am getting this, I added a hardware
 watchpoint on the address, and when I got to the debuger I could read
 the memory content and dump for that address. But when I continue from
 the debugger I get the panic and now when I try to read the memory
 content I get *** error reading from address ce733000 ***.

Whatever memory was there might have been unmapped?  For example,
memory pointed to by I/O buffers (struct buf/bio) use transient
mappings that are only valid while an I/O request is in progress.

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


Re: BUFSIZ = 1024, still ?

2012-08-20 Thread John Baldwin
On Saturday, August 18, 2012 5:36:46 pm Poul-Henning Kamp wrote:
 In message 50300540.9060...@feral.com, Matthew Jacob writes:
 If you're going to talk about making a change to defaults, the default 
 MAXPHYS and DLFTPHYS have been undersized for years now.
 
 Indeed, but as I understand it, those require device driver changes ?

Scott already made the device driver changes for MAXPHYS and there are
various shops with run with a raised MAXPHYS already.

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


Re: make package fails in chroot: tar: getvfsbyname failed: No such file or directory

2012-08-20 Thread Konstantin Belousov
On Mon, Aug 20, 2012 at 01:42:31PM +0200, Bernhard Fr?hlich wrote:
 On Sun, Aug 19, 2012 at 10:01 PM, Tim Kientzle t...@kientzle.com wrote:
 
  On Aug 19, 2012, at 12:17 PM, Garrett Cooper wrote:
 
  On Sun, Aug 19, 2012 at 9:45 AM, Tim Kientzle t...@kientzle.com wrote:
 
  On Aug 12, 2012, at 6:20 AM, Paul Schenkeveld wrote:
 
  Hi,
 
  I have a wrapper script that builds packages in a chroot environment
  which happily runs on release 6 thru 9 and earlier 10 but fails with:
 
  tar: getvfsbyname failed: No such file or directory
 
  on a recent -CURRENT.
 
  libarchive does do an initial getvfsbyname() when you ask it
  to traverse a directory tree so that it can accurately handle later
  requests about mountpoints and filesystem types.  This code
  is admittedly a little intricate.
 
 The problem most likely is the fact that all mountpoints are
  exposed via chroot, thus, if it's checking to see if a mountpoint
  exists, it may exist outside of the chroot.
 
 
  I reviewed the code to refresh my memory.   Some
  of what I said before was not quite right.
 
  Libarchive's directory traversal tracks information about
  the filesystem type so that clients such as bsdtar can
  efficiently skip synthetic filesystems (/dev or /proc) or
  network filesystems (NFS or SMB mounts).
 
  The net effect is something like this:
 
 For each file:
 stat() or lstat() or fstat() the file
 look up dev number in an internal cache
 if the dev number is new:
  fstatfs() the open fd to get the FS name
  getvfsbyname() to identify the FS type
 
  Unless there's a logic error in libarchive itself, this
  would suggest that somehow fstatfs() is returning
  a filesystem type that getvfsbyname() can't
  identify.
 
  Paul:
  What filesystem are you using?
 
  What does mount show?
 
  Does it work outside the chroot?
 
 I also see the same on the redports.org build machines.
 It builds within a jail there which is completely on a tmpfs.
 Interestinly everything is fine with a 10-CURRENT/amd64
 jail but it breaks in a 10-CURRENT/i386 jail. Both are
 running on the same 10-CURRENT/amd64 which is
 around 2 months old.
 
 https://redports.org/buildarchive/20120814130205-56327/

Try this.

diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 1d6136a..631d3f2 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -41,6 +41,7 @@
 #include sys/cdefs.h
 __FBSDID($FreeBSD$);
 
+#include opt_compat.h
 #include opt_ddb.h
 #include opt_watchdog.h
 
@@ -3111,21 +3112,49 @@ DB_SHOW_COMMAND(mount, db_show_mount)
 /*
  * Fill in a struct xvfsconf based on a struct vfsconf.
  */
-static void
-vfsconf2x(struct vfsconf *vfsp, struct xvfsconf *xvfsp)
+static int
+vfsconf2x(struct sysctl_req *req, struct vfsconf *vfsp)
 {
+   struct xvfsconf xvfsp;
 
-   strcpy(xvfsp-vfc_name, vfsp-vfc_name);
-   xvfsp-vfc_typenum = vfsp-vfc_typenum;
-   xvfsp-vfc_refcount = vfsp-vfc_refcount;
-   xvfsp-vfc_flags = vfsp-vfc_flags;
+   bzero(xvfsp, sizeof(xvfsp));
+   strcpy(xvfsp.vfc_name, vfsp-vfc_name);
+   xvfsp.vfc_typenum = vfsp-vfc_typenum;
+   xvfsp.vfc_refcount = vfsp-vfc_refcount;
+   xvfsp.vfc_flags = vfsp-vfc_flags;
/*
 * These are unused in userland, we keep them
 * to not break binary compatibility.
 */
-   xvfsp-vfc_vfsops = NULL;
-   xvfsp-vfc_next = NULL;
+   xvfsp.vfc_vfsops = NULL;
+   xvfsp.vfc_next = NULL;
+   return (SYSCTL_OUT(req, xvfsp, sizeof(xvfsp)));
+}
+
+#ifdef COMPAT_FREEBSD32
+struct xvfsconf32 {
+   uint32_tvfc_vfsops;
+   charvfc_name[MFSNAMELEN];
+   int32_t vfc_typenum;
+   int32_t vfc_refcount;
+   int32_t vfc_flags;
+   uint32_tvfc_next;
+};
+
+static int
+vfsconf2x32(struct sysctl_req *req, struct vfsconf *vfsp)
+{
+   struct xvfsconf32 xvfsp;
+
+   strcpy(xvfsp.vfc_name, vfsp-vfc_name);
+   xvfsp.vfc_typenum = vfsp-vfc_typenum;
+   xvfsp.vfc_refcount = vfsp-vfc_refcount;
+   xvfsp.vfc_flags = vfsp-vfc_flags;
+   xvfsp.vfc_vfsops = 0;
+   xvfsp.vfc_next = 0;
+   return (SYSCTL_OUT(req, xvfsp, sizeof(xvfsp)));
 }
+#endif
 
 /*
  * Top level filesystem related information gathering.
@@ -3134,14 +3163,16 @@ static int
 sysctl_vfs_conflist(SYSCTL_HANDLER_ARGS)
 {
struct vfsconf *vfsp;
-   struct xvfsconf xvfsp;
int error;
 
error = 0;
TAILQ_FOREACH(vfsp, vfsconf, vfc_list) {
-   bzero(xvfsp, sizeof(xvfsp));
-   vfsconf2x(vfsp, xvfsp);
-   error = SYSCTL_OUT(req, xvfsp, sizeof xvfsp);
+#ifdef COMPAT_FREEBSD32
+   if (req-flags  SCTL_MASK32)
+   error = vfsconf2x32(req, vfsp);
+   else
+#endif
+   error = vfsconf2x(req, vfsp);
if (error)
break;
}
@@ -3161,7 +3192,6 @@ 

Re: BUFSIZ = 1024, still ?

2012-08-20 Thread John Baldwin
On Saturday, August 18, 2012 5:05:11 pm Poul-Henning Kamp wrote:
 In message 5030033b.4060...@feral.com, Matthew Jacob writes:
 On 8/18/2012 1:32 PM, Poul-Henning Kamp wrote:
  Shouldn't we at least increase it to pagesize ?
 
 What data suggests to you it would be better at pagesize?
 
 The number of system calls to fwrite() a big file ?

Have you looked at an actual ktrace? :)  stdio doesn't use BUFSIZ for
regular files:

head/lib/libc/stdio/makebuf.c:
/*
 * Internal routine to determine `proper' buffering for a file.
 */
int
__swhatbuf(fp, bufsize, couldbetty)
FILE *fp;
size_t *bufsize;
int *couldbetty;
{
struct stat st;

if (fp-_file  0 || _fstat(fp-_file, st)  0) {
   ...
*bufsize = BUFSIZ;
return (__SNPT);
}

...
if (st.st_blksize = 0) {
*bufsize = BUFSIZ;
return (__SNPT);
}

*bufsize = st.st_blksize;
...
}

For a regular file stdio will use the filesystem's block size, not BUFSIZ.

Test program:

#include stdio.h
#include err.h

int
main(int ac, char **av)
{
char junk;
FILE *fp;
int i;

fp = fopen(/tmp/junk, w);
if (fp == NULL)
err(1, fopen);
for (i = 0; i  1024 * 1024; i++)
if (fwrite(junk, sizeof(junk), 1, fp) != 1)
errx(1, fwrite failed);
return (0);
}

ktrace excerpt:

 42599 a.outCALL  write(0x3,0x800a04000,0x4000)
 42599 a.outRET   write 16384/0x4000
 42599 a.outCALL  write(0x3,0x800a04000,0x4000)
 42599 a.outRET   write 16384/0x4000
 42599 a.outCALL  write(0x3,0x800a04000,0x4000)
 42599 a.outRET   write 16384/0x4000
 42599 a.outCALL  write(0x3,0x800a04000,0x4000)
 42599 a.outRET   write 16384/0x4000
 42599 a.outCALL  write(0x3,0x800a04000,0x4000)
 42599 a.outRET   write 16384/0x4000
 42599 a.outCALL  write(0x3,0x800a04000,0x4000)
 42599 a.outRET   write 16384/0x4000

This hint also works for pipes (they set st_blksize to PAGE_SIZE).  Given 
that, I think BUFSIZ should just be left alone.

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


[head tinderbox] failure on i386/pc98

2012-08-20 Thread FreeBSD Tinderbox
TB --- 2012-08-20 10:40:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-08-20 10:40:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-08-20 10:40:00 - starting HEAD tinderbox run for i386/pc98
TB --- 2012-08-20 10:40:00 - cleaning the object tree
TB --- 2012-08-20 10:40:00 - cvsupping the source tree
TB --- 2012-08-20 10:40:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/pc98/supfile
TB --- 2012-08-20 10:41:06 - building world
TB --- 2012-08-20 10:41:06 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 10:41:06 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 10:41:06 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 10:41:06 - SRCCONF=/dev/null
TB --- 2012-08-20 10:41:06 - TARGET=pc98
TB --- 2012-08-20 10:41:06 - TARGET_ARCH=i386
TB --- 2012-08-20 10:41:06 - TZ=UTC
TB --- 2012-08-20 10:41:06 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 10:41:06 - cd /src
TB --- 2012-08-20 10:41:06 - /usr/bin/make -B buildworld
 World build started on Mon Aug 20 10:41:07 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Mon Aug 20 13:13:46 UTC 2012
TB --- 2012-08-20 13:13:46 - generating LINT kernel config
TB --- 2012-08-20 13:13:46 - cd /src/sys/pc98/conf
TB --- 2012-08-20 13:13:46 - /usr/bin/make -B LINT
TB --- 2012-08-20 13:13:46 - cd /src/sys/pc98/conf
TB --- 2012-08-20 13:13:46 - /usr/sbin/config -m LINT
TB --- 2012-08-20 13:13:46 - building LINT kernel
TB --- 2012-08-20 13:13:46 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 13:13:46 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 13:13:46 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 13:13:46 - SRCCONF=/dev/null
TB --- 2012-08-20 13:13:46 - TARGET=pc98
TB --- 2012-08-20 13:13:46 - TARGET_ARCH=i386
TB --- 2012-08-20 13:13:46 - TZ=UTC
TB --- 2012-08-20 13:13:46 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 13:13:46 - cd /src
TB --- 2012-08-20 13:13:46 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Aug 20 13:13:46 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/dev/ath/if_ath_tx.c -I/src/sys/dev/ath
/src/sys/dev/ath/if_ath_tx.c: In function 'ath_tx_chaindesclist':
/src/sys/dev/ath/if_ath_tx.c:379: error: 'ATH_DEBUG_XMIT' undeclared (first use 
in this function)
/src/sys/dev/ath/if_ath_tx.c:379: error: (Each undeclared identifier is 
reported only once
/src/sys/dev/ath/if_ath_tx.c:379: error: for each function it appears in.)
cc1: warnings being treated as errors
/src/sys/dev/ath/if_ath_tx.c:380: warning: implicit declaration of function 
'ath_printtxbuf'
/src/sys/dev/ath/if_ath_tx.c:380: warning: nested extern declaration of 
'ath_printtxbuf' [-Wnested-externs]
*** Error code 1

Stop in /obj/pc98.i386/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2012-08-20 13:21:40 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2012-08-20 13:21:40 - ERROR: failed to build LINT kernel
TB --- 2012-08-20 13:21:40 - 6715.01 user 964.95 system 9699.93 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-pc98.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on i386/i386

2012-08-20 Thread FreeBSD Tinderbox
TB --- 2012-08-20 10:40:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-08-20 10:40:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-08-20 10:40:00 - starting HEAD tinderbox run for i386/i386
TB --- 2012-08-20 10:40:00 - cleaning the object tree
TB --- 2012-08-20 10:40:00 - cvsupping the source tree
TB --- 2012-08-20 10:40:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/i386/supfile
TB --- 2012-08-20 10:47:13 - building world
TB --- 2012-08-20 10:47:13 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 10:47:13 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 10:47:13 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 10:47:13 - SRCCONF=/dev/null
TB --- 2012-08-20 10:47:13 - TARGET=i386
TB --- 2012-08-20 10:47:13 - TARGET_ARCH=i386
TB --- 2012-08-20 10:47:13 - TZ=UTC
TB --- 2012-08-20 10:47:13 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 10:47:13 - cd /src
TB --- 2012-08-20 10:47:13 - /usr/bin/make -B buildworld
 World build started on Mon Aug 20 10:47:14 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Mon Aug 20 13:15:30 UTC 2012
TB --- 2012-08-20 13:15:30 - generating LINT kernel config
TB --- 2012-08-20 13:15:30 - cd /src/sys/i386/conf
TB --- 2012-08-20 13:15:30 - /usr/bin/make -B LINT
TB --- 2012-08-20 13:15:31 - cd /src/sys/i386/conf
TB --- 2012-08-20 13:15:31 - /usr/sbin/config -m LINT
TB --- 2012-08-20 13:15:31 - building LINT kernel
TB --- 2012-08-20 13:15:31 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 13:15:31 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 13:15:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 13:15:31 - SRCCONF=/dev/null
TB --- 2012-08-20 13:15:31 - TARGET=i386
TB --- 2012-08-20 13:15:31 - TARGET_ARCH=i386
TB --- 2012-08-20 13:15:31 - TZ=UTC
TB --- 2012-08-20 13:15:31 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 13:15:31 - cd /src
TB --- 2012-08-20 13:15:31 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Aug 20 13:15:31 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/dev/ath/if_ath_tx.c -I/src/sys/dev/ath
/src/sys/dev/ath/if_ath_tx.c: In function 'ath_tx_chaindesclist':
/src/sys/dev/ath/if_ath_tx.c:379: error: 'ATH_DEBUG_XMIT' undeclared (first use 
in this function)
/src/sys/dev/ath/if_ath_tx.c:379: error: (Each undeclared identifier is 
reported only once
/src/sys/dev/ath/if_ath_tx.c:379: error: for each function it appears in.)
cc1: warnings being treated as errors
/src/sys/dev/ath/if_ath_tx.c:380: warning: implicit declaration of function 
'ath_printtxbuf'
/src/sys/dev/ath/if_ath_tx.c:380: warning: nested extern declaration of 
'ath_printtxbuf' [-Wnested-externs]
*** Error code 1

Stop in /obj/i386.i386/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2012-08-20 13:24:39 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2012-08-20 13:24:39 - ERROR: failed to build LINT kernel
TB --- 2012-08-20 13:24:39 - 6804.70 user 970.36 system 9878.36 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-i386.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: CURRENT as gateway on not-so-fast hardware: where is a bottlneck?

2012-08-20 Thread Alexander Motin

On 20.08.2012 13:25, Doug Barton wrote:

On 08/20/2012 02:59, Alexander Motin wrote:

On 20.08.2012 11:32, Doug Barton wrote:

On 08/15/2012 03:18, Alexander Motin wrote:

On 15.08.2012 03:09, Doug Barton wrote:

On 08/14/2012 12:20 PM, Adrian Chadd wrote:

Would you be willing to compile a kernel with KTR so you can capture
some KTR scheduler dumps?

That way the scheduler peeps can feed this into schedgraph.py (and you
can too!) to figure out what's going on.

Maybe things aren't being scheduled correctly and the added latency is
killing performance?


You might also try switching to SCHED_ULE to see if it helps.

Although, in the last few months as mav has been converging the 2 I've
started to see the same problems I saw on my desktop systems previously
re-appear even using ULE. For example, if I'm watching an AVI with VLC
and start doing anything that generates a lot of interrupts (like
moving
large quantities of data from one disk to another) the video and sound
start to skip. Also, various other desktop features (like menus, window
switching, etc.) start to take measurable time to happen, sometimes
seconds.

... and lest you think this is just a desktop problem, I've seen the
same scenario on 8.x systems used as web servers. With ULE they were
frequently getting into peak load situations that created what I called
mini thundering herd problems where they could never quite get caught
up. Whereas switching to 4BSD the same servers got into high-load
situations less often, and they recovered on their own in minutes.


It is quite pointless to speculate without real info like mentioned
above KTR_SCHED traces.


I'm sorry, you're quite wrong about that. In the cases I mentioned, and
in about 2 out of 3 of the cases where users reported problems and I
suggested that they try 4BSD, the results were clear. This obviously
points out that there is a serious problem with ULE, and if I were the
one who was responsible for that code I would be looking at ways of
helping users figure out where the problems are. But that's just me.


I am not telling anything bad about 4BSD.


Yes, I get that, but thanks for making it clear.


Choice is provided because
they are indeed different and none is perfect.


... which is why I'm asking you to stop making them more the same until
we get a better idea of what the issues are.


I have no plans to converge them. I've just found problem in ULE, that 
was replicated into 4BSD and it would be strange to fix one without 
another. But fixing it exposed another old problem specific to 4BSD, 
which I fixed reusing logically equivalent code from ULE. I saw no 
reason to reinvent a wheel there, same as to not fix obvious bug. Sure, 
it can change behavior in some way, but ULE is not guilty.


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


Re: kernel page fult for a valid pointer?

2012-08-20 Thread Monthadar Al Jaberi
On Mon, Aug 20, 2012 at 2:04 PM, John Baldwin j...@freebsd.org wrote:
 On Saturday, August 18, 2012 2:29:26 pm Monthadar Al Jaberi wrote:
 Hi,

 I am wondering is there a reason for getting Fatal trap 12: page
 fault while in kernel mode supervisor read, page not present for an
 address used to be valid in kernel space?

 I dont really understand why I am getting this, I added a hardware
 watchpoint on the address, and when I got to the debuger I could read
 the memory content and dump for that address. But when I continue from
 the debugger I get the panic and now when I try to read the memory
 content I get *** error reading from address ce733000 ***.

 Whatever memory was there might have been unmapped?  For example,
 memory pointed to by I/O buffers (struct buf/bio) use transient
 mappings that are only valid while an I/O request is in progress.

Thank you the for the reply, so if a struct gets freed will the page
it was on get un-mapped, so that I cant dump it in debugger? Even
VirtualBox debugger cant dump the memory giving
VERR_PAGE_TABLE_NOT_PRESENT: Reading memory at

In my case it is a struct ieee80211_node which gets freed, but where
does the page get unmaped? I tried doubling the memory in VirtualBox.

br,


 --
 John Baldwin



-- 
Monthadar Al Jaberi
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: BUFSIZ = 1024, still ?

2012-08-20 Thread Matthew Jacob

On 8/20/2012 5:24 AM, John Baldwin wrote:

On Saturday, August 18, 2012 5:05:11 pm Poul-Henning Kamp wrote:

In message 5030033b.4060...@feral.com, Matthew Jacob writes:

On 8/18/2012 1:32 PM, Poul-Henning Kamp wrote:

Shouldn't we at least increase it to pagesize ?


What data suggests to you it would be better at pagesize?

The number of system calls to fwrite() a big file ?

Have you looked at an actual ktrace? :)  stdio doesn't use BUFSIZ for
regular files:

head/lib/libc/stdio/makebuf.c:
/*
  * Internal routine to determine `proper' buffering for a file.
  */
int
__swhatbuf(fp, bufsize, couldbetty)
 FILE *fp;
 size_t *bufsize;
 int *couldbetty;
{
 struct stat st;

 if (fp-_file  0 || _fstat(fp-_file, st)  0) {
...
 *bufsize = BUFSIZ;
 return (__SNPT);
 }

 ...
 if (st.st_blksize = 0) {
 *bufsize = BUFSIZ;
 return (__SNPT);
 }

 *bufsize = st.st_blksize;
 ...
}

For a regular file stdio will use the filesystem's block size, not BUFSIZ.

Test program:

#include stdio.h
#include err.h

int
main(int ac, char **av)
{
 char junk;
 FILE *fp;
 int i;

 fp = fopen(/tmp/junk, w);
 if (fp == NULL)
 err(1, fopen);
 for (i = 0; i  1024 * 1024; i++)
 if (fwrite(junk, sizeof(junk), 1, fp) != 1)
 errx(1, fwrite failed);
 return (0);
}

ktrace excerpt:

  42599 a.outCALL  write(0x3,0x800a04000,0x4000)
  42599 a.outRET   write 16384/0x4000
  42599 a.outCALL  write(0x3,0x800a04000,0x4000)
  42599 a.outRET   write 16384/0x4000
  42599 a.outCALL  write(0x3,0x800a04000,0x4000)
  42599 a.outRET   write 16384/0x4000
  42599 a.outCALL  write(0x3,0x800a04000,0x4000)
  42599 a.outRET   write 16384/0x4000
  42599 a.outCALL  write(0x3,0x800a04000,0x4000)
  42599 a.outRET   write 16384/0x4000
  42599 a.outCALL  write(0x3,0x800a04000,0x4000)
  42599 a.outRET   write 16384/0x4000

This hint also works for pipes (they set st_blksize to PAGE_SIZE).  Given
that, I think BUFSIZ should just be left alone.


Perfect. Data.

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


[head tinderbox] failure on amd64/amd64

2012-08-20 Thread FreeBSD Tinderbox
TB --- 2012-08-20 10:40:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-08-20 10:40:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-08-20 10:40:00 - starting HEAD tinderbox run for amd64/amd64
TB --- 2012-08-20 10:40:00 - cleaning the object tree
TB --- 2012-08-20 10:40:00 - cvsupping the source tree
TB --- 2012-08-20 10:40:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/amd64/amd64/supfile
TB --- 2012-08-20 10:41:03 - building world
TB --- 2012-08-20 10:41:03 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 10:41:03 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 10:41:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 10:41:03 - SRCCONF=/dev/null
TB --- 2012-08-20 10:41:03 - TARGET=amd64
TB --- 2012-08-20 10:41:03 - TARGET_ARCH=amd64
TB --- 2012-08-20 10:41:03 - TZ=UTC
TB --- 2012-08-20 10:41:03 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 10:41:03 - cd /src
TB --- 2012-08-20 10:41:03 - /usr/bin/make -B buildworld
 World build started on Mon Aug 20 10:41:04 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 stage 5.1: building 32 bit shim libraries
 World build completed on Mon Aug 20 13:50:41 UTC 2012
TB --- 2012-08-20 13:50:41 - generating LINT kernel config
TB --- 2012-08-20 13:50:41 - cd /src/sys/amd64/conf
TB --- 2012-08-20 13:50:41 - /usr/bin/make -B LINT
TB --- 2012-08-20 13:50:41 - cd /src/sys/amd64/conf
TB --- 2012-08-20 13:50:41 - /usr/sbin/config -m LINT
TB --- 2012-08-20 13:50:41 - building LINT kernel
TB --- 2012-08-20 13:50:41 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 13:50:41 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 13:50:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 13:50:41 - SRCCONF=/dev/null
TB --- 2012-08-20 13:50:41 - TARGET=amd64
TB --- 2012-08-20 13:50:41 - TARGET_ARCH=amd64
TB --- 2012-08-20 13:50:41 - TZ=UTC
TB --- 2012-08-20 13:50:41 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 13:50:41 - cd /src
TB --- 2012-08-20 13:50:41 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Aug 20 13:50:41 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option   
-nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF 
-fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx 
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding 
-fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/dev/ath/if_ath_tx.c 
-I/src/sys/dev/ath
/src/sys/dev/ath/if_ath_tx.c: In function 'ath_tx_chaindesclist':
/src/sys/dev/ath/if_ath_tx.c:379: error: 'ATH_DEBUG_XMIT' undeclared (first use 
in this function)
/src/sys/dev/ath/if_ath_tx.c:379: error: (Each undeclared identifier is 
reported only once
/src/sys/dev/ath/if_ath_tx.c:379: error: for each function it appears in.)
cc1: warnings being treated as errors
/src/sys/dev/ath/if_ath_tx.c:380: warning: implicit declaration of function 
'ath_printtxbuf'
/src/sys/dev/ath/if_ath_tx.c:380: warning: nested extern declaration of 
'ath_printtxbuf' [-Wnested-externs]
*** Error code 1

Stop in /obj/amd64.amd64/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2012-08-20 13:58:59 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2012-08-20 13:58:59 - ERROR: failed to build LINT kernel
TB --- 2012-08-20 13:58:59 - 8246.30 user 1307.34 system 11939.17 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-amd64-amd64.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on ia64/ia64

2012-08-20 Thread FreeBSD Tinderbox
TB --- 2012-08-20 12:12:32 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-08-20 12:12:32 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-08-20 12:12:32 - starting HEAD tinderbox run for ia64/ia64
TB --- 2012-08-20 12:12:32 - cleaning the object tree
TB --- 2012-08-20 12:12:32 - cvsupping the source tree
TB --- 2012-08-20 12:12:32 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/ia64/ia64/supfile
TB --- 2012-08-20 12:13:11 - building world
TB --- 2012-08-20 12:13:11 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 12:13:11 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 12:13:11 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 12:13:11 - SRCCONF=/dev/null
TB --- 2012-08-20 12:13:11 - TARGET=ia64
TB --- 2012-08-20 12:13:11 - TARGET_ARCH=ia64
TB --- 2012-08-20 12:13:11 - TZ=UTC
TB --- 2012-08-20 12:13:11 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 12:13:11 - cd /src
TB --- 2012-08-20 12:13:11 - /usr/bin/make -B buildworld
 World build started on Mon Aug 20 12:13:12 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Mon Aug 20 13:54:27 UTC 2012
TB --- 2012-08-20 13:54:27 - generating LINT kernel config
TB --- 2012-08-20 13:54:27 - cd /src/sys/ia64/conf
TB --- 2012-08-20 13:54:27 - /usr/bin/make -B LINT
TB --- 2012-08-20 13:54:27 - cd /src/sys/ia64/conf
TB --- 2012-08-20 13:54:27 - /usr/sbin/config -m LINT
TB --- 2012-08-20 13:54:27 - building LINT kernel
TB --- 2012-08-20 13:54:27 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 13:54:27 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 13:54:27 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 13:54:27 - SRCCONF=/dev/null
TB --- 2012-08-20 13:54:27 - TARGET=ia64
TB --- 2012-08-20 13:54:27 - TARGET_ARCH=ia64
TB --- 2012-08-20 13:54:27 - TZ=UTC
TB --- 2012-08-20 13:54:27 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 13:54:27 - cd /src
TB --- 2012-08-20 13:54:27 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Aug 20 13:54:27 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  
/src/sys/dev/ath/if_ath_tx.c -I/src/sys/dev/ath
/src/sys/dev/ath/if_ath_tx.c: In function 'ath_tx_chaindesclist':
/src/sys/dev/ath/if_ath_tx.c:379: error: 'ATH_DEBUG_XMIT' undeclared (first use 
in this function)
/src/sys/dev/ath/if_ath_tx.c:379: error: (Each undeclared identifier is 
reported only once
/src/sys/dev/ath/if_ath_tx.c:379: error: for each function it appears in.)
cc1: warnings being treated as errors
/src/sys/dev/ath/if_ath_tx.c:380: warning: implicit declaration of function 
'ath_printtxbuf'
/src/sys/dev/ath/if_ath_tx.c:380: warning: nested extern declaration of 
'ath_printtxbuf' [-Wnested-externs]
*** Error code 1

Stop in /obj/ia64.ia64/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2012-08-20 14:01:22 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2012-08-20 14:01:22 - ERROR: failed to build LINT kernel
TB --- 2012-08-20 14:01:22 - 4557.75 user 713.62 system 6530.21 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-ia64-ia64.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: FreeBSD buildkernel fails @r239409 in sys/dev/ath/if_ath_tx.c

2012-08-20 Thread Adrian Chadd
Yup, I forgot an #ifdef ATH_DEBUG.

I'll fix it shortly.



Adrian


On 20 August 2012 05:09, David Wolfskill da...@catwhisker.org wrote:
 This is using clang:

 ...
 stage 3.2: building everything
 cd /usr/obj/usr/src/sys/CANARY; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  
 MACHINE=i386  CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin  
 GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font  
 GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac  
 _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp  _LDSCRIPTROOT=  VERSION=FreeBSD 
 10.0-CURRENT i386 117  INSTALL=sh /usr/src/tools/install.sh  
 PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  /usr/obj/usr/src/make.i386/make KERNEL=kernel all -DNO_MODULES_OBJ
 clang -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
 -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
 -Wmissing-include-dirs -fdiagnostics-show-option  
 -Wno-error-tautological-compare -Wno-error-empty-body  
 -Wno-error-parentheses-equality -nostdinc  -I. -I/usr/src/sys 
 -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
 opt_global.h  -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding 
 -fstack-protector -Werror  /usr/src/sys/dev/ath/if_ath_tx.c 
 -I/usr/src/sys/dev/ath
 /usr/src/sys/dev/ath/if_ath_tx.c:379:22: error: use of undeclared identifier
   'ATH_DEBUG_XMIT'
 if (sc-sc_debug  ATH_DEBUG_XMIT)
^
 /usr/src/sys/dev/ath/if_ath_tx.c:380:4: error: implicit declaration of 
 function
   'ath_printtxbuf' is invalid in C99
   [-Werror,-Wimplicit-function-declaration]
 ath_printtxbuf(sc, bf, qnum, 0, 0);
 ^
 2 errors generated.
 *** [if_ath_tx.o] Error code 1

 Stop in /common/S4/obj/usr/src/sys/CANARY.
 *** [buildkernel] Error code 1

 Stop in /usr/src.
 *** [buildkernel] Error code 1

 Stop in /usr/src.

 Peace,
 david
 --
 David H. Wolfskill  da...@catwhisker.org
 Depriving a girl or boy of an opportunity for education is evil.

 See http://www.catwhisker.org/~david/publickey.gpg for my public key.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [head tinderbox] failure on amd64/amd64

2012-08-20 Thread Adrian Chadd
... I'll fix that. Honestly, it built for me..



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


Re: make package fails in chroot: tar: getvfsbyname failed: No such file or directory

2012-08-20 Thread Bernhard Fröhlich
On Mon, Aug 20, 2012 at 2:31 PM, Konstantin Belousov
kostik...@gmail.com wrote:
 On Mon, Aug 20, 2012 at 01:42:31PM +0200, Bernhard Fr?hlich wrote:
 On Sun, Aug 19, 2012 at 10:01 PM, Tim Kientzle t...@kientzle.com wrote:
 
  On Aug 19, 2012, at 12:17 PM, Garrett Cooper wrote:
 
  On Sun, Aug 19, 2012 at 9:45 AM, Tim Kientzle t...@kientzle.com wrote:
 
  On Aug 12, 2012, at 6:20 AM, Paul Schenkeveld wrote:
 
  Hi,
 
  I have a wrapper script that builds packages in a chroot environment
  which happily runs on release 6 thru 9 and earlier 10 but fails with:
 
  tar: getvfsbyname failed: No such file or directory
 
  on a recent -CURRENT.
 
  libarchive does do an initial getvfsbyname() when you ask it
  to traverse a directory tree so that it can accurately handle later
  requests about mountpoints and filesystem types.  This code
  is admittedly a little intricate.
 
 The problem most likely is the fact that all mountpoints are
  exposed via chroot, thus, if it's checking to see if a mountpoint
  exists, it may exist outside of the chroot.
 
 
  I reviewed the code to refresh my memory.   Some
  of what I said before was not quite right.
 
  Libarchive's directory traversal tracks information about
  the filesystem type so that clients such as bsdtar can
  efficiently skip synthetic filesystems (/dev or /proc) or
  network filesystems (NFS or SMB mounts).
 
  The net effect is something like this:
 
 For each file:
 stat() or lstat() or fstat() the file
 look up dev number in an internal cache
 if the dev number is new:
  fstatfs() the open fd to get the FS name
  getvfsbyname() to identify the FS type
 
  Unless there's a logic error in libarchive itself, this
  would suggest that somehow fstatfs() is returning
  a filesystem type that getvfsbyname() can't
  identify.
 
  Paul:
  What filesystem are you using?
 
  What does mount show?
 
  Does it work outside the chroot?

 I also see the same on the redports.org build machines.
 It builds within a jail there which is completely on a tmpfs.
 Interestinly everything is fine with a 10-CURRENT/amd64
 jail but it breaks in a 10-CURRENT/i386 jail. Both are
 running on the same 10-CURRENT/amd64 which is
 around 2 months old.

 https://redports.org/buildarchive/20120814130205-56327/

 Try this.

 diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
 index 1d6136a..631d3f2 100644
 --- a/sys/kern/vfs_subr.c
 +++ b/sys/kern/vfs_subr.c
 @@ -41,6 +41,7 @@
  #include sys/cdefs.h
  __FBSDID($FreeBSD$);

 +#include opt_compat.h
  #include opt_ddb.h
  #include opt_watchdog.h

 @@ -3111,21 +3112,49 @@ DB_SHOW_COMMAND(mount, db_show_mount)
  /*
   * Fill in a struct xvfsconf based on a struct vfsconf.
   */
 -static void
 -vfsconf2x(struct vfsconf *vfsp, struct xvfsconf *xvfsp)
 +static int
 +vfsconf2x(struct sysctl_req *req, struct vfsconf *vfsp)
  {
 +   struct xvfsconf xvfsp;

 -   strcpy(xvfsp-vfc_name, vfsp-vfc_name);
 -   xvfsp-vfc_typenum = vfsp-vfc_typenum;
 -   xvfsp-vfc_refcount = vfsp-vfc_refcount;
 -   xvfsp-vfc_flags = vfsp-vfc_flags;
 +   bzero(xvfsp, sizeof(xvfsp));
 +   strcpy(xvfsp.vfc_name, vfsp-vfc_name);
 +   xvfsp.vfc_typenum = vfsp-vfc_typenum;
 +   xvfsp.vfc_refcount = vfsp-vfc_refcount;
 +   xvfsp.vfc_flags = vfsp-vfc_flags;
 /*
  * These are unused in userland, we keep them
  * to not break binary compatibility.
  */
 -   xvfsp-vfc_vfsops = NULL;
 -   xvfsp-vfc_next = NULL;
 +   xvfsp.vfc_vfsops = NULL;
 +   xvfsp.vfc_next = NULL;
 +   return (SYSCTL_OUT(req, xvfsp, sizeof(xvfsp)));
 +}
 +
 +#ifdef COMPAT_FREEBSD32
 +struct xvfsconf32 {
 +   uint32_tvfc_vfsops;
 +   charvfc_name[MFSNAMELEN];
 +   int32_t vfc_typenum;
 +   int32_t vfc_refcount;
 +   int32_t vfc_flags;
 +   uint32_tvfc_next;
 +};
 +
 +static int
 +vfsconf2x32(struct sysctl_req *req, struct vfsconf *vfsp)
 +{
 +   struct xvfsconf32 xvfsp;
 +
 +   strcpy(xvfsp.vfc_name, vfsp-vfc_name);
 +   xvfsp.vfc_typenum = vfsp-vfc_typenum;
 +   xvfsp.vfc_refcount = vfsp-vfc_refcount;
 +   xvfsp.vfc_flags = vfsp-vfc_flags;
 +   xvfsp.vfc_vfsops = 0;
 +   xvfsp.vfc_next = 0;
 +   return (SYSCTL_OUT(req, xvfsp, sizeof(xvfsp)));
  }
 +#endif

  /*
   * Top level filesystem related information gathering.
 @@ -3134,14 +3163,16 @@ static int
  sysctl_vfs_conflist(SYSCTL_HANDLER_ARGS)
  {
 struct vfsconf *vfsp;
 -   struct xvfsconf xvfsp;
 int error;

 error = 0;
 TAILQ_FOREACH(vfsp, vfsconf, vfc_list) {
 -   bzero(xvfsp, sizeof(xvfsp));
 -   vfsconf2x(vfsp, xvfsp);
 -   error = SYSCTL_OUT(req, xvfsp, sizeof xvfsp);
 +#ifdef COMPAT_FREEBSD32
 +   if (req-flags  SCTL_MASK32)
 +   error = vfsconf2x32(req, vfsp);
 +   else
 

[head tinderbox] failure on sparc64/sparc64

2012-08-20 Thread FreeBSD Tinderbox
TB --- 2012-08-20 14:01:22 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-08-20 14:01:22 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-08-20 14:01:22 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2012-08-20 14:01:22 - cleaning the object tree
TB --- 2012-08-20 14:04:44 - cvsupping the source tree
TB --- 2012-08-20 14:04:44 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/sparc64/sparc64/supfile
TB --- 2012-08-20 14:05:33 - building world
TB --- 2012-08-20 14:05:33 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 14:05:33 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 14:05:33 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 14:05:33 - SRCCONF=/dev/null
TB --- 2012-08-20 14:05:33 - TARGET=sparc64
TB --- 2012-08-20 14:05:33 - TARGET_ARCH=sparc64
TB --- 2012-08-20 14:05:33 - TZ=UTC
TB --- 2012-08-20 14:05:33 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 14:05:33 - cd /src
TB --- 2012-08-20 14:05:33 - /usr/bin/make -B buildworld
 World build started on Mon Aug 20 14:05:33 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Mon Aug 20 15:15:02 UTC 2012
TB --- 2012-08-20 15:15:02 - generating LINT kernel config
TB --- 2012-08-20 15:15:02 - cd /src/sys/sparc64/conf
TB --- 2012-08-20 15:15:02 - /usr/bin/make -B LINT
TB --- 2012-08-20 15:15:02 - cd /src/sys/sparc64/conf
TB --- 2012-08-20 15:15:02 - /usr/sbin/config -m LINT
TB --- 2012-08-20 15:15:02 - building LINT kernel
TB --- 2012-08-20 15:15:02 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 15:15:02 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 15:15:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 15:15:02 - SRCCONF=/dev/null
TB --- 2012-08-20 15:15:02 - TARGET=sparc64
TB --- 2012-08-20 15:15:02 - TARGET_ARCH=sparc64
TB --- 2012-08-20 15:15:02 - TZ=UTC
TB --- 2012-08-20 15:15:02 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 15:15:02 - cd /src
TB --- 2012-08-20 15:15:02 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Aug 20 15:15:02 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  /src/sys/dev/ath/if_ath_tx.c 
-I/src/sys/dev/ath
/src/sys/dev/ath/if_ath_tx.c: In function 'ath_tx_chaindesclist':
/src/sys/dev/ath/if_ath_tx.c:379: error: 'ATH_DEBUG_XMIT' undeclared (first use 
in this function)
/src/sys/dev/ath/if_ath_tx.c:379: error: (Each undeclared identifier is 
reported only once
/src/sys/dev/ath/if_ath_tx.c:379: error: for each function it appears in.)
cc1: warnings being treated as errors
/src/sys/dev/ath/if_ath_tx.c:380: warning: implicit declaration of function 
'ath_printtxbuf'
/src/sys/dev/ath/if_ath_tx.c:380: warning: nested extern declaration of 
'ath_printtxbuf' [-Wnested-externs]
*** Error code 1

Stop in /obj/sparc64.sparc64/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2012-08-20 15:20:17 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2012-08-20 15:20:17 - ERROR: failed to build LINT kernel
TB --- 2012-08-20 15:20:17 - 3227.58 user 604.12 system 4734.39 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-sparc64-sparc64.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on powerpc/powerpc

2012-08-20 Thread FreeBSD Tinderbox
TB --- 2012-08-20 13:24:39 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-08-20 13:24:39 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-08-20 13:24:39 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2012-08-20 13:24:39 - cleaning the object tree
TB --- 2012-08-20 13:26:22 - cvsupping the source tree
TB --- 2012-08-20 13:26:22 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc/powerpc/supfile
TB --- 2012-08-20 13:27:12 - building world
TB --- 2012-08-20 13:27:12 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 13:27:12 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 13:27:12 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 13:27:12 - SRCCONF=/dev/null
TB --- 2012-08-20 13:27:12 - TARGET=powerpc
TB --- 2012-08-20 13:27:12 - TARGET_ARCH=powerpc
TB --- 2012-08-20 13:27:12 - TZ=UTC
TB --- 2012-08-20 13:27:12 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 13:27:12 - cd /src
TB --- 2012-08-20 13:27:12 - /usr/bin/make -B buildworld
 World build started on Mon Aug 20 13:27:13 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Mon Aug 20 15:45:57 UTC 2012
TB --- 2012-08-20 15:45:57 - generating LINT kernel config
TB --- 2012-08-20 15:45:57 - cd /src/sys/powerpc/conf
TB --- 2012-08-20 15:45:57 - /usr/bin/make -B LINT
TB --- 2012-08-20 15:45:57 - cd /src/sys/powerpc/conf
TB --- 2012-08-20 15:45:57 - /usr/sbin/config -m LINT
TB --- 2012-08-20 15:45:57 - building LINT kernel
TB --- 2012-08-20 15:45:57 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 15:45:57 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 15:45:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 15:45:57 - SRCCONF=/dev/null
TB --- 2012-08-20 15:45:57 - TARGET=powerpc
TB --- 2012-08-20 15:45:57 - TARGET_ARCH=powerpc
TB --- 2012-08-20 15:45:57 - TZ=UTC
TB --- 2012-08-20 15:45:57 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 15:45:57 - cd /src
TB --- 2012-08-20 15:45:57 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Aug 20 15:45:58 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many 
-fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
-fstack-protector -Werror  /src/sys/dev/ath/if_ath_tx.c -I/src/sys/dev/ath
/src/sys/dev/ath/if_ath_tx.c: In function 'ath_tx_chaindesclist':
/src/sys/dev/ath/if_ath_tx.c:379: error: 'ATH_DEBUG_XMIT' undeclared (first use 
in this function)
/src/sys/dev/ath/if_ath_tx.c:379: error: (Each undeclared identifier is 
reported only once
/src/sys/dev/ath/if_ath_tx.c:379: error: for each function it appears in.)
cc1: warnings being treated as errors
/src/sys/dev/ath/if_ath_tx.c:380: warning: implicit declaration of function 
'ath_printtxbuf'
/src/sys/dev/ath/if_ath_tx.c:380: warning: nested extern declaration of 
'ath_printtxbuf' [-Wnested-externs]
*** Error code 1

Stop in /obj/powerpc.powerpc/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2012-08-20 15:49:26 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2012-08-20 15:49:26 - ERROR: failed to build LINT kernel
TB --- 2012-08-20 15:49:26 - 6834.09 user 922.09 system 8687.16 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on powerpc64/powerpc

2012-08-20 Thread FreeBSD Tinderbox
TB --- 2012-08-20 13:59:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-08-20 13:59:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-08-20 13:59:00 - starting HEAD tinderbox run for powerpc64/powerpc
TB --- 2012-08-20 13:59:00 - cleaning the object tree
TB --- 2012-08-20 14:01:42 - cvsupping the source tree
TB --- 2012-08-20 14:01:42 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc64/powerpc/supfile
TB --- 2012-08-20 14:03:14 - building world
TB --- 2012-08-20 14:03:14 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 14:03:14 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 14:03:14 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 14:03:14 - SRCCONF=/dev/null
TB --- 2012-08-20 14:03:14 - TARGET=powerpc
TB --- 2012-08-20 14:03:14 - TARGET_ARCH=powerpc64
TB --- 2012-08-20 14:03:14 - TZ=UTC
TB --- 2012-08-20 14:03:14 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 14:03:14 - cd /src
TB --- 2012-08-20 14:03:14 - /usr/bin/make -B buildworld
 World build started on Mon Aug 20 14:03:15 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 stage 5.1: building 32 bit shim libraries
 World build completed on Mon Aug 20 16:44:15 UTC 2012
TB --- 2012-08-20 16:44:15 - generating LINT kernel config
TB --- 2012-08-20 16:44:15 - cd /src/sys/powerpc/conf
TB --- 2012-08-20 16:44:15 - /usr/bin/make -B LINT
TB --- 2012-08-20 16:44:15 - cd /src/sys/powerpc/conf
TB --- 2012-08-20 16:44:15 - /usr/sbin/config -m LINT
TB --- 2012-08-20 16:44:15 - building LINT kernel
TB --- 2012-08-20 16:44:15 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 16:44:15 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 16:44:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 16:44:15 - SRCCONF=/dev/null
TB --- 2012-08-20 16:44:15 - TARGET=powerpc
TB --- 2012-08-20 16:44:15 - TARGET_ARCH=powerpc64
TB --- 2012-08-20 16:44:15 - TZ=UTC
TB --- 2012-08-20 16:44:15 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 16:44:15 - cd /src
TB --- 2012-08-20 16:44:15 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Aug 20 16:44:15 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many 
-fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc -ffreestanding 
-fstack-protector -Werror  /src/sys/dev/ath/if_ath_tx.c -I/src/sys/dev/ath
/src/sys/dev/ath/if_ath_tx.c: In function 'ath_tx_chaindesclist':
/src/sys/dev/ath/if_ath_tx.c:379: error: 'ATH_DEBUG_XMIT' undeclared (first use 
in this function)
/src/sys/dev/ath/if_ath_tx.c:379: error: (Each undeclared identifier is 
reported only once
/src/sys/dev/ath/if_ath_tx.c:379: error: for each function it appears in.)
cc1: warnings being treated as errors
/src/sys/dev/ath/if_ath_tx.c:380: warning: implicit declaration of function 
'ath_printtxbuf'
/src/sys/dev/ath/if_ath_tx.c:380: warning: nested extern declaration of 
'ath_printtxbuf' [-Wnested-externs]
*** Error code 1

Stop in /obj/powerpc.powerpc64/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2012-08-20 16:47:48 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2012-08-20 16:47:48 - ERROR: failed to build LINT kernel
TB --- 2012-08-20 16:47:48 - 8360.92 user 1141.90 system 10127.84 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc64-powerpc.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: kernel page fult for a valid pointer?

2012-08-20 Thread John Baldwin
On Monday, August 20, 2012 9:49:48 am Monthadar Al Jaberi wrote:
 On Mon, Aug 20, 2012 at 2:04 PM, John Baldwin j...@freebsd.org wrote:
  On Saturday, August 18, 2012 2:29:26 pm Monthadar Al Jaberi wrote:
  Hi,
 
  I am wondering is there a reason for getting Fatal trap 12: page
  fault while in kernel mode supervisor read, page not present for an
  address used to be valid in kernel space?
 
  I dont really understand why I am getting this, I added a hardware
  watchpoint on the address, and when I got to the debuger I could read
  the memory content and dump for that address. But when I continue from
  the debugger I get the panic and now when I try to read the memory
  content I get *** error reading from address ce733000 ***.
 
  Whatever memory was there might have been unmapped?  For example,
  memory pointed to by I/O buffers (struct buf/bio) use transient
  mappings that are only valid while an I/O request is in progress.
 
 Thank you the for the reply, so if a struct gets freed will the page
 it was on get un-mapped, so that I cant dump it in debugger? Even
 VirtualBox debugger cant dump the memory giving
 VERR_PAGE_TABLE_NOT_PRESENT: Reading memory at
 
 In my case it is a struct ieee80211_node which gets freed, but where
 does the page get unmaped? I tried doubling the memory in VirtualBox.

Well, things that are malloc'd are a bit trickier.  I do believe they can
get unmapped if the backing slab is released to the system during a
uma_reclaim().

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


[head tinderbox] failure on arm/arm

2012-08-20 Thread FreeBSD Tinderbox
TB --- 2012-08-20 16:50:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-08-20 16:50:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-08-20 16:50:00 - starting HEAD tinderbox run for arm/arm
TB --- 2012-08-20 16:50:00 - cleaning the object tree
TB --- 2012-08-20 16:56:30 - cvsupping the source tree
TB --- 2012-08-20 16:56:30 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/arm/arm/supfile
TB --- 2012-08-20 16:59:05 - building world
TB --- 2012-08-20 16:59:05 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 16:59:05 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 16:59:05 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 16:59:05 - SRCCONF=/dev/null
TB --- 2012-08-20 16:59:05 - TARGET=arm
TB --- 2012-08-20 16:59:05 - TARGET_ARCH=arm
TB --- 2012-08-20 16:59:05 - TZ=UTC
TB --- 2012-08-20 16:59:05 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 16:59:05 - cd /src
TB --- 2012-08-20 16:59:05 - /usr/bin/make -B buildworld
 World build started on Mon Aug 20 16:59:06 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Mon Aug 20 18:01:33 UTC 2012
TB --- 2012-08-20 18:01:33 - cd /src/sys/arm/conf
TB --- 2012-08-20 18:01:33 - /usr/sbin/config -m ARMADAXP
TB --- 2012-08-20 18:01:34 - skipping ARMADAXP kernel
TB --- 2012-08-20 18:01:34 - cd /src/sys/arm/conf
TB --- 2012-08-20 18:01:34 - /usr/sbin/config -m ATMEL
TB --- 2012-08-20 18:01:34 - building ATMEL kernel
TB --- 2012-08-20 18:01:34 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 18:01:34 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 18:01:34 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 18:01:34 - SRCCONF=/dev/null
TB --- 2012-08-20 18:01:34 - TARGET=arm
TB --- 2012-08-20 18:01:34 - TARGET_ARCH=arm
TB --- 2012-08-20 18:01:34 - TZ=UTC
TB --- 2012-08-20 18:01:34 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 18:01:34 - cd /src
TB --- 2012-08-20 18:01:34 - /usr/bin/make -B buildkernel KERNCONF=ATMEL
 Kernel build for ATMEL started on Mon Aug 20 18:01:34 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 Kernel build for ATMEL completed on Mon Aug 20 18:05:05 UTC 2012
TB --- 2012-08-20 18:05:05 - cd /src/sys/arm/conf
TB --- 2012-08-20 18:05:05 - /usr/sbin/config -m AVILA
TB --- 2012-08-20 18:05:06 - skipping AVILA kernel
TB --- 2012-08-20 18:05:06 - cd /src/sys/arm/conf
TB --- 2012-08-20 18:05:06 - /usr/sbin/config -m BEAGLEBONE
TB --- 2012-08-20 18:05:06 - skipping BEAGLEBONE kernel
TB --- 2012-08-20 18:05:06 - cd /src/sys/arm/conf
TB --- 2012-08-20 18:05:06 - /usr/sbin/config -m BWCT
TB --- 2012-08-20 18:05:06 - building BWCT kernel
TB --- 2012-08-20 18:05:06 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 18:05:06 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 18:05:06 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 18:05:06 - SRCCONF=/dev/null
TB --- 2012-08-20 18:05:06 - TARGET=arm
TB --- 2012-08-20 18:05:06 - TARGET_ARCH=arm
TB --- 2012-08-20 18:05:06 - TZ=UTC
TB --- 2012-08-20 18:05:06 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 18:05:06 - cd /src
TB --- 2012-08-20 18:05:06 - /usr/bin/make -B buildkernel KERNCONF=BWCT
 Kernel build for BWCT started on Mon Aug 20 18:05:06 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 Kernel build for BWCT completed on Mon Aug 20 18:07:15 UTC 2012
TB --- 2012-08-20 18:07:15 - cd /src/sys/arm/conf
TB --- 2012-08-20 18:07:15 - /usr/sbin/config -m CAMBRIA
TB --- 2012-08-20 18:07:15 - skipping CAMBRIA kernel
TB --- 2012-08-20 18:07:15 - cd /src/sys/arm/conf
TB --- 2012-08-20 18:07:15 - /usr/sbin/config -m CNS11XXNAS
TB --- 2012-08-20 18:07:15 - building CNS11XXNAS kernel
TB --- 2012-08-20 18:07:15 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 18:07:15 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 18:07:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 18:07:15 - SRCCONF=/dev/null
TB --- 2012-08-20 18:07:15 - TARGET=arm
TB --- 2012-08-20 18:07:15 - TARGET_ARCH=arm
TB --- 2012-08-20 18:07:15 - TZ=UTC
TB --- 2012-08-20 18:07:15 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 18:07:15 - cd /src
TB --- 2012-08-20 18:07:15 - /usr/bin/make -B buildkernel KERNCONF=CNS11XXNAS
 Kernel build for CNS11XXNAS started on Mon Aug 20 18:07:15 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: 

Re: [head tinderbox] failure on arm/arm

2012-08-20 Thread Adrian Chadd
Fixed.

On 20 August 2012 11:30, FreeBSD Tinderbox tinder...@freebsd.org wrote:
 TB --- 2012-08-20 16:50:00 - tinderbox 2.9 running on 
 freebsd-current.sentex.ca
 TB --- 2012-08-20 16:50:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
 FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
 TB --- 2012-08-20 16:50:00 - starting HEAD tinderbox run for arm/arm
 TB --- 2012-08-20 16:50:00 - cleaning the object tree
 TB --- 2012-08-20 16:56:30 - cvsupping the source tree
 TB --- 2012-08-20 16:56:30 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
 /tinderbox/HEAD/arm/arm/supfile
 TB --- 2012-08-20 16:59:05 - building world
 TB --- 2012-08-20 16:59:05 - CROSS_BUILD_TESTING=YES
 TB --- 2012-08-20 16:59:05 - MAKEOBJDIRPREFIX=/obj
 TB --- 2012-08-20 16:59:05 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2012-08-20 16:59:05 - SRCCONF=/dev/null
 TB --- 2012-08-20 16:59:05 - TARGET=arm
 TB --- 2012-08-20 16:59:05 - TARGET_ARCH=arm
 TB --- 2012-08-20 16:59:05 - TZ=UTC
 TB --- 2012-08-20 16:59:05 - __MAKE_CONF=/dev/null
 TB --- 2012-08-20 16:59:05 - cd /src
 TB --- 2012-08-20 16:59:05 - /usr/bin/make -B buildworld
 World build started on Mon Aug 20 16:59:06 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Mon Aug 20 18:01:33 UTC 2012
 TB --- 2012-08-20 18:01:33 - cd /src/sys/arm/conf
 TB --- 2012-08-20 18:01:33 - /usr/sbin/config -m ARMADAXP
 TB --- 2012-08-20 18:01:34 - skipping ARMADAXP kernel
 TB --- 2012-08-20 18:01:34 - cd /src/sys/arm/conf
 TB --- 2012-08-20 18:01:34 - /usr/sbin/config -m ATMEL
 TB --- 2012-08-20 18:01:34 - building ATMEL kernel
 TB --- 2012-08-20 18:01:34 - CROSS_BUILD_TESTING=YES
 TB --- 2012-08-20 18:01:34 - MAKEOBJDIRPREFIX=/obj
 TB --- 2012-08-20 18:01:34 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2012-08-20 18:01:34 - SRCCONF=/dev/null
 TB --- 2012-08-20 18:01:34 - TARGET=arm
 TB --- 2012-08-20 18:01:34 - TARGET_ARCH=arm
 TB --- 2012-08-20 18:01:34 - TZ=UTC
 TB --- 2012-08-20 18:01:34 - __MAKE_CONF=/dev/null
 TB --- 2012-08-20 18:01:34 - cd /src
 TB --- 2012-08-20 18:01:34 - /usr/bin/make -B buildkernel KERNCONF=ATMEL
 Kernel build for ATMEL started on Mon Aug 20 18:01:34 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 Kernel build for ATMEL completed on Mon Aug 20 18:05:05 UTC 2012
 TB --- 2012-08-20 18:05:05 - cd /src/sys/arm/conf
 TB --- 2012-08-20 18:05:05 - /usr/sbin/config -m AVILA
 TB --- 2012-08-20 18:05:06 - skipping AVILA kernel
 TB --- 2012-08-20 18:05:06 - cd /src/sys/arm/conf
 TB --- 2012-08-20 18:05:06 - /usr/sbin/config -m BEAGLEBONE
 TB --- 2012-08-20 18:05:06 - skipping BEAGLEBONE kernel
 TB --- 2012-08-20 18:05:06 - cd /src/sys/arm/conf
 TB --- 2012-08-20 18:05:06 - /usr/sbin/config -m BWCT
 TB --- 2012-08-20 18:05:06 - building BWCT kernel
 TB --- 2012-08-20 18:05:06 - CROSS_BUILD_TESTING=YES
 TB --- 2012-08-20 18:05:06 - MAKEOBJDIRPREFIX=/obj
 TB --- 2012-08-20 18:05:06 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2012-08-20 18:05:06 - SRCCONF=/dev/null
 TB --- 2012-08-20 18:05:06 - TARGET=arm
 TB --- 2012-08-20 18:05:06 - TARGET_ARCH=arm
 TB --- 2012-08-20 18:05:06 - TZ=UTC
 TB --- 2012-08-20 18:05:06 - __MAKE_CONF=/dev/null
 TB --- 2012-08-20 18:05:06 - cd /src
 TB --- 2012-08-20 18:05:06 - /usr/bin/make -B buildkernel KERNCONF=BWCT
 Kernel build for BWCT started on Mon Aug 20 18:05:06 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 Kernel build for BWCT completed on Mon Aug 20 18:07:15 UTC 2012
 TB --- 2012-08-20 18:07:15 - cd /src/sys/arm/conf
 TB --- 2012-08-20 18:07:15 - /usr/sbin/config -m CAMBRIA
 TB --- 2012-08-20 18:07:15 - skipping CAMBRIA kernel
 TB --- 2012-08-20 18:07:15 - cd /src/sys/arm/conf
 TB --- 2012-08-20 18:07:15 - /usr/sbin/config -m CNS11XXNAS
 TB --- 2012-08-20 18:07:15 - building CNS11XXNAS kernel
 TB --- 2012-08-20 18:07:15 - CROSS_BUILD_TESTING=YES
 TB --- 2012-08-20 18:07:15 - MAKEOBJDIRPREFIX=/obj
 TB --- 2012-08-20 18:07:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2012-08-20 18:07:15 - SRCCONF=/dev/null
 TB --- 2012-08-20 18:07:15 - TARGET=arm
 TB --- 2012-08-20 18:07:15 - TARGET_ARCH=arm
 TB --- 2012-08-20 18:07:15 - TZ=UTC
 TB --- 2012-08-20 18:07:15 - __MAKE_CONF=/dev/null
 TB --- 2012-08-20 18:07:15 - cd /src
 TB --- 2012-08-20 18:07:15 - /usr/bin/make -B buildkernel KERNCONF=CNS11XXNAS
 

Re: CURRENT as gateway on not-so-fast hardware: where is a bottlneck?

2012-08-20 Thread Doug Barton
On 08/20/2012 06:32, Alexander Motin wrote:
 I have no plans to converge them. I've just found problem in ULE, that
 was replicated into 4BSD and it would be strange to fix one without
 another. But fixing it exposed another old problem specific to 4BSD,
 which I fixed reusing logically equivalent code from ULE. I saw no
 reason to reinvent a wheel there, same as to not fix obvious bug. Sure,
 it can change behavior in some way, but ULE is not guilty.

Thank you for that explanation.

-- 

I am only one, but I am one.  I cannot do everything, but I can do
something.  And I will not let what I cannot do interfere with what
I can do.
-- Edward Everett Hale, (1822 - 1909)
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on i386/pc98

2012-08-20 Thread FreeBSD Tinderbox
TB --- 2012-08-20 16:50:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-08-20 16:50:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-08-20 16:50:00 - starting HEAD tinderbox run for i386/pc98
TB --- 2012-08-20 16:50:00 - cleaning the object tree
TB --- 2012-08-20 16:55:07 - cvsupping the source tree
TB --- 2012-08-20 16:55:07 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/pc98/supfile
TB --- 2012-08-20 16:58:53 - building world
TB --- 2012-08-20 16:58:53 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 16:58:53 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 16:58:53 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 16:58:53 - SRCCONF=/dev/null
TB --- 2012-08-20 16:58:53 - TARGET=pc98
TB --- 2012-08-20 16:58:53 - TARGET_ARCH=i386
TB --- 2012-08-20 16:58:53 - TZ=UTC
TB --- 2012-08-20 16:58:53 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 16:58:53 - cd /src
TB --- 2012-08-20 16:58:53 - /usr/bin/make -B buildworld
 World build started on Mon Aug 20 16:58:54 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Mon Aug 20 19:32:25 UTC 2012
TB --- 2012-08-20 19:32:25 - generating LINT kernel config
TB --- 2012-08-20 19:32:25 - cd /src/sys/pc98/conf
TB --- 2012-08-20 19:32:25 - /usr/bin/make -B LINT
TB --- 2012-08-20 19:32:25 - cd /src/sys/pc98/conf
TB --- 2012-08-20 19:32:25 - /usr/sbin/config -m LINT
TB --- 2012-08-20 19:32:25 - building LINT kernel
TB --- 2012-08-20 19:32:25 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 19:32:25 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 19:32:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 19:32:25 - SRCCONF=/dev/null
TB --- 2012-08-20 19:32:25 - TARGET=pc98
TB --- 2012-08-20 19:32:25 - TARGET_ARCH=i386
TB --- 2012-08-20 19:32:25 - TZ=UTC
TB --- 2012-08-20 19:32:25 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 19:32:25 - cd /src
TB --- 2012-08-20 19:32:25 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Aug 20 19:32:25 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/dev/ath/if_ath_beacon.c -I/src/sys/dev/ath
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/dev/ath/if_ath_debug.c -I/src/sys/dev/ath
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/dev/ath/if_ath_keycache.c -I/src/sys/dev/ath
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs 

[head tinderbox] failure on i386/i386

2012-08-20 Thread FreeBSD Tinderbox
TB --- 2012-08-20 16:50:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-08-20 16:50:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-08-20 16:50:00 - starting HEAD tinderbox run for i386/i386
TB --- 2012-08-20 16:50:00 - cleaning the object tree
TB --- 2012-08-20 16:55:23 - cvsupping the source tree
TB --- 2012-08-20 16:55:23 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/i386/supfile
TB --- 2012-08-20 16:58:52 - building world
TB --- 2012-08-20 16:58:52 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 16:58:52 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 16:58:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 16:58:52 - SRCCONF=/dev/null
TB --- 2012-08-20 16:58:52 - TARGET=i386
TB --- 2012-08-20 16:58:52 - TARGET_ARCH=i386
TB --- 2012-08-20 16:58:52 - TZ=UTC
TB --- 2012-08-20 16:58:52 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 16:58:52 - cd /src
TB --- 2012-08-20 16:58:52 - /usr/bin/make -B buildworld
 World build started on Mon Aug 20 16:58:54 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Mon Aug 20 19:31:14 UTC 2012
TB --- 2012-08-20 19:31:14 - generating LINT kernel config
TB --- 2012-08-20 19:31:14 - cd /src/sys/i386/conf
TB --- 2012-08-20 19:31:14 - /usr/bin/make -B LINT
TB --- 2012-08-20 19:31:14 - cd /src/sys/i386/conf
TB --- 2012-08-20 19:31:14 - /usr/sbin/config -m LINT
TB --- 2012-08-20 19:31:14 - building LINT kernel
TB --- 2012-08-20 19:31:14 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 19:31:14 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 19:31:14 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 19:31:14 - SRCCONF=/dev/null
TB --- 2012-08-20 19:31:14 - TARGET=i386
TB --- 2012-08-20 19:31:14 - TARGET_ARCH=i386
TB --- 2012-08-20 19:31:14 - TZ=UTC
TB --- 2012-08-20 19:31:14 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 19:31:14 - cd /src
TB --- 2012-08-20 19:31:14 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Aug 20 19:31:14 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/dev/ath/if_ath_beacon.c -I/src/sys/dev/ath
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/dev/ath/if_ath_debug.c -I/src/sys/dev/ath
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/dev/ath/if_ath_keycache.c -I/src/sys/dev/ath
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs 

pkgng 1.0 release schedule, and HEAD switch to pkgng by default schedule

2012-08-20 Thread Baptiste Daroussin
Hi all,

Since 1.0-rc6 release, everything looks ready for a final release of 1.0, I'll
give more details on the release commit bit :) this is planned for 30th august
2012.

Current was supposed to switch to pkgng by default today, it has been delayed
until the nvidia-driver is fixed with pkgng. Thanksfully kwm@ and danfe@ has
been working on this, and the situation should be fixed pretty soon.

Please continue testing pkgng and reporting bugs, if you are new comers do not
hesitate to ask question about pkgng so that we can improve documentation:

The usual links about pkgng:
  - http://wiki.freebsd.org/pkgng
  - http://wiki.freebsd.org/PkgPrimer
  - https://github.com/pkgng/pkgng/blob/master/FAQ.md
  - http://people.freebsd.org/~bapt/pres-pkgng-bsdcan.pdf
  - http://www.youtube.com/watch?v=4Hxq7AHZ27I

regards,
Bapt


pgpAf4AeTYzK5.pgp
Description: PGP signature


[head tinderbox] failure on amd64/amd64

2012-08-20 Thread FreeBSD Tinderbox
TB --- 2012-08-20 16:50:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-08-20 16:50:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-08-20 16:50:00 - starting HEAD tinderbox run for amd64/amd64
TB --- 2012-08-20 16:50:00 - cleaning the object tree
TB --- 2012-08-20 16:59:38 - cvsupping the source tree
TB --- 2012-08-20 16:59:38 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/amd64/amd64/supfile
TB --- 2012-08-20 17:00:33 - building world
TB --- 2012-08-20 17:00:33 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 17:00:33 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 17:00:33 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 17:00:33 - SRCCONF=/dev/null
TB --- 2012-08-20 17:00:33 - TARGET=amd64
TB --- 2012-08-20 17:00:33 - TARGET_ARCH=amd64
TB --- 2012-08-20 17:00:33 - TZ=UTC
TB --- 2012-08-20 17:00:33 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 17:00:33 - cd /src
TB --- 2012-08-20 17:00:33 - /usr/bin/make -B buildworld
 World build started on Mon Aug 20 17:00:34 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 stage 5.1: building 32 bit shim libraries
 World build completed on Mon Aug 20 20:09:36 UTC 2012
TB --- 2012-08-20 20:09:36 - generating LINT kernel config
TB --- 2012-08-20 20:09:36 - cd /src/sys/amd64/conf
TB --- 2012-08-20 20:09:36 - /usr/bin/make -B LINT
TB --- 2012-08-20 20:09:36 - cd /src/sys/amd64/conf
TB --- 2012-08-20 20:09:36 - /usr/sbin/config -m LINT
TB --- 2012-08-20 20:09:36 - building LINT kernel
TB --- 2012-08-20 20:09:36 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 20:09:36 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 20:09:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 20:09:36 - SRCCONF=/dev/null
TB --- 2012-08-20 20:09:36 - TARGET=amd64
TB --- 2012-08-20 20:09:36 - TARGET_ARCH=amd64
TB --- 2012-08-20 20:09:36 - TZ=UTC
TB --- 2012-08-20 20:09:36 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 20:09:36 - cd /src
TB --- 2012-08-20 20:09:36 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Aug 20 20:09:37 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option   
-nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF 
-fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx 
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding 
-fstack-protector -Werror -pg -mprofiler-epilogue 
/src/sys/dev/ath/if_ath_beacon.c -I/src/sys/dev/ath
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option   
-nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF 
-fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx 
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding 
-fstack-protector -Werror -pg -mprofiler-epilogue 
/src/sys/dev/ath/if_ath_debug.c -I/src/sys/dev/ath
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option   
-nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF 
-fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx 
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables 

[head tinderbox] failure on ia64/ia64

2012-08-20 Thread FreeBSD Tinderbox
TB --- 2012-08-20 18:30:32 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-08-20 18:30:32 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-08-20 18:30:32 - starting HEAD tinderbox run for ia64/ia64
TB --- 2012-08-20 18:30:32 - cleaning the object tree
TB --- 2012-08-20 18:31:21 - cvsupping the source tree
TB --- 2012-08-20 18:31:21 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/ia64/ia64/supfile
TB --- 2012-08-20 18:31:58 - building world
TB --- 2012-08-20 18:31:58 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 18:31:58 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 18:31:58 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 18:31:58 - SRCCONF=/dev/null
TB --- 2012-08-20 18:31:58 - TARGET=ia64
TB --- 2012-08-20 18:31:58 - TARGET_ARCH=ia64
TB --- 2012-08-20 18:31:58 - TZ=UTC
TB --- 2012-08-20 18:31:58 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 18:31:58 - cd /src
TB --- 2012-08-20 18:31:58 - /usr/bin/make -B buildworld
 World build started on Mon Aug 20 18:31:59 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Mon Aug 20 20:13:41 UTC 2012
TB --- 2012-08-20 20:13:41 - generating LINT kernel config
TB --- 2012-08-20 20:13:41 - cd /src/sys/ia64/conf
TB --- 2012-08-20 20:13:41 - /usr/bin/make -B LINT
TB --- 2012-08-20 20:13:41 - cd /src/sys/ia64/conf
TB --- 2012-08-20 20:13:41 - /usr/sbin/config -m LINT
TB --- 2012-08-20 20:13:41 - building LINT kernel
TB --- 2012-08-20 20:13:41 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 20:13:41 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 20:13:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 20:13:41 - SRCCONF=/dev/null
TB --- 2012-08-20 20:13:41 - TARGET=ia64
TB --- 2012-08-20 20:13:41 - TARGET_ARCH=ia64
TB --- 2012-08-20 20:13:41 - TZ=UTC
TB --- 2012-08-20 20:13:41 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 20:13:41 - cd /src
TB --- 2012-08-20 20:13:41 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Aug 20 20:13:41 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  
/src/sys/dev/ath/if_ath_beacon.c -I/src/sys/dev/ath
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  
/src/sys/dev/ath/if_ath_debug.c -I/src/sys/dev/ath
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  
/src/sys/dev/ath/if_ath_keycache.c -I/src/sys/dev/ath
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq 

Re: buildworld c++ internal error

2012-08-20 Thread Peter Jeremy
On 2012-Aug-20 07:17:59 +0900, Randy Bush ra...@psg.com wrote:
the only thing a night's sleep got me was the idea of attaching an
external sata drive and putting swap on it.

You can also swap to a file via NFS.

-- 
Peter Jeremy


pgp62N8KdUtmP.pgp
Description: PGP signature


[HEADSUP] geli(4) weak master key generation on -CURRENT

2012-08-20 Thread Simon L. B. Nielsen
Hello,

If you are not using geli(4) on -CURRENT (AKA FreeBSD 10) you can safely
ignore this mail. If you are, please read on!

-CURRENT users of geli(4) should be advised that, a geli(4) device may
have weak master key, if the provider is created on -CURRENT system
built against source code between r238116 (Jul 4 17:54:17 2012 UTC)
and r239184 (non-inclusive, Aug 10 18:43:29 2012 UTC).

One can verify if its provider was created with weak keys by running:

# geli dump provider | grep version

If the version is 7 and the system did not include this fix (r239184)
when provider was initialized, then the data has to be backed up,
underlying provider overwritten with random data, system upgraded and
provider recreated.

Thanks to Fabian Keil for reporting the issue, Pawel Jakub Dawidek for
fixing it, and Xin Li for drafting this text.

PS. This only affects FreeBSD 10 / -CURRENT, and as -CURRENT isn't
supported by the FreeBSD Security Team, we are not releasing an
advisory, just this heads up.

-- 
Simon L. B. Nielsen
FreeBSD Security Officer



signature.asc
Description: OpenPGP digital signature


Re: buildworld c++ internal error

2012-08-20 Thread Randy Bush
-O allowed it to buildworld!

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


Re: OpenLDAP/SASL2 problem in FreeBSD 10.0-CURRENT WAS: Re: HELP! core dumps: install, mtree, et cetera all of the sudden after portmaster security/cyrus-sasl2

2012-08-20 Thread O. Hartmann
Am 08/18/12 22:31, schrieb Adam McDougall:
 On 8/18/2012 4:07 AM, O. Hartmann wrote:
 My setups on all boxes using OpenLDAP, the port
 net/opendldap24-client/server has security/cyrus-sasl2 enabled.
 I use nsswitch and nascd.

 The problem:
 I can not anymore install or reinstall (using portmaster, patched for
 pkgng) the ports

 security/cyrus-sasl2
 net/openldap24-client

 When performing an update (no matter which one), The installation
 process dies when installing the packages (see error for openldap-cleint
 below, it is proxy for cyrus-sasl2 also).

 After a failed installation, close to all binaries I touch start to
 coredump in a mustang way. ls(1) works, but ls -la dumps core (resolving
 the ownership-issue?).

 The only way to save the box is to copy missing libldap_r-2.4.so.8 or
 libsasl2.so.2 to /usr/local/lib/ from another, compatible box or from a
 backup.

 It is impossible to me to update/reinstall either net/openldap24-client
 or security/cyrus-sasl2.

 ===  Installing for openldap-sasl-client-2.4.32_1
 ===   Generating temporary packing list
 Segmentation fault (core dumped)
 *** [install-mtree] Error code 139

 What happens if you disable both LDAP and cache support from NSS before
 upgrading either of those two packages?  Installing files certainly must
 invoke functions that need to translate owners/groups to uid/gid so perhaps
 something related to that suddenly fails during an attempt to replace
 the library.  It sounds like if your LDAP support becomes corrupt, then
 it leaves a gaping hole in the NSS critical path that many parts of the
 system must be using.  When you run into this situation and can resolve
 it easily by replacing the old ldap library, is the old one corrupt?
 Missing?  Can you save a copy for evaluation?  Does your system break in
 a similar manner simply by renaming the LDAP library, or does it behave
 worse only if there is a faulty LDAP library being used by nss_ldap?

I see the same issue in single user mode, when nscd isn't running. But
/etc/pam.d/system delegates to LDAP for non-local id.

When the issues arise, the open ldap library libldap_r.so isn't
available anymore because something run wrong during the update.

I dumped portmaster, use portupgrade at the moment. It seems, that this
works so far, no matter why.
When that happened (also with libsasl2.so, the same), I have to use
/rescue/tar to extract the backup found in
/usr/ports/packages/portmaster-backup/. bsdtar also fails.

I can't say the LDAP lib is worse. It is simply missing after the
installation ran rogue.

At the moment, I try to dump also pkg and run the old pkg_xxx stuff
again. Maybe something got corrupt when I swapped to pkgng or pkgng has
a serious bug not capable of handling those situations. or I was too
brave using the patched portmaster in the first place, which compromised
my installation and the problems I face now are a consequnce of some
hidden problems elsewere ...




signature.asc
Description: OpenPGP digital signature


[head tinderbox] failure on powerpc/powerpc

2012-08-20 Thread FreeBSD Tinderbox
TB --- 2012-08-20 19:40:33 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-08-20 19:40:33 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-08-20 19:40:33 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2012-08-20 19:40:34 - cleaning the object tree
TB --- 2012-08-20 19:42:59 - cvsupping the source tree
TB --- 2012-08-20 19:42:59 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc/powerpc/supfile
TB --- 2012-08-20 19:44:00 - building world
TB --- 2012-08-20 19:44:00 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 19:44:00 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 19:44:00 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 19:44:00 - SRCCONF=/dev/null
TB --- 2012-08-20 19:44:00 - TARGET=powerpc
TB --- 2012-08-20 19:44:00 - TARGET_ARCH=powerpc
TB --- 2012-08-20 19:44:00 - TZ=UTC
TB --- 2012-08-20 19:44:00 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 19:44:00 - cd /src
TB --- 2012-08-20 19:44:00 - /usr/bin/make -B buildworld
 World build started on Mon Aug 20 19:44:01 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Mon Aug 20 22:04:04 UTC 2012
TB --- 2012-08-20 22:04:04 - generating LINT kernel config
TB --- 2012-08-20 22:04:04 - cd /src/sys/powerpc/conf
TB --- 2012-08-20 22:04:04 - /usr/bin/make -B LINT
TB --- 2012-08-20 22:04:04 - cd /src/sys/powerpc/conf
TB --- 2012-08-20 22:04:04 - /usr/sbin/config -m LINT
TB --- 2012-08-20 22:04:04 - building LINT kernel
TB --- 2012-08-20 22:04:04 - CROSS_BUILD_TESTING=YES
TB --- 2012-08-20 22:04:04 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-08-20 22:04:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-08-20 22:04:04 - SRCCONF=/dev/null
TB --- 2012-08-20 22:04:04 - TARGET=powerpc
TB --- 2012-08-20 22:04:04 - TARGET_ARCH=powerpc
TB --- 2012-08-20 22:04:04 - TZ=UTC
TB --- 2012-08-20 22:04:04 - __MAKE_CONF=/dev/null
TB --- 2012-08-20 22:04:04 - cd /src
TB --- 2012-08-20 22:04:04 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Aug 20 22:04:04 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many 
-fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
-fstack-protector -Werror  /src/sys/dev/ath/if_ath_beacon.c -I/src/sys/dev/ath
cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many 
-fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
-fstack-protector -Werror  /src/sys/dev/ath/if_ath_debug.c -I/src/sys/dev/ath
cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many 
-fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
-fstack-protector -Werror  /src/sys/dev/ath/if_ath_keycache.c -I/src/sys/dev/ath
cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 

Re: BUFSIZ = 1024, still ?

2012-08-20 Thread Scott Long

On Aug 18, 2012, at 3:43 PM, Matthew Jacob m...@feral.com wrote:

 On 8/18/2012 2:36 PM, Poul-Henning Kamp wrote:
 In message 50300540.9060...@feral.com, Matthew Jacob writes:
 
 [...] that there might be a measurable
 difference for having to copy 4K (unaligned) than 1K (unaligned) to
 kernel space for disposition.
 Actually, as far as I'm aware, the 4K would be page-aligned by
 default due to our malloc(3) implementation.
 
 Wasn't there just a recent discussion about running 1.x binaries?
 1.x binaries wouldn't notice and wouldn't be able to tell
 if BUFSIZ is different in 10.x
 I wasn't concerned about those specifically- I was just using this as an 
 example of leaving stuff alone.
 
 If you're going to talk about making a change to defaults, the default
 MAXPHYS and DLFTPHYS have been undersized for years now.
 Indeed, but as I understand it, those require device driver changes ?
 Ah, well 10.X would be an ideal time to find out!
 

This gets brought up from time to time, and I honestly thought that I swept 
most of the problems up a few years ago.  The mistake that I made in the mlx 
driver that was recently corrected was evidence of a previous sweep.

If anyone wants to do another sweep, the thing to grep for is any drivers that 
use MAXPHYS to size their i/o's.  For the drivers that do that, you then have 
to see if they can actually handle an arbitrary number of scatter-gather 
elements.  If they can't then they need to stop using MAXPHYS and start using a 
constant that applies to the driver.  My quick scan shows the following would 
need to be investigated:

sys/dev/ata (legacy ata)
/sys/dev/isp
/sys/dev/mmcsd
/sys/dev/mvs

The only other problem is that struct but contains an element sized on MAXPHYS 
for doing swapper I/O.  Increasing MAXPHYS will increase this, and at one point 
I think that Alan Cox might have wanted to find a better way to hold swap info. 
 Otherwise, increasing MAXPHYS causes no problems and is something that has run 
in production for quite some time at places like Yahoo and Netflix.

Scott

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


Re: BUFSIZ = 1024, still ?

2012-08-20 Thread Matthew Jacob

On 8/20/2012 6:59 PM, Scott Long wrote:

On Aug 18, 2012, at 3:43 PM, Matthew Jacob m...@feral.com wrote:


On 8/18/2012 2:36 PM, Poul-Henning Kamp wrote:

In message 50300540.9060...@feral.com, Matthew Jacob writes:


[...] that there might be a measurable
difference for having to copy 4K (unaligned) than 1K (unaligned) to
kernel space for disposition.

Actually, as far as I'm aware, the 4K would be page-aligned by
default due to our malloc(3) implementation.


Wasn't there just a recent discussion about running 1.x binaries?

1.x binaries wouldn't notice and wouldn't be able to tell
if BUFSIZ is different in 10.x

I wasn't concerned about those specifically- I was just using this as an 
example of leaving stuff alone.


If you're going to talk about making a change to defaults, the default
MAXPHYS and DLFTPHYS have been undersized for years now.

Indeed, but as I understand it, those require device driver changes ?

Ah, well 10.X would be an ideal time to find out!


This gets brought up from time to time, and I honestly thought that I swept 
most of the problems up a few years ago.  The mistake that I made in the mlx 
driver that was recently corrected was evidence of a previous sweep.

If anyone wants to do another sweep, the thing to grep for is any drivers that 
use MAXPHYS to size their i/o's.  For the drivers that do that, you then have 
to see if they can actually handle an arbitrary number of scatter-gather 
elements.  If they can't then they need to stop using MAXPHYS and start using a 
constant that applies to the driver.  My quick scan shows the following would 
need to be investigated:

sys/dev/ata (legacy ata)
/sys/dev/isp
/sys/dev/mmcsd
/sys/dev/mvs

The only other problem is that struct but contains an element sized on MAXPHYS 
for doing swapper I/O.  Increasing MAXPHYS will increase this, and at one point 
I think that Alan Cox might have wanted to find a better way to hold swap info. 
 Otherwise, increasing MAXPHYS causes no problems and is something that has run 
in production for quite some time at places like Yahoo and Netflix.




I think I merely asked whether we were going to increase the defaults. 
Are you suggesting we eliminate MAXPHYS for drivers entirely and just 
base upon the drivers' native limits? The isp driver very specifically 
uses MAXPHYS right now because it's a manifest constant. If we're 
eliminating it, that's fine by my. What mechanism will be used to break 
up transfers then?


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