From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 9 11:06:51 2008 Return-Path: Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75C6B1065679 for ; Mon, 9 Jun 2008 11:06:51 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5BDDC8FC28 for ; Mon, 9 Jun 2008 11:06:51 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m59B6pQs070676 for ; Mon, 9 Jun 2008 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m59B6oUM070672 for freebsd-amd64@FreeBSD.org; Mon, 9 Jun 2008 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 9 Jun 2008 11:06:50 GMT Message-Id: <200806091106.m59B6oUM070672@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 X-Mailman-Approved-At: Mon, 09 Jun 2008 11:27:12 +0000 Cc: Subject: Current problem reports assigned to freebsd-amd64@FreeBSD.org X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 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, 09 Jun 2008 11:06:51 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/112222 amd64 [libc] 32-bit libc incorrectly converts some FP number 1 problem total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/73322 amd64 [msdosfs] [hang] unarchiving /etc to msdosfs locks up o amd64/74747 amd64 [panic] System panic on shutdown when process will not o amd64/76136 amd64 [hang] system halts before reboot o amd64/78406 amd64 [panic]AMD64 w/ SCSI: issue 'rm -r /usr/ports' and sys f amd64/86080 amd64 [radeon] [hang] radeon DRI causes system hang on amd64 f amd64/87258 amd64 [smp] [boot] cannot boot with SMP and Areca ARC-1160 r o amd64/87305 amd64 [smp] Dual Opteron / FreeBSD 5 & 6 / powerd results in o amd64/87316 amd64 [vge] "vge0 attach returned 6" on FreeBSD 6.0-RC1 amd6 o amd64/87689 amd64 [powerd] [hang] powerd hangs SMP Opteron 244 5-STABLE o amd64/87977 amd64 [busdma] [panic] amd64 busdma dflt_lock called (by ata o amd64/88568 amd64 [panic] 6.0-RELEASE install cd does not boot with usb o amd64/88790 amd64 [panic] kernel panic on first boot (after the FreeBSD o amd64/89501 amd64 [install] System crashes on install using ftp on local f amd64/89503 amd64 [boot] Cant Boot Installation Disk o amd64/91405 amd64 [asr] [panic] Kernel panic caused by asr on 6.0-amd64 f amd64/91492 amd64 [boot] BTX halted o amd64/92337 amd64 [em] FreeBSD 6.0 Release Intel Pro 1000 MT em1 no buff o amd64/93961 amd64 [busdma] Problem in bounce buffer handling in sys/amd6 o amd64/94677 amd64 [panic] panic in amd64 install at non-root user creati f amd64/94989 amd64 [boot] BTX Halts on Sun Fire X2100 w/6.1-BETA4 (amd64) o amd64/95888 amd64 [ata] kernel: ad2: TIMEOUT - WRITE_DMA retrying on HP o amd64/97337 amd64 [dri] xorg reboots system if dri module is enabled f amd64/102122 amd64 [boot] 6.1-RELEASE amd64 Install Media panics on boot. s amd64/104311 amd64 ports/wine should be installable on amd64 f amd64/105514 amd64 [boot] FreeBSD/amd64 - Fails to boot on HP Pavilion dv f amd64/105531 amd64 [ata] gigabyte GA-M51GM-S2G / nVidia nForce 430 - does f amd64/105629 amd64 [re] TrendNet TEG-BUSR 10/100/1000 disables itself on s amd64/108861 amd64 [nve] nve(4) driver on FreeBSD 6.2 AMD64 does not work a amd64/109584 amd64 zdump(8) doesn't work o amd64/110655 amd64 [threads] 32 bit threaded applications crash on amd64 f amd64/111992 amd64 [boot] BTX failed - HP Laptop dv2315nr f amd64/113021 amd64 [re] ASUS M2A-VM onboard NIC does not work o amd64/114111 amd64 [nfs] System crashes while writing on NFS-mounted shar o amd64/115194 amd64 LCD screen remains blank after Dell XPS M1210 lid is c s amd64/115815 amd64 [ata] [request] Gigabyte GA-M61P-S3 Motherboard unsupp o amd64/116159 amd64 [panic] Panic while debugging on CURRENT o amd64/116322 amd64 [panic] At start fsck on current, the system panics o amd64/116620 amd64 [hang] ifconfig spins when creating carp(4) device on o amd64/117296 amd64 [ata] I don`t see second SATA IDE on VIA VT8237A o amd64/117316 amd64 [acpi] ACPI lockups on SuperMicro motherboard o amd64/117418 amd64 [hang] FreeBSD 6.2 crash on amd64 4400+ with ssh o amd64/119591 amd64 [amd64] [patch] time_t on 64-bit architecture o amd64/119936 amd64 [install] FreeBSD 7.0-RC1 amd64 and i386 installer dis o amd64/120202 amd64 [amd64] [patch] [panic] kernel panic at start_all_aps, o amd64/121439 amd64 [boot] Installation of FreeBSD 7.0 fails: ACPI problem o amd64/122174 amd64 [panic] 7.0 no longer includes "device atpic" so fails f amd64/122423 amd64 Port install fails after upgrade o amd64/122624 amd64 unusable minimal installation of FreeBSD-7.0 o amd64/122695 amd64 [cpufreq] Lack of cpufreq control using amd64 eith cor o kern/122782 amd64 [modules] accf_http.ko kernel module is not loadable o amd64/123275 amd64 [cbb] [pcmcia] cbb/pcmcia drivers on amd64 failure [re o amd64/123520 amd64 [ahd] unable to boot from net while using ahd o amd64/123562 amd64 [install] FreeBSD amd64 not installs o amd64/124200 amd64 [panic] kernel panic on mutex sleepq chain 54 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s amd64/85273 amd64 [install] FreeBSD (NetBSD or OpenBSD) not install on l f amd64/100838 amd64 [powerd] FreeBSD 6.0/6.1 kernel panics when booting wi o amd64/102716 amd64 ex with no argument in an xterm gets SIGSEGV f amd64/103259 amd64 [ar] Cannot use ataraid on nvidia nForce4+amd64 o bin/105542 amd64 on amd64, ldd(1) produces bogus output for i386 execut o amd64/106186 amd64 [panic] panic in swap_pager_swap_init (amd64/smp/6.2-p o amd64/110599 amd64 [geli] geli attach to gmirror device hangs and cannot f amd64/111096 amd64 motherboard ASRock AM2NF6G-VSTA not supported a amd64/113111 amd64 [Makefile] [patch] Potentially wrong instructions will o amd64/114270 amd64 [cpufreq] cpufreq doesnt work when compiled in to kern o amd64/115581 amd64 [Makefile] [patch] -mfancy-math-387 has no effect f amd64/116457 amd64 [install] can't install freebsd on dv9420us f amd64/116514 amd64 freebsd6.2 can't detect GA-M61SME-S2's onboard lan car f amd64/116670 amd64 [ata] onboard SATA RAID1 controllers not supported for s amd64/116689 amd64 [request] support for MSI K9MM-V f amd64/117186 amd64 [modules] kldload Unsupported file type on STABLE amd6 f amd64/119949 amd64 [install] 6.3-RELEASE install; cannot find packages/IN f amd64/121590 amd64 powerd(8) may not work correctly f amd64/122468 amd64 Compile problems after upgrading to 7.0 o amd64/122549 amd64 7.0-RELEASE-amd64-bootonly.iso doesn't work w/ serial o amd64/123456 amd64 fstat(1): /usr/bin/fstat shows error messages and hang o amd64/124134 amd64 [kernel] The kernel doesn't follow the calling convent 22 problems total. From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 9 12:55:50 2008 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F4E010656AC; Mon, 9 Jun 2008 12:55:50 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 62FE38FC18; Mon, 9 Jun 2008 12:55:50 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m59CtkoW000953; Mon, 9 Jun 2008 08:55:46 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-legacy.sentex.ca (freebsd-legacy.sentex.ca [64.7.128.104]) by smtp1.sentex.ca (8.14.2/8.14.2) with ESMTP id m59CtjWv029026; Mon, 9 Jun 2008 08:55:45 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-legacy.sentex.ca (Postfix, from userid 666) id 3EFBC241A2; Mon, 9 Jun 2008 08:56:00 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080609125600.3EFBC241A2@freebsd-legacy.sentex.ca> Date: Mon, 9 Jun 2008 08:56:00 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93/7040/Mon May 5 21:52:15 2008 clamav-milter version 0.93 on clamscanner1 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [releng_6 tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2008 12:55:50 -0000 TB --- 2008-06-09 11:22:52 - tinderbox 2.3 running on freebsd-legacy.sentex.ca TB --- 2008-06-09 11:22:52 - starting RELENG_6 tinderbox run for amd64/amd64 TB --- 2008-06-09 11:22:52 - cleaning the object tree TB --- 2008-06-09 11:23:29 - cvsupping the source tree TB --- 2008-06-09 11:23:30 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_6/amd64/amd64/supfile TB --- 2008-06-09 11:23:36 - building world (CFLAGS=-O2 -pipe) TB --- 2008-06-09 11:23:36 - cd /src TB --- 2008-06-09 11:23:36 - /usr/bin/make -B buildworld >>> 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 TB --- 2008-06-09 12:40:20 - generating LINT kernel config TB --- 2008-06-09 12:40:20 - cd /src/sys/amd64/conf TB --- 2008-06-09 12:40:20 - /usr/bin/make -B LINT TB --- 2008-06-09 12:40:20 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2008-06-09 12:40:20 - cd /src TB --- 2008-06-09 12:40:20 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Mon Jun 9 12:40:20 UTC 2008 >>> 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 [...] objcopy --strip-debug nfsclient.ko ===> nfslockd (all) cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /obj/amd64/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -fno-omit-frame-pointer -I/obj/amd64/src/sys/LINT -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /src/sys/modules/nfslockd/../../nlm/nlm_prot_clnt.c cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /obj/amd64/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -fno-omit-frame-pointer -I/obj/amd64/src/sys/LINT -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /src/sys/modules/nfslockd/../../nlm/nlm_prot_impl.c /src/sys/modules/nfslockd/../../nlm/nlm_prot_impl.c: In function `nlm_check_idle': /src/sys/modules/nfslockd/../../nlm/nlm_prot_impl.c:697: error: `nlm_global_lock' undeclared (first use in this function) /src/sys/modules/nfslockd/../../nlm/nlm_prot_impl.c:697: error: (Each undeclared identifier is reported only once /src/sys/modules/nfslockd/../../nlm/nlm_prot_impl.c:697: error: for each function it appears in.) *** Error code 1 Stop in /src/sys/modules/nfslockd. *** Error code 1 Stop in /src/sys/modules. *** Error code 1 Stop in /obj/amd64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-09 12:56:00 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-09 12:56:00 - ERROR: failed to build lint kernel TB --- 2008-06-09 12:56:00 - tinderbox aborted TB --- 4486.69 user 532.27 system 5587.97 real http://tinderbox.des.no/tinderbox-releng_6-RELENG_6-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 9 13:20:01 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B94A6106578C for ; Mon, 9 Jun 2008 13:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 94E658FC22 for ; Mon, 9 Jun 2008 13:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m59DK1WD088322 for ; Mon, 9 Jun 2008 13:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m59DK1qR088321; Mon, 9 Jun 2008 13:20:01 GMT (envelope-from gnats) Resent-Date: Mon, 9 Jun 2008 13:20:01 GMT Resent-Message-Id: <200806091320.m59DK1qR088321@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, yriy Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 691FE1065677 for ; Mon, 9 Jun 2008 13:12:58 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 56AFD8FC24 for ; Mon, 9 Jun 2008 13:12:58 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m59DCv5t066465 for ; Mon, 9 Jun 2008 13:12:57 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m59DCvuh066464; Mon, 9 Jun 2008 13:12:57 GMT (envelope-from nobody) Message-Id: <200806091312.m59DCvuh066464@www.freebsd.org> Date: Mon, 9 Jun 2008 13:12:57 GMT From: yriy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Mon, 09 Jun 2008 13:43:42 +0000 Cc: Subject: amd64/124416: cant build kernel X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 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, 09 Jun 2008 13:20:01 -0000 >Number: 124416 >Category: amd64 >Synopsis: cant build kernel >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 09 13:20:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: yriy >Release: 7.0 cvsup to releng >Organization: magy class >Environment: FreeBSD dao 7.0-Release FreeBSD 7-0-Release #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.boofalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: when build kernel after buildworld get /usr/src/sys/nlm/nlm_prot_impl.c:697:error:'nlm_global_lock' undeclared (first use in this function) /usr/src/sys/nlm/nlm_prot_impl.c:697:error:(each undeclared identifier is reported only once /usr/src/sys/nlm/nlm_prot_impl.c:697:error: for each function it aappears in.) *** Error code 1 and stop in /usr/src. >How-To-Repeat: cvsup 7.0-release amd64 to releng, make buildworld, make buildkernel KERNCONF=GENERIC then error appear >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 9 14:12:20 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4AD31065681; Mon, 9 Jun 2008 14:12:20 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9C2348FC15; Mon, 9 Jun 2008 14:12:20 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from freefall.freebsd.org (kris@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m59ECKKA093327; Mon, 9 Jun 2008 14:12:20 GMT (envelope-from kris@freefall.freebsd.org) Received: (from kris@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m59ECJD1093322; Mon, 9 Jun 2008 14:12:19 GMT (envelope-from kris) Date: Mon, 9 Jun 2008 14:12:19 GMT Message-Id: <200806091412.m59ECJD1093322@freefall.freebsd.org> To: yrletov@mir-aero.ru, kris@FreeBSD.org, freebsd-amd64@FreeBSD.org From: kris@FreeBSD.org Cc: Subject: Re: amd64/124416: cant build kernel X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 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, 09 Jun 2008 14:12:20 -0000 Synopsis: cant build kernel State-Changed-From-To: open->closed State-Changed-By: kris State-Changed-When: Mon Jun 9 14:11:56 UTC 2008 State-Changed-Why: Believed to be fixed already. If not, please follow up on freebsd-stable@FreeBSD.org. http://www.freebsd.org/cgi/query-pr.cgi?pr=124416 From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 9 14:20:04 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 328B7106566B for ; Mon, 9 Jun 2008 14:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 098AA8FC16 for ; Mon, 9 Jun 2008 14:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m59EK3pE094738 for ; Mon, 9 Jun 2008 14:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m59EK3YE094737; Mon, 9 Jun 2008 14:20:03 GMT (envelope-from gnats) Date: Mon, 9 Jun 2008 14:20:03 GMT Message-Id: <200806091420.m59EK3YE094737@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Kris Kennaway Cc: Subject: Re: amd64/124416: cant build kernel X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kris Kennaway List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2008 14:20:04 -0000 The following reply was made to PR amd64/124416; it has been noted by GNATS. From: Kris Kennaway To: yriy Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: amd64/124416: cant build kernel Date: Mon, 09 Jun 2008 16:11:50 +0200 yriy wrote: > cvsup 7.0-release amd64 to releng, make buildworld, make buildkernel KERNCONF=GENERIC then error appear Should be fixed already. Usually it is not worth opening a PR about build failures; ask on the mailing list or just wait an hour or two and retry. Kris From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 9 22:50:04 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AAFA1065675 for ; Mon, 9 Jun 2008 22:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7AA678FC22 for ; Mon, 9 Jun 2008 22:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m59Mo4ct045706 for ; Mon, 9 Jun 2008 22:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m59Mo40s045703; Mon, 9 Jun 2008 22:50:04 GMT (envelope-from gnats) Resent-Date: Mon, 9 Jun 2008 22:50:04 GMT Resent-Message-Id: <200806092250.m59Mo40s045703@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, Joe Kelsey Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFD9E106566C for ; Mon, 9 Jun 2008 22:45:05 +0000 (UTC) (envelope-from joe@zircon.seattle.wa.us) Received: from dsl254-019-221.sea1.dsl.speakeasy.net (dsl254-019-221.sea1.dsl.speakeasy.net [216.254.19.221]) by mx1.freebsd.org (Postfix) with ESMTP id 954458FC18 for ; Mon, 9 Jun 2008 22:45:05 +0000 (UTC) (envelope-from joe@zircon.seattle.wa.us) Received: (qmail 1798 invoked by uid 1001); 9 Jun 2008 22:18:23 -0000 Message-Id: <20080609221823.1797.qmail@zircon.seattle.wa.us> Date: 9 Jun 2008 22:18:23 -0000 From: Joe Kelsey To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 X-Mailman-Approved-At: Mon, 09 Jun 2008 22:57:35 +0000 Cc: Subject: amd64/124432: 7.0-STABLE panic: invalbuf: dirty bufs X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joe Kelsey List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2008 22:50:04 -0000 >Number: 124432 >Category: amd64 >Synopsis: 7.0-STABLE panic: invalbuf: dirty bufs >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 09 22:50:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Joe Kelsey >Release: FreeBSD 7.0-STABLE amd64 >Organization: Joseph M. Kelsey >Environment: System: FreeBSD zircon.zircon.seattle.wa.us 7.0-STABLE FreeBSD 7.0-STABLE #18: Sun May 25 15:43:06 PDT 2008 root@zircon.zircon.seattle.wa.us:/usr/obj/usr/src/sys/ZIRCON amd64 >Description: Kernel panic: invalbuf: dirty bufs Seems to happen under moderate disk activity. It happened twice so far during my attempt to move several directories from one disk to another. I do not see any real issue with the disk traffic, except that I am moving from a gmirror device to a normal device, on different ata attach points. The gmirror is on a fast SATA (300) interface and the other device is on a slower (150) SATA interface. I have 4 SATA interfaces on this system, the two standard ata interfaces on the mother board and two SATA interfaces to attach my real SATA disks. So, the gmirror gets the fast one and everyone else gets the slower one. I have vmcore if it is of interest to anyone. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Tue Jun 10 02:16:45 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E2EF1065689; Tue, 10 Jun 2008 02:16:45 +0000 (UTC) (envelope-from benjsc@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D37658FC12; Tue, 10 Jun 2008 02:16:44 +0000 (UTC) (envelope-from benjsc@FreeBSD.org) Received: from freefall.freebsd.org (benjsc@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5A2Gi0q038901; Tue, 10 Jun 2008 02:16:44 GMT (envelope-from benjsc@freefall.freebsd.org) Received: (from benjsc@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5A2Gide038897; Tue, 10 Jun 2008 02:16:44 GMT (envelope-from benjsc) Date: Tue, 10 Jun 2008 02:16:44 GMT Message-Id: <200806100216.m5A2Gide038897@freefall.freebsd.org> To: benjsc@FreeBSD.org, freebsd-amd64@FreeBSD.org, benjsc@FreeBSD.org From: benjsc@FreeBSD.org X-Mailman-Approved-At: Tue, 10 Jun 2008 02:34:15 +0000 Cc: Subject: Re: amd64/124200: [panic] kernel panic on mutex sleepq chain X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 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, 10 Jun 2008 02:16:45 -0000 Synopsis: [panic] kernel panic on mutex sleepq chain Responsible-Changed-From-To: freebsd-amd64->benjsc Responsible-Changed-By: benjsc Responsible-Changed-When: Tue Jun 10 02:15:53 UTC 2008 Responsible-Changed-Why: Problem currently under investigation by benjsc,attilo,kris, stay tuned! http://www.freebsd.org/cgi/query-pr.cgi?pr=124200 From owner-freebsd-amd64@FreeBSD.ORG Tue Jun 10 13:51:18 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D2791065689 for ; Tue, 10 Jun 2008 13:51:18 +0000 (UTC) (envelope-from shinjii@maydias.com) Received: from mail5.tpgi.com.au (smtp-out5.tpgi.com.au [220.244.226.115]) by mx1.freebsd.org (Postfix) with ESMTP id A33718FC13 for ; Tue, 10 Jun 2008 13:51:17 +0000 (UTC) (envelope-from shinjii@maydias.com) X-TPG-Antivirus: Passed Received: from gazza.maydias.com (123-243-239-97.static.tpgi.com.au [123.243.239.97]) by mail5.tpgi.com.au (envelope-from shinjii@maydias.com) (8.14.2/8.14.2) with ESMTP id m5ADcd2V002743 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 10 Jun 2008 23:38:56 +1000 Message-Id: <200806101338.m5ADcd2V002743@mail5.tpg.com.au> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 10 Jun 2008 23:38:39 +1000 To: freebsd-amd64@freebsd.org From: Warren Liddell Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed; x-avg-checked=avg-ok-6C137374 Subject: ohci_add_done PANIC X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 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, 10 Jun 2008 13:51:18 -0000 I have seen many posts and articles floating around that deals with this issue, so id like to know how to get around it, without the need to disable legacy support? amt my only work around is disabling legacy support, unplugging ALL USB devices then FreeBSD not only installs without causing a panic as well as runs, but it detects all the USB devices AFTER boot has been done, how ever X dosent seem to want to recognise it. There other issues, however with having to swap from 1 comp to another running from FreeBSD, i have no ability to paste dmesg or anything like that. ports & world are upto date as of 2 days ago .. however i am unable to configure the kernel, so its using factory defaults that came with 6.3-RELEASE a few mnths ago .. issues with that are related to various options not beign able to determine size. I understand a lot of this is vague, but more information can be provided if needs be. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 270.2.0/1493 - Release Date: 9/06/2008 5:25 PM From owner-freebsd-amd64@FreeBSD.ORG Fri Jun 13 01:50:02 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C531B106564A for ; Fri, 13 Jun 2008 01:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9CC7D8FC1A for ; Fri, 13 Jun 2008 01:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5D1o2Gc048843 for ; Fri, 13 Jun 2008 01:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5D1o2rD048842; Fri, 13 Jun 2008 01:50:02 GMT (envelope-from gnats) Resent-Date: Fri, 13 Jun 2008 01:50:02 GMT Resent-Message-Id: <200806130150.m5D1o2rD048842@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, Tony Sweeney Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C2FD106567A for ; Fri, 13 Jun 2008 01:43:00 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 6C9B48FC18 for ; Fri, 13 Jun 2008 01:43:00 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m5D1h0NO095186 for ; Fri, 13 Jun 2008 01:43:00 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m5D1h0hn095184; Fri, 13 Jun 2008 01:43:00 GMT (envelope-from nobody) Message-Id: <200806130143.m5D1h0hn095184@www.freebsd.org> Date: Fri, 13 Jun 2008 01:43:00 GMT From: Tony Sweeney To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Fri, 13 Jun 2008 02:27:57 +0000 Cc: Subject: amd64/124538: Kernel panic on install X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 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, 13 Jun 2008 01:50:02 -0000 >Number: 124538 >Category: amd64 >Synopsis: Kernel panic on install >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 13 01:50:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Tony Sweeney >Release: 7.0 >Organization: Self >Environment: Gigabyte GA-MA78GM-S2H motherboard >Description: Kernel panic on install: uptime 1s >How-To-Repeat: Try to install on GA-MA78GM-S2H motherboard >Fix: n/a >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Fri Jun 13 14:17:18 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81B311065679; Fri, 13 Jun 2008 14:17:18 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 66DB28FC23; Fri, 13 Jun 2008 14:17:18 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5DEHIWJ077297; Fri, 13 Jun 2008 14:17:18 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5DEHI0s077293; Fri, 13 Jun 2008 14:17:18 GMT (envelope-from gavin) Date: Fri, 13 Jun 2008 14:17:18 GMT Message-Id: <200806131417.m5DEHI0s077293@freefall.freebsd.org> To: sweeney@addr.com, gavin@FreeBSD.org, freebsd-amd64@FreeBSD.org, gavin@FreeBSD.org From: gavin@FreeBSD.org X-Mailman-Approved-At: Fri, 13 Jun 2008 14:23:59 +0000 Cc: Subject: Re: amd64/124538: Kernel panic on install X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 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, 13 Jun 2008 14:17:18 -0000 Synopsis: Kernel panic on install State-Changed-From-To: open->feedback State-Changed-By: gavin State-Changed-When: Fri Jun 13 14:14:14 UTC 2008 State-Changed-Why: To submitter: could you please give us some more details about the panic you are experiencing? At a minimum, we really need the full panic text (all 15 or so lines) and a few lines from before the panic to try to establish exactly where this is panicing. A good quality digital photo is usually enough unless you have a serial console set up or some other way of capturing an image. Lastly, is this a new system, or has it run a previous version of FreeBSD successfully? Responsible-Changed-From-To: freebsd-amd64->gavin Responsible-Changed-By: gavin Responsible-Changed-When: Fri Jun 13 14:14:14 UTC 2008 Responsible-Changed-Why: Track http://www.freebsd.org/cgi/query-pr.cgi?pr=124538 From owner-freebsd-amd64@FreeBSD.ORG Sat Jun 14 12:21:03 2008 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC8C8106567A; Sat, 14 Jun 2008 12:21:03 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 85D5E8FC21; Sat, 14 Jun 2008 12:21:03 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5ECKwZ4061568; Sat, 14 Jun 2008 08:20:58 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.2/8.14.2) with ESMTP id m5ECKwq8002691; Sat, 14 Jun 2008 08:20:58 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id AF52373039; Sat, 14 Jun 2008 08:20:58 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080614122058.AF52373039@freebsd-current.sentex.ca> Date: Sat, 14 Jun 2008 08:20:58 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93/7040/Mon May 5 21:52:15 2008 clamav-milter version 0.93 on clamscanner3 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2008 12:21:03 -0000 TB --- 2008-06-14 12:20:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-14 12:20:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2008-06-14 12:20:00 - cleaning the object tree TB --- 2008-06-14 12:20:51 - cvsupping the source tree TB --- 2008-06-14 12:20:51 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2008-06-14 12:20:58 - building world (CFLAGS=-O -pipe) TB --- 2008-06-14 12:20:58 - cd /src TB --- 2008-06-14 12:20:58 - /usr/bin/make -B buildworld TB --- 2008-06-14 12:20:58 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-14 12:20:58 - ERROR: failed to build world TB --- 2008-06-14 12:20:58 - tinderbox aborted TB --- 2.32 user 4.49 system 58.40 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Sat Jun 14 17:48:12 2008 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BA7C1065674 for ; Sat, 14 Jun 2008 17:48:12 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id 533A48FC1C for ; Sat, 14 Jun 2008 17:48:12 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 137B91CD5F; Sat, 14 Jun 2008 19:44:12 +0200 (CEST) Date: Sat, 14 Jun 2008 19:44:12 +0200 From: Ed Schouten To: amd64@freebsd.org Message-ID: <20080614174412.GU1176@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2HdWiV8iqzNK3pYB" Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Mailman-Approved-At: Sat, 14 Jun 2008 19:22:30 +0000 Cc: Subject: VM_PROT_EXEC on the stack X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2008 17:48:12 -0000 --2HdWiV8iqzNK3pYB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello everyone, I'm not a real guru when it comes to low level x86 hardware stuff, but some time ago I read somewhere that the NX bit on AMD64 CPU's could be used to mark the stack as non-executable, making it impossible to execute code on the stack (through buffer overflows). When I look at procstat -v's output on FreeBSD/amd64, I see the stack has VM_PROT_EXEC. Is there a specific reason for this? Yours, --=20 Ed Schouten WWW: http://80386.nl/ --2HdWiV8iqzNK3pYB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkhUA2sACgkQ52SDGA2eCwWKqwCeP4RoAf451eVuPiT1qjMNHrZL dtUAn0GgV5u/WgwqVqHMNX86f+ZFlLLG =nBON -----END PGP SIGNATURE----- --2HdWiV8iqzNK3pYB-- From owner-freebsd-amd64@FreeBSD.ORG Sat Jun 14 19:50:49 2008 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 108E4106566B for ; Sat, 14 Jun 2008 19:50:49 +0000 (UTC) (envelope-from peter@wemm.org) Received: from ag-out-0708.google.com (ag-out-0708.google.com [72.14.246.245]) by mx1.freebsd.org (Postfix) with ESMTP id C23768FC15 for ; Sat, 14 Jun 2008 19:50:48 +0000 (UTC) (envelope-from peter@wemm.org) Received: by ag-out-0708.google.com with SMTP id 8so8041443agc.3 for ; Sat, 14 Jun 2008 12:50:48 -0700 (PDT) Received: by 10.100.93.12 with SMTP id q12mr6133780anb.120.1213472139673; Sat, 14 Jun 2008 12:35:39 -0700 (PDT) Received: by 10.100.154.11 with HTTP; Sat, 14 Jun 2008 12:35:39 -0700 (PDT) Message-ID: Date: Sat, 14 Jun 2008 12:35:39 -0700 From: "Peter Wemm" To: "Ed Schouten" In-Reply-To: <20080614174412.GU1176@hoeg.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080614174412.GU1176@hoeg.nl> Cc: amd64@freebsd.org Subject: Re: VM_PROT_EXEC on the stack X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2008 19:50:49 -0000 gcc copies code to the stack and runs it in certain circumstances (nested functions). We'd need code added to libgcc to do the appropriate mprotect() calls. I think code exists for NetBSD to do this if somebody wants to pick this up. Search for mprotect in gcc source. Also, the very top page has the signal trampoline executable code. If you wanted to turn off EXEC, you'd either have to leave the very top page executable or move the trampoline elsewhere (eg: libc, like on sparc64). BTW: I'd like the latter. On Sat, Jun 14, 2008 at 10:44 AM, Ed Schouten wrote: > Hello everyone, > > I'm not a real guru when it comes to low level x86 hardware stuff, but > some time ago I read somewhere that the NX bit on AMD64 CPU's could be > used to mark the stack as non-executable, making it impossible to > execute code on the stack (through buffer overflows). > > When I look at procstat -v's output on FreeBSD/amd64, I see the stack > has VM_PROT_EXEC. Is there a specific reason for this? > > Yours, > -- > Ed Schouten > WWW: http://80386.nl/ > -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell From owner-freebsd-amd64@FreeBSD.ORG Sat Jun 14 20:46:50 2008 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AC451065678 for ; Sat, 14 Jun 2008 20:46:50 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id AEE448FC0C for ; Sat, 14 Jun 2008 20:46:49 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m5EKCSgc082961 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Jun 2008 23:12:28 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m5EK8YSP010166; Sat, 14 Jun 2008 23:08:34 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m5EK8YpA010165; Sat, 14 Jun 2008 23:08:34 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 14 Jun 2008 23:08:34 +0300 From: Kostik Belousov To: Ed Schouten Message-ID: <20080614200833.GZ94309@deviant.kiev.zoral.com.ua> References: <20080614174412.GU1176@hoeg.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Rze2H98aPGdtvpzG" Content-Disposition: inline In-Reply-To: <20080614174412.GU1176@hoeg.nl> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on skuns.kiev.zoral.com.ua Cc: amd64@freebsd.org Subject: Re: VM_PROT_EXEC on the stack X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2008 20:46:50 -0000 --Rze2H98aPGdtvpzG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 14, 2008 at 07:44:12PM +0200, Ed Schouten wrote: > Hello everyone, >=20 > I'm not a real guru when it comes to low level x86 hardware stuff, but > some time ago I read somewhere that the NX bit on AMD64 CPU's could be > used to mark the stack as non-executable, making it impossible to > execute code on the stack (through buffer overflows). >=20 > When I look at procstat -v's output on FreeBSD/amd64, I see the stack > has VM_PROT_EXEC. Is there a specific reason for this? There are at least two issues with marking stack non-executable. First, kernel copies the signal trampoline code fragments at the top of the stack. This may be worked around by splitting one page from the stack and marking it executable. Or, the code may be moved to the libc. Second issue is that, in principle, stack may be used by the compiler-generated trampolines. New gnu toolchain creates the GNU_STACK phdr that informs ld.so that non-executable stack is permitted (in fact, I think that it is p_flags of the phdr that defines required protection for the stack segment mappings). GNU_STACK is created when all linked relocatable objects contain .note.GNU-stack. --Rze2H98aPGdtvpzG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkhUJUEACgkQC3+MBN1Mb4iCxgCg8BxC/4DoAse7vcMxdUg8RLUd JnwAoNT+DkeALCKDBbu32oq0yUFTqBYl =ZgFJ -----END PGP SIGNATURE----- --Rze2H98aPGdtvpzG--