From owner-freebsd-amd64@FreeBSD.ORG Sun Mar 21 21:54:38 2010 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 09C2A106566B; Sun, 21 Mar 2010 21:54:38 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D45CA8FC17; Sun, 21 Mar 2010 21:54:37 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2LLsboe005971; Sun, 21 Mar 2010 21:54:37 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2LLsbl9005967; Sun, 21 Mar 2010 21:54:37 GMT (envelope-from linimon) Date: Sun, 21 Mar 2010 21:54:37 GMT Message-Id: <201003212154.o2LLsbl9005967@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-bugs@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: bin/144932: [patch] top(1) does not display correct in SIZE when ki_size is bigger than (int) 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: Sun, 21 Mar 2010 21:54:38 -0000 Old Synopsis: top does not display correct in SIZE when ki_size is bigger than (int) New Synopsis: [patch] top(1) does not display correct in SIZE when ki_size is bigger than (int) Responsible-Changed-From-To: freebsd-amd64->freebsd-bugs Responsible-Changed-By: linimon Responsible-Changed-When: Sun Mar 21 21:54:09 UTC 2010 Responsible-Changed-Why: reclassify http://www.freebsd.org/cgi/query-pr.cgi?pr=144932 From owner-freebsd-amd64@FreeBSD.ORG Mon Mar 22 10:23:02 2010 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 1A2BB1065672 for ; Mon, 22 Mar 2010 10:23:02 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 5D5CF8FC0A for ; Mon, 22 Mar 2010 10:23:00 +0000 (UTC) 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 o2M9v1Ah049053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Mar 2010 11:57:01 +0200 (EET) (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.4/8.14.4) with ESMTP id o2M9v1Ln066249; Mon, 22 Mar 2010 11:57:01 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o2M9v1Qb066248; Mon, 22 Mar 2010 11:57:01 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 22 Mar 2010 11:57:01 +0200 From: Kostik Belousov To: arch@freebsd.org, amd64@freebsd.org Message-ID: <20100322095701.GE2415@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7CZp05NP8/gJM8Cl" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Subject: XMM register usage in the 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, 22 Mar 2010 10:23:02 -0000 --7CZp05NP8/gJM8Cl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, apparently, my Core i7 930 does not support AES-NI. I read too much about this thing before realizing that I do not have access to supported CPU, so I had a time to prototype support for using XMM registers and, in some degree, a coprocessor features, in the kernel mode for AMD64. The i386 could be done in a similar manner, but would be less clean, it seems. The KPI consists of two functions, fpu_kern_enter() and fpu_kern_leave(). The pair should brace the region of code that intend to use coprocessor. Caller shall provide the context save area, I expect that usually this memory will be allocated as part of larger subsystem data structure. fpu_kern_enter() allows the nesting, assuming fpu_kern_leave() is called proper number of times to pop the context stack. I deliberately ignored the issue of handling the coprocessor exceptions in the kernel mode. My assumption is that this facility is for the things like AES-NI or similar, where exceptions are not generated if proper programming is ensured. Prototyped patch is at http://people.freebsd.org/~kib/misc/amd64_kern_fpu.1.patch Example usage can be seen at http://people.freebsd.org/~kib/misc/kernfpu (note that example does not follow the guidelines above, usermode can easily crash kernel module, but the goal was to give an example of KPI usage). Awaiting for feedback, thanks. --7CZp05NP8/gJM8Cl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkunPu0ACgkQC3+MBN1Mb4gFfQCg3o5rkj8YTcDGSLmkblbIzmK/ IUAAn2A35KYd5esZWz92+2yrURfE4sZM =R42e -----END PGP SIGNATURE----- --7CZp05NP8/gJM8Cl-- From owner-freebsd-amd64@FreeBSD.ORG Mon Mar 22 11:06:56 2010 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 6EFD61065686 for ; Mon, 22 Mar 2010 11:06:56 +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 438BC8FC27 for ; Mon, 22 Mar 2010 11:06:56 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2MB6uVh014945 for ; Mon, 22 Mar 2010 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2MB6tEG014943 for freebsd-amd64@FreeBSD.org; Mon, 22 Mar 2010 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Mar 2010 11:06:55 GMT Message-Id: <201003221106.o2MB6tEG014943@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 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, 22 Mar 2010 11:06:56 -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/144756 amd64 [panic] Transferring files on samba causes the kernel f amd64/144503 amd64 [boot] 8.0-RELEASE does not boot on DL585 [regression] o amd64/144405 amd64 [build] [patch] include /usr/obj/lib32 in cleanworld t o amd64/144376 amd64 [panic] continuous reboot on motherboards with ATI SB7 f amd64/144151 amd64 [ata] Can not burn CD/DVD with AHCI enabled f amd64/144113 amd64 [ata] 8.0-RELEASE fails to detect SATA hard disks on a o amd64/143992 amd64 [panic] Random reboot o amd64/143854 amd64 [build] error in make world during upgrade from 7 to 8 s amd64/143173 amd64 [ata] Promise FastTrack TX4 + SATA DVD, installer can' o amd64/142270 amd64 [hang] System trap on Xorg shutdown when using nvidia o amd64/141413 amd64 [hang] Tyan 2881 m3289 SMDC freeze o amd64/141112 amd64 [ata] [panic] Kernel panic when booting with any sATA o amd64/141060 amd64 [install] Can't install 8.0-RELEASE on the server wher o amd64/140715 amd64 [boot] Dell M600 Blade fails to boot 7.2+ 64 bit o amd64/140596 amd64 [panic] Kernel panic/crash o amd64/140391 amd64 [hang] powerd(8) freezes computer on Phenom II compute o amd64/140145 amd64 [boot] Installation boot sequence freezes o amd64/139998 amd64 [panic] 7.2 amd64 panic in kern_mutex.c:339 o amd64/139924 amd64 [boot] cd or dvd not load o amd64/139614 amd64 [minidump] minidumps fail when many interrupts fire f amd64/138661 amd64 [panic] Kernel Panic after typing "reboot" o amd64/138626 amd64 telepites o amd64/138029 amd64 [panic] periodically kernel panic and reboot o amd64/137942 amd64 [pci] 8.0-BETA2 having problems with Asus M2N-SLI-delu s i386/135447 amd64 [i386] [request] Intel Core i7 and Nehalem-EP new feat o amd64/135265 amd64 [install] Boot from install cd hangs on HP DL160 G5 wi o amd64/135040 amd64 [ata] FreeBSD/amd64 does not (always) detect disk on S o amd64/135014 amd64 [padlock] Using padlock(4) in 8-current triggers "fpud o amd64/134978 amd64 [panic] g_up pmap amd64 panic o amd64/134757 amd64 32 bit processes on 64 bit platforms occasionally drop o amd64/133977 amd64 [panic] [ffs] "panic: ffs_blkfree: freeing free block" o amd64/133701 amd64 Recompiling the kernel with k8temp or smbios break GEO o amd64/132574 amd64 [boot] [hang] Freeze on bootstrap loader (CD) using AT f amd64/132019 amd64 [install] kernel trap 12 while installation o amd64/131906 amd64 [ata] SATA data corruption with Promise PDC20378 (amd6 o amd64/131456 amd64 ACPI & ATA problems o amd64/131314 amd64 [modules] [panic] large modules fail to load on amd64 o amd64/131209 amd64 [panic] [bce] 7.1-STABLE amd64 crash - m0 NULL f amd64/130885 amd64 sockstat(1) on amd64 does not work o amd64/130864 amd64 [hang] Problem with copying files to a large partition o amd64/130817 amd64 FreeBSD does not support HP DL160G5 [regression] o amd64/130494 amd64 [boot] netbooting BTX fails on amd64 f amd64/130483 amd64 [mxge] MSI must be disabled when Myricom 10Gbps Card i o amd64/130368 amd64 [hang] Switching from xorg to console locks up compute o amd64/129889 amd64 [boot] [hang] The booting process stops at the line mo o amd64/129721 amd64 [hang] Motherboard K9N2G Neo-FD hangs on boot of 7.0-R o amd64/129667 amd64 [ata] Elitegroup A780GM-A IDE controller not recognize o amd64/129426 amd64 [panic] FreeBSD 7.0 crash after subdiskXX: detached o amd64/129315 amd64 [boot] [reboot] amd64 motherboard: Intel DG965WH mothe o amd64/128978 amd64 [install] FreeBSD 6.3 64-bit panics at boot time duri o amd64/128765 amd64 [install] Install CD loads to Install choices but stop o amd64/128263 amd64 [panic] 2 amd64 dl380 g5 with dual quadcore xeons, 8 a o amd64/128259 amd64 csh(1): "`" crashes csh o amd64/127640 amd64 gcc(1) will not build shared libraries with -fprofile- o amd64/127484 amd64 [timecounters] Drift problem with FreeBSD 7.0 and 7.1 o amd64/127451 amd64 [scheduler] incorrect load on quad core o amd64/127397 amd64 [amd64] 32bit application on FreeBSD-6.3 amd64 gets SI s amd64/127276 amd64 ldd(1) invokes linux yes o amd64/125873 amd64 [smbd] [panic] Repeated kernel panics, trap 12 page fa o amd64/125002 amd64 [install] amd64, SATA hard disks not detected o amd64/124432 amd64 [panic] 7.0-STABLE panic: invalbuf: dirty bufs o amd64/124134 amd64 [kernel] The kernel doesn't follow the calling convent o amd64/123562 amd64 [install] FreeBSD amd64 not installs o amd64/123520 amd64 [ahd] unable to boot from net while using ahd p amd64/123456 amd64 fstat(1): /usr/bin/fstat shows error messages and hang f amd64/123275 amd64 [cbb] [pcmcia] cbb/pcmcia drivers on amd64 failure [re o kern/122782 amd64 [modules] accf_http.ko kernel module is not loadable o amd64/122695 amd64 [cpufreq] Lack of cpufreq control using amd64 eith cor o amd64/122549 amd64 7.0-RELEASE-amd64-bootonly.iso doesn't work w/ serial o amd64/122468 amd64 Compile problems after upgrading to 7.0 o amd64/122174 amd64 [panic] 7.0 no longer includes "device atpic" so fails f amd64/121590 amd64 [est] [p4tcc] [acpi_perf] setting dev.cpu.0.freq somet o amd64/120202 amd64 [amd64] [patch] [panic] kernel panic at start_all_aps, o amd64/119591 amd64 [amd64] [patch] time_t on 64-bit architecture o amd64/117418 amd64 [hang] FreeBSD 6.2 crash on amd64 4400+ with ssh o amd64/117316 amd64 [acpi] ACPI lockups on SuperMicro motherboard o amd64/117296 amd64 [ata] I don`t see second SATA IDE on VIA VT8237A a amd64/117186 amd64 [modules] kldload Unsupported file type on STABLE amd6 s amd64/116689 amd64 [request] support for MSI K9MM-V o amd64/116620 amd64 [hang] ifconfig spins when creating carp(4) device on o amd64/116322 amd64 [panic] At start fsck on current, the system panics o amd64/116159 amd64 [panic] Panic while debugging on CURRENT s amd64/115815 amd64 [ata] [request] Gigabyte GA-M61P-S3 Motherboard unsupp o amd64/115581 amd64 [Makefile] [patch] -mfancy-math-387 has no effect o amd64/115194 amd64 LCD screen remains blank after Dell XPS M1210 lid is c o amd64/114270 amd64 [cpufreq] cpufreq doesnt work when compiled in to kern o amd64/112222 amd64 [libc] 32-bit libc incorrectly converts some FP number o amd64/110599 amd64 [geli] geli attach to gmirror device hangs and cannot s amd64/108861 amd64 [nve] nve(4) driver on FreeBSD 6.2 AMD64 does not work o amd64/106186 amd64 [panic] panic in swap_pager_swap_init (amd64/smp/6.2-p f amd64/105531 amd64 [ata] gigabyte GA-M51GM-S2G / nVidia nForce 430 - does f amd64/105514 amd64 [boot] FreeBSD/amd64 - Fails to boot on HP Pavilion dv o amd64/102716 amd64 ex with no argument in an xterm gets SIGSEGV o amd64/97337 amd64 [dri] xorg reboots system if dri module is enabled o amd64/95888 amd64 [ata] kernel: ad2: TIMEOUT - WRITE_DMA retrying on HP o amd64/94677 amd64 [panic] panic in amd64 install at non-root user creati o amd64/93961 amd64 [busdma] Problem in bounce buffer handling in sys/amd6 o amd64/92337 amd64 [em] FreeBSD 6.0 Release Intel Pro 1000 MT em1 no buff o amd64/91405 amd64 [asr] [panic] Kernel panic caused by asr on 6.0-amd64 o amd64/89501 amd64 [install] System crashes on install using ftp on local o amd64/88790 amd64 [panic] kernel panic on first boot (after the FreeBSD o amd64/88568 amd64 [panic] 6.0-RELEASE install cd does not boot with usb o amd64/87689 amd64 [powerd] [hang] powerd hangs SMP Opteron 244 5-STABLE o amd64/87305 amd64 [smp] Dual Opteron / FreeBSD 5 & 6 / powerd results in s amd64/85273 amd64 [install] FreeBSD (NetBSD or OpenBSD) not install on l o amd64/78406 amd64 [panic]AMD64 w/ SCSI: issue 'rm -r /usr/ports' and sys o amd64/76136 amd64 [hang] system halts before reboot o amd64/74747 amd64 [panic] System panic on shutdown when process will not 108 problems total. From owner-freebsd-amd64@FreeBSD.ORG Mon Mar 22 15:00:11 2010 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 C232D1065670 for ; Mon, 22 Mar 2010 15:00:11 +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 4B24C8FC0A for ; Mon, 22 Mar 2010 15:00:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2MF09q5016832 for ; Mon, 22 Mar 2010 15:00:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2MF09Yk016816; Mon, 22 Mar 2010 15:00:09 GMT (envelope-from gnats) Date: Mon, 22 Mar 2010 15:00:09 GMT Message-Id: <201003221500.o2MF09Yk016816@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: John Baldwin Cc: Subject: Re: amd64/144503: [boot] 8.0-RELEASE does not boot on DL585 [regression] X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Baldwin List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2010 15:00:11 -0000 The following reply was made to PR amd64/144503; it has been noted by GNATS. From: John Baldwin To: Gunther Schadow Cc: bug-followup@freebsd.org Subject: Re: amd64/144503: [boot] 8.0-RELEASE does not boot on DL585 [regression] Date: Mon, 22 Mar 2010 09:50:30 -0400 On Saturday 20 March 2010 1:17:03 pm Gunther Schadow wrote: > On 3/10/2010 8:43 AM, John Baldwin wrote: > > Do you get any other printfs' beyond this line with boot -v or does boot - v > > die sooner? > > No, it didn't die sooner. It comes to the same point but without > showing anything that I would have considered interesting. Notably > nothing was logged after the pci0: ... line. Hmm, can you capture a verbose dmesg via a serial console or something similar? -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Mon Mar 22 16:58:37 2010 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 7DF011065670 for ; Mon, 22 Mar 2010 16:58:37 +0000 (UTC) (envelope-from mpeirwe@ymail.com) Received: from n1-vm0.bullet.mail.gq1.yahoo.com (n1-vm0.bullet.mail.gq1.yahoo.com [67.195.23.152]) by mx1.freebsd.org (Postfix) with SMTP id 4DD2C8FC26 for ; Mon, 22 Mar 2010 16:58:37 +0000 (UTC) Received: from [67.195.9.81] by n1.bullet.mail.gq1.yahoo.com with NNFMP; 22 Mar 2010 16:44:42 -0000 Received: from [98.137.27.213] by t1.bullet.mail.gq1.yahoo.com with NNFMP; 22 Mar 2010 16:44:42 -0000 Received: from [127.0.0.1] by omp123.mail.gq1.yahoo.com with NNFMP; 22 Mar 2010 16:44:42 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 887735.70259.bm@omp123.mail.gq1.yahoo.com Received: (qmail 2281 invoked by uid 60001); 22 Mar 2010 16:44:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1269276282; bh=Paq3uyp+OjrglbHqPDC+j2I0i8jJMatFYxHMDMFc5gE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=KGZyj6FauQwrP4YWZRfGaVbR79G65d4hFK9ssPHFMhGmlfVJI1vCvJq5ozOlRDHRJyocafYEnVrgTBB7Ll3cINkf10+G7IROs2bVZ4O/ig4k2hAfBI8wWi7iqGtUYogCeGLYriotJfJ8/lFtuoOdQpNsO6smJQd0H+MLw+nBYO0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=MOWcYQhvhH3iM9+Mxk7vy5T4aIiSxWW0opXhervX9EZhhUplQvoaYFTC5xIGJGIKlJGAtX115gIObHkeCt43s5nZXOK94mA6Wv13xIUPrcRtMyfMUTE9bt5ts4krSrpPsBpzpSebmDxiF229JwbEfuCUWepuhAxGxRvH4vqaeGY=; Message-ID: <720362.1757.qm@web114108.mail.gq1.yahoo.com> X-YMail-OSG: c6YIG64VM1mFE_xcPU7AC_2zVuILZQNDaFAH2x8U_vyI8RU tBuWJsiou9ERj.Kqimk4txFXrfq9t7T.x9uQSlWk5FdZ7LKi7RX42KFHkXHz boTaAQ.1ZyBd7XSVQGy3_piMxWSdKpAqnqxDzcQHJkm9SEQ7.dwVFPkL.KPF ZOkYJmP1j6bYiPB01dLUA0aBJUuBD25NPYjqRkKv602AEmvD4Zao25_C9gUI m7eRjH1DDHLseqXH8zg7DjBwg4tYgWtUxDlJ1yAbkOfV20O7G0wPdwQ-- Received: from [41.221.87.249] by web114108.mail.gq1.yahoo.com via HTTP; Mon, 22 Mar 2010 09:44:42 PDT X-Mailer: YahooMailRC/324.3 YahooMailWebService/0.8.100.260964 Date: Mon, 22 Mar 2010 09:44:42 -0700 (PDT) From: Johnson Mpeirwe To: freebsd-amd64@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Linux pthreads for AMD64 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, 22 Mar 2010 16:58:37 -0000 Hello, Are Linux threads available for FreeBSD 7.2 AMD64? I am trying to compile MySQL5.5 server on a FreeBSD 7.2 AMD64 System with 16 CPUs and 12GB RAM. After running into performance issues (MySQL is painfully slow) when compiled with FreeBSD's native libthr, I have tried recompiling with the libpthread library but failed as follows: /usr/ports/databases/mysql55-server# make WITH_LINUXTHREADS=yes ... ... ===> Extracting for mysql-server-5.5.1 => MD5 Checksum OK for mysql-5.5.1-m2.tar.gz. => SHA256 Checksum OK for mysql-5.5.1-m2.tar.gz. ===> Patching for mysql-server-5.5.1 ===> Applying FreeBSD patches for mysql-server-5.5.1 ===> mysql-server-5.5.1 depends on shared library: lthread - not found ===> Verifying install for lthread in /usr/ports/devel/linuxthreads ===> linuxthreads-2.2.3_24 is only for i386, while you are running amd64. *** Error code 1 Stop in /usr/ports/devel/linuxthreads. *** Error code 1 Stop in /usr/ports/databases/mysql55-server. Any ideas? From owner-freebsd-amd64@FreeBSD.ORG Mon Mar 22 17:49:09 2010 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 63FC6106564A for ; Mon, 22 Mar 2010 17:49:09 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3920F8FC0A for ; Mon, 22 Mar 2010 17:49:08 +0000 (UTC) Received: by pwj4 with SMTP id 4so4329863pwj.13 for ; Mon, 22 Mar 2010 10:49:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=vUkYEF/tKWw98V/P004Kq43ZDoqhjbrIiKwZ7TSmQL0=; b=voL0qfMpjT+TvIDiWR6/wPJUEXZeK5efqxNcR0i8PNjUdk6h/u9VaIQ/E/Hz0XRQ4M PQXdtI/+lHHR0OD4XZF8pCk/D034tpV+DT5lvNMBCp4uFLsCPH2Q55W1NCJOpRPgRKFG KodbJJC5CpOwVK6qr41hyttygpQCfkZMGf5iI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=awWDoJ7e3ilK3bOLwq0410PFlSiwSv3fGV7NHJsQn91478QPZ3YzMW5zFKRYHpdPjk ryjaE8TYhOmaoZ1dR4OFNXTjNXF4Me15FGA+4ubcqvPOoeH+B49fInhHVLqFqqB4fGIL JRyxI+qstu5YHoJmIzp57mSA5vT8M1jjL4jsk= MIME-Version: 1.0 Received: by 10.143.153.42 with SMTP id f42mr1523573wfo.299.1269280148729; Mon, 22 Mar 2010 10:49:08 -0700 (PDT) In-Reply-To: <720362.1757.qm@web114108.mail.gq1.yahoo.com> References: <720362.1757.qm@web114108.mail.gq1.yahoo.com> Date: Mon, 22 Mar 2010 10:49:08 -0700 Message-ID: <7d6fde3d1003221049i4338d474jf842a2d153023953@mail.gmail.com> From: Garrett Cooper To: Johnson Mpeirwe Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-amd64@freebsd.org Subject: Re: Linux pthreads for AMD64 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, 22 Mar 2010 17:49:09 -0000 On Mon, Mar 22, 2010 at 9:44 AM, Johnson Mpeirwe wrote: > Hello, > > Are Linux threads available for FreeBSD 7.2 AMD64? I am trying to compile= MySQL5.5 server on a FreeBSD 7.2 AMD64 System with 16 CPUs and 12GB RAM. A= fter running into performance issues (MySQL is painfully slow) when compile= d with FreeBSD's native libthr, I have tried recompiling with the libpthrea= d library but failed as follows: > > /usr/ports/databases/mysql55-server# make WITH_LINUXTHREADS=3Dyes > ... > ... > =3D=3D=3D> =A0Extracting for mysql-server-5.5.1 > =3D> MD5 Checksum OK for mysql-5.5.1-m2.tar.gz. > =3D> SHA256 Checksum OK for mysql-5.5.1-m2.tar.gz. > =3D=3D=3D> =A0Patching for mysql-server-5.5.1 > =3D=3D=3D> =A0Applying FreeBSD patches for mysql-server-5.5.1 > =3D=3D=3D> =A0 mysql-server-5.5.1 depends on shared library: lthread - no= t found > =3D=3D=3D> =A0 =A0Verifying install for lthread in /usr/ports/devel/linux= threads > =3D=3D=3D> =A0linuxthreads-2.2.3_24 is only for i386, while you are runni= ng amd64. > *** Error code 1 > > Stop in /usr/ports/devel/linuxthreads. > *** Error code 1 > > Stop in /usr/ports/databases/mysql55-server. Do you mean NPTL threading or non-NPTL (linuxthreads) threading? If you meant the latter, that should be dead and gone by now (it has been dead for quite some time in glibc at least...). Thanks, -Garrett From owner-freebsd-amd64@FreeBSD.ORG Mon Mar 22 19:12:15 2010 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 8C81B1065674 for ; Mon, 22 Mar 2010 19:12:15 +0000 (UTC) (envelope-from mpeirwe@ymail.com) Received: from n71.bullet.mail.sp1.yahoo.com (n71.bullet.mail.sp1.yahoo.com [98.136.44.36]) by mx1.freebsd.org (Postfix) with SMTP id 63BD08FC16 for ; Mon, 22 Mar 2010 19:12:15 +0000 (UTC) Received: from [69.147.84.144] by n71.bullet.mail.sp1.yahoo.com with NNFMP; 22 Mar 2010 18:58:36 -0000 Received: from [67.195.9.83] by t6.bullet.mail.sp1.yahoo.com with NNFMP; 22 Mar 2010 18:58:36 -0000 Received: from [67.195.9.99] by t3.bullet.mail.gq1.yahoo.com with NNFMP; 22 Mar 2010 18:58:33 -0000 Received: from [127.0.0.1] by omp103.mail.gq1.yahoo.com with NNFMP; 22 Mar 2010 18:58:33 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 200868.36195.bm@omp103.mail.gq1.yahoo.com Received: (qmail 26367 invoked by uid 60001); 22 Mar 2010 18:58:33 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1269284313; bh=t5/ZApw9oUvwSb9KP2HtqJieiGjcHFaOjvaRLVPa/a8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=vcKb70URYsgFvIqkyhGhvb2MmzIb2H1A/woo9fQTrA2yXeoGSrwnnbW5mZeYMKDL2NxuINJqQ8o+gDKIMPMdJpyun6OyD4/3rC31mFeur9eYUaOEXJmb0rAAnKmJe6wCArLTae26g/8cBLBLJXd/nhPeyoJ/7QUa9+ljMRC+kI0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=Vyw1CNs+fZr1z47++T/bL2gyiAQPidxocn5YaWhqe8lbaAwdkxF+nVTjCDU6s0qm1P142PYgRSF5ZnfgiMFp5XfXzoCHo43n5O6DNyK0utxnKttrYYUnFkh6ltvQPOa1tCadK/2TBle+0f1xJupiDJkx28UYpWktIeEbskglBNw=; Message-ID: <985049.26017.qm@web114111.mail.gq1.yahoo.com> X-YMail-OSG: UWx306MVM1loYAOJa29eYZh_qkzNHA2nF5nRNkhHZvnKFzA 5qH.K6kzoaA4Dixd5mnGwWJWc955bKPkDpCYnZdyqWGMzqq6izX8ndUcc40M oNjZuQaU72pBVexHiogmCRy3X5ebEHEmtg4rVx3uNHpbXpeOt85q31khl9Xd 785Zd6vL_stLY_..IMEl4.qRxscbXSS.h2mwhGL1Py5kMlOj4FAMtgx.xO_s NEvLXH0hWhJ6oodIte77o.hwv0OTMtsiZh1wWkEXcda20xrO3azxxeaZfq5q 7dwJKZmmsECmZvvyQ18BmwkdECSIYsg-- Received: from [41.221.87.249] by web114111.mail.gq1.yahoo.com via HTTP; Mon, 22 Mar 2010 11:58:32 PDT X-Mailer: YahooMailRC/324.3 YahooMailWebService/0.8.100.260964 References: <720362.1757.qm@web114108.mail.gq1.yahoo.com> <7d6fde3d1003221049i4338d474jf842a2d153023953@mail.gmail.com> Date: Mon, 22 Mar 2010 11:58:32 -0700 (PDT) From: Johnson Mpeirwe To: Garrett Cooper In-Reply-To: <7d6fde3d1003221049i4338d474jf842a2d153023953@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-amd64@freebsd.org Subject: Re: Linux pthreads for AMD64 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, 22 Mar 2010 19:12:15 -0000 Thanks, I meant non-NPTL threads which were working very well with MySQL 5.1 on a 32bit FreeBSD 6.2 installation. I was looking for a FreeBSD thread library that I can try other than libthr. Regards, Johnson ________________________________ From: Garrett Cooper To: Johnson Mpeirwe Cc: freebsd-amd64@freebsd.org Sent: Mon, March 22, 2010 8:49:08 PM Subject: Re: Linux pthreads for AMD64 On Mon, Mar 22, 2010 at 9:44 AM, Johnson Mpeirwe wrote: > Hello, > > Are Linux threads available for FreeBSD 7.2 AMD64? I am trying to compile MySQL5.5 server on a FreeBSD 7.2 AMD64 System with 16 CPUs and 12GB RAM. After running into performance issues (MySQL is painfully slow) when compiled with FreeBSD's native libthr, I have tried recompiling with the libpthread library but failed as follows: > > /usr/ports/databases/mysql55-server# make WITH_LINUXTHREADS=yes > ... > ... > ===> Extracting for mysql-server-5.5.1 > => MD5 Checksum OK for mysql-5.5.1-m2.tar.gz. > => SHA256 Checksum OK for mysql-5.5.1-m2.tar.gz. > ===> Patching for mysql-server-5.5.1 > ===> Applying FreeBSD patches for mysql-server-5.5.1 > ===> mysql-server-5.5.1 depends on shared library: lthread - not found > ===> Verifying install for lthread in /usr/ports/devel/linuxthreads > ===> linuxthreads-2.2.3_24 is only for i386, while you are running amd64. > *** Error code 1 > > Stop in /usr/ports/devel/linuxthreads. > *** Error code 1 > > Stop in /usr/ports/databases/mysql55-server. Do you mean NPTL threading or non-NPTL (linuxthreads) threading? If you meant the latter, that should be dead and gone by now (it has been dead for quite some time in glibc at least...). Thanks, -Garrett From owner-freebsd-amd64@FreeBSD.ORG Mon Mar 22 22:21:33 2010 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 1B73B1065670 for ; Mon, 22 Mar 2010 22:21:33 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id E678C8FC17 for ; Mon, 22 Mar 2010 22:21:32 +0000 (UTC) Received: by pwj4 with SMTP id 4so4580478pwj.13 for ; Mon, 22 Mar 2010 15:21:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=pJQLQd6f/wZtM+5wXs82owgdJ0/id2LGD1yy2Fy/eyI=; b=Dgu8Ad/LTAh2LWr756vNev3BJf+RIYWbcBTF7vEETsnmRzcaIUFAQR7SCuu4H+7uuc gSkiValhLbjhfKxnlswiafywyrXmErpk7vDRqgEQoZe3ipuHWD4iwTfhX0rP1b3le8td iWj9bD051e63qt/bZw59B42S8gVJXw/RR2raA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=g6wo3DAE3OS8dd9FMgAAwExER6Zqt6lkqXLJNZLJ9cw9+4h2/7Y7UIBlgs38oNbsMM tBZ68hnm28wWCZK8dEbe39543Ef4bnEwjRAEwB9Pi8BR22JOv5yxp1up5231Oq4s/LlH EfkzXsevTy41PNmioWOg0HlR4R1MIuM835Okc= MIME-Version: 1.0 Received: by 10.142.152.34 with SMTP id z34mr1785159wfd.176.1269296492260; Mon, 22 Mar 2010 15:21:32 -0700 (PDT) In-Reply-To: <985049.26017.qm@web114111.mail.gq1.yahoo.com> References: <720362.1757.qm@web114108.mail.gq1.yahoo.com> <7d6fde3d1003221049i4338d474jf842a2d153023953@mail.gmail.com> <985049.26017.qm@web114111.mail.gq1.yahoo.com> Date: Mon, 22 Mar 2010 15:21:32 -0700 Message-ID: <7d6fde3d1003221521p1005213ar98a784c1b670b4ff@mail.gmail.com> From: Garrett Cooper To: Johnson Mpeirwe Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-amd64@freebsd.org Subject: Re: Linux pthreads for AMD64 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, 22 Mar 2010 22:21:33 -0000 On Mon, Mar 22, 2010 at 11:58 AM, Johnson Mpeirwe wrote: > Thanks, I meant non-NPTL threads which were working very well with MySQL 5.1 > on a 32bit FreeBSD 6.2 installation. I was looking for a FreeBSD thread > library that I can try other than libthr. linuxthreads has been dead and buggy since the early days of 2.6.x though... is NPTL threading wonky with MySQL? Thanks, -Garrett From owner-freebsd-amd64@FreeBSD.ORG Tue Mar 23 05:59:53 2010 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 DBEA8106566B for ; Tue, 23 Mar 2010 05:59:52 +0000 (UTC) (envelope-from mpeirwe@ymail.com) Received: from n11.bullet.mail.mud.yahoo.com (n11.bullet.mail.mud.yahoo.com [209.191.125.210]) by mx1.freebsd.org (Postfix) with SMTP id 9BE9F8FC1D for ; Tue, 23 Mar 2010 05:59:52 +0000 (UTC) Received: from [68.142.200.227] by n11.bullet.mail.mud.yahoo.com with NNFMP; 23 Mar 2010 05:46:09 -0000 Received: from [67.195.9.81] by t8.bullet.mud.yahoo.com with NNFMP; 23 Mar 2010 05:46:09 -0000 Received: from [67.195.9.109] by t1.bullet.mail.gq1.yahoo.com with NNFMP; 23 Mar 2010 05:46:09 -0000 Received: from [127.0.0.1] by omp113.mail.gq1.yahoo.com with NNFMP; 23 Mar 2010 05:46:09 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 495148.45174.bm@omp113.mail.gq1.yahoo.com Received: (qmail 10145 invoked by uid 60001); 23 Mar 2010 05:46:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1269323169; bh=bFQc0JHC6HNPc5ImfMpY3yv5Qx478V3gBToeukNA1nQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=wO7GacitPAIXkEQkwsTVkUMfHTA4M1Z5T1mHrgDYxjN++2iy2dJFfFVDmYxW7s3ZKq/qx8FbwNHXChdHm8DdcIyNsDHpQ/6NU1kfnaqkQ0TIuyhQOh2OfGP7+ZmgujdlrkgO0UvS2pTG2HDKPmGfoxfv3vVIjC0GMYhiDRV2jAo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=KWpdSPDYGWmRimIBnRFKy7WSMi2wA3eMMI9M5oFt+9f7SNmV7GwvCaiarf5au4Ijn1CxX26XXwYwZBhgACh72ZZqdehH8X38ULYZEZCDyjczY6S2LNKji6gwF+BvrqiVeYay7XYrVsUvGQD/+ZUK4qyNaNYoH0zuLzNQe9TrbcM=; Message-ID: <413350.9480.qm@web114114.mail.gq1.yahoo.com> X-YMail-OSG: ww6rUf0VM1nozeNx0PT2RiqCUiLo66RinE2wQ3SVDodSOpc GPuV3Qh3zM2fVR6l9lSndhfTCepoWgaAkOoNo2DEWh4AsWM.31594qb_nUSZ _0INDv9.s4OocwcTUCi5ODxKJiDjcYZ6LnvEhs1pum4Bp25aDuFNhvVPlTxO jK3J7UMIKOOEAWNFQBN0yl9Ln3QZWRr2pSD7.adp9Aj5PFMsb01._MGpgj1D rdALS8JX25W.lY.wKltjGUqR81OgBXCwBiKedtXlJOKTxzX5hcpPPwTYf_rj zGA4gR8xG Received: from [216.104.205.157] by web114114.mail.gq1.yahoo.com via HTTP; Mon, 22 Mar 2010 22:46:09 PDT X-Mailer: YahooMailRC/324.3 YahooMailWebService/0.8.100.260964 References: <720362.1757.qm@web114108.mail.gq1.yahoo.com> <7d6fde3d1003221049i4338d474jf842a2d153023953@mail.gmail.com> <985049.26017.qm@web114111.mail.gq1.yahoo.com> <7d6fde3d1003221521p1005213ar98a784c1b670b4ff@mail.gmail.com> Date: Mon, 22 Mar 2010 22:46:09 -0700 (PDT) From: Johnson Mpeirwe To: Garrett Cooper In-Reply-To: <7d6fde3d1003221521p1005213ar98a784c1b670b4ff@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-amd64@freebsd.org Subject: Re: Linux pthreads for AMD64 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, 23 Mar 2010 05:59:53 -0000 Well, it seems 64 bit FreeBSD 7.x only supports libthr which I have had issues with MySQL. Let me keep investigating which options I have. Thank you. ________________________________ From: Garrett Cooper To: Johnson Mpeirwe Cc: freebsd-amd64@freebsd.org Sent: Tue, March 23, 2010 1:21:32 AM Subject: Re: Linux pthreads for AMD64 On Mon, Mar 22, 2010 at 11:58 AM, Johnson Mpeirwe wrote: > Thanks, I meant non-NPTL threads which were working very well with MySQL 5.1 > on a 32bit FreeBSD 6.2 installation. I was looking for a FreeBSD thread > library that I can try other than libthr. linuxthreads has been dead and buggy since the early days of 2.6.x though... is NPTL threading wonky with MySQL? Thanks, -Garrett From owner-freebsd-amd64@FreeBSD.ORG Tue Mar 23 10:20:04 2010 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 1E8D5106566B for ; Tue, 23 Mar 2010 10: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 0FE658FC17 for ; Tue, 23 Mar 2010 10:20:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2NAK3l0056633 for ; Tue, 23 Mar 2010 10:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2NAK30a056632; Tue, 23 Mar 2010 10:20:03 GMT (envelope-from gnats) Date: Tue, 23 Mar 2010 10:20:03 GMT Message-Id: <201003231020.o2NAK30a056632@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Andriy Gapon X-Mailman-Approved-At: Tue, 23 Mar 2010 11:05:41 +0000 Cc: Subject: Re: amd64/135014: [padlock] Using padlock(4) in 8-current triggers "fpudna in kernel mode!" warnings X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andriy Gapon List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2010 10:20:04 -0000 The following reply was made to PR amd64/135014; it has been noted by GNATS. From: Andriy Gapon To: bug-followup@FreeBSD.org, mark@legios.org Cc: Subject: Re: amd64/135014: [padlock] Using padlock(4) in 8-current triggers "fpudna in kernel mode!" warnings Date: Tue, 23 Mar 2010 12:13:23 +0200 Some potentially useful info on this issue, mostly for the reference. Here's how Linux does it: http://lxr.linux.no/#linux+v2.6.33/drivers/crypto/padlock-aes.c#L182 It seems that they claim that padlock instructions do not actually use XMM registers, but they are sensitive about TS bit. Also, kib@ has patch that allows to actually use XMM registers in kernel within a limited scope: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=2304+0+current/freebsd-amd64 -- Andriy Gapon From owner-freebsd-amd64@FreeBSD.ORG Tue Mar 23 20:52:03 2010 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 A3A82106567A for ; Tue, 23 Mar 2010 20:52:03 +0000 (UTC) (envelope-from matthew.fleming@isilon.com) Received: from seaxch09.isilon.com (seaxch09.isilon.com [74.85.160.25]) by mx1.freebsd.org (Postfix) with ESMTP id 88E488FC16 for ; Tue, 23 Mar 2010 20:52:03 +0000 (UTC) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 23 Mar 2010 13:40:01 -0700 Message-ID: <06D5F9F6F655AD4C92E28B662F7F853E0388A6A9@seaxch09.desktop.isilon.com> In-Reply-To: <20100322095701.GE2415@deviant.kiev.zoral.com.ua> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: XMM register usage in the kernel Thread-Index: AcrJpg/RspJMph1HRuqVPYTQ/eBI4wBIrl4Q References: <20100322095701.GE2415@deviant.kiev.zoral.com.ua> From: "Matthew Fleming" To: "Kostik Belousov" , , X-Mailman-Approved-At: Tue, 23 Mar 2010 21:05:12 +0000 Cc: Subject: RE: XMM register usage in the 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: Tue, 23 Mar 2010 20:52:03 -0000 > The KPI consists of two functions, fpu_kern_enter() and fpu_kern_leave(). > The pair should brace the region of code that intend to use coprocessor. > Caller shall provide the context save area, I expect that usually this > memory will be allocated as part of larger subsystem data structure. >=20 > fpu_kern_enter() allows the nesting, assuming fpu_kern_leave() is called > proper number of times to pop the context stack. Isilon would like it if something like this functionality ended up in CURRENT. We have some hacks that do something similar. We use SSE2 instructions to significantly speed up computing ... stuff. :-) Thanks, matthew From owner-freebsd-amd64@FreeBSD.ORG Thu Mar 25 17:30:10 2010 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 186A21065672 for ; Thu, 25 Mar 2010 17:30:10 +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 E275D8FC20 for ; Thu, 25 Mar 2010 17:30:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2PHU99g065325 for ; Thu, 25 Mar 2010 17:30:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2PHU9eo065320; Thu, 25 Mar 2010 17:30:09 GMT (envelope-from gnats) Date: Thu, 25 Mar 2010 17:30:09 GMT Message-Id: <201003251730.o2PHU9eo065320@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Alexander Best X-Mailman-Approved-At: Thu, 25 Mar 2010 17:37:17 +0000 Cc: Subject: Re: amd64/112222: [libc] 32-bit libc incorrectly converts some FP numbers X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Best List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2010 17:30:10 -0000 The following reply was made to PR amd64/112222; it has been noted by GNATS. From: Alexander Best To: Cc: Bruce Cran Subject: Re: amd64/112222: [libc] 32-bit libc incorrectly converts some FP numbers Date: Thu, 25 Mar 2010 18:29:02 +0100 (CET) if this issue has indeed been fixed by gcc commit r117331 (http://gcc.gnu.org/viewcvs?view=revision&revision=117331) the only branch it still applies to is stable/6. since it is very unlikely that a committer will backport these changes to gcc 3.4.6 the pr should be closed. -- Alexander Best From owner-freebsd-amd64@FreeBSD.ORG Thu Mar 25 18:06:16 2010 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 0D3C21065679; Thu, 25 Mar 2010 18:06:16 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DAD138FC15; Thu, 25 Mar 2010 18:06:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2PI6Fcu098960; Thu, 25 Mar 2010 18:06:15 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2PI6Fsr098956; Thu, 25 Mar 2010 18:06:15 GMT (envelope-from remko) Date: Thu, 25 Mar 2010 18:06:15 GMT Message-Id: <201003251806.o2PI6Fsr098956@freefall.freebsd.org> To: peterjeremy@optushome.com.au, remko@FreeBSD.org, freebsd-amd64@FreeBSD.org From: remko@FreeBSD.org X-Mailman-Approved-At: Thu, 25 Mar 2010 18:16:06 +0000 Cc: Subject: Re: amd64/112222: [libc] 32-bit libc incorrectly converts some FP numbers 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: Thu, 25 Mar 2010 18:06:16 -0000 Synopsis: [libc] 32-bit libc incorrectly converts some FP numbers State-Changed-From-To: open->closed State-Changed-By: remko State-Changed-When: Thu Mar 25 18:06:15 UTC 2010 State-Changed-Why: This had been resolved in all branches (head/8/7) and can no longer be reproduced. http://www.freebsd.org/cgi/query-pr.cgi?pr=112222 From owner-freebsd-amd64@FreeBSD.ORG Thu Mar 25 18:20:03 2010 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 0BE83106564A for ; Thu, 25 Mar 2010 18:20:03 +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 C0C828FC1F for ; Thu, 25 Mar 2010 18:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2PIK2LS008308 for ; Thu, 25 Mar 2010 18:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2PIK2l5008307; Thu, 25 Mar 2010 18:20:02 GMT (envelope-from gnats) Resent-Date: Thu, 25 Mar 2010 18:20:02 GMT Resent-Message-Id: <201003251820.o2PIK2l5008307@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, Ben Cadieux Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DD2C106566B for ; Thu, 25 Mar 2010 18:16:34 +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 0D18E8FC22 for ; Thu, 25 Mar 2010 18:16:34 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o2PIGXJf029024 for ; Thu, 25 Mar 2010 18:16:33 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o2PIGX3D029023; Thu, 25 Mar 2010 18:16:33 GMT (envelope-from nobody) Message-Id: <201003251816.o2PIGX3D029023@www.freebsd.org> Date: Thu, 25 Mar 2010 18:16:33 GMT From: Ben Cadieux To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Thu, 25 Mar 2010 18:29:08 +0000 Cc: Subject: amd64/145039: spin lock held too long amd64 mp_machdep.c 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: Thu, 25 Mar 2010 18:20:03 -0000 >Number: 145039 >Category: amd64 >Synopsis: spin lock held too long amd64 mp_machdep.c >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 25 18:20:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Ben Cadieux >Release: FreeBSD 8.0-RELEASE & 8.0-STABLE >Organization: >Environment: FreeBSD underworld.example.org 8.0-STABLE FreeBSD 8.0-STABLE #0: Wed Mar 24 09:54:03 PDT 2010 sol@underworld.example.org:/usr/obj/usr/src/sys/UNDERWORLD amd64 >Description: I'm running 2 jails, and 2 VirtualBox sessions (with Win2k3 Server & WinXP). If I only run 1 VirtualBox session, the problem seems to be rarer. There doesn't seem to be too much of a pattern other than increased load increases the risk. Sometimes the server is stable for a week, other times minutes or hours. spin lock 0xffffffff80752f80 (smp rendezvous) held by 0xffffff0001879740 (tid 100022) too long exclusive spin mutex smp rendezvous (smp rendezvous) r = 0 (0xffffffff80752f80) locked @ /usr/src/sys/amd64/amd64/mp_machdep.c:992 panic: spin lock held too long cpuid = 4 Uptime: 8m30s >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Thu Mar 25 20:10:07 2010 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 D1402106566B for ; Thu, 25 Mar 2010 20:10:07 +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 A4D128FC16 for ; Thu, 25 Mar 2010 20:10:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2PKA79E001341 for ; Thu, 25 Mar 2010 20:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2PKA7SS001340; Thu, 25 Mar 2010 20:10:07 GMT (envelope-from gnats) Date: Thu, 25 Mar 2010 20:10:07 GMT Message-Id: <201003252010.o2PKA7SS001340@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Howard Feldman Cc: Subject: Re: amd64/145039: spin lock held too long amd64 mp_machdep.c X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Howard Feldman List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2010 20:10:07 -0000 The following reply was made to PR amd64/145039; it has been noted by GNATS. From: Howard Feldman To: Ben Cadieux , freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: amd64/145039: spin lock held too long amd64 mp_machdep.c Date: Thu, 25 Mar 2010 15:44:07 -0400 (EDT) Hi, I've had the same issue with the AMD64 version of Release 8.0. However, I'm not running jails but the issue seems to occur when running two VirtualBox sessions-one running FreeBSD version 8.0 and the other running Windows XP. I'm running under KDE. I have 12 GB main memory. I've tried to run Windows XP under load but could not repeat the panic. It seems that the common factor here is running VirtualBox and Windows XP. ...howard -----Original Message----- >From: Ben Cadieux >Sent: Mar 25, 2010 2:16 PM >To: freebsd-gnats-submit@FreeBSD.org >Subject: amd64/145039: spin lock held too long amd64 mp_machdep.c > > >>Number: 145039 >>Category: amd64 >>Synopsis: spin lock held too long amd64 mp_machdep.c >>Confidential: no >>Severity: critical >>Priority: high >>Responsible: freebsd-amd64 >>State: open >>Quarter: >>Keywords: >>Date-Required: >>Class: sw-bug >>Submitter-Id: current-users >>Arrival-Date: Thu Mar 25 18:20:02 UTC 2010 >>Closed-Date: >>Last-Modified: >>Originator: Ben Cadieux >>Release: FreeBSD 8.0-RELEASE & 8.0-STABLE >>Organization: >>Environment: >FreeBSD underworld.example.org 8.0-STABLE FreeBSD 8.0-STABLE #0: Wed Mar 24 09:54:03 PDT 2010 sol@underworld.example.org:/usr/obj/usr/src/sys/UNDERWORLD amd64 >>Description: >I'm running 2 jails, and 2 VirtualBox sessions (with Win2k3 Server & WinXP). If I only run 1 VirtualBox session, the problem seems to be rarer. > >There doesn't seem to be too much of a pattern other than increased load increases the risk. Sometimes the server is stable for a week, other times minutes or hours. > >spin lock 0xffffffff80752f80 (smp rendezvous) held by 0xffffff0001879740 (tid 100022) too long >exclusive spin mutex smp rendezvous (smp rendezvous) r = 0 (0xffffffff80752f80) >locked @ /usr/src/sys/amd64/amd64/mp_machdep.c:992 >panic: spin lock held too long >cpuid = 4 >Uptime: 8m30s > >>How-To-Repeat: > >>Fix: > > >>Release-Note: >>Audit-Trail: >>Unformatted: >_______________________________________________ >freebsd-amd64@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 >To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" From owner-freebsd-amd64@FreeBSD.ORG Thu Mar 25 20:40:02 2010 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 55DBC106564A for ; Thu, 25 Mar 2010 20:40: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 388F58FC12 for ; Thu, 25 Mar 2010 20:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2PKe2WE028342 for ; Thu, 25 Mar 2010 20:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2PKe256028341; Thu, 25 Mar 2010 20:40:02 GMT (envelope-from gnats) Date: Thu, 25 Mar 2010 20:40:02 GMT Message-Id: <201003252040.o2PKe256028341@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Ben Cadieux X-Mailman-Approved-At: Thu, 25 Mar 2010 20:47:43 +0000 Cc: Subject: Re: amd64/145039: spin lock held too long amd64 mp_machdep.c X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ben Cadieux List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2010 20:40:02 -0000 The following reply was made to PR amd64/145039; it has been noted by GNATS. From: Ben Cadieux To: Howard Feldman Cc: freebsd-gnats-submit@freebsd.org Subject: Re: amd64/145039: spin lock held too long amd64 mp_machdep.c Date: Thu, 25 Mar 2010 13:12:14 -0700 Hello, Thanks for the input, Howard! I had the spinlock problem (without WITNESS enabled) while only running Win2k3 in VirtualBox. I can only assume it's the same error... it just happens less often. I should've included more details in case hardware or something else is related. I'm using a SuperMicro board (X8SIL-F-O) with 8GB of ram and an Intel Xeon X3440. Two 'em' NICs, only using one at the moment. Best Regards, Ben Cadieux On Thu, Mar 25, 2010 at 12:44 PM, Howard Feldman w= rote: > Hi, > > I've had the same issue with the AMD64 version of Release 8.0. =A0However= , I'm not running jails but the issue seems to occur when running two Virtu= alBox sessions-one running FreeBSD version 8.0 and the other running Window= s XP. =A0I'm running under KDE. =A0I have 12 GB main memory. > > I've tried to run Windows XP under load but could not repeat the panic. > > It seems that the common factor here is running VirtualBox and Windows XP= . > > ...howard > > > -----Original Message----- >>From: Ben Cadieux >>Sent: Mar 25, 2010 2:16 PM >>To: freebsd-gnats-submit@FreeBSD.org >>Subject: amd64/145039: spin lock held too long amd64 mp_machdep.c >> >> >>>Number: =A0 =A0 =A0 =A0 145039 >>>Category: =A0 =A0 =A0 amd64 >>>Synopsis: =A0 =A0 =A0 spin lock held too long amd64 mp_machdep.c >>>Confidential: =A0 no >>>Severity: =A0 =A0 =A0 critical >>>Priority: =A0 =A0 =A0 high >>>Responsible: =A0 =A0freebsd-amd64 >>>State: =A0 =A0 =A0 =A0 =A0open >>>Quarter: >>>Keywords: >>>Date-Required: >>>Class: =A0 =A0 =A0 =A0 =A0sw-bug >>>Submitter-Id: =A0 current-users >>>Arrival-Date: =A0 Thu Mar 25 18:20:02 UTC 2010 >>>Closed-Date: >>>Last-Modified: >>>Originator: =A0 =A0 Ben Cadieux >>>Release: =A0 =A0 =A0 =A0FreeBSD 8.0-RELEASE & 8.0-STABLE >>>Organization: >>>Environment: >>FreeBSD underworld.example.org 8.0-STABLE FreeBSD 8.0-STABLE #0: Wed Mar = 24 09:54:03 PDT 2010 =A0 =A0sol@underworld.example.org:/usr/obj/usr/src/sys= /UNDERWORLD =A0amd64 >>>Description: >>I'm running 2 jails, and 2 VirtualBox sessions (with Win2k3 Server & WinX= P). =A0If I only run 1 VirtualBox session, the problem seems to be rarer. >> >>There doesn't seem to be too much of a pattern other than increased load = increases the risk. =A0Sometimes the server is stable for a week, other tim= es minutes or hours. >> >>spin lock 0xffffffff80752f80 (smp rendezvous) held by 0xffffff0001879740 = (tid 100022) too long >>exclusive spin mutex smp rendezvous (smp rendezvous) r =3D 0 (0xffffffff8= 0752f80) >>locked @ /usr/src/sys/amd64/amd64/mp_machdep.c:992 >>panic: spin lock held too long >>cpuid =3D 4 >>Uptime: 8m30s >> >>>How-To-Repeat: >> >>>Fix: >> >> >>>Release-Note: >>>Audit-Trail: >>>Unformatted: >>_______________________________________________ >>freebsd-amd64@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 >>To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" > > From owner-freebsd-amd64@FreeBSD.ORG Fri Mar 26 13:22:01 2010 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 C4BA8106566B for ; Fri, 26 Mar 2010 13:22:01 +0000 (UTC) (envelope-from valentin.po@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 5460D8FC0A for ; Fri, 26 Mar 2010 13:22:00 +0000 (UTC) Received: by bwz8 with SMTP id 8so2988748bwz.3 for ; Fri, 26 Mar 2010 06:22:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type :content-transfer-encoding; bh=5nlDnoSzo8/VutHs3XnYODB6J2oUZ8b7Soyzj6LnuUU=; b=rfPiJ13jnyH5Ig2+nhL33ZqLnACun/g2aWh3ti1PsklRLmvrQqxA033VDtHJ098nfH uoDz6KA3PlFfiPbKMbPnNIjZi1lomTDVfip7Gsh36OlEwOayafrere9fn0+QgD1dRizE n3XCuAiyt8HVlWEE4yTnFQDedfZ34XVAPxpWk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=WyLQa23Rv1ZUxLoImLTVgW7mHDFVZkjJceU5dB955H9d2GqgA2Crt+3bIAFS6nBWIj GqgT0yLLRtFNmxEvDp6q7wc1Ay3q9pHLbckVIgp2vMuDIDP+9QKzavO4F9zIFBaFQavo AfifY7ZT75piO68WFbvslr8gxcB0CyknMb9Eg= MIME-Version: 1.0 Received: by 10.204.84.209 with HTTP; Fri, 26 Mar 2010 06:21:53 -0700 (PDT) In-Reply-To: <677B84AD-48D0-4B52-92BB-6F369A8F9D24@gmail.com> References: <677B84AD-48D0-4B52-92BB-6F369A8F9D24@gmail.com> Date: Fri, 26 Mar 2010 16:21:53 +0300 Received: by 10.204.175.9 with SMTP id v9mr1524268bkz.79.1269609713913; Fri, 26 Mar 2010 06:21:53 -0700 (PDT) Message-ID: <2d47afef1003260621n4864a710m3d215bba08041a28@mail.gmail.com> From: Valentin Popov To: freebsd-amd64@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Fri, 26 Mar 2010 16:05:07 +0000 Subject: amd64/145039: spin lock held too long amd64 mp_machdep.c 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, 26 Mar 2010 13:22:01 -0000 Running 8.0 stable AMD64, GENERIC running Virtualbox 3.1.4 -> VNC -> KDE4BASIC virtualbox storage on ZFS pool /storage/ virtualbox =C2=A0(2 SATA raidZ) motherboard TYAN S2912WG2NR-E, 8GB RAM, 2x4core Opteron mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x00 Depth 128 mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x00 Depth 128 mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x00 Depth 128 mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x00 Depth 128 mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x00 Depth 128 mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x00 Depth 128 mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x00 Depth 128 mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x00 Depth 128 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x00 Depth 128 spin lock 0xffffffff80c8c9c8 (smp rendezvous) held by 0xffffff00042de728 (tid 108078) too long panic: spin lock held too long cpuid =3D 5 Valentin Popov From owner-freebsd-amd64@FreeBSD.ORG Fri Mar 26 16:03:45 2010 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 249EE106567A for ; Fri, 26 Mar 2010 16:03:45 +0000 (UTC) (envelope-from valentin.po@gmail.com) Received: from mail-ew0-f215.google.com (mail-ew0-f215.google.com [209.85.219.215]) by mx1.freebsd.org (Postfix) with ESMTP id 748B18FC1F for ; Fri, 26 Mar 2010 16:03:43 +0000 (UTC) Received: by ewy7 with SMTP id 7so1260669ewy.31 for ; Fri, 26 Mar 2010 09:03:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=DWm1lj7qTy54X+1681gi3KY1Q+SvFOhjQ2R74sOPt/8=; b=Tup964KSgKx5KW3kM20A1rcA1NnmPlzLar92X4FeJ/12svccACvJWBJHlQF1mlZnZM 8+qs+gLitSLP34KeDLtkTSbOoodO60bnenyryVWFp72tFXE7OqJVT0jJUrodXvcqRJYo yYoplwIxDKlIniIZdADJvbOlAi7ZEwycLIhAA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=IptVPraiG3zl0q2AUE4ZMqYZDeOVqBACRg+f4SyuPZdmYfaVAttH0KN4+Ivx6JiF1z vEJmZwqqplAkgiXgmu7sAheseiMzn1C3SDnXM/bZziGNIljbGC4OSGp+l/LYJg5SdD8e 2u48LqYgv1Iz94Gb0xuRSLfEHosxIlYNJDGJY= Received: by 10.213.98.138 with SMTP id q10mr335933ebn.38.1269619420537; Fri, 26 Mar 2010 09:03:40 -0700 (PDT) Received: from [192.168.1.33] (95-24-166-146.broadband.corbina.ru [95.24.166.146]) by mx.google.com with ESMTPS id 15sm696501ewy.0.2010.03.26.09.03.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 26 Mar 2010 09:03:39 -0700 (PDT) From: =?koi8-r?B?98HMxc7Uyc4g8M/Qz9c=?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 26 Mar 2010 19:03:32 +0300 Message-Id: To: freebsd-amd64@freebsd.org Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) X-Mailman-Approved-At: Fri, 26 Mar 2010 16:11:25 +0000 Subject: amd64/145039: spin lock held too long amd64 mp_machdep.c 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, 26 Mar 2010 16:03:45 -0000 Running 8.0 stable AMD64, GENERIC running Virtualbox 3.1.4 -> VNC -> KDE4BASIC virtualbox storage on ZFS pool /storage/ virtualbox (2 SATA raidZ) motherboard TYAN S2912WG2NR-E, 8GB RAM, 2x4core Opteron 2354 and have same issue: mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x00 Depth 128 mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x00 Depth 128 mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x00 Depth 128 mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x00 Depth 128 mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x00 Depth 128 mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x00 Depth 128 mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x00 Depth 128 mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x00 Depth 128 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 WORNING pid 1500 (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502 mpt0: QUEUE FULL EVENT: Bus 0x00 Target 0x00 Depth 128 spin lock 0xffffffff80c8c9c8 (smp rendezvous) held by 0xffffff00042de728 = (tid 108078) too long panic: spin lock held too long cpuid =3D 5 Regards Valentin=20 Popov From owner-freebsd-amd64@FreeBSD.ORG Sat Mar 27 22:20:09 2010 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 7FB021065677 for ; Sat, 27 Mar 2010 22:20:09 +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 41A068FC08 for ; Sat, 27 Mar 2010 22:20:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2RMK8t5063777 for ; Sat, 27 Mar 2010 22:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2RMK8Fr063770; Sat, 27 Mar 2010 22:20:08 GMT (envelope-from gnats) Resent-Date: Sat, 27 Mar 2010 22:20:08 GMT Resent-Message-Id: <201003272220.o2RMK8Fr063770@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, Dan van Pelt Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFDF7106568B for ; Sat, 27 Mar 2010 22:13:45 +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 BE2DE8FC17 for ; Sat, 27 Mar 2010 22:13:45 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o2RMDjH9080466 for ; Sat, 27 Mar 2010 22:13:45 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o2RMDjNB080465; Sat, 27 Mar 2010 22:13:45 GMT (envelope-from nobody) Message-Id: <201003272213.o2RMDjNB080465@www.freebsd.org> Date: Sat, 27 Mar 2010 22:13:45 GMT From: Dan van Pelt To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Sat, 27 Mar 2010 22:32:06 +0000 Cc: Subject: amd64/145091: getfacl segfault on ZFS / NFSv4 acl enumeration 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, 27 Mar 2010 22:20:09 -0000 >Number: 145091 >Category: amd64 >Synopsis: getfacl segfault on ZFS / NFSv4 acl enumeration >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 27 22:20:08 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Dan van Pelt >Release: 8 STABLE >Organization: >Environment: FreeBSD f80-2.chem.wwu.edu 8.0-STABLE FreeBSD 8.0-STABLE #0: Sat Mar 27 10:38:33 PDT 2010 dan@f80-2.chem.wwu.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: This machine is running samba 3.4 / winbind and is joined to an active directory domain as a member server to act as a file server. The volume being served is a ZFS volume where we wish to use nfs4 acls where the subjects are domain objects (groups, etc). If a nfs4 acl is applied to a directory on the zfs volume that contains a group in AD, attempts to enumerate the acl with getfacl fail with a segfault. >How-To-Repeat: f80-2# mount /dev/ad4s1a on / (ufs, local) devfs on /dev (devfs, local, multilabel) /dev/ad4s1d on /tmp (ufs, local, soft-updates) /dev/ad4s1f on /usr (ufs, local, soft-updates) /dev/ad4s1e on /var (ufs, local, soft-updates) data on /data (zfs, local) f80-2# getfacl /data/dan # file: /data/dan # owner: root # group: wheel owner@:--------------:------:deny owner@:rwxp---A-W-Co-:------:allow group@:-w-p----------:------:deny group@:r-x-----------:------:allow everyone@:-w-p---A-W-Co-:------:deny everyone@:r-x---a-R-c--s:------:allow f80-2# setfacl -m group:grp.my.ad.group:rwx:allow /data/dan f80-2# getfacl /data/dan # file: /data/dan # owner: root # group: wheel Segmentation fault (core dumped) f80-2# gdb /bin/getfacl GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... (gdb) run /data/dan Starting program: /bin/getfacl /data/dan # file: /data/dan # owner: root # group: wheel Program received signal SIGSEGV, Segmentation fault. memset () at /usr/src/lib/libc/amd64/string/memset.S:56 56 L1: rep Current language: auto; currently asm (gdb) bt #0 memset () at /usr/src/lib/libc/amd64/string/memset.S:56 #1 0x00000008006b00f4 in _nfs4_acl_to_text_np (aclp=0x800a3a000, len_p=0x0, flags=Variable "flags" is not available. ) at /usr/src/lib/libc/posix1e/acl_to_text_nfs4.c:193 #2 0x0000000800682b25 in acl_to_text_np (acl=0x800a3a000, len_p=0x0, flags=0) at /usr/src/lib/libc/posix1e/acl_to_text.c:250 #3 0x000000000040107a in print_acl (path=0x7fffffffedbd "/data/dan", type=4, hflag=Variable "hflag" is not available. ) at /usr/src/bin/getfacl/getfacl.c:248 #4 0x0000000000401885 in main (argc=1, argv=Variable "argv" is not available. ) at /usr/src/bin/getfacl/getfacl.c:334 (gdb) quit The program is running. Exit anyway? (y or n) y f80-2# >Fix: >Release-Note: >Audit-Trail: >Unformatted: