From owner-freebsd-amd64@FreeBSD.ORG Sun May 19 00:28:09 2013 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2F6B242B; Sun, 19 May 2013 00:28:09 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id DEF48B12; Sun, 19 May 2013 00:28:08 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id r4J0S8du021945; Sat, 18 May 2013 20:28:08 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4J0S8i5021936; Sun, 19 May 2013 00:28:08 GMT (envelope-from tinderbox@freebsd.org) Date: Sun, 19 May 2013 00:28:08 GMT Message-Id: <201305190028.r4J0S8i5021936@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on amd64/amd64 Precedence: bulk X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2013 00:28:09 -0000 TB --- 2013-05-18 20:40:17 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-18 20:40:17 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-05-18 20:40:17 - starting HEAD tinderbox run for amd64/amd64 TB --- 2013-05-18 20:40:17 - cleaning the object tree TB --- 2013-05-18 20:40:17 - /usr/local/bin/svn stat /src TB --- 2013-05-18 20:40:21 - At svn revision 250788 TB --- 2013-05-18 20:40:22 - building world TB --- 2013-05-18 20:40:22 - CROSS_BUILD_TESTING=YES TB --- 2013-05-18 20:40:22 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-18 20:40:22 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-18 20:40:22 - SRCCONF=/dev/null TB --- 2013-05-18 20:40:22 - TARGET=amd64 TB --- 2013-05-18 20:40:22 - TARGET_ARCH=amd64 TB --- 2013-05-18 20:40:22 - TZ=UTC TB --- 2013-05-18 20:40:22 - __MAKE_CONF=/dev/null TB --- 2013-05-18 20:40:22 - cd /src TB --- 2013-05-18 20:40:22 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sat May 18 20:40:29 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Sun May 19 00:21:20 UTC 2013 TB --- 2013-05-19 00:21:20 - generating LINT kernel config TB --- 2013-05-19 00:21:20 - cd /src/sys/amd64/conf TB --- 2013-05-19 00:21:20 - /usr/bin/make -B LINT TB --- 2013-05-19 00:21:20 - cd /src/sys/amd64/conf TB --- 2013-05-19 00:21:20 - /usr/sbin/config -m LINT TB --- 2013-05-19 00:21:20 - building LINT kernel TB --- 2013-05-19 00:21:20 - CROSS_BUILD_TESTING=YES TB --- 2013-05-19 00:21:20 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-19 00:21:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-19 00:21:20 - SRCCONF=/dev/null TB --- 2013-05-19 00:21:20 - TARGET=amd64 TB --- 2013-05-19 00:21:20 - TARGET_ARCH=amd64 TB --- 2013-05-19 00:21:20 - TZ=UTC TB --- 2013-05-19 00:21:20 - __MAKE_CONF=/dev/null TB --- 2013-05-19 00:21:20 - cd /src TB --- 2013-05-19 00:21:20 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun May 19 00:21:20 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] *** Error code 1 Stop. make: stopped in /obj/amd64.amd64/src/sys/LINT *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-05-19 00:28:08 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-19 00:28:08 - ERROR: failed to build LINT kernel TB --- 2013-05-19 00:28:08 - 10822.33 user 2012.12 system 13670.40 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Mon May 20 03:13:48 2013 Return-Path: Delivered-To: freebsd-amd64@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2C512D7C; Mon, 20 May 2013 03:13:48 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 0514786E; Mon, 20 May 2013 03:13:48 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4K3Dl2W078419; Mon, 20 May 2013 03:13:47 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4K3DlIv078418; Mon, 20 May 2013 03:13:47 GMT (envelope-from linimon) Date: Mon, 20 May 2013 03:13:47 GMT Message-Id: <201305200313.r4K3DlIv078418@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-geom@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: kern/178684: gpart(8) cannot get my GEOM tree X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 03:13:48 -0000 Old Synopsis: gpart cannot get my GEOM tree New Synopsis: gpart(8) cannot get my GEOM tree Responsible-Changed-From-To: freebsd-amd64->freebsd-geom Responsible-Changed-By: linimon Responsible-Changed-When: Mon May 20 03:13:21 UTC 2013 Responsible-Changed-Why: probably not amd64-specific. http://www.freebsd.org/cgi/query-pr.cgi?pr=178684 From owner-freebsd-amd64@FreeBSD.ORG Mon May 20 11:06:42 2013 Return-Path: Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 26AAD4F3 for ; Mon, 20 May 2013 11:06:42 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 0842CD9D for ; Mon, 20 May 2013 11:06:42 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4KB6fYC082803 for ; Mon, 20 May 2013 11:06:41 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4KB6f0C082801 for freebsd-amd64@FreeBSD.org; Mon, 20 May 2013 11:06:41 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 20 May 2013 11:06:41 GMT Message-Id: <201305201106.r4KB6f0C082801@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-amd64@FreeBSD.org Subject: Current problem reports assigned to freebsd-amd64@FreeBSD.org X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 11:06:42 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/178357 amd64 [patch] export CPU physical and virtual address sizes o amd64/178247 amd64 linker.hints erroneously included in 9.1-RELEASE-p3 bi o amd64/176835 amd64 Fatal trap 12: page fault while in kernel mode o amd64/176474 amd64 kernel panic o amd64/175725 amd64 Audio through USB has not as good hi quality as it has o amd64/175655 amd64 When enabled tty console OS hang during boot o amd64/175370 amd64 kernel panic the rebuild kernel with vimage options in o amd64/175282 amd64 Freebsd 9.1 release amd64, mb Intel D525MW, not worked o amd64/175129 amd64 laptop won't suspend on lid close o amd64/174679 amd64 Intel i5 laptop overheats and shuts down [regression] o amd64/173869 amd64 buildworld breaks with clang o amd64/173680 amd64 9.1rc3 installer hangs at "rootpass" o amd64/173502 amd64 Patch inhibition of warnings that appear in the combin o amd64/173465 amd64 FreeBSD 9.1 restarts in random fashion after upgrade t o amd64/173311 amd64 FreeBSD 9.1 RC2 , 12 servers restart in random fashion o amd64/173235 amd64 Have received two crashes within 1 day after installin o amd64/172926 amd64 [boot] booting hangs after 9.1-RC2 install in 2nd (MBR o amd64/171835 amd64 bsdinstall abort on Dell PowerEdge R420 with PERC H310 o amd64/171814 amd64 [panic] bioq_init or bioq_remove (unsure which) o amd64/171701 amd64 [install] 9.0-rel amd64 installer 'guided' or 'manual' o amd64/171250 amd64 ldd32 cannot find some i386 libraries o amd64/171110 amd64 Upgrade 9.1-BETA1 > RC1 issue o amd64/170487 amd64 [boot] Thinkpad X61s cannot boot 9.1-BETA1 o amd64/170351 amd64 [kernel] [patch] amd64: 64-bit process can't always ge o amd64/170115 amd64 Serial boot broken in 9.0 o amd64/168659 amd64 [boot] FreeBSD 9 - Crash upon booting off install CD ( o amd64/167582 amd64 Compile of MySQL NDB Cluster Fails 8.2 AMD64 o amd64/167543 amd64 [kernel] Install FreeBSD can show error message with c o amd64/167393 amd64 [boot] MacBook4,1 hangs on SMP boot o amd64/166639 amd64 [boot] Syscons issue Intel D2700 o amd64/166229 amd64 [boot] Unable to install FreeBSD 9 on Acer Extensa 522 o amd64/165850 amd64 [build] 8.3-RC1 (amd64): world doesn't build with CPUT o amd64/165845 amd64 [build] Unable to build kernel on 8.2-STABLE o amd64/165351 amd64 [boot] Error while installing or booting the freeBSD O o amd64/164773 amd64 [boot] 9.0 amd64 fails to boot on HP DL145 G3 [regress o amd64/164707 amd64 FreeBSD 9 installer does not work with IBM uefi o amd64/164643 amd64 Kernel Panic at 9.0-RELEASE o amd64/164619 amd64 when logged in as root the user and group applications o amd64/164457 amd64 [install] Can't install FreeBSD 9.0 (amd64) on HP Blad o amd64/164301 amd64 [install] 9.0 - Can't install, no DHCP lease o amd64/164136 amd64 after fresh install 8.1 release or 8.2 release the har o amd64/164116 amd64 [boot] FreeBSD 9.0-RELEASE installations mediums fails o amd64/164089 amd64 FreeBSD-9.0-RELEASE-amd64-memstick.img does not boot o amd64/164073 amd64 /etc/rc warning after booting o amd64/164036 amd64 [keyboard] Moused fails on 9_0_RELENG o amd64/163736 amd64 Freebsd 8.2 with MPD5 and about 100 PPPoE clients pani o amd64/163710 amd64 setjump in userboot.so causes stack corruption o amd64/163625 amd64 Install problems of RC3 amd64 on ASRock N68 GE3 UCC o amd64/163568 amd64 hard drive naming o amd64/163285 amd64 when installing gnome2-lite not all dependent packages o amd64/163284 amd64 print manager failed to install correctly o amd64/163114 amd64 no boot on Via Nanao netbook Samsung NC20 o amd64/163092 amd64 FreeBSD 9.0-RC2 fails to boot from raid-z2 if AHCI is o amd64/163048 amd64 normal user cant mount ntfs-3g o amd64/162936 amd64 fails boot and destabilizes other OSes on FreeBSD 9 RC o amd64/162489 amd64 After some time X blanks the screen and does not respo o amd64/162314 amd64 not able to install FreeBSD-8.2-RELEASE-amd64-dvd1 as o amd64/162170 amd64 Unable to install due to freeze at "run_interrupt_driv o amd64/161974 amd64 FreeBSD 9 new installer installs succesful, renders ma o kern/160833 amd64 Keyboard USB doesn't work o amd64/157386 amd64 [powerd] Enabling powerd(8) with default settings on I o amd64/156106 amd64 [boot] boot0 fails to start o amd64/155135 amd64 [boot] Does Not Boot On a Very Standard Hardware o amd64/154957 amd64 [boot] Install boot CD won't boot up - keeps rebooting o amd64/154629 amd64 [panic] Fatal trap 9: general protection fault while i o amd64/153935 amd64 [hang] system hangs while trying to do 'shutdown -h no o amd64/153831 amd64 [boot] CD bootloader won't on Tyan s2912G2nr o amd64/153496 amd64 [hyper-v] [install] Install on Hyper-V leaves corrupt o amd64/153372 amd64 [panic] kernel panic o amd64/153175 amd64 [amd64] Kernel Panic on only FreeBSD 8 amd64 o amd64/152874 amd64 [install] 8.1 install fails where 7.3 works due to lac o amd64/152430 amd64 [boot] HP ProLiant Microserver n36l cannot boot into i o amd64/145991 amd64 [NOTES] [patch] Add a requires line to /sys/amd64/conf o amd64/144405 amd64 [build] [patch] include /usr/obj/lib32 in cleanworld t s amd64/143173 amd64 [ata] Promise FastTrack TX4 + SATA DVD, installer can' p amd64/141413 amd64 [hang] Tyan 2881 m3289 SMDC freeze o amd64/137942 amd64 [pci] 8.0-BETA2 having problems with Asus M2N-SLI-delu o amd64/127640 amd64 [amd64] gcc(1) will not build shared libraries with -f o amd64/115194 amd64 LCD screen remains blank after Dell XPS M1210 lid is c 79 problems total. From owner-freebsd-amd64@FreeBSD.ORG Mon May 20 16:30:00 2013 Return-Path: Delivered-To: freebsd-amd64@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B37817FB for ; Mon, 20 May 2013 16:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 822A03CD for ; Mon, 20 May 2013 16:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4KGU0ea056022 for ; Mon, 20 May 2013 16:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4KGU0hq056021; Mon, 20 May 2013 16:30:00 GMT (envelope-from gnats) Resent-Date: Mon, 20 May 2013 16:30:00 GMT Resent-Message-Id: <201305201630.r4KGU0hq056021@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bert Regeer Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D6B075B0 for ; Mon, 20 May 2013 16:20:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.FreeBSD.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id C92DF33D for ; Mon, 20 May 2013 16:20:23 +0000 (UTC) Received: from oldred.FreeBSD.org ([127.0.1.6]) by oldred.FreeBSD.org (8.14.5/8.14.5) with ESMTP id r4KGKNGs075821 for ; Mon, 20 May 2013 16:20:23 GMT (envelope-from nobody@oldred.FreeBSD.org) Received: (from nobody@localhost) by oldred.FreeBSD.org (8.14.5/8.14.5/Submit) id r4KGKN2u075820; Mon, 20 May 2013 16:20:23 GMT (envelope-from nobody) Message-Id: <201305201620.r4KGKN2u075820@oldred.FreeBSD.org> Date: Mon, 20 May 2013 16:20:23 GMT From: Bert Regeer To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: amd64/178792: -march=native fails with clang on certain CPU's X-Mailman-Approved-At: Mon, 20 May 2013 16:38:03 +0000 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 16:30:00 -0000 >Number: 178792 >Category: amd64 >Synopsis: -march=native fails with clang on certain CPU's >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 20 16:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Bert Regeer >Release: FreeBSD 9.1-RELEASE >Organization: Absio Corporation >Environment: FreeBSD TestVM.absio.local 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When compiling with clang passing the flag "-march=native" causes clang to fail with the following error message: touch test.c clang -march=native test.c error: unknown target CPU 'i686' This is an issue when the Python has also been installed with clang as the compiler, as all of the python packages from pypi that require a c compiler will invoke clang with the -march=native and fail. It is only on certain CPU's that I am able to replicate the issue, see the following output from dmesg: FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 CPU: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz (2294.19-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x306a9 Family = 6 Model = 3a Stepping = 9 Features=0xfa3fbff Features2=0x9e982203 AMD Features=0x28100800 AMD Features2=0x1 TSC: P-state invariant >How-To-Repeat: touch test.c clang -march=native test.c >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Mon May 20 20:42:08 2013 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1220225D; Mon, 20 May 2013 20:42:08 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) by mx1.freebsd.org (Postfix) with ESMTP id C4BFA1843; Mon, 20 May 2013 20:42:07 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id E510CB964; Mon, 20 May 2013 16:42:06 -0400 (EDT) From: John Baldwin To: freebsd-amd64@freebsd.org, Anton Shterenlikht Subject: Re: amd64/178671: snd_hda stops working as soon as X starts Date: Mon, 20 May 2013 09:46:51 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p25; KDE/4.5.5; amd64; ; ) References: <201305151935.r4FJZ1JB034984@mech-aslap239.men.bris.ac.uk> In-Reply-To: <201305151935.r4FJZ1JB034984@mech-aslap239.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201305200946.51199.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 20 May 2013 16:42:07 -0400 (EDT) Cc: FreeBSD-gnats-submit@freebsd.org X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 20:42:08 -0000 On Wednesday, May 15, 2013 3:35:01 pm Anton Shterenlikht wrote: > > >Number: 178671 > >Category: amd64 > >Synopsis: snd_hda stops working as soon as X starts > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-amd64 > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Wed May 15 19:40:02 UTC 2013 > >Closed-Date: > >Last-Modified: > >Originator: Anton Shterenlikht > >Release: FreeBSD 10.0-CURRENT amd64 > >Organization: > University of Bristol > >Environment: > System: FreeBSD mech-aslap239.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0- CURRENT #33 r250633: Tue May 14 20:11:05 BST 2013 root@mech- aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/BUZI amd64 > > > > >Description: > > This is HP Compaq 6715s laptop. > The sound card is: > > hdac0@pci0:0:20:2: class=0x040300 card=0x30c2103c chip=0x43831002 rev=0x00 hdr=0x00 > vendor = 'Advanced Micro Devices [AMD] nee ATI' > device = 'SBx00 Azalia (Intel HDA)' > class = multimedia > subclass = HDA > > I have in the kernel: > > device sound # Generic sound driver (required) > device snd_hda # Intel High Definition Audio > > In dmesg: > > hdac0: mem 0xc0000000-0xc0003fff irq 16 at device 20.2 on pci0 > > Before X starts I can get sound via /dev/dsp, > or play CDs with > dd if=/dev/cd0 of=/dev/dspcd bs=2352 > > HOwever, as soon I start X, e.g. with xdm, > or simply "X -config /root/xorg.conf.new -retro" > I cannot get any sound anymore until a reboot. > > On the console I see lots of messages: > > hdac0: Unexpected unsolicited response from address 0: 00000040 > hdac0: Unexpected unsolicited response from address 0: 00400104 > hdac0: Unexpected unsolicited response from address 0: 00000001 > hdac0: Unexpected unsolicited response from address 0: 0000000f > hdac0: Unexpected unsolicited response from address 0: 410710f0 > hdac0: Unexpected unsolicited response from address 0: 00000010 > hdac0: Unexpected unsolicited response from address 0: 00000040 > hdac0: Unexpected unsolicited response from address 0: 00400083 > hdac0: Unexpected unsolicited response from address 0: 00000000 > hdac0: Unexpected unsolicited response from address 0: 04a12020 > hdac0: Unexpected unsolicited response from address 0: 00001727 > hdac0: Unexpected unsolicited response from address 0: 00000020 > hdac0: Unexpected unsolicited response from address 0: 00400187 > hdac0: Unexpected unsolicited response from address 0: 00000002 > hdac0: Unexpected unsolicited response from address 0: 00000e03 > hdac0: Unexpected unsolicited response from address 0: 0181302e > hdac0: Unexpected unsolicited response from address 0: 00001737 > hdac0: Unexpected unsolicited response from address 0: 00000020 > hdac0: Unexpected unsolicited response from address 0: 00400301 > hdac0: Unexpected unsolicited response from address 0: 00000001 > hdac0: Unexpected unsolicited response from address 0: 00000002 > hdac0: Unexpected unsolicited response from address 0: 4145f0f0 > hdac0: Unexpected unsolicited response from address 0: 00000010 > hdac0: Unexpected unsolicited response from address 0: 00000040 This sounds like the display driver is DMA'ing to the wrong place or writing to the wrong registers. Can you check the output of pciconf -lcb to make sure there are no collisions between BARs? Also, which GPU hardware/driver is in your laptop? -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Mon May 20 20:42:08 2013 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B63E125E; Mon, 20 May 2013 20:42:08 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3E2C11846; Mon, 20 May 2013 20:42:08 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id B7C5BB962; Mon, 20 May 2013 16:42:05 -0400 (EDT) From: John Baldwin To: freebsd-amd64@freebsd.org, Sofian Brabez Subject: Re: amd64/178357: [patch] export CPU physical and virtual address sizes in sysctl oids using do_cpuid Date: Mon, 20 May 2013 09:44:17 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p25; KDE/4.5.5; amd64; ; ) References: <5186e0aa.4852b40a.6e3e.43a7@mx.google.com> In-Reply-To: <5186e0aa.4852b40a.6e3e.43a7@mx.google.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201305200944.17833.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 20 May 2013 16:42:05 -0400 (EDT) Cc: FreeBSD-gnats-submit@freebsd.org X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 20:42:08 -0000 On Sunday, May 05, 2013 6:43:54 pm Sofian Brabez wrote: > > >Number: 178357 > >Category: amd64 > >Synopsis: [patch] export CPU physical and virtual address sizes in sysctl oids using do_cpuid > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-amd64 > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: change-request > >Submitter-Id: current-users > >Arrival-Date: Sun May 05 22:50:00 UTC 2013 > >Closed-Date: > >Last-Modified: > >Originator: Sofian Brabez > >Release: FreeBSD 10.0-CURRENT amd64 > >Organization: > >Environment: > System: FreeBSD ogoshi.lan 10.0-CURRENT FreeBSD 10.0-CURRENT #3 r250287M: Sun May 5 21:59:15 CEST 2013 root@ogoshi.lan:/usr/obj/usr/home/sbz/freebsd/svn/src/sys/GENERIC amd64 > > >Description: > This patch export CPU Physical and Virtual address sizes through the sysctl interface > using do_cpuid function. > > It also patch the sys/modules/linprocfs module add this information in the > /usr/compat/linux/proc/cpuinfo output like it's done in Linux /proc/cpuinfo. > > More details can be found here: http://people.freebsd.org/~sbz/cpu/ > >How-To-Repeat: > >Fix: > > Apply the given patch. > > --- address_sizes.diff begins here --- > Index: amd64/amd64/identcpu.c > =================================================================== > --- amd64/amd64/identcpu.c (revision 250287) > +++ amd64/amd64/identcpu.c (working copy) > @@ -109,6 +109,12 @@ > SYSCTL_INT(_hw, OID_AUTO, clockrate, CTLFLAG_RD, > &hw_clockrate, 0, "CPU instruction clock rate"); > > +SYSCTL_UINT(_machdep, OID_AUTO, cpu_physical_address_bits, CTLFLAG_RD, > + &cpu_pma_bits, 0, "CPU physical address bits"); > + > +SYSCTL_UINT(_machdep, OID_AUTO, cpu_virtual_address_bits, CTLFLAG_RD, > + &cpu_vma_bits, 0, "CPU virtual address bits"); > + > static eventhandler_tag tsc_post_tag; > > static char cpu_brand[48]; > @@ -516,6 +522,16 @@ > cpu_feature = regs[3]; > cpu_feature2 = regs[2]; > > + /* Intel CPUID Specification chapter 5.2.7 > + * eax=0x80000008 > + * */ > + do_cpuid(0x80000008, regs); > + > + /* upper bits are virtual size */ > + cpu_vma_bits = ((regs[0] >> 8) & 0xFF); > + /* lower bits are physical size */ > + cpu_pma_bits = (regs[0] & 0xFF); > + > /* > * Clear "Limit CPUID Maxval" bit and get the largest standard CPUID > * function number again if it is set from BIOS. It is necessary > Index: amd64/amd64/initcpu.c > =================================================================== > --- amd64/amd64/initcpu.c (revision 250287) > +++ amd64/amd64/initcpu.c (working copy) > @@ -66,10 +66,12 @@ > u_int cpu_high; /* Highest arg to CPUID */ > u_int cpu_exthigh; /* Highest arg to extended CPUID */ > u_int cpu_id; /* Stepping ID */ > +u_int cpu_pma_bits; /* CPU physical address bits */ > u_int cpu_procinfo; /* HyperThreading Info / Brand Index / CLFUSH */ > u_int cpu_procinfo2; /* Multicore info */ > char cpu_vendor[20]; /* CPU Origin code */ > u_int cpu_vendor_id; /* CPU vendor ID */ > +u_int cpu_vma_bits; /* CPU virtual address bits */ > u_int cpu_fxsr; /* SSE enabled */ > u_int cpu_mxcsr_mask; /* Valid bits in mxcsr */ > u_int cpu_clflush_line_size = 32; > Index: amd64/include/md_var.h > =================================================================== > --- amd64/include/md_var.h (revision 250287) > +++ amd64/include/md_var.h (working copy) > @@ -54,10 +54,12 @@ > extern u_int cpu_id; > extern u_int cpu_max_ext_state_size; > extern u_int cpu_mxcsr_mask; > +extern u_int cpu_pma_bits; > extern u_int cpu_procinfo; > extern u_int cpu_procinfo2; > extern char cpu_vendor[]; > extern u_int cpu_vendor_id; > +extern u_int cpu_vma_bits; > extern char ctx_switch_xsave[]; > extern char kstack[]; > extern char sigcode[]; > Index: compat/linprocfs/linprocfs.c > =================================================================== > --- compat/linprocfs/linprocfs.c (revision 250287) > +++ compat/linprocfs/linprocfs.c (working copy) > @@ -310,6 +310,12 @@ > fqmhz, fqkhz, fqmhz, fqkhz); > } > > + if (cpu_vma_bits != 0 && cpu_vma_bits != 0) { I think you want s/vma/pma/ here for the first check. > + sbuf_printf(sb, > + "address sizes\t: %u bits physical, %u bits virtual\n", > + cpu_pma_bits, cpu_vma_bits); > + } > + > return (0); > } > #endif /* __i386__ || __amd64__ */ I don't know that we need to create new sysctls for this since userland processes can just run cpuid directly. I would be fine adding this to linprocfs however. I think if we want to start exporting cpuid info via sysctl we should think about designing a consistent interface for doing so rather than adding ad-hoc sysctls for certain fields. -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Mon May 20 20:42:10 2013 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C58B1260; Mon, 20 May 2013 20:42:10 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) by mx1.freebsd.org (Postfix) with ESMTP id D8D30184C; Mon, 20 May 2013 20:42:09 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id E2DD4B917; Mon, 20 May 2013 16:42:07 -0400 (EDT) From: John Baldwin To: freebsd-amd64@freebsd.org Subject: Re: Fix amd64 ddb hardware watchpoints for SMP Date: Mon, 20 May 2013 09:48:46 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p25; KDE/4.5.5; amd64; ; ) References: <20130516064127.GC3047@kib.kiev.ua> In-Reply-To: <20130516064127.GC3047@kib.kiev.ua> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201305200948.46211.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 20 May 2013 16:42:08 -0400 (EDT) Cc: amd64@freebsd.org, current@freebsd.org X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 20:42:10 -0000 On Thursday, May 16, 2013 2:41:27 am Konstantin Belousov wrote: > The ddb use of hardware watchpoints on the x86 architectures is known to > be lacking. There are at least two known problems. One is the improper > interaction with the user-mode debuggers which use debug registers. > Another is that ddb only loads the debug registers for the watchpoint > into the CPU which is executing ddb code, not setting up non-current > processors. > > Not touching the first problem for now, I want to fix the second issue, > since as is, hardware watchpoints are useless on SMP. Patch below makes > the stopped processors to load the debug registers after resuming from > the stop handler, if directed by ddb. > > Also the patch contains two other commands for ddb which made my > exprerience with debugger on amd64 better. The 'show pginfo[/p] addr' > command dumps the vm_page_t information, either by vm_page address, or, > if the /p modifier is specified, by the physical page address. The 'show > phys2dmap addr' command translates physical address into the directly > mapped address, which can be accessed from ddb then. This looks fine to me. It would be nice to fix i386 as well to be consistent. I would commit the new DDB commands as a separate patch from the watchpoint fixes. -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Mon May 20 20:50:03 2013 Return-Path: Delivered-To: freebsd-amd64@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2E53FCF9 for ; Mon, 20 May 2013 20:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 10C662DA for ; Mon, 20 May 2013 20:50:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4KKo21p009497 for ; Mon, 20 May 2013 20:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4KKo29j009496; Mon, 20 May 2013 20:50:02 GMT (envelope-from gnats) Date: Mon, 20 May 2013 20:50:02 GMT Message-Id: <201305202050.r4KKo29j009496@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org Cc: From: John Baldwin Subject: Re: amd64/178357: [patch] export CPU physical and virtual address sizes in sysctl oids using do_cpuid X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: John Baldwin List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 20:50:03 -0000 The following reply was made to PR amd64/178357; it has been noted by GNATS. From: John Baldwin To: freebsd-amd64@freebsd.org, Sofian Brabez Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: amd64/178357: [patch] export CPU physical and virtual address sizes in sysctl oids using do_cpuid Date: Mon, 20 May 2013 09:44:17 -0400 On Sunday, May 05, 2013 6:43:54 pm Sofian Brabez wrote: > > >Number: 178357 > >Category: amd64 > >Synopsis: [patch] export CPU physical and virtual address sizes in sysctl oids using do_cpuid > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-amd64 > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: change-request > >Submitter-Id: current-users > >Arrival-Date: Sun May 05 22:50:00 UTC 2013 > >Closed-Date: > >Last-Modified: > >Originator: Sofian Brabez > >Release: FreeBSD 10.0-CURRENT amd64 > >Organization: > >Environment: > System: FreeBSD ogoshi.lan 10.0-CURRENT FreeBSD 10.0-CURRENT #3 r250287M: Sun May 5 21:59:15 CEST 2013 root@ogoshi.lan:/usr/obj/usr/home/sbz/freebsd/svn/src/sys/GENERIC amd64 > > >Description: > This patch export CPU Physical and Virtual address sizes through the sysctl interface > using do_cpuid function. > > It also patch the sys/modules/linprocfs module add this information in the > /usr/compat/linux/proc/cpuinfo output like it's done in Linux /proc/cpuinfo. > > More details can be found here: http://people.freebsd.org/~sbz/cpu/ > >How-To-Repeat: > >Fix: > > Apply the given patch. > > --- address_sizes.diff begins here --- > Index: amd64/amd64/identcpu.c > =================================================================== > --- amd64/amd64/identcpu.c (revision 250287) > +++ amd64/amd64/identcpu.c (working copy) > @@ -109,6 +109,12 @@ > SYSCTL_INT(_hw, OID_AUTO, clockrate, CTLFLAG_RD, > &hw_clockrate, 0, "CPU instruction clock rate"); > > +SYSCTL_UINT(_machdep, OID_AUTO, cpu_physical_address_bits, CTLFLAG_RD, > + &cpu_pma_bits, 0, "CPU physical address bits"); > + > +SYSCTL_UINT(_machdep, OID_AUTO, cpu_virtual_address_bits, CTLFLAG_RD, > + &cpu_vma_bits, 0, "CPU virtual address bits"); > + > static eventhandler_tag tsc_post_tag; > > static char cpu_brand[48]; > @@ -516,6 +522,16 @@ > cpu_feature = regs[3]; > cpu_feature2 = regs[2]; > > + /* Intel CPUID Specification chapter 5.2.7 > + * eax=0x80000008 > + * */ > + do_cpuid(0x80000008, regs); > + > + /* upper bits are virtual size */ > + cpu_vma_bits = ((regs[0] >> 8) & 0xFF); > + /* lower bits are physical size */ > + cpu_pma_bits = (regs[0] & 0xFF); > + > /* > * Clear "Limit CPUID Maxval" bit and get the largest standard CPUID > * function number again if it is set from BIOS. It is necessary > Index: amd64/amd64/initcpu.c > =================================================================== > --- amd64/amd64/initcpu.c (revision 250287) > +++ amd64/amd64/initcpu.c (working copy) > @@ -66,10 +66,12 @@ > u_int cpu_high; /* Highest arg to CPUID */ > u_int cpu_exthigh; /* Highest arg to extended CPUID */ > u_int cpu_id; /* Stepping ID */ > +u_int cpu_pma_bits; /* CPU physical address bits */ > u_int cpu_procinfo; /* HyperThreading Info / Brand Index / CLFUSH */ > u_int cpu_procinfo2; /* Multicore info */ > char cpu_vendor[20]; /* CPU Origin code */ > u_int cpu_vendor_id; /* CPU vendor ID */ > +u_int cpu_vma_bits; /* CPU virtual address bits */ > u_int cpu_fxsr; /* SSE enabled */ > u_int cpu_mxcsr_mask; /* Valid bits in mxcsr */ > u_int cpu_clflush_line_size = 32; > Index: amd64/include/md_var.h > =================================================================== > --- amd64/include/md_var.h (revision 250287) > +++ amd64/include/md_var.h (working copy) > @@ -54,10 +54,12 @@ > extern u_int cpu_id; > extern u_int cpu_max_ext_state_size; > extern u_int cpu_mxcsr_mask; > +extern u_int cpu_pma_bits; > extern u_int cpu_procinfo; > extern u_int cpu_procinfo2; > extern char cpu_vendor[]; > extern u_int cpu_vendor_id; > +extern u_int cpu_vma_bits; > extern char ctx_switch_xsave[]; > extern char kstack[]; > extern char sigcode[]; > Index: compat/linprocfs/linprocfs.c > =================================================================== > --- compat/linprocfs/linprocfs.c (revision 250287) > +++ compat/linprocfs/linprocfs.c (working copy) > @@ -310,6 +310,12 @@ > fqmhz, fqkhz, fqmhz, fqkhz); > } > > + if (cpu_vma_bits != 0 && cpu_vma_bits != 0) { I think you want s/vma/pma/ here for the first check. > + sbuf_printf(sb, > + "address sizes\t: %u bits physical, %u bits virtual\n", > + cpu_pma_bits, cpu_vma_bits); > + } > + > return (0); > } > #endif /* __i386__ || __amd64__ */ I don't know that we need to create new sysctls for this since userland processes can just run cpuid directly. I would be fine adding this to linprocfs however. I think if we want to start exporting cpuid info via sysctl we should think about designing a consistent interface for doing so rather than adding ad-hoc sysctls for certain fields. -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Mon May 20 21:14:52 2013 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0CE8E68F; Mon, 20 May 2013 21:14:52 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id D78AA16B3; Mon, 20 May 2013 21:14:51 +0000 (UTC) Received: from Julian-MBP3.local (50-196-156-133-static.hfc.comcastbusiness.net [50.196.156.133]) (authenticated bits=0) by vps1.elischer.org (8.14.5/8.14.5) with ESMTP id r4KLEoUA061090 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 20 May 2013 14:14:51 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <519A9245.4080609@freebsd.org> Date: Mon, 20 May 2013 14:14:45 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: John Baldwin Subject: Re: Fix amd64 ddb hardware watchpoints for SMP References: <20130516064127.GC3047@kib.kiev.ua> <201305200948.46211.jhb@freebsd.org> In-Reply-To: <201305200948.46211.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 20 May 2013 22:25:15 +0000 Cc: amd64@freebsd.org, current@freebsd.org, freebsd-amd64@freebsd.org X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 21:14:52 -0000 On 5/20/13 6:48 AM, John Baldwin wrote: > On Thursday, May 16, 2013 2:41:27 am Konstantin Belousov wrote: >> The ddb use of hardware watchpoints on the x86 architectures is known to >> be lacking. There are at least two known problems. One is the improper >> interaction with the user-mode debuggers which use debug registers. >> Another is that ddb only loads the debug registers for the watchpoint >> into the CPU which is executing ddb code, not setting up non-current >> processors. >> >> Not touching the first problem for now, I want to fix the second issue, >> since as is, hardware watchpoints are useless on SMP. Patch below makes >> the stopped processors to load the debug registers after resuming from >> the stop handler, if directed by ddb. >> >> Also the patch contains two other commands for ddb which made my >> exprerience with debugger on amd64 better. The 'show pginfo[/p] addr' >> command dumps the vm_page_t information, either by vm_page address, or, >> if the /p modifier is specified, by the physical page address. The 'show >> phys2dmap addr' command translates physical address into the directly >> mapped address, which can be accessed from ddb then. > This looks fine to me. It would be nice to fix i386 as well to be consistent. > I would commit the new DDB commands as a separate patch from the watchpoint > fixes. > the big test is to add the support in the gdb stub to use these.. :-) From owner-freebsd-amd64@FreeBSD.ORG Tue May 21 17:17:19 2013 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EC980A3F; Tue, 21 May 2013 17:17:19 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id A7E1CF7A; Tue, 21 May 2013 17:17:19 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id r4LHHJ17063929; Tue, 21 May 2013 13:17:19 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4LHHIPU063921; Tue, 21 May 2013 17:17:18 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 21 May 2013 17:17:18 GMT Message-Id: <201305211717.r4LHHIPU063921@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on amd64/amd64 Precedence: bulk X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 17:17:20 -0000 TB --- 2013-05-21 13:30:20 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-21 13:30:20 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-05-21 13:30:20 - starting HEAD tinderbox run for amd64/amd64 TB --- 2013-05-21 13:30:20 - cleaning the object tree TB --- 2013-05-21 13:30:20 - /usr/local/bin/svn stat /src TB --- 2013-05-21 13:30:25 - At svn revision 250855 TB --- 2013-05-21 13:30:26 - building world TB --- 2013-05-21 13:30:26 - CROSS_BUILD_TESTING=YES TB --- 2013-05-21 13:30:26 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-21 13:30:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-21 13:30:26 - SRCCONF=/dev/null TB --- 2013-05-21 13:30:26 - TARGET=amd64 TB --- 2013-05-21 13:30:26 - TARGET_ARCH=amd64 TB --- 2013-05-21 13:30:26 - TZ=UTC TB --- 2013-05-21 13:30:26 - __MAKE_CONF=/dev/null TB --- 2013-05-21 13:30:26 - cd /src TB --- 2013-05-21 13:30:26 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Tue May 21 13:30:33 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Tue May 21 17:10:11 UTC 2013 TB --- 2013-05-21 17:10:11 - generating LINT kernel config TB --- 2013-05-21 17:10:11 - cd /src/sys/amd64/conf TB --- 2013-05-21 17:10:11 - /usr/bin/make -B LINT TB --- 2013-05-21 17:10:11 - cd /src/sys/amd64/conf TB --- 2013-05-21 17:10:11 - /usr/sbin/config -m LINT TB --- 2013-05-21 17:10:11 - building LINT kernel TB --- 2013-05-21 17:10:11 - CROSS_BUILD_TESTING=YES TB --- 2013-05-21 17:10:11 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-21 17:10:11 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-21 17:10:11 - SRCCONF=/dev/null TB --- 2013-05-21 17:10:11 - TARGET=amd64 TB --- 2013-05-21 17:10:11 - TARGET_ARCH=amd64 TB --- 2013-05-21 17:10:11 - TZ=UTC TB --- 2013-05-21 17:10:11 - __MAKE_CONF=/dev/null TB --- 2013-05-21 17:10:11 - cd /src TB --- 2013-05-21 17:10:11 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue May 21 17:10:11 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] *** Error code 1 Stop. make: stopped in /obj/amd64.amd64/src/sys/LINT *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-05-21 17:17:18 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-21 17:17:18 - ERROR: failed to build LINT kernel TB --- 2013-05-21 17:17:18 - 10839.07 user 1982.82 system 13618.29 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Thu May 23 04:20:01 2013 Return-Path: Delivered-To: freebsd-amd64@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E74898CE for ; Thu, 23 May 2013 04:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7FA3AF76 for ; Thu, 23 May 2013 04:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4N4K0jp083357 for ; Thu, 23 May 2013 04:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4N4K0TR083356; Thu, 23 May 2013 04:20:00 GMT (envelope-from gnats) Resent-Date: Thu, 23 May 2013 04:20:00 GMT Resent-Message-Id: <201305230420.r4N4K0TR083356@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, JohnDoe Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 01B73833 for ; Thu, 23 May 2013 04:10:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.FreeBSD.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id E75F2F34 for ; Thu, 23 May 2013 04:10:06 +0000 (UTC) Received: from oldred.FreeBSD.org ([127.0.1.6]) by oldred.FreeBSD.org (8.14.5/8.14.5) with ESMTP id r4N4A6W5093871 for ; Thu, 23 May 2013 04:10:06 GMT (envelope-from nobody@oldred.FreeBSD.org) Received: (from nobody@localhost) by oldred.FreeBSD.org (8.14.5/8.14.5/Submit) id r4N4A6NN093870; Thu, 23 May 2013 04:10:06 GMT (envelope-from nobody) Message-Id: <201305230410.r4N4A6NN093870@oldred.FreeBSD.org> Date: Thu, 23 May 2013 04:10:06 GMT From: JohnDoe To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: amd64/178852: mysql56-server X-Mailman-Approved-At: Thu, 23 May 2013 11:22:07 +0000 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 04:20:01 -0000 >Number: 178852 >Category: amd64 >Synopsis: mysql56-server >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 23 04:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: JohnDoe >Release: 9.1 amd 64 >Organization: handsomeisgood@THU >Environment: FreeBSD cacti.thu.edu.tw 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: ===> Building for mysql-server-5.6.10 [ 2%] Built target regex [ 2%] Built target zlib [ 3%] Built target yassl [ 4%] Built target vio [ 6%] Built target taocrypt [ 6%] Built target INFO_SRC [ 10%] Built target strings [ 10%] Built target gen_lex_hash [ 10%] Built target comp_sql [ 11%] Built target mysqlservices [ 11%] Built target GenServerSource [ 11%] Built target GenFixPrivs [ 11%] Built target INFO_BIN [ 11%] Built target gen_pfs_lex_token [ 19%] Built target mysys [ 19%] Built target dbug [ 19%] Built target queues [ 19%] Built target re [ 19%] Built target replace [ 19%] Built target thr_lock [ 19%] Built target mytap [ 19%] Built target mysys_ssl [ 19%] Built target no_plan-t [ 19%] Built target todo-t [ 19%] Built target simple-t [ 19%] Built target skip_all-t [ 19%] Built target skip-t [ 19%] Built target basic-t [ 19%] Built target comp_err [ 19%] Built target innochecksum [ 19%] Built target my_print_defaults [ 19%] Built target resolveip [ 19%] Built target resolve_stack_dump [ 19%] Built target GenError [ 19%] Built target mysql_tzinfo_to_sql [ 21%] Built target heap [ 23%] Built target heap_embedded [ 23%] Built target federated [ 27%] Built target myisam [ 27%] Built target federated_embedded [ 32%] Built target myisam_embedded [ 32%] Built target blackhole [ 32%] Built target blackhole_embedded [ 32%] Built target csv [ 32%] Built target csv_embedded [ 32%] Built target archive [ 32%] Built target archive_embedded [ 34%] Built target myisammrg [ 36%] Built target myisammrg_embedded [ 36%] Built target perror [ 37%] Built target clientlib [ 37%] Built target master [ 37%] Built target partition [ 38%] Built target partition_embedded [ 38%] Built target rpl [ 40%] Built target binlog [ 40%] Built target sqlgunitlib [ 46%] Built target perfschema [ 47%] Built target slave [ 47%] Built target hp_test2 [ 53%] Built target perfschema_embedded [ 53%] Built target myisam_ftdump [ 53%] Built target myisamchk [ 53%] Built target myisamlog [ 53%] Built target myisampack [ 53%] Built target libmysql [ 53%] Built target mysqlclient [ 53%] Built target pfs-t [ 53%] Built target pfs_account-oom-t [ 53%] Built target pfs_host-oom-t [ 53%] Built target pfs_instr-oom-t [ 53%] Built target pfs_instr_class-oom-t [ 53%] Built target pfs_instr_class-t [ 53%] Built target pfs_user-oom-t [ 53%] Built target hp_test1 [ 53%] Built target mysql_plugin [ 53%] Built target mysql_upgrade [ 53%] Built target mysqltest [ 62%] Built target innobase [ 63%] Built target pfs_instr-t [ 73%] Built target innobase_embedded [ 73%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item.cc.o [ 73%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_create.cc.o [ 73%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_geofunc.cc.o [ 74%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_strfunc.cc.o [ 73%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/field.cc.o [ 73%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_row.cc.o [ 74%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_subselect.cc.o In file included from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/my_global.h:341, In file included from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/my_global.h:341, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/item.cc:18: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/sql_class.h:21, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/item_create.cc:30: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" In file included from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/my_global.h:341, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/sql_class.h:21, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/item_geofunc.cc:30: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" In file included from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/my_global.h:341, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/sql_class.h:21, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/item_row.cc:22: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" In file included from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/my_global.h:341, In file included from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/my_global.h:341, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/item_strfunc.cc:32: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/sql_class.h:21, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/item_subselect.cc:33: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" In file included from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/my_global.h:341, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/sql_class.h:21, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/procedure.h:27, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/sql_select.h:27, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/field.cc:27: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" [ 74%] Building CXX object sql/CMakeFiles/sql.dir/item_cmpfunc.cc.o In file included from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/my_global.h:341, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/m_ctype.h:24, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/item_cmpfunc.cc:25: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" c++: Internal error: Killed: 9 (program cc1plus) Please submit a full bug report. See for instructions. *** [sql/CMakeFiles/sql.dir/item_cmpfunc.cc.o] Error code 1 1 error *** [sql/CMakeFiles/sql.dir/all] Error code 2 [ 74%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_sum.cc.o In file included from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/my_global.h:341, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/sql_class.h:21, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/procedure.h:27, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/sql_select.h:27, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/item_sum.cc:25: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" c++: Internal error: Killed: 9 (program cc1plus) Please submit a full bug report. See for instructions. *** [libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_create.cc.o] Error code 1 {standard input}: Assembler messages: {standard input}:14871: Warning: end of file not at end of a line; newline inserted {standard input}:15337: Error: no such instruction: `ad' c++: Internal error: Killed: 9 (program cc1plus) Please submit a full bug report. See for instructions. *** [libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_geofunc.cc.o] Error code 1 2 errors *** [libmysqld/CMakeFiles/sql_embedded.dir/all] Error code 2 2 errors *** [all] Error code 2 *** [do-build] Error code 1 Stop in /usr/ports/databases/mysql56-server. >How-To-Repeat: send mail to xup62j4@gmail.com thanks >Fix: Patch attached with submission follows: ===> Building for mysql-server-5.6.10 [ 2%] Built target regex [ 2%] Built target zlib [ 3%] Built target yassl [ 4%] Built target vio [ 6%] Built target taocrypt [ 6%] Built target INFO_SRC [ 10%] Built target strings [ 10%] Built target gen_lex_hash [ 10%] Built target comp_sql [ 11%] Built target mysqlservices [ 11%] Built target GenServerSource [ 11%] Built target GenFixPrivs [ 11%] Built target INFO_BIN [ 11%] Built target gen_pfs_lex_token [ 19%] Built target mysys [ 19%] Built target dbug [ 19%] Built target queues [ 19%] Built target re [ 19%] Built target replace [ 19%] Built target thr_lock [ 19%] Built target mytap [ 19%] Built target mysys_ssl [ 19%] Built target no_plan-t [ 19%] Built target todo-t [ 19%] Built target simple-t [ 19%] Built target skip_all-t [ 19%] Built target skip-t [ 19%] Built target basic-t [ 19%] Built target comp_err [ 19%] Built target innochecksum [ 19%] Built target my_print_defaults [ 19%] Built target resolveip [ 19%] Built target resolve_stack_dump [ 19%] Built target GenError [ 19%] Built target mysql_tzinfo_to_sql [ 21%] Built target heap [ 23%] Built target heap_embedded [ 23%] Built target federated [ 27%] Built target myisam [ 27%] Built target federated_embedded [ 32%] Built target myisam_embedded [ 32%] Built target blackhole [ 32%] Built target blackhole_embedded [ 32%] Built target csv [ 32%] Built target csv_embedded [ 32%] Built target archive [ 32%] Built target archive_embedded [ 34%] Built target myisammrg [ 36%] Built target myisammrg_embedded [ 36%] Built target perror [ 37%] Built target clientlib [ 37%] Built target master [ 37%] Built target partition [ 38%] Built target partition_embedded [ 38%] Built target rpl [ 40%] Built target binlog [ 40%] Built target sqlgunitlib [ 46%] Built target perfschema [ 47%] Built target slave [ 47%] Built target hp_test2 [ 53%] Built target perfschema_embedded [ 53%] Built target myisam_ftdump [ 53%] Built target myisamchk [ 53%] Built target myisamlog [ 53%] Built target myisampack [ 53%] Built target libmysql [ 53%] Built target mysqlclient [ 53%] Built target pfs-t [ 53%] Built target pfs_account-oom-t [ 53%] Built target pfs_host-oom-t [ 53%] Built target pfs_instr-oom-t [ 53%] Built target pfs_instr_class-oom-t [ 53%] Built target pfs_instr_class-t [ 53%] Built target pfs_user-oom-t [ 53%] Built target hp_test1 [ 53%] Built target mysql_plugin [ 53%] Built target mysql_upgrade [ 53%] Built target mysqltest [ 62%] Built target innobase [ 63%] Built target pfs_instr-t [ 73%] Built target innobase_embedded [ 73%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item.cc.o [ 73%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_create.cc.o [ 73%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_geofunc.cc.o [ 74%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_strfunc.cc.o [ 73%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/field.cc.o [ 73%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_row.cc.o [ 74%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_subselect.cc.o In file included from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/my_global.h:341, In file included from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/my_global.h:341, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/item.cc:18: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/sql_class.h:21, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/item_create.cc:30: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" In file included from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/my_global.h:341, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/sql_class.h:21, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/item_geofunc.cc:30: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" In file included from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/my_global.h:341, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/sql_class.h:21, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/item_row.cc:22: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" In file included from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/my_global.h:341, In file included from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/my_global.h:341, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/item_strfunc.cc:32: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/sql_class.h:21, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/item_subselect.cc:33: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" In file included from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/my_global.h:341, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/sql_class.h:21, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/procedure.h:27, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/sql_select.h:27, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/field.cc:27: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" [ 74%] Building CXX object sql/CMakeFiles/sql.dir/item_cmpfunc.cc.o In file included from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/my_global.h:341, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/m_ctype.h:24, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/item_cmpfunc.cc:25: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" c++: Internal error: Killed: 9 (program cc1plus) Please submit a full bug report. See for instructions. *** [sql/CMakeFiles/sql.dir/item_cmpfunc.cc.o] Error code 1 1 error *** [sql/CMakeFiles/sql.dir/all] Error code 2 [ 74%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_sum.cc.o In file included from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/include/my_global.h:341, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/sql_class.h:21, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/procedure.h:27, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/sql_select.h:27, from /usr/ports/databases/mysql56-server/work/mysql-5.6.10/sql/item_sum.cc:25: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" c++: Internal error: Killed: 9 (program cc1plus) Please submit a full bug report. See for instructions. *** [libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_create.cc.o] Error code 1 {standard input}: Assembler messages: {standard input}:14871: Warning: end of file not at end of a line; newline inserted {standard input}:15337: Error: no such instruction: `ad' c++: Internal error: Killed: 9 (program cc1plus) Please submit a full bug report. See for instructions. *** [libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_geofunc.cc.o] Error code 1 2 errors *** [libmysqld/CMakeFiles/sql_embedded.dir/all] Error code 2 2 errors *** [all] Error code 2 *** [do-build] Error code 1 Stop in /usr/ports/databases/mysql56-server. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Thu May 23 18:59:11 2013 Return-Path: Delivered-To: freebsd-amd64@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A7F66C50; Thu, 23 May 2013 18:59:11 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 803C2A3E; Thu, 23 May 2013 18:59:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4NIxB5Y097839; Thu, 23 May 2013 18:59:11 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4NIxBTj097838; Thu, 23 May 2013 18:59:11 GMT (envelope-from linimon) Date: Thu, 23 May 2013 18:59:11 GMT Message-Id: <201305231859.r4NIxBTj097838@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: ports/178852: databases/mysql56-server build fails X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 18:59:11 -0000 Old Synopsis: mysql56-server New Synopsis: databases/mysql56-server build fails Responsible-Changed-From-To: freebsd-amd64->freebsd-ports-bugs Responsible-Changed-By: linimon Responsible-Changed-When: Thu May 23 18:58:47 UTC 2013 Responsible-Changed-Why: ports PR. http://www.freebsd.org/cgi/query-pr.cgi?pr=178852 From owner-freebsd-amd64@FreeBSD.ORG Fri May 24 07:33:30 2013 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6B5ADE6B; Fri, 24 May 2013 07:33:30 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) by mx1.freebsd.org (Postfix) with ESMTP id 3071928E; Fri, 24 May 2013 07:33:30 +0000 (UTC) Received: from freebsd-stable.sentex.ca (localhost [127.0.0.1]) by freebsd-stable.sentex.ca (8.14.5/8.14.5) with ESMTP id r4O7XTNk047959; Fri, 24 May 2013 07:33:29 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id r4O7XTQa047954; Fri, 24 May 2013 07:33:29 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 24 May 2013 07:33:29 GMT Message-Id: <201305240733.r4O7XTQa047954@freebsd-stable.sentex.ca> X-Authentication-Warning: freebsd-stable.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [releng_9 tinderbox] failure on amd64/amd64 Precedence: bulk X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 May 2013 07:33:30 -0000 TB --- 2013-05-24 03:55:19 - tinderbox 2.10 running on freebsd-stable.sentex.ca TB --- 2013-05-24 03:55:19 - FreeBSD freebsd-stable.sentex.ca 8.3-STABLE FreeBSD 8.3-STABLE #0: Tue Oct 16 17:37:58 UTC 2012 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2013-05-24 03:55:19 - starting RELENG_9 tinderbox run for amd64/amd64 TB --- 2013-05-24 03:55:19 - cleaning the object tree TB --- 2013-05-24 03:55:19 - /usr/local/bin/svn stat /src TB --- 2013-05-24 03:55:24 - At svn revision 250954 TB --- 2013-05-24 03:55:25 - building world TB --- 2013-05-24 03:55:25 - CROSS_BUILD_TESTING=YES TB --- 2013-05-24 03:55:25 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-24 03:55:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-24 03:55:25 - SRCCONF=/dev/null TB --- 2013-05-24 03:55:25 - TARGET=amd64 TB --- 2013-05-24 03:55:25 - TARGET_ARCH=amd64 TB --- 2013-05-24 03:55:25 - TZ=UTC TB --- 2013-05-24 03:55:25 - __MAKE_CONF=/dev/null TB --- 2013-05-24 03:55:25 - cd /src TB --- 2013-05-24 03:55:25 - /usr/bin/make -B buildworld >>> World build started on Fri May 24 03:55:26 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Fri May 24 07:27:48 UTC 2013 TB --- 2013-05-24 07:27:48 - generating LINT kernel config TB --- 2013-05-24 07:27:48 - cd /src/sys/amd64/conf TB --- 2013-05-24 07:27:48 - /usr/bin/make -B LINT TB --- 2013-05-24 07:27:48 - cd /src/sys/amd64/conf TB --- 2013-05-24 07:27:48 - /usr/sbin/config -m LINT TB --- 2013-05-24 07:27:48 - building LINT kernel TB --- 2013-05-24 07:27:48 - CROSS_BUILD_TESTING=YES TB --- 2013-05-24 07:27:48 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-24 07:27:48 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-24 07:27:48 - SRCCONF=/dev/null TB --- 2013-05-24 07:27:48 - TARGET=amd64 TB --- 2013-05-24 07:27:48 - TARGET_ARCH=amd64 TB --- 2013-05-24 07:27:48 - TZ=UTC TB --- 2013-05-24 07:27:48 - __MAKE_CONF=/dev/null TB --- 2013-05-24 07:27:48 - cd /src TB --- 2013-05-24 07:27:48 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri May 24 07:27:48 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue aic79xx_reg_print.c cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/cam/cam.c cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/cam/cam_periph.c /src/sys/cam/cam_periph.c: In function 'cam_periph_mapmem': /src/sys/cam/cam_periph.c:736: error: 'CAM_DATA_MASK' undeclared (first use in this function) /src/sys/cam/cam_periph.c:736: error: (Each undeclared identifier is reported only once /src/sys/cam/cam_periph.c:736: error: for each function it appears in.) /src/sys/cam/cam_periph.c:736: error: 'CAM_DATA_VADDR' undeclared (first use in this function) *** Error code 1 Stop in /obj/amd64.amd64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-24 07:33:29 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-24 07:33:29 - ERROR: failed to build LINT kernel TB --- 2013-05-24 07:33:29 - 9782.77 user 1201.08 system 13089.84 real http://tinderbox.freebsd.org/tinderbox-freebsd9-build-RELENG_9-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Fri May 24 18:10:01 2013 Return-Path: Delivered-To: freebsd-amd64@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4265A6E5 for ; Fri, 24 May 2013 18:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 0F2646D1 for ; Fri, 24 May 2013 18:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4OIA0Ew032646 for ; Fri, 24 May 2013 18:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4OIA07E032645; Fri, 24 May 2013 18:10:00 GMT (envelope-from gnats) Resent-Date: Fri, 24 May 2013 18:10:00 GMT Resent-Message-Id: <201305241810.r4OIA07E032645@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ryan Gard Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2B829555 for ; Fri, 24 May 2013 18:02:17 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.FreeBSD.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 1DF5D67E for ; Fri, 24 May 2013 18:02:17 +0000 (UTC) Received: from oldred.FreeBSD.org ([127.0.1.6]) by oldred.FreeBSD.org (8.14.5/8.14.5) with ESMTP id r4OI2GUK025954 for ; Fri, 24 May 2013 18:02:16 GMT (envelope-from nobody@oldred.FreeBSD.org) Received: (from nobody@localhost) by oldred.FreeBSD.org (8.14.5/8.14.5/Submit) id r4OI2G8Q025950; Fri, 24 May 2013 18:02:16 GMT (envelope-from nobody) Message-Id: <201305241802.r4OI2G8Q025950@oldred.FreeBSD.org> Date: Fri, 24 May 2013 18:02:16 GMT From: Ryan Gard To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: amd64/178957: Fails to extract archive after download X-Mailman-Approved-At: Fri, 24 May 2013 19:49:01 +0000 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 May 2013 18:10:01 -0000 >Number: 178957 >Category: amd64 >Synopsis: Fails to extract archive after download >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 24 18:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Ryan Gard >Release: 9.0 >Organization: Ryan Gard >Environment: FreeBSD echo.fibrestream.ca 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Unable to compile the software -- When using make in graphings/png, following occurs. [root@echo /usr/ports/graphics/png]# make ===> Found saved configuration for png-1.5.12 => libpng-1.5.15.tar.xz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch http://heanet.dl.sourceforge.net/project/libpng/libpng15/1.5.15/libpng-1.5.15.tar.xz libpng-1.5.15.tar.xz 100% of 701 kB 413 kBps ===> Fetching all distfiles required by png-1.5.15 for building ===> Extracting for png-1.5.15 => SHA256 Checksum OK for libpng-1.5.15.tar.xz. tar: Unrecognized archive format tar: Error exit delayed from previous errors. *** Error code 1 Stop in /usr/ports/graphics/png. *** Error code 1 Stop in /usr/ports/graphics/png. [root@echo /usr/ports/graphics/png]# >How-To-Repeat: Run make command in graphics/png. >Fix: >Release-Note: >Audit-Trail: >Unformatted: