Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-16 Thread Kostik Belousov
On Tue, Nov 15, 2011 at 07:15:01PM +0100, Attilio Rao wrote:
 2011/11/7 Kostik Belousov kostik...@gmail.com:
  On Mon, Nov 07, 2011 at 11:45:38AM -0600, Alan Cox wrote:
  Ok.  I'll offer one final suggestion.  Please consider an alternative
  suffix to func.  Perhaps, kbi or KBI.  In other words, something
  that hints at the function's reason for existing.
 
  Sure. Below is the extraction of only vm_page_lock() bits, together
  with the suggested rename. When Attilio provides the promised simplification
  of the mutex KPI, this can be reduced.
 
 My tentative patch is here:
 http://www.freebsd.org/~attilio/mutexfileline.patch
 
 I need to make more compile testing later, but it already compiles
 GENERIC + modules fine on HEAD.
 
 The patch provides a common entrypoint, option independent, for both
 fast case and debug/compat case.
 Additively, it almost entirely fixes the standard violation of the
 reserved namespace, as you described (the notable exception being the
 macro used in the fast path, that I want to fix as well, but in a
 separate commit).
 
 Now the file/line couplet can be passed to the _ suffix variant of
 the flag functions.
Yes, this is exactly KPI that I would use when available for the
vm_page_lock() patch.

 
 eadler@ reviewed the mutex.h comment.
 
 Please let me know what you think about it, as long as we agree on the
 patch I'll commit it.
But I also agree with John that imposing large churn due to the elimination
of the '__' prefix is too late now. At least it will make the change
non-MFCable. Besides, we already lived with the names for 10+ years.

I will be happy to have the part of the patch that exports the mtx_XXX_(mtx,
file, line) defines which can be used without taking care of LOCK_DEBUG
or MUTEX_NOINLINE in the consumer code.


pgpOwIEH4H9gF.pgp
Description: PGP signature


Re: [RFC] Enable nxstack by default

2011-11-16 Thread Kostik Belousov
On Wed, Nov 16, 2011 at 01:09:18AM +0100, Oliver Pinter wrote:
 On 11/15/11, Jeremie Le Hen jere...@le-hen.org wrote:
  Hi,
 
  On Wed, Oct 19, 2011 at 12:37:44AM +0200, Oliver Pinter wrote:
  In NetBSD has been some PaX feature [0] implemented. (ASLR, W^X
  (~nxstack), mprotect restriction, veriexec, mmap randomization[2]...)
 
  [0] http://pax.grsecurity.net/docs/index.html
  [1] http://www.netbsd.org/~elad/recent/man/security.8.html
  [2] http://people.freebsd.org/~ssouhlal/testing/stackgap-20050527.diff
 
  Suleiman actually wrought two patches, one randomizing the stack (the
  one you pointed out) and another one randomizing non-fixed mmap(2)
  calls:
 
  http://people.freebsd.org/~ssouhlal/testing/mmap_random-20050528.diff
 
 
  FYI, they do not apply cleanly on recent source trees (the patches were
  made in 2005), but they can be applied with little fiddling.  I'm
  running multiple 8.x production machines with them without any problem.
 
 Yeah, I use thins patch in 7-STABLE and 9-STABLE too.
 Patch for 9-STABLE has attached.
One immediate issue, which is definitely not critical, is that the size
of the stack of main thread becomes chopped by the random amount of
bytes. This is not an issue for single-threaded process, because typical
default stack size is around 64M. For the threaded process, libthr cuts
the stack, see thr_init.c:init_main_thread(). There, the size of the
stack is 2 or 4MB, and 64KB might be more significant part of it.

Missed bit from the patch is some randomization at the load address
for the PIE (which is the main feature of ASLR, I suspect). See
imgact_elf.c:exec(), et_dyn_addr calculation.

Another missed bit is the similar modification for
freebsd32_copyout_strings().

The upper limit for the random offset for mmap() should be configurable
in the same way as stack gap, instead of the dump enable/disable knob.

There are numerous style violations in the patch, or rather, the patch
fully violates the style.

 
 
 
 
  I've always wanted them to be committed as opt-in knobs, but I can't
  remember why they hadn't at the time.
 
  Cheers,
  --
  Jeremie Le Hen
 
  Men are born free and equal.  Later on, they're on their own.
  Jean Yanne
 




pgp0wWrKbOxRT.pgp
Description: PGP signature


Re: [amd64] Reproducible cold boot failure (reboot succeeds) in -CURRENT

2011-11-16 Thread John Baldwin
On Sunday, November 13, 2011 12:56:12 pm Stefan Esser wrote:
 Am 11.11.2011 13:15, schrieb Attilio Rao:
  Can you try rebuilding your kernel and modules from scratch and see if
  it fixes your problem?
 
 Sorry for the delay, but my system seems to need being turned off (S5)
 for many hours (whole night) to reproduce the problem ...
 
 I had already rebuilt my kernel multiple times in the last weeks. But
 just to be sure, I removed the build directories for kernel and world
 and built a new kernel after building and installing world from scratch.
 The next reboot (with boot  blocks from the freshly built world) failed
 again ...
 
 But the first lines of boot messages look strange:
 
 ...
 WARNING: WITNESS option enabled, expect reduced performance.
 Table 'FACP' at 0xba918a58
 Table 'APIC' at 0xba918b50
 Table 'SSDT' at 0xba918be8
 Table 'MCFG' at 0xba918dc0
 Table 'HPET' at 0xba918e00
 ACPI: No SRAT table found
 Preloaded elf kernel /boot/kernel/kernel at 0x81109000
 Preloaded elf obj module /boot/kernel/zfs.ko at 0x81109370 --
 kldload: unexpected relocation type 67108875
 kernel trap 12 with interrupts disabled
 
 The irritating detail is the load address of zfs.ko, which is just
 0x370 bytes above the kernel load address ...

That isn't unusual.  Those are the addresses of the metadata provided by the 
loader, not the base address of the kernel or zfs.ko object themselves.  The 
unexpected relocation type is interesting however.  That value in hex is 
0x40b.  0xb is the R_X86_64_32S relocation type which is normal for the 
kernel.  I think you just have a single-bit memory error due to a failing 
DIMM.

 A verbose boot scrolls these lines off the screen to fast (and is to
 long to be preserved in dmesg.boot from the start), so I do not have any
 idea whether other values are reported in case of a successful boot.
 
 I had already assumed that memory was corrupted during early start-up,
 but now I think that gptzfsboot writes the zfs kernel module over the
 start of the loaded kernel. I'll try some more tests later today.

Nah, if zfs.ko were loaded over the beginning of the kernel you wouldn't even 
get to the point of the first kernel printf.

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


[PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-16 Thread Robert Millan
Hi!

Out of the kernel headers that are installed in /usr/include/ hierracy, there
are some which include support multiple operating systems (usually FreeBSD and
other *BSD flavours).

This patch adds support to detect GNU/kFreeBSD as well.  In all cases, we
match the same declarations as FreeBSD does (which is to be expected in kernel
headers, since both systems share the same kernel).

Does it look fine?
diff -ur sys.old/cam/scsi/scsi_low.h sys/cam/scsi/scsi_low.h
--- sys.old/cam/scsi/scsi_low.h	2007-12-25 18:52:02.0 +0100
+++ sys/cam/scsi/scsi_low.h	2011-11-13 14:12:41.121908380 +0100
@@ -53,7 +53,7 @@
 #define	SCSI_LOW_INTERFACE_XS
 #endif	/* __NetBSD__ */
 
-#ifdef	__FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 #define	SCSI_LOW_INTERFACE_CAM
 #define	CAM
 #endif	/* __FreeBSD__ */
@@ -64,7 +64,7 @@
 #include dev/isa/ccbque.h
 #endif	/* __NetBSD__ */
 
-#ifdef	__FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 #include sys/device_port.h
 #include sys/kdb.h
 #include cam/cam.h
@@ -85,7 +85,7 @@
 #define	SCSI_LOW_BZERO(pt, size)	memset((pt), 0, (size))
 #endif	/* __NetBSD__ */
 
-#ifdef	__FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 #undef	MSG_IDENTIFY
 #define	SCSI_LOW_DEBUGGER(dev)	kdb_enter(KDB_WHY_CAM, dev)
 #define	SCSI_LOW_DELAY(mu)	DELAY((mu))
@@ -111,7 +111,7 @@
 };
 #endif	/* __NetBSD__ */
 
-#ifdef	__FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 typedef	struct scsi_sense_data scsi_low_osdep_sense_data_t;
 
 struct scsi_low_osdep_interface {
diff -ur sys.old/cam/scsi/scsi_low_pisa.h sys/cam/scsi/scsi_low_pisa.h
--- sys.old/cam/scsi/scsi_low_pisa.h	2005-01-05 23:34:37.0 +0100
+++ sys/cam/scsi/scsi_low_pisa.h	2011-11-13 14:12:41.121908380 +0100
@@ -40,7 +40,7 @@
 int scsi_low_notify_pisa(pisa_device_handle_t, pisa_event_t);
 #endif	/* __NetBSD__ */
 
-#ifdef	__FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 int scsi_low_activate_pisa(struct scsi_low_softc *, int);
 int scsi_low_deactivate_pisa(struct scsi_low_softc *);
 #endif	/* __FreeBSD__ */
diff -ur sys.old/contrib/altq/altq/altq_var.h sys/contrib/altq/altq/altq_var.h
--- sys.old/contrib/altq/altq/altq_var.h	2011-03-10 19:49:15.0 +0100
+++ sys/contrib/altq/altq/altq_var.h	2011-11-13 14:12:41.118907341 +0100
@@ -201,7 +201,7 @@
 #define	CALLOUT_STOP(c)		untimeout((c)-c_func,(c)-c_arg)
 #define	CALLOUT_INITIALIZER	{ NULL, NULL }
 #endif
-#if !defined(__FreeBSD__)
+#if !defined(__FreeBSD__)  !defined(__FreeBSD_kernel__)
 typedef void (timeout_t)(void *);
 #endif
 
diff -ur sys.old/contrib/altq/altq/if_altq.h sys/contrib/altq/altq/if_altq.h
--- sys.old/contrib/altq/altq/if_altq.h	2011-03-10 19:49:15.0 +0100
+++ sys/contrib/altq/altq/if_altq.h	2011-11-13 14:12:41.119907128 +0100
@@ -29,7 +29,7 @@
 #ifndef _ALTQ_IF_ALTQ_H_
 #define	_ALTQ_IF_ALTQ_H_
 
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 #include sys/lock.h		/* XXX */
 #include sys/mutex.h		/* XXX */
 #include sys/event.h		/* XXX */
@@ -51,7 +51,7 @@
 	int	ifq_len;
 	int	ifq_maxlen;
 	int	ifq_drops;
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 	struct	mtx ifq_mtx;
 #endif
 
diff -ur sys.old/contrib/pf/net/if_pflog.h sys/contrib/pf/net/if_pflog.h
--- sys.old/contrib/pf/net/if_pflog.h	2011-06-28 13:57:25.0 +0200
+++ sys/contrib/pf/net/if_pflog.h	2011-11-13 14:12:41.130906469 +0100
@@ -30,7 +30,7 @@
 #define	PFLOGIFS_MAX	16
 
 struct pflog_softc {
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 	struct ifnet		*sc_ifp;	/* the interface pointer */
 #else
 	struct ifnet		sc_if;		/* the interface */
@@ -74,7 +74,7 @@
 #define	OLD_PFLOG_HDRLEN	sizeof(struct old_pfloghdr)
 
 #ifdef _KERNEL
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 struct pf_rule;
 struct pf_ruleset;
 struct pfi_kif;
diff -ur sys.old/contrib/pf/net/if_pflow.h sys/contrib/pf/net/if_pflow.h
--- sys.old/contrib/pf/net/if_pflow.h	2011-06-28 13:57:25.0 +0200
+++ sys/contrib/pf/net/if_pflow.h	2011-11-13 14:12:41.130906469 +0100
@@ -66,7 +66,7 @@
 	unsigned int		 sc_maxcount;
 	u_int64_t		 sc_gcounter;
 	struct ip_moptions	 sc_imo;
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 	struct callout		 sc_tmo;
 #else
 	struct timeout		 sc_tmo;
diff -ur sys.old/contrib/pf/net/if_pfsync.h sys/contrib/pf/net/if_pfsync.h
--- sys.old/contrib/pf/net/if_pfsync.h	2011-06-28 13:57:25.0 +0200
+++ sys/contrib/pf/net/if_pfsync.h	2011-11-13 14:12:41.131906257 +0100
@@ -268,7 +268,7 @@
 	int		 pfsyncr_authlevel;
 };
 
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 #define	SIOCSETPFSYNC   _IOW('i', 247, struct ifreq)
 #define	SIOCGETPFSYNC   _IOWR('i', 248, struct ifreq)
 #endif
@@ -288,7 +288,7 @@
 #define	PFSYNC_S_DEFER	0xfe
 #define	PFSYNC_S_NONE	0xff
 
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || 

Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-16 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 11/16/11 09:27, Robert Millan wrote:
 Hi!
 
 Out of the kernel headers that are installed in /usr/include/
 hierracy, there are some which include support multiple operating
 systems (usually FreeBSD and other *BSD flavours).
 
 This patch adds support to detect GNU/kFreeBSD as well.  In all
 cases, we match the same declarations as FreeBSD does (which is to
 be expected in kernel headers, since both systems share the same
 kernel).
 
 Does it look fine?

Just my $0.02 -- I think we should probably do it in a more
centralized place -- otherwise in case someone imported some new code,
they have to do the same defined(__FreeBSD__) ||
defined(__FreeBSD_kernel__)?

Cheers,
- -- 
Xin LI delp...@delphij.nethttps://www.delphij.net/
FreeBSD - The Power to Serve!   Live free or die
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (FreeBSD)

iQEcBAEBCAAGBQJOw/vSAAoJEATO+BI/yjfBozIIAMuqmkNkDkWG4Kra/mQ5HQXZ
Oe/bndGzfUl9H6epFZWc+eeT2zxnlvVUGwVf5si3THU23dZkmynbPj1NnY+oDewt
TwB5nbG0tcClMMesK8L9lJB5AxKHsRtILK8l8xMzsJEj6fRjb8+yrjj8LLK7zUNk
gTQA/sOVR2a4ZARkUlvbgNsE/BBx7NijxFS3uMA91AgsXAniBp4ND6dDwAudQIpW
MqLH4DxJX/6EC2E9ibM5IBB8wguaUWF52oHLGnRAs2JkXzNS/qj6aSepjivSIUzh
gtKKteCpRNexnWq+2pym9OE6tmxW8uoPNUuBxZqOP+laabcn392silZrE0yElh8=
=XHtJ
-END PGP SIGNATURE-
___
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

2011-11-16 Thread FreeBSD Tinderbox
TB --- 2011-11-16 15:30:00 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-16 15:30:00 - starting HEAD tinderbox run for amd64/amd64
TB --- 2011-11-16 15:30:00 - cleaning the object tree
TB --- 2011-11-16 15:31:04 - cvsupping the source tree
TB --- 2011-11-16 15:31:04 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/amd64/amd64/supfile
TB --- 2011-11-16 15:31:16 - building world
TB --- 2011-11-16 15:31:16 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-16 15:31:16 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-16 15:31:16 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-16 15:31:16 - SRCCONF=/dev/null
TB --- 2011-11-16 15:31:16 - TARGET=amd64
TB --- 2011-11-16 15:31:16 - TARGET_ARCH=amd64
TB --- 2011-11-16 15:31:16 - TZ=UTC
TB --- 2011-11-16 15:31:16 - __MAKE_CONF=/dev/null
TB --- 2011-11-16 15:31:16 - cd /src
TB --- 2011-11-16 15:31:16 - /usr/bin/make -B buildworld
 World build started on Wed Nov 16 15:31:17 UTC 2011
 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 Wed Nov 16 18:08:28 UTC 2011
TB --- 2011-11-16 18:08:28 - generating LINT kernel config
TB --- 2011-11-16 18:08:28 - cd /src/sys/amd64/conf
TB --- 2011-11-16 18:08:28 - /usr/bin/make -B LINT
TB --- 2011-11-16 18:08:28 - cd /src/sys/amd64/conf
TB --- 2011-11-16 18:08:28 - /usr/sbin/config -m LINT-NOINET
TB --- 2011-11-16 18:08:28 - building LINT-NOINET kernel
TB --- 2011-11-16 18:08:28 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-16 18:08:28 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-16 18:08:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-16 18:08:28 - SRCCONF=/dev/null
TB --- 2011-11-16 18:08:28 - TARGET=amd64
TB --- 2011-11-16 18:08:28 - TARGET_ARCH=amd64
TB --- 2011-11-16 18:08:28 - TZ=UTC
TB --- 2011-11-16 18:08:28 - __MAKE_CONF=/dev/null
TB --- 2011-11-16 18:08:28 - cd /src
TB --- 2011-11-16 18:08:28 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET
 Kernel build for LINT-NOINET started on Wed Nov 16 18:08:28 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc 
 -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -DGPROF 
-falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer 
-mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float  
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/fs/procfs/procfs_type.c
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc 
 -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -DGPROF 
-falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer 
-mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float  
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/fs/pseudofs/pseudofs.c
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc 
 -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -DGPROF 
-falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer 
-mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float  
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/fs/pseudofs/pseudofs_fileno.c
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall 
-Wredundant-decls -Wnested-externs 

Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-16 Thread Robert Millan
2011/11/16 Xin LI delp...@delphij.net:
 Just my $0.02 -- I think we should probably do it in a more
 centralized place -- otherwise in case someone imported some new code,
 they have to do the same defined(__FreeBSD__) ||
 defined(__FreeBSD_kernel__)?

How about something like:

#if defined(__FreeBSD__)  !defined(__FreeBSD_kernel__)
#define __FreeBSD_kernel__
#endif

it can be placed at beginning of each header, then the rest becomes
much simpler.

Note this has the side-effect of defining __FreeBSD_kernel__ on
FreeBSD, which I suspect some people won't be fond of.  An alternative
could be to come up with an ad-hoc macro that means this system is
either FreeBSD or uses the same kernel as FreeBSD and define it where
needed.
___
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: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-16 Thread Warner Losh
Hey Robert,

Thanks for jumping into this.  Sadly, it is a bit of a mess.  Many of the 
multiple BSD flavor support #ifdefs are actually quite stale by now, so they 
should be cleaned up.  That's not something you have to cope with, unless you 
want, but it colors my first reaction :)

My second reaction was why not have

#ifndef __FreeBSD_kernel__
#define __FreeBSD_kernel__ __FreeBSD__
#endif

in sys/param.h and then just change __FreeBSD__ to __FreeBSD_kernel__ in the 
headers that are affected?  But I'm not quite sure what effects that would have 
on your environment.

Thanks for considering the above modification.

Warner

On Nov 16, 2011, at 10:27 AM, Robert Millan wrote:

 Hi!
 
 Out of the kernel headers that are installed in /usr/include/ hierracy, there
 are some which include support multiple operating systems (usually FreeBSD and
 other *BSD flavours).
 
 This patch adds support to detect GNU/kFreeBSD as well.  In all cases, we
 match the same declarations as FreeBSD does (which is to be expected in kernel
 headers, since both systems share the same kernel).
 
 Does it look fine?
 gnu-kfreebsd_headers.diff___
 freebsd-a...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-arch
 To unsubscribe, send any mail to freebsd-arch-unsubscr...@freebsd.org

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


Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-16 Thread Warner Losh

On Nov 16, 2011, at 11:26 AM, Robert Millan wrote:

 2011/11/16 Xin LI delp...@delphij.net:
 Just my $0.02 -- I think we should probably do it in a more
 centralized place -- otherwise in case someone imported some new code,
 they have to do the same defined(__FreeBSD__) ||
 defined(__FreeBSD_kernel__)?
 
 How about something like:
 
 #if defined(__FreeBSD__)  !defined(__FreeBSD_kernel__)
 #define __FreeBSD_kernel__
 #endif
 
 it can be placed at beginning of each header, then the rest becomes
 much simpler.
 
 Note this has the side-effect of defining __FreeBSD_kernel__ on
 FreeBSD, which I suspect some people won't be fond of.  An alternative
 could be to come up with an ad-hoc macro that means this system is
 either FreeBSD or uses the same kernel as FreeBSD and define it where
 needed.

I had a similar suggestion...

Why do you think people wouldn't be fond of the __FreeBSD_kernel__ being 
defined?

Warner

___
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: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-16 Thread Adrian Chadd
.. my suggestion (high level, fluffy) is to try to get
approval/consensus on fixing the immediate problem so things are
consistently horrible, then a second pass to make them consistently
unhorrible.


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


Re: [head tinderbox] failure on amd64/amd64

2011-11-16 Thread Kostik Belousov
On Wed, Nov 16, 2011 at 06:18:59PM +, FreeBSD Tinderbox wrote:
 TB --- 2011-11-16 15:30:00 - tinderbox 2.8 running on 
 freebsd-current.sentex.ca
 TB --- 2011-11-16 15:30:00 - starting HEAD tinderbox run for amd64/amd64
 TB --- 2011-11-16 15:30:00 - cleaning the object tree
 TB --- 2011-11-16 15:31:04 - cvsupping the source tree
 TB --- 2011-11-16 15:31:04 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
 /tinderbox/HEAD/amd64/amd64/supfile
 TB --- 2011-11-16 15:31:16 - building world
 TB --- 2011-11-16 15:31:16 - CROSS_BUILD_TESTING=YES
 TB --- 2011-11-16 15:31:16 - MAKEOBJDIRPREFIX=/obj
 TB --- 2011-11-16 15:31:16 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2011-11-16 15:31:16 - SRCCONF=/dev/null
 TB --- 2011-11-16 15:31:16 - TARGET=amd64
 TB --- 2011-11-16 15:31:16 - TARGET_ARCH=amd64
 TB --- 2011-11-16 15:31:16 - TZ=UTC
 TB --- 2011-11-16 15:31:16 - __MAKE_CONF=/dev/null
 TB --- 2011-11-16 15:31:16 - cd /src
 TB --- 2011-11-16 15:31:16 - /usr/bin/make -B buildworld
  World build started on Wed Nov 16 15:31:17 UTC 2011
  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 Wed Nov 16 18:08:28 UTC 2011
 TB --- 2011-11-16 18:08:28 - generating LINT kernel config
 TB --- 2011-11-16 18:08:28 - cd /src/sys/amd64/conf
 TB --- 2011-11-16 18:08:28 - /usr/bin/make -B LINT
 TB --- 2011-11-16 18:08:28 - cd /src/sys/amd64/conf
 TB --- 2011-11-16 18:08:28 - /usr/sbin/config -m LINT-NOINET
 TB --- 2011-11-16 18:08:28 - building LINT-NOINET kernel
 TB --- 2011-11-16 18:08:28 - CROSS_BUILD_TESTING=YES
 TB --- 2011-11-16 18:08:28 - MAKEOBJDIRPREFIX=/obj
 TB --- 2011-11-16 18:08:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2011-11-16 18:08:28 - SRCCONF=/dev/null
 TB --- 2011-11-16 18:08:28 - TARGET=amd64
 TB --- 2011-11-16 18:08:28 - TARGET_ARCH=amd64
 TB --- 2011-11-16 18:08:28 - TZ=UTC
 TB --- 2011-11-16 18:08:28 - __MAKE_CONF=/dev/null
 TB --- 2011-11-16 18:08:28 - cd /src
 TB --- 2011-11-16 18:08:28 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET
  Kernel build for LINT-NOINET started on Wed Nov 16 18:08:28 UTC 2011
  stage 1: configuring the kernel
  stage 2.1: cleaning up the object tree
  stage 2.2: rebuilding the object tree
  stage 2.3: build tools
  stage 3.1: making dependencies
  stage 3.2: building everything
 [...]
 cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall 
 -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
 -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
 -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option 
 -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL 
 -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
 -finline-limit=8000 --param inline-unit-growth=100 --param 
 large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF 
 -fno-builtin -fno-omit-frame-pointer -mno-sse -mcmodel=kernel -mno-red-zone 
 -mno-mmx -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding 
 -fstack-protector -Werror -pg -mprofiler-epilogue 
 /src/sys/fs/procfs/procfs_type.c
 cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall 
 -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
 -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
 -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option 
 -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL 
 -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
 -finline-limit=8000 --param inline-unit-growth=100 --param 
 large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF 
 -fno-builtin -fno-omit-frame-pointer -mno-sse -mcmodel=kernel -mno-red-zone 
 -mno-mmx -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding 
 -fstack-protector -Werror -pg -mprofiler-epilogue 
 /src/sys/fs/pseudofs/pseudofs.c
 cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall 
 -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
 -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
 -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option 
 -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL 
 -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
 -finline-limit=8000 --param inline-unit-growth=100 --param 
 large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF 
 -fno-builtin -fno-omit-frame-pointer -mno-sse -mcmodel=kernel -mno-red-zone 
 -mno-mmx -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding 
 -fstack-protector -Werror -pg -mprofiler-epilogue 
 

Re: CFT: msk(4) 64bit DMA support

2011-11-16 Thread YongHyeon PYUN
On Thu, May 26, 2011 at 06:40:43PM -0700, YongHyeon PYUN wrote:
 Hi,
 
 Here is a patch that implements 64bit DMA on msk(4). If you use
 msk(4) on a system that has more than 4GB memory, please try the
 patch at the following URL and let me know whether it works or not.
 You need latest msk(4) in HEAD to apply the patch.
 http://people.freebsd.org/~yongari/msk/msk.64bit.dma.diff
 
 Previously msk(4) may have used bounce buffers on systems that have
 more than 4GB memory. You can verify whether msk(4) is using bounce
 buffers by checking the output of sysctl hw.busdma. For instance,
 hw.busdma.zone0.total_bounced counter would increase while network
 operation is in progress.  If patch above works you wouldn't see
 the counter change anymore and it would also enhance network
 performance since it wouldn't have to copy from or to bounce
 buffers.
 

Committed to HEAD(r227582).

 Thanks.
___
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: Stop scheduler on panic

2011-11-16 Thread Fabian Keil
Kostik Belousov kostik...@gmail.com wrote:

 I was tricked into finishing the work by Andrey Gapon, who developed
 the patch to reliably stop other processors on panic.  The patch
 greatly improves the chances of getting dump on panic on SMP host.

I tested the patch trying to get a dump (from the debugger) for
kern/162036, which currently results in the double fault reported in:
http://lists.freebsd.org/pipermail/freebsd-current/2011-September/027766.html

It didn't help, but also didn't make anything worse.

Fabian


signature.asc
Description: PGP signature


[head tinderbox] failure on sparc64/sparc64

2011-11-16 Thread FreeBSD Tinderbox
TB --- 2011-11-16 19:23:31 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-16 19:23:31 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2011-11-16 19:23:31 - cleaning the object tree
TB --- 2011-11-16 19:23:44 - cvsupping the source tree
TB --- 2011-11-16 19:23:44 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/sparc64/sparc64/supfile
TB --- 2011-11-16 19:23:56 - building world
TB --- 2011-11-16 19:23:56 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-16 19:23:56 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-16 19:23:56 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-16 19:23:56 - SRCCONF=/dev/null
TB --- 2011-11-16 19:23:56 - TARGET=sparc64
TB --- 2011-11-16 19:23:56 - TARGET_ARCH=sparc64
TB --- 2011-11-16 19:23:56 - TZ=UTC
TB --- 2011-11-16 19:23:56 - __MAKE_CONF=/dev/null
TB --- 2011-11-16 19:23:56 - cd /src
TB --- 2011-11-16 19:23:56 - /usr/bin/make -B buildworld
 World build started on Wed Nov 16 19:23:57 UTC 2011
 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 Wed Nov 16 20:27:49 UTC 2011
TB --- 2011-11-16 20:27:49 - generating LINT kernel config
TB --- 2011-11-16 20:27:49 - cd /src/sys/sparc64/conf
TB --- 2011-11-16 20:27:49 - /usr/bin/make -B LINT
TB --- 2011-11-16 20:27:49 - cd /src/sys/sparc64/conf
TB --- 2011-11-16 20:27:49 - /usr/sbin/config -m GENERIC
TB --- 2011-11-16 20:27:49 - building GENERIC kernel
TB --- 2011-11-16 20:27:49 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-16 20:27:49 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-16 20:27:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-16 20:27:49 - SRCCONF=/dev/null
TB --- 2011-11-16 20:27:49 - TARGET=sparc64
TB --- 2011-11-16 20:27:49 - TARGET_ARCH=sparc64
TB --- 2011-11-16 20:27:49 - TZ=UTC
TB --- 2011-11-16 20:27:49 - __MAKE_CONF=/dev/null
TB --- 2011-11-16 20:27:49 - cd /src
TB --- 2011-11-16 20:27:49 - /usr/bin/make -B buildkernel KERNCONF=GENERIC
 Kernel build for GENERIC started on Wed Nov 16 20:27:49 UTC 2011
 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
[...]
=== sfxge (all)
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/sparc64.sparc64/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/sparc64.sparc64/src/sys/GENERIC  -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -c 
/src/sys/modules/sfxge/../../dev/sfxge/sfxge.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/sparc64.sparc64/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/sparc64.sparc64/src/sys/GENERIC  -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -c 
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/sparc64.sparc64/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/sparc64.sparc64/src/sys/GENERIC  -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -c 
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c
cc1: warnings being treated as errors
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c: In function 'sfxge_ev_rx':
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c:120: warning: implicit 
declaration of function 'prefetch_read_many'
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c:120: warning: nested extern 
declaration of 

[head tinderbox] failure on powerpc64/powerpc

2011-11-16 Thread FreeBSD Tinderbox
TB --- 2011-11-16 18:54:30 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-16 18:54:30 - starting HEAD tinderbox run for powerpc64/powerpc
TB --- 2011-11-16 18:54:30 - cleaning the object tree
TB --- 2011-11-16 18:54:55 - cvsupping the source tree
TB --- 2011-11-16 18:54:55 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc64/powerpc/supfile
TB --- 2011-11-16 18:55:42 - building world
TB --- 2011-11-16 18:55:42 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-16 18:55:42 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-16 18:55:42 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-16 18:55:42 - SRCCONF=/dev/null
TB --- 2011-11-16 18:55:42 - TARGET=powerpc
TB --- 2011-11-16 18:55:42 - TARGET_ARCH=powerpc64
TB --- 2011-11-16 18:55:42 - TZ=UTC
TB --- 2011-11-16 18:55:42 - __MAKE_CONF=/dev/null
TB --- 2011-11-16 18:55:42 - cd /src
TB --- 2011-11-16 18:55:42 - /usr/bin/make -B buildworld
 World build started on Wed Nov 16 18:55:43 UTC 2011
 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 Wed Nov 16 20:32:23 UTC 2011
TB --- 2011-11-16 20:32:23 - generating LINT kernel config
TB --- 2011-11-16 20:32:23 - cd /src/sys/powerpc/conf
TB --- 2011-11-16 20:32:23 - /usr/bin/make -B LINT
TB --- 2011-11-16 20:32:23 - cd /src/sys/powerpc/conf
TB --- 2011-11-16 20:32:23 - /usr/sbin/config -m GENERIC
TB --- 2011-11-16 20:32:23 - skipping GENERIC kernel
TB --- 2011-11-16 20:32:23 - cd /src/sys/powerpc/conf
TB --- 2011-11-16 20:32:23 - /usr/sbin/config -m GENERIC64
TB --- 2011-11-16 20:32:23 - building GENERIC64 kernel
TB --- 2011-11-16 20:32:23 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-16 20:32:23 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-16 20:32:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-16 20:32:23 - SRCCONF=/dev/null
TB --- 2011-11-16 20:32:23 - TARGET=powerpc
TB --- 2011-11-16 20:32:23 - TARGET_ARCH=powerpc64
TB --- 2011-11-16 20:32:23 - TZ=UTC
TB --- 2011-11-16 20:32:23 - __MAKE_CONF=/dev/null
TB --- 2011-11-16 20:32:23 - cd /src
TB --- 2011-11-16 20:32:23 - /usr/bin/make -B buildkernel KERNCONF=GENERIC64
 Kernel build for GENERIC64 started on Wed Nov 16 20:32:23 UTC 2011
 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
[...]
=== sfxge (all)
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc64/src/sys/GENERIC64/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 -mlongcall 
-fno-omit-frame-pointer -I/obj/powerpc.powerpc64/src/sys/GENERIC64  
-msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector 
-std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option -c /src/sys/modules/sfxge/../../dev/sfxge/sfxge.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc64/src/sys/GENERIC64/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 -mlongcall 
-fno-omit-frame-pointer -I/obj/powerpc.powerpc64/src/sys/GENERIC64  
-msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector 
-std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option -c /src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc64/src/sys/GENERIC64/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 -mlongcall 
-fno-omit-frame-pointer -I/obj/powerpc.powerpc64/src/sys/GENERIC64  
-msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector 
-std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 

Re: Stop scheduler on panic

2011-11-16 Thread Andriy Gapon
on 16/11/2011 21:27 Fabian Keil said the following:
 Kostik Belousov kostik...@gmail.com wrote:
 
 I was tricked into finishing the work by Andrey Gapon, who developed
 the patch to reliably stop other processors on panic.  The patch
 greatly improves the chances of getting dump on panic on SMP host.
 
 I tested the patch trying to get a dump (from the debugger) for
 kern/162036, which currently results in the double fault reported in:
 http://lists.freebsd.org/pipermail/freebsd-current/2011-September/027766.html
 
 It didn't help, but also didn't make anything worse.
 
 Fabian

The mi_switch recursion looks very familiar to me:
mi_switch() at mi_switch+0x270
critical_exit() at critical_exit+0x9b
spinlock_exit() at spinlock_exit+0x17
mi_switch() at mi_switch+0x275
critical_exit() at critical_exit+0x9b
spinlock_exit() at spinlock_exit+0x17
[several pages of the previous three lines skipped]
mi_switch() at mi_switch+0x275
critical_exit() at critical_exit+0x9b
spinlock_exit() at spinlock_exit+0x17
intr_even_schedule_thread() at intr_event_schedule_thread+0xbb
ahci_end_transaction() at ahci_end_transaction+0x398
ahci_ch_intr() at ahci_ch_intr+0x2b5
ahcipoll() at ahcipoll+0x15
xpt_polled_action() at xpt_polled_action+0xf7

In fact I once discussed with jhb this recursion triggered from a different
place.  To quote myself:
avg   spinlock_exit - critical_exit - mi_switch - kdb_switch -
thread_unlock - spinlock_exit - critical_exit - mi_switch - ...
avg   in the kdb context
avg   this issue seems to be triggered by td_owepreempt being true at the time
kdb is entered
avg   and there of course has to be an initial spinlock_exit call somewhere
avg   in my case it's because of usb keyboard
avg   I wonder if it would make sense to clear td_owepreempt right before
calling kdb_switch in mi_switch
avg   instead of in sched_switch()
avg   clearing td_owepreempt seems like a scheduler-independent operation to 
me
avg   or is it better to just skip locking in usb when kdb_active is set
avg   ?

The workaround described above should work in this case.
Another possibility is to pessimize mtx_unlock_spin() implementations to check
SCHEDULER_STOPPED() and to bypass any further actions in that case.  But that
would add unnecessary overhead to the sunny day code paths.

Going further up the stack one can come up with the following proposals:
- check SCHEDULER_STOPPED() swi_sched() and return early
- do not call swi_sched() from xpt_done() if we somehow know that we are in a
polling mode

-- 
Andriy Gapon
___
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] ahci(4) patch

2011-11-16 Thread Maksim Yevmenkin
hello,

would anyone object to the following ahci(4) patch?

==

--- ahci.c.orig 2011-11-16 21:35:26.0 +
+++ ahci.c  2011-11-16 21:35:41.0 +
@@ -500,7 +500,7 @@
for (unit = 0; unit  ctlr-channels; unit++) {
if ((ctlr-ichannels  (1  unit)) == 0)
continue;
-   child = device_add_child(dev, ahcich, -1);
+   child = device_add_child(dev, ahcich, unit);
if (child == NULL)
device_printf(dev, failed to add channel device\n);
else

==

the idea is to have static numbering for ada(4) disks.

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


[head tinderbox] failure on arm/arm

2011-11-16 Thread FreeBSD Tinderbox
TB --- 2011-11-16 20:50:01 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-16 20:50:01 - starting HEAD tinderbox run for arm/arm
TB --- 2011-11-16 20:50:01 - cleaning the object tree
TB --- 2011-11-16 20:50:27 - cvsupping the source tree
TB --- 2011-11-16 20:50:27 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/arm/arm/supfile
TB --- 2011-11-16 20:50:52 - building world
TB --- 2011-11-16 20:50:52 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-16 20:50:52 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-16 20:50:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-16 20:50:52 - SRCCONF=/dev/null
TB --- 2011-11-16 20:50:52 - TARGET=arm
TB --- 2011-11-16 20:50:52 - TARGET_ARCH=arm
TB --- 2011-11-16 20:50:52 - TZ=UTC
TB --- 2011-11-16 20:50:52 - __MAKE_CONF=/dev/null
TB --- 2011-11-16 20:50:52 - cd /src
TB --- 2011-11-16 20:50:52 - /usr/bin/make -B buildworld
 World build started on Wed Nov 16 20:50:52 UTC 2011
 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 Wed Nov 16 21:45:02 UTC 2011
TB --- 2011-11-16 21:45:02 - cd /src/sys/arm/conf
TB --- 2011-11-16 21:45:02 - /usr/sbin/config -m AVILA
TB --- 2011-11-16 21:45:02 - building AVILA kernel
TB --- 2011-11-16 21:45:02 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-16 21:45:02 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-16 21:45:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-16 21:45:02 - SRCCONF=/dev/null
TB --- 2011-11-16 21:45:02 - TARGET=arm
TB --- 2011-11-16 21:45:02 - TARGET_ARCH=arm
TB --- 2011-11-16 21:45:02 - TZ=UTC
TB --- 2011-11-16 21:45:02 - __MAKE_CONF=/dev/null
TB --- 2011-11-16 21:45:02 - cd /src
TB --- 2011-11-16 21:45:02 - /usr/bin/make -B buildkernel KERNCONF=AVILA
 Kernel build for AVILA started on Wed Nov 16 21:45:03 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 Kernel build for AVILA completed on Wed Nov 16 21:48:33 UTC 2011
TB --- 2011-11-16 21:48:33 - cd /src/sys/arm/conf
TB --- 2011-11-16 21:48:33 - /usr/sbin/config -m BWCT
TB --- 2011-11-16 21:48:33 - building BWCT kernel
TB --- 2011-11-16 21:48:33 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-16 21:48:33 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-16 21:48:33 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-16 21:48:33 - SRCCONF=/dev/null
TB --- 2011-11-16 21:48:33 - TARGET=arm
TB --- 2011-11-16 21:48:33 - TARGET_ARCH=arm
TB --- 2011-11-16 21:48:33 - TZ=UTC
TB --- 2011-11-16 21:48:33 - __MAKE_CONF=/dev/null
TB --- 2011-11-16 21:48:33 - cd /src
TB --- 2011-11-16 21:48:33 - /usr/bin/make -B buildkernel KERNCONF=BWCT
 Kernel build for BWCT started on Wed Nov 16 21:48:33 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 Kernel build for BWCT completed on Wed Nov 16 21:50:40 UTC 2011
TB --- 2011-11-16 21:50:40 - cd /src/sys/arm/conf
TB --- 2011-11-16 21:50:40 - /usr/sbin/config -m CAMBRIA
TB --- 2011-11-16 21:50:41 - building CAMBRIA kernel
TB --- 2011-11-16 21:50:41 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-16 21:50:41 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-16 21:50:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-16 21:50:41 - SRCCONF=/dev/null
TB --- 2011-11-16 21:50:41 - TARGET=arm
TB --- 2011-11-16 21:50:41 - TARGET_ARCH=arm
TB --- 2011-11-16 21:50:41 - TZ=UTC
TB --- 2011-11-16 21:50:41 - __MAKE_CONF=/dev/null
TB --- 2011-11-16 21:50:41 - cd /src
TB --- 2011-11-16 21:50:41 - /usr/bin/make -B buildkernel KERNCONF=CAMBRIA
 Kernel build for CAMBRIA started on Wed Nov 16 21:50:41 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 Kernel build for CAMBRIA completed on Wed Nov 16 21:53:37 UTC 2011
TB --- 2011-11-16 21:53:37 - cd /src/sys/arm/conf
TB --- 2011-11-16 21:53:37 - /usr/sbin/config -m CNS11XXNAS
TB --- 2011-11-16 21:53:42 - building CNS11XXNAS kernel
TB --- 2011-11-16 21:53:42 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-16 21:53:42 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-16 21:53:42 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-16 21:53:42 - SRCCONF=/dev/null
TB --- 2011-11-16 21:53:42 - TARGET=arm
TB --- 2011-11-16 21:53:42 - TARGET_ARCH=arm
TB --- 2011-11-16 21:53:42 - TZ=UTC
TB --- 2011-11-16 21:53:42 - __MAKE_CONF=/dev/null
TB --- 2011-11-16 21:53:42 - cd /src
TB --- 2011-11-16 21:53:42 - /usr/bin/make -B buildkernel KERNCONF=CNS11XXNAS
 Kernel build 

Re: [RFC] ahci(4) patch

2011-11-16 Thread Alexander Motin

Hi.

On 16.11.2011 23:59, Maksim Yevmenkin wrote:

would anyone object to the following ahci(4) patch?

==

--- ahci.c.orig 2011-11-16 21:35:26.0 +
+++ ahci.c  2011-11-16 21:35:41.0 +
@@ -500,7 +500,7 @@
for (unit = 0; unit  ctlr-channels; unit++) {
if ((ctlr-ichannels  (1  unit)) == 0)
continue;
-   child = device_add_child(dev, ahcich, -1);
+   child = device_add_child(dev, ahcich, unit);
if (child == NULL)
device_printf(dev, failed to add channel device\n);
else

==

the idea is to have static numbering for ada(4) disks.


I do. The only way I see this useful is if you have BIOS configured for 
non-hot-swappable disks, in which case you have some AHCI channels 
disabled, but want to keep numbers of the rest. While I don't like this 
mode in general, especially when it can't be disabled, that patch could 
be useful in these cases. But in other cases, when you have several AHCI 
controllers, it just wont not work. You will receive error on attempt to 
create second ahcich0.


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


Re: [RFC] ahci(4) patch

2011-11-16 Thread Maksim Yevmenkin
On Wed, Nov 16, 2011 at 2:35 PM, Alexander Motin m...@freebsd.org wrote:
 Hi.

 On 16.11.2011 23:59, Maksim Yevmenkin wrote:

 would anyone object to the following ahci(4) patch?

 ==

 --- ahci.c.orig 2011-11-16 21:35:26.0 +
 +++ ahci.c      2011-11-16 21:35:41.0 +
 @@ -500,7 +500,7 @@
        for (unit = 0; unit  ctlr-channels; unit++) {
                if ((ctlr-ichannels  (1  unit)) == 0)
                        continue;
 -               child = device_add_child(dev, ahcich, -1);
 +               child = device_add_child(dev, ahcich, unit);
                if (child == NULL)
                        device_printf(dev, failed to add channel
 device\n);
                else

 ==

 the idea is to have static numbering for ada(4) disks.

 I do. The only way I see this useful is if you have BIOS configured for
 non-hot-swappable disks, in which case you have some AHCI channels disabled,
 but want to keep numbers of the rest. While I don't like this mode in
 general, especially when it can't be disabled, that patch could be useful in
 these cases. But in other cases, when you have several AHCI controllers, it
 just wont not work. You will receive error on attempt to create second
 ahcich0.

shouldn't achcichX be destroyed when disk is detached/removed/etc.?
the particular problem i'm trying to address is disk re-numbering when
one of the disks fails/removed/etc. i'm trying to use hints to wire
disks to controllers/busses. it works perfectly fine with da(4) disks
(even hot swappable ones) , but i can not make it to work with ada(4)
disks. i'm perfectly fine to hid this under some sort of option
(something similar to ATA_STATIC_ID, AHCI_STATIC_ID for example)

thanks,
max
___
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: [RFC] ahci(4) patch

2011-11-16 Thread Alexander Motin

On 17.11.2011 00:44, Maksim Yevmenkin wrote:

On Wed, Nov 16, 2011 at 2:35 PM, Alexander Motinm...@freebsd.org  wrote:

On 16.11.2011 23:59, Maksim Yevmenkin wrote:


would anyone object to the following ahci(4) patch?

==

--- ahci.c.orig 2011-11-16 21:35:26.0 +
+++ ahci.c  2011-11-16 21:35:41.0 +
@@ -500,7 +500,7 @@
for (unit = 0; unitctlr-channels; unit++) {
if ((ctlr-ichannels(1unit)) == 0)
continue;
-   child = device_add_child(dev, ahcich, -1);
+   child = device_add_child(dev, ahcich, unit);
if (child == NULL)
device_printf(dev, failed to add channel
device\n);
else

==

the idea is to have static numbering for ada(4) disks.


I do. The only way I see this useful is if you have BIOS configured for
non-hot-swappable disks, in which case you have some AHCI channels disabled,
but want to keep numbers of the rest. While I don't like this mode in
general, especially when it can't be disabled, that patch could be useful in
these cases. But in other cases, when you have several AHCI controllers, it
just wont not work. You will receive error on attempt to create second
ahcich0.


shouldn't achcichX be destroyed when disk is detached/removed/etc.?


List of implemented AHCI channels to expose as ahcichX set by BIOS in 
vendor-specific way, but only during boot and not by many BIOSes. 
Destroying them on disk detach theoretically possible, but IMHO not 
right, as bus doesn't disappear on disk disconnect.



the particular problem i'm trying to address is disk re-numbering when
one of the disks fails/removed/etc. i'm trying to use hints to wire
disks to controllers/busses. it works perfectly fine with da(4) disks
(even hot swappable ones) , but i can not make it to work with ada(4)
disks. i'm perfectly fine to hid this under some sort of option
(something similar to ATA_STATIC_ID, AHCI_STATIC_ID for example)


Wiring works for adaX also, unless your BIOS is so intelligent to 
report unconnected ports and not impliemented.. You should just wire CAM 
buses to ahcichX, not to ahciX. It could be done in other way changing 
just by one line around xpt_bus_register(), but now it is done so.


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


Re: Stop scheduler on panic

2011-11-16 Thread Alexander Motin

On 17.11.2011 00:21, Andriy Gapon wrote:

on 16/11/2011 21:27 Fabian Keil said the following:

Kostik Belousovkostik...@gmail.com  wrote:


I was tricked into finishing the work by Andrey Gapon, who developed
the patch to reliably stop other processors on panic.  The patch
greatly improves the chances of getting dump on panic on SMP host.


I tested the patch trying to get a dump (from the debugger) for
kern/162036, which currently results in the double fault reported in:
http://lists.freebsd.org/pipermail/freebsd-current/2011-September/027766.html

It didn't help, but also didn't make anything worse.

Fabian


The mi_switch recursion looks very familiar to me:
mi_switch() at mi_switch+0x270
critical_exit() at critical_exit+0x9b
spinlock_exit() at spinlock_exit+0x17
mi_switch() at mi_switch+0x275
critical_exit() at critical_exit+0x9b
spinlock_exit() at spinlock_exit+0x17
[several pages of the previous three lines skipped]
mi_switch() at mi_switch+0x275
critical_exit() at critical_exit+0x9b
spinlock_exit() at spinlock_exit+0x17
intr_even_schedule_thread() at intr_event_schedule_thread+0xbb
ahci_end_transaction() at ahci_end_transaction+0x398
ahci_ch_intr() at ahci_ch_intr+0x2b5
ahcipoll() at ahcipoll+0x15
xpt_polled_action() at xpt_polled_action+0xf7

In fact I once discussed with jhb this recursion triggered from a different
place.  To quote myself:
avgspinlock_exit -  critical_exit -  mi_switch -  kdb_switch -
thread_unlock -  spinlock_exit -  critical_exit -  mi_switch -  ...
avgin the kdb context
avgthis issue seems to be triggered by td_owepreempt being true at the 
time
kdb is entered
avgand there of course has to be an initial spinlock_exit call somewhere
avgin my case it's because of usb keyboard
avgI wonder if it would make sense to clear td_owepreempt right before
calling kdb_switch in mi_switch
avginstead of in sched_switch()
avgclearing td_owepreempt seems like a scheduler-independent operation to 
me
avgor is it better to just skip locking in usb when kdb_active is set
avg?

The workaround described above should work in this case.
Another possibility is to pessimize mtx_unlock_spin() implementations to check
SCHEDULER_STOPPED() and to bypass any further actions in that case.  But that
would add unnecessary overhead to the sunny day code paths.

Going further up the stack one can come up with the following proposals:
- check SCHEDULER_STOPPED() swi_sched() and return early
- do not call swi_sched() from xpt_done() if we somehow know that we are in a
polling mode


There is no flag in CAM now to indicate polling mode, but if needed, it 
should not be difficult to add one and not call swi_sched().


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


Re: [RFC] ahci(4) patch

2011-11-16 Thread Maksim Yevmenkin
On Wed, Nov 16, 2011 at 2:59 PM, Alexander Motin m...@freebsd.org wrote:
 On 17.11.2011 00:44, Maksim Yevmenkin wrote:

 On Wed, Nov 16, 2011 at 2:35 PM, Alexander Motinm...@freebsd.org  wrote:

 On 16.11.2011 23:59, Maksim Yevmenkin wrote:

 would anyone object to the following ahci(4) patch?

 ==

 --- ahci.c.orig 2011-11-16 21:35:26.0 +
 +++ ahci.c      2011-11-16 21:35:41.0 +
 @@ -500,7 +500,7 @@
        for (unit = 0; unit    ctlr-channels; unit++) {
                if ((ctlr-ichannels    (1    unit)) == 0)
                        continue;
 -               child = device_add_child(dev, ahcich, -1);
 +               child = device_add_child(dev, ahcich, unit);
                if (child == NULL)
                        device_printf(dev, failed to add channel
 device\n);
                else

 ==

 the idea is to have static numbering for ada(4) disks.

 I do. The only way I see this useful is if you have BIOS configured for
 non-hot-swappable disks, in which case you have some AHCI channels
 disabled,
 but want to keep numbers of the rest. While I don't like this mode in
 general, especially when it can't be disabled, that patch could be useful
 in
 these cases. But in other cases, when you have several AHCI controllers,
 it
 just wont not work. You will receive error on attempt to create second
 ahcich0.

 shouldn't achcichX be destroyed when disk is detached/removed/etc.?

 List of implemented AHCI channels to expose as ahcichX set by BIOS in
 vendor-specific way, but only during boot and not by many BIOSes. Destroying
 them on disk detach theoretically possible, but IMHO not right, as bus
 doesn't disappear on disk disconnect.

 the particular problem i'm trying to address is disk re-numbering when
 one of the disks fails/removed/etc. i'm trying to use hints to wire
 disks to controllers/busses. it works perfectly fine with da(4) disks
 (even hot swappable ones) , but i can not make it to work with ada(4)
 disks. i'm perfectly fine to hid this under some sort of option
 (something similar to ATA_STATIC_ID, AHCI_STATIC_ID for example)

 Wiring works for adaX also, unless your BIOS is so intelligent to report
 unconnected ports and not impliemented.. You should just wire CAM buses to
 ahcichX, not to ahciX. It could be done in other way changing just by one
 line around xpt_bus_register(), but now it is done so.

ok. then i must be missing something, here is what i have in device.hints

hint.scbus.0.at=umass-sim0
hint.scbus.1.at=ahcich0
hint.scbus.2.at=ahcich1
hint.scbus.3.at=ahcich2
hint.scbus.4.at=ahcich3
hint.scbus.5.at=ahcich4
hint.scbus.6.at=ahcich5

hint.da.0.at=scbus0
hint.ada.0.at=scbus1
hint.ada.1.at=scbus2
hint.ada.2.at=scbus3
hint.ada.3.at=scbus4
hint.ada.4.at=scbus5
hint.ada.5.at=scbus6

this is for 6-port ahci(4) compatible controller (intel) on the
motherboard. no matter which achi(4) ports are connected, resulted
adaX devices are always sequential starting from ada0. so, the
question is: what am i doing wrong here?

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


[head tinderbox] failure on i386/pc98

2011-11-16 Thread FreeBSD Tinderbox
TB --- 2011-11-16 20:50:01 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-16 20:50:01 - starting HEAD tinderbox run for i386/pc98
TB --- 2011-11-16 20:50:01 - cleaning the object tree
TB --- 2011-11-16 20:50:23 - cvsupping the source tree
TB --- 2011-11-16 20:50:23 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/pc98/supfile
TB --- 2011-11-16 20:50:52 - building world
TB --- 2011-11-16 20:50:52 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-16 20:50:52 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-16 20:50:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-16 20:50:52 - SRCCONF=/dev/null
TB --- 2011-11-16 20:50:52 - TARGET=pc98
TB --- 2011-11-16 20:50:52 - TARGET_ARCH=i386
TB --- 2011-11-16 20:50:52 - TZ=UTC
TB --- 2011-11-16 20:50:52 - __MAKE_CONF=/dev/null
TB --- 2011-11-16 20:50:52 - cd /src
TB --- 2011-11-16 20:50:52 - /usr/bin/make -B buildworld
 World build started on Wed Nov 16 20:50:52 UTC 2011
 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 Wed Nov 16 22:59:15 UTC 2011
TB --- 2011-11-16 22:59:15 - generating LINT kernel config
TB --- 2011-11-16 22:59:15 - cd /src/sys/pc98/conf
TB --- 2011-11-16 22:59:15 - /usr/bin/make -B LINT
TB --- 2011-11-16 22:59:15 - cd /src/sys/pc98/conf
TB --- 2011-11-16 22:59:15 - /usr/sbin/config -m GENERIC
TB --- 2011-11-16 22:59:15 - building GENERIC kernel
TB --- 2011-11-16 22:59:15 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-16 22:59:15 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-16 22:59:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-16 22:59:15 - SRCCONF=/dev/null
TB --- 2011-11-16 22:59:15 - TARGET=pc98
TB --- 2011-11-16 22:59:15 - TARGET_ARCH=i386
TB --- 2011-11-16 22:59:15 - TZ=UTC
TB --- 2011-11-16 22:59:15 - __MAKE_CONF=/dev/null
TB --- 2011-11-16 22:59:15 - cd /src
TB --- 2011-11-16 22:59:15 - /usr/bin/make -B buildkernel KERNCONF=GENERIC
 Kernel build for GENERIC started on Wed Nov 16 22:59:15 UTC 2011
 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
[...]
objcopy --only-keep-debug if_sf.ko.debug if_sf.ko.symbols
objcopy --strip-debug --add-gnu-debuglink=if_sf.ko.symbols if_sf.ko.debug 
if_sf.ko
=== sfxge (all)
cc -O2 -pipe -DPC98 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE 
-nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/pc98.i386/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/pc98.i386/src/sys/GENERIC  -mno-align-long-strings 
-mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding 
-fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option -c 
/src/sys/modules/sfxge/../../dev/sfxge/sfxge.c
cc -O2 -pipe -DPC98 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE 
-nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/pc98.i386/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/pc98.i386/src/sys/GENERIC  -mno-align-long-strings 
-mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding 
-fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option -c 
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c
cc1: warnings being treated as errors
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c: In function 
'sfxge_dma_alloc':
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c:138: warning: large integer 
implicitly truncated to unsigned type [-Woverflow]
*** Error code 1

Stop in /src/sys/modules/sfxge.
*** Error code 1

Stop in /src/sys/modules.
*** Error code 1

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

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-11-16 23:14:46 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-11-16 23:14:46 - ERROR: failed to build GENERIC kernel
TB --- 2011-11-16 23:14:46 - 6931.77 user 1218.14 system 8685.56 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-pc98.full
___
freebsd-current@freebsd.org mailing list

[head tinderbox] failure on i386/i386

2011-11-16 Thread FreeBSD Tinderbox
TB --- 2011-11-16 20:50:01 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-16 20:50:01 - starting HEAD tinderbox run for i386/i386
TB --- 2011-11-16 20:50:01 - cleaning the object tree
TB --- 2011-11-16 20:50:43 - cvsupping the source tree
TB --- 2011-11-16 20:50:43 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/i386/supfile
TB --- 2011-11-16 20:56:06 - building world
TB --- 2011-11-16 20:56:06 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-16 20:56:06 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-16 20:56:06 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-16 20:56:06 - SRCCONF=/dev/null
TB --- 2011-11-16 20:56:06 - TARGET=i386
TB --- 2011-11-16 20:56:06 - TARGET_ARCH=i386
TB --- 2011-11-16 20:56:06 - TZ=UTC
TB --- 2011-11-16 20:56:06 - __MAKE_CONF=/dev/null
TB --- 2011-11-16 20:56:06 - cd /src
TB --- 2011-11-16 20:56:06 - /usr/bin/make -B buildworld
 World build started on Wed Nov 16 20:56:07 UTC 2011
 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 Wed Nov 16 23:05:52 UTC 2011
TB --- 2011-11-16 23:05:52 - generating LINT kernel config
TB --- 2011-11-16 23:05:52 - cd /src/sys/i386/conf
TB --- 2011-11-16 23:05:52 - /usr/bin/make -B LINT
TB --- 2011-11-16 23:05:52 - cd /src/sys/i386/conf
TB --- 2011-11-16 23:05:52 - /usr/sbin/config -m LINT-NOINET
TB --- 2011-11-16 23:05:52 - building LINT-NOINET kernel
TB --- 2011-11-16 23:05:52 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-16 23:05:52 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-16 23:05:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-16 23:05:52 - SRCCONF=/dev/null
TB --- 2011-11-16 23:05:52 - TARGET=i386
TB --- 2011-11-16 23:05:52 - TARGET_ARCH=i386
TB --- 2011-11-16 23:05:52 - TZ=UTC
TB --- 2011-11-16 23:05:52 - __MAKE_CONF=/dev/null
TB --- 2011-11-16 23:05:52 - cd /src
TB --- 2011-11-16 23:05:52 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET
 Kernel build for LINT-NOINET started on Wed Nov 16 23:05:52 UTC 2011
 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
[...]
ld -Bshareable  -d -warn-common -o if_sf.ko if_sf.kld
objcopy --strip-debug if_sf.ko
=== sfxge (all)
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/i386.i386/src/sys/LINT-NOINET/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/i386.i386/src/sys/LINT-NOINET -fno-builtin -mno-align-long-strings 
-mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding 
-fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option -c 
/src/sys/modules/sfxge/../../dev/sfxge/sfxge.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/i386.i386/src/sys/LINT-NOINET/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/i386.i386/src/sys/LINT-NOINET -fno-builtin -mno-align-long-strings 
-mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding 
-fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option -c 
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c
cc1: warnings being treated as errors
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c: In function 
'sfxge_dma_alloc':
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c:138: warning: large integer 
implicitly truncated to unsigned type [-Woverflow]
*** Error code 1

Stop in /src/sys/modules/sfxge.
*** Error code 1

Stop in /src/sys/modules.
*** Error code 1

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

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-11-16 23:32:17 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-11-16 23:32:17 - ERROR: failed to build LINT-NOINET kernel
TB --- 2011-11-16 23:32:17 - 7520.59 user 1272.23 system 9736.88 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-i386.full
___
freebsd-current@freebsd.org mailing list

[head tinderbox] failure on ia64/ia64

2011-11-16 Thread FreeBSD Tinderbox
TB --- 2011-11-16 22:33:50 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-16 22:33:50 - starting HEAD tinderbox run for ia64/ia64
TB --- 2011-11-16 22:33:50 - cleaning the object tree
TB --- 2011-11-16 22:34:03 - cvsupping the source tree
TB --- 2011-11-16 22:34:03 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/ia64/ia64/supfile
TB --- 2011-11-16 22:34:16 - building world
TB --- 2011-11-16 22:34:16 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-16 22:34:16 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-16 22:34:16 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-16 22:34:16 - SRCCONF=/dev/null
TB --- 2011-11-16 22:34:16 - TARGET=ia64
TB --- 2011-11-16 22:34:16 - TARGET_ARCH=ia64
TB --- 2011-11-16 22:34:16 - TZ=UTC
TB --- 2011-11-16 22:34:16 - __MAKE_CONF=/dev/null
TB --- 2011-11-16 22:34:16 - cd /src
TB --- 2011-11-16 22:34:16 - /usr/bin/make -B buildworld
 World build started on Wed Nov 16 22:34:16 UTC 2011
 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 Thu Nov 17 00:03:02 UTC 2011
TB --- 2011-11-17 00:03:02 - generating LINT kernel config
TB --- 2011-11-17 00:03:02 - cd /src/sys/ia64/conf
TB --- 2011-11-17 00:03:02 - /usr/bin/make -B LINT
TB --- 2011-11-17 00:03:02 - cd /src/sys/ia64/conf
TB --- 2011-11-17 00:03:02 - /usr/sbin/config -m GENERIC
TB --- 2011-11-17 00:03:02 - building GENERIC kernel
TB --- 2011-11-17 00:03:02 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 00:03:02 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 00:03:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 00:03:02 - SRCCONF=/dev/null
TB --- 2011-11-17 00:03:02 - TARGET=ia64
TB --- 2011-11-17 00:03:02 - TARGET_ARCH=ia64
TB --- 2011-11-17 00:03:02 - TZ=UTC
TB --- 2011-11-17 00:03:02 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 00:03:02 - cd /src
TB --- 2011-11-17 00:03:02 - /usr/bin/make -B buildkernel KERNCONF=GENERIC
 Kernel build for GENERIC started on Thu Nov 17 00:03:02 UTC 2011
 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
[...]
=== sfxge (all)
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/ia64.ia64/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/ia64.ia64/src/sys/GENERIC  -ffixed-r13 -mfixed-range=f32-f127 -fpic 
-ffreestanding -std=iso9899:1999 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option -c /src/sys/modules/sfxge/../../dev/sfxge/sfxge.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/ia64.ia64/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/ia64.ia64/src/sys/GENERIC  -ffixed-r13 -mfixed-range=f32-f127 -fpic 
-ffreestanding -std=iso9899:1999 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option -c /src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/ia64.ia64/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/ia64.ia64/src/sys/GENERIC  -ffixed-r13 -mfixed-range=f32-f127 -fpic 
-ffreestanding -std=iso9899:1999 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option -c /src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c
cc1: warnings being treated as errors
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c: In function 'sfxge_ev_rx':
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c:120: warning: implicit 
declaration of function 'prefetch_read_many'
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c:120: warning: nested extern 
declaration of 'prefetch_read_many' [-Wnested-externs]
*** Error code 1

Stop in /src/sys/modules/sfxge.
*** Error code 1

Stop in /src/sys/modules.
*** Error 

[head tinderbox] failure on sparc64/sparc64

2011-11-16 Thread FreeBSD Tinderbox
TB --- 2011-11-17 00:22:26 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-17 00:22:26 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2011-11-17 00:22:26 - cleaning the object tree
TB --- 2011-11-17 00:22:35 - cvsupping the source tree
TB --- 2011-11-17 00:22:35 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/sparc64/sparc64/supfile
TB --- 2011-11-17 00:22:46 - building world
TB --- 2011-11-17 00:22:46 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 00:22:46 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 00:22:46 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 00:22:46 - SRCCONF=/dev/null
TB --- 2011-11-17 00:22:46 - TARGET=sparc64
TB --- 2011-11-17 00:22:46 - TARGET_ARCH=sparc64
TB --- 2011-11-17 00:22:46 - TZ=UTC
TB --- 2011-11-17 00:22:46 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 00:22:46 - cd /src
TB --- 2011-11-17 00:22:46 - /usr/bin/make -B buildworld
 World build started on Thu Nov 17 00:22:47 UTC 2011
 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 Thu Nov 17 01:29:06 UTC 2011
TB --- 2011-11-17 01:29:06 - generating LINT kernel config
TB --- 2011-11-17 01:29:06 - cd /src/sys/sparc64/conf
TB --- 2011-11-17 01:29:06 - /usr/bin/make -B LINT
TB --- 2011-11-17 01:29:06 - cd /src/sys/sparc64/conf
TB --- 2011-11-17 01:29:06 - /usr/sbin/config -m GENERIC
TB --- 2011-11-17 01:29:06 - building GENERIC kernel
TB --- 2011-11-17 01:29:06 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 01:29:06 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 01:29:06 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 01:29:06 - SRCCONF=/dev/null
TB --- 2011-11-17 01:29:06 - TARGET=sparc64
TB --- 2011-11-17 01:29:06 - TARGET_ARCH=sparc64
TB --- 2011-11-17 01:29:06 - TZ=UTC
TB --- 2011-11-17 01:29:06 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 01:29:06 - cd /src
TB --- 2011-11-17 01:29:06 - /usr/bin/make -B buildkernel KERNCONF=GENERIC
 Kernel build for GENERIC started on Thu Nov 17 01:29:06 UTC 2011
 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
[...]
=== sfxge (all)
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/sparc64.sparc64/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/sparc64.sparc64/src/sys/GENERIC  -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -c 
/src/sys/modules/sfxge/../../dev/sfxge/sfxge.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/sparc64.sparc64/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/sparc64.sparc64/src/sys/GENERIC  -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -c 
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/sparc64.sparc64/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/sparc64.sparc64/src/sys/GENERIC  -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -c 
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c
cc1: warnings being treated as errors
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c: In function 'sfxge_ev_rx':
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c:120: warning: implicit 
declaration of function 'prefetch_read_many'
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c:120: warning: nested extern 
declaration of 

[head tinderbox] failure on powerpc/powerpc

2011-11-16 Thread FreeBSD Tinderbox
TB --- 2011-11-16 23:32:18 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-16 23:32:18 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2011-11-16 23:32:18 - cleaning the object tree
TB --- 2011-11-16 23:32:32 - cvsupping the source tree
TB --- 2011-11-16 23:32:32 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc/powerpc/supfile
TB --- 2011-11-16 23:32:45 - building world
TB --- 2011-11-16 23:32:45 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-16 23:32:45 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-16 23:32:45 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-16 23:32:45 - SRCCONF=/dev/null
TB --- 2011-11-16 23:32:45 - TARGET=powerpc
TB --- 2011-11-16 23:32:45 - TARGET_ARCH=powerpc
TB --- 2011-11-16 23:32:45 - TZ=UTC
TB --- 2011-11-16 23:32:45 - __MAKE_CONF=/dev/null
TB --- 2011-11-16 23:32:45 - cd /src
TB --- 2011-11-16 23:32:45 - /usr/bin/make -B buildworld
 World build started on Wed Nov 16 23:32:45 UTC 2011
 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 Thu Nov 17 01:34:24 UTC 2011
TB --- 2011-11-17 01:34:24 - generating LINT kernel config
TB --- 2011-11-17 01:34:24 - cd /src/sys/powerpc/conf
TB --- 2011-11-17 01:34:24 - /usr/bin/make -B LINT
TB --- 2011-11-17 01:34:24 - cd /src/sys/powerpc/conf
TB --- 2011-11-17 01:34:24 - /usr/sbin/config -m GENERIC
TB --- 2011-11-17 01:34:24 - building GENERIC kernel
TB --- 2011-11-17 01:34:24 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 01:34:24 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 01:34:24 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 01:34:24 - SRCCONF=/dev/null
TB --- 2011-11-17 01:34:24 - TARGET=powerpc
TB --- 2011-11-17 01:34:24 - TARGET_ARCH=powerpc
TB --- 2011-11-17 01:34:24 - TZ=UTC
TB --- 2011-11-17 01:34:24 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 01:34:24 - cd /src
TB --- 2011-11-17 01:34:24 - /usr/bin/make -B buildkernel KERNCONF=GENERIC
 Kernel build for GENERIC started on Thu Nov 17 01:34:24 UTC 2011
 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
[...]
objcopy --only-keep-debug if_sf.ko.debug if_sf.ko.symbols
objcopy --strip-debug --add-gnu-debuglink=if_sf.ko.symbols if_sf.ko.debug 
if_sf.ko
=== sfxge (all)
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 -mlongcall 
-fno-omit-frame-pointer -I/obj/powerpc.powerpc/src/sys/GENERIC  -msoft-float 
-mno-altivec -ffreestanding -fstack-protector -std=iso9899:1999 
-fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option -c /src/sys/modules/sfxge/../../dev/sfxge/sfxge.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 -mlongcall 
-fno-omit-frame-pointer -I/obj/powerpc.powerpc/src/sys/GENERIC  -msoft-float 
-mno-altivec -ffreestanding -fstack-protector -std=iso9899:1999 
-fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option -c /src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c
cc1: warnings being treated as errors
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c: In function 
'sfxge_dma_alloc':
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c:138: warning: large integer 
implicitly truncated to unsigned type [-Woverflow]
*** Error code 1

Stop in /src/sys/modules/sfxge.
*** Error code 1

Stop in /src/sys/modules.
*** Error code 1

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

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-11-17 01:47:57 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-11-17 01:47:57 - ERROR: failed to build GENERIC kernel
TB --- 2011-11-17 01:47:57 - 6523.34 user 1118.18 system 8139.15 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full
___
freebsd-current@freebsd.org mailing 

[head tinderbox] failure on powerpc64/powerpc

2011-11-16 Thread FreeBSD Tinderbox
TB --- 2011-11-17 00:14:43 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-17 00:14:43 - starting HEAD tinderbox run for powerpc64/powerpc
TB --- 2011-11-17 00:14:43 - cleaning the object tree
TB --- 2011-11-17 00:15:00 - cvsupping the source tree
TB --- 2011-11-17 00:15:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc64/powerpc/supfile
TB --- 2011-11-17 00:15:12 - building world
TB --- 2011-11-17 00:15:12 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 00:15:12 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 00:15:12 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 00:15:12 - SRCCONF=/dev/null
TB --- 2011-11-17 00:15:12 - TARGET=powerpc
TB --- 2011-11-17 00:15:12 - TARGET_ARCH=powerpc64
TB --- 2011-11-17 00:15:12 - TZ=UTC
TB --- 2011-11-17 00:15:12 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 00:15:12 - cd /src
TB --- 2011-11-17 00:15:12 - /usr/bin/make -B buildworld
 World build started on Thu Nov 17 00:15:13 UTC 2011
 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 Nov 17 01:54:40 UTC 2011
TB --- 2011-11-17 01:54:40 - generating LINT kernel config
TB --- 2011-11-17 01:54:40 - cd /src/sys/powerpc/conf
TB --- 2011-11-17 01:54:40 - /usr/bin/make -B LINT
TB --- 2011-11-17 01:54:40 - cd /src/sys/powerpc/conf
TB --- 2011-11-17 01:54:40 - /usr/sbin/config -m GENERIC
TB --- 2011-11-17 01:54:40 - skipping GENERIC kernel
TB --- 2011-11-17 01:54:40 - cd /src/sys/powerpc/conf
TB --- 2011-11-17 01:54:40 - /usr/sbin/config -m GENERIC64
TB --- 2011-11-17 01:54:40 - building GENERIC64 kernel
TB --- 2011-11-17 01:54:40 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 01:54:40 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 01:54:40 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 01:54:40 - SRCCONF=/dev/null
TB --- 2011-11-17 01:54:40 - TARGET=powerpc
TB --- 2011-11-17 01:54:40 - TARGET_ARCH=powerpc64
TB --- 2011-11-17 01:54:40 - TZ=UTC
TB --- 2011-11-17 01:54:40 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 01:54:40 - cd /src
TB --- 2011-11-17 01:54:40 - /usr/bin/make -B buildkernel KERNCONF=GENERIC64
 Kernel build for GENERIC64 started on Thu Nov 17 01:54:40 UTC 2011
 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
[...]
=== sfxge (all)
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc64/src/sys/GENERIC64/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 -mlongcall 
-fno-omit-frame-pointer -I/obj/powerpc.powerpc64/src/sys/GENERIC64  
-msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector 
-std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option -c /src/sys/modules/sfxge/../../dev/sfxge/sfxge.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc64/src/sys/GENERIC64/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 -mlongcall 
-fno-omit-frame-pointer -I/obj/powerpc.powerpc64/src/sys/GENERIC64  
-msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector 
-std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option -c /src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc64/src/sys/GENERIC64/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 -mlongcall 
-fno-omit-frame-pointer -I/obj/powerpc.powerpc64/src/sys/GENERIC64  
-msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector 
-std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 

[head tinderbox] failure on arm/arm

2011-11-16 Thread FreeBSD Tinderbox
TB --- 2011-11-17 02:10:00 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-17 02:10:00 - starting HEAD tinderbox run for arm/arm
TB --- 2011-11-17 02:10:00 - cleaning the object tree
TB --- 2011-11-17 02:10:21 - cvsupping the source tree
TB --- 2011-11-17 02:10:21 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/arm/arm/supfile
TB --- 2011-11-17 02:10:36 - building world
TB --- 2011-11-17 02:10:36 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 02:10:36 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 02:10:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 02:10:36 - SRCCONF=/dev/null
TB --- 2011-11-17 02:10:36 - TARGET=arm
TB --- 2011-11-17 02:10:36 - TARGET_ARCH=arm
TB --- 2011-11-17 02:10:36 - TZ=UTC
TB --- 2011-11-17 02:10:36 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 02:10:36 - cd /src
TB --- 2011-11-17 02:10:36 - /usr/bin/make -B buildworld
 World build started on Thu Nov 17 02:10:37 UTC 2011
 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 Thu Nov 17 03:07:09 UTC 2011
TB --- 2011-11-17 03:07:09 - cd /src/sys/arm/conf
TB --- 2011-11-17 03:07:09 - /usr/sbin/config -m AVILA
TB --- 2011-11-17 03:07:09 - building AVILA kernel
TB --- 2011-11-17 03:07:09 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 03:07:09 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 03:07:09 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 03:07:09 - SRCCONF=/dev/null
TB --- 2011-11-17 03:07:09 - TARGET=arm
TB --- 2011-11-17 03:07:09 - TARGET_ARCH=arm
TB --- 2011-11-17 03:07:09 - TZ=UTC
TB --- 2011-11-17 03:07:09 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 03:07:09 - cd /src
TB --- 2011-11-17 03:07:09 - /usr/bin/make -B buildkernel KERNCONF=AVILA
 Kernel build for AVILA started on Thu Nov 17 03:07:09 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 Kernel build for AVILA completed on Thu Nov 17 03:10:09 UTC 2011
TB --- 2011-11-17 03:10:09 - cd /src/sys/arm/conf
TB --- 2011-11-17 03:10:09 - /usr/sbin/config -m BWCT
TB --- 2011-11-17 03:10:09 - building BWCT kernel
TB --- 2011-11-17 03:10:09 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 03:10:09 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 03:10:09 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 03:10:09 - SRCCONF=/dev/null
TB --- 2011-11-17 03:10:09 - TARGET=arm
TB --- 2011-11-17 03:10:09 - TARGET_ARCH=arm
TB --- 2011-11-17 03:10:09 - TZ=UTC
TB --- 2011-11-17 03:10:09 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 03:10:09 - cd /src
TB --- 2011-11-17 03:10:09 - /usr/bin/make -B buildkernel KERNCONF=BWCT
 Kernel build for BWCT started on Thu Nov 17 03:10:09 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 Kernel build for BWCT completed on Thu Nov 17 03:12:16 UTC 2011
TB --- 2011-11-17 03:12:16 - cd /src/sys/arm/conf
TB --- 2011-11-17 03:12:16 - /usr/sbin/config -m CAMBRIA
TB --- 2011-11-17 03:12:16 - building CAMBRIA kernel
TB --- 2011-11-17 03:12:16 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 03:12:16 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 03:12:16 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 03:12:16 - SRCCONF=/dev/null
TB --- 2011-11-17 03:12:16 - TARGET=arm
TB --- 2011-11-17 03:12:16 - TARGET_ARCH=arm
TB --- 2011-11-17 03:12:16 - TZ=UTC
TB --- 2011-11-17 03:12:16 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 03:12:16 - cd /src
TB --- 2011-11-17 03:12:16 - /usr/bin/make -B buildkernel KERNCONF=CAMBRIA
 Kernel build for CAMBRIA started on Thu Nov 17 03:12:16 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 Kernel build for CAMBRIA completed on Thu Nov 17 03:15:42 UTC 2011
TB --- 2011-11-17 03:15:42 - cd /src/sys/arm/conf
TB --- 2011-11-17 03:15:42 - /usr/sbin/config -m CNS11XXNAS
TB --- 2011-11-17 03:15:43 - building CNS11XXNAS kernel
TB --- 2011-11-17 03:15:43 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 03:15:43 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 03:15:43 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 03:15:43 - SRCCONF=/dev/null
TB --- 2011-11-17 03:15:43 - TARGET=arm
TB --- 2011-11-17 03:15:43 - TARGET_ARCH=arm
TB --- 2011-11-17 03:15:43 - TZ=UTC
TB --- 2011-11-17 03:15:43 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 03:15:43 - cd /src
TB --- 2011-11-17 03:15:43 - /usr/bin/make -B buildkernel KERNCONF=CNS11XXNAS
 Kernel build 

[head tinderbox] failure on i386/pc98

2011-11-16 Thread FreeBSD Tinderbox
TB --- 2011-11-17 02:10:00 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-17 02:10:00 - starting HEAD tinderbox run for i386/pc98
TB --- 2011-11-17 02:10:00 - cleaning the object tree
TB --- 2011-11-17 02:10:19 - cvsupping the source tree
TB --- 2011-11-17 02:10:19 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/pc98/supfile
TB --- 2011-11-17 02:10:36 - building world
TB --- 2011-11-17 02:10:36 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 02:10:36 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 02:10:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 02:10:36 - SRCCONF=/dev/null
TB --- 2011-11-17 02:10:36 - TARGET=pc98
TB --- 2011-11-17 02:10:36 - TARGET_ARCH=i386
TB --- 2011-11-17 02:10:36 - TZ=UTC
TB --- 2011-11-17 02:10:36 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 02:10:36 - cd /src
TB --- 2011-11-17 02:10:36 - /usr/bin/make -B buildworld
 World build started on Thu Nov 17 02:10:37 UTC 2011
 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 Thu Nov 17 04:21:31 UTC 2011
TB --- 2011-11-17 04:21:31 - generating LINT kernel config
TB --- 2011-11-17 04:21:31 - cd /src/sys/pc98/conf
TB --- 2011-11-17 04:21:31 - /usr/bin/make -B LINT
TB --- 2011-11-17 04:21:31 - cd /src/sys/pc98/conf
TB --- 2011-11-17 04:21:31 - /usr/sbin/config -m GENERIC
TB --- 2011-11-17 04:21:31 - building GENERIC kernel
TB --- 2011-11-17 04:21:31 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 04:21:31 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 04:21:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 04:21:31 - SRCCONF=/dev/null
TB --- 2011-11-17 04:21:31 - TARGET=pc98
TB --- 2011-11-17 04:21:31 - TARGET_ARCH=i386
TB --- 2011-11-17 04:21:31 - TZ=UTC
TB --- 2011-11-17 04:21:31 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 04:21:31 - cd /src
TB --- 2011-11-17 04:21:31 - /usr/bin/make -B buildkernel KERNCONF=GENERIC
 Kernel build for GENERIC started on Thu Nov 17 04:21:31 UTC 2011
 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
[...]
objcopy --only-keep-debug if_sf.ko.debug if_sf.ko.symbols
objcopy --strip-debug --add-gnu-debuglink=if_sf.ko.symbols if_sf.ko.debug 
if_sf.ko
=== sfxge (all)
cc -O2 -pipe -DPC98 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE 
-nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/pc98.i386/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/pc98.i386/src/sys/GENERIC  -mno-align-long-strings 
-mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding 
-fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option -c 
/src/sys/modules/sfxge/../../dev/sfxge/sfxge.c
cc -O2 -pipe -DPC98 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE 
-nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/pc98.i386/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/pc98.i386/src/sys/GENERIC  -mno-align-long-strings 
-mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding 
-fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option -c 
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c
cc1: warnings being treated as errors
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c: In function 
'sfxge_dma_alloc':
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c:138: warning: large integer 
implicitly truncated to unsigned type [-Woverflow]
*** Error code 1

Stop in /src/sys/modules/sfxge.
*** Error code 1

Stop in /src/sys/modules.
*** Error code 1

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

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-11-17 04:37:03 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-11-17 04:37:03 - ERROR: failed to build GENERIC kernel
TB --- 2011-11-17 04:37:03 - 7058.98 user 1257.04 system 8823.07 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-pc98.full
___
freebsd-current@freebsd.org mailing list

[head tinderbox] failure on i386/i386

2011-11-16 Thread FreeBSD Tinderbox
TB --- 2011-11-17 02:10:00 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-17 02:10:00 - starting HEAD tinderbox run for i386/i386
TB --- 2011-11-17 02:10:00 - cleaning the object tree
TB --- 2011-11-17 02:10:20 - cvsupping the source tree
TB --- 2011-11-17 02:10:20 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/i386/supfile
TB --- 2011-11-17 02:10:36 - building world
TB --- 2011-11-17 02:10:36 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 02:10:36 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 02:10:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 02:10:36 - SRCCONF=/dev/null
TB --- 2011-11-17 02:10:36 - TARGET=i386
TB --- 2011-11-17 02:10:36 - TARGET_ARCH=i386
TB --- 2011-11-17 02:10:36 - TZ=UTC
TB --- 2011-11-17 02:10:36 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 02:10:36 - cd /src
TB --- 2011-11-17 02:10:36 - /usr/bin/make -B buildworld
 World build started on Thu Nov 17 02:10:37 UTC 2011
 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 Thu Nov 17 04:21:57 UTC 2011
TB --- 2011-11-17 04:21:57 - generating LINT kernel config
TB --- 2011-11-17 04:21:57 - cd /src/sys/i386/conf
TB --- 2011-11-17 04:21:57 - /usr/bin/make -B LINT
TB --- 2011-11-17 04:21:57 - cd /src/sys/i386/conf
TB --- 2011-11-17 04:21:57 - /usr/sbin/config -m LINT-NOINET
TB --- 2011-11-17 04:21:57 - building LINT-NOINET kernel
TB --- 2011-11-17 04:21:57 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 04:21:57 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 04:21:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 04:21:57 - SRCCONF=/dev/null
TB --- 2011-11-17 04:21:57 - TARGET=i386
TB --- 2011-11-17 04:21:57 - TARGET_ARCH=i386
TB --- 2011-11-17 04:21:57 - TZ=UTC
TB --- 2011-11-17 04:21:57 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 04:21:57 - cd /src
TB --- 2011-11-17 04:21:57 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET
 Kernel build for LINT-NOINET started on Thu Nov 17 04:21:57 UTC 2011
 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
[...]
ld -Bshareable  -d -warn-common -o if_sf.ko if_sf.kld
objcopy --strip-debug if_sf.ko
=== sfxge (all)
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/i386.i386/src/sys/LINT-NOINET/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/i386.i386/src/sys/LINT-NOINET -fno-builtin -mno-align-long-strings 
-mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding 
-fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option -c 
/src/sys/modules/sfxge/../../dev/sfxge/sfxge.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/i386.i386/src/sys/LINT-NOINET/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/i386.i386/src/sys/LINT-NOINET -fno-builtin -mno-align-long-strings 
-mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding 
-fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option -c 
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c
cc1: warnings being treated as errors
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c: In function 
'sfxge_dma_alloc':
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c:138: warning: large integer 
implicitly truncated to unsigned type [-Woverflow]
*** Error code 1

Stop in /src/sys/modules/sfxge.
*** Error code 1

Stop in /src/sys/modules.
*** Error code 1

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

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-11-17 04:48:02 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-11-17 04:48:02 - ERROR: failed to build LINT-NOINET kernel
TB --- 2011-11-17 04:48:02 - 7625.78 user 1294.17 system 9482.07 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-i386.full
___
freebsd-current@freebsd.org mailing list

[head tinderbox] failure on ia64/ia64

2011-11-16 Thread FreeBSD Tinderbox
TB --- 2011-11-17 03:56:15 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-17 03:56:15 - starting HEAD tinderbox run for ia64/ia64
TB --- 2011-11-17 03:56:15 - cleaning the object tree
TB --- 2011-11-17 03:56:29 - cvsupping the source tree
TB --- 2011-11-17 03:56:29 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/ia64/ia64/supfile
TB --- 2011-11-17 03:56:41 - building world
TB --- 2011-11-17 03:56:41 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 03:56:41 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 03:56:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 03:56:41 - SRCCONF=/dev/null
TB --- 2011-11-17 03:56:41 - TARGET=ia64
TB --- 2011-11-17 03:56:41 - TARGET_ARCH=ia64
TB --- 2011-11-17 03:56:41 - TZ=UTC
TB --- 2011-11-17 03:56:41 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 03:56:41 - cd /src
TB --- 2011-11-17 03:56:41 - /usr/bin/make -B buildworld
 World build started on Thu Nov 17 03:56:41 UTC 2011
 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 Thu Nov 17 05:24:47 UTC 2011
TB --- 2011-11-17 05:24:48 - generating LINT kernel config
TB --- 2011-11-17 05:24:48 - cd /src/sys/ia64/conf
TB --- 2011-11-17 05:24:48 - /usr/bin/make -B LINT
TB --- 2011-11-17 05:24:48 - cd /src/sys/ia64/conf
TB --- 2011-11-17 05:24:48 - /usr/sbin/config -m GENERIC
TB --- 2011-11-17 05:24:48 - building GENERIC kernel
TB --- 2011-11-17 05:24:48 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 05:24:48 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 05:24:48 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 05:24:48 - SRCCONF=/dev/null
TB --- 2011-11-17 05:24:48 - TARGET=ia64
TB --- 2011-11-17 05:24:48 - TARGET_ARCH=ia64
TB --- 2011-11-17 05:24:48 - TZ=UTC
TB --- 2011-11-17 05:24:48 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 05:24:48 - cd /src
TB --- 2011-11-17 05:24:48 - /usr/bin/make -B buildkernel KERNCONF=GENERIC
 Kernel build for GENERIC started on Thu Nov 17 05:24:48 UTC 2011
 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
[...]
=== sfxge (all)
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/ia64.ia64/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/ia64.ia64/src/sys/GENERIC  -ffixed-r13 -mfixed-range=f32-f127 -fpic 
-ffreestanding -std=iso9899:1999 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option -c /src/sys/modules/sfxge/../../dev/sfxge/sfxge.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/ia64.ia64/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/ia64.ia64/src/sys/GENERIC  -ffixed-r13 -mfixed-range=f32-f127 -fpic 
-ffreestanding -std=iso9899:1999 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option -c /src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/ia64.ia64/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/ia64.ia64/src/sys/GENERIC  -ffixed-r13 -mfixed-range=f32-f127 -fpic 
-ffreestanding -std=iso9899:1999 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option -c /src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c
cc1: warnings being treated as errors
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c: In function 'sfxge_ev_rx':
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c:120: warning: implicit 
declaration of function 'prefetch_read_many'
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c:120: warning: nested extern 
declaration of 'prefetch_read_many' [-Wnested-externs]
*** Error code 1

Stop in /src/sys/modules/sfxge.
*** Error code 1

Stop in /src/sys/modules.
*** Error 

Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-16 Thread Robert Millan
2011/11/16 Warner Losh i...@bsdimp.com:
 My second reaction was why not have

 #ifndef __FreeBSD_kernel__
 #define __FreeBSD_kernel__ __FreeBSD__
 #endif

 in sys/param.h and then just change __FreeBSD__ to __FreeBSD_kernel__ in the 
 headers that are affected?  But I'm not quite sure what effects that would 
 have on your environment.

I'm fine with this.

 Why do you think people wouldn't be fond of the __FreeBSD_kernel__ being 
 defined?

See archived discussion:

http://lists.freebsd.org/pipermail/freebsd-hackers/2011-July/035721.html

particularly this mail in which you participated:

http://lists.freebsd.org/pipermail/freebsd-hackers/2011-July/035823.html
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on powerpc/powerpc

2011-11-16 Thread FreeBSD Tinderbox
TB --- 2011-11-17 04:48:03 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-17 04:48:03 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2011-11-17 04:48:03 - cleaning the object tree
TB --- 2011-11-17 04:48:15 - cvsupping the source tree
TB --- 2011-11-17 04:48:15 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc/powerpc/supfile
TB --- 2011-11-17 04:48:28 - building world
TB --- 2011-11-17 04:48:28 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 04:48:28 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 04:48:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 04:48:28 - SRCCONF=/dev/null
TB --- 2011-11-17 04:48:28 - TARGET=powerpc
TB --- 2011-11-17 04:48:28 - TARGET_ARCH=powerpc
TB --- 2011-11-17 04:48:28 - TZ=UTC
TB --- 2011-11-17 04:48:28 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 04:48:28 - cd /src
TB --- 2011-11-17 04:48:28 - /usr/bin/make -B buildworld
 World build started on Thu Nov 17 04:48:28 UTC 2011
 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 Thu Nov 17 06:49:35 UTC 2011
TB --- 2011-11-17 06:49:35 - generating LINT kernel config
TB --- 2011-11-17 06:49:35 - cd /src/sys/powerpc/conf
TB --- 2011-11-17 06:49:35 - /usr/bin/make -B LINT
TB --- 2011-11-17 06:49:35 - cd /src/sys/powerpc/conf
TB --- 2011-11-17 06:49:35 - /usr/sbin/config -m GENERIC
TB --- 2011-11-17 06:49:35 - building GENERIC kernel
TB --- 2011-11-17 06:49:35 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 06:49:35 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 06:49:35 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 06:49:35 - SRCCONF=/dev/null
TB --- 2011-11-17 06:49:35 - TARGET=powerpc
TB --- 2011-11-17 06:49:35 - TARGET_ARCH=powerpc
TB --- 2011-11-17 06:49:35 - TZ=UTC
TB --- 2011-11-17 06:49:35 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 06:49:35 - cd /src
TB --- 2011-11-17 06:49:35 - /usr/bin/make -B buildkernel KERNCONF=GENERIC
 Kernel build for GENERIC started on Thu Nov 17 06:49:35 UTC 2011
 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
[...]
objcopy --only-keep-debug if_sf.ko.debug if_sf.ko.symbols
objcopy --strip-debug --add-gnu-debuglink=if_sf.ko.symbols if_sf.ko.debug 
if_sf.ko
=== sfxge (all)
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 -mlongcall 
-fno-omit-frame-pointer -I/obj/powerpc.powerpc/src/sys/GENERIC  -msoft-float 
-mno-altivec -ffreestanding -fstack-protector -std=iso9899:1999 
-fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option -c /src/sys/modules/sfxge/../../dev/sfxge/sfxge.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 -mlongcall 
-fno-omit-frame-pointer -I/obj/powerpc.powerpc/src/sys/GENERIC  -msoft-float 
-mno-altivec -ffreestanding -fstack-protector -std=iso9899:1999 
-fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option -c /src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c
cc1: warnings being treated as errors
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c: In function 
'sfxge_dma_alloc':
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c:138: warning: large integer 
implicitly truncated to unsigned type [-Woverflow]
*** Error code 1

Stop in /src/sys/modules/sfxge.
*** Error code 1

Stop in /src/sys/modules.
*** Error code 1

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

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2011-11-17 07:03:20 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2011-11-17 07:03:20 - ERROR: failed to build GENERIC kernel
TB --- 2011-11-17 07:03:20 - 6508.77 user 1117.43 system 8116.96 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full
___
freebsd-current@freebsd.org mailing 

[head tinderbox] failure on sparc64/sparc64

2011-11-16 Thread FreeBSD Tinderbox
TB --- 2011-11-17 05:44:08 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-17 05:44:08 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2011-11-17 05:44:08 - cleaning the object tree
TB --- 2011-11-17 05:44:19 - cvsupping the source tree
TB --- 2011-11-17 05:44:19 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/sparc64/sparc64/supfile
TB --- 2011-11-17 05:44:33 - building world
TB --- 2011-11-17 05:44:33 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 05:44:33 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 05:44:33 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 05:44:33 - SRCCONF=/dev/null
TB --- 2011-11-17 05:44:33 - TARGET=sparc64
TB --- 2011-11-17 05:44:33 - TARGET_ARCH=sparc64
TB --- 2011-11-17 05:44:33 - TZ=UTC
TB --- 2011-11-17 05:44:33 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 05:44:33 - cd /src
TB --- 2011-11-17 05:44:33 - /usr/bin/make -B buildworld
 World build started on Thu Nov 17 05:44:34 UTC 2011
 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 Thu Nov 17 06:50:43 UTC 2011
TB --- 2011-11-17 06:50:43 - generating LINT kernel config
TB --- 2011-11-17 06:50:43 - cd /src/sys/sparc64/conf
TB --- 2011-11-17 06:50:43 - /usr/bin/make -B LINT
TB --- 2011-11-17 06:50:43 - cd /src/sys/sparc64/conf
TB --- 2011-11-17 06:50:43 - /usr/sbin/config -m GENERIC
TB --- 2011-11-17 06:50:43 - building GENERIC kernel
TB --- 2011-11-17 06:50:43 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 06:50:43 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 06:50:43 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 06:50:43 - SRCCONF=/dev/null
TB --- 2011-11-17 06:50:43 - TARGET=sparc64
TB --- 2011-11-17 06:50:43 - TARGET_ARCH=sparc64
TB --- 2011-11-17 06:50:43 - TZ=UTC
TB --- 2011-11-17 06:50:43 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 06:50:43 - cd /src
TB --- 2011-11-17 06:50:43 - /usr/bin/make -B buildkernel KERNCONF=GENERIC
 Kernel build for GENERIC started on Thu Nov 17 06:50:43 UTC 2011
 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
[...]
=== sfxge (all)
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/sparc64.sparc64/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/sparc64.sparc64/src/sys/GENERIC  -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -c 
/src/sys/modules/sfxge/../../dev/sfxge/sfxge.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/sparc64.sparc64/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/sparc64.sparc64/src/sys/GENERIC  -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -c 
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/sparc64.sparc64/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 
-I/obj/sparc64.sparc64/src/sys/GENERIC  -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -c 
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c
cc1: warnings being treated as errors
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c: In function 'sfxge_ev_rx':
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c:120: warning: implicit 
declaration of function 'prefetch_read_many'
/src/sys/modules/sfxge/../../dev/sfxge/sfxge_ev.c:120: warning: nested extern 
declaration of 

[head tinderbox] failure on powerpc64/powerpc

2011-11-16 Thread FreeBSD Tinderbox
TB --- 2011-11-17 05:36:49 - tinderbox 2.8 running on freebsd-current.sentex.ca
TB --- 2011-11-17 05:36:49 - starting HEAD tinderbox run for powerpc64/powerpc
TB --- 2011-11-17 05:36:49 - cleaning the object tree
TB --- 2011-11-17 05:37:15 - cvsupping the source tree
TB --- 2011-11-17 05:37:15 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc64/powerpc/supfile
TB --- 2011-11-17 05:38:07 - building world
TB --- 2011-11-17 05:38:07 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 05:38:07 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 05:38:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 05:38:07 - SRCCONF=/dev/null
TB --- 2011-11-17 05:38:07 - TARGET=powerpc
TB --- 2011-11-17 05:38:07 - TARGET_ARCH=powerpc64
TB --- 2011-11-17 05:38:07 - TZ=UTC
TB --- 2011-11-17 05:38:07 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 05:38:07 - cd /src
TB --- 2011-11-17 05:38:07 - /usr/bin/make -B buildworld
 World build started on Thu Nov 17 05:38:08 UTC 2011
 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 Nov 17 07:16:01 UTC 2011
TB --- 2011-11-17 07:16:02 - generating LINT kernel config
TB --- 2011-11-17 07:16:02 - cd /src/sys/powerpc/conf
TB --- 2011-11-17 07:16:02 - /usr/bin/make -B LINT
TB --- 2011-11-17 07:16:02 - cd /src/sys/powerpc/conf
TB --- 2011-11-17 07:16:02 - /usr/sbin/config -m GENERIC
TB --- 2011-11-17 07:16:02 - skipping GENERIC kernel
TB --- 2011-11-17 07:16:02 - cd /src/sys/powerpc/conf
TB --- 2011-11-17 07:16:02 - /usr/sbin/config -m GENERIC64
TB --- 2011-11-17 07:16:02 - building GENERIC64 kernel
TB --- 2011-11-17 07:16:02 - CROSS_BUILD_TESTING=YES
TB --- 2011-11-17 07:16:02 - MAKEOBJDIRPREFIX=/obj
TB --- 2011-11-17 07:16:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2011-11-17 07:16:02 - SRCCONF=/dev/null
TB --- 2011-11-17 07:16:02 - TARGET=powerpc
TB --- 2011-11-17 07:16:02 - TARGET_ARCH=powerpc64
TB --- 2011-11-17 07:16:02 - TZ=UTC
TB --- 2011-11-17 07:16:02 - __MAKE_CONF=/dev/null
TB --- 2011-11-17 07:16:02 - cd /src
TB --- 2011-11-17 07:16:02 - /usr/bin/make -B buildkernel KERNCONF=GENERIC64
 Kernel build for GENERIC64 started on Thu Nov 17 07:16:02 UTC 2011
 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
[...]
=== sfxge (all)
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc64/src/sys/GENERIC64/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 -mlongcall 
-fno-omit-frame-pointer -I/obj/powerpc.powerpc64/src/sys/GENERIC64  
-msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector 
-std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option -c /src/sys/modules/sfxge/../../dev/sfxge/sfxge.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc64/src/sys/GENERIC64/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 -mlongcall 
-fno-omit-frame-pointer -I/obj/powerpc.powerpc64/src/sys/GENERIC64  
-msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector 
-std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option -c /src/sys/modules/sfxge/../../dev/sfxge/sfxge_dma.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-DHAVE_KERNEL_OPTION_HEADERS -include 
/obj/powerpc.powerpc64/src/sys/GENERIC64/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -DDEBUG=1 -mlongcall 
-fno-omit-frame-pointer -I/obj/powerpc.powerpc64/src/sys/GENERIC64  
-msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector 
-std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs