Re: Call for bge(4) testers

2012-09-18 Thread YongHyeon PYUN
On Mon, Sep 17, 2012 at 09:37:21PM +0900, Wanpeng Qian wrote:
 Hi, here is the dmesg output.
 
 bge0: HP NC107i PCIe Gigabit Server Adapter, ASIC rev. 0x5784100 mem 
 0xfe9f-0xfe9f irq 18 at device 0.0 on pci4
 bge0: CHIP ID 0x05784100; ASIC REV 0x5784; CHIP REV 0x57841; PCI-E
 miibus0: MII bus on bge0
 brgphy0: BCM5784 10/100/1000baseT PHY PHY 1 on miibus0
 brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
 

It seems your controller is BCM5784 A1. The latest WIP have one
change that may affect its DMA behavior. So it would be good to
know how the WIP version works on your box.

 FreeBSD 9.0 RELEASE.
 
 Regards.
 
 Qian
 
 
 watchdog timeouts can be triggered by various issues so it's hard
 to guess the root cause of the issue.
 Would you show me the dmesg output(bge(4)/brgphy(4) output
 only)?
 
___
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: Call for bge(4) testers

2012-09-18 Thread YongHyeon PYUN
On Mon, Sep 17, 2012 at 05:39:09PM +0600, Eugene M. Zheganin wrote:
 Hi.
 
 On 15.09.2012 03:27, YongHyeon PYUN wrote:
 I'm especially interested in whether there is any ASF/IPMI
 regression on BCM570x/571x.
 
 There's a reopened bug concerning 8.x releases version of the bge(4) 
 driver not working with IPMI ( 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122252 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122252 ). I can also 
 say that enabling ASF on RELENG_8 still leads to locking and hangups. 
 Does this CFT mean that this situation may be improved with the new 
 bge(4) version, on 9.x ?

I'm afraid it wouldn't. ASF/IPMI support of bge(4) has many issues.
Only small number of lucky users were able to use IPMI. I wanted to
not break IPMI for these users in the WIP version.
But ASF/IPMI should work for controllers with APE(BCM5719/BCM5720).

 
 Eugene.
___
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


buildworld broke in sbin/nvmecontrol; r240620 suspected

2012-09-18 Thread David Wolfskill
This was on:

FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #681 240597M: 
Mon Sep 17 15:34:41 PDT 2012 
r...@d134.dwolf.juniper.net.:/usr/obj/usr/src/sys/CANARY  i386

using clang as the C compiler:

...
=== sbin/nvmecontrol (all)
clang -O2 -pipe  -std=gnu99 -Qunused-arguments -fstack-protector 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int 
-c /usr/src/sbin/nvmecontrol/nvmecontrol.c
/usr/src/sbin/nvmecontrol/nvmecontrol.c:77:6: error: cast from 'struct 
nvme_controller_data *' to 'uint32_t *' (aka 'unsigned int *') increases 
required alignment from 1 to 4 [-Werror,-Wcast-align]
p = (uint32_t *)cdata;
^
1 error generated.
*** [nvmecontrol.o] Error code 1
1 error
*** [all] Error code 2
1 error
*** [sbin.all__D] Error code 2

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.


pgpCau5DywzJr.pgp
Description: PGP signature


Re: Clang as default compiler November 4th

2012-09-18 Thread Tijl Coosemans
On 15-09-2012 17:39, Mehmet Erol Sanliturk wrote:
 On Sat, Sep 15, 2012 at 7:30 AM, Tijl Coosemans t...@coosemans.org wrote: 
 On 15-09-2012 16:09, Roman Divacky wrote:
 Is this correct?

 lev ~$ ./cos 1.23456789e20
 6.031937e-01
 -9.629173e-02
 2.814722e-01

 Yes, that's what the libm call returns. 
 
 Linux z 3.5.3-1.fc17.x86_64 #1 SMP Wed Aug 29 18:46:34 UTC 2012 x86_64
 x86_64 x86_64 GNU/Linux
 
 clang version 3.0 (tags/RELEASE_30/final)
 Target: x86_64-redhat-linux-gnu
 Thread model: posix
 
 
 Output of the initial program is the following :
 
 #include math.h
 #include stdio.h
 #include stdlib.h
 
 int
 main( int argc, char **argv ) {
 double d = strtod( argv[ 1 ], NULL );
 
 printf(  cos : %e\n, ( double ) cos( d ));
 printf( cosf : %e\n, ( double ) cosf( d ));
 printf( cosl : %e\n, ( double ) cosl( d ));
 return( 0 );
 }
 
 
 cos : 2.814722e-01
 cosf : -9.629173e-02
 cosl : 7.738403e-01

This is probably because SSE instructions are used on amd64.

 Output of the following program is different :

The reason is that...

 #include math.h
 #include stdio.h
 #include stdlib.h
 
 int
 main( int argc, char **argv ) {
 double d ;
 double two_pi ;
 double f ;
 double v ;
 
 two_pi = 2 * 3.14159265358979323846 ;
 d = strtod( argv[ 1 ], NULL );
 
 f = floor ( d / two_pi ) ;
 v = d - f * two_pi ;

...this is a poor way to compute a remainder. Try to use fmod() or
remainder() instead.

 printf(   given : %e\n, ( double ) d );
 printf(   multiplier : %e\n, ( double ) f );
 printf( reduced : %e\n, ( double ) v );
 
 
 printf(  cos ( %e ) : %e\n, d , ( double ) cos( d ));
 printf( cosf ( %e ) : %e\n, d , ( double ) cosf( d ));
 printf( cosl ( %e ) : %e\n, d , ( double ) cosl( d ));
 
 
 printf(  cos ( %e ) : %e\n, v , ( double ) cos( v ));
 printf( cosf ( %e ) : %e\n, v , ( double ) cosf( v ));
 printf( cosl ( %e ) : %e\n, v , ( double ) cosl( v ));
 
 
 return( 0 );
 }
 
 
   given : 1.234568e+20
   multiplier : 1.964876e+19
 reduced : 1.638400e+04
 
 
  cos ( 1.234568e+20 ) : 2.814722e-01
 cosf ( 1.234568e+20 ) : -9.629173e-02
 cosl ( 1.234568e+20 ) : 7.738403e-01
 
  cos ( 1.638400e+04 ) : -8.285342e-01
 cosf ( 1.638400e+04 ) : -8.285342e-01
 cosl ( 1.638400e+04 ) : -8.285342e-01



signature.asc
Description: OpenPGP digital signature


Re: buildworld broke in sbin/nvmecontrol; r240620 suspected

2012-09-18 Thread Garrett Cooper
On Sep 18, 2012, at 5:53 AM, David Wolfskill da...@catwhisker.org wrote:

 This was on:
 
 FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #681 240597M: 
 Mon Sep 17 15:34:41 PDT 2012 
 r...@d134.dwolf.juniper.net.:/usr/obj/usr/src/sys/CANARY  i386
 
 using clang as the C compiler:
 
 ...
 === sbin/nvmecontrol (all)
 clang -O2 -pipe  -std=gnu99 -Qunused-arguments -fstack-protector 
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
 -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
 -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
 -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
 -Wold-style-definition -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int 
 -c /usr/src/sbin/nvmecontrol/nvmecontrol.c
 /usr/src/sbin/nvmecontrol/nvmecontrol.c:77:6: error: cast from 'struct 
 nvme_controller_data *' to 'uint32_t *' (aka 'unsigned int *') increases 
 required alignment from 1 to 4 [-Werror,-Wcast-align]
p = (uint32_t *)cdata;
^
 1 error generated.
 *** [nvmecontrol.o] Error code 1
 1 error
 *** [all] Error code 2
 1 error
 *** [sbin.all__D] Error code 2

Probably should be using memcpy for that.
Thanks!
-Garrett___
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


manual page | zpool-features

2012-09-18 Thread Darrel

Hello,

OpenBSD Packet Filter seems to have broken between 9.0 and 9.1, as it did 
from 8.2 to 9.0.  I built stable/9 and it was not fixed.  Since I like to 
run Packet Filter, I ran these commands:


# cd /usr
# svn co svn://svn.freebsd.org/base/head src

Then I checked /usr/src/UPDATING and found this:

20120828:
A new ZFS feature flag com.delphix:empty_bpobj has been merged
to -HEAD. Pools that have empty_bpobj in active state can not be
imported read-write with ZFS implementations that do not support
this feature. For more information read the zpool-features(5)
manual page.

Unfortunately, I do not have a manual page for zpool-features.

Does this mean that I can not update from 9 to 10?  This amd64 has zfs 
root.


Darrel
___
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-09-18 Thread FreeBSD Tinderbox
TB --- 2012-09-18 14:10:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-09-18 14:10: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-09-18 14:10:00 - starting HEAD tinderbox run for arm/arm
TB --- 2012-09-18 14:10:00 - cleaning the object tree
TB --- 2012-09-18 14:10:00 - cvsupping the source tree
TB --- 2012-09-18 14:10:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/arm/arm/supfile
TB --- 2012-09-18 14:11:11 - building world
TB --- 2012-09-18 14:11:11 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 14:11:11 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 14:11:11 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 14:11:11 - SRCCONF=/dev/null
TB --- 2012-09-18 14:11:11 - TARGET=arm
TB --- 2012-09-18 14:11:11 - TARGET_ARCH=arm
TB --- 2012-09-18 14:11:11 - TZ=UTC
TB --- 2012-09-18 14:11:11 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 14:11:11 - cd /src
TB --- 2012-09-18 14:11:11 - /usr/bin/make -B buildworld
 World build started on Tue Sep 18 14:11: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 Tue Sep 18 15:13:13 UTC 2012
TB --- 2012-09-18 15:13:13 - cd /src/sys/arm/conf
TB --- 2012-09-18 15:13:13 - /usr/sbin/config -m AC100
TB --- 2012-09-18 15:13:13 - skipping AC100 kernel
TB --- 2012-09-18 15:13:13 - cd /src/sys/arm/conf
TB --- 2012-09-18 15:13:13 - /usr/sbin/config -m ARMADAXP
TB --- 2012-09-18 15:13:13 - skipping ARMADAXP kernel
TB --- 2012-09-18 15:13:13 - cd /src/sys/arm/conf
TB --- 2012-09-18 15:13:13 - /usr/sbin/config -m ATMEL
TB --- 2012-09-18 15:13:13 - building ATMEL kernel
TB --- 2012-09-18 15:13:13 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 15:13:13 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 15:13:13 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 15:13:13 - SRCCONF=/dev/null
TB --- 2012-09-18 15:13:13 - TARGET=arm
TB --- 2012-09-18 15:13:13 - TARGET_ARCH=arm
TB --- 2012-09-18 15:13:13 - TZ=UTC
TB --- 2012-09-18 15:13:13 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 15:13:13 - cd /src
TB --- 2012-09-18 15:13:13 - /usr/bin/make -B buildkernel KERNCONF=ATMEL
 Kernel build for ATMEL started on Tue Sep 18 15:13:13 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 Tue Sep 18 15:16:49 UTC 2012
TB --- 2012-09-18 15:16:49 - cd /src/sys/arm/conf
TB --- 2012-09-18 15:16:49 - /usr/sbin/config -m AVILA
TB --- 2012-09-18 15:16:49 - skipping AVILA kernel
TB --- 2012-09-18 15:16:49 - cd /src/sys/arm/conf
TB --- 2012-09-18 15:16:49 - /usr/sbin/config -m BEAGLEBONE
TB --- 2012-09-18 15:16:49 - skipping BEAGLEBONE kernel
TB --- 2012-09-18 15:16:49 - cd /src/sys/arm/conf
TB --- 2012-09-18 15:16:49 - /usr/sbin/config -m BWCT
TB --- 2012-09-18 15:16:49 - building BWCT kernel
TB --- 2012-09-18 15:16:49 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 15:16:49 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 15:16:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 15:16:49 - SRCCONF=/dev/null
TB --- 2012-09-18 15:16:49 - TARGET=arm
TB --- 2012-09-18 15:16:49 - TARGET_ARCH=arm
TB --- 2012-09-18 15:16:49 - TZ=UTC
TB --- 2012-09-18 15:16:49 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 15:16:49 - cd /src
TB --- 2012-09-18 15:16:49 - /usr/bin/make -B buildkernel KERNCONF=BWCT
 Kernel build for BWCT started on Tue Sep 18 15:16:49 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 Tue Sep 18 15:18:59 UTC 2012
TB --- 2012-09-18 15:18:59 - cd /src/sys/arm/conf
TB --- 2012-09-18 15:18:59 - /usr/sbin/config -m CAMBRIA
TB --- 2012-09-18 15:18:59 - skipping CAMBRIA kernel
TB --- 2012-09-18 15:18:59 - cd /src/sys/arm/conf
TB --- 2012-09-18 15:18:59 - /usr/sbin/config -m CNS11XXNAS
TB --- 2012-09-18 15:18:59 - building CNS11XXNAS kernel
TB --- 2012-09-18 15:18:59 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 15:18:59 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 15:18:59 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 15:18:59 - SRCCONF=/dev/null
TB --- 2012-09-18 15:18:59 - TARGET=arm
TB --- 2012-09-18 15:18:59 - TARGET_ARCH=arm
TB --- 2012-09-18 15:18:59 - TZ=UTC
TB --- 2012-09-18 15:18:59 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 15:18:59 - cd /src
TB --- 2012-09-18 15:18:59 - /usr/bin/make -B buildkernel KERNCONF=CNS11XXNAS
 

Re: Clang as default compiler November 4th

2012-09-18 Thread Mehmet Erol Sanliturk
On Tue, Sep 18, 2012 at 7:23 AM, Tijl Coosemans t...@coosemans.org wrote:

 On 15-09-2012 17:39, Mehmet Erol Sanliturk wrote:
  On Sat, Sep 15, 2012 at 7:30 AM, Tijl Coosemans t...@coosemans.org
 wrote:
  On 15-09-2012 16:09, Roman Divacky wrote:
  Is this correct?
 
  lev ~$ ./cos 1.23456789e20
  6.031937e-01
  -9.629173e-02
  2.814722e-01
 
  Yes, that's what the libm call returns.
 
  Linux z 3.5.3-1.fc17.x86_64 #1 SMP Wed Aug 29 18:46:34 UTC 2012 x86_64
  x86_64 x86_64 GNU/Linux
 
  clang version 3.0 (tags/RELEASE_30/final)
  Target: x86_64-redhat-linux-gnu
  Thread model: posix
 
 
  Output of the initial program is the following :
 
  #include math.h
  #include stdio.h
  #include stdlib.h
 
  int
  main( int argc, char **argv ) {
  double d = strtod( argv[ 1 ], NULL );
 
  printf(  cos : %e\n, ( double ) cos( d ));
  printf( cosf : %e\n, ( double ) cosf( d ));
  printf( cosl : %e\n, ( double ) cosl( d ));
  return( 0 );
  }
 
 
  cos : 2.814722e-01
  cosf : -9.629173e-02
  cosl : 7.738403e-01

 This is probably because SSE instructions are used on amd64.

  Output of the following program is different :

 The reason is that...

  #include math.h
  #include stdio.h
  #include stdlib.h
 
  int
  main( int argc, char **argv ) {
  double d ;
  double two_pi ;
  double f ;
  double v ;
 
  two_pi = 2 * 3.14159265358979323846 ;
  d = strtod( argv[ 1 ], NULL );
 
  f = floor ( d / two_pi ) ;
  v = d - f * two_pi ;

 ...this is a poor way to compute a remainder. Try to use fmod() or
 remainder() instead.



My C knowledge is NOT very well . Thanks .




  printf(   given : %e\n, ( double ) d );
  printf(   multiplier : %e\n, ( double ) f );
  printf( reduced : %e\n, ( double ) v );
 
 
  printf(  cos ( %e ) : %e\n, d , ( double ) cos( d ));
  printf( cosf ( %e ) : %e\n, d , ( double ) cosf( d ));
  printf( cosl ( %e ) : %e\n, d , ( double ) cosl( d ));
 
 
  printf(  cos ( %e ) : %e\n, v , ( double ) cos( v ));
  printf( cosf ( %e ) : %e\n, v , ( double ) cosf( v ));
  printf( cosl ( %e ) : %e\n, v , ( double ) cosl( v ));
 
 
  return( 0 );
  }
 
 
given : 1.234568e+20
multiplier : 1.964876e+19
  reduced : 1.638400e+04
 
 
   cos ( 1.234568e+20 ) : 2.814722e-01
  cosf ( 1.234568e+20 ) : -9.629173e-02
  cosl ( 1.234568e+20 ) : 7.738403e-01
 
   cos ( 1.638400e+04 ) : -8.285342e-01
  cosf ( 1.638400e+04 ) : -8.285342e-01
  cosl ( 1.638400e+04 ) : -8.285342e-01


My intention was to check whether there is a difference between Clang
compiled programs in different operating systems .


The GCC output is as follows :


Linux z 3.5.3-1.fc17.x86_64 #1 SMP Wed Aug 29 18:46:34 UTC 2012 x86_64
x86_64 x86_64 GNU/Linux

cc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 given : 1.234568e+20
 cos ( 1.234568e+20 ) : 2.814722e-01
cosf ( 1.234568e+20 ) : -9.629173e-02
cosl ( 1.234568e+20 ) : 7.738403e-01

multiplier : 1.964876e+19
   reduced : 1.638400e+04
 cos ( 1.638400e+04 ) : -8.285342e-01
cosf ( 1.638400e+04 ) : -8.285342e-01
cosl ( 1.638400e+04 ) : -8.285342e-01

multiplier : 2.607000e+03
   reduced : 3.735904e+00
 cos ( 3.735904e+00 ) : -8.285342e-01
cosf ( 3.735904e+00 ) : -8.285342e-01
cosl ( 3.735904e+00 ) : -8.285342e-01


This shows that GCC is NOT better than Clang .

Thank you very much .

Mehmet Erol Sanliturk
___
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: Clang as default compiler November 4th

2012-09-18 Thread Roman Divacky
Fwiw, I commited the dont use long nops on amd geode thing into llvm
a few minutes ago. So this issue doesnt exist anymore.

On Wed, Sep 12, 2012 at 07:19:07PM +0400, Lev Serebryakov wrote:
 Hello, Patrick.
 You wrote 12  2012 ?., 1:22:44:
 
 PL Well, I will not be able to run FreeBSD from scratch on my soekris :-)
   Thank you for warning, I've missed this.
 
 -- 
 // Black Lion AKA Lev Serebryakov l...@freebsd.org
 
 ___
 freebsd-toolch...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
 To unsubscribe, send any mail to freebsd-toolchain-unsubscr...@freebsd.org
___
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-09-18 Thread FreeBSD Tinderbox
TB --- 2012-09-18 14:10:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-09-18 14:10: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-09-18 14:10:00 - starting HEAD tinderbox run for i386/pc98
TB --- 2012-09-18 14:10:00 - cleaning the object tree
TB --- 2012-09-18 14:10:00 - cvsupping the source tree
TB --- 2012-09-18 14:10:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/pc98/supfile
TB --- 2012-09-18 14:11:11 - building world
TB --- 2012-09-18 14:11:11 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 14:11:11 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 14:11:11 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 14:11:11 - SRCCONF=/dev/null
TB --- 2012-09-18 14:11:11 - TARGET=pc98
TB --- 2012-09-18 14:11:11 - TARGET_ARCH=i386
TB --- 2012-09-18 14:11:11 - TZ=UTC
TB --- 2012-09-18 14:11:11 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 14:11:11 - cd /src
TB --- 2012-09-18 14:11:11 - /usr/bin/make -B buildworld
 World build started on Tue Sep 18 14:11: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 Tue Sep 18 16:42:48 UTC 2012
TB --- 2012-09-18 16:42:48 - generating LINT kernel config
TB --- 2012-09-18 16:42:48 - cd /src/sys/pc98/conf
TB --- 2012-09-18 16:42:48 - /usr/bin/make -B LINT
TB --- 2012-09-18 16:42:48 - cd /src/sys/pc98/conf
TB --- 2012-09-18 16:42:48 - /usr/sbin/config -m LINT
TB --- 2012-09-18 16:42:49 - building LINT kernel
TB --- 2012-09-18 16:42:49 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 16:42:49 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 16:42:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 16:42:49 - SRCCONF=/dev/null
TB --- 2012-09-18 16:42:49 - TARGET=pc98
TB --- 2012-09-18 16:42:49 - TARGET_ARCH=i386
TB --- 2012-09-18 16:42:49 - TZ=UTC
TB --- 2012-09-18 16:42:49 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 16:42:49 - cd /src
TB --- 2012-09-18 16:42:49 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Tue Sep 18 16:42:49 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.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_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 

[head tinderbox] failure on i386/i386

2012-09-18 Thread FreeBSD Tinderbox
TB --- 2012-09-18 14:10:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-09-18 14:10: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-09-18 14:10:00 - starting HEAD tinderbox run for i386/i386
TB --- 2012-09-18 14:10:00 - cleaning the object tree
TB --- 2012-09-18 14:10:00 - cvsupping the source tree
TB --- 2012-09-18 14:10:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/i386/supfile
TB --- 2012-09-18 14:17:28 - building world
TB --- 2012-09-18 14:17:28 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 14:17:28 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 14:17:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 14:17:28 - SRCCONF=/dev/null
TB --- 2012-09-18 14:17:28 - TARGET=i386
TB --- 2012-09-18 14:17:28 - TARGET_ARCH=i386
TB --- 2012-09-18 14:17:28 - TZ=UTC
TB --- 2012-09-18 14:17:28 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 14:17:28 - cd /src
TB --- 2012-09-18 14:17:28 - /usr/bin/make -B buildworld
 World build started on Tue Sep 18 14:17:28 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 Tue Sep 18 16:47:46 UTC 2012
TB --- 2012-09-18 16:47:46 - generating LINT kernel config
TB --- 2012-09-18 16:47:46 - cd /src/sys/i386/conf
TB --- 2012-09-18 16:47:46 - /usr/bin/make -B LINT
TB --- 2012-09-18 16:47:47 - cd /src/sys/i386/conf
TB --- 2012-09-18 16:47:47 - /usr/sbin/config -m LINT
TB --- 2012-09-18 16:47:47 - building LINT kernel
TB --- 2012-09-18 16:47:47 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 16:47:47 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 16:47:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 16:47:47 - SRCCONF=/dev/null
TB --- 2012-09-18 16:47:47 - TARGET=i386
TB --- 2012-09-18 16:47:47 - TARGET_ARCH=i386
TB --- 2012-09-18 16:47:47 - TZ=UTC
TB --- 2012-09-18 16:47:47 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 16:47:47 - cd /src
TB --- 2012-09-18 16:47:47 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Tue Sep 18 16:47:47 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.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_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 

Re: buildworld broke in sbin/nvmecontrol; r240620 suspected

2012-09-18 Thread Dimitry Andric

On 2012-09-18 14:53, David Wolfskill wrote:
...

using clang as the C compiler:

...
=== sbin/nvmecontrol (all)
clang -O2 -pipe  -std=gnu99 -Qunused-arguments -fstack-protector 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int 
-c /usr/src/sbin/nvmecontrol/nvmecontrol.c
/usr/src/sbin/nvmecontrol/nvmecontrol.c:77:6: error: cast from 'struct 
nvme_controller_data *' to 'uint32_t *' (aka 'unsigned int *') increases 
required alignment from 1 to 4 [-Werror,-Wcast-align]
 p = (uint32_t *)cdata;
 ^


Since this tool (nvmecontrol) is currently only compiled for amd64 and
i386, we might as well ignore these alignment warnings, or cast them
away.

Jim, I don't expect this tool to ever be applicable to non-x86 arches,
but can you please confirm that?
___
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: buildworld broke in sbin/nvmecontrol; r240620 suspected

2012-09-18 Thread Jim Harris
On Tue, Sep 18, 2012 at 8:28 AM, Garrett Cooper yaneg...@gmail.com wrote:
 On Sep 18, 2012, at 5:53 AM, David Wolfskill da...@catwhisker.org wrote:

 This was on:

 FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #681 
 240597M: Mon Sep 17 15:34:41 PDT 2012 
 r...@d134.dwolf.juniper.net.:/usr/obj/usr/src/sys/CANARY  i386

 using clang as the C compiler:

 ...
 === sbin/nvmecontrol (all)
 clang -O2 -pipe  -std=gnu99 -Qunused-arguments -fstack-protector 
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
 -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
 -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter 
 -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
 -Wold-style-definition -Wno-pointer-sign -Wno-empty-body 
 -Wno-string-plus-int -c /usr/src/sbin/nvmecontrol/nvmecontrol.c
 /usr/src/sbin/nvmecontrol/nvmecontrol.c:77:6: error: cast from 'struct 
 nvme_controller_data *' to 'uint32_t *' (aka 'unsigned int *') increases 
 required alignment from 1 to 4 [-Werror,-Wcast-align]
p = (uint32_t *)cdata;
^
 1 error generated.
 *** [nvmecontrol.o] Error code 1
 1 error
 *** [all] Error code 2
 1 error
 *** [sbin.all__D] Error code 2

 Probably should be using memcpy for that.
 Thanks!
 -Garrett

I think adding __aligned(4) to struct nvme_controller_data is the better way
to go.  This structure is already marked as __packed which seems to
cause clang to think the structure could be unaligned.  I've confirmed
this fixes the issue.

An an FYI - If I remove the __packed specifier (and do not add __aligned),
clang compiles without nvmecontrol without warning as well.

Regards,

-Jim
___
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-09-18 Thread FreeBSD Tinderbox
TB --- 2012-09-18 15:42:08 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-09-18 15:42:08 - 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-09-18 15:42:08 - starting HEAD tinderbox run for ia64/ia64
TB --- 2012-09-18 15:42:08 - cleaning the object tree
TB --- 2012-09-18 15:42:08 - cvsupping the source tree
TB --- 2012-09-18 15:42:08 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/ia64/ia64/supfile
TB --- 2012-09-18 15:42:49 - building world
TB --- 2012-09-18 15:42:49 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 15:42:49 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 15:42:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 15:42:49 - SRCCONF=/dev/null
TB --- 2012-09-18 15:42:49 - TARGET=ia64
TB --- 2012-09-18 15:42:49 - TARGET_ARCH=ia64
TB --- 2012-09-18 15:42:49 - TZ=UTC
TB --- 2012-09-18 15:42:49 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 15:42:49 - cd /src
TB --- 2012-09-18 15:42:49 - /usr/bin/make -B buildworld
 World build started on Tue Sep 18 15:42:51 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 Tue Sep 18 17:20:43 UTC 2012
TB --- 2012-09-18 17:20:43 - generating LINT kernel config
TB --- 2012-09-18 17:20:43 - cd /src/sys/ia64/conf
TB --- 2012-09-18 17:20:43 - /usr/bin/make -B LINT
TB --- 2012-09-18 17:20:43 - cd /src/sys/ia64/conf
TB --- 2012-09-18 17:20:43 - /usr/sbin/config -m LINT
TB --- 2012-09-18 17:20:43 - building LINT kernel
TB --- 2012-09-18 17:20:43 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 17:20:43 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 17:20:43 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 17:20:43 - SRCCONF=/dev/null
TB --- 2012-09-18 17:20:43 - TARGET=ia64
TB --- 2012-09-18 17:20:43 - TARGET_ARCH=ia64
TB --- 2012-09-18 17:20:43 - TZ=UTC
TB --- 2012-09-18 17:20:43 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 17:20:43 - cd /src
TB --- 2012-09-18 17:20:43 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Tue Sep 18 17:20:43 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.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_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 

[head tinderbox] failure on amd64/amd64

2012-09-18 Thread FreeBSD Tinderbox
TB --- 2012-09-18 14:10:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-09-18 14:10: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-09-18 14:10:00 - starting HEAD tinderbox run for amd64/amd64
TB --- 2012-09-18 14:10:00 - cleaning the object tree
TB --- 2012-09-18 14:10:00 - cvsupping the source tree
TB --- 2012-09-18 14:10:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/amd64/amd64/supfile
TB --- 2012-09-18 14:11:04 - building world
TB --- 2012-09-18 14:11:04 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 14:11:04 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 14:11:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 14:11:04 - SRCCONF=/dev/null
TB --- 2012-09-18 14:11:04 - TARGET=amd64
TB --- 2012-09-18 14:11:04 - TARGET_ARCH=amd64
TB --- 2012-09-18 14:11:04 - TZ=UTC
TB --- 2012-09-18 14:11:04 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 14:11:04 - cd /src
TB --- 2012-09-18 14:11:04 - /usr/bin/make -B buildworld
 World build started on Tue Sep 18 14:11:05 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 Tue Sep 18 17:20:12 UTC 2012
TB --- 2012-09-18 17:20:12 - generating LINT kernel config
TB --- 2012-09-18 17:20:12 - cd /src/sys/amd64/conf
TB --- 2012-09-18 17:20:12 - /usr/bin/make -B LINT
TB --- 2012-09-18 17:20:12 - cd /src/sys/amd64/conf
TB --- 2012-09-18 17:20:12 - /usr/sbin/config -m LINT
TB --- 2012-09-18 17:20:13 - building LINT kernel
TB --- 2012-09-18 17:20:13 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 17:20:13 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 17:20:13 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 17:20:13 - SRCCONF=/dev/null
TB --- 2012-09-18 17:20:13 - TARGET=amd64
TB --- 2012-09-18 17:20:13 - TARGET_ARCH=amd64
TB --- 2012-09-18 17:20:13 - TZ=UTC
TB --- 2012-09-18 17:20:13 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 17:20:13 - cd /src
TB --- 2012-09-18 17:20:13 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Tue Sep 18 17:20:13 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.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_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 

Re: [head tinderbox] failure on amd64/amd64

2012-09-18 Thread Adrian Chadd
Honest, it's the tinderbox's fault. Not mine. :-)

(I know, it almost always is my fault..)



adrian

On 18 September 2012 10:29, FreeBSD Tinderbox tinder...@freebsd.org wrote:
 TB --- 2012-09-18 14:10:00 - tinderbox 2.9 running on 
 freebsd-current.sentex.ca
 TB --- 2012-09-18 14:10: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-09-18 14:10:00 - starting HEAD tinderbox run for amd64/amd64
 TB --- 2012-09-18 14:10:00 - cleaning the object tree
 TB --- 2012-09-18 14:10:00 - cvsupping the source tree
 TB --- 2012-09-18 14:10:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
 /tinderbox/HEAD/amd64/amd64/supfile
 TB --- 2012-09-18 14:11:04 - building world
 TB --- 2012-09-18 14:11:04 - CROSS_BUILD_TESTING=YES
 TB --- 2012-09-18 14:11:04 - MAKEOBJDIRPREFIX=/obj
 TB --- 2012-09-18 14:11:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2012-09-18 14:11:04 - SRCCONF=/dev/null
 TB --- 2012-09-18 14:11:04 - TARGET=amd64
 TB --- 2012-09-18 14:11:04 - TARGET_ARCH=amd64
 TB --- 2012-09-18 14:11:04 - TZ=UTC
 TB --- 2012-09-18 14:11:04 - __MAKE_CONF=/dev/null
 TB --- 2012-09-18 14:11:04 - cd /src
 TB --- 2012-09-18 14:11:04 - /usr/bin/make -B buildworld
 World build started on Tue Sep 18 14:11:05 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 Tue Sep 18 17:20:12 UTC 2012
 TB --- 2012-09-18 17:20:12 - generating LINT kernel config
 TB --- 2012-09-18 17:20:12 - cd /src/sys/amd64/conf
 TB --- 2012-09-18 17:20:12 - /usr/bin/make -B LINT
 TB --- 2012-09-18 17:20:12 - cd /src/sys/amd64/conf
 TB --- 2012-09-18 17:20:12 - /usr/sbin/config -m LINT
 TB --- 2012-09-18 17:20:13 - building LINT kernel
 TB --- 2012-09-18 17:20:13 - CROSS_BUILD_TESTING=YES
 TB --- 2012-09-18 17:20:13 - MAKEOBJDIRPREFIX=/obj
 TB --- 2012-09-18 17:20:13 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2012-09-18 17:20:13 - SRCCONF=/dev/null
 TB --- 2012-09-18 17:20:13 - TARGET=amd64
 TB --- 2012-09-18 17:20:13 - TARGET_ARCH=amd64
 TB --- 2012-09-18 17:20:13 - TZ=UTC
 TB --- 2012-09-18 17:20:13 - __MAKE_CONF=/dev/null
 TB --- 2012-09-18 17:20:13 - cd /src
 TB --- 2012-09-18 17:20:13 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Tue Sep 18 17:20:13 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.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_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 

Re: buildworld broke in sbin/nvmecontrol; r240620 suspected

2012-09-18 Thread Adrian Chadd
On 18 September 2012 10:01, Dimitry Andric d...@freebsd.org wrote:
 Since this tool (nvmecontrol) is currently only compiled for amd64 and
 i386, we might as well ignore these alignment warnings, or cast them
 away.

 Jim, I don't expect this tool to ever be applicable to non-x86 arches,
 but can you please confirm that?

Oh dear lordie, please don't assume that code/hardware won't be
recycled for other arches. I thought we had figured that stuff out for
2012. :-)



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: 9.0 umass problem

2012-09-18 Thread Hans Petter Selasky
On Sunday 15 January 2012 20:36:09 Hans Petter Selasky wrote:
 On Sunday 15 January 2012 18:35:59 George Mitchell wrote:
  I have a USB compact flash reader-writer which is normally connected to
  my computer all the time but rarely contains a compact flash card. Here
  is a snippet from a verbose dmesg with FreeBSD 9.0-RC3:
  
  
  ugen0.5: vendor 0x05e3 at usbus0
  umass0: vendor 0x05e3 USB TO IDE, class 0/0, rev 2.00/0.32, addr 5 on
  usbus0
  umass0: SCSI over Bulk-Only; quirks = 0x4101
  umass0:2:0:-1: Attached to scbus2
  (probe0:umass-sim0:0:0:0): SCSI status error
  (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 1 0 0 ff 0
  (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
  (probe0:umass-sim0:0:0:0): SCSI status: Check Condition
  (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not
  present)
  (probe0:umass-sim0:0:0:0): Error 6, Unretryable error
  (probe0:umass-sim0:0:0:0): Down reving Protocol Version from 2 to 0?
  ...
  (probe0:umass-sim0:0:0:0): AutoSense failed
  (probe0:umass-sim0:0:0:0): Error 5, Unretryable error
  GEOM: new disk da0
  pass2 at umass-sim0 bus 0 scbus2 target 0 lun 0
  pass2: Generic STORAGE DEVICE 1.00 Removable Direct Access SCSI-0
  device pass2: 1.000MB/s transfers
  ...
  (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
  (da0:umass-sim0:0:0:0): Retrying command
  (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
  (da0:umass-sim0:0:0:0): Retrying command
  (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
  (da0:umass-sim0:0:0:0): Retrying command
  (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
  (da0:umass-sim0:0:0:0): Retrying command
  (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
  (da0:umass-sim0:0:0:0): Error 5, Retries exhausted
  (da0:umass-sim0:0:0:0): got CAM status 0x4
  (da0:umass-sim0:0:0:0): fatal error, failed to attach to device
  (da0:umass-sim0:0:0:0): lost device - 0 outstanding
  (da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
  (da0:umass-sim0:0:0:0): Error 5, Retries exhausted
  (da0:umass-sim0:0:0:0): removing device entry
  Opened disk da0 - 5
  
  
  Everything works normally, but the above events take about half a
  minute and bring the booting-up procedure to a halt while the
  retries finish. Is there a umass quirk I could enable to speed up
  whatever is happening here? usbconfig -d 0.5 dump_device_desc says:
  
  ugen0.5: USB TO IDE vendor 0x05e3 at usbus0, cfg=0 md=HOST spd=FULL
  (12Mbps) pwr=ON
  
  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0040
  idVendor = 0x05e3
  idProduct = 0x0703
  bcdDevice = 0x0032
  iManufacturer = 0x no string
  iProduct = 0x0001 retrieving string failed
  iSerialNumber = 0x no string
  bNumConfigurations = 0x0001
  
  
  Here's the corresponding dmesg output from 8.2-STABLE:
  
  ugen0.5: vendor 0x05e3 at usbus0
  umass0: vendor 0x05e3 USB TO IDE, class 0/0, rev 2.00/0.32, addr 5 on
  usbus0
  umass0:  SCSI over Bulk-Only; quirks = 0x
  umass0: Get Max Lun not supported (USB_ERR_STALLED)
  umass0:2:0:-1: Attached to scbus2
  (probe0:umass-sim0:0:0:0): SCSI status error
  (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 1 0 0 ff 0
  (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
  (probe0:umass-sim0:0:0:0): SCSI status: Check Condition
  (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not
  present)
  (probe0:umass-sim0:0:0:0): Error 6, Unretryable error
  (probe0:umass-sim0:0:0:0): Down reving Protocol Version from 2 to 0?
  (probe0:umass-sim0:0:0:0): SCSI status error
  (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
  (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
  (probe0:umass-sim0:0:0:0): SCSI status: Check Condition
  (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not
  present)
  (probe0:umass-sim0:0:0:0): Error 6, Unretryable error
  GEOM: new disk da0
  pass2 at umass-sim0 bus 0 scbus2 target 0 lun 0
  pass2: Generic STORAGE DEVICE 1.00 Removable Direct Access SCSI-0
  device pass2: 1.000MB/s transfers
  (da0:umass-sim0:0:0:0): SCSI status error
  (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0
  (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
  (da0:umass-sim0:0:0:0): SCSI status: Check Condition
  (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not
  present) (da0:umass-sim0:0:0:0): Error 6, Unretryable error
  da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
  da0: Generic STORAGE DEVICE 1.00 Removable Direct Access SCSI-0 device
  da0: 1.000MB/s transfers
  da0: Attempt to query device size failed: NOT READY, Medium not present
  (da0:umass-sim0:0:0:0): SCSI status error
  (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0
  (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
  (da0:umass-sim0:0:0:0): SCSI status: Check Condition
 

[head tinderbox] failure on mips/mips

2012-09-18 Thread FreeBSD Tinderbox
TB --- 2012-09-18 16:49:44 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-09-18 16:49:44 - 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-09-18 16:49:44 - starting HEAD tinderbox run for mips/mips
TB --- 2012-09-18 16:49:44 - cleaning the object tree
TB --- 2012-09-18 16:49:44 - cvsupping the source tree
TB --- 2012-09-18 16:49:44 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/mips/mips/supfile
TB --- 2012-09-18 16:51:01 - building world
TB --- 2012-09-18 16:51:01 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 16:51:01 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 16:51:01 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 16:51:01 - SRCCONF=/dev/null
TB --- 2012-09-18 16:51:01 - TARGET=mips
TB --- 2012-09-18 16:51:01 - TARGET_ARCH=mips
TB --- 2012-09-18 16:51:01 - TZ=UTC
TB --- 2012-09-18 16:51:01 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 16:51:01 - cd /src
TB --- 2012-09-18 16:51:01 - /usr/bin/make -B buildworld
 World build started on Tue Sep 18 16:51:02 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 Tue Sep 18 17:56:21 UTC 2012
TB --- 2012-09-18 17:56:21 - cd /src/sys/mips/conf
TB --- 2012-09-18 17:56:21 - /usr/sbin/config -m ADM5120
TB --- 2012-09-18 17:56:21 - skipping ADM5120 kernel
TB --- 2012-09-18 17:56:21 - cd /src/sys/mips/conf
TB --- 2012-09-18 17:56:21 - /usr/sbin/config -m ALCHEMY
TB --- 2012-09-18 17:56:21 - skipping ALCHEMY kernel
TB --- 2012-09-18 17:56:21 - cd /src/sys/mips/conf
TB --- 2012-09-18 17:56:21 - /usr/sbin/config -m AP91
TB --- 2012-09-18 17:56:21 - building AP91 kernel
TB --- 2012-09-18 17:56:21 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 17:56:21 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 17:56:21 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 17:56:21 - SRCCONF=/dev/null
TB --- 2012-09-18 17:56:21 - TARGET=mips
TB --- 2012-09-18 17:56:21 - TARGET_ARCH=mips
TB --- 2012-09-18 17:56:21 - TZ=UTC
TB --- 2012-09-18 17:56:21 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 17:56:21 - cd /src
TB --- 2012-09-18 17:56:21 - /usr/bin/make -B buildkernel KERNCONF=AP91
 Kernel build for AP91 started on Tue Sep 18 17:56:21 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
[...]
=== ath (all)
cc -O -pipe -G0 -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. 
-I/src/sys/modules/ath/../../dev/ath 
-I/src/sys/modules/ath/../../dev/ath/ath_hal -DHAVE_KERNEL_OPTION_HEADERS 
-include /obj/mips.mips/src/sys/AP91/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -G0 -fno-pic -mno-abicalls 
-mlong-calls -I/obj/mips.mips/src/sys/AP91  -msoft-float -ffreestanding 
-std=iso9899:1999 -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-c /src/sys/modules/ath/../../dev/ath/if_ath.c
cc -O -pipe -G0 -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. 
-I/src/sys/modules/ath/../../dev/ath 
-I/src/sys/modules/ath/../../dev/ath/ath_hal -DHAVE_KERNEL_OPTION_HEADERS 
-include /obj/mips.mips/src/sys/AP91/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -G0 -fno-pic -mno-abicalls 
-mlong-calls -I/obj/mips.mips/src/sys/AP91  -msoft-float -ffreestanding 
-std=iso9899:1999 -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-c 
/src/sys/modules/ath/../../dev/ath/if_ath_debug.c
cc -O -pipe -G0 -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. 
-I/src/sys/modules/ath/../../dev/ath 
-I/src/sys/modules/ath/../../dev/ath/ath_hal -DHAVE_KERNEL_OPTION_HEADERS 
-include /obj/mips.mips/src/sys/AP91/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -G0 -fno-pic -mno-abicalls 
-mlong-calls -I/obj/mips.mips/src/sys/AP91  -msoft-float -ffreestanding 
-std=iso9899:1999 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 

Re: buildworld broke in sbin/nvmecontrol; r240620 suspected

2012-09-18 Thread Jim Harris
On Tue, Sep 18, 2012 at 5:53 AM, David Wolfskill da...@catwhisker.org wrote:
 This was on:

 FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #681 240597M: 
 Mon Sep 17 15:34:41 PDT 2012 
 r...@d134.dwolf.juniper.net.:/usr/obj/usr/src/sys/CANARY  i386

 using clang as the C compiler:

 ...
 === sbin/nvmecontrol (all)
 clang -O2 -pipe  -std=gnu99 -Qunused-arguments -fstack-protector 
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
 -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
 -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
 -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
 -Wold-style-definition -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int 
 -c /usr/src/sbin/nvmecontrol/nvmecontrol.c
 /usr/src/sbin/nvmecontrol/nvmecontrol.c:77:6: error: cast from 'struct 
 nvme_controller_data *' to 'uint32_t *' (aka 'unsigned int *') increases 
 required alignment from 1 to 4 [-Werror,-Wcast-align]
 p = (uint32_t *)cdata;
 ^
 1 error generated.
 *** [nvmecontrol.o] Error code 1
 1 error
 *** [all] Error code 2
 1 error
 *** [sbin.all__D] Error code 2

Fixed in r240671.

On a related note, r240672 fixes a build warning in nvme(4), found
only with clang.

 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


[head tinderbox] failure on sparc64/sparc64

2012-09-18 Thread FreeBSD Tinderbox
TB --- 2012-09-18 17:29:25 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-09-18 17:29:25 - 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-09-18 17:29:25 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2012-09-18 17:29:25 - cleaning the object tree
TB --- 2012-09-18 17:29:25 - cvsupping the source tree
TB --- 2012-09-18 17:29:25 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/sparc64/sparc64/supfile
TB --- 2012-09-18 17:31:03 - building world
TB --- 2012-09-18 17:31:03 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 17:31:03 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 17:31:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 17:31:03 - SRCCONF=/dev/null
TB --- 2012-09-18 17:31:03 - TARGET=sparc64
TB --- 2012-09-18 17:31:03 - TARGET_ARCH=sparc64
TB --- 2012-09-18 17:31:03 - TZ=UTC
TB --- 2012-09-18 17:31:03 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 17:31:03 - cd /src
TB --- 2012-09-18 17:31:03 - /usr/bin/make -B buildworld
 World build started on Tue Sep 18 17:31: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
 World build completed on Tue Sep 18 18:35:26 UTC 2012
TB --- 2012-09-18 18:35:26 - generating LINT kernel config
TB --- 2012-09-18 18:35:26 - cd /src/sys/sparc64/conf
TB --- 2012-09-18 18:35:26 - /usr/bin/make -B LINT
TB --- 2012-09-18 18:35:26 - cd /src/sys/sparc64/conf
TB --- 2012-09-18 18:35:26 - /usr/sbin/config -m LINT
TB --- 2012-09-18 18:35:26 - building LINT kernel
TB --- 2012-09-18 18:35:26 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 18:35:26 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 18:35:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 18:35:26 - SRCCONF=/dev/null
TB --- 2012-09-18 18:35:26 - TARGET=sparc64
TB --- 2012-09-18 18:35:26 - TARGET_ARCH=sparc64
TB --- 2012-09-18 18:35:26 - TZ=UTC
TB --- 2012-09-18 18:35:26 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 18:35:26 - cd /src
TB --- 2012-09-18 18:35:26 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Tue Sep 18 18:35:26 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.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=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_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=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_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=15000 --param inline-unit-growth=100 

build failure r240669

2012-09-18 Thread Kim Culhan
Seeing this on a clean checkout of r240669

gzip -cn 
/usr/src/lib/bind/lwres/../../../contrib/bind9/lib/lwres/man/lwres_packet.3
 lwres_packet.3.gz
building profiled lwres library
ranlib liblwres_p.a
=== lib/clang (all)
=== lib/clang/libclanganalysis (all)
=== lib/clang/libclangarcmigrate (all)
=== lib/clang/libclangast (all)
=== lib/clang/libclangbasic (all)
=== lib/clang/libclangcodegen (all)
=== lib/clang/libclangdriver (all)
=== lib/clang/libclangedit (all)
=== lib/clang/libclangfrontend (all)
=== lib/clang/libclangfrontendtool (all)
=== lib/clang/libclanglex (all)
=== lib/clang/libclangparse (all)
=== lib/clang/libclangrewrite (all)
=== lib/clang/libclangsema (all)
=== lib/clang/libclangserialization (all)
=== lib/clang/libclangstaticanalyzercheckers (all)
=== lib/clang/libclangstaticanalyzercore (all)
=== lib/clang/libclangstaticanalyzerfrontend (all)
=== lib/clang/libllvmanalysis (all)
=== lib/clang/libllvmarchive (all)
=== lib/clang/libllvmasmparser (all)
=== lib/clang/libllvmasmprinter (all)
=== lib/clang/libllvmbitreader (all)
=== lib/clang/libllvmbitwriter (all)
=== lib/clang/libllvmcodegen (all)
=== lib/clang/libllvmcore (all)
=== lib/clang/libllvminstcombine (all)
=== lib/clang/libllvminstrumentation (all)
=== lib/clang/libllvmipa (all)
=== lib/clang/libllvmipo (all)
=== lib/clang/libllvmlinker (all)
=== lib/clang/libllvmmc (all)
=== lib/clang/libllvmmcparser (all)
=== lib/clang/libllvmobject (all)
=== lib/clang/libllvmscalaropts (all)
=== lib/clang/libllvmselectiondag (all)
=== lib/clang/libllvmsupport (all)
=== lib/clang/libllvmtablegen (all)
=== lib/clang/libllvmtarget (all)
=== lib/clang/libllvmtransformutils (all)
=== lib/clang/libllvmvectorize (all)
=== lib/clang/libllvmarmasmparser (all)
=== lib/clang/libllvmarmcodegen (all)
=== lib/clang/libllvmarmdesc (all)
=== lib/clang/libllvmarmdisassembler (all)
=== lib/clang/libllvmarminfo (all)
=== lib/clang/libllvmarminstprinter (all)
=== lib/clang/libllvmmipsasmparser (all)
=== lib/clang/libllvmmipscodegen (all)
=== lib/clang/libllvmmipsdesc (all)
=== lib/clang/libllvmmipsdisassembler (all)
=== lib/clang/libllvmmipsinfo (all)
=== lib/clang/libllvmmipsinstprinter (all)
=== lib/clang/libllvmpowerpccodegen (all)
=== lib/clang/libllvmpowerpcdesc (all)
=== lib/clang/libllvmpowerpcinfo (all)
=== lib/clang/libllvmpowerpcinstprinter (all)
=== lib/clang/libllvmx86asmparser (all)
=== lib/clang/libllvmx86codegen (all)
=== lib/clang/libllvmx86desc (all)
=== lib/clang/libllvmx86disassembler (all)
=== lib/clang/libllvmx86info (all)
=== lib/clang/libllvmx86instprinter (all)
=== lib/clang/libllvmx86utils (all)
=== lib/clang/include (all)
1 error
*** [everything] Error code 2
1 error
*** [buildworld] Error code 2
1 error

--

-kim
___
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: manual page | zpool-features

2012-09-18 Thread Fabian Keil
Darrel levi...@iglou.com wrote:

 OpenBSD Packet Filter seems to have broken between 9.0 and 9.1, as it did 
 from 8.2 to 9.0.  I built stable/9 and it was not fixed.  Since I like to 
 run Packet Filter, I ran these commands:
 
 # cd /usr
 # svn co svn://svn.freebsd.org/base/head src
 
 Then I checked /usr/src/UPDATING and found this:
 
 20120828:
  A new ZFS feature flag com.delphix:empty_bpobj has been merged
  to -HEAD. Pools that have empty_bpobj in active state can not be
  imported read-write with ZFS implementations that do not support
  this feature. For more information read the zpool-features(5)
  manual page.
 
 Unfortunately, I do not have a manual page for zpool-features.

It should be part of the checkout. Try:

man /usr/src/cddl/contrib/opensolaris/cmd/zpool/zpool-features.5

 Does this mean that I can not update from 9 to 10?

No.

Fabian


signature.asc
Description: PGP signature


Re: build failure r240669

2012-09-18 Thread Garrett Cooper
On Tue, Sep 18, 2012 at 11:52 AM, Kim Culhan w8hd...@gmail.com wrote:
 Seeing this on a clean checkout of r240669

...

 1 error
 *** [everything] Error code 2
 1 error
 *** [buildworld] Error code 2
 1 error

This isn't helpful. Either compile with -j1 or capture everything
to a log and look for  Error  in the output; the first occurrence is
your real error.
Thanks,
-Garrett
___
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: manual page | zpool-features

2012-09-18 Thread Garrett Cooper
On Tue, Sep 18, 2012 at 11:56 AM, Fabian Keil
freebsd-lis...@fabiankeil.de wrote:
 Darrel levi...@iglou.com wrote:

 OpenBSD Packet Filter seems to have broken between 9.0 and 9.1, as it did
 from 8.2 to 9.0.  I built stable/9 and it was not fixed.  Since I like to
 run Packet Filter, I ran these commands:

 # cd /usr
 # svn co svn://svn.freebsd.org/base/head src

 Then I checked /usr/src/UPDATING and found this:

 20120828:
  A new ZFS feature flag com.delphix:empty_bpobj has been merged
  to -HEAD. Pools that have empty_bpobj in active state can not be
  imported read-write with ZFS implementations that do not support
  this feature. For more information read the zpool-features(5)
  manual page.

 Unfortunately, I do not have a manual page for zpool-features.

 It should be part of the checkout. Try:

 man /usr/src/cddl/contrib/opensolaris/cmd/zpool/zpool-features.5

Dumb question: why isn't this manpage installed with the rest?
Thanks,
-Garrett
___
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: manual page | zpool-features

2012-09-18 Thread Yuri Pankov

On Tue, 18 Sep 2012 12:07:01 -0700, Garrett Cooper wrote:

On Tue, Sep 18, 2012 at 11:56 AM, Fabian Keil
freebsd-lis...@fabiankeil.de wrote:

Darrel levi...@iglou.com wrote:


OpenBSD Packet Filter seems to have broken between 9.0 and 9.1, as it did
from 8.2 to 9.0.  I built stable/9 and it was not fixed.  Since I like to
run Packet Filter, I ran these commands:

# cd /usr
# svn co svn://svn.freebsd.org/base/head src

Then I checked /usr/src/UPDATING and found this:

20120828:
  A new ZFS feature flag com.delphix:empty_bpobj has been merged
  to -HEAD. Pools that have empty_bpobj in active state can not be
  imported read-write with ZFS implementations that do not support
  this feature. For more information read the zpool-features(5)
  manual page.

Unfortunately, I do not have a manual page for zpool-features.


It should be part of the checkout. Try:

man /usr/src/cddl/contrib/opensolaris/cmd/zpool/zpool-features.5


 Dumb question: why isn't this manpage installed with the rest?


It is, but the OP only did a src checkout :-)
___
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: build failure r240669

2012-09-18 Thread Kim Culhan
On Tue, Sep 18, 2012 at 3:05 PM, Garrett Cooper yaneg...@gmail.com wrote:
 On Tue, Sep 18, 2012 at 11:52 AM, Kim Culhan w8hd...@gmail.com wrote:
 Seeing this on a clean checkout of r240669

 ...

 1 error
 *** [everything] Error code 2
 1 error
 *** [buildworld] Error code 2
 1 error

 This isn't helpful. Either compile with -j1 or capture everything
 to a log and look for  Error  in the output; the first occurrence is
 your real error.

Ah right sorry about that, take 2:

clang -pg  -O2 -pipe  -DTERMIOS -DANSI_SOURCE
-I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -I/
usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto
-I/usr/obj/usr/src/secure/lib/libcrypto -DOPE
NSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN
-DOPENSSL_IA32_SSE2 -DAES_ASM -DBSAE
S_ASM -DVPAES_ASM -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5
-DOPENSSL_BN_ASM_GF2m -DMD5_ASM -DGHASH_AS
M -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DWHIRLPOOL_ASM
-I/usr/src/secure/lib/libcrypto/../../../crypto/op
enssl/crypto/asn1
-I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp
-I/usr/src/secure/li
b/libcrypto/../../../crypto/openssl/crypto/modes -DNO_IDEA -std=gnu89
-Qunused-arguments -fstack-protecto
r -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
-Wno-tautological-compare -Wno-unused-value -Wno
-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch
-Wno-switch-enum -Wno-parentheses
-c 
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/x509v3/pcy_tree.c
-o pcy_tree.po
/usr/src/sbin/nvmecontrol/nvmecontrol.c:77:6: error: cast from 'struct
nvme_controller_data *' to 'uint32
_t *' (aka 'unsigned int *') increases required alignment from 1 to 4
[-Werror,-Wcast-align]
p = (uint32_t *)cdata;
^
1 error generated.
*** [nvmecontrol.o] Error code 1
1 error
*** [all] Error code 2
1 error
*** [sbin.all__D] Error code 2


--

-kim
___
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-09-18 Thread FreeBSD Tinderbox
TB --- 2012-09-18 16:56:07 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-09-18 16:56:07 - 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-09-18 16:56:07 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2012-09-18 16:56:07 - cleaning the object tree
TB --- 2012-09-18 16:56:07 - cvsupping the source tree
TB --- 2012-09-18 16:56:07 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc/powerpc/supfile
TB --- 2012-09-18 16:57:23 - building world
TB --- 2012-09-18 16:57:23 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 16:57:23 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 16:57:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 16:57:23 - SRCCONF=/dev/null
TB --- 2012-09-18 16:57:23 - TARGET=powerpc
TB --- 2012-09-18 16:57:23 - TARGET_ARCH=powerpc
TB --- 2012-09-18 16:57:23 - TZ=UTC
TB --- 2012-09-18 16:57:23 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 16:57:23 - cd /src
TB --- 2012-09-18 16:57:23 - /usr/bin/make -B buildworld
 World build started on Tue Sep 18 16:57:24 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 Tue Sep 18 19:14:04 UTC 2012
TB --- 2012-09-18 19:14:04 - generating LINT kernel config
TB --- 2012-09-18 19:14:04 - cd /src/sys/powerpc/conf
TB --- 2012-09-18 19:14:04 - /usr/bin/make -B LINT
TB --- 2012-09-18 19:14:04 - cd /src/sys/powerpc/conf
TB --- 2012-09-18 19:14:04 - /usr/sbin/config -m LINT
TB --- 2012-09-18 19:14:04 - building LINT kernel
TB --- 2012-09-18 19:14:04 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 19:14:04 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 19:14:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 19:14:04 - SRCCONF=/dev/null
TB --- 2012-09-18 19:14:04 - TARGET=powerpc
TB --- 2012-09-18 19:14:04 - TARGET_ARCH=powerpc
TB --- 2012-09-18 19:14:04 - TZ=UTC
TB --- 2012-09-18 19:14:04 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 19:14:04 - cd /src
TB --- 2012-09-18 19:14:04 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Tue Sep 18 19:14: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.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_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 

Re: build failure r240669

2012-09-18 Thread Ryan Stone
On Tue, Sep 18, 2012 at 3:17 PM, Kim Culhan w8hd...@gmail.com wrote:
 Ah right sorry about that, take 2:

 clang -pg  -O2 -pipe  -DTERMIOS -DANSI_SOURCE
 -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -I/
 usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto
 -I/usr/obj/usr/src/secure/lib/libcrypto -DOPE
 NSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN
 -DOPENSSL_IA32_SSE2 -DAES_ASM -DBSAE
 S_ASM -DVPAES_ASM -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5
 -DOPENSSL_BN_ASM_GF2m -DMD5_ASM -DGHASH_AS
 M -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DWHIRLPOOL_ASM
 -I/usr/src/secure/lib/libcrypto/../../../crypto/op
 enssl/crypto/asn1
 -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp
 -I/usr/src/secure/li
 b/libcrypto/../../../crypto/openssl/crypto/modes -DNO_IDEA -std=gnu89
 -Qunused-arguments -fstack-protecto
 r -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
 -Wno-tautological-compare -Wno-unused-value -Wno
 -parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch
 -Wno-switch-enum -Wno-parentheses
 -c 
 /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/x509v3/pcy_tree.c
 -o pcy_tree.po
 /usr/src/sbin/nvmecontrol/nvmecontrol.c:77:6: error: cast from 'struct
 nvme_controller_data *' to 'uint32
 _t *' (aka 'unsigned int *') increases required alignment from 1 to 4
 [-Werror,-Wcast-align]
 p = (uint32_t *)cdata;
 ^
 1 error generated.
 *** [nvmecontrol.o] Error code 1
 1 error
 *** [all] Error code 2
 1 error
 *** [sbin.all__D] Error code 2

Fixed in r240671.
___
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-09-18 Thread FreeBSD Tinderbox
TB --- 2012-09-18 17:28:40 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-09-18 17:28:40 - 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-09-18 17:28:40 - starting HEAD tinderbox run for powerpc64/powerpc
TB --- 2012-09-18 17:28:40 - cleaning the object tree
TB --- 2012-09-18 17:28:40 - cvsupping the source tree
TB --- 2012-09-18 17:28:40 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc64/powerpc/supfile
TB --- 2012-09-18 17:30:31 - building world
TB --- 2012-09-18 17:30:31 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 17:30:31 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 17:30:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 17:30:31 - SRCCONF=/dev/null
TB --- 2012-09-18 17:30:31 - TARGET=powerpc
TB --- 2012-09-18 17:30:31 - TARGET_ARCH=powerpc64
TB --- 2012-09-18 17:30:31 - TZ=UTC
TB --- 2012-09-18 17:30:31 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 17:30:31 - cd /src
TB --- 2012-09-18 17:30:31 - /usr/bin/make -B buildworld
 World build started on Tue Sep 18 17:30:32 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 Tue Sep 18 20:11:15 UTC 2012
TB --- 2012-09-18 20:11:15 - generating LINT kernel config
TB --- 2012-09-18 20:11:15 - cd /src/sys/powerpc/conf
TB --- 2012-09-18 20:11:15 - /usr/bin/make -B LINT
TB --- 2012-09-18 20:11:15 - cd /src/sys/powerpc/conf
TB --- 2012-09-18 20:11:15 - /usr/sbin/config -m LINT
TB --- 2012-09-18 20:11:15 - building LINT kernel
TB --- 2012-09-18 20:11:15 - CROSS_BUILD_TESTING=YES
TB --- 2012-09-18 20:11:15 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-09-18 20:11:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-09-18 20:11:15 - SRCCONF=/dev/null
TB --- 2012-09-18 20:11:15 - TARGET=powerpc
TB --- 2012-09-18 20:11:15 - TARGET_ARCH=powerpc64
TB --- 2012-09-18 20:11:15 - TZ=UTC
TB --- 2012-09-18 20:11:15 - __MAKE_CONF=/dev/null
TB --- 2012-09-18 20:11:15 - cd /src
TB --- 2012-09-18 20:11:15 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Tue Sep 18 20:11: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.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 -mcall-aixdesc -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 -mcall-aixdesc -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  

/usr/src/lib/libc/gen/aux.c:106: error: 'AT_TIMEKEEP' undeclared

2012-09-18 Thread Anton Shterenlikht

I'm trying to rebuild libc with debugging symbols.
I did:

# cd /usr/src/lib/libc
# make all install DEBUG_FLAGS='-g'

and got:

cc  -O2 -pipe  -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/
usr/src/lib/libc/ia64 -DNLS  -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../c
ontrib/gdtoa -DINET6 -I/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVA
TE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../../contrib/jemalloc/include -I/usr/src
/lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime -I/usr/src/li
b/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP
-DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-
format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/libc/gen/aux.c -
o aux.o
/usr/src/lib/libc/gen/aux.c: In function 'init_aux':
/usr/src/lib/libc/gen/aux.c:106: error: 'AT_TIMEKEEP' undeclared (first use in t
his function)
/usr/src/lib/libc/gen/aux.c:106: error: (Each undeclared identifier is reported
only once
/usr/src/lib/libc/gen/aux.c:106: error: for each function it appears in.)
/usr/src/lib/libc/gen/aux.c: In function '_elf_aux_info':
/usr/src/lib/libc/gen/aux.c:171: error: 'AT_TIMEKEEP' undeclared (first use in t
his function)
*** [aux.o] Error code 1

I then did

# make clean
# make

and got the same error.

This is on 238585 ia64.

Perhaps I can't just build libc on its own?

Please advise

Thanks

Anton
___
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: /usr/src/lib/libc/gen/aux.c:106: error: 'AT_TIMEKEEP' undeclared

2012-09-18 Thread Sergey Kandaurov
On 19 September 2012 00:27, Anton Shterenlikht me...@bristol.ac.uk wrote:

 I'm trying to rebuild libc with debugging symbols.
 I did:

 # cd /usr/src/lib/libc
 # make all install DEBUG_FLAGS='-g'

 and got:

 cc  -O2 -pipe  -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include 
 -I/
 usr/src/lib/libc/ia64 -DNLS  -D__DBINTERFACE_PRIVATE 
 -I/usr/src/lib/libc/../../c
 ontrib/gdtoa -DINET6 -I/usr/src/lib/libc -I/usr/src/lib/libc/resolv 
 -D_ACL_PRIVA
 TE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../../contrib/jemalloc/include 
 -I/usr/src
 /lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime 
 -I/usr/src/li
 b/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc 
 -DYP
 -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -Wsystem-headers -Werror -Wall 
 -Wno-
 format-y2k -Wno-uninitialized -Wno-pointer-sign -c 
 /usr/src/lib/libc/gen/aux.c -
 o aux.o
 /usr/src/lib/libc/gen/aux.c: In function 'init_aux':
 /usr/src/lib/libc/gen/aux.c:106: error: 'AT_TIMEKEEP' undeclared (first use 
 in t
 his function)
 /usr/src/lib/libc/gen/aux.c:106: error: (Each undeclared identifier is 
 reported
 only once
 /usr/src/lib/libc/gen/aux.c:106: error: for each function it appears in.)
 /usr/src/lib/libc/gen/aux.c: In function '_elf_aux_info':
 /usr/src/lib/libc/gen/aux.c:171: error: 'AT_TIMEKEEP' undeclared (first use 
 in t
 his function)
 *** [aux.o] Error code 1


This means you have no actual elf.h with AT_TIMEKEEP installed in your
system required to build the recent libc. When you build libc, make
searches for AT_TIMEKEEP in the installed headers, and not in /usr/src.
Canonically you would need to rebuild all the world to properly build the
libc part. To not do this you could try instead (AFAIK) 'make toolchain'.

-- 
wbr,
pluknet
___
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: manual page | zpool-features

2012-09-18 Thread Darrel


On Tue, 18 Sep 2012, Fabian Keil wrote:


Darrel levi...@iglou.com wrote:


OpenBSD Packet Filter seems to have broken between 9.0 and 9.1, as it did
from 8.2 to 9.0.  I built stable/9 and it was not fixed.  Since I like to
run Packet Filter, I ran these commands:

# cd /usr
# svn co svn://svn.freebsd.org/base/head src

Then I checked /usr/src/UPDATING and found this:

20120828:
 A new ZFS feature flag com.delphix:empty_bpobj has been merged
 to -HEAD. Pools that have empty_bpobj in active state can not be
 imported read-write with ZFS implementations that do not support
 this feature. For more information read the zpool-features(5)
 manual page.

Unfortunately, I do not have a manual page for zpool-features.


It should be part of the checkout. Try:

man /usr/src/cddl/contrib/opensolaris/cmd/zpool/zpool-features.5



found it.  :)


Does this mean that I can not update from 9 to 10?


No.



Appears as simple as running the update and 'zpool upgrade -v'.

So, I will proceed.

Darrel
___
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


squealing/whistling audio

2012-09-18 Thread Doug Barton
Sometime in the last couple of months an old problem has resurfaced on
HEAD, a sort of squealing/whistling sound in the audio, even without
anything playing. The sound is similar to the wind whistling through
something.

Before I blindly go off on a bisecting spree, does anyone have a
suggestion as to where I might look?

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


Re: 9.0 umass problem

2012-09-18 Thread George Mitchell

On 09/18/12 13:47, Hans Petter Selasky wrote:

On Sunday 15 January 2012 20:36:09 Hans Petter Selasky wrote:

On Sunday 15 January 2012 18:35:59 George Mitchell wrote:

I have a USB compact flash reader-writer which is normally connected to
my computer all the time but rarely contains a compact flash card. Here
is a snippet from a verbose dmesg with FreeBSD 9.0-RC3:
[...]

Hi,

Can you try 9-stable or apply this patch:

http://svn.freebsd.org/changeset/base/240662

--HPS



Probably not before Saturday, but thanks for the patch! -- George
___
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: MPSAFE VFS -- List of upcoming actions

2012-09-18 Thread Attilio Rao
On Fri, Jul 13, 2012 at 12:18 AM, Attilio Rao atti...@freebsd.org wrote:
 2012/7/4 Attilio Rao atti...@freebsd.org:
 2012/6/29 Attilio Rao atti...@freebsd.org:
 As already published several times, according to the following plan:
 http://wiki.freebsd.org/NONMPSAFE_DEORBIT_VFS


 I still haven't heard from Vivien or Edward, anyway as NTFS is
 basically only used RO these days (also the mount_ntfs code just
 permits RO mounting) I stripped all the uncomplete/bogus write support
 with the following patch:
 http://www.freebsd.org/~attilio/ntfs_remove_write.patch

 This is an attempt to make the code smaller and possibly just focus on
 the locking that really matter (as read-only filesystem).
 On some points of the patch I'm a bit less sure as we could easily
 take into account also write for things like vaccess() arguments, and
 make easier to re-add correct write support at some point in the
 future, but still force RO, even if the approach used in the patch is
 more correct IMHO.
 As an added bonus this patch cleans some dirty code in the mount
 operation and fixes a bug as vfs_mountedfrom() is called before real
 mounting is completed and can still fail.

 A quick update on this.
 It looks like NTFS won't be completed for this GSoC thus I seriously
 need to find an alternative to not loose the NTFS support entirely.

 I tried to look into the NTFS implementation right now and it is
 really a poor support. As Peter has also verified, it can deadlock in
 no-time, it compeltely violates VFS rules, etc. IMHO it deserves a
 complete rewrite if we would still support in-kernel NTFS. I also
 tried to look at the NetBSD implementation. Their code is someway
 similar to our, but they used very complicated (and very dirty) code
 to do the locking. Even if I don't know well enough NetBSD VFS, I have
 the impression not all the races are correctly handled. Definitively,
 not something I would like to port.

 Considering all that the only viable option would be meaning an
 userland filesystem implementation. My preferred choice would be to
 import PUFFS and librefuse on top of it but honestly it requires a lot
 of time to be completed, time which I don't currently have as in 2
 months Giant must be gone by the VFS.

 I then decided to switch to gnn's rewamp of FUSE patches. You can find
 his initial e-mail here:
 http://lists.freebsd.org/pipermail/freebsd-fs/2012-March/013876.html

 I've precisely got the second version of George's patch and created
 this dolphin branch:
 svn://svn.freebsd.org/base/projects/fuse

 I'm fixing low hanging fruit for the moment (see r238411 for example)
 and I still have to make a throughful review.
 However my idea is to commit the support once:
 - ntfs-3g is well stress-tested and proves to be bug-free
 - there is no major/big technical issue pending after the reviews

In the last weeks Peter, Florian, Gustau and I have been working in
stabilizing fuse support. In the specific, Peter has worked hard on
producing several utilities to nit stress-test fuse and in particular
ntfs, Florian has improved fuse related ports (as explained later) and
Gustau has done sparse testing. I feel moderately satisfied by the
level of stability of fuse now to propose to wider usage, in
particular given the huge amount of complaints I'm hearing around
about occasional fuse users.

The final target of the project is to completely import into base the
content of fusefs-kmod starting from earlier posted patches by George.
So far, we took care only of importing in the fuse branch the kernel
part, so that fusefs-kmod userland part is still needed to be
installed from ports, but I was studying the mount_fusefs licensing
before to process with the import for the userland bits of it.

The fixing has been happening here:
svn://svn.freebsd.org/base/projects/fuse/

which is essentially an HEAD branch + fuse kernel components. In order
to get fuse, please compile a kernel from this branch with FUSE option
or simply build and load fuse module.
Alternatively, a kernel patch that should work with HEAD@240684 is here:
http://www.freebsd.org/~attilio/fuse_import/fuse_240684.patch

I guess the patch can easilly apply to all FreeBSD branches, really,
but it is not tested to anything else different then -CURRENT.

As said you still need currently to build fusefs-kmod port. However
you need these further patches, to be put in the fusefs-kmod/files/
directory::
http://www.freebsd.org/~attilio/fuse_import/patch-Makefile
http://www.freebsd.org/~attilio/fuse_import/patch-mount_fusefs__mount_fusefs2.c

They both disable the old kernel building/linking and import new
functionality to let the new kernel support work well in presence of
many consumers.

In addition to fusefs-kmod, Bryan and Florian have also updated
fusefs-lib and fusefs-ntfs ports. For instance, please refer to this
e-mail:
http://lists.freebsd.org/pipermail/freebsd-ports/2012-August/077950.html

Even if this work is someway independent by the fusefs-kmod import, I

Re: MPSAFE VFS -- List of upcoming actions

2012-09-18 Thread Kevin Oberman
On Tue, Sep 18, 2012 at 7:48 PM, Attilio Rao atti...@freebsd.org wrote:
 On Fri, Jul 13, 2012 at 12:18 AM, Attilio Rao atti...@freebsd.org wrote:
 2012/7/4 Attilio Rao atti...@freebsd.org:
 2012/6/29 Attilio Rao atti...@freebsd.org:
 As already published several times, according to the following plan:
 http://wiki.freebsd.org/NONMPSAFE_DEORBIT_VFS


 I still haven't heard from Vivien or Edward, anyway as NTFS is
 basically only used RO these days (also the mount_ntfs code just
 permits RO mounting) I stripped all the uncomplete/bogus write support
 with the following patch:
 http://www.freebsd.org/~attilio/ntfs_remove_write.patch

 This is an attempt to make the code smaller and possibly just focus on
 the locking that really matter (as read-only filesystem).
 On some points of the patch I'm a bit less sure as we could easily
 take into account also write for things like vaccess() arguments, and
 make easier to re-add correct write support at some point in the
 future, but still force RO, even if the approach used in the patch is
 more correct IMHO.
 As an added bonus this patch cleans some dirty code in the mount
 operation and fixes a bug as vfs_mountedfrom() is called before real
 mounting is completed and can still fail.

 A quick update on this.
 It looks like NTFS won't be completed for this GSoC thus I seriously
 need to find an alternative to not loose the NTFS support entirely.

 I tried to look into the NTFS implementation right now and it is
 really a poor support. As Peter has also verified, it can deadlock in
 no-time, it compeltely violates VFS rules, etc. IMHO it deserves a
 complete rewrite if we would still support in-kernel NTFS. I also
 tried to look at the NetBSD implementation. Their code is someway
 similar to our, but they used very complicated (and very dirty) code
 to do the locking. Even if I don't know well enough NetBSD VFS, I have
 the impression not all the races are correctly handled. Definitively,
 not something I would like to port.

 Considering all that the only viable option would be meaning an
 userland filesystem implementation. My preferred choice would be to
 import PUFFS and librefuse on top of it but honestly it requires a lot
 of time to be completed, time which I don't currently have as in 2
 months Giant must be gone by the VFS.

 I then decided to switch to gnn's rewamp of FUSE patches. You can find
 his initial e-mail here:
 http://lists.freebsd.org/pipermail/freebsd-fs/2012-March/013876.html

 I've precisely got the second version of George's patch and created
 this dolphin branch:
 svn://svn.freebsd.org/base/projects/fuse

 I'm fixing low hanging fruit for the moment (see r238411 for example)
 and I still have to make a throughful review.
 However my idea is to commit the support once:
 - ntfs-3g is well stress-tested and proves to be bug-free
 - there is no major/big technical issue pending after the reviews

 In the last weeks Peter, Florian, Gustau and I have been working in
 stabilizing fuse support. In the specific, Peter has worked hard on
 producing several utilities to nit stress-test fuse and in particular
 ntfs, Florian has improved fuse related ports (as explained later) and
 Gustau has done sparse testing. I feel moderately satisfied by the
 level of stability of fuse now to propose to wider usage, in
 particular given the huge amount of complaints I'm hearing around
 about occasional fuse users.

 The final target of the project is to completely import into base the
 content of fusefs-kmod starting from earlier posted patches by George.
 So far, we took care only of importing in the fuse branch the kernel
 part, so that fusefs-kmod userland part is still needed to be
 installed from ports, but I was studying the mount_fusefs licensing
 before to process with the import for the userland bits of it.

 The fixing has been happening here:
 svn://svn.freebsd.org/base/projects/fuse/

 which is essentially an HEAD branch + fuse kernel components. In order
 to get fuse, please compile a kernel from this branch with FUSE option
 or simply build and load fuse module.
 Alternatively, a kernel patch that should work with HEAD@240684 is here:
 http://www.freebsd.org/~attilio/fuse_import/fuse_240684.patch

 I guess the patch can easilly apply to all FreeBSD branches, really,
 but it is not tested to anything else different then -CURRENT.

 As said you still need currently to build fusefs-kmod port. However
 you need these further patches, to be put in the fusefs-kmod/files/
 directory::
 http://www.freebsd.org/~attilio/fuse_import/patch-Makefile
 http://www.freebsd.org/~attilio/fuse_import/patch-mount_fusefs__mount_fusefs2.c

 They both disable the old kernel building/linking and import new
 functionality to let the new kernel support work well in presence of
 many consumers.

 In addition to fusefs-kmod, Bryan and Florian have also updated
 fusefs-lib and fusefs-ntfs ports. For instance, please refer to this
 e-mail:
 

Re: squealing/whistling audio

2012-09-18 Thread matt

On 09/18/12 18:01, Doug Barton wrote:

Sometime in the last couple of months an old problem has resurfaced on
HEAD, a sort of squealing/whistling sound in the audio, even without
anything playing. The sound is similar to the wind whistling through
something.

Before I blindly go off on a bisecting spree, does anyone have a
suggestion as to where I might look?

Doug


Electrically that's usually oscillation (too high gain or too much 
electrical feedback) or an unshielded input. My guess would be that 
there is an input that is defined and active in software, but is a 
loose, ungrounded pin in real life. Like a second microphone input on 
the chip, but not actually connected, would be my guess. Can you try 
purging out nids that you don't use with loader tunables (set their as 
to 0)? Or sysctls as reboots aren't as necessary anymore with snd_hda? 
Maybe something changed in software that is seeing inputs that were not 
present. Also just try muting all inputs with mixer...


Just a guess, but when I hear squealing/whistling/howling I think 
analog before I think digital...


Matt
___
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