[head tinderbox] failure on ia64/ia64

2014-06-30 Thread FreeBSD Tinderbox
TB --- 2014-06-30 13:59:54 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-30 13:59:54 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-30 13:59:54 - starting HEAD tinderbox run for ia64/ia64
TB --- 2014-06-30 13:59:54 - cleaning the object tree
TB --- 2014-06-30 13:59:54 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-30 14:00:24 - At svn revision 268030
TB --- 2014-06-30 14:00:25 - building world
TB --- 2014-06-30 14:00:25 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-30 14:00:25 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-30 14:00:25 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-30 14:00:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-30 14:00:25 - SRCCONF=/dev/null
TB --- 2014-06-30 14:00:25 - TARGET=ia64
TB --- 2014-06-30 14:00:25 - TARGET_ARCH=ia64
TB --- 2014-06-30 14:00:25 - TZ=UTC
TB --- 2014-06-30 14:00:25 - __MAKE_CONF=/dev/null
TB --- 2014-06-30 14:00:25 - cd /src
TB --- 2014-06-30 14:00:25 - /usr/bin/make -B buildworld
>>> Building an up-to-date bmake(1)
>>> World build started on Mon Jun 30 14:00:33 UTC 2014
>>> 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 Jun 30 15:35:32 UTC 2014
TB --- 2014-06-30 15:35:32 - generating LINT kernel config
TB --- 2014-06-30 15:35:32 - cd /src/sys/ia64/conf
TB --- 2014-06-30 15:35:32 - /usr/bin/make -B LINT
TB --- 2014-06-30 15:35:32 - cd /src/sys/ia64/conf
TB --- 2014-06-30 15:35:32 - /obj/ia64.ia64/src/tmp/legacy/usr/sbin/config -m 
LINT
TB --- 2014-06-30 15:35:32 - building LINT kernel
TB --- 2014-06-30 15:35:32 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-30 15:35:32 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-30 15:35:32 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-30 15:35:32 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-30 15:35:32 - SRCCONF=/dev/null
TB --- 2014-06-30 15:35:32 - TARGET=ia64
TB --- 2014-06-30 15:35:32 - TARGET_ARCH=ia64
TB --- 2014-06-30 15:35:32 - TZ=UTC
TB --- 2014-06-30 15:35:32 - __MAKE_CONF=/dev/null
TB --- 2014-06-30 15:35:32 - cd /src
TB --- 2014-06-30 15:35:32 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Mon Jun 30 15:35:32 UTC 2014
>>> 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 -b binary --no-warn-mismatch -d -warn-common -r  -o t5fw_cfg.fwo t5fw_cfg.fw
uudecode -o t5fw.fw /src/sys/dev/cxgbe/firmware/t5fw-1.11.27.0.bin.uu
ld -b binary --no-warn-mismatch -d -warn-common -r  -o t5fw.fwo t5fw.fw
cc  -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-builtin -mconstant-gp 
-ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -Werror  /src/sys/dev/dc/if_dc.c
cc  -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-builtin -mconstant-gp 
-ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -Werror  /src/sys/dev/dc/dcphy.c
cc  -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-builtin -mconstant-gp 
-ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -Werror  /src/sys/dev/dc/pnphy.c
cc  -c -O2 -pipe 

pkg-static: sqlite: foreign key constraint failed

2014-06-30 Thread O. Hartmann
On FreeBSD CURRENT
(FreeBSD 11.0-CURRENT #0 r268015: Sun Jun 29 11:44:42 CEST 2014 amd64)
with a most recent set of installed ports and ports tree, I receive this sticky 
problem
when updating one port:

===>  Installing for windowmaker-0.95.5_4
===>   Registering installation for windowmaker-0.95.5_4
Installing windowmaker-0.95.5_4...pkg-static: sqlite: foreign key constraint 
failed
*** Error code 70

Is there a way to repair this problem? I tried to reinstall everything 
windowmaker
related and/or deinstall windowmaker completely and reinstall it but this error 
messages
remains.

Thanks.

Oliver


signature.asc
Description: PGP signature


[head tinderbox] failure on mips64/mips

2014-06-30 Thread FreeBSD Tinderbox
TB --- 2014-06-30 14:49:06 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-30 14:49:06 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-30 14:49:06 - starting HEAD tinderbox run for mips64/mips
TB --- 2014-06-30 14:49:07 - cleaning the object tree
TB --- 2014-06-30 14:49:07 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-30 14:49:10 - At svn revision 268030
TB --- 2014-06-30 14:49:11 - building world
TB --- 2014-06-30 14:49:11 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-30 14:49:11 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-30 14:49:11 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-30 14:49:11 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-30 14:49:11 - SRCCONF=/dev/null
TB --- 2014-06-30 14:49:11 - TARGET=mips
TB --- 2014-06-30 14:49:11 - TARGET_ARCH=mips64
TB --- 2014-06-30 14:49:11 - TZ=UTC
TB --- 2014-06-30 14:49:11 - __MAKE_CONF=/dev/null
TB --- 2014-06-30 14:49:11 - cd /src
TB --- 2014-06-30 14:49:11 - /usr/bin/make -B buildworld
>>> Building an up-to-date bmake(1)
>>> World build started on Mon Jun 30 14:49:19 UTC 2014
>>> 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 Jun 30 15:53:03 UTC 2014
TB --- 2014-06-30 15:53:03 - cd /src/sys/mips/conf
TB --- 2014-06-30 15:53:03 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
ADM5120
TB --- 2014-06-30 15:53:03 - skipping ADM5120 kernel
TB --- 2014-06-30 15:53:03 - cd /src/sys/mips/conf
TB --- 2014-06-30 15:53:03 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
ALCHEMY
TB --- 2014-06-30 15:53:03 - skipping ALCHEMY kernel
TB --- 2014-06-30 15:53:03 - cd /src/sys/mips/conf
TB --- 2014-06-30 15:53:03 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
ALFA_HORNET_UB
TB --- 2014-06-30 15:53:03 - skipping ALFA_HORNET_UB kernel
TB --- 2014-06-30 15:53:03 - cd /src/sys/mips/conf
TB --- 2014-06-30 15:53:03 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AP121
TB --- 2014-06-30 15:53:03 - skipping AP121 kernel
TB --- 2014-06-30 15:53:03 - cd /src/sys/mips/conf
TB --- 2014-06-30 15:53:03 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AP91
TB --- 2014-06-30 15:53:03 - skipping AP91 kernel
TB --- 2014-06-30 15:53:03 - cd /src/sys/mips/conf
TB --- 2014-06-30 15:53:03 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AP93
TB --- 2014-06-30 15:53:03 - skipping AP93 kernel
TB --- 2014-06-30 15:53:03 - cd /src/sys/mips/conf
TB --- 2014-06-30 15:53:03 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AP94
TB --- 2014-06-30 15:53:03 - skipping AP94 kernel
TB --- 2014-06-30 15:53:03 - cd /src/sys/mips/conf
TB --- 2014-06-30 15:53:03 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AP96
TB --- 2014-06-30 15:53:03 - skipping AP96 kernel
TB --- 2014-06-30 15:53:03 - cd /src/sys/mips/conf
TB --- 2014-06-30 15:53:03 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AR71XX_BASE
TB --- 2014-06-30 15:53:03 - skipping AR71XX_BASE kernel
TB --- 2014-06-30 15:53:03 - cd /src/sys/mips/conf
TB --- 2014-06-30 15:53:03 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AR724X_BASE
TB --- 2014-06-30 15:53:03 - skipping AR724X_BASE kernel
TB --- 2014-06-30 15:53:03 - cd /src/sys/mips/conf
TB --- 2014-06-30 15:53:03 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AR91XX_BASE
TB --- 2014-06-30 15:53:03 - skipping AR91XX_BASE kernel
TB --- 2014-06-30 15:53:03 - cd /src/sys/mips/conf
TB --- 2014-06-30 15:53:03 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AR933X_BASE
TB --- 2014-06-30 15:53:03 - skipping AR933X_BASE kernel
TB --- 2014-06-30 15:53:03 - cd /src/sys/mips/conf
TB --- 2014-06-30 15:53:03 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AR934X_BASE
TB --- 2014-06-30 15:53:03 - skipping AR934X_BASE kernel
TB --- 2014-06-30 15:53:03 - cd /src/sys/mips/conf
TB --- 2014-06-30 15:53:03 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
BERI_DE4_BASE
TB --- 2014-06-30 15:53:03 - building BERI_DE4_BASE kernel
TB --- 2014-06-30 15:53:03 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-30 15:53:03 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-30 15:53:03 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-30 15:53:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-30 15:53:03 - SRCCONF=/dev/null
TB --- 2014-06-30 15:53:03 - TARGET=mips
TB --- 2014-06-30 15:53:03 - TARGET_ARCH=mips64
TB --- 2014-06-30 15:53:03 - TZ=UTC
TB --- 2014-06-30 15:53:03 - __MAKE_CONF=/dev/null
TB --- 2014-06-30 15:53:03 - cd /src
TB --- 2014-06-30 15:53:03 - /usr/bin/make -B buildkernel KERNCONF=BERI_DE4_BASE
>>> Kernel build for BERI_DE4_B

Re: pkg-static: sqlite: foreign key constraint failed

2014-06-30 Thread Bryan Drewery

Moving to pkg@

On 6/30/14, 10:48 AM, O. Hartmann wrote:

On FreeBSD CURRENT
(FreeBSD 11.0-CURRENT #0 r268015: Sun Jun 29 11:44:42 CEST 2014 amd64)
with a most recent set of installed ports and ports tree, I receive this sticky 
problem
when updating one port:

===>  Installing for windowmaker-0.95.5_4
===>   Registering installation for windowmaker-0.95.5_4
Installing windowmaker-0.95.5_4...pkg-static: sqlite: foreign key constraint 
failed
*** Error code 70

Is there a way to repair this problem? I tried to reinstall everything 
windowmaker
related and/or deinstall windowmaker completely and reinstall it but this error 
messages
remains.

Thanks.

Oliver

What pkg version?

--
Regards,
Bryan Drewery

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


Fix Emulex "oce" driver in CURRENT

2014-06-30 Thread Stefano Garzarella
Hello,
I had problems during some experiments with Emulex and "oce" driver in
CURRENT.
I found several bugs in the "oce" driver and this patch fixes them.

- oce_multiq_start(): if the link is down returns ENXIO without consuming
the mbuf.
  A trivial fix is to remove the initial error check, since
oce_multiq_transmit() which is
  called next handles the link down situation correctly.
- oce_multiq_transmit(): there is an extra call to drbr_enqueue() causing
the
  mbuf to be enqueued twice when the NIC's queue is full.
- oce_multiq_transmit(): same problem fixed recently in ixgbe (r267187) and
other drivers:
  if the mbuf is enqueued, the proper return value is 0

This patch has been reviewed by luigi (in cc).

If someone could have a look on this and give me some feedback it would be
great.

Regards,
Stefano Garzarella



 diff --git a/sys/dev/oce/oce_if.c b/sys/dev/oce/oce_if.c
 index 70d6393..af57491 100644
 --- a/sys/dev/oce/oce_if.c
 +++ b/sys/dev/oce/oce_if.c
 @@ -563,9 +563,6 @@ oce_multiq_start(struct ifnet *ifp, struct mbuf *m)
 int queue_index = 0;
 int status = 0;

 -   if (!sc->link_status)
 -   return ENXIO;
 -
 if ((m->m_flags & M_FLOWID) != 0)
 queue_index = m->m_pkthdr.flowid % sc->nwqs;

 @@ -1274,7 +1271,6 @@ oce_multiq_transmit(struct ifnet *ifp, struct mbuf
*m, struct oce_wq *wq)
 drbr_putback(ifp, br, next);
 wq->tx_stats.tx_stops ++;
 ifp->if_drv_flags |= IFF_DRV_OACTIVE;
 -   status = drbr_enqueue(ifp, br, next);
 }
 break;
 }
 @@ -1285,7 +1281,7 @@ oce_multiq_transmit(struct ifnet *ifp, struct mbuf
*m, struct oce_wq *wq)
 ETHER_BPF_MTAP(ifp, next);
 }

 -   return status;
 +   return 0;
  }
___
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

2014-06-30 Thread FreeBSD Tinderbox
TB --- 2014-06-30 16:18:56 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-30 16:18:56 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-30 16:18:56 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2014-06-30 16:18:56 - cleaning the object tree
TB --- 2014-06-30 16:18:56 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-30 16:18:59 - At svn revision 268030
TB --- 2014-06-30 16:19:00 - building world
TB --- 2014-06-30 16:19:00 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-30 16:19:00 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-30 16:19:00 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-30 16:19:00 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-30 16:19:00 - SRCCONF=/dev/null
TB --- 2014-06-30 16:19:00 - TARGET=sparc64
TB --- 2014-06-30 16:19:00 - TARGET_ARCH=sparc64
TB --- 2014-06-30 16:19:00 - TZ=UTC
TB --- 2014-06-30 16:19:00 - __MAKE_CONF=/dev/null
TB --- 2014-06-30 16:19:00 - cd /src
TB --- 2014-06-30 16:19:00 - /usr/bin/make -B buildworld
>>> Building an up-to-date bmake(1)
>>> World build started on Mon Jun 30 16:19:07 UTC 2014
>>> 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 Jun 30 17:29:15 UTC 2014
TB --- 2014-06-30 17:29:15 - generating LINT kernel config
TB --- 2014-06-30 17:29:15 - cd /src/sys/sparc64/conf
TB --- 2014-06-30 17:29:15 - /usr/bin/make -B LINT
TB --- 2014-06-30 17:29:16 - cd /src/sys/sparc64/conf
TB --- 2014-06-30 17:29:16 - 
/obj/sparc64.sparc64/src/tmp/legacy/usr/sbin/config -m LINT
TB --- 2014-06-30 17:29:16 - building LINT kernel
TB --- 2014-06-30 17:29:16 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-30 17:29:16 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-30 17:29:16 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-30 17:29:16 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-30 17:29:16 - SRCCONF=/dev/null
TB --- 2014-06-30 17:29:16 - TARGET=sparc64
TB --- 2014-06-30 17:29:16 - TARGET_ARCH=sparc64
TB --- 2014-06-30 17:29:16 - TZ=UTC
TB --- 2014-06-30 17:29:16 - __MAKE_CONF=/dev/null
TB --- 2014-06-30 17:29:16 - cd /src
TB --- 2014-06-30 17:29:16 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Mon Jun 30 17:29:16 UTC 2014
>>> 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 -b binary --no-warn-mismatch -d -warn-common -r  -o t5fw_cfg.fwo t5fw_cfg.fw
uudecode -o t5fw.fw /src/sys/dev/cxgbe/firmware/t5fw-1.11.27.0.bin.uu
ld -b binary --no-warn-mismatch -d -warn-common -r  -o t5fw.fwo t5fw.fw
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-builtin -ffreestanding -fstack-protector -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -mcmodel=medany -msoft-float -Werror  
/src/sys/dev/dc/if_dc.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-builtin -ffreestanding -fstack-protector -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -mcmodel=medany -msoft-float -Werror  
/src/sys/dev/dc/dcphy.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-builtin -ffreestanding -fstack-protector -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -mcmodel=medany -msoft-float -Werror  
/src/sys/dev/dc/pnphy.c
cc  -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmi

Re: Fix Emulex "oce" driver in CURRENT

2014-06-30 Thread John Baldwin
On Monday, June 30, 2014 12:36:22 pm Stefano Garzarella wrote:
> Hello,
> I had problems during some experiments with Emulex and "oce" driver in
> CURRENT.
> I found several bugs in the "oce" driver and this patch fixes them.
> 
> - oce_multiq_start(): if the link is down returns ENXIO without consuming
> the mbuf.
>   A trivial fix is to remove the initial error check, since
> oce_multiq_transmit() which is
>   called next handles the link down situation correctly.
> - oce_multiq_transmit(): there is an extra call to drbr_enqueue() causing
> the
>   mbuf to be enqueued twice when the NIC's queue is full.
> - oce_multiq_transmit(): same problem fixed recently in ixgbe (r267187) and
> other drivers:
>   if the mbuf is enqueued, the proper return value is 0
> 
> This patch has been reviewed by luigi (in cc).
> 
> If someone could have a look on this and give me some feedback it would be
> great.

I think these sound fine, but I've cc'd Xin Li (delphij@) who has worked with
folks at Emulex to maintain this driver.  He is probably the best person to
review this.

> Regards,
> Stefano Garzarella
> 
> 
> 
>  diff --git a/sys/dev/oce/oce_if.c b/sys/dev/oce/oce_if.c
>  index 70d6393..af57491 100644
>  --- a/sys/dev/oce/oce_if.c
>  +++ b/sys/dev/oce/oce_if.c
>  @@ -563,9 +563,6 @@ oce_multiq_start(struct ifnet *ifp, struct mbuf *m)
>  int queue_index = 0;
>  int status = 0;
> 
>  -   if (!sc->link_status)
>  -   return ENXIO;
>  -
>  if ((m->m_flags & M_FLOWID) != 0)
>  queue_index = m->m_pkthdr.flowid % sc->nwqs;
> 
>  @@ -1274,7 +1271,6 @@ oce_multiq_transmit(struct ifnet *ifp, struct mbuf
> *m, struct oce_wq *wq)
>  drbr_putback(ifp, br, next);
>  wq->tx_stats.tx_stops ++;
>  ifp->if_drv_flags |= IFF_DRV_OACTIVE;
>  -   status = drbr_enqueue(ifp, br, next);
>  }
>  break;
>  }
>  @@ -1285,7 +1281,7 @@ oce_multiq_transmit(struct ifnet *ifp, struct mbuf
> *m, struct oce_wq *wq)
>  ETHER_BPF_MTAP(ifp, next);
>  }
> 
>  -   return status;
>  +   return 0;
>   }
> ___
> 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"
> 

-- 
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"


vmmapi.h

2014-06-30 Thread Bruno Lauzé

building from trunk:
usr.sbin/bhyve/pci_emul.c is picking up old vmmapi.h from /usr/include/vmmapi.h 
instead source one:
for me it results vm_get_lowmem_size and vm_get_highmem_size missing... 
any ideas? I think we need to include lib/libvmmapi folder so includes are kept 
from /usr/include ones.

  
___
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: vmmapi.h

2014-06-30 Thread John Baldwin
On Monday, June 30, 2014 2:03:35 pm Bruno Lauzé wrote:
> 
> building from trunk:
> usr.sbin/bhyve/pci_emul.c is picking up old vmmapi.h from 
/usr/include/vmmapi.h instead source one:
> for me it results vm_get_lowmem_size and vm_get_highmem_size missing... 
> any ideas? I think we need to include lib/libvmmapi folder so includes are 
kept from /usr/include ones.

Are you using 'make buildworld'?  'make buildworld' will not use /usr/include 
(it builds a new one).  If you have updated your source tree and are just 
trying to do 'make' in usr.sbin/bhyve that is indeed not going to work.  Use 
buildworld instead.

-- 
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"


unknown option "VT_MAXWINDOWS"

2014-06-30 Thread O. Hartmann
I tried today the new vt console in CURRENT and followed the steps described in 
the
manpage. Trying to compile a kernel with 

options VT_MAXWINDOWS=10

issues an error:

unknown option "VT_MAXWINDOWS"

What is wrong?


signature.asc
Description: PGP signature


[head tinderbox] failure on powerpc/powerpc

2014-06-30 Thread FreeBSD Tinderbox
TB --- 2014-06-30 15:42:42 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-30 15:42:42 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-30 15:42:42 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2014-06-30 15:42:42 - cleaning the object tree
TB --- 2014-06-30 15:42:42 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-30 15:42:46 - At svn revision 268030
TB --- 2014-06-30 15:42:47 - building world
TB --- 2014-06-30 15:42:47 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-30 15:42:47 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-30 15:42:47 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-30 15:42:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-30 15:42:47 - SRCCONF=/dev/null
TB --- 2014-06-30 15:42:47 - TARGET=powerpc
TB --- 2014-06-30 15:42:47 - TARGET_ARCH=powerpc
TB --- 2014-06-30 15:42:47 - TZ=UTC
TB --- 2014-06-30 15:42:47 - __MAKE_CONF=/dev/null
TB --- 2014-06-30 15:42:47 - cd /src
TB --- 2014-06-30 15:42:47 - /usr/bin/make -B buildworld
>>> Building an up-to-date bmake(1)
>>> World build started on Mon Jun 30 15:42:55 UTC 2014
>>> 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 Jun 30 19:23:32 UTC 2014
TB --- 2014-06-30 19:23:32 - generating LINT kernel config
TB --- 2014-06-30 19:23:32 - cd /src/sys/powerpc/conf
TB --- 2014-06-30 19:23:32 - /usr/bin/make -B LINT
TB --- 2014-06-30 19:23:33 - cd /src/sys/powerpc/conf
TB --- 2014-06-30 19:23:33 - 
/obj/powerpc.powerpc/src/tmp/legacy/usr/sbin/config -m LINT
TB --- 2014-06-30 19:23:33 - building LINT kernel
TB --- 2014-06-30 19:23:33 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-30 19:23:33 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-30 19:23:33 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-30 19:23:33 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-30 19:23:33 - SRCCONF=/dev/null
TB --- 2014-06-30 19:23:33 - TARGET=powerpc
TB --- 2014-06-30 19:23:33 - TARGET_ARCH=powerpc
TB --- 2014-06-30 19:23:33 - TZ=UTC
TB --- 2014-06-30 19:23:33 - __MAKE_CONF=/dev/null
TB --- 2014-06-30 19:23:33 - cd /src
TB --- 2014-06-30 19:23:33 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Mon Jun 30 19:23:33 UTC 2014
>>> 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 -b binary --no-warn-mismatch -d -warn-common -r  -o t4fw.fwo t4fw.fw
cc  -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer 
-msoft-float -mno-altivec -ffreestanding -fstack-protector -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -c t5fw_cfg.c
cp /src/sys/dev/cxgbe/firmware/t5fw_cfg.txt t5fw_cfg.fw
ld -b binary --no-warn-mismatch -d -warn-common -r  -o t5fw_cfg.fwo t5fw_cfg.fw
uudecode -o t5fw.fw /src/sys/dev/cxgbe/firmware/t5fw-1.11.27.0.bin.uu
ld -b binary --no-warn-mismatch -d -warn-common -r  -o t5fw.fwo t5fw.fw
cc  -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer 
-msoft-float -mno-altivec -ffreestanding -fstack-protector -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -Werror  /src/sys/dev/dc/if_dc.c
cc  -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer 
-msoft-float -mno-altivec -ffreestanding -fstack-protector 

[head tinderbox] failure on powerpc64/powerpc

2014-06-30 Thread FreeBSD Tinderbox
TB --- 2014-06-30 16:02:17 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-30 16:02:17 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-30 16:02:17 - starting HEAD tinderbox run for powerpc64/powerpc
TB --- 2014-06-30 16:02:17 - cleaning the object tree
TB --- 2014-06-30 16:03:52 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-30 16:03:55 - At svn revision 268030
TB --- 2014-06-30 16:03:56 - building world
TB --- 2014-06-30 16:03:56 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-30 16:03:56 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-30 16:03:56 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-30 16:03:56 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-30 16:03:56 - SRCCONF=/dev/null
TB --- 2014-06-30 16:03:56 - TARGET=powerpc
TB --- 2014-06-30 16:03:56 - TARGET_ARCH=powerpc64
TB --- 2014-06-30 16:03:56 - TZ=UTC
TB --- 2014-06-30 16:03:56 - __MAKE_CONF=/dev/null
TB --- 2014-06-30 16:03:56 - cd /src
TB --- 2014-06-30 16:03:56 - /usr/bin/make -B buildworld
>>> Building an up-to-date bmake(1)
>>> World build started on Mon Jun 30 16:04:03 UTC 2014
>>> 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 Mon Jun 30 20:17:55 UTC 2014
TB --- 2014-06-30 20:17:55 - generating LINT kernel config
TB --- 2014-06-30 20:17:55 - cd /src/sys/powerpc/conf
TB --- 2014-06-30 20:17:55 - /usr/bin/make -B LINT
TB --- 2014-06-30 20:17:55 - cd /src/sys/powerpc/conf
TB --- 2014-06-30 20:17:55 - 
/obj/powerpc.powerpc64/src/tmp/legacy/usr/sbin/config -m LINT
TB --- 2014-06-30 20:17:55 - skipping LINT kernel
TB --- 2014-06-30 20:17:55 - cd /src/sys/powerpc/conf
TB --- 2014-06-30 20:17:55 - 
/obj/powerpc.powerpc64/src/tmp/legacy/usr/sbin/config -m GENERIC
TB --- 2014-06-30 20:17:55 - skipping GENERIC kernel
TB --- 2014-06-30 20:17:55 - cd /src/sys/powerpc/conf
TB --- 2014-06-30 20:17:55 - 
/obj/powerpc.powerpc64/src/tmp/legacy/usr/sbin/config -m GENERIC64
TB --- 2014-06-30 20:17:55 - building GENERIC64 kernel
TB --- 2014-06-30 20:17:55 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-30 20:17:55 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-30 20:17:55 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-30 20:17:55 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-30 20:17:55 - SRCCONF=/dev/null
TB --- 2014-06-30 20:17:55 - TARGET=powerpc
TB --- 2014-06-30 20:17:55 - TARGET_ARCH=powerpc64
TB --- 2014-06-30 20:17:55 - TZ=UTC
TB --- 2014-06-30 20:17:55 - __MAKE_CONF=/dev/null
TB --- 2014-06-30 20:17:55 - cd /src
TB --- 2014-06-30 20:17:55 - /usr/bin/make -B buildkernel KERNCONF=GENERIC64
>>> Kernel build for GENERIC64 started on Mon Jun 30 20:17:55 UTC 2014
>>> 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
--
cd /obj/powerpc.powerpc64/src/sys/GENERIC64; 
MAKEOBJDIRPREFIX=/obj/powerpc.powerpc64  MACHINE_ARCH=powerpc64  
MACHINE=powerpc  CPUTYPE= 
GROFF_BIN_PATH=/obj/powerpc.powerpc64/src/tmp/legacy/usr/bin  
GROFF_FONT_PATH=/obj/powerpc.powerpc64/src/tmp/legacy/usr/share/groff_font  
GROFF_TMAC_PATH=/obj/powerpc.powerpc64/src/tmp/legacy/usr/share/tmac  
_SHLIBDIRPREFIX=/obj/powerpc.powerpc64/src/tmp  _LDSCRIPTROOT=  
VERSION="FreeBSD 11.0-CURRENT powerpc64 1100024"  INSTALL="sh 
/src/tools/install.sh"  
PATH=/obj/powerpc.powerpc64/src/tmp/legacy/usr/sbin:/obj/powerpc.powerpc64/src/tmp/legacy/usr/bin:/obj/powerpc.powerpc64/src/tmp/legacy/usr/games:/obj/powerpc.powerpc64/src/tmp/legacy/bin:/obj/powerpc.powerpc64/src/tmp/usr/sbin:/obj/powerpc.powerpc64/src/tmp/usr/bin:/obj/powerpc.powerpc64/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 CC="cc " CXX="c++ "  CPP="cpp "  AS="as" AR="ar" LD="ld" NM=nm  OBJDUMP= 
RANLIB=ranlib STRINGS= /obj/src/make.amd64/bmake  -B -m /src/share/mk  
KERNEL=kernel!
  all -DNO_MODULES_OBJ
cc  -c -x assembler-with-cpp -DLOCORE -O -pipe  -std=c99 -g -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option   
-nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt 
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -msoft-float 
-Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc 
-ffreestanding -fstack-protector -gdwarf-2 -fno-commo

Re: unknown option "VT_MAXWINDOWS"

2014-06-30 Thread Ed Maste
On 30 June 2014 15:17, O. Hartmann  wrote:
> I tried today the new vt console in CURRENT and followed the steps described 
> in the
> manpage. Trying to compile a kernel with
>
> options VT_MAXWINDOWS=10
>
> issues an error:
>
> unknown option "VT_MAXWINDOWS"
>
> What is wrong?

Sorry about that. These were missing in the options definition file,
now corrected in r268059.
http://svnweb.freebsd.org/base?view=revision&revision=268059

If you update again it should be fine.

-Ed
___
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: PostgreSQL performance on FreeBSD

2014-06-30 Thread Rang, Anton
Thanks for this.

The cpu_search problem you reference came up here at Isilon as well.  Here's a 
patch which should get clang to do the "right thing" (inlining 3 specialized 
copies of cpu_search); I haven't checked to make sure it doesn't hurt gcc, 
though.

Anton

Index: sched_ule.c
===
--- sched_ule.c (revision 268043)
+++ sched_ule.c (working copy)
@@ -622,11 +622,11 @@
for ((cpu) = 0; (cpu) <= mp_maxid; (cpu)++) \
if (CPU_ISSET(cpu, &mask))
 
-static __inline int cpu_search(const struct cpu_group *cg, struct cpu_search 
*low,
+static __always_inline int cpu_search(const struct cpu_group *cg, struct 
cpu_search *low,
 struct cpu_search *high, const int match);
-int cpu_search_lowest(const struct cpu_group *cg, struct cpu_search *low);
-int cpu_search_highest(const struct cpu_group *cg, struct cpu_search *high);
-int cpu_search_both(const struct cpu_group *cg, struct cpu_search *low,
+int __noinline cpu_search_lowest(const struct cpu_group *cg, struct cpu_search 
*low);
+int __noinline cpu_search_highest(const struct cpu_group *cg, struct 
cpu_search *high);
+int __noinline cpu_search_both(const struct cpu_group *cg, struct cpu_search 
*low,
 struct cpu_search *high);
 
 /*
@@ -640,7 +640,7 @@
  * match argument.  It is reduced to the minimum set for each case.  It is
  * also recursive to the depth of the tree.
  */
-static __inline int
+static __always_inline int
 cpu_search(const struct cpu_group *cg, struct cpu_search *low,
 struct cpu_search *high, const int match)
 {

-Original Message-
From: owner-freebsd-curr...@freebsd.org 
[mailto:owner-freebsd-curr...@freebsd.org] On Behalf Of Konstantin Belousov
Sent: Friday, June 27, 2014 7:56 AM
To: performa...@freebsd.org
Cc: curr...@freebsd.org
Subject: PostgreSQL performance on FreeBSD

Hi,
I did some measurements and hacks to see about the performance and scalability 
of PostgreSQL 9.3 on FreeBSD, sponsored by The FreeBSD Foundation.

The results are described in https://kib.kiev.ua/kib/pgsql_perf.pdf.
The uncommitted patches, referenced in the article, are available as 
https://kib.kiev.ua/kib/pig1.patch.txt
https://kib.kiev.ua/kib/patch-2
___
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"


BAFUG July 10: libvirt virtualization API for controlling bhyve virtual machines

2014-06-30 Thread Craig Rodrigues
Hi,

On July 10, 2014, in Mountain View, California, I will be giving a brief
tech talk on:

"libvirt virtualization API for controlling bhyve virtual machines"

I have been testing the extensions that Roman Bogorodskiy 
has made to the lbivirt library for supporting bhyve.  I will talk about
my experiences with libvirt and bhyve.

Here are more details about the talk plus directions to the location:

http://www.meetup.com/BAFUG-Bay-Area-FreeBSD-User-Group/events/191061222/

Feel free to sign up on the meetup site and attend if you are in the area!
--
Craig
___
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: ucom_free Fatal trap on shutdown / module unload

2014-06-30 Thread Lundberg, Johannes
Hi Hans

Thanks for the uhso patch. That did the trick. Now reboot and kldunload
works fine.

--
Johannes Lundberg
BRILLIANTSERVICE CO., LTD.


On Tue, Jul 1, 2014 at 2:33 PM, Hans Petter Selasky  wrote:

> Hi,
>
> Try the attached patch. Does it make any difference?
>
> --HPS
>

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.
___
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: ucom_free Fatal trap on shutdown / module unload

2014-06-30 Thread Hans Petter Selasky

Hi,

Try the attached patch. Does it make any difference?

--HPS
=== uhso.c
==
--- uhso.c	(revision 268059)
+++ uhso.c	(local)
@@ -559,8 +559,6 @@
 	mtx_init(&sc->sc_mtx, "uhso", NULL, MTX_DEF);
 	ucom_ref(&sc->sc_super_ucom);
 
-	sc->sc_ucom = NULL;
-	sc->sc_ttys = 0;
 	sc->sc_radio = 1;
 
 	id = usbd_get_interface_descriptor(uaa->iface);
@@ -680,9 +678,6 @@
 UHSO_CTRL_MAX);
 			}
 		}
-
-		free(sc->sc_tty, M_USBDEV);
-		free(sc->sc_ucom, M_USBDEV);
 	}
 
 	if (sc->sc_ifp != NULL) {
@@ -710,6 +705,8 @@
 uhso_free_softc(struct uhso_softc *sc)
 {
 	if (ucom_unref(&sc->sc_super_ucom)) {
+		free(sc->sc_tty, M_USBDEV);
+		free(sc->sc_ucom, M_USBDEV);
 		mtx_destroy(&sc->sc_mtx);
 		device_free_softc(sc);
 	}
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

[head tinderbox] failure on ia64/ia64

2014-06-30 Thread FreeBSD Tinderbox
TB --- 2014-07-01 04:07:43 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-07-01 04:07:43 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-07-01 04:07:43 - starting HEAD tinderbox run for ia64/ia64
TB --- 2014-07-01 04:07:43 - cleaning the object tree
TB --- 2014-07-01 04:08:53 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-07-01 04:09:22 - At svn revision 268065
TB --- 2014-07-01 04:09:23 - building world
TB --- 2014-07-01 04:09:23 - CROSS_BUILD_TESTING=YES
TB --- 2014-07-01 04:09:23 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-07-01 04:09:23 - MAKESYSPATH=/src/share/mk
TB --- 2014-07-01 04:09:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-07-01 04:09:23 - SRCCONF=/dev/null
TB --- 2014-07-01 04:09:23 - TARGET=ia64
TB --- 2014-07-01 04:09:23 - TARGET_ARCH=ia64
TB --- 2014-07-01 04:09:23 - TZ=UTC
TB --- 2014-07-01 04:09:23 - __MAKE_CONF=/dev/null
TB --- 2014-07-01 04:09:23 - cd /src
TB --- 2014-07-01 04:09:23 - /usr/bin/make -B buildworld
>>> Building an up-to-date bmake(1)
>>> World build started on Tue Jul  1 04:09:32 UTC 2014
>>> 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 Jul  1 05:43:41 UTC 2014
TB --- 2014-07-01 05:43:41 - generating LINT kernel config
TB --- 2014-07-01 05:43:41 - cd /src/sys/ia64/conf
TB --- 2014-07-01 05:43:41 - /usr/bin/make -B LINT
TB --- 2014-07-01 05:43:41 - cd /src/sys/ia64/conf
TB --- 2014-07-01 05:43:41 - /obj/ia64.ia64/src/tmp/legacy/usr/sbin/config -m 
LINT
TB --- 2014-07-01 05:43:41 - building LINT kernel
TB --- 2014-07-01 05:43:41 - CROSS_BUILD_TESTING=YES
TB --- 2014-07-01 05:43:41 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-07-01 05:43:41 - MAKESYSPATH=/src/share/mk
TB --- 2014-07-01 05:43:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-07-01 05:43:41 - SRCCONF=/dev/null
TB --- 2014-07-01 05:43:41 - TARGET=ia64
TB --- 2014-07-01 05:43:41 - TARGET_ARCH=ia64
TB --- 2014-07-01 05:43:41 - TZ=UTC
TB --- 2014-07-01 05:43:41 - __MAKE_CONF=/dev/null
TB --- 2014-07-01 05:43:41 - cd /src
TB --- 2014-07-01 05:43:41 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Tue Jul  1 05:43:41 UTC 2014
>>> 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 -b binary --no-warn-mismatch -d -warn-common -r  -o t5fw_cfg.fwo t5fw_cfg.fw
uudecode -o t5fw.fw /src/sys/dev/cxgbe/firmware/t5fw-1.11.27.0.bin.uu
ld -b binary --no-warn-mismatch -d -warn-common -r  -o t5fw.fwo t5fw.fw
cc  -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-builtin -mconstant-gp 
-ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -Werror  /src/sys/dev/dc/if_dc.c
cc  -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-builtin -mconstant-gp 
-ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -Werror  /src/sys/dev/dc/dcphy.c
cc  -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
-I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-builtin -mconstant-gp 
-ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -Werror  /src/sys/dev/dc/pnphy.c
cc  -c -O2 -pipe 

[head tinderbox] failure on mips64/mips

2014-06-30 Thread FreeBSD Tinderbox
TB --- 2014-07-01 04:33:16 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-07-01 04:33:16 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-07-01 04:33:16 - starting HEAD tinderbox run for mips64/mips
TB --- 2014-07-01 04:33:16 - cleaning the object tree
TB --- 2014-07-01 04:34:17 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-07-01 04:34:21 - At svn revision 268065
TB --- 2014-07-01 04:34:22 - building world
TB --- 2014-07-01 04:34:22 - CROSS_BUILD_TESTING=YES
TB --- 2014-07-01 04:34:22 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-07-01 04:34:22 - MAKESYSPATH=/src/share/mk
TB --- 2014-07-01 04:34:22 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-07-01 04:34:22 - SRCCONF=/dev/null
TB --- 2014-07-01 04:34:22 - TARGET=mips
TB --- 2014-07-01 04:34:22 - TARGET_ARCH=mips64
TB --- 2014-07-01 04:34:22 - TZ=UTC
TB --- 2014-07-01 04:34:22 - __MAKE_CONF=/dev/null
TB --- 2014-07-01 04:34:22 - cd /src
TB --- 2014-07-01 04:34:22 - /usr/bin/make -B buildworld
>>> Building an up-to-date bmake(1)
>>> World build started on Tue Jul  1 04:34:29 UTC 2014
>>> 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 Jul  1 05:36:08 UTC 2014
TB --- 2014-07-01 05:36:08 - cd /src/sys/mips/conf
TB --- 2014-07-01 05:36:08 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
ADM5120
TB --- 2014-07-01 05:36:08 - skipping ADM5120 kernel
TB --- 2014-07-01 05:36:08 - cd /src/sys/mips/conf
TB --- 2014-07-01 05:36:08 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
ALCHEMY
TB --- 2014-07-01 05:36:08 - skipping ALCHEMY kernel
TB --- 2014-07-01 05:36:08 - cd /src/sys/mips/conf
TB --- 2014-07-01 05:36:08 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
ALFA_HORNET_UB
TB --- 2014-07-01 05:36:08 - skipping ALFA_HORNET_UB kernel
TB --- 2014-07-01 05:36:08 - cd /src/sys/mips/conf
TB --- 2014-07-01 05:36:08 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AP121
TB --- 2014-07-01 05:36:08 - skipping AP121 kernel
TB --- 2014-07-01 05:36:08 - cd /src/sys/mips/conf
TB --- 2014-07-01 05:36:08 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AP91
TB --- 2014-07-01 05:36:08 - skipping AP91 kernel
TB --- 2014-07-01 05:36:08 - cd /src/sys/mips/conf
TB --- 2014-07-01 05:36:08 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AP93
TB --- 2014-07-01 05:36:08 - skipping AP93 kernel
TB --- 2014-07-01 05:36:08 - cd /src/sys/mips/conf
TB --- 2014-07-01 05:36:08 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AP94
TB --- 2014-07-01 05:36:08 - skipping AP94 kernel
TB --- 2014-07-01 05:36:08 - cd /src/sys/mips/conf
TB --- 2014-07-01 05:36:08 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AP96
TB --- 2014-07-01 05:36:08 - skipping AP96 kernel
TB --- 2014-07-01 05:36:08 - cd /src/sys/mips/conf
TB --- 2014-07-01 05:36:08 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AR71XX_BASE
TB --- 2014-07-01 05:36:08 - skipping AR71XX_BASE kernel
TB --- 2014-07-01 05:36:08 - cd /src/sys/mips/conf
TB --- 2014-07-01 05:36:08 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AR724X_BASE
TB --- 2014-07-01 05:36:08 - skipping AR724X_BASE kernel
TB --- 2014-07-01 05:36:08 - cd /src/sys/mips/conf
TB --- 2014-07-01 05:36:08 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AR91XX_BASE
TB --- 2014-07-01 05:36:08 - skipping AR91XX_BASE kernel
TB --- 2014-07-01 05:36:08 - cd /src/sys/mips/conf
TB --- 2014-07-01 05:36:08 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AR933X_BASE
TB --- 2014-07-01 05:36:08 - skipping AR933X_BASE kernel
TB --- 2014-07-01 05:36:08 - cd /src/sys/mips/conf
TB --- 2014-07-01 05:36:08 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AR934X_BASE
TB --- 2014-07-01 05:36:08 - skipping AR934X_BASE kernel
TB --- 2014-07-01 05:36:08 - cd /src/sys/mips/conf
TB --- 2014-07-01 05:36:08 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
BERI_DE4_BASE
TB --- 2014-07-01 05:36:08 - building BERI_DE4_BASE kernel
TB --- 2014-07-01 05:36:08 - CROSS_BUILD_TESTING=YES
TB --- 2014-07-01 05:36:08 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-07-01 05:36:08 - MAKESYSPATH=/src/share/mk
TB --- 2014-07-01 05:36:08 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-07-01 05:36:08 - SRCCONF=/dev/null
TB --- 2014-07-01 05:36:08 - TARGET=mips
TB --- 2014-07-01 05:36:08 - TARGET_ARCH=mips64
TB --- 2014-07-01 05:36:08 - TZ=UTC
TB --- 2014-07-01 05:36:08 - __MAKE_CONF=/dev/null
TB --- 2014-07-01 05:36:08 - cd /src
TB --- 2014-07-01 05:36:08 - /usr/bin/make -B buildkernel KERNCONF=BERI_DE4_BASE
>>> Kernel build for BERI_DE4_B