Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory
On Sat, Jun 22, 2013 at 04:37:24PM -1000, Jeff Roberson wrote: > On Fri, 21 Jun 2013, Zbyszek Bodek wrote: > > > On 21.06.2013 01:56, Jeff Roberson wrote: > >> On Thu, 20 Jun 2013, Jeff Roberson wrote: > >> > >>> On Wed, 19 Jun 2013, Zbyszek Bodek wrote: > >>> > Hello, > > I've been trying to compile the kernel on my ARMv7 platform using the > sources from the current FreeBSD HEAD. > > make buildkernel <.> -j5 > > 1/2 builds fails in the way described below: > -- > > ing-include-dirs -fdiagnostics-show-option -nostdinc -I. > -I/root/src/freebsd-arm-superpages/sys > -I/root/src/freebsd-arm-superpages/sys/contrib/altq > -I/root/src/freebsd-arm-superpages/sys/contrib/libfdt -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 -mno-thumb-interwork -ffreestanding -Werror > /root/src/freebsd-arm-superpages/sys/ufs/ffs/ffs_snapshot.c > Cannot fork: Cannot allocate memory > *** [ffs_snapshot.o] Error code 2 > 1 error > *** [buildkernel] Error code 2 > 1 error > *** [buildkernel] Error code 2 > 1 error > 5487.888u 481.569s 7:35.65 1310.0% 1443+167k 1741+5388io 221pf+0w > -- > > > The warning from std err is: > -- > > vm_thread_new: kstack allocation failed > vm_thread_new: kstack allocation failed > -- > > > I was trying to find out which commit is causing this (because I was > previously working on some older revision) and using bisect I got to: > > -- > > Author: jeff > Date: Tue Jun 18 04:50:20 2013 + > > Refine UMA bucket allocation to reduce space consumption and improve > performance. > > - Always free to the alloc bucket if there is space. This gives > LIFO > allocation order to improve hot-cache performance. This also > allows > for zones with a single bucket per-cpu rather than a pair if the > entire > working set fits in one bucket. > - Enable per-cpu caches of buckets. To prevent recursive bucket > allocation one bucket zone still has per-cpu caches disabled. > - Pick the initial bucket size based on a table driven maximum size > per-bucket rather than the number of items per-page. This gives > more sane initial sizes. > - Only grow the bucket size when we face contention on the zone > lock, this > causes bucket sizes to grow more slowly. > - Adjust the number of items per-bucket to account for the header > space. > This packs the buckets more efficiently per-page while making them > not quite powers of two. > - Eliminate the per-zone free bucket list. Always return buckets > back > to the bucket zone. This ensures that as zones grow into larger > bucket sizes they eventually discard the smaller sizes. It > persists > fewer buckets in the system. The locking is slightly trickier. > - Only switch buckets in zalloc, not zfree, this eliminates > pathological > cases where we ping-pong between two buckets. > - Ensure that the thread that fills a new bucket gets to allocate > from > it to give a better upper bound on allocation time. > > Sponsored by:EMC / Isilon Storage Division > -- > > > I checked this several times and this commits seems to be causing this. > >>> > >>> Can you tell me how many cores and how much memory you have? And > >>> paste the output of vmstat -z when you see this error. > >>> > >>> You can try changing bucket_select() at line 339 in uma_core.c to read: > >>> > >>> static int > >>> bucket_select(int size) > >>> { > >>> return (MAX(PAGE_SIZE / size, 1)); > >>> } > >>> > >>> This will approximate the old bucket sizing behavior. > >> > >> Just to add some more information; On my machine with 16GB of ram the > >> handful of recent UMA commits save about 20MB of kmem on boot. There > >> are 30% fewer buckets allocated. And all of the malloc zones have > >> similar amounts of cached space. Actually the page size malloc bucket > >> is taking up much less space. > >> > >> I don't know if the problem is unique to arm but I have tested x86 > >> limited to 512MB of ram without tro
Re: revision 252095: kerenl fails to compile: nfs_clstate.c:5160:33: error: format specifies type 'long long' but the argument has type 'uint64_t'
On Sun, 23 Jun 2013 01:53:18 +0900 (JST) Hiroki Sato wrote: > hiren panchasara wrote > in > : > > hi> On Jun 22, 2013 6:09 AM, "O. Hartmann" > hi> wrote: > hi> > > hi> > > hi> > Just for notice. > hi> > > hi> > The most recent sources fail to compile a kernel successfully: > hi> > hi> http://svnweb.freebsd.org/changeset/base/252074 > hi> > hi> This change is the culprit. > > The attached patch should fix it. > > -- Hiroki Thanks, works now. oh signature.asc Description: PGP signature
[head tinderbox] failure on powerpc64/powerpc
TB --- 2013-06-23 03:22:48 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-06-23 03:22:48 - 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 --- 2013-06-23 03:22:48 - starting HEAD tinderbox run for powerpc64/powerpc TB --- 2013-06-23 03:22:48 - cleaning the object tree TB --- 2013-06-23 03:24:30 - /usr/local/bin/svn stat /src TB --- 2013-06-23 03:24:34 - At svn revision 252098 TB --- 2013-06-23 03:24:35 - building world TB --- 2013-06-23 03:24:35 - CROSS_BUILD_TESTING=YES TB --- 2013-06-23 03:24:35 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-23 03:24:35 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-23 03:24:35 - SRCCONF=/dev/null TB --- 2013-06-23 03:24:35 - TARGET=powerpc TB --- 2013-06-23 03:24:35 - TARGET_ARCH=powerpc64 TB --- 2013-06-23 03:24:35 - TZ=UTC TB --- 2013-06-23 03:24:35 - __MAKE_CONF=/dev/null TB --- 2013-06-23 03:24:35 - cd /src TB --- 2013-06-23 03:24:35 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sun Jun 23 03:24:41 UTC 2013 >>> 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 Sun Jun 23 06:22:46 UTC 2013 TB --- 2013-06-23 06:22:46 - generating LINT kernel config TB --- 2013-06-23 06:22:46 - cd /src/sys/powerpc/conf TB --- 2013-06-23 06:22:46 - /usr/bin/make -B LINT TB --- 2013-06-23 06:22:46 - cd /src/sys/powerpc/conf TB --- 2013-06-23 06:22:46 - /usr/sbin/config -m LINT TB --- 2013-06-23 06:22:46 - skipping LINT kernel TB --- 2013-06-23 06:22:46 - cd /src/sys/powerpc/conf TB --- 2013-06-23 06:22:46 - /usr/sbin/config -m GENERIC TB --- 2013-06-23 06:22:46 - skipping GENERIC kernel TB --- 2013-06-23 06:22:46 - cd /src/sys/powerpc/conf TB --- 2013-06-23 06:22:46 - /usr/sbin/config -m GENERIC64 TB --- 2013-06-23 06:22:46 - building GENERIC64 kernel TB --- 2013-06-23 06:22:46 - CROSS_BUILD_TESTING=YES TB --- 2013-06-23 06:22:46 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-23 06:22:46 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-23 06:22:46 - SRCCONF=/dev/null TB --- 2013-06-23 06:22:46 - TARGET=powerpc TB --- 2013-06-23 06:22:46 - TARGET_ARCH=powerpc64 TB --- 2013-06-23 06:22:46 - TZ=UTC TB --- 2013-06-23 06:22:46 - __MAKE_CONF=/dev/null TB --- 2013-06-23 06:22:46 - cd /src TB --- 2013-06-23 06:22:46 - /usr/bin/make -B buildkernel KERNCONF=GENERIC64 >>> Kernel build for GENERIC64 started on Sun Jun 23 06:22:46 UTC 2013 >>> 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 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -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 -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector -Werror /src/sys/fs/nfsclient/nfs_clcomsubs.c cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -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 -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector -Werror /src/sys/fs/nfsclient/nfs_clsubs.c cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -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 -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -
[head tinderbox] failure on sparc64/sparc64
TB --- 2013-06-23 03:41:36 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-06-23 03:41:36 - 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 --- 2013-06-23 03:41:36 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2013-06-23 03:41:36 - cleaning the object tree TB --- 2013-06-23 03:42:40 - /usr/local/bin/svn stat /src TB --- 2013-06-23 03:42:43 - At svn revision 252098 TB --- 2013-06-23 03:42:44 - building world TB --- 2013-06-23 03:42:44 - CROSS_BUILD_TESTING=YES TB --- 2013-06-23 03:42:44 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-23 03:42:44 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-23 03:42:44 - SRCCONF=/dev/null TB --- 2013-06-23 03:42:44 - TARGET=sparc64 TB --- 2013-06-23 03:42:44 - TARGET_ARCH=sparc64 TB --- 2013-06-23 03:42:44 - TZ=UTC TB --- 2013-06-23 03:42:44 - __MAKE_CONF=/dev/null TB --- 2013-06-23 03:42:44 - cd /src TB --- 2013-06-23 03:42:44 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sun Jun 23 03:42:52 UTC 2013 >>> 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 Sun Jun 23 04:45:02 UTC 2013 TB --- 2013-06-23 04:45:02 - generating LINT kernel config TB --- 2013-06-23 04:45:02 - cd /src/sys/sparc64/conf TB --- 2013-06-23 04:45:02 - /usr/bin/make -B LINT TB --- 2013-06-23 04:45:02 - cd /src/sys/sparc64/conf TB --- 2013-06-23 04:45:02 - /usr/sbin/config -m LINT TB --- 2013-06-23 04:45:02 - building LINT kernel TB --- 2013-06-23 04:45:02 - CROSS_BUILD_TESTING=YES TB --- 2013-06-23 04:45:02 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-23 04:45:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-23 04:45:02 - SRCCONF=/dev/null TB --- 2013-06-23 04:45:02 - TARGET=sparc64 TB --- 2013-06-23 04:45:02 - TARGET_ARCH=sparc64 TB --- 2013-06-23 04:45:02 - TZ=UTC TB --- 2013-06-23 04:45:02 - __MAKE_CONF=/dev/null TB --- 2013-06-23 04:45:02 - cd /src TB --- 2013-06-23 04:45:02 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Jun 23 04:45:03 UTC 2013 >>> 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/fs/nfsclient/nfs_clcomsubs.c 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/fs/nfsclient/nfs_clsubs.c 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/fs/nfsclient/nfs_clstate.c cc1: warnings being treated as errors /src/sys/fs/nfsclient/nfs_clstate.c: In function 'nfscl_dolayoutcommit': /src/sys/fs/nfsclient/nfs_clstate.c:5159: warning: format '%qd' expects type 'long long int', but argument 3 has type 'uint64_t' [-Wformat] /src/sys/fs/nfsclient/nfs_clstate.c:5159: warning: format '%qd' expects type 'long long int', but argument 4 has type 'uint64_t' [-Wformat] /src/sys/fs/nfsclient/nfs_clstate.c:5159: warning: format '%qd' expect
[head tinderbox] failure on mips64/mips
TB --- 2013-06-23 01:50:55 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-06-23 01:50:55 - 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 --- 2013-06-23 01:50:55 - starting HEAD tinderbox run for mips64/mips TB --- 2013-06-23 01:50:55 - cleaning the object tree TB --- 2013-06-23 01:51:55 - /usr/local/bin/svn stat /src TB --- 2013-06-23 01:52:01 - At svn revision 252098 TB --- 2013-06-23 01:52:02 - building world TB --- 2013-06-23 01:52:02 - CROSS_BUILD_TESTING=YES TB --- 2013-06-23 01:52:02 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-23 01:52:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-23 01:52:02 - SRCCONF=/dev/null TB --- 2013-06-23 01:52:02 - TARGET=mips TB --- 2013-06-23 01:52:02 - TARGET_ARCH=mips64 TB --- 2013-06-23 01:52:02 - TZ=UTC TB --- 2013-06-23 01:52:02 - __MAKE_CONF=/dev/null TB --- 2013-06-23 01:52:02 - cd /src TB --- 2013-06-23 01:52:02 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sun Jun 23 01:52:09 UTC 2013 >>> 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 Sun Jun 23 02:52:44 UTC 2013 TB --- 2013-06-23 02:52:44 - cd /src/sys/mips/conf TB --- 2013-06-23 02:52:44 - /usr/sbin/config -m ADM5120 TB --- 2013-06-23 02:52:44 - skipping ADM5120 kernel TB --- 2013-06-23 02:52:44 - cd /src/sys/mips/conf TB --- 2013-06-23 02:52:44 - /usr/sbin/config -m ALCHEMY TB --- 2013-06-23 02:52:44 - skipping ALCHEMY kernel TB --- 2013-06-23 02:52:44 - cd /src/sys/mips/conf TB --- 2013-06-23 02:52:44 - /usr/sbin/config -m AP121 TB --- 2013-06-23 02:52:44 - skipping AP121 kernel TB --- 2013-06-23 02:52:44 - cd /src/sys/mips/conf TB --- 2013-06-23 02:52:44 - /usr/sbin/config -m AP91 TB --- 2013-06-23 02:52:44 - skipping AP91 kernel TB --- 2013-06-23 02:52:44 - cd /src/sys/mips/conf TB --- 2013-06-23 02:52:44 - /usr/sbin/config -m AP93 TB --- 2013-06-23 02:52:44 - skipping AP93 kernel TB --- 2013-06-23 02:52:44 - cd /src/sys/mips/conf TB --- 2013-06-23 02:52:44 - /usr/sbin/config -m AP94 TB --- 2013-06-23 02:52:44 - skipping AP94 kernel TB --- 2013-06-23 02:52:44 - cd /src/sys/mips/conf TB --- 2013-06-23 02:52:44 - /usr/sbin/config -m AP96 TB --- 2013-06-23 02:52:44 - skipping AP96 kernel TB --- 2013-06-23 02:52:44 - cd /src/sys/mips/conf TB --- 2013-06-23 02:52:44 - /usr/sbin/config -m AR71XX_BASE TB --- 2013-06-23 02:52:44 - skipping AR71XX_BASE kernel TB --- 2013-06-23 02:52:44 - cd /src/sys/mips/conf TB --- 2013-06-23 02:52:44 - /usr/sbin/config -m AR724X_BASE TB --- 2013-06-23 02:52:44 - skipping AR724X_BASE kernel TB --- 2013-06-23 02:52:44 - cd /src/sys/mips/conf TB --- 2013-06-23 02:52:44 - /usr/sbin/config -m AR91XX_BASE TB --- 2013-06-23 02:52:44 - skipping AR91XX_BASE kernel TB --- 2013-06-23 02:52:44 - cd /src/sys/mips/conf TB --- 2013-06-23 02:52:44 - /usr/sbin/config -m AR933X_BASE TB --- 2013-06-23 02:52:44 - skipping AR933X_BASE kernel TB --- 2013-06-23 02:52:44 - cd /src/sys/mips/conf TB --- 2013-06-23 02:52:44 - /usr/sbin/config -m BERI_DE4_MDROOT TB --- 2013-06-23 02:52:44 - building BERI_DE4_MDROOT kernel TB --- 2013-06-23 02:52:44 - CROSS_BUILD_TESTING=YES TB --- 2013-06-23 02:52:44 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-23 02:52:44 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-23 02:52:44 - SRCCONF=/dev/null TB --- 2013-06-23 02:52:44 - TARGET=mips TB --- 2013-06-23 02:52:44 - TARGET_ARCH=mips64 TB --- 2013-06-23 02:52:44 - TZ=UTC TB --- 2013-06-23 02:52:44 - __MAKE_CONF=/dev/null TB --- 2013-06-23 02:52:44 - cd /src TB --- 2013-06-23 02:52:44 - /usr/bin/make -B buildkernel KERNCONF=BERI_DE4_MDROOT >>> Kernel build for BERI_DE4_MDROOT started on Sun Jun 23 02:52:45 UTC 2013 >>> 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 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -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=8000 --param inline-unit-growth=1 --param large-function-growth=10 --param max-inline-insns-single=1 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x8010 -march=mips64 -mabi=64 -msoft-float -ffrees
Re: Kernel build fails on ARM: Cannot fork: Cannot allocate memory
On Fri, 21 Jun 2013, Zbyszek Bodek wrote: On 21.06.2013 01:56, Jeff Roberson wrote: On Thu, 20 Jun 2013, Jeff Roberson wrote: On Wed, 19 Jun 2013, Zbyszek Bodek wrote: Hello, I've been trying to compile the kernel on my ARMv7 platform using the sources from the current FreeBSD HEAD. make buildkernel <.> -j5 1/2 builds fails in the way described below: -- ing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/root/src/freebsd-arm-superpages/sys -I/root/src/freebsd-arm-superpages/sys/contrib/altq -I/root/src/freebsd-arm-superpages/sys/contrib/libfdt -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 -mno-thumb-interwork -ffreestanding -Werror /root/src/freebsd-arm-superpages/sys/ufs/ffs/ffs_snapshot.c Cannot fork: Cannot allocate memory *** [ffs_snapshot.o] Error code 2 1 error *** [buildkernel] Error code 2 1 error *** [buildkernel] Error code 2 1 error 5487.888u 481.569s 7:35.65 1310.0% 1443+167k 1741+5388io 221pf+0w -- The warning from std err is: -- vm_thread_new: kstack allocation failed vm_thread_new: kstack allocation failed -- I was trying to find out which commit is causing this (because I was previously working on some older revision) and using bisect I got to: -- Author: jeff Date: Tue Jun 18 04:50:20 2013 + Refine UMA bucket allocation to reduce space consumption and improve performance. - Always free to the alloc bucket if there is space. This gives LIFO allocation order to improve hot-cache performance. This also allows for zones with a single bucket per-cpu rather than a pair if the entire working set fits in one bucket. - Enable per-cpu caches of buckets. To prevent recursive bucket allocation one bucket zone still has per-cpu caches disabled. - Pick the initial bucket size based on a table driven maximum size per-bucket rather than the number of items per-page. This gives more sane initial sizes. - Only grow the bucket size when we face contention on the zone lock, this causes bucket sizes to grow more slowly. - Adjust the number of items per-bucket to account for the header space. This packs the buckets more efficiently per-page while making them not quite powers of two. - Eliminate the per-zone free bucket list. Always return buckets back to the bucket zone. This ensures that as zones grow into larger bucket sizes they eventually discard the smaller sizes. It persists fewer buckets in the system. The locking is slightly trickier. - Only switch buckets in zalloc, not zfree, this eliminates pathological cases where we ping-pong between two buckets. - Ensure that the thread that fills a new bucket gets to allocate from it to give a better upper bound on allocation time. Sponsored by:EMC / Isilon Storage Division -- I checked this several times and this commits seems to be causing this. Can you tell me how many cores and how much memory you have? And paste the output of vmstat -z when you see this error. You can try changing bucket_select() at line 339 in uma_core.c to read: static int bucket_select(int size) { return (MAX(PAGE_SIZE / size, 1)); } This will approximate the old bucket sizing behavior. Just to add some more information; On my machine with 16GB of ram the handful of recent UMA commits save about 20MB of kmem on boot. There are 30% fewer buckets allocated. And all of the malloc zones have similar amounts of cached space. Actually the page size malloc bucket is taking up much less space. I don't know if the problem is unique to arm but I have tested x86 limited to 512MB of ram without trouble. I will need the stats I mentioned before to understand what has happened. Hello Jeff, Thank you for your interest in my problem. My system is a quad-core ARMv7 with 2048 MB of RAM on board. Please see attachment for the output from vmstat -z when the error occurs. Changing bucket_select() to static int bucket_select(int size) { return (MAX(PAGE_SIZE / size, 1)); } as you suggested helps for the problem. I've performed numerous attempts to build the kernel and none of them failed. I don't really see a lot of wasted memory in the zones. There is certainly some. Can you give me sysctl vm from both a working and non-working kernel after the build is done or fails? Thanks, Jeff Best regards Zbyszek Bodek ___
[head tinderbox] failure on ia64/ia64
TB --- 2013-06-23 00:01:44 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-06-23 00:01: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 --- 2013-06-23 00:01:44 - starting HEAD tinderbox run for ia64/ia64 TB --- 2013-06-23 00:01:44 - cleaning the object tree TB --- 2013-06-23 00:02:52 - /usr/local/bin/svn stat /src TB --- 2013-06-23 00:02:55 - At svn revision 252098 TB --- 2013-06-23 00:02:56 - building world TB --- 2013-06-23 00:02:56 - CROSS_BUILD_TESTING=YES TB --- 2013-06-23 00:02:56 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-23 00:02:56 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-23 00:02:56 - SRCCONF=/dev/null TB --- 2013-06-23 00:02:56 - TARGET=ia64 TB --- 2013-06-23 00:02:56 - TARGET_ARCH=ia64 TB --- 2013-06-23 00:02:56 - TZ=UTC TB --- 2013-06-23 00:02:56 - __MAKE_CONF=/dev/null TB --- 2013-06-23 00:02:56 - cd /src TB --- 2013-06-23 00:02:56 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sun Jun 23 00:03:03 UTC 2013 >>> 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 Sun Jun 23 01:38:21 UTC 2013 TB --- 2013-06-23 01:38:21 - generating LINT kernel config TB --- 2013-06-23 01:38:21 - cd /src/sys/ia64/conf TB --- 2013-06-23 01:38:21 - /usr/bin/make -B LINT TB --- 2013-06-23 01:38:21 - cd /src/sys/ia64/conf TB --- 2013-06-23 01:38:21 - /usr/sbin/config -m LINT TB --- 2013-06-23 01:38:21 - building LINT kernel TB --- 2013-06-23 01:38:21 - CROSS_BUILD_TESTING=YES TB --- 2013-06-23 01:38:21 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-23 01:38:21 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-23 01:38:21 - SRCCONF=/dev/null TB --- 2013-06-23 01:38:21 - TARGET=ia64 TB --- 2013-06-23 01:38:21 - TARGET_ARCH=ia64 TB --- 2013-06-23 01:38:21 - TZ=UTC TB --- 2013-06-23 01:38:21 - __MAKE_CONF=/dev/null TB --- 2013-06-23 01:38:21 - cd /src TB --- 2013-06-23 01:38:21 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Jun 23 01:38:21 UTC 2013 >>> 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/fs/nfsclient/nfs_clcomsubs.c 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/fs/nfsclient/nfs_clsubs.c 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/fs/nfsclient/nfs_clstate.c cc1: warnings being treated as errors /src/sys/fs/nfsclient/nfs_clstate.c: In function 'nfscl_dolayoutcommit': /src/sys/fs/nfsclient/nfs_clstate.c:5159: warning: format '%qd' expects type 'long long int', but argument 3 has type 'uint64_t' [-Wformat] /src/sys/fs/nfsclient/nfs_clstate.c:5159: warning: format '%qd' expects type 'long long int', but a
[head tinderbox] failure on amd64/amd64
TB --- 2013-06-22 20:00:16 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-06-22 20:00:16 - 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 --- 2013-06-22 20:00:16 - starting HEAD tinderbox run for amd64/amd64 TB --- 2013-06-22 20:00:16 - cleaning the object tree TB --- 2013-06-22 20:01:54 - /usr/local/bin/svn stat /src TB --- 2013-06-22 20:01:57 - At svn revision 252098 TB --- 2013-06-22 20:01:58 - building world TB --- 2013-06-22 20:01:58 - CROSS_BUILD_TESTING=YES TB --- 2013-06-22 20:01:58 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-22 20:01:58 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-22 20:01:58 - SRCCONF=/dev/null TB --- 2013-06-22 20:01:58 - TARGET=amd64 TB --- 2013-06-22 20:01:58 - TARGET_ARCH=amd64 TB --- 2013-06-22 20:01:58 - TZ=UTC TB --- 2013-06-22 20:01:58 - __MAKE_CONF=/dev/null TB --- 2013-06-22 20:01:58 - cd /src TB --- 2013-06-22 20:01:58 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sat Jun 22 20:02:05 UTC 2013 >>> 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 Sat Jun 22 23:49:24 UTC 2013 TB --- 2013-06-22 23:49:24 - generating LINT kernel config TB --- 2013-06-22 23:49:24 - cd /src/sys/amd64/conf TB --- 2013-06-22 23:49:24 - /usr/bin/make -B LINT TB --- 2013-06-22 23:49:24 - cd /src/sys/amd64/conf TB --- 2013-06-22 23:49:24 - /usr/sbin/config -m LINT TB --- 2013-06-22 23:49:24 - building LINT kernel TB --- 2013-06-22 23:49:24 - CROSS_BUILD_TESTING=YES TB --- 2013-06-22 23:49:24 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-22 23:49:24 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-22 23:49:24 - SRCCONF=/dev/null TB --- 2013-06-22 23:49:24 - TARGET=amd64 TB --- 2013-06-22 23:49:24 - TARGET_ARCH=amd64 TB --- 2013-06-22 23:49:24 - TZ=UTC TB --- 2013-06-22 23:49:24 - __MAKE_CONF=/dev/null TB --- 2013-06-22 23:49:24 - cd /src TB --- 2013-06-22 23:49:24 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Jun 22 23:49:24 UTC 2013 >>> 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 [...] ^ /src/sys/fs/nfsclient/nfs_clstate.c:5161:8: error: format specifies type 'long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Werror,-Wformat] lyp->nfsly_lastbyte); ^~~ /src/sys/fs/nfs/nfscl.h:74:11: note: expanded from macro 'NFSCL_DEBUG' printf(__VA_ARGS__);\ ^ 3 errors generated. *** Error code 1 Stop. make: stopped in /obj/amd64.amd64/src/sys/LINT *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-06-23 00:01:44 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-06-23 00:01:44 - ERROR: failed to build LINT kernel TB --- 2013-06-23 00:01:44 - 11345.88 user 2203.34 system 14487.71 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-amd64-amd64.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: NULL pointer crash in exit1() when running certain Linux binaries
On Sun, Jun 23, 2013 at 12:24:55AM +0200, Hans Petter Selasky wrote: > Hi, > > The following crash has been observed using FreeBSD 9-stable amd64: > > instruction pointer = 0x20:0x81765bb6 [..] > KDB: stack backtrace: > #0 0x809553b6 at kdb_backtrace+0x66 > #1 0x8091c72e at panic+0x1ce > #2 0x80cabb40 at trap_fatal+0x290 > #3 0x80cabea1 at trap_pfault+0x211 > #4 0x80cac454 at trap+0x344 > #5 0x80c957e3 at calltrap+0x8 > #6 0x808e68ab at exit1+0x1bb > #7 0x81773dcf at linux_exit_group+0xaf > #8 0x80d2728e at ia32_syscall+0x57e > #9 0x80c95db1 at Xint0x80_syscall+0x91 > Uptime: 40m36s > > #7 0x81765bb6 in linux_proc_exit (arg=, > p=) > at > /usr/img/freebsd.9/sys/modules/linux/../../compat/linux/linux_emul.c:326 > #8 0x808e68ab in exit1 (td=0xfe0130cce490, > rv=) at > /usr/img/freebsd.9/sys/kern/kern_exit.c:261 > #9 0x81773dcf in linux_exit_group (td=0xfe0130cce490, > args=0xff81225cbb70) > at > /usr/img/freebsd.9/sys/modules/linux/../../compat/linux/linux_misc.c:1686 > #10 0x80d2728e in ia32_syscall (frame=0xff81225cbc00) > at subr_syscall.c:135 > #11 0x80c95db1 in Xint0x80_syscall () at ia32_exception.S:73 > #12 0x080f2047 in ?? () > Previous frame inner to this frame (corrupt stack?) > > > /* Are we a task leader? */ > if (p == p->p_leader) { > 364: 4d 8b a6 18 04 00 00mov0x418(%r14),%r12 > 36b: 4d 39 f4cmp%r14,%r12 > 36e: 0f 84 c2 0d 00 00 je 1136 > /* > * Check if any loadable modules need anything done at > process exit. > * E.g. SYSV IPC stuff > * XXX what if one of these generates an error? > */ > EVENTHANDLER_INVOKE(process_exit, p); > 374: 48 c7 c7 00 00 00 00mov$0x0,%rdi > 377: R_X86_64_32S .rodata.str1.1+0xf > 37b: e8 00 00 00 00 callq 380 > 37c: R_X86_64_PC32 > eventhandler_find_list+0xfffc > 380: 48 85 c0test %rax,%rax > 383: 49 89 c4mov%rax,%r12 > 386: 0f 84 e3 00 00 00 je 46f > 38c: 8b 40 0cmov0xc(%rax),%eax > 38f: 4d 8b 6c 24 40 mov0x40(%r12),%r13 > 394: 83 c0 01add$0x1,%eax > 397: 4d 85 edtest %r13,%r13 > 39a: 41 89 44 24 0c mov%eax,0xc(%r12) > 39f: 0f 84 97 00 00 00 je 43c > 3a5: 4d 8d 7c 24 10 lea0x10(%r12),%r15 > 3aa: eb 40 jmp3ec > 3ac: 0f 1f 40 00 nopl 0x0(%rax) > 3b0: 4c 89 f6mov%r14,%rsi > 3b3: 49 8b 7d 18 mov0x18(%r13),%rdi > 3b7: 41 ff 55 20 callq *0x20(%r13) > ^^^ NULL pointer > 3bb: 65 48 8b 34 25 00 00mov%gs:0x0,%rsi > > 3c2: 00 00 > 3c4: 48 89 d8mov%rbx,%rax > 3c7: f0 49 0f b1 74 24 28lock cmpxchg %rsi,0x28(%r12) > 3ce: 0f 94 c0sete %al > 3d1: 84 c0 test %al,%al > 3d3: 74 4a je 41f > 3d5: 8b 3d 00 00 00 00 mov0x0(%rip),%edi > # 3db > > I'm not sure I follow what you posted here. If the creash was indeed in linux_proc_exit while dereferncing em pointer, I think the issue is known: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/142082 (btw, at the time of reporting it it was actually kernel memory disclosure :->) I have a quick hack to get around it: http://people.freebsd.org/~mjg/patches/linux-emuldata-race-hack.diff I believe dchagin@ did a lot of reworking in this area in his linux branch, so I guess this hack will be sufficent for now. -- Mateusz Guzik ___ 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"
NULL pointer crash in exit1() when running certain Linux binaries
Hi, The following crash has been observed using FreeBSD 9-stable amd64: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x20 fault code = supervisor read data, page not present instruction pointer = 0x20:0x81765bb6 stack pointer = 0x28:0xff81225cb9a0 frame pointer = 0x28:0xff81225cba30 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 2458 () trap number = 12 panic: page fault cpuid = 0 KDB: stack backtrace: #0 0x809553b6 at kdb_backtrace+0x66 #1 0x8091c72e at panic+0x1ce #2 0x80cabb40 at trap_fatal+0x290 #3 0x80cabea1 at trap_pfault+0x211 #4 0x80cac454 at trap+0x344 #5 0x80c957e3 at calltrap+0x8 #6 0x808e68ab at exit1+0x1bb #7 0x81773dcf at linux_exit_group+0xaf #8 0x80d2728e at ia32_syscall+0x57e #9 0x80c95db1 at Xint0x80_syscall+0x91 Uptime: 40m36s #7 0x81765bb6 in linux_proc_exit (arg=, p=) at /usr/img/freebsd.9/sys/modules/linux/../../compat/linux/linux_emul.c:326 #8 0x808e68ab in exit1 (td=0xfe0130cce490, rv=) at /usr/img/freebsd.9/sys/kern/kern_exit.c:261 #9 0x81773dcf in linux_exit_group (td=0xfe0130cce490, args=0xff81225cbb70) at /usr/img/freebsd.9/sys/modules/linux/../../compat/linux/linux_misc.c:1686 #10 0x80d2728e in ia32_syscall (frame=0xff81225cbc00) at subr_syscall.c:135 #11 0x80c95db1 in Xint0x80_syscall () at ia32_exception.S:73 #12 0x080f2047 in ?? () Previous frame inner to this frame (corrupt stack?) /* Are we a task leader? */ if (p == p->p_leader) { 364: 4d 8b a6 18 04 00 00mov0x418(%r14),%r12 36b: 4d 39 f4cmp%r14,%r12 36e: 0f 84 c2 0d 00 00 je 1136 /* * Check if any loadable modules need anything done at process exit. * E.g. SYSV IPC stuff * XXX what if one of these generates an error? */ EVENTHANDLER_INVOKE(process_exit, p); 374: 48 c7 c7 00 00 00 00mov$0x0,%rdi 377: R_X86_64_32S .rodata.str1.1+0xf 37b: e8 00 00 00 00 callq 380 37c: R_X86_64_PC32 eventhandler_find_list+0xfffc 380: 48 85 c0test %rax,%rax 383: 49 89 c4mov%rax,%r12 386: 0f 84 e3 00 00 00 je 46f 38c: 8b 40 0cmov0xc(%rax),%eax 38f: 4d 8b 6c 24 40 mov0x40(%r12),%r13 394: 83 c0 01add$0x1,%eax 397: 4d 85 edtest %r13,%r13 39a: 41 89 44 24 0c mov%eax,0xc(%r12) 39f: 0f 84 97 00 00 00 je 43c 3a5: 4d 8d 7c 24 10 lea0x10(%r12),%r15 3aa: eb 40 jmp3ec 3ac: 0f 1f 40 00 nopl 0x0(%rax) 3b0: 4c 89 f6mov%r14,%rsi 3b3: 49 8b 7d 18 mov0x18(%r13),%rdi 3b7: 41 ff 55 20 callq *0x20(%r13) ^^^ NULL pointer 3bb: 65 48 8b 34 25 00 00mov%gs:0x0,%rsi 3c2: 00 00 3c4: 48 89 d8mov%rbx,%rax 3c7: f0 49 0f b1 74 24 28lock cmpxchg %rsi,0x28(%r12) 3ce: 0f 94 c0sete %al 3d1: 84 c0 test %al,%al 3d3: 74 4a je 41f 3d5: 8b 3d 00 00 00 00 mov0x0(%rip),%edi# 3db The issue seems to be reproducable and possibly also exists in -current. Any clues? --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
Oops, sorry, I'm wearing the pointy hat. Forgot about the diagnostic that does printf(). rick - Original Message - > TB --- 2013-06-22 16:51:33 - tinderbox 2.10 running on > freebsd-current.sentex.ca > TB --- 2013-06-22 16:51:33 - FreeBSD freebsd-current.sentex.ca > 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT > 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC > amd64 > TB --- 2013-06-22 16:51:33 - starting HEAD tinderbox run for > powerpc64/powerpc > TB --- 2013-06-22 16:51:33 - cleaning the object tree > TB --- 2013-06-22 16:53:17 - /usr/local/bin/svn stat /src > TB --- 2013-06-22 16:53:21 - At svn revision 252094 > TB --- 2013-06-22 16:53:22 - building world > TB --- 2013-06-22 16:53:22 - CROSS_BUILD_TESTING=YES > TB --- 2013-06-22 16:53:22 - MAKEOBJDIRPREFIX=/obj > TB --- 2013-06-22 16:53:22 - PATH=/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2013-06-22 16:53:22 - SRCCONF=/dev/null > TB --- 2013-06-22 16:53:22 - TARGET=powerpc > TB --- 2013-06-22 16:53:22 - TARGET_ARCH=powerpc64 > TB --- 2013-06-22 16:53:22 - TZ=UTC > TB --- 2013-06-22 16:53:22 - __MAKE_CONF=/dev/null > TB --- 2013-06-22 16:53:22 - cd /src > TB --- 2013-06-22 16:53:22 - /usr/bin/make -B buildworld > >>> Building an up-to-date make(1) > >>> World build started on Sat Jun 22 16:53:29 UTC 2013 > >>> 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 Sat Jun 22 19:51:17 UTC 2013 > TB --- 2013-06-22 19:51:17 - generating LINT kernel config > TB --- 2013-06-22 19:51:17 - cd /src/sys/powerpc/conf > TB --- 2013-06-22 19:51:17 - /usr/bin/make -B LINT > TB --- 2013-06-22 19:51:17 - cd /src/sys/powerpc/conf > TB --- 2013-06-22 19:51:17 - /usr/sbin/config -m LINT > TB --- 2013-06-22 19:51:18 - skipping LINT kernel > TB --- 2013-06-22 19:51:18 - cd /src/sys/powerpc/conf > TB --- 2013-06-22 19:51:18 - /usr/sbin/config -m GENERIC > TB --- 2013-06-22 19:51:18 - skipping GENERIC kernel > TB --- 2013-06-22 19:51:18 - cd /src/sys/powerpc/conf > TB --- 2013-06-22 19:51:18 - /usr/sbin/config -m GENERIC64 > TB --- 2013-06-22 19:51:18 - building GENERIC64 kernel > TB --- 2013-06-22 19:51:18 - CROSS_BUILD_TESTING=YES > TB --- 2013-06-22 19:51:18 - MAKEOBJDIRPREFIX=/obj > TB --- 2013-06-22 19:51:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2013-06-22 19:51:18 - SRCCONF=/dev/null > TB --- 2013-06-22 19:51:18 - TARGET=powerpc > TB --- 2013-06-22 19:51:18 - TARGET_ARCH=powerpc64 > TB --- 2013-06-22 19:51:18 - TZ=UTC > TB --- 2013-06-22 19:51:18 - __MAKE_CONF=/dev/null > TB --- 2013-06-22 19:51:18 - cd /src > TB --- 2013-06-22 19:51:18 - /usr/bin/make -B buildkernel > KERNCONF=GENERIC64 > >>> Kernel build for GENERIC64 started on Sat Jun 22 19:51:18 UTC > >>> 2013 > >>> 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 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -Wmissing-include-dirs -fdiagnostics-show-option -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 -msoft-float -Wa,-many > -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc > -ffreestanding -fstack-protector -Werror > /src/sys/fs/nfsclient/nfs_clcomsubs.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -Wmissing-include-dirs -fdiagnostics-show-option -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 -msoft-float -Wa,-many > -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc > -ffreestanding -fstack-protector -Werror > /src/sys/fs/nfsclient/nfs_clsubs.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. >
Re: usb ACM device doesn't work
On 06/22/13 20:54, Ian FREISLICH wrote: "Daniel O'Connor" wrote: On 22/06/2013, at 4:10, Ian FREISLICH wrote: I bought a relay control board that has a USB interface. It presents a serial port to Linux on /dev/ttyACMx. However when I plug it into my FreeBSD host, it detects as follows: ugen0.2: at usbus0 umodem0: on usbus0 umodem0: data interface 1, has no CM over data, has no break and I cannot communicate with it. Any ideas how to communicate with it? Have you tried anything? It should create /dev/cuaUx and /dev/ttyUx (where x is 0 in your case) I'w sorry, I should have been more specific. I have a device that controls a bunch of relays with commands issued to it over a serial port. This serial port is CDC-ACM on a USB interface. The device uses a PIC microcontroller and PICKIT2 from Microchip Technology Inc (vendorID 0x04d8). Linux correctly detects the device with "CM over data" and I'm able to communicate with it on /dev/ttyACM0 and the TX/RX LEDs on the device blink when transferring data. FreeBSD on the other hand detects it as having no "CM over data" and while I can open /dev/cuaU0 and write data to it, the RX/TX lights on the device don't blink and reads time out. As previously stated "I cannot communicate with it". I tried adding the quirk UQ_ASSUME_CM_OVER_DATA, but then the terminal program locks up and won't exit until I pull the USB cable. The same happens when I force the CM over Data capability in the umodem driverwhen attaching the device, so there's some issue with our CDC/ACM support or Linux is working harder to make non-compliant usb hardware work. Also, our usbdevs is incorrect in listing vedor 0x04d8 as I-Tuner Networks. It is in fact licensed to Microchip Tochnology Inc. which then sub-licenses productIDs royalty free to third parties providing certain conditions are met. See: http://ww1.microchip.com/downloads/en/DeviceDoc/APPLICATION%20FOR%20SUBLICENSE%20TO%20USB%20VID%20revised%2012110.pdf I don't have the knowledge to fix the FreeBSD USD driver and for the $45 it cost me it's not worth the effort to reinstall the host I'm using with linux. If there's no fix forthcoming I'll just get the EIA-485 version of the device with no hard feelings. Ian Hi Ian, Have you tried using usbdump to capture the USB traffic? It might be something like clear-stall which fails, and make the device broken: usbdump -i usbusX -f Y -vvv -s 65536 --HPS ___ 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
TB --- 2013-06-22 16:51:33 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-06-22 16:51:33 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-06-22 16:51:33 - starting HEAD tinderbox run for powerpc64/powerpc TB --- 2013-06-22 16:51:33 - cleaning the object tree TB --- 2013-06-22 16:53:17 - /usr/local/bin/svn stat /src TB --- 2013-06-22 16:53:21 - At svn revision 252094 TB --- 2013-06-22 16:53:22 - building world TB --- 2013-06-22 16:53:22 - CROSS_BUILD_TESTING=YES TB --- 2013-06-22 16:53:22 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-22 16:53:22 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-22 16:53:22 - SRCCONF=/dev/null TB --- 2013-06-22 16:53:22 - TARGET=powerpc TB --- 2013-06-22 16:53:22 - TARGET_ARCH=powerpc64 TB --- 2013-06-22 16:53:22 - TZ=UTC TB --- 2013-06-22 16:53:22 - __MAKE_CONF=/dev/null TB --- 2013-06-22 16:53:22 - cd /src TB --- 2013-06-22 16:53:22 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sat Jun 22 16:53:29 UTC 2013 >>> 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 Sat Jun 22 19:51:17 UTC 2013 TB --- 2013-06-22 19:51:17 - generating LINT kernel config TB --- 2013-06-22 19:51:17 - cd /src/sys/powerpc/conf TB --- 2013-06-22 19:51:17 - /usr/bin/make -B LINT TB --- 2013-06-22 19:51:17 - cd /src/sys/powerpc/conf TB --- 2013-06-22 19:51:17 - /usr/sbin/config -m LINT TB --- 2013-06-22 19:51:18 - skipping LINT kernel TB --- 2013-06-22 19:51:18 - cd /src/sys/powerpc/conf TB --- 2013-06-22 19:51:18 - /usr/sbin/config -m GENERIC TB --- 2013-06-22 19:51:18 - skipping GENERIC kernel TB --- 2013-06-22 19:51:18 - cd /src/sys/powerpc/conf TB --- 2013-06-22 19:51:18 - /usr/sbin/config -m GENERIC64 TB --- 2013-06-22 19:51:18 - building GENERIC64 kernel TB --- 2013-06-22 19:51:18 - CROSS_BUILD_TESTING=YES TB --- 2013-06-22 19:51:18 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-22 19:51:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-22 19:51:18 - SRCCONF=/dev/null TB --- 2013-06-22 19:51:18 - TARGET=powerpc TB --- 2013-06-22 19:51:18 - TARGET_ARCH=powerpc64 TB --- 2013-06-22 19:51:18 - TZ=UTC TB --- 2013-06-22 19:51:18 - __MAKE_CONF=/dev/null TB --- 2013-06-22 19:51:18 - cd /src TB --- 2013-06-22 19:51:18 - /usr/bin/make -B buildkernel KERNCONF=GENERIC64 >>> Kernel build for GENERIC64 started on Sat Jun 22 19:51:18 UTC 2013 >>> 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 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -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 -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector -Werror /src/sys/fs/nfsclient/nfs_clcomsubs.c cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -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 -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector -Werror /src/sys/fs/nfsclient/nfs_clsubs.c cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -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 -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -
sonewconn: pcb 0xfffffe001ba1d7a8: Listen queue overflow: 1 already in queue awaiting acceptance
Hiho! :-) I detected a bunch of those showing up sporadically in my log - I guess they are harmless? Jun 22 11:14:33 ubm kernel: sonewconn: pcb 0xfe0149192930: Listen queue overflow: 1 already in queue awaiting acceptance uname -a: FreeBSD xxx 10.0-CURRENT FreeBSD 10.0-CURRENT #9 r249225M: Sat Apr 20 12:03:57 CEST 2013 xxx:/usr/obj/usr/src/sys/SUBMARINE_SMP amd64 Bye Marc ___ 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"
RFC: swapon(8) vnode-backed md and gbde/geli encryption support
Hi, I created a patchset to add support of automatic generation of vnode-backed md(4) devices and gbde/geli geom providers to swapon(8) via /etc/fstab. We already have equivalent functionality by using rc.d scripts. This simplifies rc.d scripts and fixes a race between mdconfig/gbde/geli and swapon/swapoff by using /etc/fstab. More specifically, the following specification will be supported: /dev/ada1p1.bdenoneswapsw 0 0 /dev/ada1p2.elinoneswapsw 0 0 md noneswapsw,file=/swap.bin 0 0 md10 noneswapsw,file=/swap10.bin 0 0 md12 noneswapsw,file=/usr/swap12.bin,late0 0 Currently, rc.d/swap1, rc.d/encswap handles entries with FSTAB_SW and then rc.d/addswap for additional swap space specified in rc.conf. The rc.d/addswap script runs before NETWORKING, so it is difficult to add a swap space by using a file via NFS on a diskless client. The "late" keyword in /etc/fstab will give more flexibility in such a case. So, the changes to rc.d scripts are the following: rc.d/encswap -> (removed) rc.d/swap1 -> rc.d/swap rc.d/swaplate -> (added) rc.d/addswap is not removed in the patchset, but is it still necessary? I do not think using combination of rc.d scripts to support md(4) device generation for swap spaces is robust, and I believe /etc/fstab is sufficient for the same functionality. Any comments are welcome. Thank you. -- Hiroki - Add vnode-backed swap space specification support. This is enabled when device names "md" or "md[0-9]*" and a "file" option are specified in /etc/fstab like this: mdnoneswapsw,file=/swap.bin 0 0 - Add GBDE/GELI encrypted swap space specification support, which rc.d/encswap supported. The /etc/fstab lines are like the following: /dev/ada1p1.bde noneswapsw 0 0 /dev/ada1p2.eli noneswapsw 0 0 swapctl(8) can understand an encrypted device in the command line like this: # swapctl -a /dev/ada2p1.bde - "-L" flag is added to support "late" option to defer swapon until rc.d/mountlate runs. - rc.d script change: rc.d/encswap -> removed rc.d/swap1 -> renamed to rc.d/swap rc.d/swaplate -> newly added to support "late" option These changes alleviate a race condition between device creation/removal and swapon/swapoff. MFC after: 2 weeks Index: sbin/swapon/swapon.c === --- sbin/swapon/swapon.c (revision 252094) +++ sbin/swapon/swapon.c (working copy) @@ -41,35 +41,51 @@ static char sccsid[] = "@(#)swapon.c 8.1 (Berkeley #include __FBSDID("$FreeBSD$"); +#include +#include +#include #include -#include #include +#include #include #include #include +#include +#include #include +#include +#include +#include +#include +#include #include #include #include #include -#include -#include static void usage(void); -static int swap_on_off(char *name, int ignoreebusy); +static const char *swap_on_off(char *, int, char *); +static const char *swap_on_off_gbde(char *, int); +static const char *swap_on_off_geli(char *, int); +static const char *swap_on_off_md(char *, char *, int); +static const char *swap_on_off_sfile(char *, int); static void swaplist(int, int, int); +static int run_cmd(int *, const char *, ...) __printflike(2, 3); static enum { SWAPON, SWAPOFF, SWAPCTL } orig_prog, which_prog = SWAPCTL; +static int qflag; + int main(int argc, char **argv) { struct fstab *fsp; + const char *swfile; char *ptr; int ret; int ch, doall; - int sflag = 0, lflag = 0, hflag = 0, qflag = 0; + int sflag = 0, lflag = 0, late = 0, hflag = 0; const char *etc_fstab; if ((ptr = strrchr(argv[0], '/')) == NULL) @@ -82,7 +98,7 @@ main(int argc, char **argv) doall = 0; etc_fstab = NULL; - while ((ch = getopt(argc, argv, "AadghklmqsUF:")) != -1) { + while ((ch = getopt(argc, argv, "AadghklLmqsUF:")) != -1) { switch(ch) { case 'A': if (which_prog == SWAPCTL) { @@ -116,6 +132,9 @@ main(int argc, char **argv) case 'l': lflag = 1; break; + case 'L': + late = 1; + break; case 'm': hflag = 'M'; break; @@ -145,6 +164,7 @@ main(int argc, char **argv) argv += optind; ret = 0; + swfile = NULL; if (etc_fstab != NULL) setfstab(etc_fstab); if (which_prog == SWAPON || which_prog == SWAPOFF) { @@ -154,27 +174,37 @@ main(int argc, char **argv) continue; if (strstr(fsp->fs_mntops, "noauto")) continue; -if (swap_on_off(fsp->fs_spec, 1)) { +if (which_prog != SWAPOFF && +strstr(fsp->fs_mntops, "late") && +!late) + continue; +swfile = swap_on_off(fsp->fs_spec, 1, +fsp->fs_mntops); +if (swfile == NULL) { ret = 1; -} else { - if (!qflag) { - printf("%s: %sing %s as swap device\n", - getprogname(), - which_pro
Re: usb ACM device doesn't work
"Daniel O'Connor" wrote: > > On 22/06/2013, at 4:10, Ian FREISLICH wrote: > > I bought a relay control board that has a USB interface. It presents > > a serial port to Linux on /dev/ttyACMx. However when I plug it > > into my FreeBSD host, it detects as follows: > > > > ugen0.2: at usbus0 > > umodem0: on usbus0 > > umodem0: data interface 1, has no CM over data, has no break > > > > and I cannot communicate with it. Any ideas how to communicate with it? > > Have you tried anything? > It should create /dev/cuaUx and /dev/ttyUx (where x is 0 in your case) I'w sorry, I should have been more specific. I have a device that controls a bunch of relays with commands issued to it over a serial port. This serial port is CDC-ACM on a USB interface. The device uses a PIC microcontroller and PICKIT2 from Microchip Technology Inc (vendorID 0x04d8). Linux correctly detects the device with "CM over data" and I'm able to communicate with it on /dev/ttyACM0 and the TX/RX LEDs on the device blink when transferring data. FreeBSD on the other hand detects it as having no "CM over data" and while I can open /dev/cuaU0 and write data to it, the RX/TX lights on the device don't blink and reads time out. As previously stated "I cannot communicate with it". I tried adding the quirk UQ_ASSUME_CM_OVER_DATA, but then the terminal program locks up and won't exit until I pull the USB cable. The same happens when I force the CM over Data capability in the umodem driverwhen attaching the device, so there's some issue with our CDC/ACM support or Linux is working harder to make non-compliant usb hardware work. Also, our usbdevs is incorrect in listing vedor 0x04d8 as I-Tuner Networks. It is in fact licensed to Microchip Tochnology Inc. which then sub-licenses productIDs royalty free to third parties providing certain conditions are met. See: http://ww1.microchip.com/downloads/en/DeviceDoc/APPLICATION%20FOR%20SUBLICENSE%20TO%20USB%20VID%20revised%2012110.pdf I don't have the knowledge to fix the FreeBSD USD driver and for the $45 it cost me it's not worth the effort to reinstall the host I'm using with linux. If there's no fix forthcoming I'll just get the EIA-485 version of the device with no hard feelings. Ian -- Ian Freislich ___ 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
TB --- 2013-06-22 17:09:22 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-06-22 17:09:22 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-06-22 17:09:22 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2013-06-22 17:09:22 - cleaning the object tree TB --- 2013-06-22 17:10:24 - /usr/local/bin/svn stat /src TB --- 2013-06-22 17:10:27 - At svn revision 252094 TB --- 2013-06-22 17:10:28 - building world TB --- 2013-06-22 17:10:28 - CROSS_BUILD_TESTING=YES TB --- 2013-06-22 17:10:28 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-22 17:10:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-22 17:10:28 - SRCCONF=/dev/null TB --- 2013-06-22 17:10:28 - TARGET=sparc64 TB --- 2013-06-22 17:10:28 - TARGET_ARCH=sparc64 TB --- 2013-06-22 17:10:28 - TZ=UTC TB --- 2013-06-22 17:10:28 - __MAKE_CONF=/dev/null TB --- 2013-06-22 17:10:28 - cd /src TB --- 2013-06-22 17:10:28 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sat Jun 22 17:10:35 UTC 2013 >>> 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 Sat Jun 22 18:12:57 UTC 2013 TB --- 2013-06-22 18:12:57 - generating LINT kernel config TB --- 2013-06-22 18:12:57 - cd /src/sys/sparc64/conf TB --- 2013-06-22 18:12:57 - /usr/bin/make -B LINT TB --- 2013-06-22 18:12:57 - cd /src/sys/sparc64/conf TB --- 2013-06-22 18:12:57 - /usr/sbin/config -m LINT TB --- 2013-06-22 18:12:57 - building LINT kernel TB --- 2013-06-22 18:12:57 - CROSS_BUILD_TESTING=YES TB --- 2013-06-22 18:12:57 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-22 18:12:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-22 18:12:57 - SRCCONF=/dev/null TB --- 2013-06-22 18:12:57 - TARGET=sparc64 TB --- 2013-06-22 18:12:57 - TARGET_ARCH=sparc64 TB --- 2013-06-22 18:12:57 - TZ=UTC TB --- 2013-06-22 18:12:57 - __MAKE_CONF=/dev/null TB --- 2013-06-22 18:12:57 - cd /src TB --- 2013-06-22 18:12:57 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Jun 22 18:12:57 UTC 2013 >>> 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/fs/nfsclient/nfs_clcomsubs.c 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/fs/nfsclient/nfs_clsubs.c 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/fs/nfsclient/nfs_clstate.c cc1: warnings being treated as errors /src/sys/fs/nfsclient/nfs_clstate.c: In function 'nfscl_dolayoutcommit': /src/sys/fs/nfsclient/nfs_clstate.c:5159: warning: format '%qd' expects type 'long long int', but argument 3 has type 'uint64_t' [-Wformat] /src/sys/fs/nfsclient/nfs_clstate.c:5159: warning: format '%qd' expects type 'long long int', but argument 4 has type 'uint64_t' [-Wformat] /src/sys/fs/nfsclient/nfs_clstate.c:5159: warning: format '%qd' expect
Re: revision 252095: kerenl fails to compile: nfs_clstate.c:5160:33: error: format specifies type 'long long' but the argument has type 'uint64_t'
hiren panchasara wrote in : hi> On Jun 22, 2013 6:09 AM, "O. Hartmann" wrote: hi> > hi> > hi> > Just for notice. hi> > hi> > The most recent sources fail to compile a kernel successfully: hi> hi> http://svnweb.freebsd.org/changeset/base/252074 hi> hi> This change is the culprit. The attached patch should fix it. -- Hiroki Index: sys/fs/nfsclient/nfs_clstate.c === --- sys/fs/nfsclient/nfs_clstate.c (revision 252096) +++ sys/fs/nfsclient/nfs_clstate.c (working copy) @@ -77,6 +77,7 @@ * until they succeed or an unmount/recovery occurs. * (Since we are done with them, they do not need to be recovered.) */ +#include #ifndef APPLEKEXT #include @@ -5156,9 +5157,9 @@ lyp->nfsly_fhlen, 0, flp->nfsfl_off, len, lyp->nfsly_lastbyte, &lyp->nfsly_stateid, NFSLAYOUT_NFSV4_1_FILES, 0, NULL, cred, p, NULL); - NFSCL_DEBUG(4, "layoutcommit err=%d off=%qd len=%qd " - "lastbyte=%qd\n", error, flp->nfsfl_off, len, - lyp->nfsly_lastbyte); + NFSCL_DEBUG(4, "layoutcommit err=%d off=%" PRIu64 + " len=%" PRIu64 "lastbyte=%" PRIu64 "\n", error, + flp->nfsfl_off, len, lyp->nfsly_lastbyte); if (error == NFSERR_NOTSUPP) { /* If not supported, don't bother doing it. */ NFSLOCKMNT(nmp); pgpllmbhAQuOY.pgp Description: PGP signature
Re: revision 252095: kerenl fails to compile: nfs_clstate.c:5160:33: error: format specifies type 'long long' but the argument has type 'uint64_t'
On Jun 22, 2013 6:09 AM, "O. Hartmann" wrote: > > > Just for notice. > > The most recent sources fail to compile a kernel successfully: http://svnweb.freebsd.org/changeset/base/252074 This change is the culprit. Hiren > > > [...] > /usr/src/sys/fs/nfsclient/nfs_clstate.c:5160:33: error: format > specifies type 'long long' but the argument has type 'uint64_t' (aka > 'unsigned long') [-Werror,-Wformat] "lastbyte=%qd\n", error, > flp->nfsfl_off, len, ^~ > /usr/src/sys/fs/nfs/nfscl.h:74:11: note: expanded from macro > 'NFSCL_DEBUG' printf(__VA_ARGS__);\ >^ > /usr/src/sys/fs/nfsclient/nfs_clstate.c:5160:49: error: format > specifies type 'long long' but the argument has type 'uint64_t' (aka > 'unsigned long') [-Werror,-Wformat] "lastbyte=%qd\n", error, > flp->nfsfl_off, len, ^~~ > /usr/src/sys/fs/nfs/nfscl.h:74:11: note: expanded from macro > 'NFSCL_DEBUG' printf(__VA_ARGS__);\ >^ > /usr/src/sys/fs/nfsclient/nfs_clstate.c:5161:8: error: format specifies > type 'long long' but the argument has type 'uint64_t' (aka 'unsigned > long') [-Werror,-Wformat] lyp->nfsly_lastbyte); > ^~~ > /usr/src/sys/fs/nfs/nfscl.h:74:11: note: expanded from macro > 'NFSCL_DEBUG' printf(__VA_ARGS__);\ >^ > 3 errors generated. > *** Error code 1 > > Stop. > > > Regards, > Oliver ___ 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 mips64/mips
TB --- 2013-06-22 15:21:12 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-06-22 15:21:12 - 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 --- 2013-06-22 15:21:12 - starting HEAD tinderbox run for mips64/mips TB --- 2013-06-22 15:21:12 - cleaning the object tree TB --- 2013-06-22 15:22:04 - /usr/local/bin/svn stat /src TB --- 2013-06-22 15:22:08 - At svn revision 252094 TB --- 2013-06-22 15:22:09 - building world TB --- 2013-06-22 15:22:09 - CROSS_BUILD_TESTING=YES TB --- 2013-06-22 15:22:09 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-22 15:22:09 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-22 15:22:09 - SRCCONF=/dev/null TB --- 2013-06-22 15:22:09 - TARGET=mips TB --- 2013-06-22 15:22:09 - TARGET_ARCH=mips64 TB --- 2013-06-22 15:22:09 - TZ=UTC TB --- 2013-06-22 15:22:09 - __MAKE_CONF=/dev/null TB --- 2013-06-22 15:22:09 - cd /src TB --- 2013-06-22 15:22:09 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sat Jun 22 15:22:16 UTC 2013 >>> 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 Sat Jun 22 16:22:27 UTC 2013 TB --- 2013-06-22 16:22:27 - cd /src/sys/mips/conf TB --- 2013-06-22 16:22:27 - /usr/sbin/config -m ADM5120 TB --- 2013-06-22 16:22:27 - skipping ADM5120 kernel TB --- 2013-06-22 16:22:27 - cd /src/sys/mips/conf TB --- 2013-06-22 16:22:27 - /usr/sbin/config -m ALCHEMY TB --- 2013-06-22 16:22:27 - skipping ALCHEMY kernel TB --- 2013-06-22 16:22:27 - cd /src/sys/mips/conf TB --- 2013-06-22 16:22:27 - /usr/sbin/config -m AP121 TB --- 2013-06-22 16:22:27 - skipping AP121 kernel TB --- 2013-06-22 16:22:27 - cd /src/sys/mips/conf TB --- 2013-06-22 16:22:27 - /usr/sbin/config -m AP91 TB --- 2013-06-22 16:22:27 - skipping AP91 kernel TB --- 2013-06-22 16:22:27 - cd /src/sys/mips/conf TB --- 2013-06-22 16:22:27 - /usr/sbin/config -m AP93 TB --- 2013-06-22 16:22:27 - skipping AP93 kernel TB --- 2013-06-22 16:22:27 - cd /src/sys/mips/conf TB --- 2013-06-22 16:22:27 - /usr/sbin/config -m AP94 TB --- 2013-06-22 16:22:27 - skipping AP94 kernel TB --- 2013-06-22 16:22:27 - cd /src/sys/mips/conf TB --- 2013-06-22 16:22:27 - /usr/sbin/config -m AP96 TB --- 2013-06-22 16:22:27 - skipping AP96 kernel TB --- 2013-06-22 16:22:27 - cd /src/sys/mips/conf TB --- 2013-06-22 16:22:27 - /usr/sbin/config -m AR71XX_BASE TB --- 2013-06-22 16:22:27 - skipping AR71XX_BASE kernel TB --- 2013-06-22 16:22:27 - cd /src/sys/mips/conf TB --- 2013-06-22 16:22:27 - /usr/sbin/config -m AR724X_BASE TB --- 2013-06-22 16:22:27 - skipping AR724X_BASE kernel TB --- 2013-06-22 16:22:27 - cd /src/sys/mips/conf TB --- 2013-06-22 16:22:27 - /usr/sbin/config -m AR91XX_BASE TB --- 2013-06-22 16:22:27 - skipping AR91XX_BASE kernel TB --- 2013-06-22 16:22:27 - cd /src/sys/mips/conf TB --- 2013-06-22 16:22:27 - /usr/sbin/config -m AR933X_BASE TB --- 2013-06-22 16:22:27 - skipping AR933X_BASE kernel TB --- 2013-06-22 16:22:27 - cd /src/sys/mips/conf TB --- 2013-06-22 16:22:27 - /usr/sbin/config -m BERI_DE4_MDROOT TB --- 2013-06-22 16:22:27 - building BERI_DE4_MDROOT kernel TB --- 2013-06-22 16:22:27 - CROSS_BUILD_TESTING=YES TB --- 2013-06-22 16:22:27 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-22 16:22:27 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-22 16:22:27 - SRCCONF=/dev/null TB --- 2013-06-22 16:22:27 - TARGET=mips TB --- 2013-06-22 16:22:27 - TARGET_ARCH=mips64 TB --- 2013-06-22 16:22:27 - TZ=UTC TB --- 2013-06-22 16:22:27 - __MAKE_CONF=/dev/null TB --- 2013-06-22 16:22:27 - cd /src TB --- 2013-06-22 16:22:27 - /usr/bin/make -B buildkernel KERNCONF=BERI_DE4_MDROOT >>> Kernel build for BERI_DE4_MDROOT started on Sat Jun 22 16:22:27 UTC 2013 >>> 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 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -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=8000 --param inline-unit-growth=1 --param large-function-growth=10 --param max-inline-insns-single=1 -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x8010 -march=mips64 -mabi=64 -msoft-float -ffrees
[head tinderbox] failure on ia64/ia64
TB --- 2013-06-22 13:32:07 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-06-22 13:32: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 --- 2013-06-22 13:32:07 - starting HEAD tinderbox run for ia64/ia64 TB --- 2013-06-22 13:32:07 - cleaning the object tree TB --- 2013-06-22 13:33:06 - /usr/local/bin/svn stat /src TB --- 2013-06-22 13:33:09 - At svn revision 252094 TB --- 2013-06-22 13:33:10 - building world TB --- 2013-06-22 13:33:10 - CROSS_BUILD_TESTING=YES TB --- 2013-06-22 13:33:10 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-22 13:33:10 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-22 13:33:10 - SRCCONF=/dev/null TB --- 2013-06-22 13:33:10 - TARGET=ia64 TB --- 2013-06-22 13:33:10 - TARGET_ARCH=ia64 TB --- 2013-06-22 13:33:10 - TZ=UTC TB --- 2013-06-22 13:33:10 - __MAKE_CONF=/dev/null TB --- 2013-06-22 13:33:10 - cd /src TB --- 2013-06-22 13:33:10 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sat Jun 22 13:33:17 UTC 2013 >>> 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 Sat Jun 22 15:08:46 UTC 2013 TB --- 2013-06-22 15:08:46 - generating LINT kernel config TB --- 2013-06-22 15:08:46 - cd /src/sys/ia64/conf TB --- 2013-06-22 15:08:46 - /usr/bin/make -B LINT TB --- 2013-06-22 15:08:46 - cd /src/sys/ia64/conf TB --- 2013-06-22 15:08:46 - /usr/sbin/config -m LINT TB --- 2013-06-22 15:08:46 - building LINT kernel TB --- 2013-06-22 15:08:46 - CROSS_BUILD_TESTING=YES TB --- 2013-06-22 15:08:46 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-22 15:08:46 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-22 15:08:46 - SRCCONF=/dev/null TB --- 2013-06-22 15:08:46 - TARGET=ia64 TB --- 2013-06-22 15:08:46 - TARGET_ARCH=ia64 TB --- 2013-06-22 15:08:46 - TZ=UTC TB --- 2013-06-22 15:08:46 - __MAKE_CONF=/dev/null TB --- 2013-06-22 15:08:46 - cd /src TB --- 2013-06-22 15:08:46 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Jun 22 15:08:46 UTC 2013 >>> 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/fs/nfsclient/nfs_clcomsubs.c 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/fs/nfsclient/nfs_clsubs.c 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/fs/nfsclient/nfs_clstate.c cc1: warnings being treated as errors /src/sys/fs/nfsclient/nfs_clstate.c: In function 'nfscl_dolayoutcommit': /src/sys/fs/nfsclient/nfs_clstate.c:5159: warning: format '%qd' expects type 'long long int', but argument 3 has type 'uint64_t' [-Wformat] /src/sys/fs/nfsclient/nfs_clstate.c:5159: warning: format '%qd' expects type 'long long int', but a
Re: Cannot startx on FreeBSD10 Current
On Sat Jun 22 04:39:09 2013, Matthew D. Fuller wrote: > On Sat, Jun 22, 2013 at 12:29:49AM + I heard the voice of > Miguel Clara, and lo! it spake thus: >> >> The only way to turn off is but "force" and this can cause damage to >> filesystems, this is indeed a very big issue, and I'm not sure if >> its specific to KMS or some freebsd-current problem cause I have no >> way to look into it! > > One little trick you might try is to login to a second VTY and run > something like "sleep 60 ; shutdown -r now" before switching back and > running startx; if it's just a UI crash/lockup rather than a > whole-system such, that'll give you a clean reboot without FS damage. > Of course, if it's a whole-system lockup, it won't, but that also > means you can tell which it is, which may be diagnostically useful... > > (ssh'ing in from another machine is another way to track such things, > but may be less convenient depending on your own setup...) > > I tried the ssh trick, first thing that crossed my mind... but its no good after the reboot or shutdown, I guess by then sshd is not running anymore but I have no way to know! I know this is something in active development but this seams to be of significant importance, I wish I could help somehow but I can't even see what's happening! ___ 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: Question about portsdb (part of ports-mgmt/portupgrade)
On Sat, Jun 22, 2013 at 12:34:38PM + I heard the voice of Walter Hurry, and lo! it spake thus: > > But the corresponding action doesn't happen on 10.0-CURRENT > (r251572) until I do a 'portsdb -Fu'. > > Why the difference? Portsnap doesn't make/distribute INDEX-10 (until 10 spirals toward -STABLE status, anyway). I just symlink it to INDEX-9... -- Matthew Fuller (MF4839) | fulle...@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
[head tinderbox] failure on amd64/amd64
TB --- 2013-06-22 09:30:24 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-06-22 09:30:24 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-06-22 09:30:24 - starting HEAD tinderbox run for amd64/amd64 TB --- 2013-06-22 09:30:24 - cleaning the object tree TB --- 2013-06-22 09:32:44 - /usr/local/bin/svn stat /src TB --- 2013-06-22 09:32:47 - At svn revision 252094 TB --- 2013-06-22 09:32:48 - building world TB --- 2013-06-22 09:32:48 - CROSS_BUILD_TESTING=YES TB --- 2013-06-22 09:32:48 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-22 09:32:48 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-22 09:32:48 - SRCCONF=/dev/null TB --- 2013-06-22 09:32:48 - TARGET=amd64 TB --- 2013-06-22 09:32:48 - TARGET_ARCH=amd64 TB --- 2013-06-22 09:32:48 - TZ=UTC TB --- 2013-06-22 09:32:48 - __MAKE_CONF=/dev/null TB --- 2013-06-22 09:32:48 - cd /src TB --- 2013-06-22 09:32:48 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sat Jun 22 09:32:55 UTC 2013 >>> 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 Sat Jun 22 13:19:52 UTC 2013 TB --- 2013-06-22 13:19:52 - generating LINT kernel config TB --- 2013-06-22 13:19:52 - cd /src/sys/amd64/conf TB --- 2013-06-22 13:19:52 - /usr/bin/make -B LINT TB --- 2013-06-22 13:19:52 - cd /src/sys/amd64/conf TB --- 2013-06-22 13:19:52 - /usr/sbin/config -m LINT TB --- 2013-06-22 13:19:52 - building LINT kernel TB --- 2013-06-22 13:19:52 - CROSS_BUILD_TESTING=YES TB --- 2013-06-22 13:19:52 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-22 13:19:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-22 13:19:52 - SRCCONF=/dev/null TB --- 2013-06-22 13:19:52 - TARGET=amd64 TB --- 2013-06-22 13:19:52 - TARGET_ARCH=amd64 TB --- 2013-06-22 13:19:52 - TZ=UTC TB --- 2013-06-22 13:19:52 - __MAKE_CONF=/dev/null TB --- 2013-06-22 13:19:52 - cd /src TB --- 2013-06-22 13:19:52 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Jun 22 13:19:52 UTC 2013 >>> 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 [...] ^ /src/sys/fs/nfsclient/nfs_clstate.c:5161:8: error: format specifies type 'long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Werror,-Wformat] lyp->nfsly_lastbyte); ^~~ /src/sys/fs/nfs/nfscl.h:74:11: note: expanded from macro 'NFSCL_DEBUG' printf(__VA_ARGS__);\ ^ 3 errors generated. *** Error code 1 Stop. make: stopped in /obj/amd64.amd64/src/sys/LINT *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-06-22 13:32:07 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-06-22 13:32:07 - ERROR: failed to build LINT kernel TB --- 2013-06-22 13:32:07 - 11348.84 user 2198.82 system 14502.76 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-amd64-amd64.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
revision 252095: kerenl fails to compile: nfs_clstate.c:5160:33: error: format specifies type 'long long' but the argument has type 'uint64_t'
Just for notice. The most recent sources fail to compile a kernel successfully: [...] /usr/src/sys/fs/nfsclient/nfs_clstate.c:5160:33: error: format specifies type 'long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Werror,-Wformat] "lastbyte=%qd\n", error, flp->nfsfl_off, len, ^~ /usr/src/sys/fs/nfs/nfscl.h:74:11: note: expanded from macro 'NFSCL_DEBUG' printf(__VA_ARGS__);\ ^ /usr/src/sys/fs/nfsclient/nfs_clstate.c:5160:49: error: format specifies type 'long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Werror,-Wformat] "lastbyte=%qd\n", error, flp->nfsfl_off, len, ^~~ /usr/src/sys/fs/nfs/nfscl.h:74:11: note: expanded from macro 'NFSCL_DEBUG' printf(__VA_ARGS__);\ ^ /usr/src/sys/fs/nfsclient/nfs_clstate.c:5161:8: error: format specifies type 'long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Werror,-Wformat] lyp->nfsly_lastbyte); ^~~ /usr/src/sys/fs/nfs/nfscl.h:74:11: note: expanded from macro 'NFSCL_DEBUG' printf(__VA_ARGS__);\ ^ 3 errors generated. *** Error code 1 Stop. Regards, Oliver signature.asc Description: PGP signature
Re: gpart: can not add MBR partitions with "gpart add -t, mbr"
On Fri, 21 Jun 2013, Genre Roger wrote: When I refer to gpart(8) manpage (9.1 release, updated jan 25,2013), I find the description of partition types a bit confusing. Considering the case of a MoBo with "old way" Bios (non UEFI), the only scheme allowed to get a bootable system is MBR. (Note that after booting, your OS is able to manage gpt-scheme on different providers.) Sorry, I don't understand. GPT boots fine on a BIOS system. I'm using it on several systems. Then, if you speak "bsd-ish", you are able to add on the "MBR"-scheme provider up to 4 "freebsd-type" slices, each of them containing up to 8 partitions with a BSD filesystem (or swap space). Yes. This is a partitions-inside-a-slice configuration, used for quite a while because it provides more partitions than MBR's four, and also because it allows a standard PC to multi-boot from any of the four MBR slices. Technically, it's a hack. It's complex and shows that both partitioning schemes (MBR and bsdlabel) have weaknesses. Or, if you speak "msdos-ish", you would be able to add on the "MBR" provider up to 4 "msdos-type" partitions (or 3 + 1 extended ), each of them containing one filesystem. The manpage does'nt list explicitly the type for this second case; Oliver try to use "mbr", decribed as "A partition that is sub-partitioned by a Master Boot Record (MBR). This type is known as "!024dee41-33e7-11d3-9d69-0008c781f39f " by GPT.". Such definition is'nt very explicit. In general, it's rare to find a FreeBSD system that uses MBR slices directly because there are only four. But it can be done by combining one or more of the standard filesystems and not subdividing the slices: ada0s1: freebsd (/, /var, /tmp, and /usr combined into a single / filesystem) ada0s2: swap That would leave s3 and s4 available for other uses. Let me show the example below on my provider ada0 : $ gpart show => 63 976773105 ada0 MBR (465G) 63 136314864 1 freebsd [active] (65G) 136314927 840458241- free - (400G) =>0 136314864 ada0s1 BSD (65G) 08388608 1 freebsd-ufs (4.0G) 8388608 16777216 2 freebsd-swap (8.0G) 25165824 16777216 4 freebsd-ufs (8.0G) 419430408388608 5 freebsd-ufs (4.0G) 50331648 85983215 6 freebsd-ufs (41G) 136314863 1 - free - (512B) $ sudo gpart add -t mbr -i 2 -s 8G ada0 Password: gpart: Invalid argument MBR is not a type of partition, it is a partitioning method or "scheme" as the gpart man page calls them. The partitioning scheme is dictated by the type of system. Standard x86 computers are only going to be able to use MBR or GPT. $ sudo gpart add -t \!12 -i 2 -s 8G ada0 ada0s2 added \!12 is just an MS-DOS partition (FAT32 with LBA). $ sudo newfs_msdos ada0s2 /dev/ada0s2: 16773056 sectors in 262079 FAT32 clusters (32768 bytes/cluster) BytesPerSec=512 SecPerClust=64 ResSectors=32 FATs=2 Media=0xf0 SecPerTrack=63 Heads=16 HiddenSecs=0 HugeSectors=16777215 FATsecs=2048 RootCluster=2 FSInfo=1 Backup=2 $ sudo gpart add -t freebsd -i 3 -s 8G ada0 ada0s3 added $ gpart show ada0 => 63 976773105 ada0 MBR (465G) 63 136314864 1 freebsd [active] (65G) 136314927 16777215 2 !12 (8G) 153092142 16777215 3 freebsd (8G) 169869357 806903811- free - (384G) $ sudo newfs_msdos ada0s3 /dev/ada0s3: 16773056 sectors in 262079 FAT32 clusters (32768 bytes/cluster) BytesPerSec=512 SecPerClust=64 ResSectors=32 FATs=2 Media=0xf0 SecPerTrack=63 Heads=16 HiddenSecs=0 HugeSectors=16777215 FATsecs=2048 RootCluster=2 FSInfo=1 Backup=2 $ this example show that, if you want a "msdos" or "fat32" partition, both the type "\!12" or "freebsd" allows you to create a partition where you could install a msdos filesystem (but the "mbr" does not). It shows that MBR is a partitioning scheme, not a partition type. It also demonstrates that newfs_msdos does not check the partition type of the partition on which it is creating a filesystem. Neither does newfs. That is appropriate behavior. The partition type is so that bootcode and other software that deals with partitions does not have to guess what is on a particular partition, but has it identified explicitly. Such behaviour is not surprising, (using freebsd-type to format as msdos means you don't use the space allowed for labeling); I don't understand what you are saying there. Offhand, I can't think of any reason to misidentify a partition intentionally. but what is really the purpose of the listed "mbr"-type in the gpart(8) manpage? MBR is a partitioning scheme, comparable to GPT but more limited. APM is a partitioning scheme for PPC Macs, VTOC8 is a partitioning scheme for Sparc. The partitioning scheme determines which types of partitions are allowed. For MBR, there are lots of partition types for variations for MS-DOS (includi
Question about portsdb (part of ports-mgmt/portupgrade)
On 9.1-RELEASE, when I follow 'portsnap fetch update' with 'portsdb -u', it updates the INDEX-9 and INDEX-9.db files in /usr/ports for me. But the corresponding action doesn't happen on 10.0-CURRENT (r251572) until I do a 'portsdb -Fu'. Why the difference? Obviously it's no big deal, but I'm rather curious. This is portupgrade-2.4.10.5_1,2 in both cases, by the way. ___ 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
TB --- 2013-06-22 05:52:33 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-06-22 05:52:33 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-06-22 05:52:33 - starting HEAD tinderbox run for powerpc64/powerpc TB --- 2013-06-22 05:52:33 - cleaning the object tree TB --- 2013-06-22 05:52:33 - /usr/local/bin/svn stat /src TB --- 2013-06-22 05:52:36 - At svn revision 252079 TB --- 2013-06-22 05:52:37 - building world TB --- 2013-06-22 05:52:37 - CROSS_BUILD_TESTING=YES TB --- 2013-06-22 05:52:37 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-22 05:52:37 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-22 05:52:37 - SRCCONF=/dev/null TB --- 2013-06-22 05:52:37 - TARGET=powerpc TB --- 2013-06-22 05:52:37 - TARGET_ARCH=powerpc64 TB --- 2013-06-22 05:52:37 - TZ=UTC TB --- 2013-06-22 05:52:37 - __MAKE_CONF=/dev/null TB --- 2013-06-22 05:52:37 - cd /src TB --- 2013-06-22 05:52:37 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sat Jun 22 05:52:44 UTC 2013 >>> 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 Sat Jun 22 08:58:59 UTC 2013 TB --- 2013-06-22 08:58:59 - generating LINT kernel config TB --- 2013-06-22 08:58:59 - cd /src/sys/powerpc/conf TB --- 2013-06-22 08:58:59 - /usr/bin/make -B LINT TB --- 2013-06-22 08:58:59 - cd /src/sys/powerpc/conf TB --- 2013-06-22 08:58:59 - /usr/sbin/config -m LINT TB --- 2013-06-22 08:58:59 - skipping LINT kernel TB --- 2013-06-22 08:58:59 - cd /src/sys/powerpc/conf TB --- 2013-06-22 08:58:59 - /usr/sbin/config -m GENERIC TB --- 2013-06-22 08:58:59 - skipping GENERIC kernel TB --- 2013-06-22 08:58:59 - cd /src/sys/powerpc/conf TB --- 2013-06-22 08:58:59 - /usr/sbin/config -m GENERIC64 TB --- 2013-06-22 08:58:59 - building GENERIC64 kernel TB --- 2013-06-22 08:58:59 - CROSS_BUILD_TESTING=YES TB --- 2013-06-22 08:58:59 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-22 08:58:59 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-22 08:58:59 - SRCCONF=/dev/null TB --- 2013-06-22 08:58:59 - TARGET=powerpc TB --- 2013-06-22 08:58:59 - TARGET_ARCH=powerpc64 TB --- 2013-06-22 08:58:59 - TZ=UTC TB --- 2013-06-22 08:58:59 - __MAKE_CONF=/dev/null TB --- 2013-06-22 08:58:59 - cd /src TB --- 2013-06-22 08:58:59 - /usr/bin/make -B buildkernel KERNCONF=GENERIC64 >>> Kernel build for GENERIC64 started on Sat Jun 22 08:58:59 UTC 2013 >>> 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 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -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 -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector -Werror /src/sys/fs/nfsclient/nfs_clcomsubs.c cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -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 -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector -Werror /src/sys/fs/nfsclient/nfs_clsubs.c cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -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 -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -
[head tinderbox] failure on sparc64/sparc64
TB --- 2013-06-22 06:53:55 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-06-22 06:53:55 - 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 --- 2013-06-22 06:53:55 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2013-06-22 06:53:55 - cleaning the object tree TB --- 2013-06-22 06:53:55 - /usr/local/bin/svn stat /src TB --- 2013-06-22 06:54:20 - At svn revision 252079 TB --- 2013-06-22 06:54:21 - building world TB --- 2013-06-22 06:54:21 - CROSS_BUILD_TESTING=YES TB --- 2013-06-22 06:54:21 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-22 06:54:21 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-22 06:54:21 - SRCCONF=/dev/null TB --- 2013-06-22 06:54:21 - TARGET=sparc64 TB --- 2013-06-22 06:54:21 - TARGET_ARCH=sparc64 TB --- 2013-06-22 06:54:21 - TZ=UTC TB --- 2013-06-22 06:54:21 - __MAKE_CONF=/dev/null TB --- 2013-06-22 06:54:21 - cd /src TB --- 2013-06-22 06:54:21 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sat Jun 22 06:54:28 UTC 2013 >>> 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 Sat Jun 22 08:03:53 UTC 2013 TB --- 2013-06-22 08:03:53 - generating LINT kernel config TB --- 2013-06-22 08:03:53 - cd /src/sys/sparc64/conf TB --- 2013-06-22 08:03:53 - /usr/bin/make -B LINT TB --- 2013-06-22 08:03:53 - cd /src/sys/sparc64/conf TB --- 2013-06-22 08:03:53 - /usr/sbin/config -m LINT TB --- 2013-06-22 08:03:53 - building LINT kernel TB --- 2013-06-22 08:03:53 - CROSS_BUILD_TESTING=YES TB --- 2013-06-22 08:03:53 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-22 08:03:53 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-22 08:03:53 - SRCCONF=/dev/null TB --- 2013-06-22 08:03:53 - TARGET=sparc64 TB --- 2013-06-22 08:03:53 - TARGET_ARCH=sparc64 TB --- 2013-06-22 08:03:53 - TZ=UTC TB --- 2013-06-22 08:03:53 - __MAKE_CONF=/dev/null TB --- 2013-06-22 08:03:53 - cd /src TB --- 2013-06-22 08:03:53 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Jun 22 08:03:53 UTC 2013 >>> 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/fs/nfsclient/nfs_clcomsubs.c 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/fs/nfsclient/nfs_clsubs.c 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/fs/nfsclient/nfs_clstate.c cc1: warnings being treated as errors /src/sys/fs/nfsclient/nfs_clstate.c: In function 'nfscl_dolayoutcommit': /src/sys/fs/nfsclient/nfs_clstate.c:5159: warning: format '%qd' expects type 'long long int', but argument 3 has type 'uint64_t' [-Wformat] /src/sys/fs/nfsclient/nfs_clstate.c:5159: warning: format '%qd' expects type 'long long int', but argument 4 has type 'uint64_t' [-Wformat] /src/sys/fs/nfsclient/nfs_clstate.c:5159: warning: format '%qd' expect