From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 3 11:06:41 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 8F7E2553 for ; Mon, 3 Jun 2013 11:06:41 +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 81264139F for ; Mon, 3 Jun 2013 11:06:41 +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 r53B6fiY014938 for ; Mon, 3 Jun 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 r53B6faA014936 for freebsd-amd64@FreeBSD.org; Mon, 3 Jun 2013 11:06:41 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Jun 2013 11:06:41 GMT Message-Id: <201306031106.r53B6faA014936@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, 03 Jun 2013 11:06:41 -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/179038 amd64 instant reboot doesnt even try too install o amd64/178792 amd64 -march=native fails with clang on certain CPU's 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/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 80 problems total. From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 3 14:15:17 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 C0FCF89C; Mon, 3 Jun 2013 14:15:17 +0000 (UTC) (envelope-from k.oikonomou@att.net) Received: from mail-pink.research.att.com (mail-pink.research.att.com [192.20.225.111]) by mx1.freebsd.org (Postfix) with ESMTP id 840E71F89; Mon, 3 Jun 2013 14:15:17 +0000 (UTC) Received: from mail-green.research.att.com (unknown [135.207.178.10]) by mail-pink.research.att.com (Postfix) with ESMTP id 32DF01203C0; Mon, 3 Jun 2013 10:15:09 -0400 (EDT) Received: from bigmail.research.att.com (bigmail.research.att.com [135.207.177.180]) by mail-green.research.att.com (Postfix) with ESMTP id B7845E018E; Mon, 3 Jun 2013 10:14:26 -0400 (EDT) Received: from [135.207.130.101] ([135.207.130.101]) by bigmail.research.att.com (8.13.8+Sun/8.11.6) with ESMTP id r53EFAci008155; Mon, 3 Jun 2013 10:15:10 -0400 (EDT) Message-ID: <51ACA4EE.8080104@att.net> Date: Mon, 03 Jun 2013 10:15:10 -0400 From: Kostas Oikonomou User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: Steven Hartland Subject: Re: idle process keeping cpu 150% busy in freebsd 9.1-amd64 [solved] References: <51A7B693.8050705@att.net> <201305311127.13846.jhb@freebsd.org> <51A8D208.2040702@att.net> <201305311452.04674.jhb@freebsd.org> <51A90CBE.4020508@att.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: 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, 03 Jun 2013 14:15:17 -0000 Thanks very much to all for your help. I finally resolved the problem: first, upon logging in, I changed the window system to "fluxbox", instead of my usual Gnome. The cpu quieted down. This suggested that I had messed up something having to do with Gnome. So I adopted the trivial fix: I had done little work on the system, so I re-installed PC-BSD 9.1. Now I am running Gnome and both cores are fine. One small issue remains: the system doesn't suspend properly. If I suspend it from the Gnome System -> "Shut down..." menu, it appears to suspend, but the fans keep running, and it doesn't want to wake up again, even if I power it off. The only way to "wake it up" is pull the power cord and plug it in again, and then it reboots. Perhaps this is a known ACPI problem? Excerpt from dmesg: aesni0: No AESNI support. acpi0: on motherboard acpi0: Power Button (fixed) ACPI Error: Field [ASSM] at 524320 exceeds Buffer [BUF0] size 880 (bits) (20110527/dsopcode-254) ACPI Error: Method parse/execution failed [\\_SB_.MEM_._CRS] (Node 0xfffffe0003cfc380), AE_AML_BUFFER_LIMIT (20110527/psparse-560) ACPI Error: Method execution failed [\\_SB_.MEM_._CRS] (Node 0xfffffe0003cfc380), AE_AML_BUFFER_LIMIT (20110527/uteval-113) can't fetch resources for \\_SB_.MEM_ - AE_AML_BUFFER_LIMIT cpu0: on acpi0 cpu1: on acpi0 Kostas > > ----- Original Message ----- From: "Kostas Oikonomou" > > To: "John Baldwin" > Cc: > Sent: Friday, May 31, 2013 9:49 PM > Subject: Re: idle process keeping cpu 150% busy in freebsd > 9.1-amd64 > > >> The core will always look like it is "running" in top, >> even when it is asleep. That is just how FreeBSD accounts >> for idle CPU time. The only thing I was hoping would >> change is the fan having to run. You can try kldload'ing >> coretemp and seeing if the processor temperatures are >> different when deeper CX states are enabled (or when >> powerd is running) to see if it is having any affect on >> the temperatures in your box. >> >> First the good news. It looks like the problem is solved >> on the laptop (Core i7). It took one more reboot after I >> put "performance_cx_lowest=LOW" in /etc/rc.conf. >> >> However, the problem is still there on the HP desktop >> (AMD 7550). This has only >> Cx state, C1, so "performance_cx_lowest=LOW" had no effect. >> >> The symptoms with this machine are that top does not show >> anything running besides idle, and neither does ps -aux. >> Yet the Gnome System monitor applet that I have on the >> bottom panel shows significant cpu activity. >> And the fan starts running within 5 minutes after the >> system finishes booting. >> >> Here is what top -S -H says: >> >> >> last pid: 2645; load averages: 1.14, 0.78, >> 0.34 up 0+00:02:17 19:31:35 >> 356 processes: 3 running, 338 sleeping, 15 waiting >> CPU: 0.2% user, 0.0% nice, 18.9% system, 0.0% >> interrupt, 80.9% idle >> Mem: 187M Active, 36M Inact, 354M Wired, 13M Cache, 3323M >> Free >> Swap: 2048M Total, 2048M Free >> >> PID USERNAME PRI NICE SIZE RES STATE C >> TIME WCPU COMMAND >> 11 root 155 ki31 0K 32K CPU0 0 1:45 >> 89.99% idle{idle: cpu0} >> 11 root 155 ki31 0K 32K RUN 1 1:40 >> 83.98% idle{idle: cpu1} >> 0 root -16 0 0K 2672K sched 0 1:03 >> 0.00% kernel{swapper} >> 462 root -21 r31 912M 33216K select 0 0:10 >> 0.00% Xorg >> 1968 ko 52 0 209M 7144K select 0 0:04 >> 0.00% pulseaudio{pulseaudio} >> 1968 ko 52 0 209M 7144K select 1 0:03 >> 0.00% pulseaudio{pulseaudio} >> 7 root -16 - 0K 16K ccb_sc 0 0:02 >> 0.00% xpt_thrd >> 12 root -84 - 0K 240K WAIT 1 0:01 >> 0.00% intr{irq1: atkbd0} >> 12 root -60 - 0K 240K WAIT 0 0:01 >> 0.00% intr{swi4: clock} >> 1969 ko 20 0 323M 21968K select 0 0:00 >> 0.00% gnome-panel{gnome-panel} >> 12 root -96 - 0K 240K WAIT 1 0:00 >> 0.00% intr{irq16: vgapci0+} >> 2196 ko 20 0 294M 18052K select 0 0:00 >> 0.00% gnome-netstatus-app{gnome- >> 1811 ko 20 0 320M 19116K select 1 0:00 >> 0.00% gnome-settings-daem{gnome- >> 15 root -68 - 0K 128K - 1 0:00 >> 0.00% usb{usbus0} >> 2200 ko 20 0 360M 21808K select 1 0:00 >> 0.00% clock-applet{clock-applet} >> 1458 root 30 10 10376K 3448K select 0 0:00 >> 0.00% devd >> 2028 ko 20 0 218M 25652K select 0 0:00 >> 0.00% python >> 2272 ko 20 0 280M 20044K select 1 0:00 >> 0.00% gnome-terminal{gnome-termi >> 2198 ko 20 0 295M 20552K select 1 0:00 >> 0.00% stickynotes_applet{stickyn >> 1405 ko 20 0 156M 13152K select 0 0:00 >> 0.00% gnome-session{gnome-sessio >> 417 haldaemon 20 0 56952K 6136K select 0 0:00 >> 0.00% hald{hald} > > > Assuming this is a dual core machine, your missing ~25% of > your overall > CPU time, identifying where this is might help. > > Does the following give any hints to this: top -S -H -I -C > -s1 > > Regards > Steve > > ================================================ > This e.mail is private and confidential between Multiplay > (UK) Ltd. and the person or entity to whom it is > addressed. In the event of misdirection, the recipient is > prohibited from using, copying, printing or otherwise > disseminating it or any information contained in it. > In the event of misdirection, illegible or incomplete > transmission please telephone +44 845 868 1337 > or return the E.mail to postmaster@multiplay.co.uk. > From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 3 22:47:48 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 336881F7; Mon, 3 Jun 2013 22:47:48 +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 08DB91CAF; Mon, 3 Jun 2013 22:47:47 +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 r53Mll4P037115; Mon, 3 Jun 2013 18:47:47 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r53MlltR037109; Mon, 3 Jun 2013 22:47:47 GMT (envelope-from tinderbox@freebsd.org) Date: Mon, 3 Jun 2013 22:47:47 GMT Message-Id: <201306032247.r53MlltR037109@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: Mon, 03 Jun 2013 22:47:48 -0000 TB --- 2013-06-03 17:20:17 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-06-03 17:20: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-06-03 17:20:17 - starting HEAD tinderbox run for amd64/amd64 TB --- 2013-06-03 17:20:17 - cleaning the object tree TB --- 2013-06-03 17:20:17 - /usr/local/bin/svn stat /src TB --- 2013-06-03 17:20:22 - At svn revision 251314 TB --- 2013-06-03 17:20:23 - building world TB --- 2013-06-03 17:20:23 - CROSS_BUILD_TESTING=YES TB --- 2013-06-03 17:20:23 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-03 17:20:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-03 17:20:23 - SRCCONF=/dev/null TB --- 2013-06-03 17:20:23 - TARGET=amd64 TB --- 2013-06-03 17:20:23 - TARGET_ARCH=amd64 TB --- 2013-06-03 17:20:23 - TZ=UTC TB --- 2013-06-03 17:20:23 - __MAKE_CONF=/dev/null TB --- 2013-06-03 17:20:23 - cd /src TB --- 2013-06-03 17:20:23 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Mon Jun 3 17:20: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 Mon Jun 3 21:04:10 UTC 2013 TB --- 2013-06-03 21:04:10 - generating LINT kernel config TB --- 2013-06-03 21:04:10 - cd /src/sys/amd64/conf TB --- 2013-06-03 21:04:10 - /usr/bin/make -B LINT TB --- 2013-06-03 21:04:10 - cd /src/sys/amd64/conf TB --- 2013-06-03 21:04:10 - /usr/sbin/config -m LINT TB --- 2013-06-03 21:04:10 - building LINT kernel TB --- 2013-06-03 21:04:10 - CROSS_BUILD_TESTING=YES TB --- 2013-06-03 21:04:10 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-03 21:04:10 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-03 21:04:10 - SRCCONF=/dev/null TB --- 2013-06-03 21:04:10 - TARGET=amd64 TB --- 2013-06-03 21:04:10 - TARGET_ARCH=amd64 TB --- 2013-06-03 21:04:10 - TZ=UTC TB --- 2013-06-03 21:04:10 - __MAKE_CONF=/dev/null TB --- 2013-06-03 21:04:10 - cd /src TB --- 2013-06-03 21:04:10 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Mon Jun 3 21:04:10 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 >>> Kernel build for LINT completed on Mon Jun 3 21:35:45 UTC 2013 TB --- 2013-06-03 21:35:45 - cd /src/sys/amd64/conf TB --- 2013-06-03 21:35:45 - /usr/sbin/config -m LINT-NOINET TB --- 2013-06-03 21:35:45 - building LINT-NOINET kernel TB --- 2013-06-03 21:35:45 - CROSS_BUILD_TESTING=YES TB --- 2013-06-03 21:35:45 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-03 21:35:45 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-03 21:35:45 - SRCCONF=/dev/null TB --- 2013-06-03 21:35:45 - TARGET=amd64 TB --- 2013-06-03 21:35:45 - TARGET_ARCH=amd64 TB --- 2013-06-03 21:35:45 - TZ=UTC TB --- 2013-06-03 21:35:45 - __MAKE_CONF=/dev/null TB --- 2013-06-03 21:35:45 - cd /src TB --- 2013-06-03 21:35:45 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET >>> Kernel build for LINT-NOINET started on Mon Jun 3 21:35:45 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 >>> Kernel build for LINT-NOINET completed on Mon Jun 3 22:05:42 UTC 2013 TB --- 2013-06-03 22:05:42 - cd /src/sys/amd64/conf TB --- 2013-06-03 22:05:42 - /usr/sbin/config -m LINT-NOINET6 TB --- 2013-06-03 22:05:42 - building LINT-NOINET6 kernel TB --- 2013-06-03 22:05:42 - CROSS_BUILD_TESTING=YES TB --- 2013-06-03 22:05:42 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-03 22:05:42 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-03 22:05:42 - SRCCONF=/dev/null TB --- 2013-06-03 22:05:42 - TARGET=amd64 TB --- 2013-06-03 22:05:42 - TARGET_ARCH=amd64 TB --- 2013-06-03 22:05:42 - TZ=UTC TB --- 2013-06-03 22:05:42 - __MAKE_CONF=/dev/null TB --- 2013-06-03 22:05:42 - cd /src TB --- 2013-06-03 22:05:42 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET6 >>> Kernel build for LINT-NOINET6 started on Mon Jun 3 22:05:42 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 >>> Kernel build for LINT-NOINET6 completed on Mon Jun 3 22:35:40 UTC 2013 TB --- 2013-06-03 22:35:40 - cd /src/sys/amd64/conf TB --- 2013-06-03 22:35:40 - /usr/sbin/config -m LINT-NOIP TB --- 2013-06-03 22:35:40 - building LINT-NOIP kernel TB --- 2013-06-03 22:35:40 - CROSS_BUILD_TESTING=YES TB --- 2013-06-03 22:35:40 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-03 22:35:40 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-03 22:35:40 - SRCCONF=/dev/null TB --- 2013-06-03 22:35:40 - TARGET=amd64 TB --- 2013-06-03 22:35:40 - TARGET_ARCH=amd64 TB --- 2013-06-03 22:35:40 - TZ=UTC TB --- 2013-06-03 22:35:40 - __MAKE_CONF=/dev/null TB --- 2013-06-03 22:35:40 - cd /src TB --- 2013-06-03 22:35:40 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOIP >>> Kernel build for LINT-NOIP started on Mon Jun 3 22:35:40 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-NOIP *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-06-03 22:47:47 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-06-03 22:47:47 - ERROR: failed to build LINT-NOIP kernel TB --- 2013-06-03 22:47:47 - 15394.29 user 2896.22 system 19649.66 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 3 23: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 88E01592 for ; Mon, 3 Jun 2013 23: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 6AC881D75 for ; Mon, 3 Jun 2013 23: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 r53NA1aj062342 for ; Mon, 3 Jun 2013 23:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r53NA1wQ062341; Mon, 3 Jun 2013 23:10:01 GMT (envelope-from gnats) Resent-Date: Mon, 3 Jun 2013 23:10:01 GMT Resent-Message-Id: <201306032310.r53NA1wQ062341@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, Oliver Pinter Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1416E511 for ; Mon, 3 Jun 2013 23:02:49 +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 05AA51D48 for ; Mon, 3 Jun 2013 23:02:49 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r53N2mT0006168 for ; Mon, 3 Jun 2013 23:02:48 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r53N2mLP006167; Mon, 3 Jun 2013 23:02:48 GMT (envelope-from nobody) Message-Id: <201306032302.r53N2mLP006167@oldred.freebsd.org> Date: Mon, 3 Jun 2013 23:02:48 GMT From: Oliver Pinter To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: amd64/179282: [PATCH] Intel SMAP for FreeBSD-CURRENT 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, 03 Jun 2013 23:10:01 -0000 >Number: 179282 >Category: amd64 >Synopsis: [PATCH] Intel SMAP for FreeBSD-CURRENT >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: Mon Jun 03 23:10:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Oliver Pinter >Release: FreeBSD 10-CURRENT >Organization: >Environment: >Description: As subpart of my thesis, I implemented Intel SMAP[1] support for FreeBSD. The current stable version of patch (attached) have compile time option to enable SMAP.* A feature complete dynamic version is expected by the end of the month, which patched the kernel on boot time, when the feautre presented in CPU. [1] http://lwn.net/Articles/517475/ patches: https://github.com/opntr/freebsd-patches-2013-tavasz smap-test: https://github.com/opntr/freebsd-smap-tester >How-To-Repeat: >Fix: Patch attached with submission follows: >From ae18b374b38401f736e4e13a8ab5fab82985df2b Mon Sep 17 00:00:00 2001 From: Oliver Pinter Date: Tue, 16 Apr 2013 01:32:25 +0200 Subject: [PATCH] added SMAP support for FreeBSD against r250423 This patch implemented support for Intel's new protection technology. Supervisor Mode Access Prevention (SMAP) is newest security feature from Intel, which first appears in the Haswell Line of processors. When SMAP enabled, the kernel cannot access pages that are in userspace. In some cases the kernel does have to access user pages, for this reason the technology provided two instruction, to temporarily disable this protection. When SMAP detect protection violation, the kernel must call panic(). Intel's SMAP documentation: http://software.intel.com/sites/default/files/319433-014.pdf Test case: https://github.com/opntr/freebsd-smap-tester some parts of this patch discussed with kib freebsd org and Hunger Signed-off-by: Oliver Pinter ---------------------------------------------------------------------- * added void clac(void) and void stac(void) to cpufunc.h * added STAC/CLAC instruction and added config options * added basic support for SMAP * added stac/clac in support.S around userspace memory access * added RFLAGS.AC clearing to exception.S related to SMAP * added RFLAGS.AC clearing to ia32_exception.S related to SMAP * added RFLAGS.AC clearing to asmacros.h related to SMAP * clac and stac functions depend on INTEL_SMAP * added trap handler to SMAP For security reason, when PF occured by SMAP, the kernel should paniced. " [...] The above items imply that the error code delivered by a page-fault exception due to SMAP is either 1 (for reads) or 3 (for writes). Note that the only page-fault exceptions that deliver an error code of 1 are those induced by SMAP. (If CR0.WP = 1, some page-fault exceptions may deliver an error code of 3 even if CR4.SMAP = 0.) [...]" - intel 319433-014.pdf 9.3.3 * Clear the RFLAGS.AC on the start of nmi handler suggested by kib@: > I think that NMI handler should have CLAC executed unconditionally and > much earlier then it is done in your patch. Since NMI could interrupt > the copy*() functions, you would get some kernel code unneccessary > executing with SMAP off. * added note to fault handlers related to SMAP suggested by kib@: > I believe that exception labels in the support.S, like copyout_fault > etc > deserve a comment describing that EFLAGS.AC bit gets cleared by the > exception entry point before the control reaches the label. * added AC flag checking and factor out SMAP checking in trap_pfault() to make it more readable and partially suggested by kib: > The trap_pfault() fragment should check for the error code equal to 1 or > 3, as described in the 9.3.3, instead of only checking for the present > bit set. More, I suggest you to explicitely check that the #PF exception > came from the kernel mode and that EFLAGS.AC was also set, before > decidingto panic due to SMAP-detected failure. * build fix, when INTEL_SMAP has not set in kernel config /usr/home/op/git/freebsd-base.git.http/sys/amd64/amd64/trap.c:889:1: error: unused function 'smap_access_violation' [-Werror,-Wunused-function] smap_access_violation(struct trapframe *frame, int usermode) ^ 1 error generated. *** [trap.o] Error code 1 1 error *** [buildkernel] Error code 2 1 error *** [buildkernel] Error code 2 1 error * fixed smap_access_violation(...), spotted by Hunger * fix smap_access_violatrion() when the CPU does not support SMAP * use the CLAC and STAC macro, instead of the .byte sequence * added memory clobber to clac and stac inline assembly clac and stac are sensitive instructions, to prevent instruction reordering added memory clobber spotted by Hunger, PaXTeam Signed-off-by: Oliver Pinter --- sys/amd64/amd64/exception.S | 6 ++++++ sys/amd64/amd64/identcpu.c | 28 +++++++++++++++++++++--- sys/amd64/amd64/initcpu.c | 12 +++++++---- sys/amd64/amd64/pmap.c | 13 +++++++++++ sys/amd64/amd64/support.S | 48 +++++++++++++++++++++++++++++++++++++++++ sys/amd64/amd64/trap.c | 24 +++++++++++++++++++++ sys/amd64/ia32/ia32_exception.S | 1 + sys/amd64/include/asmacros.h | 3 ++- sys/amd64/include/cpufunc.h | 27 +++++++++++++++++++++++ sys/amd64/include/smap_instr.h | 14 ++++++++++++ sys/conf/NOTES | 4 ++++ sys/conf/options.amd64 | 3 +++ sys/x86/include/psl.h | 2 +- sys/x86/include/specialreg.h | 1 + 14 files changed, 177 insertions(+), 9 deletions(-) create mode 100644 sys/amd64/include/smap_instr.h diff --git a/sys/amd64/amd64/exception.S b/sys/amd64/amd64/exception.S index 89ad638..d7ed7e4 100644 --- a/sys/amd64/amd64/exception.S +++ b/sys/amd64/amd64/exception.S @@ -42,6 +42,7 @@ #include #include #include +#include #include #include "assym.s" @@ -196,6 +197,7 @@ alltraps_pushregs_no_rdi: movq %r15,TF_R15(%rsp) movl $TF_HASSEGS,TF_FLAGS(%rsp) cld + CLAC FAKE_MCOUNT(TF_RIP(%rsp)) #ifdef KDTRACE_HOOKS /* @@ -276,6 +278,7 @@ IDTVEC(dblfault) movw %ds,TF_DS(%rsp) movl $TF_HASSEGS,TF_FLAGS(%rsp) cld + CLAC testb $SEL_RPL_MASK,TF_CS(%rsp) /* Did we come from kernel? */ jz 1f /* already running with kernel GS.base */ swapgs @@ -379,6 +382,7 @@ IDTVEC(fast_syscall) movq %r15,TF_R15(%rsp) /* C preserved */ movl $TF_HASSEGS,TF_FLAGS(%rsp) cld + CLAC FAKE_MCOUNT(TF_RIP(%rsp)) movq PCPU(CURTHREAD),%rdi movq %rsp,TD_FRAME(%rdi) @@ -449,6 +453,7 @@ IDTVEC(fast_syscall32) */ IDTVEC(nmi) + CLAC subq $TF_RIP,%rsp movl $(T_NMI),TF_TRAPNO(%rsp) movq $0,TF_ADDR(%rsp) @@ -533,6 +538,7 @@ nmi_calltrap: shrq $3,%rcx /* trap frame size in long words */ cld + CLAC rep movsq /* copy trapframe */ diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c index ec5a2aa..90495eb 100644 --- a/sys/amd64/amd64/identcpu.c +++ b/sys/amd64/amd64/identcpu.c @@ -391,12 +391,14 @@ printcpuinfo(void) /* RDFSBASE/RDGSBASE/WRFSBASE/WRGSBASE */ "\001GSFSBASE" "\002TSCADJ" + "\003" /* Bit Manipulation Instructions */ "\004BMI1" /* Hardware Lock Elision */ "\005HLE" /* Advanced Vector Instructions 2 */ "\006AVX2" + "\007" /* Supervisor Mode Execution Prot. */ "\010SMEP" /* Bit Manipulation Instructions */ @@ -406,12 +408,29 @@ printcpuinfo(void) "\013INVPCID" /* Restricted Transactional Memory */ "\014RTM" + "\015" + "\016" + "\017" + "\020" + "\021" + "\022" /* Enhanced NRBG */ - "\022RDSEED" + "\023RDSEED" /* ADCX + ADOX */ - "\023ADX" + "\024ADX" /* Supervisor Mode Access Prevention */ - "\024SMAP" + "\025SMAP" + "\026" + "\027" + "\030" + "\031" + "\032" + "\033" + "\034" + "\035" + "\036" + "\037" + "\040" ); } @@ -545,6 +564,9 @@ identify_cpu(void) if (cpu_feature2 & CPUID2_HV) { cpu_stdext_disable = CPUID_STDEXT_FSGSBASE | CPUID_STDEXT_SMEP; +#ifdef INTEL_SMAP + cpu_stdext_disable |= CPUID_STDEXT_SMAP; +#endif } else cpu_stdext_disable = 0; TUNABLE_INT_FETCH("hw.cpu_stdext_disable", &cpu_stdext_disable); diff --git a/sys/amd64/amd64/initcpu.c b/sys/amd64/amd64/initcpu.c index 4abed4c..fbfa7c3 100644 --- a/sys/amd64/amd64/initcpu.c +++ b/sys/amd64/amd64/initcpu.c @@ -165,13 +165,17 @@ initializecpu(void) cr4 |= CR4_FSGSBASE; /* - * Postpone enabling the SMEP on the boot CPU until the page - * tables are switched from the boot loader identity mapping - * to the kernel tables. The boot loader enables the U bit in - * its tables. + * Postpone enabling the SMEP and the SMAP on the boot CPU until + * the page tables are switched from the boot loader identity + * mapping to the kernel tables. + * The boot loader enables the U bit in its tables. */ if (!IS_BSP() && (cpu_stdext_feature & CPUID_STDEXT_SMEP)) cr4 |= CR4_SMEP; +#ifdef INTEL_SMAP + if (!IS_BSP() && (cpu_stdext_feature & CPUID_STDEXT_SMAP)) + cr4 |= CR4_SMAP; +#endif load_cr4(cr4); if ((amd_feature & AMDID_NX) != 0) { msr = rdmsr(MSR_EFER) | EFER_NXE; diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 1b1c86c..11e560d 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -98,6 +98,7 @@ __FBSDID("$FreeBSD$"); * and to when physical maps must be made correct. */ +#include "opt_cpu.h" #include "opt_pmap.h" #include "opt_vm.h" @@ -665,6 +666,18 @@ pmap_bootstrap(vm_paddr_t *firstaddr) if (cpu_stdext_feature & CPUID_STDEXT_SMEP) load_cr4(rcr4() | CR4_SMEP); + if (cpu_stdext_feature & CPUID_STDEXT_SMAP) +#ifdef INTEL_SMAP + load_cr4(rcr4() | CR4_SMAP); + else + panic("The kernel compiled with \"options INTEL_SMAP\"," + "but your CPU doesn't support SMAP!\n"); +#else + printf("Your CPU has support for SMAP security feature. " + "You should recompile the kernel with " + "\"options INTEL_SMAP\" to use them.\n"); +#endif + /* * Initialize the kernel pmap (which is statically allocated). */ diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S index 77dbf63..7ad8101 100644 --- a/sys/amd64/amd64/support.S +++ b/sys/amd64/amd64/support.S @@ -35,6 +35,7 @@ #include #include #include +#include #include "assym.s" @@ -244,12 +245,16 @@ ENTRY(copyout) shrq $3,%rcx cld + STAC rep movsq + CLAC movb %dl,%cl andb $7,%cl + STAC rep movsb + CLAC done_copyout: xorl %eax,%eax @@ -258,6 +263,11 @@ done_copyout: ret ALIGN_TEXT +/* + * note: + * When SMAP enabled, the EFLAGS.AC bit gets cleared before control reaches + * the fault handler. + */ copyout_fault: movq PCPU(CURPCB),%rdx movq $0,PCB_ONFAULT(%rdx) @@ -290,12 +300,16 @@ ENTRY(copyin) movb %cl,%al shrq $3,%rcx /* copy longword-wise */ cld + STAC rep movsq + CLAC movb %al,%cl andb $7,%cl /* copy remaining bytes */ + STAC rep movsb + CLAC done_copyin: xorl %eax,%eax @@ -304,6 +318,11 @@ done_copyin: ret ALIGN_TEXT +/* + * note: + * When SMAP enabled, the EFLAGS.AC bit gets cleared before control reaches + * the fault handler. + */ copyin_fault: movq PCPU(CURPCB),%rdx movq $0,PCB_ONFAULT(%rdx) @@ -324,10 +343,12 @@ ENTRY(casuword32) ja fusufault movl %esi,%eax /* old */ + STAC #ifdef SMP lock #endif cmpxchgl %edx,(%rdi) /* new = %edx */ + CLAC /* * The old value is in %eax. If the store succeeded it will be the @@ -353,10 +374,12 @@ ENTRY(casuword) ja fusufault movq %rsi,%rax /* old */ + STAC #ifdef SMP lock #endif cmpxchgq %rdx,(%rdi) /* new = %rdx */ + CLAC /* * The old value is in %eax. If the store succeeded it will be the @@ -385,7 +408,9 @@ ENTRY(fuword) cmpq %rax,%rdi /* verify address is valid */ ja fusufault + STAC movq (%rdi),%rax + CLAC movq $0,PCB_ONFAULT(%rcx) ret END(fuword64) @@ -399,7 +424,9 @@ ENTRY(fuword32) cmpq %rax,%rdi /* verify address is valid */ ja fusufault + STAC movl (%rdi),%eax + CLAC movq $0,PCB_ONFAULT(%rcx) ret END(fuword32) @@ -426,7 +453,9 @@ ENTRY(fuword16) cmpq %rax,%rdi ja fusufault + STAC movzwl (%rdi),%eax + CLAC movq $0,PCB_ONFAULT(%rcx) ret END(fuword16) @@ -439,12 +468,19 @@ ENTRY(fubyte) cmpq %rax,%rdi ja fusufault + STAC movzbl (%rdi),%eax + CLAC movq $0,PCB_ONFAULT(%rcx) ret END(fubyte) ALIGN_TEXT +/* + * note: + * When SMAP enabled, the EFLAGS.AC bit gets cleared before control reaches + * the fault handler. + */ fusufault: movq PCPU(CURPCB),%rcx xorl %eax,%eax @@ -466,7 +502,9 @@ ENTRY(suword) cmpq %rax,%rdi /* verify address validity */ ja fusufault + STAC movq %rsi,(%rdi) + CLAC xorl %eax,%eax movq PCPU(CURPCB),%rcx movq %rax,PCB_ONFAULT(%rcx) @@ -482,7 +520,9 @@ ENTRY(suword32) cmpq %rax,%rdi /* verify address validity */ ja fusufault + STAC movl %esi,(%rdi) + CLAC xorl %eax,%eax movq PCPU(CURPCB),%rcx movq %rax,PCB_ONFAULT(%rcx) @@ -497,7 +537,9 @@ ENTRY(suword16) cmpq %rax,%rdi /* verify address validity */ ja fusufault + STAC movw %si,(%rdi) + CLAC xorl %eax,%eax movq PCPU(CURPCB),%rcx /* restore trashed register */ movq %rax,PCB_ONFAULT(%rcx) @@ -513,7 +555,9 @@ ENTRY(subyte) ja fusufault movl %esi,%eax + STAC movb %al,(%rdi) + CLAC xorl %eax,%eax movq PCPU(CURPCB),%rcx /* restore trashed register */ movq %rax,PCB_ONFAULT(%rcx) @@ -555,7 +599,9 @@ ENTRY(copyinstr) decq %rdx jz 3f + STAC lodsb + CLAC stosb orb %al,%al jnz 2b @@ -584,7 +630,9 @@ cpystrflt_x: testq %r9,%r9 jz 1f subq %rdx,%r8 + STAC movq %r8,(%r9) + CLAC 1: ret END(copyinstr) diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index 6fcca81..d37949e 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -127,6 +127,9 @@ void dblfault_handler(struct trapframe *frame); static int trap_pfault(struct trapframe *, int); static void trap_fatal(struct trapframe *, vm_offset_t); +#ifdef INTEL_SMAP +static bool smap_access_violation(struct trapframe *, int usermode); +#endif #define MAX_TRAP_MSG 33 static char *trap_msg[] = { @@ -718,6 +721,13 @@ trap_pfault(frame, usermode) map = &vm->vm_map; +#ifdef INTEL_SMAP + if (__predict_false(smap_access_violation(frame, usermode))) { + trap_fatal(frame, eva); + return (-1); + } +#endif + /* * When accessing a usermode address, kernel must be * ready to accept the page fault, and provide a @@ -874,6 +884,20 @@ trap_fatal(frame, eva) panic("unknown/reserved trap"); } +#ifdef INTEL_SMAP +static bool +smap_access_violation(struct trapframe *frame, int usermode) +{ + if ((cpu_stdext_feature & CPUID_STDEXT_SMAP) == 0) + return (false); + + if (usermode || (frame->tf_rflags & PSL_AC) != 0) + return (false); + + return (true); +} +#endif + /* * Double fault handler. Called when a fault occurs while writing * a frame for a trap/exception onto the stack. This usually occurs diff --git a/sys/amd64/ia32/ia32_exception.S b/sys/amd64/ia32/ia32_exception.S index fe1a676..9f13f2f 100644 --- a/sys/amd64/ia32/ia32_exception.S +++ b/sys/amd64/ia32/ia32_exception.S @@ -68,6 +68,7 @@ IDTVEC(int0x80_syscall) movq %r15,TF_R15(%rsp) movl $TF_HASSEGS,TF_FLAGS(%rsp) cld + CLAC FAKE_MCOUNT(TF_RIP(%rsp)) movq %rsp, %rdi call ia32_syscall diff --git a/sys/amd64/include/asmacros.h b/sys/amd64/include/asmacros.h index 1fb592a..c985623 100644 --- a/sys/amd64/include/asmacros.h +++ b/sys/amd64/include/asmacros.h @@ -167,7 +167,8 @@ movw %es,TF_ES(%rsp) ; \ movw %ds,TF_DS(%rsp) ; \ movl $TF_HASSEGS,TF_FLAGS(%rsp) ; \ - cld + cld ; \ + CLAC #define POP_FRAME \ movq TF_RDI(%rsp),%rdi ; \ diff --git a/sys/amd64/include/cpufunc.h b/sys/amd64/include/cpufunc.h index 881fcd2..53b2ce8 100644 --- a/sys/amd64/include/cpufunc.h +++ b/sys/amd64/include/cpufunc.h @@ -39,10 +39,16 @@ #ifndef _MACHINE_CPUFUNC_H_ #define _MACHINE_CPUFUNC_H_ +#include "opt_cpu.h" + #ifndef _SYS_CDEFS_H_ #error this file needs sys/cdefs.h as a prerequisite #endif +#ifdef INTEL_SMAP +#include +#endif + struct region_descriptor; #define readb(va) (*(volatile uint8_t *) (va)) @@ -711,11 +717,31 @@ intr_restore(register_t rflags) write_rflags(rflags); } +/* + * Intel SMAP related functions (clac and stac) + */ +static __inline void +clac(void) +{ +#ifdef INTEL_SMAP + __asm __volatile(__STRING(CLAC) : : : "memory"); +#endif +} + +static __inline void +stac(void) +{ +#ifdef INTEL_SMAP + __asm __volatile(__STRING(STAC) : : : "memory"); +#endif +} + #else /* !(__GNUCLIKE_ASM && __CC_SUPPORTS___INLINE) */ int breakpoint(void); u_int bsfl(u_int mask); u_int bsrl(u_int mask); +void clac(void); void clflush(u_long addr); void clts(void); void cpuid_count(u_int ax, u_int cx, u_int *p); @@ -775,6 +801,7 @@ uint64_t rdtsc(void); u_long read_rflags(void); u_int rfs(void); u_int rgs(void); +void stac(void); void wbinvd(void); void write_rflags(u_int rf); void wrmsr(u_int msr, uint64_t newval); diff --git a/sys/amd64/include/smap_instr.h b/sys/amd64/include/smap_instr.h new file mode 100644 index 0000000..77926aa --- /dev/null +++ b/sys/amd64/include/smap_instr.h @@ -0,0 +1,14 @@ +#ifndef __SMAP_INSTRUCTION_H +#define __SMAP_INSTRUCTION_H + +#include "opt_cpu.h" + +#ifdef INTEL_SMAP +#define CLAC .byte 0x0f,0x01,0xca +#define STAC .byte 0x0f,0x01,0xcb +#else +#define CLAC +#define STAC +#endif + +#endif /* __SMAP_INSTRUCTION_H */ diff --git a/sys/conf/NOTES b/sys/conf/NOTES index 48dba77..af1cf71 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -2963,3 +2963,7 @@ options RCTL options BROOKTREE_ALLOC_PAGES=(217*4+1) options MAXFILES=999 +# Intel SMAP +# This options supported on Haswell and/or newer CPUs (2013 Juni < ) and +# makes the kernel unbootable on older CPUs. +options INTEL_SMAP # Intel's hw version of PaX uderef diff --git a/sys/conf/options.amd64 b/sys/conf/options.amd64 index 90348b7..b861439 100644 --- a/sys/conf/options.amd64 +++ b/sys/conf/options.amd64 @@ -72,3 +72,6 @@ ISCI_LOGGING opt_isci.h # hw random number generators for random(4) PADLOCK_RNG opt_cpu.h RDRAND_RNG opt_cpu.h + +# Intel Supervisor Mode Access Prevention (SMAP) +INTEL_SMAP opt_cpu.h diff --git a/sys/x86/include/psl.h b/sys/x86/include/psl.h index 12d05c5..ce97a26 100644 --- a/sys/x86/include/psl.h +++ b/sys/x86/include/psl.h @@ -52,7 +52,7 @@ #define PSL_NT 0x00004000 /* nested task bit */ #define PSL_RF 0x00010000 /* resume flag bit */ #define PSL_VM 0x00020000 /* virtual 8086 mode bit */ -#define PSL_AC 0x00040000 /* alignment checking */ +#define PSL_AC 0x00040000 /* alignment checking or SMAP status*/ #define PSL_VIF 0x00080000 /* virtual interrupt enable */ #define PSL_VIP 0x00100000 /* virtual interrupt pending */ #define PSL_ID 0x00200000 /* identification bit */ diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h index bf1333f..6bffd43 100644 --- a/sys/x86/include/specialreg.h +++ b/sys/x86/include/specialreg.h @@ -73,6 +73,7 @@ #define CR4_PCIDE 0x00020000 /* Enable Context ID */ #define CR4_XSAVE 0x00040000 /* XSETBV/XGETBV */ #define CR4_SMEP 0x00100000 /* Supervisor-Mode Execution Prevention */ +#define CR4_SMAP 0x00200000 /* Supervisor-Mode Access Prevention */ /* * Bits in AMD64 special registers. EFER is 64 bits wide. -- 1.8.2.2 >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Tue Jun 4 09:49:51 2013 Return-Path: Delivered-To: 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 DB1ECD12; Tue, 4 Jun 2013 09:49:51 +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 B12C31778; Tue, 4 Jun 2013 09:49:51 +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 r549npHM054812; Tue, 4 Jun 2013 05:49:51 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r549npwk054811; Tue, 4 Jun 2013 09:49:51 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 4 Jun 2013 09:49:51 GMT Message-Id: <201306040949.r549npwk054811@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, 04 Jun 2013 09:49:51 -0000 TB --- 2013-06-04 04:10:19 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-06-04 04:10:19 - 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-06-04 04:10:19 - starting HEAD tinderbox run for amd64/amd64 TB --- 2013-06-04 04:10:19 - cleaning the object tree TB --- 2013-06-04 04:19:18 - /usr/local/bin/svn stat /src TB --- 2013-06-04 04:19:21 - At svn revision 251364 TB --- 2013-06-04 04:19:22 - building world TB --- 2013-06-04 04:19:22 - CROSS_BUILD_TESTING=YES TB --- 2013-06-04 04:19:22 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-04 04:19:22 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-04 04:19:22 - SRCCONF=/dev/null TB --- 2013-06-04 04:19:22 - TARGET=amd64 TB --- 2013-06-04 04:19:22 - TARGET_ARCH=amd64 TB --- 2013-06-04 04:19:22 - TZ=UTC TB --- 2013-06-04 04:19:22 - __MAKE_CONF=/dev/null TB --- 2013-06-04 04:19:22 - cd /src TB --- 2013-06-04 04:19:22 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Tue Jun 4 04:19: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 Tue Jun 4 08:05:59 UTC 2013 TB --- 2013-06-04 08:05:59 - generating LINT kernel config TB --- 2013-06-04 08:05:59 - cd /src/sys/amd64/conf TB --- 2013-06-04 08:05:59 - /usr/bin/make -B LINT TB --- 2013-06-04 08:05:59 - cd /src/sys/amd64/conf TB --- 2013-06-04 08:05:59 - /usr/sbin/config -m LINT TB --- 2013-06-04 08:05:59 - building LINT kernel TB --- 2013-06-04 08:05:59 - CROSS_BUILD_TESTING=YES TB --- 2013-06-04 08:05:59 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-04 08:05:59 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-04 08:05:59 - SRCCONF=/dev/null TB --- 2013-06-04 08:05:59 - TARGET=amd64 TB --- 2013-06-04 08:05:59 - TARGET_ARCH=amd64 TB --- 2013-06-04 08:05:59 - TZ=UTC TB --- 2013-06-04 08:05:59 - __MAKE_CONF=/dev/null TB --- 2013-06-04 08:05:59 - cd /src TB --- 2013-06-04 08:05:59 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jun 4 08:05:59 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 >>> Kernel build for LINT completed on Tue Jun 4 08:37:48 UTC 2013 TB --- 2013-06-04 08:37:48 - cd /src/sys/amd64/conf TB --- 2013-06-04 08:37:48 - /usr/sbin/config -m LINT-NOINET TB --- 2013-06-04 08:37:48 - building LINT-NOINET kernel TB --- 2013-06-04 08:37:48 - CROSS_BUILD_TESTING=YES TB --- 2013-06-04 08:37:48 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-04 08:37:48 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-04 08:37:48 - SRCCONF=/dev/null TB --- 2013-06-04 08:37:48 - TARGET=amd64 TB --- 2013-06-04 08:37:48 - TARGET_ARCH=amd64 TB --- 2013-06-04 08:37:48 - TZ=UTC TB --- 2013-06-04 08:37:48 - __MAKE_CONF=/dev/null TB --- 2013-06-04 08:37:48 - cd /src TB --- 2013-06-04 08:37:48 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET >>> Kernel build for LINT-NOINET started on Tue Jun 4 08:37: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 >>> Kernel build for LINT-NOINET completed on Tue Jun 4 09:07:01 UTC 2013 TB --- 2013-06-04 09:07:01 - cd /src/sys/amd64/conf TB --- 2013-06-04 09:07:01 - /usr/sbin/config -m LINT-NOINET6 TB --- 2013-06-04 09:07:01 - building LINT-NOINET6 kernel TB --- 2013-06-04 09:07:01 - CROSS_BUILD_TESTING=YES TB --- 2013-06-04 09:07:01 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-04 09:07:01 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-04 09:07:01 - SRCCONF=/dev/null TB --- 2013-06-04 09:07:01 - TARGET=amd64 TB --- 2013-06-04 09:07:01 - TARGET_ARCH=amd64 TB --- 2013-06-04 09:07:01 - TZ=UTC TB --- 2013-06-04 09:07:01 - __MAKE_CONF=/dev/null TB --- 2013-06-04 09:07:01 - cd /src TB --- 2013-06-04 09:07:01 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET6 >>> Kernel build for LINT-NOINET6 started on Tue Jun 4 09:07:01 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 >>> Kernel build for LINT-NOINET6 completed on Tue Jun 4 09:37:25 UTC 2013 TB --- 2013-06-04 09:37:25 - cd /src/sys/amd64/conf TB --- 2013-06-04 09:37:25 - /usr/sbin/config -m LINT-NOIP TB --- 2013-06-04 09:37:25 - building LINT-NOIP kernel TB --- 2013-06-04 09:37:25 - CROSS_BUILD_TESTING=YES TB --- 2013-06-04 09:37:25 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-04 09:37:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-04 09:37:25 - SRCCONF=/dev/null TB --- 2013-06-04 09:37:25 - TARGET=amd64 TB --- 2013-06-04 09:37:25 - TARGET_ARCH=amd64 TB --- 2013-06-04 09:37:25 - TZ=UTC TB --- 2013-06-04 09:37:25 - __MAKE_CONF=/dev/null TB --- 2013-06-04 09:37:25 - cd /src TB --- 2013-06-04 09:37:25 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOIP >>> Kernel build for LINT-NOIP started on Tue Jun 4 09:37:25 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-NOIP *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-06-04 09:49:51 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-06-04 09:49:51 - ERROR: failed to build LINT-NOIP kernel TB --- 2013-06-04 09:49:51 - 15383.12 user 2870.21 system 20371.43 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Tue Jun 4 18:46:21 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 5AD76D0; Tue, 4 Jun 2013 18:46:21 +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 33028156D; Tue, 4 Jun 2013 18:46:21 +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 r54IkLQc013086; Tue, 4 Jun 2013 18:46:21 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r54IkLLG013085; Tue, 4 Jun 2013 18:46:21 GMT (envelope-from linimon) Date: Tue, 4 Jun 2013 18:46:21 GMT Message-Id: <201306041846.r54IkLLG013085@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-amd64@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: amd64/179288: unable to install on HP ProLiant DL380p Gen8 with 128GB RAM with bge0 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: Tue, 04 Jun 2013 18:46:21 -0000 Old Synopsis: - New Synopsis: unable to install on HP ProLiant DL380p Gen8 with 128GB RAM with bge0 Responsible-Changed-From-To: freebsd-bugs->freebsd-amd64 Responsible-Changed-By: linimon Responsible-Changed-When: Tue Jun 4 18:44:56 UTC 2013 Responsible-Changed-Why: possibly machine-dependent. http://www.freebsd.org/cgi/query-pr.cgi?pr=179288 From owner-freebsd-amd64@FreeBSD.ORG Tue Jun 4 19:22:26 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 BCA3CE66; Tue, 4 Jun 2013 19:22:26 +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 7977217EB; Tue, 4 Jun 2013 19:22:26 +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 r54JMP0Z060420; Tue, 4 Jun 2013 15:22:25 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r54JMPRx060419; Tue, 4 Jun 2013 19:22:25 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 4 Jun 2013 19:22:25 GMT Message-Id: <201306041922.r54JMPRx060419@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, 04 Jun 2013 19:22:26 -0000 TB --- 2013-06-04 15:10:18 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-06-04 15:10:18 - 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-06-04 15:10:18 - starting HEAD tinderbox run for amd64/amd64 TB --- 2013-06-04 15:10:18 - cleaning the object tree TB --- 2013-06-04 15:16:21 - /usr/local/bin/svn stat /src TB --- 2013-06-04 15:16:25 - At svn revision 251378 TB --- 2013-06-04 15:16:26 - building world TB --- 2013-06-04 15:16:26 - CROSS_BUILD_TESTING=YES TB --- 2013-06-04 15:16:26 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-04 15:16:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-04 15:16:26 - SRCCONF=/dev/null TB --- 2013-06-04 15:16:26 - TARGET=amd64 TB --- 2013-06-04 15:16:26 - TARGET_ARCH=amd64 TB --- 2013-06-04 15:16:26 - TZ=UTC TB --- 2013-06-04 15:16:26 - __MAKE_CONF=/dev/null TB --- 2013-06-04 15:16:26 - cd /src TB --- 2013-06-04 15:16:26 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Tue Jun 4 15:16: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 Jun 4 18:59:47 UTC 2013 TB --- 2013-06-04 18:59:47 - generating LINT kernel config TB --- 2013-06-04 18:59:47 - cd /src/sys/amd64/conf TB --- 2013-06-04 18:59:47 - /usr/bin/make -B LINT TB --- 2013-06-04 18:59:47 - cd /src/sys/amd64/conf TB --- 2013-06-04 18:59:47 - /usr/sbin/config -m LINT TB --- 2013-06-04 18:59:47 - building LINT kernel TB --- 2013-06-04 18:59:47 - CROSS_BUILD_TESTING=YES TB --- 2013-06-04 18:59:47 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-04 18:59:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-04 18:59:47 - SRCCONF=/dev/null TB --- 2013-06-04 18:59:47 - TARGET=amd64 TB --- 2013-06-04 18:59:47 - TARGET_ARCH=amd64 TB --- 2013-06-04 18:59:47 - TZ=UTC TB --- 2013-06-04 18:59:47 - __MAKE_CONF=/dev/null TB --- 2013-06-04 18:59:47 - cd /src TB --- 2013-06-04 18:59:47 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jun 4 18:59:47 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-06-04 19:22:25 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-06-04 19:22:25 - ERROR: failed to build LINT kernel TB --- 2013-06-04 19:22:25 - 11646.84 user 2190.48 system 15126.83 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Wed Jun 5 05:05:52 2013 Return-Path: Delivered-To: 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 D79A72E3; Wed, 5 Jun 2013 05:05:52 +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 94AF9122D; Wed, 5 Jun 2013 05:05:52 +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 r5555p8S090037; Wed, 5 Jun 2013 01:05:51 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r5555pvw090032; Wed, 5 Jun 2013 05:05:51 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 5 Jun 2013 05:05:51 GMT Message-Id: <201306050505.r5555pvw090032@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: Wed, 05 Jun 2013 05:05:52 -0000 TB --- 2013-06-05 01:10:18 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-06-05 01:10:18 - 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-06-05 01:10:18 - starting HEAD tinderbox run for amd64/amd64 TB --- 2013-06-05 01:10:18 - cleaning the object tree TB --- 2013-06-05 01:14:49 - /usr/local/bin/svn stat /src TB --- 2013-06-05 01:14:52 - At svn revision 251402 TB --- 2013-06-05 01:14:53 - building world TB --- 2013-06-05 01:14:53 - CROSS_BUILD_TESTING=YES TB --- 2013-06-05 01:14:53 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-05 01:14:53 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-05 01:14:53 - SRCCONF=/dev/null TB --- 2013-06-05 01:14:53 - TARGET=amd64 TB --- 2013-06-05 01:14:53 - TARGET_ARCH=amd64 TB --- 2013-06-05 01:14:53 - TZ=UTC TB --- 2013-06-05 01:14:53 - __MAKE_CONF=/dev/null TB --- 2013-06-05 01:14:53 - cd /src TB --- 2013-06-05 01:14:53 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Wed Jun 5 01:15:00 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 Wed Jun 5 04:54:28 UTC 2013 TB --- 2013-06-05 04:54:28 - generating LINT kernel config TB --- 2013-06-05 04:54:28 - cd /src/sys/amd64/conf TB --- 2013-06-05 04:54:28 - /usr/bin/make -B LINT TB --- 2013-06-05 04:54:28 - cd /src/sys/amd64/conf TB --- 2013-06-05 04:54:28 - /usr/sbin/config -m LINT TB --- 2013-06-05 04:54:28 - building LINT kernel TB --- 2013-06-05 04:54:28 - CROSS_BUILD_TESTING=YES TB --- 2013-06-05 04:54:28 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-05 04:54:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-05 04:54:28 - SRCCONF=/dev/null TB --- 2013-06-05 04:54:28 - TARGET=amd64 TB --- 2013-06-05 04:54:28 - TARGET_ARCH=amd64 TB --- 2013-06-05 04:54:28 - TZ=UTC TB --- 2013-06-05 04:54:28 - __MAKE_CONF=/dev/null TB --- 2013-06-05 04:54:28 - cd /src TB --- 2013-06-05 04:54:28 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed Jun 5 04:54:29 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-06-05 05:05:51 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-06-05 05:05:51 - ERROR: failed to build LINT kernel TB --- 2013-06-05 05:05:51 - 11057.50 user 1846.03 system 14133.12 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Wed Jun 5 18:12:05 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 0E1EFAAF; Wed, 5 Jun 2013 18:12:05 +0000 (UTC) (envelope-from remko@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 DC2781917; Wed, 5 Jun 2013 18:12:04 +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 r55IC4Ee097384; Wed, 5 Jun 2013 18:12:04 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r55IC4pS097383; Wed, 5 Jun 2013 18:12:04 GMT (envelope-from remko) Date: Wed, 5 Jun 2013 18:12:04 GMT Message-Id: <201306051812.r55IC4pS097383@freefall.freebsd.org> To: hi_surat@hotmail.com, remko@FreeBSD.org, freebsd-amd64@FreeBSD.org From: remko@FreeBSD.org Subject: Re: amd64/179288: unable to install on HP ProLiant DL380p Gen8 with 128GB RAM with bge0 X-Mailman-Approved-At: Wed, 05 Jun 2013 18:54:41 +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: Wed, 05 Jun 2013 18:12:05 -0000 Synopsis: unable to install on HP ProLiant DL380p Gen8 with 128GB RAM with bge0 State-Changed-From-To: open->closed State-Changed-By: remko State-Changed-When: Wed Jun 5 18:10:58 UTC 2013 State-Changed-Why: Hello, I would like to suggest you to contact the questions@FreeBSD.org mailinglist or the forums so that people can help you. The PR system is not for these kind of reports, so I am closing this, but I hope the pointers are helping you to resolve your problems. Best regards and thanks for using FreeBSD, Remko http://www.freebsd.org/cgi/query-pr.cgi?pr=179288 From owner-freebsd-amd64@FreeBSD.ORG Wed Jun 5 18:15:53 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 B1C6AAFA; Wed, 5 Jun 2013 18:15:53 +0000 (UTC) (envelope-from remko@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 8C0DA1938; Wed, 5 Jun 2013 18:15:53 +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 r55IFrRR098417; Wed, 5 Jun 2013 18:15:53 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r55IFrRl098416; Wed, 5 Jun 2013 18:15:53 GMT (envelope-from remko) Date: Wed, 5 Jun 2013 18:15:53 GMT Message-Id: <201306051815.r55IFrRl098416@freefall.freebsd.org> To: hi_surat@hotmail.com, remko@FreeBSD.org, freebsd-amd64@FreeBSD.org From: remko@FreeBSD.org Subject: Re: amd64/179288: unable to install on HP ProLiant DL380p Gen8 with 128GB RAM with bge0 X-Mailman-Approved-At: Wed, 05 Jun 2013 18:55:08 +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: Wed, 05 Jun 2013 18:15:53 -0000 Synopsis: unable to install on HP ProLiant DL380p Gen8 with 128GB RAM with bge0 State-Changed-From-To: closed->open State-Changed-By: remko State-Changed-When: Wed Jun 5 18:15:30 UTC 2013 State-Changed-Why: Apologies, I missed the reassignment from Mark, perhaps the amd64 team can be of assistance to get this going... http://www.freebsd.org/cgi/query-pr.cgi?pr=179288 From owner-freebsd-amd64@FreeBSD.ORG Thu Jun 6 11:02: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 91DCDCFF; Thu, 6 Jun 2013 11:02:10 +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 4595F1927; Thu, 6 Jun 2013 11:02:10 +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 r56B29JR022309; Thu, 6 Jun 2013 07:02:09 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r56B292S022302; Thu, 6 Jun 2013 11:02:09 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 6 Jun 2013 11:02:09 GMT Message-Id: <201306061102.r56B292S022302@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: Thu, 06 Jun 2013 11:02:10 -0000 TB --- 2013-06-06 08:00:25 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-06-06 08:00:25 - 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-06-06 08:00:25 - starting HEAD tinderbox run for amd64/amd64 TB --- 2013-06-06 08:00:25 - cleaning the object tree TB --- 2013-06-06 08:00:25 - /usr/local/bin/svn stat /src TB --- 2013-06-06 08:00:30 - At svn revision 251452 TB --- 2013-06-06 08:00:31 - building world TB --- 2013-06-06 08:00:31 - CROSS_BUILD_TESTING=YES TB --- 2013-06-06 08:00:31 - MAKEOBJDIRPREFIX=/obj TB --- 2013-06-06 08:00:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-06-06 08:00:31 - SRCCONF=/dev/null TB --- 2013-06-06 08:00:31 - TARGET=amd64 TB --- 2013-06-06 08:00:31 - TARGET_ARCH=amd64 TB --- 2013-06-06 08:00:31 - TZ=UTC TB --- 2013-06-06 08:00:31 - __MAKE_CONF=/dev/null TB --- 2013-06-06 08:00:31 - cd /src TB --- 2013-06-06 08:00:31 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Thu Jun 6 08:00:39 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 [...] *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-06-06 11:02:09 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-06-06 11:02:09 - ERROR: failed to build world TB --- 2013-06-06 11:02:09 - 8905.85 user 1360.23 system 10904.12 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Thu Jun 6 20:53:43 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 AC2587E8 for ; Thu, 6 Jun 2013 20:53:43 +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 8E8B0137D for ; Thu, 6 Jun 2013 20:53:43 +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 r56JU0i9008712 for ; Thu, 6 Jun 2013 19: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 r56JU0LH008710; Thu, 6 Jun 2013 19:30:00 GMT (envelope-from gnats) Resent-Date: Thu, 6 Jun 2013 19:30:00 GMT Resent-Message-Id: <201306061930.r56JU0LH008710@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, Michal Sviba Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3581B2F6 for ; Thu, 6 Jun 2013 19:23:53 +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 0CE1E134E for ; Thu, 6 Jun 2013 19:23:53 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r56JNpXx021790 for ; Thu, 6 Jun 2013 19:23:51 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r56JNpS2021789; Thu, 6 Jun 2013 19:23:51 GMT (envelope-from nobody) Message-Id: <201306061923.r56JNpS2021789@oldred.freebsd.org> Date: Thu, 6 Jun 2013 19:23:51 GMT From: Michal Sviba To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: amd64/179376: xhci ehci irq storm X-Mailman-Approved-At: Thu, 06 Jun 2013 22:20:34 +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, 06 Jun 2013 20:53:43 -0000 >Number: 179376 >Category: amd64 >Synopsis: xhci ehci irq storm >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 Jun 06 19:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Michal Sviba >Release: 9.1 >Organization: >Environment: 9.1-RELEASE-p2 #0: Mon Apr 29 13:25:59 CEST 2013 >Description: CPU load is high because of to much interrupts. #vmstat -i interrupt total rate irq16: xhci0 ehci0 20060263963 14114 irq23: ehci1 2844944 2 cpu0:timer 1227368754 863 irq264: em0 39704787 27 irq265: hdac0 77 0 irq266: ahci0 5757249 4 cpu1:timer 30460523 21 cpu3:timer 26554702 18 cpu2:timer 35402259 24 Total 21428357258 15077 #sysctl hw.usb.ehci.debug=1 #sysctl hw.usb.xhci.debug=1 #tail -f /var/log/messages Jun 6 21:22:25 ms10 kernel: ehci_set_hw_power: Jun 6 21:22:25 ms10 kernel: ehci_set_hw_power: Periodic is active Jun 6 21:22:25 ms10 kernel: ehci_set_hw_power: Jun 6 21:22:25 ms10 kernel: ehci_set_hw_power: Async is active Jun 6 21:22:25 ms10 kernel: ehci_set_hw_power: Periodic is active Jun 6 21:22:25 ms10 kernel: ehci_set_hw_power: Jun 6 21:22:25 ms10 kernel: ehci_set_hw_power: Periodic is active Jun 6 21:22:25 ms10 kernel: ehci_set_hw_power: Jun 6 21:22:25 ms10 kernel: ehci_set_hw_power: Async is active Jun 6 21:22:25 ms10 kernel: ehci_set_hw_power: Periodic is active Jun 6 21:22:29 ms10 kernel: xhci_set_hw_power: Jun 6 21:22:29 ms10 kernel: ehci_set_hw_power: Jun 6 21:22:29 ms10 kernel: ehci_set_hw_power: Periodic is active Jun 6 21:22:29 ms10 kernel: ehci_set_hw_power: Jun 6 21:22:29 ms10 kernel: ehci_set_hw_power: Async is active Jun 6 21:22:29 ms10 kernel: ehci_set_hw_power: Periodic is active Jun 6 21:22:29 ms10 kernel: ehci_set_hw_power: Jun 6 21:22:29 ms10 kernel: ehci_set_hw_power: Periodic is active Jun 6 21:22:29 ms10 kernel: ehci_set_hw_power: Jun 6 21:22:29 ms10 kernel: ehci_set_hw_power: Async is active Jun 6 21:22:29 ms10 kernel: ehci_set_hw_power: Periodic is active >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Fri Jun 7 02:18:58 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 F0AD813D for ; Fri, 7 Jun 2013 02:18:58 +0000 (UTC) (envelope-from hi_surat@hotmail.com) Received: from bay0-omc3-s6.bay0.hotmail.com (bay0-omc3-s6.bay0.hotmail.com [65.54.190.144]) by mx1.freebsd.org (Postfix) with ESMTP id E0553119F for ; Fri, 7 Jun 2013 02:18:58 +0000 (UTC) Received: from BAY178-W35 ([65.54.190.187]) by bay0-omc3-s6.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 6 Jun 2013 19:17:52 -0700 X-TMN: [fDve6TtH5qywWJ6VOhWz/vWGy8BFfiIM] X-Originating-Email: [hi_surat@hotmail.com] Message-ID: From: "S. Sakulsod" To: "freebsd-amd64@freebsd.org" Subject: unable to install on HP ProLiant DL380p Gen8 with 128GB RAM with bge0 Date: Fri, 7 Jun 2013 09:17:51 +0700 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 07 Jun 2013 02:17:52.0071 (UTC) FILETIME=[36909D70:01CE6325] Content-Type: text/plain; charset="windows-874" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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, 07 Jun 2013 02:18:59 -0000 SSdtIGhhdmluZyBiaWcgcHJvYmxlbXMgd2l0aCBCcm9hZGNvbSBOSUMgKGdiZTApIG9uIEhQIFBy b0xpYW50DQoKIERMMzgwcCAxMjhHQiBSYW0sIE5JQyBtb2RlbCBIUCBFdGhlcm5ldCAxR2IgNC1w b3J0IDMzMUZMUiwgYWZ0ZXIgaW5zdGFsbGVkIGl0DQoKIGNhbm5vdCB1c2UgYSBwaW5nIGNvbW1h bmQsIHNvbWV0aW1lIGl0IGNhbiBkbyB0aGF0IGJ1dCBzaG93IG1lc3NhZ2UgImJnZTANCgogd2F0 Y2hkb2cgdGltZW91dCAtLSByZXNldHRpbmciIGFuZCBpdCB3YXMgZnJvemVuIHRvby4gVGhhbmtz DQoNCgpzdXJhdCBzb2RoY3Vlbg0KIAkJIAkgICAJCSAg From owner-freebsd-amd64@FreeBSD.ORG Fri Jun 7 02:33:31 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 CCB4A247 for ; Fri, 7 Jun 2013 02:33:31 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pb0-x236.google.com (mail-pb0-x236.google.com [IPv6:2607:f8b0:400e:c01::236]) by mx1.freebsd.org (Postfix) with ESMTP id A70BF1201 for ; Fri, 7 Jun 2013 02:33:31 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id ro2so4081754pbb.13 for ; Thu, 06 Jun 2013 19:33:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=r7Wy0v/Ik4Zw4gWPuSB/GZ1noY8CL0ql9QJh63c0KP0=; b=pONGUekPDLT5nrS+2uBs7gfu4wPlNLE4C40g/i1IZX8zcruWmAo6wPGWXeq698gCny lNi4fPZNHtjeaQYcXWSEWGC1jkTe4vJUuC11stNpz4ECkXmvUgBgiSo4jHox5usxV/VZ jx2rcV6C9fmyELVPhmRb5XYWn7F7/Y1WWPlN/8RvpkBgjJ9KYl0/QK8ap+jqldsHe+BG zQHnsJyYHqP0y251HouKlu53TGyCs9aUdugvIUrpbHthU5Aj5oHS/jzasuLc5SxH9uA2 TNVfxDFDdSidzO5m6Wc0tnSievhddk9Hv+j40UeUBJrx3mSJ/nyy2LgS+PG+8yIq7KfH CuOg== X-Received: by 10.68.137.227 with SMTP id ql3mr16373781pbb.39.1370572411499; Thu, 06 Jun 2013 19:33:31 -0700 (PDT) Received: from pyunyh@gmail.com (lpe4.p59-icn.cdngp.net. [114.111.62.249]) by mx.google.com with ESMTPSA id nt6sm46830018pbb.4.2013.06.06.19.33.28 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 06 Jun 2013 19:33:30 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Fri, 07 Jun 2013 11:33:21 +0900 From: YongHyeon PYUN Date: Fri, 7 Jun 2013 11:33:21 +0900 To: "S. Sakulsod" Subject: Re: unable to install on HP ProLiant DL380p Gen8 with 128GB RAM with bge0 Message-ID: <20130607023321.GD3347@michelle.cdnetworks.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: "freebsd-amd64@freebsd.org" X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 02:33:31 -0000 On Fri, Jun 07, 2013 at 09:17:51AM +0700, S. Sakulsod wrote: > I'm having big problems with Broadcom NIC (gbe0) on HP ProLiant > > DL380p 128GB Ram, NIC model HP Ethernet 1Gb 4-port 331FLR, after installed it > > cannot use a ping command, sometime it can do that but show message "bge0 > > watchdog timeout -- resetting" and it was frozen too. Thanks > If you see the issue on 9.1-RELEASE, try FreeBSD 8.4-RC3. bge(4) shipped in 9.1-RELEASE does not fully support DL380 G8's controller.