[head tinderbox] failure on powerpc/powerpc

2013-12-30 Thread FreeBSD Tinderbox
TB --- 2013-12-30 07:12:09 - tinderbox 2.20 running on freebsd-current.sentex.ca
TB --- 2013-12-30 07:12:09 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-12-30 07:12:09 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2013-12-30 07:12:09 - cleaning the object tree
TB --- 2013-12-30 07:12:09 - /usr/local/bin/svn stat /src
TB --- 2013-12-30 07:12:24 - At svn revision 260062
TB --- 2013-12-30 07:12:25 - building world
TB --- 2013-12-30 07:12:25 - CROSS_BUILD_TESTING=YES
TB --- 2013-12-30 07:12:25 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-12-30 07:12:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-12-30 07:12:25 - SRCCONF=/dev/null
TB --- 2013-12-30 07:12:25 - TARGET=powerpc
TB --- 2013-12-30 07:12:25 - TARGET_ARCH=powerpc
TB --- 2013-12-30 07:12:25 - TZ=UTC
TB --- 2013-12-30 07:12:25 - __MAKE_CONF=/dev/null
TB --- 2013-12-30 07:12:25 - cd /src
TB --- 2013-12-30 07:12:25 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Mon Dec 30 07:12:32 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
[...]
(cd /src/rescue/rescue/../../sbin/camcontrol &&  /obj/src/make.amd64/bmake 
-DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/camcontrol/ depend && 
/obj/src/make.amd64/bmake -DRESCUE CRUNCH_CFLAGS=-DRESCUE 
DIRPRFX=rescue/rescue/camcontrol/ camcontrol.o util.o fwdownload.o modeedit.o 
progress.o)
rm -f .depend
CC='cc ' mkdep -f .depend -a-DRESCUE -std=gnu99   
/src/sbin/camcontrol/camcontrol.c /src/sbin/camcontrol/util.c 
/src/sbin/camcontrol/fwdownload.c /src/sbin/camcontrol/modeedit.c 
/src/sbin/camcontrol/progress.c
echo camcontrol: /obj/powerpc.powerpc/src/tmp/usr/lib/libc.a 
/obj/powerpc.powerpc/src/tmp/usr/lib/libcam.a 
/obj/powerpc.powerpc/src/tmp/usr/lib/libsbuf.a 
/obj/powerpc.powerpc/src/tmp/usr/lib/libutil.a >> .depend
cc  -O2 -pipe  -DRESCUE -std=gnu99  -fstack-protector -Wsystem-headers -Werror 
-Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline 
-Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/camcontrol/camcontrol.c
cc1: warnings being treated as errors
/src/sbin/camcontrol/camcontrol.c: In function 'getdevtree':
/src/sbin/camcontrol/camcontrol.c:425: warning: comparison is always true due 
to limited range of data type
*** Error code 1

Stop.
bmake[5]: stopped in /src/sbin/camcontrol
*** Error code 1

Stop.
bmake[4]: stopped in /obj/powerpc.powerpc/src/rescue/rescue
*** Error code 1

Stop.
bmake[3]: stopped in /src/rescue/rescue
*** Error code 1

Stop.
bmake[2]: stopped in /src/rescue
*** Error code 1

Stop.
bmake[1]: stopped in /src
*** Error code 1

Stop.
bmake: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-12-30 09:33:07 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-12-30 09:33:07 - ERROR: failed to build world
TB --- 2013-12-30 09:33:07 - 7077.07 user 881.71 system 8457.41 real


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


[head tinderbox] failure on powerpc64/powerpc

2013-12-30 Thread FreeBSD Tinderbox
TB --- 2013-12-30 07:49:29 - tinderbox 2.20 running on freebsd-current.sentex.ca
TB --- 2013-12-30 07:49:29 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-12-30 07:49:29 - starting HEAD tinderbox run for powerpc64/powerpc
TB --- 2013-12-30 07:49:29 - cleaning the object tree
TB --- 2013-12-30 07:49:29 - /usr/local/bin/svn stat /src
TB --- 2013-12-30 07:49:34 - At svn revision 260062
TB --- 2013-12-30 07:49:35 - building world
TB --- 2013-12-30 07:49:35 - CROSS_BUILD_TESTING=YES
TB --- 2013-12-30 07:49:35 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-12-30 07:49:35 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-12-30 07:49:35 - SRCCONF=/dev/null
TB --- 2013-12-30 07:49:35 - TARGET=powerpc
TB --- 2013-12-30 07:49:35 - TARGET_ARCH=powerpc64
TB --- 2013-12-30 07:49:35 - TZ=UTC
TB --- 2013-12-30 07:49:35 - __MAKE_CONF=/dev/null
TB --- 2013-12-30 07:49:35 - cd /src
TB --- 2013-12-30 07:49:35 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Mon Dec 30 07:49:42 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
[...]
(cd /src/rescue/rescue/../../sbin/camcontrol &&  /obj/src/make.amd64/bmake 
-DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/camcontrol/ depend && 
/obj/src/make.amd64/bmake -DRESCUE CRUNCH_CFLAGS=-DRESCUE 
DIRPRFX=rescue/rescue/camcontrol/ camcontrol.o util.o fwdownload.o modeedit.o 
progress.o)
rm -f .depend
CC='cc ' mkdep -f .depend -a-DRESCUE -std=gnu99   
/src/sbin/camcontrol/camcontrol.c /src/sbin/camcontrol/util.c 
/src/sbin/camcontrol/fwdownload.c /src/sbin/camcontrol/modeedit.c 
/src/sbin/camcontrol/progress.c
echo camcontrol: /obj/powerpc.powerpc64/src/tmp/usr/lib/libc.a 
/obj/powerpc.powerpc64/src/tmp/usr/lib/libcam.a 
/obj/powerpc.powerpc64/src/tmp/usr/lib/libsbuf.a 
/obj/powerpc.powerpc64/src/tmp/usr/lib/libutil.a >> .depend
cc  -O2 -pipe  -DRESCUE -std=gnu99  -fstack-protector -Wsystem-headers -Werror 
-Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline 
-Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/camcontrol/camcontrol.c
cc1: warnings being treated as errors
/src/sbin/camcontrol/camcontrol.c: In function 'getdevtree':
/src/sbin/camcontrol/camcontrol.c:425: warning: comparison is always true due 
to limited range of data type
*** Error code 1

Stop.
bmake[5]: stopped in /src/sbin/camcontrol
*** Error code 1

Stop.
bmake[4]: stopped in /obj/powerpc.powerpc64/src/rescue/rescue
*** Error code 1

Stop.
bmake[3]: stopped in /src/rescue/rescue
*** Error code 1

Stop.
bmake[2]: stopped in /src/rescue
*** Error code 1

Stop.
bmake[1]: stopped in /src
*** Error code 1

Stop.
bmake: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-12-30 10:08:38 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-12-30 10:08:38 - ERROR: failed to build world
TB --- 2013-12-30 10:08:38 - 7071.47 user 825.19 system 8348.69 real


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


Re: smp_rendezvous_cpus() deadlock

2013-12-30 Thread Konstantin Belousov
On Sun, Dec 29, 2013 at 04:36:18PM -0500, Mark Johnston wrote:
> Hello,
> 
> While experimenting with some userland DTrace scripts, I seem to
> be consistently able to trigger a deadlock between smp_rendezvous_cpus()
> (called periodically by DTrace) and smp_targeted_tlb_shootdown():
> 
> spin lock 0x80fe0620 (smp rendezvous) held by 0xf8000753b490 (tid 
> 100059) too long
> panic: spin lock held too long
> [...]
> (gdb) bt
> #0  doadump (textdump=1) at pcpu.h:219
> #1  0x806387c7 in kern_reboot (howto=260) at 
> /usr/home/markj/src/freebsd/sys/kern/kern_shutdown.c:452
> #2  0x80638cd5 in vpanic (fmt=, ap= optimized out>) at /usr/home/markj/src/freebsd/sys/kern/kern_shutdown.c:759
> #3  0x80638d23 in panic (fmt=) at 
> /usr/home/markj/src/freebsd/sys/kern/kern_shutdown.c:688
> #4  0x80624b68 in _mtx_lock_spin_cookie (c=, 
> tid=, opts=, file= out>, line=)
> at /usr/home/markj/src/freebsd/sys/kern/kern_mutex.c:551
> #5  0x80624878 in __mtx_lock_spin_flags (c=, 
> opts=0, file=0x80a1ca28 
> "/usr/home/markj/src/freebsd/sys/kern/subr_smp.c", line=498) at 
> /usr/home/markj/src/freebsd/sys/kern/kern_mutex.c:279
> #6  0x8067eba3 in smp_rendezvous_cpus (setup_func=0x8067eae0 
> , action_func=0x814e2d00 
> , teardown_func=0x8067eae0 
> , 
> arg=0x0) at /usr/home/markj/src/freebsd/sys/kern/subr_smp.c:498
> #7  0x814d5743 in dtrace_state_deadman (arg=0xf80007ee5c00) at 
> /usr/home/markj/src/freebsd/sys/modules/dtrace/dtrace/../../../cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c:13144
> #8  0x8064cf38 in softclock_call_cc (c=0xf80007ee5d40, 
> cc=0x80fda080, direct=0) at 
> /usr/home/markj/src/freebsd/sys/kern/kern_timeout.c:681
> #9  0x8064d2b7 in softclock (arg=) at 
> /usr/home/markj/src/freebsd/sys/kern/kern_timeout.c:809
> #10 0x8060a053 in intr_event_execute_handlers (p= out>, ie=0xf80002958d00) at 
> /usr/home/markj/src/freebsd/sys/kern/kern_intr.c:1263
> #11 0x8060aa26 in ithread_loop (arg=0xf80002999f60) at 
> /usr/home/markj/src/freebsd/sys/kern/kern_intr.c:1276
> #12 0x806071a4 in fork_exit (callout=0x8060a980 
> , arg=0xf80002999f60, frame=0xfe0113b99ac0) at 
> /usr/home/markj/src/freebsd/sys/kern/kern_fork.c:977
> #13 0x808d7fce in fork_trampoline () at 
> /usr/home/markj/src/freebsd/sys/amd64/amd64/exception.S:605
> 
> (kgdb) tid 100059
> [Switching to thread 67 (Thread 100059)]#0  0x808e1f08 in 
> cpustop_handler () at 
> /usr/home/markj/src/freebsd/sys/amd64/amd64/mp_machdep.c:1432
> 1432savectx(&stoppcbs[cpu]);
> (kgdb) bt
> #0  0x808e1f08 in cpustop_handler () at 
> /usr/home/markj/src/freebsd/sys/amd64/amd64/mp_machdep.c:1432
> #1  0x808e1ecf in ipi_nmi_handler () at 
> /usr/home/markj/src/freebsd/sys/amd64/amd64/mp_machdep.c:1417
> #2  0x808f1e02 in trap (frame=0xfe0113b68f30) at 
> /usr/home/markj/src/freebsd/sys/amd64/amd64/trap.c:208
> #3  0x808d7ed3 in nmi_calltrap () at 
> /usr/home/markj/src/freebsd/sys/amd64/amd64/exception.S:504
> #4  0x808e1b39 in smp_targeted_tlb_shootdown (mask={__bits = {0}}, 
> vector=, pmap=, addr1= optimized out>, addr2=)
> at /usr/home/markj/src/freebsd/sys/amd64/amd64/mp_machdep.c:1204
> #5  0x808e2f25 in pmap_invalidate_page (pmap=, 
> va=) at 
> /usr/home/markj/src/freebsd/sys/amd64/amd64/pmap.c:1375
> #6  0x808ec3d5 in pmap_ts_referenced (m=0xf800bcfc78b8) at 
> /usr/home/markj/src/freebsd/sys/amd64/amd64/pmap.c:5743
> #7  0x808c8953 in vm_pageout () at 
> /usr/home/markj/src/freebsd/sys/vm/vm_pageout.c:1366
> #8  0x806071a4 in fork_exit (callout=0x808c7930 , 
> arg=0x0, frame=0xfe011bfabac0) at 
> /usr/home/markj/src/freebsd/sys/kern/kern_fork.c:977
> #9  0x808d7fce in fork_trampoline () at 
> /usr/home/markj/src/freebsd/sys/amd64/amd64/exception.S:605
> 
> Indeed, there is a comment above the definition of smp_ipi_mtx in
> subr_smp.c to the effect that a deadlock can occur if, say, the target
> CPU of smp_targeted_tlb_shootdown() is spinning on smp_ipi_mtx. Is there
> any reason that this deadlock doesn't happen more often in practice? Is
> it possible to spin on smp_ipi_mtx without disabling interrupts, as that
> doesn't seem to be necessary in this case?

IMO, what wrong there is that smp_rendezvous_cpus() called from the
wrong context.  As you noted yourself, the interrupts are disabled
in the caller, and doing this operation in the interrupt context is
not correct.

Note that smp_tlb_shootdown() and smp_targeted_tlb_shootdown() both
assert that interrupts are enabled. IMO similar assert would be useful
for mtx_lock_spin(&smp_ipi_mtx), but adding it is somewhat in non-ugly
way seems to be not trivial.  Might be, a flag for mtx_init() that
forces the check for given mutex, but again, there is no MI primitive
to assert that local in

[head tinderbox] failure on sparc64/sparc64

2013-12-30 Thread FreeBSD Tinderbox
TB --- 2013-12-30 19:25:17 - tinderbox 2.20 running on freebsd-current.sentex.ca
TB --- 2013-12-30 19:25:17 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-12-30 19:25:17 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2013-12-30 19:25:17 - cleaning the object tree
TB --- 2013-12-30 19:25:17 - /usr/local/bin/svn stat /src
TB --- 2013-12-30 19:25:20 - At svn revision 260082
TB --- 2013-12-30 19:25:21 - building world
TB --- 2013-12-30 19:25:21 - CROSS_BUILD_TESTING=YES
TB --- 2013-12-30 19:25:21 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-12-30 19:25:21 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-12-30 19:25:21 - SRCCONF=/dev/null
TB --- 2013-12-30 19:25:21 - TARGET=sparc64
TB --- 2013-12-30 19:25:21 - TARGET_ARCH=sparc64
TB --- 2013-12-30 19:25:21 - TZ=UTC
TB --- 2013-12-30 19:25:21 - __MAKE_CONF=/dev/null
TB --- 2013-12-30 19:25:21 - cd /src
TB --- 2013-12-30 19:25:21 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Mon Dec 30 19:25:28 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Mon Dec 30 20:31:27 UTC 2013
TB --- 2013-12-30 20:31:27 - generating LINT kernel config
TB --- 2013-12-30 20:31:27 - cd /src/sys/sparc64/conf
TB --- 2013-12-30 20:31:27 - /usr/bin/make -B LINT
TB --- 2013-12-30 20:31:27 - cd /src/sys/sparc64/conf
TB --- 2013-12-30 20:31:27 - /usr/sbin/config -m LINT
TB --- 2013-12-30 20:31:27 - building LINT kernel
TB --- 2013-12-30 20:31:27 - CROSS_BUILD_TESTING=YES
TB --- 2013-12-30 20:31:27 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-12-30 20:31:27 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-12-30 20:31:27 - SRCCONF=/dev/null
TB --- 2013-12-30 20:31:27 - TARGET=sparc64
TB --- 2013-12-30 20:31:27 - TARGET_ARCH=sparc64
TB --- 2013-12-30 20:31:27 - TZ=UTC
TB --- 2013-12-30 20:31:27 - __MAKE_CONF=/dev/null
TB --- 2013-12-30 20:31:27 - cd /src
TB --- 2013-12-30 20:31:27 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Mon Dec 30 20:31:27 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc  -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  /src/sys/dev/ti/if_ti.c
cc  -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  /src/sys/dev/tl/if_tl.c
cc  -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  /src/sys/dev/trm/trm.c
/src/sys/dev/trm/trm.c: In function 'trm_attach':
/src/sys/dev/trm/trm.c:3522: internal compiler error: in create_mem_ref, at 
tree-ssa-address.c:606
Please submit a full bug report,
with preprocessed source if appropriate.
See http://www.freebsd.org/send-pr.html> for instructions.
*** Error code 1

Stop.
bmake[1]: stopped in /obj/sparc64.sparc64/src/sys/LINT
*** Error code 1

Stop.
bmake: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-12-30 20:38:27 - WARNING: /usr/bin/make returned

[head tinderbox] failure on powerpc/powerpc

2013-12-30 Thread FreeBSD Tinderbox
TB --- 2013-12-30 18:25:11 - tinderbox 2.20 running on freebsd-current.sentex.ca
TB --- 2013-12-30 18:25:11 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-12-30 18:25:11 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2013-12-30 18:25:11 - cleaning the object tree
TB --- 2013-12-30 18:26:12 - /usr/local/bin/svn stat /src
TB --- 2013-12-30 18:26:19 - At svn revision 260082
TB --- 2013-12-30 18:26:20 - building world
TB --- 2013-12-30 18:26:20 - CROSS_BUILD_TESTING=YES
TB --- 2013-12-30 18:26:20 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-12-30 18:26:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-12-30 18:26:20 - SRCCONF=/dev/null
TB --- 2013-12-30 18:26:20 - TARGET=powerpc
TB --- 2013-12-30 18:26:20 - TARGET_ARCH=powerpc
TB --- 2013-12-30 18:26:20 - TZ=UTC
TB --- 2013-12-30 18:26:20 - __MAKE_CONF=/dev/null
TB --- 2013-12-30 18:26:20 - cd /src
TB --- 2013-12-30 18:26:20 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Mon Dec 30 18:26:27 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
[...]
(cd /src/rescue/rescue/../../sbin/camcontrol &&  /obj/src/make.amd64/bmake 
-DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/camcontrol/ depend && 
/obj/src/make.amd64/bmake -DRESCUE CRUNCH_CFLAGS=-DRESCUE 
DIRPRFX=rescue/rescue/camcontrol/ camcontrol.o util.o fwdownload.o modeedit.o 
progress.o)
rm -f .depend
CC='cc ' mkdep -f .depend -a-DRESCUE -std=gnu99   
/src/sbin/camcontrol/camcontrol.c /src/sbin/camcontrol/util.c 
/src/sbin/camcontrol/fwdownload.c /src/sbin/camcontrol/modeedit.c 
/src/sbin/camcontrol/progress.c
echo camcontrol: /obj/powerpc.powerpc/src/tmp/usr/lib/libc.a 
/obj/powerpc.powerpc/src/tmp/usr/lib/libcam.a 
/obj/powerpc.powerpc/src/tmp/usr/lib/libsbuf.a 
/obj/powerpc.powerpc/src/tmp/usr/lib/libutil.a >> .depend
cc  -O2 -pipe  -DRESCUE -std=gnu99  -fstack-protector -Wsystem-headers -Werror 
-Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline 
-Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/camcontrol/camcontrol.c
cc1: warnings being treated as errors
/src/sbin/camcontrol/camcontrol.c: In function 'getdevtree':
/src/sbin/camcontrol/camcontrol.c:425: warning: comparison is always true due 
to limited range of data type
*** Error code 1

Stop.
bmake[5]: stopped in /src/sbin/camcontrol
*** Error code 1

Stop.
bmake[4]: stopped in /obj/powerpc.powerpc/src/rescue/rescue
*** Error code 1

Stop.
bmake[3]: stopped in /src/rescue/rescue
*** Error code 1

Stop.
bmake[2]: stopped in /src/rescue
*** Error code 1

Stop.
bmake[1]: stopped in /src
*** Error code 1

Stop.
bmake: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-12-30 20:44:43 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-12-30 20:44:43 - ERROR: failed to build world
TB --- 2013-12-30 20:44:43 - 7067.50 user 881.66 system 8372.43 real


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


[head tinderbox] failure on powerpc64/powerpc

2013-12-30 Thread FreeBSD Tinderbox
TB --- 2013-12-30 18:59:21 - tinderbox 2.20 running on freebsd-current.sentex.ca
TB --- 2013-12-30 18:59:21 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-12-30 18:59:21 - starting HEAD tinderbox run for powerpc64/powerpc
TB --- 2013-12-30 18:59:21 - cleaning the object tree
TB --- 2013-12-30 19:00:40 - /usr/local/bin/svn stat /src
TB --- 2013-12-30 19:00:44 - At svn revision 260082
TB --- 2013-12-30 19:00:45 - building world
TB --- 2013-12-30 19:00:45 - CROSS_BUILD_TESTING=YES
TB --- 2013-12-30 19:00:45 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-12-30 19:00:45 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-12-30 19:00:45 - SRCCONF=/dev/null
TB --- 2013-12-30 19:00:45 - TARGET=powerpc
TB --- 2013-12-30 19:00:45 - TARGET_ARCH=powerpc64
TB --- 2013-12-30 19:00:45 - TZ=UTC
TB --- 2013-12-30 19:00:45 - __MAKE_CONF=/dev/null
TB --- 2013-12-30 19:00:45 - cd /src
TB --- 2013-12-30 19:00:45 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Mon Dec 30 19:00:52 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
[...]
(cd /src/rescue/rescue/../../sbin/camcontrol &&  /obj/src/make.amd64/bmake 
-DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/camcontrol/ depend && 
/obj/src/make.amd64/bmake -DRESCUE CRUNCH_CFLAGS=-DRESCUE 
DIRPRFX=rescue/rescue/camcontrol/ camcontrol.o util.o fwdownload.o modeedit.o 
progress.o)
rm -f .depend
CC='cc ' mkdep -f .depend -a-DRESCUE -std=gnu99   
/src/sbin/camcontrol/camcontrol.c /src/sbin/camcontrol/util.c 
/src/sbin/camcontrol/fwdownload.c /src/sbin/camcontrol/modeedit.c 
/src/sbin/camcontrol/progress.c
echo camcontrol: /obj/powerpc.powerpc64/src/tmp/usr/lib/libc.a 
/obj/powerpc.powerpc64/src/tmp/usr/lib/libcam.a 
/obj/powerpc.powerpc64/src/tmp/usr/lib/libsbuf.a 
/obj/powerpc.powerpc64/src/tmp/usr/lib/libutil.a >> .depend
cc  -O2 -pipe  -DRESCUE -std=gnu99  -fstack-protector -Wsystem-headers -Werror 
-Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline 
-Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c 
/src/sbin/camcontrol/camcontrol.c
cc1: warnings being treated as errors
/src/sbin/camcontrol/camcontrol.c: In function 'getdevtree':
/src/sbin/camcontrol/camcontrol.c:425: warning: comparison is always true due 
to limited range of data type
*** Error code 1

Stop.
bmake[5]: stopped in /src/sbin/camcontrol
*** Error code 1

Stop.
bmake[4]: stopped in /obj/powerpc.powerpc64/src/rescue/rescue
*** Error code 1

Stop.
bmake[3]: stopped in /src/rescue/rescue
*** Error code 1

Stop.
bmake[2]: stopped in /src/rescue
*** Error code 1

Stop.
bmake[1]: stopped in /src
*** Error code 1

Stop.
bmake: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-12-30 21:15:24 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-12-30 21:15:24 - ERROR: failed to build world
TB --- 2013-12-30 21:15:24 - 7111.75 user 817.09 system 8162.77 real


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


Re: new Xorg (KMS, etc.) for Radeon 9600

2013-12-30 Thread Adrian Chadd
On 17 December 2013 22:41,   wrote:
> Jean-Sébastien Pédron wrote, On 12/17/2013 22:20:
>
>> On 16.12.2013 08:36, d...@gmx.com wrote:
>>>
>>> Still nobody wants to apply Robert Noland's DRM patch?
>>
>>
>> What problem(s) does this patch fix?
>
>
> It fixes non-deterministic lockups when the (old, drm1) r300 drivers are
> used.
>
> According to John Baldwin [1]: "The drm code is doing a copyin() while
> holding a mutex (which is not allowed)." The latest version of the patch
> (also the one I used for years) is at [2], linked from [3].

Hm. Well, can we add some lock assertions to the dri code to panic
whenever this is done?



-a
___
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: newcons + device.hints

2013-12-30 Thread Aleksandr Rybalko
On Wed, 11 Dec 2013 14:10:32 +0400
"Vladimir A. Noskov"  wrote:

> 
> On 11.12.2013 14:06, Vladimir A. Noskov wrote:
> Thanks.
> I waiting set :)
> 
> >
> > On 11.12.2013 00:54, Ed Schouten wrote:
> >>
> >> Hey Vladimir,
> >>
> >> You'd better ask this question on the lists. I've added current@
> >> and ray@ to the cc.
> >>
> >> Thanks,
> >> Ed
> >>
> >> Am 11.12.2013 03:09 schrieb "Vladimir A. Noskov"  >> >:
> >>
> >> Hello, Ed!
> >>
> >> I compiled FreeBSD nbw001 11.0-CURRENT FreeBSD 11.0-CURRENT # 0
> >> r259137: Tue Dec 10 02:57:07 MSK 2013 root @ nbw001 :/
> >> usr/obj/usr/home/wocson/devel/src.newcons/sys/W20131213 amd64
> >> This is my Toshiba laptop on CPU AMD E -450 :
> >>
> >> # Sysctl-a | egrep-i 'hw.machine | hw.model | hw.ncpu'
> >> hw.machine: amd64
> >> hw.model: AMD E- 450 APU with Radeon (tm) HD Graphics
> >> hw.ncpu: 2
> >> hw.machine_arch: amd64
> >> Radeon HD 6320
> >>
> >> This kernel was launched in FreeBSD 10 Beta 4 (build 10 PCBSD
> >> -Stable http://iso.cdn.pcbsd.org/10-STABLE/amd64/)
> >>
> >> Everything is working fine .
> >> I have one question : Is it possible to install the OS at
> >> startup console mode 1366x768px ? For sc was done editing
> >> device.hints. hint.sc.0.at  = "isa"
> >> hint.sc.0.flags = "0x180"
> >> hint.sc.0.vesa_mode = "0x11b"
> >>
> >> If you need any more information I will inform you .
> >>
> >> Thank you.
> >>
> -- 
> 
> *Vladimir A. Noskov*
> 

Hi!

Sorry for such huge delay.

Vladimir, things you have described with syscons hints related to VESA
driver.
But you can preload radeonkms/radeon firmware modules/drm2 in the
loader(8), then drm_fb_helper (part of drm2) will initialize screen to
display maximum resolution.

Thanks!
-- 
Aleksandr Rybalko 
___
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: new Xorg (KMS, etc.) for Radeon 9600

2013-12-30 Thread dt71

Adrian Chadd wrote, On 12/30/2013 22:17:

On 17 December 2013 22:41,   wrote:

It fixes non-deterministic lockups when the (old, drm1) r300 drivers are
used.

According to John Baldwin [1]: "The drm code is doing a copyin() while
holding a mutex (which is not allowed)." The latest version of the patch
(also the one I used for years) is at [2], linked from [3].


Hm. Well, can we add some lock assertions to the dri code to panic
whenever this is done?


Oops, I meant panics, not lockups. The kernel panics exactly because -- as I 
gather -- the assertions are already there.

There are lockup issues even with the patch applied (for the most part, only when using, in 
Xorg.conf: Option "AccelMethod" "EXA").
___
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: new Xorg (KMS, etc.) for Radeon 9600

2013-12-30 Thread Adrian Chadd
On 30 December 2013 16:32,   wrote:
>
>
> Oops, I meant panics, not lockups. The kernel panics exactly because -- as I
> gather -- the assertions are already there.
>
> There are lockup issues even with the patch applied (for the most part, only
> when using, in Xorg.conf: Option "AccelMethod" "EXA").

Ok.

i have hangs with i915 on -HEAD where the mouse pointer works fine,
but the gui and console just locks up. It happens when I start playing
video. It's very random - just random enough for me to grr :)


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


[head tinderbox] failure on sparc64/sparc64

2013-12-30 Thread FreeBSD Tinderbox
TB --- 2013-12-31 06:35:11 - tinderbox 2.20 running on freebsd-current.sentex.ca
TB --- 2013-12-31 06:35:11 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-12-31 06:35:11 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2013-12-31 06:35:11 - cleaning the object tree
TB --- 2013-12-31 06:36:17 - /usr/local/bin/svn stat /src
TB --- 2013-12-31 06:36:21 - At svn revision 260107
TB --- 2013-12-31 06:36:22 - building world
TB --- 2013-12-31 06:36:22 - CROSS_BUILD_TESTING=YES
TB --- 2013-12-31 06:36:22 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-12-31 06:36:22 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-12-31 06:36:22 - SRCCONF=/dev/null
TB --- 2013-12-31 06:36:22 - TARGET=sparc64
TB --- 2013-12-31 06:36:22 - TARGET_ARCH=sparc64
TB --- 2013-12-31 06:36:22 - TZ=UTC
TB --- 2013-12-31 06:36:22 - __MAKE_CONF=/dev/null
TB --- 2013-12-31 06:36:22 - cd /src
TB --- 2013-12-31 06:36:22 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Tue Dec 31 06:36:29 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Tue Dec 31 07:42:35 UTC 2013
TB --- 2013-12-31 07:42:35 - generating LINT kernel config
TB --- 2013-12-31 07:42:35 - cd /src/sys/sparc64/conf
TB --- 2013-12-31 07:42:35 - /usr/bin/make -B LINT
TB --- 2013-12-31 07:42:35 - cd /src/sys/sparc64/conf
TB --- 2013-12-31 07:42:35 - /usr/sbin/config -m LINT
TB --- 2013-12-31 07:42:35 - building LINT kernel
TB --- 2013-12-31 07:42:35 - CROSS_BUILD_TESTING=YES
TB --- 2013-12-31 07:42:35 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-12-31 07:42:35 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-12-31 07:42:35 - SRCCONF=/dev/null
TB --- 2013-12-31 07:42:35 - TARGET=sparc64
TB --- 2013-12-31 07:42:35 - TARGET_ARCH=sparc64
TB --- 2013-12-31 07:42:35 - TZ=UTC
TB --- 2013-12-31 07:42:35 - __MAKE_CONF=/dev/null
TB --- 2013-12-31 07:42:35 - cd /src
TB --- 2013-12-31 07:42:35 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Tue Dec 31 07:42:35 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc  -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  /src/sys/dev/ti/if_ti.c
cc  -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  /src/sys/dev/tl/if_tl.c
cc  -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  /src/sys/dev/trm/trm.c
/src/sys/dev/trm/trm.c: In function 'trm_attach':
/src/sys/dev/trm/trm.c:3522: internal compiler error: in create_mem_ref, at 
tree-ssa-address.c:606
Please submit a full bug report,
with preprocessed source if appropriate.
See http://www.freebsd.org/send-pr.html> for instructions.
*** Error code 1

Stop.
bmake[1]: stopped in /obj/sparc64.sparc64/src/sys/LINT
*** Error code 1

Stop.
bmake: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-12-31 07:49:36 - WARNING: /usr/bin/make returned