Re: [releng_8 tinderbox] failure on amd64/amd64

2013-02-28 Thread Jeremy Chadwick
(Apologies for top-posting, just being quick about this one)


Jack,

This looks like fallout from commit r247430 to stable/8:

http://svnweb.freebsd.org/base/stable/8/sys/dev/e1000/if_em.c

-- 
| Jeremy Chadwick   j...@koitsu.org |
| UNIX Systems Administratorhttp://jdc.koitsu.org/ |
| Mountain View, CA, US|
| Making life hard for others since 1977. PGP 4BD6C0CB |

On Thu, Feb 28, 2013 at 08:21:08AM +, FreeBSD Tinderbox wrote:
 TB --- 2013-02-28 07:10:41 - tinderbox 2.10 running on 
 freebsd-legacy2.sentex.ca
 TB --- 2013-02-28 07:10:41 - FreeBSD freebsd-legacy2.sentex.ca 9.1-RELEASE 
 FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012 
 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
 TB --- 2013-02-28 07:10:41 - starting RELENG_8 tinderbox run for amd64/amd64
 TB --- 2013-02-28 07:10:41 - cleaning the object tree
 TB --- 2013-02-28 07:11:49 - checking out /src from 
 svn://svn.freebsd.org/base/stable/8
 TB --- 2013-02-28 07:11:49 - cd /tinderbox/RELENG_8/amd64/amd64
 TB --- 2013-02-28 07:11:49 - /usr/local/bin/svn cleanup /src
 TB --- 2013-02-28 07:12:02 - /usr/local/bin/svn update /src
 TB --- 2013-02-28 07:12:07 - building world
 TB --- 2013-02-28 07:12:07 - CROSS_BUILD_TESTING=YES
 TB --- 2013-02-28 07:12:07 - MAKEOBJDIRPREFIX=/obj
 TB --- 2013-02-28 07:12:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2013-02-28 07:12:07 - SRCCONF=/dev/null
 TB --- 2013-02-28 07:12:07 - TARGET=amd64
 TB --- 2013-02-28 07:12:07 - TARGET_ARCH=amd64
 TB --- 2013-02-28 07:12:07 - TZ=UTC
 TB --- 2013-02-28 07:12:07 - __MAKE_CONF=/dev/null
 TB --- 2013-02-28 07:12:07 - cd /src
 TB --- 2013-02-28 07:12:07 - /usr/bin/make -B buildworld
  World build started on Thu Feb 28 07:12:07 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 Thu Feb 28 08:17:05 UTC 2013
 TB --- 2013-02-28 08:17:05 - generating LINT kernel config
 TB --- 2013-02-28 08:17:05 - cd /src/sys/amd64/conf
 TB --- 2013-02-28 08:17:05 - /usr/bin/make -B LINT
 TB --- 2013-02-28 08:17:05 - cd /src/sys/amd64/conf
 TB --- 2013-02-28 08:17:05 - /usr/sbin/config -m LINT
 TB --- 2013-02-28 08:17:05 - building LINT kernel
 TB --- 2013-02-28 08:17:05 - CROSS_BUILD_TESTING=YES
 TB --- 2013-02-28 08:17:05 - MAKEOBJDIRPREFIX=/obj
 TB --- 2013-02-28 08:17:05 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2013-02-28 08:17:05 - SRCCONF=/dev/null
 TB --- 2013-02-28 08:17:05 - TARGET=amd64
 TB --- 2013-02-28 08:17:05 - TARGET_ARCH=amd64
 TB --- 2013-02-28 08:17:05 - TZ=UTC
 TB --- 2013-02-28 08:17:05 - __MAKE_CONF=/dev/null
 TB --- 2013-02-28 08:17:05 - cd /src
 TB --- 2013-02-28 08:17:05 - /usr/bin/make -B buildkernel KERNCONF=LINT
  Kernel build for LINT started on Thu Feb 28 08:17:05 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
 [...]
 cc1: warnings being treated as errors
 /src/sys/dev/e1000/if_em.c: In function 'em_setup_transmit_ring':
 /src/sys/dev/e1000/if_em.c:3349: warning: implicit declaration of function 
 'netmap_idx_n2k'
 /src/sys/dev/e1000/if_em.c:3349: warning: nested extern declaration of 
 'netmap_idx_n2k'
 /src/sys/dev/e1000/if_em.c: In function 'em_txeof':
 /src/sys/dev/e1000/if_em.c:3812: error: 'struct netmap_adapter' has no member 
 named 'tx_si'
 /src/sys/dev/e1000/if_em.c: In function 'em_rxeof':
 /src/sys/dev/e1000/if_em.c:4424: error: 'struct netmap_adapter' has no member 
 named 'rx_si'
 *** [if_em.o] Error code 1
 
 Stop in /obj/amd64/src/sys/LINT.
 *** [buildkernel] Error code 1
 
 Stop in /src.
 *** [buildkernel] Error code 1
 
 Stop in /src.
 TB --- 2013-02-28 08:21:08 - WARNING: /usr/bin/make returned exit code  1 
 TB --- 2013-02-28 08:21:08 - ERROR: failed to build LINT kernel
 TB --- 2013-02-28 08:21:08 - 3420.18 user 665.77 system 4226.58 real
 
 
 http://tinderbox.freebsd.org/tinderbox-releng_8-RELENG_8-amd64-amd64.full
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: [releng_8 tinderbox] failure on amd64/amd64

2012-05-19 Thread Andriy Gapon
on 19/05/2012 13:10 FreeBSD Tinderbox said the following:
 TB --- 2012-05-19 09:24:53 - tinderbox 2.9 running on 
 freebsd-legacy2.sentex.ca
 TB --- 2012-05-19 09:24:53 - FreeBSD freebsd-legacy2.sentex.ca 9.0-RELEASE 
 FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012 
 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
 TB --- 2012-05-19 09:24:53 - starting RELENG_8 tinderbox run for amd64/amd64
 TB --- 2012-05-19 09:24:53 - cleaning the object tree
 TB --- 2012-05-19 09:25:01 - cvsupping the source tree
 TB --- 2012-05-19 09:25:01 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
 /tinderbox/RELENG_8/amd64/amd64/supfile
 TB --- 2012-05-19 09:25:14 - building world
 TB --- 2012-05-19 09:25:14 - CROSS_BUILD_TESTING=YES
 TB --- 2012-05-19 09:25:14 - MAKEOBJDIRPREFIX=/obj
 TB --- 2012-05-19 09:25:14 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2012-05-19 09:25:14 - SRCCONF=/dev/null
 TB --- 2012-05-19 09:25:14 - TARGET=amd64
 TB --- 2012-05-19 09:25:14 - TARGET_ARCH=amd64
 TB --- 2012-05-19 09:25:14 - TZ=UTC
 TB --- 2012-05-19 09:25:14 - __MAKE_CONF=/dev/null
 TB --- 2012-05-19 09:25:14 - cd /src
 TB --- 2012-05-19 09:25:14 - /usr/bin/make -B buildworld
 World build started on Sat May 19 09:25:14 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 [...]
 gzip -cn /src/usr.sbin/mergemaster/mergemaster.8  mergemaster.8.gz
 === usr.sbin/mfiutil (all)
 cc -O2 -pipe  -fno-builtin-strftime -std=gnu99 -fstack-protector 
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
 -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized 
 -Wno-pointer-sign -c /src/usr.sbin/mfiutil/mfiutil.c
 cc -O2 -pipe  -fno-builtin-strftime -std=gnu99 -fstack-protector 
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
 -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized 
 -Wno-pointer-sign -c /src/usr.sbin/mfiutil/mfi_cmd.c
 cc -O2 -pipe  -fno-builtin-strftime -std=gnu99 -fstack-protector 
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
 -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized 
 -Wno-pointer-sign -c /src/usr.sbin/mfiutil/mfi_config.c
 cc1: warnings being treated as errors
 /src/usr.sbin/mfiutil/mfi_config.c: In function 'parse_array':
 /src/usr.sbin/mfiutil/mfi_config.c:307: warning: comparison is always true 
 due to limited range of data type
 *** Error code 1
 

The failing code:
#define MFI_ARRAY_SIZE  288
#define MAX_DRIVES_PER_ARRAY\
((MFI_ARRAY_SIZE - sizeof(struct mfi_array)) / 8)

At present sizeof(struct mfi_array) is exactly 288.

I guess that this is the offending commit: r235625 MFC of head thunderbolt
support for mfi(4).
It seems that this particular snippet is related to the problem:

+#define MFI_MAX_ROW_SIZE 32
 struct mfi_array {
 uint64_tsize;
 uint8_t num_drives;
@@ -1106,7 +1292,7 @@
 uint8_t pd;
 uint8_t slot;
 } encl;
-} pd[0];
+} pd[MFI_MAX_ROW_SIZE];
 } __packed;

I think that with this change MAX_DRIVES_PER_ARRAY should become 
MFI_MAX_ROW_SIZE?

Index: mfi_config.c
===
--- mfi_config.c(revision 235646)
+++ mfi_config.c(working copy)
@@ -212,8 +212,7 @@
 MFI_COMMAND(top, clear, clear_config);

 #defineMFI_ARRAY_SIZE  288
-#defineMAX_DRIVES_PER_ARRAY
\
-   ((MFI_ARRAY_SIZE - sizeof(struct mfi_array)) / 8)
+#defineMAX_DRIVES_PER_ARRAYMFI_MAX_ROW_SIZE

 #defineRT_RAID00
 #defineRT_RAID11
@@ -305,7 +304,7 @@

/* Validate the number of drives for this array. */
if (count = MAX_DRIVES_PER_ARRAY) {
-   warnx(Too many drives for a single array: max is %zu,
+   warnx(Too many drives for a single array: max is %u,
MAX_DRIVES_PER_ARRAY);
return (EINVAL);
}


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


Re: [releng_8 tinderbox] failure on amd64/amd64

2010-10-26 Thread Attilio Rao
This issue should be resolved by r214370 already; someone else can
validate this?

Thanks,
Attilio

2010/10/26 FreeBSD Tinderbox tinder...@freebsd.org:
 TB --- 2010-10-26 06:20:40 - tinderbox 2.6 running on 
 freebsd-current.sentex.ca
 TB --- 2010-10-26 06:20:40 - starting RELENG_8 tinderbox run for amd64/amd64
 TB --- 2010-10-26 06:20:40 - cleaning the object tree
 TB --- 2010-10-26 06:23:51 - cvsupping the source tree
 TB --- 2010-10-26 06:23:51 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
 /tinderbox/RELENG_8/amd64/amd64/supfile
 TB --- 2010-10-26 06:28:44 - building world
 TB --- 2010-10-26 06:28:44 - MAKEOBJDIRPREFIX=/obj
 TB --- 2010-10-26 06:28:44 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2010-10-26 06:28:44 - TARGET=amd64
 TB --- 2010-10-26 06:28:44 - TARGET_ARCH=amd64
 TB --- 2010-10-26 06:28:44 - TZ=UTC
 TB --- 2010-10-26 06:28:44 - __MAKE_CONF=/dev/null
 TB --- 2010-10-26 06:28:44 - cd /src
 TB --- 2010-10-26 06:28:44 - /usr/bin/make -B buildworld
 World build started on Tue Oct 26 06:28:46 UTC 2010
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 stage 5.1: building 32 bit shim libraries
 World build completed on Tue Oct 26 14:25:11 UTC 2010
 TB --- 2010-10-26 14:25:11 - generating LINT kernel config
 TB --- 2010-10-26 14:25:11 - cd /src/sys/amd64/conf
 TB --- 2010-10-26 14:25:11 - /usr/bin/make -B LINT
 TB --- 2010-10-26 14:25:12 - building LINT kernel
 TB --- 2010-10-26 14:25:12 - MAKEOBJDIRPREFIX=/obj
 TB --- 2010-10-26 14:25:12 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2010-10-26 14:25:12 - TARGET=amd64
 TB --- 2010-10-26 14:25:12 - TARGET_ARCH=amd64
 TB --- 2010-10-26 14:25:12 - TZ=UTC
 TB --- 2010-10-26 14:25:12 - __MAKE_CONF=/dev/null
 TB --- 2010-10-26 14:25:12 - cd /src
 TB --- 2010-10-26 14:25:12 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Tue Oct 26 14:25:12 UTC 2010
 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
 [...]
 awk -f /src/sys/tools/makeobjops.awk /src/sys/opencrypto/cryptodev_if.m -h
 awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/acpica/acpi_if.m -h
 awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/acpi_support/acpi_wmi_if.m 
 -h
 rm -f .newdep
 /usr/bin/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES |  MKDEP_CPP=cc -E 
 CC=cc xargs mkdep -a -f .newdep -O2 -frename-registers -pipe 
 -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
 -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. 
 -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter 
 -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal 
 -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/gnu/fs/xfs/FreeBSD 
 -I/src/sys/gnu/fs/xfs/FreeBSD/support -I/src/sys/gnu/fs/xfs 
 -I/src/sys/contrib/opensolaris/compat -I/src/sys/dev/cxgb -D_KERNEL 
 -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
 -finline-limit=8000 --param inline-unit-growth=100 --param 
 large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF 
 -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  
 -mfpmath=387 -mno-sse -mno-sse2 -mno-ss!
  e3 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables 
 -ffreestanding -fstack-protector
 cc: /src/sys/libkern/inet_ntop.c: No such file or directory
 cc: /src/sys/libkern/inet_pton.c: No such file or directory
 mkdep: compile failed
 *** Error code 1

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

 Stop in /src.
 *** Error code 1

 Stop in /src.
 TB --- 2010-10-26 14:50:51 - WARNING: /usr/bin/make returned exit code  1
 TB --- 2010-10-26 14:50:51 - ERROR: failed to build lint kernel
 TB --- 2010-10-26 14:50:51 - 4255.74 user 16233.66 system 30610.94 real


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




-- 
Peace can only be achieved by understanding - A. Einstein
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: [releng_8 tinderbox] failure on amd64/amd64

2010-10-26 Thread Jeremy Chadwick
On Tue, Oct 26, 2010 at 05:17:55PM +0200, Attilio Rao wrote:
 This issue should be resolved by r214370 already; someone else can
 validate this?

I'll start a clean buildworld on my box.  Should be done in about 10-15
minutes.

-- 
| Jeremy Chadwick   j...@parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: [releng_8 tinderbox] failure on amd64/amd64

2010-10-26 Thread Jeremy Chadwick
On Tue, Oct 26, 2010 at 09:02:09AM -0700, Jeremy Chadwick wrote:
 On Tue, Oct 26, 2010 at 05:17:55PM +0200, Attilio Rao wrote:
  This issue should be resolved by r214370 already; someone else can
  validate this?
 
 I'll start a clean buildworld on my box.  Should be done in about 10-15
 minutes.

--
 World build completed on Tue Oct 26 09:20:33 PDT 2010
--

-- 
| Jeremy Chadwick   j...@parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: [releng_8 tinderbox] failure on amd64/amd64

2010-05-23 Thread Nathan Whitehorn

On 05/23/10 10:51, FreeBSD Tinderbox wrote:

[...]
/src/sys/geom/part/g_part_apm.c: In function 'apm_parse_type':
/src/sys/geom/part/g_part_apm.c:131: error: 'G_PART_ALIAS_APPLE_BOOT' 
undeclared (first use in this function)
/src/sys/geom/part/g_part_apm.c:131: error: (Each undeclared identifier is 
reported only once
/src/sys/geom/part/g_part_apm.c:131: error: for each function it appears in.)
/src/sys/geom/part/g_part_apm.c:141: error: 'G_PART_ALIAS_APPLE_UFS' undeclared 
(first use in this function)
/src/sys/geom/part/g_part_apm.c: In function 'g_part_apm_type':
/src/sys/geom/part/g_part_apm.c:453: error: 'G_PART_ALIAS_APPLE_BOOT' 
undeclared (first use in this function)
/src/sys/geom/part/g_part_apm.c:457: error: 'G_PART_ALIAS_APPLE_UFS' undeclared 
(first use in this function)
*** Error code 1
   


This is fixed now (as of r208450). Apologies for the breakage!
-Nathan
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org