Re: Change for the worse in rsu wireless driver

2014-06-09 Thread Thomas Mueller
from Adrian Chadd:

 please bug freebsd-usb@ about flakey usb devices.

 I have a couple that i need to chase up hans about. they used to be less 
 flakey.

Flaky USB devices in FreeBSD, also NetBSD, are not limited to wireless adapters.

I get console messages about keyboard and mouse losing connection, when in many 
cases, mouse and keyboard are still working.

Now I think FreeBSD is topping NetBSD for flaky USB connections.

NetBSD has no support for Hiro H50191 wireless adapter, device rsu, but 
supports Atheros on-motherboard (quasi-)USB AR9271.

Most of the time, NetBSD fails to load firmware for this Atheros AR9271, error 
35, not allowing enough time, but sometimes the firmware loads.

Sorry to be late in responding, losing connection slows me down.

I've been updating FreeBSD-current and stable/10 from source, both amd64 and 
i386, whenever I see a change in rsu or re driver.

On MSI Z77 MPOWER motherboard, of open-source OSes, only Linux and NetBSD 
connect with Realtek 8111E/8168 Ethernet.

DragonFly newest release, 3.8.0, and OpenBSD 5.4, have same bug as does FreeBSD 
with this Ethernet.

I've also been busy installing NetBSD-current amd64 and i386, now on hard drive 
on other computer.

Now I wish I had installed NetBSD-current amd64 and i386 on this computer with 
MSI Z77 MPOWER motherboard before FreeBSD to have something to fall back on 
when FreeBSD misbehaves with Hiro H50191.

Remember, I needed to update NetBSD-current amd64 and packages, with 
subversion, using wired Ethernet, to checkout and update FreeBSD src, ports and 
doc trees; also had to buy a new wireless router when the Netgear router 
stopped working.

Tom

___
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


Jenkins build is back to normal : FreeBSD_HEAD #838

2014-06-09 Thread jenkins-admin
See https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/838/changes

___
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: netmap(4) transparent mode

2014-06-09 Thread Luigi Rizzo
On Mon, Jun 9, 2014 at 2:19 PM, Franco Fichtner fra...@lastsummer.de
wrote:

 Hi,

 here's a revised version of a patch to address a couple
 of issues with the transparent mode of netmap(4), which
 doesn't work in current and older stable branches:


 https://github.com/fichtner/freebsd/commit/b00580b03bf9dd847e4238dc0faabb349b1852a1.patch

 Posting this to a wider audience now, since I have no
 feedback from the maintainer yet.  Luigi is CC'ed again.


​ack, thanks -- we are merging a few fixes to netmap these days
so yours will go in soon

cheers
luigi
​



 Cheers,
 Franco




-- 
-+---
 Prof. Luigi RIZZO, ri...@iet.unipi.it  . Dip. di Ing. dell'Informazione
 http://www.iet.unipi.it/~luigi/. Universita` di Pisa
 TEL  +39-050-2211611   . via Diotisalvi 2
 Mobile   +39-338-6809875   . 56122 PISA (Italy)
-+---
___
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

netmap(4) transparent mode

2014-06-09 Thread Franco Fichtner
Hi,

here's a revised version of a patch to address a couple
of issues with the transparent mode of netmap(4), which
doesn't work in current and older stable branches:

https://github.com/fichtner/freebsd/commit/b00580b03bf9dd847e4238dc0faabb349b1852a1.patch

Posting this to a wider audience now, since I have no
feedback from the maintainer yet.  Luigi is CC'ed again.


Cheers,
Franco
___
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: Change for the worse in rsu wireless driver

2014-06-09 Thread Adrian Chadd
Hi,

Buy a mini-pcie atheros wifi card.



-a


On 9 June 2014 03:43, Thomas Mueller mueller6...@bellsouth.net wrote:
 from Adrian Chadd:

 please bug freebsd-usb@ about flakey usb devices.

 I have a couple that i need to chase up hans about. they used to be less 
 flakey.

 Flaky USB devices in FreeBSD, also NetBSD, are not limited to wireless 
 adapters.

 I get console messages about keyboard and mouse losing connection, when in 
 many cases, mouse and keyboard are still working.

 Now I think FreeBSD is topping NetBSD for flaky USB connections.

 NetBSD has no support for Hiro H50191 wireless adapter, device rsu, but 
 supports Atheros on-motherboard (quasi-)USB AR9271.

 Most of the time, NetBSD fails to load firmware for this Atheros AR9271, 
 error 35, not allowing enough time, but sometimes the firmware loads.

 Sorry to be late in responding, losing connection slows me down.

 I've been updating FreeBSD-current and stable/10 from source, both amd64 and 
 i386, whenever I see a change in rsu or re driver.

 On MSI Z77 MPOWER motherboard, of open-source OSes, only Linux and NetBSD 
 connect with Realtek 8111E/8168 Ethernet.

 DragonFly newest release, 3.8.0, and OpenBSD 5.4, have same bug as does 
 FreeBSD with this Ethernet.

 I've also been busy installing NetBSD-current amd64 and i386, now on hard 
 drive on other computer.

 Now I wish I had installed NetBSD-current amd64 and i386 on this computer 
 with MSI Z77 MPOWER motherboard before FreeBSD to have something to fall back 
 on when FreeBSD misbehaves with Hiro H50191.

 Remember, I needed to update NetBSD-current amd64 and packages, with 
 subversion, using wired Ethernet, to checkout and update FreeBSD src, ports 
 and doc trees; also had to buy a new wireless router when the Netgear router 
 stopped working.

 Tom

 ___
 freebsd-wirel...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
 To unsubscribe, send any mail to freebsd-wireless-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


[head tinderbox] failure on mips/mips

2014-06-09 Thread FreeBSD Tinderbox
TB --- 2014-06-09 14:02:38 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-09 14:02:38 - 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-09 14:02:38 - starting HEAD tinderbox run for mips/mips
TB --- 2014-06-09 14:02:38 - cleaning the object tree
TB --- 2014-06-09 14:02:38 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-09 14:02:41 - At svn revision 267255
TB --- 2014-06-09 14:02:42 - building world
TB --- 2014-06-09 14:02:42 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-09 14:02:42 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-09 14:02:42 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-09 14:02:42 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-09 14:02:42 - SRCCONF=/dev/null
TB --- 2014-06-09 14:02:42 - TARGET=mips
TB --- 2014-06-09 14:02:42 - TARGET_ARCH=mips
TB --- 2014-06-09 14:02:42 - TZ=UTC
TB --- 2014-06-09 14:02:42 - __MAKE_CONF=/dev/null
TB --- 2014-06-09 14:02:42 - cd /src
TB --- 2014-06-09 14:02:42 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Mon Jun  9 14:02:49 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  9 15:03:44 UTC 2014
TB --- 2014-06-09 15:03:44 - cd /src/sys/mips/conf
TB --- 2014-06-09 15:03:44 - /obj/mips.mips/src/tmp/legacy/usr/sbin/config -m 
ADM5120
TB --- 2014-06-09 15:03:44 - skipping ADM5120 kernel
TB --- 2014-06-09 15:03:44 - cd /src/sys/mips/conf
TB --- 2014-06-09 15:03:44 - /obj/mips.mips/src/tmp/legacy/usr/sbin/config -m 
ALCHEMY
TB --- 2014-06-09 15:03:44 - skipping ALCHEMY kernel
TB --- 2014-06-09 15:03:44 - cd /src/sys/mips/conf
TB --- 2014-06-09 15:03:44 - /obj/mips.mips/src/tmp/legacy/usr/sbin/config -m 
ALFA_HORNET_UB
TB --- 2014-06-09 15:03:44 - building ALFA_HORNET_UB kernel
TB --- 2014-06-09 15:03:44 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-09 15:03:44 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-09 15:03:44 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-09 15:03:44 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-09 15:03:44 - SRCCONF=/dev/null
TB --- 2014-06-09 15:03:44 - TARGET=mips
TB --- 2014-06-09 15:03:44 - TARGET_ARCH=mips
TB --- 2014-06-09 15:03:44 - TZ=UTC
TB --- 2014-06-09 15:03:44 - __MAKE_CONF=/dev/null
TB --- 2014-06-09 15:03:44 - cd /src
TB --- 2014-06-09 15:03:44 - /usr/bin/make -B buildkernel 
KERNCONF=ALFA_HORNET_UB
 Kernel build for ALFA_HORNET_UB started on Mon Jun  9 15:03:45 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
[...]
cc  -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h  -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x8005 
-march=mips32 -msoft-float -ffreestanding -gdwarf-2 -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 --param max-inline-insns-single=1000 -Werror  
/src/sys/kern/tty_ttydisc.c
cc  -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h  -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x8005 
-march=mips32 -msoft-float -ffreestanding -gdwarf-2 -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 --param max-inline-insns-single=1000 -Werror  
/src/sys/kern/uipc_accf.c
cc  -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h  -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x8005 
-march=mips32 -msoft-float -ffreestanding -gdwarf-2 -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 --param 

[head tinderbox] failure on mips64/mips

2014-06-09 Thread FreeBSD Tinderbox
TB --- 2014-06-09 14:29:37 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-09 14:29:37 - 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-09 14:29:37 - starting HEAD tinderbox run for mips64/mips
TB --- 2014-06-09 14:29:37 - cleaning the object tree
TB --- 2014-06-09 14:29:37 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-09 14:29:40 - At svn revision 267255
TB --- 2014-06-09 14:29:41 - building world
TB --- 2014-06-09 14:29:41 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-09 14:29:41 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-09 14:29:41 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-09 14:29:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-09 14:29:41 - SRCCONF=/dev/null
TB --- 2014-06-09 14:29:41 - TARGET=mips
TB --- 2014-06-09 14:29:41 - TARGET_ARCH=mips64
TB --- 2014-06-09 14:29:41 - TZ=UTC
TB --- 2014-06-09 14:29:41 - __MAKE_CONF=/dev/null
TB --- 2014-06-09 14:29:41 - cd /src
TB --- 2014-06-09 14:29:41 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Mon Jun  9 14:29:48 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  9 15:32:50 UTC 2014
TB --- 2014-06-09 15:32:50 - cd /src/sys/mips/conf
TB --- 2014-06-09 15:32:50 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
ADM5120
TB --- 2014-06-09 15:32:50 - skipping ADM5120 kernel
TB --- 2014-06-09 15:32:50 - cd /src/sys/mips/conf
TB --- 2014-06-09 15:32:50 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
ALCHEMY
TB --- 2014-06-09 15:32:50 - skipping ALCHEMY kernel
TB --- 2014-06-09 15:32:50 - cd /src/sys/mips/conf
TB --- 2014-06-09 15:32:50 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
ALFA_HORNET_UB
TB --- 2014-06-09 15:32:50 - skipping ALFA_HORNET_UB kernel
TB --- 2014-06-09 15:32:50 - cd /src/sys/mips/conf
TB --- 2014-06-09 15:32:50 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AP121
TB --- 2014-06-09 15:32:50 - skipping AP121 kernel
TB --- 2014-06-09 15:32:50 - cd /src/sys/mips/conf
TB --- 2014-06-09 15:32:50 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AP91
TB --- 2014-06-09 15:32:50 - skipping AP91 kernel
TB --- 2014-06-09 15:32:50 - cd /src/sys/mips/conf
TB --- 2014-06-09 15:32:50 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AP93
TB --- 2014-06-09 15:32:50 - skipping AP93 kernel
TB --- 2014-06-09 15:32:50 - cd /src/sys/mips/conf
TB --- 2014-06-09 15:32:50 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AP94
TB --- 2014-06-09 15:32:50 - skipping AP94 kernel
TB --- 2014-06-09 15:32:50 - cd /src/sys/mips/conf
TB --- 2014-06-09 15:32:50 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AP96
TB --- 2014-06-09 15:32:50 - skipping AP96 kernel
TB --- 2014-06-09 15:32:50 - cd /src/sys/mips/conf
TB --- 2014-06-09 15:32:50 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AR71XX_BASE
TB --- 2014-06-09 15:32:50 - skipping AR71XX_BASE kernel
TB --- 2014-06-09 15:32:50 - cd /src/sys/mips/conf
TB --- 2014-06-09 15:32:50 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AR724X_BASE
TB --- 2014-06-09 15:32:50 - skipping AR724X_BASE kernel
TB --- 2014-06-09 15:32:50 - cd /src/sys/mips/conf
TB --- 2014-06-09 15:32:50 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AR91XX_BASE
TB --- 2014-06-09 15:32:50 - skipping AR91XX_BASE kernel
TB --- 2014-06-09 15:32:50 - cd /src/sys/mips/conf
TB --- 2014-06-09 15:32:50 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AR933X_BASE
TB --- 2014-06-09 15:32:50 - skipping AR933X_BASE kernel
TB --- 2014-06-09 15:32:50 - cd /src/sys/mips/conf
TB --- 2014-06-09 15:32:50 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
AR934X_BASE
TB --- 2014-06-09 15:32:50 - skipping AR934X_BASE kernel
TB --- 2014-06-09 15:32:50 - cd /src/sys/mips/conf
TB --- 2014-06-09 15:32:50 - /obj/mips.mips64/src/tmp/legacy/usr/sbin/config -m 
BERI_DE4_BASE
TB --- 2014-06-09 15:32:50 - building BERI_DE4_BASE kernel
TB --- 2014-06-09 15:32:50 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-09 15:32:50 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-09 15:32:50 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-09 15:32:50 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-09 15:32:50 - SRCCONF=/dev/null
TB --- 2014-06-09 15:32:50 - TARGET=mips
TB --- 2014-06-09 15:32:50 - TARGET_ARCH=mips64
TB --- 2014-06-09 15:32:50 - TZ=UTC
TB --- 2014-06-09 15:32:50 - __MAKE_CONF=/dev/null
TB --- 2014-06-09 15:32:50 - cd /src
TB --- 2014-06-09 15:32:50 - /usr/bin/make -B buildkernel KERNCONF=BERI_DE4_BASE
 Kernel build for BERI_DE4_BASE started on Mon Jun  9 15:32:50 UTC 2014
 

[head tinderbox] failure on ia64/ia64

2014-06-09 Thread FreeBSD Tinderbox
TB --- 2014-06-09 13:43:03 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-09 13:43:03 - 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-09 13:43:03 - starting HEAD tinderbox run for ia64/ia64
TB --- 2014-06-09 13:43:03 - cleaning the object tree
TB --- 2014-06-09 13:43:03 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-09 13:43:36 - At svn revision 267255
TB --- 2014-06-09 13:43:37 - building world
TB --- 2014-06-09 13:43:37 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-09 13:43:37 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-09 13:43:37 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-09 13:43:37 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-09 13:43:37 - SRCCONF=/dev/null
TB --- 2014-06-09 13:43:37 - TARGET=ia64
TB --- 2014-06-09 13:43:37 - TARGET_ARCH=ia64
TB --- 2014-06-09 13:43:37 - TZ=UTC
TB --- 2014-06-09 13:43:37 - __MAKE_CONF=/dev/null
TB --- 2014-06-09 13:43:37 - cd /src
TB --- 2014-06-09 13:43:37 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Mon Jun  9 13:43:47 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  9 15:19:33 UTC 2014
TB --- 2014-06-09 15:19:33 - generating LINT kernel config
TB --- 2014-06-09 15:19:33 - cd /src/sys/ia64/conf
TB --- 2014-06-09 15:19:33 - /usr/bin/make -B LINT
TB --- 2014-06-09 15:19:33 - cd /src/sys/ia64/conf
TB --- 2014-06-09 15:19:33 - /obj/ia64.ia64/src/tmp/legacy/usr/sbin/config -m 
LINT
TB --- 2014-06-09 15:19:33 - building LINT kernel
TB --- 2014-06-09 15:19:33 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-09 15:19:33 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-09 15:19:33 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-09 15:19:33 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-09 15:19:33 - SRCCONF=/dev/null
TB --- 2014-06-09 15:19:33 - TARGET=ia64
TB --- 2014-06-09 15:19:33 - TARGET_ARCH=ia64
TB --- 2014-06-09 15:19:33 - TZ=UTC
TB --- 2014-06-09 15:19:33 - __MAKE_CONF=/dev/null
TB --- 2014-06-09 15:19:33 - cd /src
TB --- 2014-06-09 15:19:33 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Jun  9 15:19: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
[...]
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/kern/uipc_domain.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/kern/uipc_mbuf.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/kern/uipc_mbuf2.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. 

[head tinderbox] failure on sparc64/sparc64

2014-06-09 Thread FreeBSD Tinderbox
TB --- 2014-06-09 15:35:03 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-09 15:35:03 - 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-09 15:35:03 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2014-06-09 15:35:03 - cleaning the object tree
TB --- 2014-06-09 15:35:03 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-09 15:35:06 - At svn revision 267255
TB --- 2014-06-09 15:35:07 - building world
TB --- 2014-06-09 15:35:07 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-09 15:35:07 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-09 15:35:07 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-09 15:35:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-09 15:35:07 - SRCCONF=/dev/null
TB --- 2014-06-09 15:35:07 - TARGET=sparc64
TB --- 2014-06-09 15:35:07 - TARGET_ARCH=sparc64
TB --- 2014-06-09 15:35:07 - TZ=UTC
TB --- 2014-06-09 15:35:07 - __MAKE_CONF=/dev/null
TB --- 2014-06-09 15:35:07 - cd /src
TB --- 2014-06-09 15:35:07 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Mon Jun  9 15:35:14 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  9 16:40:18 UTC 2014
TB --- 2014-06-09 16:40:18 - generating LINT kernel config
TB --- 2014-06-09 16:40:18 - cd /src/sys/sparc64/conf
TB --- 2014-06-09 16:40:18 - /usr/bin/make -B LINT
TB --- 2014-06-09 16:40:18 - cd /src/sys/sparc64/conf
TB --- 2014-06-09 16:40:18 - 
/obj/sparc64.sparc64/src/tmp/legacy/usr/sbin/config -m LINT
TB --- 2014-06-09 16:40:18 - building LINT kernel
TB --- 2014-06-09 16:40:18 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-09 16:40:18 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-09 16:40:18 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-09 16:40:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-09 16:40:18 - SRCCONF=/dev/null
TB --- 2014-06-09 16:40:18 - TARGET=sparc64
TB --- 2014-06-09 16:40:18 - TARGET_ARCH=sparc64
TB --- 2014-06-09 16:40:18 - TZ=UTC
TB --- 2014-06-09 16:40:18 - __MAKE_CONF=/dev/null
TB --- 2014-06-09 16:40:18 - cd /src
TB --- 2014-06-09 16:40:18 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Jun  9 16:40:19 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
[...]
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/kern/uipc_domain.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/kern/uipc_mbuf.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/kern/uipc_mbuf2.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 

Re: CPU0: local APIC error 0x40

2014-06-09 Thread John Baldwin
On Saturday, June 07, 2014 4:47:39 am Edward Tomasz Napierała wrote:
 On 0604T1036, John Baldwin wrote:
  On Monday, June 02, 2014 5:32:13 pm Edward Tomasz Napierała wrote:
   Some machines, including ThinkPad T61, emit the following error message
   early during boot:
   
   CPU0: local APIC error 0x40
   
   The message itself doesn't seem to be much of a problem.  However,
   every once in a while booting hangs just before that line.  I've tracked
   that down to call to AcpiHwWritePort() at
   sys/contrib/dev/acpica/components/hardware/hwacpi.c:117:
   
   switch (Mode)
   {
   case ACPI_SYS_MODE_ACPI:
   
   /* BIOS should have disabled ALL fixed and GP events */
   
   Status = AcpiHwWritePort (AcpiGbl_FADT.SmiCommand,
   (UINT32) AcpiGbl_FADT.AcpiEnable, 8);
   
   Any idea what might be going on?
  
  This is probably triggering an SMI# to enter SMM mode where your BIOS does 
  God-knows-what but apparently triggers one of the local APIC local 
  interrupts 
  while it is configured with an invalid vector (e.g. 0).
 
 Is there anything that can be done to fix it?  (Note that fixing the
 suspend/resume seems to have also fixed the occasional hang on boot,
 but perhaps it's because I don't need to boot this thing so often now.)

Likely not.  This is actually the magic command to tell the BIOS that the OS
is ACPI-aware and to ask the BIOS to enable ACPI support.  It can do all sorts
of things and is completely outside of OS control while it runs.  The local
APIC thing is logged when the OS gains control again, but it's harmless.

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

[head tinderbox] failure on powerpc/powerpc

2014-06-09 Thread FreeBSD Tinderbox
TB --- 2014-06-09 15:05:40 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-09 15:05:40 - 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-09 15:05:40 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2014-06-09 15:05:40 - cleaning the object tree
TB --- 2014-06-09 15:05:40 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-09 15:05:45 - At svn revision 267255
TB --- 2014-06-09 15:05:46 - building world
TB --- 2014-06-09 15:05:46 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-09 15:05:46 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-09 15:05:46 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-09 15:05:46 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-09 15:05:46 - SRCCONF=/dev/null
TB --- 2014-06-09 15:05:46 - TARGET=powerpc
TB --- 2014-06-09 15:05:46 - TARGET_ARCH=powerpc
TB --- 2014-06-09 15:05:46 - TZ=UTC
TB --- 2014-06-09 15:05:46 - __MAKE_CONF=/dev/null
TB --- 2014-06-09 15:05:46 - cd /src
TB --- 2014-06-09 15:05:46 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Mon Jun  9 15:05:53 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  9 18:43:38 UTC 2014
TB --- 2014-06-09 18:43:38 - generating LINT kernel config
TB --- 2014-06-09 18:43:38 - cd /src/sys/powerpc/conf
TB --- 2014-06-09 18:43:38 - /usr/bin/make -B LINT
TB --- 2014-06-09 18:43:38 - cd /src/sys/powerpc/conf
TB --- 2014-06-09 18:43:38 - 
/obj/powerpc.powerpc/src/tmp/legacy/usr/sbin/config -m LINT
TB --- 2014-06-09 18:43:38 - building LINT kernel
TB --- 2014-06-09 18:43:38 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-09 18:43:38 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-09 18:43:38 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-09 18:43:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-09 18:43:38 - SRCCONF=/dev/null
TB --- 2014-06-09 18:43:38 - TARGET=powerpc
TB --- 2014-06-09 18:43:38 - TARGET_ARCH=powerpc
TB --- 2014-06-09 18:43:38 - TZ=UTC
TB --- 2014-06-09 18:43:38 - __MAKE_CONF=/dev/null
TB --- 2014-06-09 18:43:38 - cd /src
TB --- 2014-06-09 18:43:38 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Jun  9 18:43:38 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
[...]
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/kern/uipc_domain.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 -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -Werror  /src/sys/kern/uipc_mbuf.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 -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -Werror  /src/sys/kern/uipc_mbuf2.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  

[head tinderbox] failure on powerpc64/powerpc

2014-06-09 Thread FreeBSD Tinderbox
TB --- 2014-06-09 15:34:32 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-09 15:34:32 - 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-09 15:34:32 - starting HEAD tinderbox run for powerpc64/powerpc
TB --- 2014-06-09 15:34:32 - cleaning the object tree
TB --- 2014-06-09 15:34:32 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-09 15:34:35 - At svn revision 267255
TB --- 2014-06-09 15:34:36 - building world
TB --- 2014-06-09 15:34:36 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-09 15:34:36 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-09 15:34:36 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-09 15:34:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-09 15:34:36 - SRCCONF=/dev/null
TB --- 2014-06-09 15:34:36 - TARGET=powerpc
TB --- 2014-06-09 15:34:36 - TARGET_ARCH=powerpc64
TB --- 2014-06-09 15:34:36 - TZ=UTC
TB --- 2014-06-09 15:34:36 - __MAKE_CONF=/dev/null
TB --- 2014-06-09 15:34:36 - cd /src
TB --- 2014-06-09 15:34:36 - /usr/bin/make -B buildworld
 Building an up-to-date bmake(1)
 World build started on Mon Jun  9 15:34:43 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  9 19:45:18 UTC 2014
TB --- 2014-06-09 19:45:18 - generating LINT kernel config
TB --- 2014-06-09 19:45:18 - cd /src/sys/powerpc/conf
TB --- 2014-06-09 19:45:18 - /usr/bin/make -B LINT
TB --- 2014-06-09 19:45:18 - cd /src/sys/powerpc/conf
TB --- 2014-06-09 19:45:18 - 
/obj/powerpc.powerpc64/src/tmp/legacy/usr/sbin/config -m LINT
TB --- 2014-06-09 19:45:18 - skipping LINT kernel
TB --- 2014-06-09 19:45:18 - cd /src/sys/powerpc/conf
TB --- 2014-06-09 19:45:18 - 
/obj/powerpc.powerpc64/src/tmp/legacy/usr/sbin/config -m GENERIC
TB --- 2014-06-09 19:45:18 - skipping GENERIC kernel
TB --- 2014-06-09 19:45:18 - cd /src/sys/powerpc/conf
TB --- 2014-06-09 19:45:18 - 
/obj/powerpc.powerpc64/src/tmp/legacy/usr/sbin/config -m GENERIC64
TB --- 2014-06-09 19:45:18 - building GENERIC64 kernel
TB --- 2014-06-09 19:45:18 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-09 19:45:18 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-09 19:45:18 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-09 19:45:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-09 19:45:18 - SRCCONF=/dev/null
TB --- 2014-06-09 19:45:18 - TARGET=powerpc
TB --- 2014-06-09 19:45:18 - TARGET_ARCH=powerpc64
TB --- 2014-06-09 19:45:18 - TZ=UTC
TB --- 2014-06-09 19:45:18 - __MAKE_CONF=/dev/null
TB --- 2014-06-09 19:45:18 - cd /src
TB --- 2014-06-09 19:45:18 - /usr/bin/make -B buildkernel KERNCONF=GENERIC64
 Kernel build for GENERIC64 started on Mon Jun  9 19:45:18 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
[...]
cc  -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h  -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float 
-mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector -gdwarf-2 
-fno-common -finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -Werror  /src/sys/kern/uipc_shm.c
ctfconvert -L VERSION -g uipc_shm.o
cc  -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h  -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float 
-mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector -gdwarf-2 
-fno-common -finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -Werror  /src/sys/kern/uipc_sockbuf.c
ctfconvert -L VERSION -g uipc_sockbuf.o
cc  -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option   -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq 

ohci bricks a amd64 system

2014-06-09 Thread Steve Kargl
I updated my FreeBSD-current system from an
April 9th kernel/world (r264280M, which was
running fine) to today sources (r267284), and
have successfully turned the system into a brick
if I include the USB ohci device in my kernel.
During the verbose boot process, the brick stops
with the message

ohci early: SMM active, request owner change

At this point, one must hit the reset button
as there is no keyboard, yet.  If I remove the
ohci device from the kernel config file, the
resulting kernel boots but the usb mouse is
no longer available.

Any pointers on how to debug/fix the ohci device
is appreciated.

-- 
Steve
___
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: ohci bricks a amd64 system

2014-06-09 Thread Hans Petter Selasky

On 06/09/14 22:34, Steve Kargl wrote:

I updated my FreeBSD-current system from an
April 9th kernel/world (r264280M, which was
running fine) to today sources (r267284), and
have successfully turned the system into a brick
if I include the USB ohci device in my kernel.
During the verbose boot process, the brick stops
with the message

ohci early: SMM active, request owner change

At this point, one must hit the reset button
as there is no keyboard, yet.  If I remove the
ohci device from the kernel config file, the
resulting kernel boots but the usb mouse is
no longer available.

Any pointers on how to debug/fix the ohci device
is appreciated.



Check USB BIOS settings.

Thank you!

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


Re: ohci bricks a amd64 system

2014-06-09 Thread Steve Kargl
On Mon, Jun 09, 2014 at 10:37:26PM +0200, Hans Petter Selasky wrote:
 On 06/09/14 22:34, Steve Kargl wrote:
  I updated my FreeBSD-current system from an
  April 9th kernel/world (r264280M, which was
  running fine) to today sources (r267284), and
  have successfully turned the system into a brick
  if I include the USB ohci device in my kernel.
  During the verbose boot process, the brick stops
  with the message
 
  ohci early: SMM active, request owner change
 
  At this point, one must hit the reset button
  as there is no keyboard, yet.  If I remove the
  ohci device from the kernel config file, the
  resulting kernel boots but the usb mouse is
  no longer available.
 
  Any pointers on how to debug/fix the ohci device
  is appreciated.
 
 
 Check USB BIOS settings.
 

Hans,

Thanks!  My bios had a Legacy USB option set to auto.
I forced this to disabled and the system boots again.
The option had been set to auto for a very long
time, and USB has simply always worked. 

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


WITHOUT_OPENSSL build failure

2014-06-09 Thread Tony Morlan
Hello!

When trying to buildworld from 267293 with WITHOUT_OPENSSL I run into a
few issues. It seems that the following options currently need to be
implied:

WITHOUT_LDNS
WITHOUT_BSNMP
WITHOUT_DMAGENT
WITHOUT_PKGBOOTSTRAP
WITHOUT_SVNLITE

The WITHOUT_BSNMP option also currently needs to enforce WITHOUT_ATM.

With those all set, WITHOUT_OPENSSL almost works. There remains a
warning in libfetch, and both ctld and iscsid use OpenSSL with the
option set or not.

I've included a patch with a one liner change to avoid the warning in
libfetch, and changes to usr.sbin/ctld and usr.sbin/iscsid to use
arc4random_buf and md5.h instead of similar OpenSSL functions. I don't
use iscsi, so that part of the patch is unfortunately untested. It might
be preferable to add WITHOUT_CTLD and WITHOUT_ISCSID instead.

Tony
Index: lib/libfetch/common.c
===
--- lib/libfetch/common.c	(revision 267293)
+++ lib/libfetch/common.c	(working copy)
@@ -888,6 +888,7 @@
 	return (0);
 #else
 	(void)conn;
+	(void)URL;
 	(void)verbose;
 	fprintf(stderr, SSL support disabled\n);
 	return (-1);
Index: usr.sbin/ctld/Makefile
===
--- usr.sbin/ctld/Makefile	(revision 267293)
+++ usr.sbin/ctld/Makefile	(working copy)
@@ -9,8 +9,8 @@
 #CFLAGS+=	-DICL_KERNEL_PROXY
 MAN=		ctld.8 ctl.conf.5
 
-DPADD=		${LIBCAM} ${LIBSBUF} ${LIBBSDXML} ${LIBUTIL}
-LDADD=		-lbsdxml -lcam -lcrypto -lfl -lsbuf -lssl -lutil
+DPADD=		${LIBCAM} ${LIBMD} ${LIBSBUF} ${LIBBSDXML} ${LIBUTIL}
+LDADD=		-lbsdxml -lcam -lfl -lmd -lsbuf -lutil -lmd
 
 YFLAGS+=	-v
 CLEANFILES=	y.tab.c y.tab.h y.output
Index: usr.sbin/ctld/login.c
===
--- usr.sbin/ctld/login.c	(revision 267293)
+++ usr.sbin/ctld/login.c	(working copy)
@@ -37,9 +37,7 @@
 #include string.h
 #include unistd.h
 #include netinet/in.h
-#include openssl/err.h
-#include openssl/md5.h
-#include openssl/rand.h
+#include md5.h
 
 #include ctld.h
 #include iscsi_proto.h
@@ -356,17 +354,14 @@
 size_t response_len)
 {
 	MD5_CTX ctx;
-	int rv;
 
 	assert(response_len == MD5_DIGEST_LENGTH);
 
-	MD5_Init(ctx);
-	MD5_Update(ctx, id, sizeof(id));
-	MD5_Update(ctx, secret, strlen(secret));
-	MD5_Update(ctx, challenge, challenge_len);
-	rv = MD5_Final(response, ctx);
-	if (rv != 1)
-		log_errx(1, MD5_Final);
+	MD5Init(ctx);
+	MD5Update(ctx, id, sizeof(id));
+	MD5Update(ctx, secret, strlen(secret));
+	MD5Update(ctx, challenge, challenge_len);
+	MD5Final(response, ctx);
 }
 
 #define	LOGIN_CHALLENGE_LEN	1024
@@ -565,7 +560,6 @@
 	struct pdu *request;
 	char challenge_bin[LOGIN_CHALLENGE_LEN];
 	unsigned char id;
-	int rv;
 
 	/*
 	 * Receive CHAP_A PDU.
@@ -576,18 +570,8 @@
 	/*
 	 * Generate the challenge.
 	 */
-	rv = RAND_bytes(challenge_bin, sizeof(challenge_bin));
-	if (rv != 1) {
-		login_send_error(request, 0x03, 0x02);
-		log_errx(1, RAND_bytes failed: %s,
-		ERR_error_string(ERR_get_error(), NULL));
-	}
-	rv = RAND_bytes(id, sizeof(id));
-	if (rv != 1) {
-		login_send_error(request, 0x03, 0x02);
-		log_errx(1, RAND_bytes failed: %s,
-		ERR_error_string(ERR_get_error(), NULL));
-	}
+	arc4random_buf(challenge_bin, sizeof(challenge_bin));
+	arc4random_buf(id, sizeof(id));
 
 	/*
 	 * Send the challenge.
Index: usr.sbin/iscsid/Makefile
===
--- usr.sbin/iscsid/Makefile	(revision 267293)
+++ usr.sbin/iscsid/Makefile	(working copy)
@@ -8,8 +8,8 @@
 #CFLAGS+=	-DICL_KERNEL_PROXY
 MAN=		iscsid.8
 
-DPADD=		${LIBUTIL}
-LDADD=		-lcrypto -lssl -lutil
+DPADD=		${LIBMD} ${LIBUTIL}
+LDADD=		-lmd -lutil
 
 WARNS=		6
 
Index: usr.sbin/iscsid/login.c
===
--- usr.sbin/iscsid/login.c	(revision 267293)
+++ usr.sbin/iscsid/login.c	(working copy)
@@ -36,9 +36,7 @@
 #include stdlib.h
 #include string.h
 #include netinet/in.h
-#include openssl/err.h
-#include openssl/md5.h
-#include openssl/rand.h
+#include md5.h
 
 #include iscsid.h
 #include iscsi_proto.h
@@ -376,17 +374,14 @@
 size_t response_len)
 {
 	MD5_CTX ctx;
-	int rv;
 
 	assert(response_len == MD5_DIGEST_LENGTH);
 
-	MD5_Init(ctx);
-	MD5_Update(ctx, id, sizeof(id));
-	MD5_Update(ctx, secret, strlen(secret));
-	MD5_Update(ctx, challenge, challenge_len);
-	rv = MD5_Final(response, ctx);
-	if (rv != 1)
-		log_errx(1, MD5_Final);
+	MD5Init(ctx);
+	MD5Update(ctx, id, sizeof(id));
+	MD5Update(ctx, secret, strlen(secret));
+	MD5Update(ctx, challenge, challenge_len);
+	MD5Final(response, ctx);
 }
 
 static void
@@ -588,7 +583,7 @@
 	const char *chap_a, *chap_c, *chap_i;
 	char *chap_r, *challenge, response_bin[MD5_DIGEST_LENGTH];
 	size_t challenge_len;
-	int error, rv;
+	int error;
 	unsigned char id;
 char *mutual_chap_c, mutual_chap_i[4];
 
@@ -647,18 +642,10 @@
 		binary challenge size is %zd bytes,
 		sizeof(conn-conn_mutual_challenge));
 
-		rv = 

Re: Turning TESTS on by default

2014-06-09 Thread Konstantin Belousov
On Sun, Jun 08, 2014 at 04:36:45PM -0400, Glen Barber wrote:
 On Sun, Jun 08, 2014 at 01:33:31PM -0700, Adrian Chadd wrote:
  Now, as for how much bloat it adds to the CD images...
  
 
 Enough that it will be turned off for the CDs.

I wanted to answer that we should split the question into two,
one is whether to enable tests installation by default for buildworld
(and I answered no there), another is whether to ship tests with the
installation media, both on releases and snapshots.

I think that we should do the later, if not on CD, then on DVD and for
ftp installs.  This would mean that there is one more customization
for the release build process, but I do not think that the release
build structure requires significant changes.



pgpdcois8TFWO.pgp
Description: PGP signature


Re: Turning TESTS on by default

2014-06-09 Thread Glen Barber
On Tue, Jun 10, 2014 at 02:15:06AM +0300, Konstantin Belousov wrote:
 On Sun, Jun 08, 2014 at 04:36:45PM -0400, Glen Barber wrote:
  On Sun, Jun 08, 2014 at 01:33:31PM -0700, Adrian Chadd wrote:
   Now, as for how much bloat it adds to the CD images...
   
  
  Enough that it will be turned off for the CDs.
 
 I wanted to answer that we should split the question into two,
 one is whether to enable tests installation by default for buildworld
 (and I answered no there), another is whether to ship tests with the
 installation media, both on releases and snapshots.
 
 I think that we should do the later, if not on CD, then on DVD and for
 ftp installs.  This would mean that there is one more customization
 for the release build process, but I do not think that the release
 build structure requires significant changes.
 

We are dangerously teetering every time an option to add just one more
thing to the CD is committed to being unable to fall below the 685MB
size (which I understand is what FreeBSDMall needs for the CDs they
produce).

So, as our src/ and ports/ trees grow, the room we have left is
shrinking fast.  I think it is not feasible to ship the tests on the CD,
but I do agree they can be shipped on the DVD.

Julio has submitted a review request for this to make a tests.txz
distribution, which can then be excluded for the bootonly.iso and
disc1.iso, but kept for the dvd.iso.

https://phabric.freebsd.org/D198

I am building a test release build with this change now, but I am aware
of one immediate problem that will be encountered - if we default
WITH_TESTS=1, the running userland on the bootonly.iso and disc1.iso
(used for the installer) will also include the tests.

This is because we do not evaluate the value of WITH_TESTS=, but only
that it is defined.  This is also a problem for the debug.txz with
WITH_DEBUG_FILES=1 for the buildworld/buildkernel, but
WITHOUT_DEBUG_FILES=1 for the bootonly.iso and disc1.iso creation,
because we cannot set both.

Some of the later commits to a projects/ branch to work on allowing the
debug.txz to be fetched from FTP (or via the netinstall) illustrates the
problem and some very hackish workarounds I have tried.

https://svn.freebsd.org/base/projects/release-debugdist/

Glen



pgpSuN4LmHasa.pgp
Description: PGP signature


dhclient sucks cpu usage...

2014-06-09 Thread John-Mark Gurney
So, after finding out that nc has a stupidly small buffer size (2k
even though there is space for 16k), I was still not getting as good
as performance using nc between machines, so I decided to generate some
flame graphs to try to identify issues...  (Thanks to who included a
full set of modules, including dtraceall on memstick!)

So, the first one is:
https://www.funkthat.com/~jmg/em.stack.svg

As I was browsing around, the em_handle_que was consuming quite a bit
of cpu usage for only doing ~50MB/sec over gige..  Running top -SH shows
me that the taskqueue for em was consuming about 50% cpu...  Also pretty
high for only 50MB/sec...  Looking closer, you'll see that bpf_mtap is
consuming ~3.18% (under ether_nh_input)..  I know I'm not running tcpdump
or anything, but I think dhclient uses bpf to be able to inject packets
and listen in on them, so I kill off dhclient, and instantly, the taskqueue
thread for em drops down to 40% CPU... (transfer rate only marginally
improves, if it does)

I decide to run another flame graph w/o dhclient running:
https://www.funkthat.com/~jmg/em.stack.nodhclient.svg

and now _rxeof drops from 17.22% to 11.94%, pretty significant...

So, if you care about performance, don't run dhclient...

-- 
  John-Mark Gurney  Voice: +1 415 225 5579

 All that I will do, has been done, All that I have, has not.
___
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


clang-tblgen: Too many positional arguments specified!

2014-06-09 Thread Craig Rodrigues
Hi,

I did the following with a tree checked out from HEAD at
svn r267307:

(1)  Did a make buildworld; make buildkernel; make installkernel;
make installworld, with no special settings in /etc/src.conf or
/etc/make.conf
(2)  rebooted
(3)  Waited for system to come up, and then did the following:
  cd src/lib/clang
  make WITH_LLDB=yes obj all

I got this error:


=== liblldb (all)
clang-tblgen -gen-clang-diags-defs -clang-component=Common  -I
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic
-d DiagnosticCommonKinds.inc.d  -o DiagnosticCommonKinds.inc.h
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticASTKinds.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticAnalysisKinds.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticCategories.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticCommentKinds.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticCommonKinds.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticDriverKinds.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticFrontendKinds.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticGroups.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticLexKinds.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticParseKinds.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticSemaKinds.td
/opt2/branches/head/lib/clang/liblldb/../../../contrib/llvm/tools/clang/include/clang/Basic/DiagnosticSerializationKinds.td
clang-tblgen: Too many positional arguments specified!
Can specify at most 1 positional arguments: See: clang-tblgen -help
*** Error code 1

Stop.
make[1]: stopped in /opt2/branches/head/lib/clang/liblldb
*** Error code 1

Stop.
make: stopped in /opt2/branches/head/lib/clang


I'm not familiar with this clang error.
Any idea what caused it?

A similar error (not identical) was reported here:

http://lists.freebsd.org/pipermail/freebsd-stable/2014-June/078879.html

--
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: dhclient sucks cpu usage...

2014-06-09 Thread Bryan Venteicher
Hi,

- Original Message -
 So, after finding out that nc has a stupidly small buffer size (2k
 even though there is space for 16k), I was still not getting as good
 as performance using nc between machines, so I decided to generate some
 flame graphs to try to identify issues...  (Thanks to who included a
 full set of modules, including dtraceall on memstick!)
 
 So, the first one is:
 https://www.funkthat.com/~jmg/em.stack.svg
 
 As I was browsing around, the em_handle_que was consuming quite a bit
 of cpu usage for only doing ~50MB/sec over gige..  Running top -SH shows
 me that the taskqueue for em was consuming about 50% cpu...  Also pretty
 high for only 50MB/sec...  Looking closer, you'll see that bpf_mtap is
 consuming ~3.18% (under ether_nh_input)..  I know I'm not running tcpdump
 or anything, but I think dhclient uses bpf to be able to inject packets
 and listen in on them, so I kill off dhclient, and instantly, the taskqueue
 thread for em drops down to 40% CPU... (transfer rate only marginally
 improves, if it does)
 
 I decide to run another flame graph w/o dhclient running:
 https://www.funkthat.com/~jmg/em.stack.nodhclient.svg
 
 and now _rxeof drops from 17.22% to 11.94%, pretty significant...
 
 So, if you care about performance, don't run dhclient...
 

Yes, I've noticed the same issue. It can absolutely kill performance
in a VM guest. It is much more pronounced on only some of my systems,
and I hadn't tracked it down yet. I wonder if this is fallout from
the callout work, or if there was some bpf change.

I've been using the kludgey workaround patch below.

diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index cb3ed27..9751986 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -2013,9 +2013,11 @@ bpf_gettime(struct bintime *bt, int tstype, struct mbuf 
*m)
return (BPF_TSTAMP_EXTERN);
}
}
+#if 0
if (quality == BPF_TSTAMP_NORMAL)
binuptime(bt);
else
+#endif
getbinuptime(bt);
 
return (quality);


 --
   John-Mark GurneyVoice: +1 415 225 5579
 
  All that I will do, has been done, All that I have, has not.
 ___
 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
 
___
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