From owner-freebsd-amd64@FreeBSD.ORG Sun Apr 12 15:20:06 2009 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 BC5C21065673 for ; Sun, 12 Apr 2009 15:20:06 +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 901BE8FC0C for ; Sun, 12 Apr 2009 15:20:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3CFK6xR032038 for ; Sun, 12 Apr 2009 15:20:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3CFK6G8032035; Sun, 12 Apr 2009 15:20:06 GMT (envelope-from gnats) Date: Sun, 12 Apr 2009 15:20:06 GMT Message-Id: <200904121520.n3CFK6G8032035@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Scott Long X-Mailman-Approved-At: Sun, 12 Apr 2009 17:28:53 +0000 Cc: Subject: Re: amd64/133592: [busdma] [patch] busdma incorrectly calculates bounce buffer requirements for userspace buffers X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Scott Long List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2009 15:20:07 -0000 The following reply was made to PR amd64/133592; it has been noted by GNATS. From: Scott Long To: bug-followup@FreeBSD.org, jason.harmening@gmail.com Cc: Subject: Re: amd64/133592: [busdma] [patch] busdma incorrectly calculates bounce buffer requirements for userspace buffers Date: Sun, 12 Apr 2009 08:53:47 -0600 You're right, it's definitely a problem. The patch looks correct, feel free to commit to i386, amd64, and ia64. Arm needs a similar fix, but the code looks to be somewhat different. Scott From owner-freebsd-amd64@FreeBSD.ORG Sun Apr 12 19:30:50 2009 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 EFD7C1065678 for ; Sun, 12 Apr 2009 19:30:50 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id 87AC68FC18 for ; Sun, 12 Apr 2009 19:30:50 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Lt5OC-0009q2-Qr; Sun, 12 Apr 2009 22:30:48 +0300 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 n3CJUjJ5008097 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 12 Apr 2009 22:30:45 +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.3/8.14.3) with ESMTP id n3CJUjo6062033; Sun, 12 Apr 2009 22:30:45 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n3CJUisj062032; Sun, 12 Apr 2009 22:30:44 +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: Sun, 12 Apr 2009 22:30:44 +0300 From: Kostik Belousov To: Scott Long Message-ID: <20090412193044.GN3014@deviant.kiev.zoral.com.ua> References: <200904121520.n3CFK6G8032035@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2DT8m24oj8Onh3Jp" Content-Disposition: inline In-Reply-To: <200904121520.n3CFK6G8032035@freefall.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-Virus-Scanned: mail.terabit.net.ua 1Lt5OC-0009q2-Qr af4d76cbd30b1303f8377d0cf41503b2 X-Terabit: YES Cc: freebsd-amd64@freebsd.org Subject: Re: amd64/133592: [busdma] [patch] busdma incorrectly calculates bounce buffer requirements for userspace buffers 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, 12 Apr 2009 19:30:51 -0000 --2DT8m24oj8Onh3Jp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 12, 2009 at 03:20:06PM +0000, Scott Long wrote: > The following reply was made to PR amd64/133592; it has been noted by GNA= TS. >=20 > From: Scott Long > To: bug-followup@FreeBSD.org, jason.harmening@gmail.com > Cc: =20 > Subject: Re: amd64/133592: [busdma] [patch] busdma incorrectly calculates > bounce buffer requirements for userspace buffers > Date: Sun, 12 Apr 2009 08:53:47 -0600 >=20 > You're right, it's definitely a problem. The patch looks correct, feel > free to commit to i386, amd64, and ia64. Arm needs a similar fix, but > the code looks to be somewhat different. Below is updated patch. It was compile-tested on all affected arches. Scott, any notes ? diff --git a/sys/amd64/amd64/busdma_machdep.c b/sys/amd64/amd64/busdma_mach= dep.c index c50fcc3..de4717c 100644 --- a/sys/amd64/amd64/busdma_machdep.c +++ b/sys/amd64/amd64/busdma_machdep.c @@ -606,7 +606,10 @@ _bus_dmamap_load_buffer(bus_dma_tag_t dmat, vendaddr =3D (vm_offset_t)buf + buflen; =20 while (vaddr < vendaddr) { - paddr =3D pmap_kextract(vaddr); + if (pmap) + paddr =3D pmap_extract(pmap, vaddr); + else + paddr =3D pmap_kextract(vaddr); if (run_filter(dmat, paddr) !=3D 0) map->pagesneeded++; vaddr +=3D (PAGE_SIZE - ((vm_offset_t)vaddr & PAGE_MASK)); diff --git a/sys/arm/arm/busdma_machdep.c b/sys/arm/arm/busdma_machdep.c index a738172..153d83f 100644 --- a/sys/arm/arm/busdma_machdep.c +++ b/sys/arm/arm/busdma_machdep.c @@ -669,8 +669,8 @@ bus_dmamem_free(bus_dma_tag_t dmat, void *vaddr, bus_dm= amap_t map) } =20 static int -_bus_dmamap_count_pages(bus_dma_tag_t dmat, bus_dmamap_t map, void *buf, - bus_size_t buflen, int flags) +_bus_dmamap_count_pages(bus_dma_tag_t dmat, bus_dmamap_t map, pmap_t pmap, + void *buf, bus_size_t buflen, int flags) { vm_offset_t vaddr; vm_offset_t vendaddr; @@ -689,7 +689,10 @@ _bus_dmamap_count_pages(bus_dma_tag_t dmat, bus_dmamap= _t map, void *buf, vendaddr =3D (vm_offset_t)buf + buflen; =20 while (vaddr < vendaddr) { - paddr =3D pmap_kextract(vaddr); + if (pmap !=3D NULL) + paddr =3D pmap_extract(pmap, vaddr); + else + paddr =3D pmap_kextract(vaddr); if (((dmat->flags & BUS_DMA_COULD_BOUNCE) !=3D 0) && run_filter(dmat, paddr) !=3D 0) map->pagesneeded++; @@ -745,7 +748,8 @@ bus_dmamap_load_buffer(bus_dma_tag_t dmat, bus_dma_segm= ent_t *segs, bmask =3D ~(dmat->boundary - 1); =20 if ((dmat->flags & BUS_DMA_COULD_BOUNCE) !=3D 0) { - error =3D _bus_dmamap_count_pages(dmat, map, buf, buflen, flags); + error =3D _bus_dmamap_count_pages(dmat, map, pmap, buf, buflen, + flags); if (error) return (error); } diff --git a/sys/i386/i386/busdma_machdep.c b/sys/i386/i386/busdma_machdep.c index d4aa9b5..cf0ac51 100644 --- a/sys/i386/i386/busdma_machdep.c +++ b/sys/i386/i386/busdma_machdep.c @@ -142,8 +142,8 @@ static bus_addr_t add_bounce_page(bus_dma_tag_t dmat, b= us_dmamap_t map, vm_offset_t vaddr, bus_size_t size); static void free_bounce_page(bus_dma_tag_t dmat, struct bounce_page *bpage= ); int run_filter(bus_dma_tag_t dmat, bus_addr_t paddr); -int _bus_dmamap_count_pages(bus_dma_tag_t dmat, bus_dmamap_t map, void *bu= f, - bus_size_t buflen, int flags); +int _bus_dmamap_count_pages(bus_dma_tag_t dmat, bus_dmamap_t map, pmap_t p= map, + void *buf, bus_size_t buflen, int flags); =20 #ifdef XEN #undef pmap_kextract @@ -577,8 +577,8 @@ bus_dmamem_free(bus_dma_tag_t dmat, void *vaddr, bus_dm= amap_t map) } =20 int -_bus_dmamap_count_pages(bus_dma_tag_t dmat, bus_dmamap_t map, void *buf, - bus_size_t buflen, int flags) +_bus_dmamap_count_pages(bus_dma_tag_t dmat, bus_dmamap_t map, pmap_t pmap, + void *buf, bus_size_t buflen, int flags) { vm_offset_t vaddr; vm_offset_t vendaddr; @@ -598,7 +598,10 @@ _bus_dmamap_count_pages(bus_dma_tag_t dmat, bus_dmamap= _t map, void *buf, vendaddr =3D (vm_offset_t)buf + buflen; =20 while (vaddr < vendaddr) { - paddr =3D pmap_kextract(vaddr); + if (pmap) + paddr =3D pmap_extract(pmap, vaddr); + else + paddr =3D pmap_kextract(vaddr); if (((dmat->flags & BUS_DMA_COULD_BOUNCE) !=3D 0) && run_filter(dmat, paddr) !=3D 0) { map->pagesneeded++; @@ -660,7 +663,7 @@ _bus_dmamap_load_buffer(bus_dma_tag_t dmat, map =3D &nobounce_dmamap; =20 if ((dmat->flags & BUS_DMA_COULD_BOUNCE) !=3D 0) { - error =3D _bus_dmamap_count_pages(dmat, map, buf, buflen, flags); + error =3D _bus_dmamap_count_pages(dmat, map, pmap, buf, buflen, flags); if (error) return (error); } diff --git a/sys/ia64/ia64/busdma_machdep.c b/sys/ia64/ia64/busdma_machdep.c index 659db52..609a8a9 100644 --- a/sys/ia64/ia64/busdma_machdep.c +++ b/sys/ia64/ia64/busdma_machdep.c @@ -527,7 +527,10 @@ _bus_dmamap_load_buffer(bus_dma_tag_t dmat, vendaddr =3D (vm_offset_t)buf + buflen; =20 while (vaddr < vendaddr) { - paddr =3D pmap_kextract(vaddr); + if (pmap !=3D NULL) + paddr =3D pmap_extract(pmap, vaddr); + else + paddr =3D pmap_kextract(vaddr); if (run_filter(dmat, paddr, 0) !=3D 0) map->pagesneeded++; vaddr +=3D PAGE_SIZE; --2DT8m24oj8Onh3Jp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkniQWQACgkQC3+MBN1Mb4jqAgCgkuaUlrdqHW19UJ/z7vvdrwAl IlMAoIHgzihAGYpeq66pJiFLO/Cgb0yk =obUa -----END PGP SIGNATURE----- --2DT8m24oj8Onh3Jp-- From owner-freebsd-amd64@FreeBSD.ORG Mon Apr 13 01:10:06 2009 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 2C5C81065676 for ; Mon, 13 Apr 2009 01:10:06 +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 063AB8FC19 for ; Mon, 13 Apr 2009 01:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3D1A54X027571 for ; Mon, 13 Apr 2009 01:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3D1A5wW027570; Mon, 13 Apr 2009 01:10:05 GMT (envelope-from gnats) Resent-Date: Mon, 13 Apr 2009 01:10:05 GMT Resent-Message-Id: <200904130110.n3D1A5wW027570@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, Rob Bloom Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF4CA106566B for ; Mon, 13 Apr 2009 01:06:41 +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 ACA168FC18 for ; Mon, 13 Apr 2009 01:06:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n3D16eLl008577 for ; Mon, 13 Apr 2009 01:06:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n3D16edr008576; Mon, 13 Apr 2009 01:06:40 GMT (envelope-from nobody) Message-Id: <200904130106.n3D16edr008576@www.freebsd.org> Date: Mon, 13 Apr 2009 01:06:40 GMT From: Rob Bloom To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Mon, 13 Apr 2009 01:53:10 +0000 Cc: Subject: amd64/133676: umount -f'ing a vnode-based memory disk from off a SMB share caused a reboot 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, 13 Apr 2009 01:10:07 -0000 >Number: 133676 >Category: amd64 >Synopsis: umount -f'ing a vnode-based memory disk from off a SMB share caused a reboot >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 13 01:10:05 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Rob Bloom >Release: 7.1-RELEASE-p1 >Organization: >Environment: FreeBSD goosebox.foxular.net 7.1-RELEASE-p1 FreeBSD 7.1-RELEASE-p1 #10: Wed Jan 7 23:33:58 EST 2009 root@goosebox.foxular.net:/usr/obj/usr/src/sys/GOOSEBOX amd64 >Description: I had at some point used mdconfig to mount an HD image (with the image on an SMB partition) with an msdos partition on it to /dev/md0. I came back a few days later, noticed the disk was still showing as mounted in df, but when I saw the directory was empty, I figured I must have detached the disk without unmounting first. (though while trying to reproduce the bug, this may not have been the case) I did "umount /mnt/dos" first, getting "umount of /mnt/dos failed: Bad file descriptor", and followed that up with "umount -f /mnt/dos", after which my system immediately rebooted. Here is the output from /var/log/messages: Apr 12 20:27:35 goosebox kernel: g_vfs_done():md0s1[READ(offset=512, length=4096)]error = 9 Apr 12 20:27:37 goosebox sudo: hadley : TTY=ttyp1 ; PWD=/mnt ; USER=root ; COMMAND=/sbin/umount dos Apr 12 20:27:37 goosebox kernel: g_vfs_done():md0s1[READ(offset=512, length=4096)]error = 9 Apr 12 20:27:38 goosebox sudo: hadley : TTY=ttyp1 ; PWD=/mnt ; USER=root ; COMMAND=/sbin/umount -f dos Apr 12 20:28:47 goosebox syslogd: kernel boot file is /boot/kernel/kernel >How-To-Repeat: Not quite sure... I know at the very least it involves creating a memory disk based off a disk image mounted over the network. It seems that maybe leaving the image mounted for a while and probably rebooting the machine the image is on at some point inbetween caused the disk image to no longer be locatable, causing the reboot when I unmounted it. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Mon Apr 13 11:06:49 2009 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 CD7BA10656DE for ; Mon, 13 Apr 2009 11:06:49 +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 230308FC13 for ; Mon, 13 Apr 2009 11:06:49 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3DB6nbI084858 for ; Mon, 13 Apr 2009 11:06:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3DB6mHR084854 for freebsd-amd64@FreeBSD.org; Mon, 13 Apr 2009 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 13 Apr 2009 11:06:48 GMT Message-Id: <200904131106.n3DB6mHR084854@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, 13 Apr 2009 11:39:58 +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, 13 Apr 2009 11:06:51 -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/133676 amd64 umount -f'ing a vnode-based memory disk from off a SMB o amd64/133592 amd64 [busdma] [patch] busdma incorrectly calculates bounce o amd64/132574 amd64 [boot] Freeze on bootstrap loader (CD) using ATA/133 P o amd64/132170 amd64 7.1 kernel compilation problem o 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 o 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] The booting process stops at the line mounting 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/129488 amd64 [smbfs] Kernel "bug" when using smbfs in smbfs_smb.c: o amd64/129426 amd64 [panic] FreeBSD 7.0 crash after subdiskXX: detached o amd64/129315 amd64 [boot] amd64 motherboard: Intel DG965WH motherboard co f amd64/128978 amd64 [install] FreeBSD 6.3 64-bit panics at boot time duri o amd64/128810 amd64 AMD 64 port installation o amd64/128765 amd64 [install] Install CD loads to Install choices but stop o amd64/128686 amd64 [ata] can't detect SATA Disk on 8.0-Current with NF550 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/127492 amd64 [zfs] System hang on ZFS input-output 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/127129 amd64 mdconfig(8) is core dumping with Segmentation Fault 11 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 o 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/122624 amd64 unusable minimal installation of FreeBSD-7.0 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 o amd64/121590 amd64 [est] [p4tcc] [acpi_perf] setting dev.cpu.0.freq somet o amd64/121439 amd64 [boot] Installation of FreeBSD 7.0 fails: ACPI problem 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/114111 amd64 [nfs] System crashes while writing on NFS-mounted shar f amd64/113021 amd64 [re] ASUS M2A-VM onboard NIC does not work o amd64/112222 amd64 [libc] 32-bit libc incorrectly converts some FP number f amd64/111992 amd64 [boot] BTX failed - HP Laptop dv2315nr o amd64/110655 amd64 [threads] 32 bit threaded applications crash on amd64 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/105629 amd64 [re] TrendNet TEG-BUSR 10/100/1000 disables itself on 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 f amd64/94989 amd64 [boot] BTX Halts on Sun Fire X2100 w/6.1-BETA4 (amd64) 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 f amd64/91492 amd64 [boot] BTX halted 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/87316 amd64 [vge] "vge0 attach returned 6" on FreeBSD 6.0-RC1 amd6 o amd64/87305 amd64 [smp] Dual Opteron / FreeBSD 5 & 6 / powerd results in f amd64/87258 amd64 [smp] [boot] cannot boot with SMP and Areca ARC-1160 r f amd64/86080 amd64 [radeon] [hang] radeon DRI causes system hang on amd64 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 f amd64/73322 amd64 [msdosfs] [hang] unarchiving /etc to msdosfs locks up 97 problems total. From owner-freebsd-amd64@FreeBSD.ORG Mon Apr 13 17:55:08 2009 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 57C561065670 for ; Mon, 13 Apr 2009 17:55:08 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id DB72D8FC13 for ; Mon, 13 Apr 2009 17:55:03 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 9DBED46B2E; Mon, 13 Apr 2009 13:54:57 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 78D648A04E; Mon, 13 Apr 2009 13:54:46 -0400 (EDT) From: John Baldwin To: freebsd-amd64@freebsd.org Date: Mon, 13 Apr 2009 11:56:35 -0400 User-Agent: KMail/1.9.7 References: <200904121520.n3CFK6G8032035@freefall.freebsd.org> <20090412193044.GN3014@deviant.kiev.zoral.com.ua> In-Reply-To: <20090412193044.GN3014@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904131156.36255.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 13 Apr 2009 13:54:46 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=4.2 tests=RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Scott Long Subject: Re: amd64/133592: [busdma] [patch] busdma incorrectly calculates bounce buffer requirements for userspace buffers 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, 13 Apr 2009 17:55:08 -0000 On Sunday 12 April 2009 3:30:44 pm Kostik Belousov wrote: > On Sun, Apr 12, 2009 at 03:20:06PM +0000, Scott Long wrote: > > The following reply was made to PR amd64/133592; it has been noted by GNATS. > > > > From: Scott Long > > To: bug-followup@FreeBSD.org, jason.harmening@gmail.com > > Cc: > > Subject: Re: amd64/133592: [busdma] [patch] busdma incorrectly calculates > > bounce buffer requirements for userspace buffers > > Date: Sun, 12 Apr 2009 08:53:47 -0600 > > > > You're right, it's definitely a problem. The patch looks correct, feel > > free to commit to i386, amd64, and ia64. Arm needs a similar fix, but > > the code looks to be somewhat different. > > Below is updated patch. It was compile-tested on all affected arches. > Scott, any notes ? I've had a similar patch in a branch for years, it should definitely go in. -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Mon Apr 13 11:10:04 2009 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 5A5781065674 for ; Mon, 13 Apr 2009 11:10: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 1C00E8FC13 for ; Mon, 13 Apr 2009 11:10: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.3/8.14.3) with ESMTP id n3DBA3nq087506 for ; Mon, 13 Apr 2009 11:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3DBA3Kk087505; Mon, 13 Apr 2009 11:10:03 GMT (envelope-from gnats) Resent-Date: Mon, 13 Apr 2009 11:10:03 GMT Resent-Message-Id: <200904131110.n3DBA3Kk087505@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, D C Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29A8D106566B for ; Mon, 13 Apr 2009 11:06: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 182CE8FC16 for ; Mon, 13 Apr 2009 11:06:00 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n3DB5xu2005902 for ; Mon, 13 Apr 2009 11:05:59 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n3DB5xqM005901; Mon, 13 Apr 2009 11:05:59 GMT (envelope-from nobody) Message-Id: <200904131105.n3DB5xqM005901@www.freebsd.org> Date: Mon, 13 Apr 2009 11:05:59 GMT From: D C To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Mon, 13 Apr 2009 19:08:45 +0000 Cc: Subject: amd64/133701: Recompiling the kernel with k8temp or smbios break GEOM autodetection 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, 13 Apr 2009 11:10:04 -0000 >Number: 133701 >Category: amd64 >Synopsis: Recompiling the kernel with k8temp or smbios break GEOM autodetection >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 13 11:10:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: D C >Release: 7.1-RELEASE >Organization: >Environment: FreeBSD mybox.mynet.local 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 08:58:24 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 (happens on a selfcompiled kernel) >Description: Recompiling the kernel on 7.1-RELEASE (amd64 platform) with k8temp and smbios in the kernel configuration somehow breaks geom_mirror autodetection and is therefore unable to boot from the /dev/gm0 mirrors. The previous root device /dev/gm0s1a is now detected as both /dev/gm0cs1a and /dev/gm0ccs1a upon booting the new kernel. >How-To-Repeat: cp /usr/src/sys/amd64/conf/GENERIC /usr/src/sys/amd64/conf/VOODOO echo "device k8temp" >> /usr/src/sys/amd64/conf/VOODOO echo "device smbios" >> /usr/src/sys/amd64/conf/VOODOO cd /usr/src make buildkernel KERNCONF=VOODOO make installkernel KERNCONF=VOODOO reboot >Fix: Remove "device k8temp" and "device smbios" from the kernel configuration file. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Mon Apr 13 17:33:43 2009 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 2E73F106564A; Mon, 13 Apr 2009 17:33:43 +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 0393F8FC12; Mon, 13 Apr 2009 17:33:43 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3DHXgM2020276; Mon, 13 Apr 2009 17:33:42 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3DHXglX020272; Mon, 13 Apr 2009 17:33:42 GMT (envelope-from linimon) Date: Mon, 13 Apr 2009 17:33:42 GMT Message-Id: <200904131733.n3DHXglX020272@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-fs@FreeBSD.org From: linimon@FreeBSD.org X-Mailman-Approved-At: Mon, 13 Apr 2009 19:08:53 +0000 Cc: Subject: Re: kern/133676: [smbfs] [panic] umount -f'ing a vnode-based memory disk from off a SMB share caused a reboot 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, 13 Apr 2009 17:33:43 -0000 Old Synopsis: umount -f'ing a vnode-based memory disk from off a SMB share caused a reboot New Synopsis: [smbfs] [panic] umount -f'ing a vnode-based memory disk from off a SMB share caused a reboot Responsible-Changed-From-To: freebsd-amd64->freebsd-fs Responsible-Changed-By: linimon Responsible-Changed-When: Mon Apr 13 17:31:51 UTC 2009 Responsible-Changed-Why: Reclassify and reassign. http://www.freebsd.org/cgi/query-pr.cgi?pr=133676 From owner-freebsd-amd64@FreeBSD.ORG Mon Apr 13 19:29:32 2009 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 3FC34106566B; Mon, 13 Apr 2009 19:29:32 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id C24EE8FC1F; Mon, 13 Apr 2009 19:29:31 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1LtRqQ-0009cA-GI; Mon, 13 Apr 2009 22:29:27 +0300 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 n3DJTDGx096972 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Apr 2009 22:29:14 +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.3/8.14.3) with ESMTP id n3DJTD2u022891; Mon, 13 Apr 2009 22:29:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n3DJTDLl022890; Mon, 13 Apr 2009 22:29:13 +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: Mon, 13 Apr 2009 22:29:13 +0300 From: Kostik Belousov To: John Baldwin Message-ID: <20090413192913.GZ3014@deviant.kiev.zoral.com.ua> References: <200904121520.n3CFK6G8032035@freefall.freebsd.org> <20090412193044.GN3014@deviant.kiev.zoral.com.ua> <200904131156.36255.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3h0UNLyY10zL13pE" Content-Disposition: inline In-Reply-To: <200904131156.36255.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-Virus-Scanned: mail.terabit.net.ua 1LtRqQ-0009cA-GI 1b1141873901e4424a0d1be940ee3910 X-Terabit: YES Cc: Scott Long , freebsd-amd64@freebsd.org Subject: Re: amd64/133592: [busdma] [patch] busdma incorrectly calculates bounce buffer requirements for userspace buffers 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, 13 Apr 2009 19:29:32 -0000 --3h0UNLyY10zL13pE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 13, 2009 at 11:56:35AM -0400, John Baldwin wrote: > On Sunday 12 April 2009 3:30:44 pm Kostik Belousov wrote: > > On Sun, Apr 12, 2009 at 03:20:06PM +0000, Scott Long wrote: > > > The following reply was made to PR amd64/133592; it has been noted by= =20 > GNATS. > > >=20 > > > From: Scott Long > > > To: bug-followup@FreeBSD.org, jason.harmening@gmail.com > > > Cc: =20 > > > Subject: Re: amd64/133592: [busdma] [patch] busdma incorrectly calcul= ates > > > bounce buffer requirements for userspace buffers > > > Date: Sun, 12 Apr 2009 08:53:47 -0600 > > >=20 > > > You're right, it's definitely a problem. The patch looks correct, f= eel > > > free to commit to i386, amd64, and ia64. Arm needs a similar fix, b= ut > > > the code looks to be somewhat different. > >=20 > > Below is updated patch. It was compile-tested on all affected arches. > > Scott, any notes ? >=20 > I've had a similar patch in a branch for years, it should definitely go i= n. Thanks, I committed this. As discussed with Scott, the bus_dmamap_load_uio() KPI does not look as an easy to use. For uio from UIO_USERSPACE, at least, the pages backing uio chunks must be held by the caller, otherwise the pages may be repurposed at any moment. Also, please note that there is no real error check for the result of pmap_extract(). Some time ago I already looked for the KPI that would hold the pages from uio, possibly topped by some per-process or per-user limit. Also, this KPI should check that all addresses are valid. It seems that we do not have such utility. Hope to be wrong. --3h0UNLyY10zL13pE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAknjkokACgkQC3+MBN1Mb4jC1gCg349C0B4O7ov/2Cf2O3bC0W45 358AnRe2G/aKsGg5VlAdh9+5IwNhuOTu =3HJq -----END PGP SIGNATURE----- --3h0UNLyY10zL13pE-- From owner-freebsd-amd64@FreeBSD.ORG Mon Apr 13 19:40:04 2009 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 275941065675 for ; Mon, 13 Apr 2009 19:40: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 081458FC19 for ; Mon, 13 Apr 2009 19:40: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.3/8.14.3) with ESMTP id n3DJe3Fv081586 for ; Mon, 13 Apr 2009 19:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3DJe381081585; Mon, 13 Apr 2009 19:40:03 GMT (envelope-from gnats) Date: Mon, 13 Apr 2009 19:40:03 GMT Message-Id: <200904131940.n3DJe381081585@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) X-Mailman-Approved-At: Mon, 13 Apr 2009 20:35:17 +0000 Cc: Subject: Re: amd64/133592: commit references a PR X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2009 19:40:06 -0000 The following reply was made to PR amd64/133592; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: amd64/133592: commit references a PR Date: Mon, 13 Apr 2009 19:39:17 +0000 (UTC) Author: kib Date: Mon Apr 13 19:20:32 2009 New Revision: 191011 URL: http://svn.freebsd.org/changeset/base/191011 Log: The bus_dmamap_load_uio(9) shall use pmap of the thread recorded in the uio_td to extract pages from, instead of unconditionally use kernel pmap. Submitted by: Jason Harmening (amd64 version) PR: amd64/133592 Reviewed by: scottl (original patch), jhb MFC after: 2 weeks Modified: head/sys/amd64/amd64/busdma_machdep.c head/sys/arm/arm/busdma_machdep.c head/sys/i386/i386/busdma_machdep.c head/sys/ia64/ia64/busdma_machdep.c Modified: head/sys/amd64/amd64/busdma_machdep.c ============================================================================== --- head/sys/amd64/amd64/busdma_machdep.c Mon Apr 13 19:12:28 2009 (r191010) +++ head/sys/amd64/amd64/busdma_machdep.c Mon Apr 13 19:20:32 2009 (r191011) @@ -606,7 +606,10 @@ _bus_dmamap_load_buffer(bus_dma_tag_t dm vendaddr = (vm_offset_t)buf + buflen; while (vaddr < vendaddr) { - paddr = pmap_kextract(vaddr); + if (pmap) + paddr = pmap_extract(pmap, vaddr); + else + paddr = pmap_kextract(vaddr); if (run_filter(dmat, paddr) != 0) map->pagesneeded++; vaddr += (PAGE_SIZE - ((vm_offset_t)vaddr & PAGE_MASK)); Modified: head/sys/arm/arm/busdma_machdep.c ============================================================================== --- head/sys/arm/arm/busdma_machdep.c Mon Apr 13 19:12:28 2009 (r191010) +++ head/sys/arm/arm/busdma_machdep.c Mon Apr 13 19:20:32 2009 (r191011) @@ -669,8 +669,8 @@ bus_dmamem_free(bus_dma_tag_t dmat, void } static int -_bus_dmamap_count_pages(bus_dma_tag_t dmat, bus_dmamap_t map, void *buf, - bus_size_t buflen, int flags) +_bus_dmamap_count_pages(bus_dma_tag_t dmat, bus_dmamap_t map, pmap_t pmap, + void *buf, bus_size_t buflen, int flags) { vm_offset_t vaddr; vm_offset_t vendaddr; @@ -689,7 +689,10 @@ _bus_dmamap_count_pages(bus_dma_tag_t dm vendaddr = (vm_offset_t)buf + buflen; while (vaddr < vendaddr) { - paddr = pmap_kextract(vaddr); + if (pmap != NULL) + paddr = pmap_extract(pmap, vaddr); + else + paddr = pmap_kextract(vaddr); if (((dmat->flags & BUS_DMA_COULD_BOUNCE) != 0) && run_filter(dmat, paddr) != 0) map->pagesneeded++; @@ -745,7 +748,8 @@ bus_dmamap_load_buffer(bus_dma_tag_t dma bmask = ~(dmat->boundary - 1); if ((dmat->flags & BUS_DMA_COULD_BOUNCE) != 0) { - error = _bus_dmamap_count_pages(dmat, map, buf, buflen, flags); + error = _bus_dmamap_count_pages(dmat, map, pmap, buf, buflen, + flags); if (error) return (error); } Modified: head/sys/i386/i386/busdma_machdep.c ============================================================================== --- head/sys/i386/i386/busdma_machdep.c Mon Apr 13 19:12:28 2009 (r191010) +++ head/sys/i386/i386/busdma_machdep.c Mon Apr 13 19:20:32 2009 (r191011) @@ -142,8 +142,8 @@ static bus_addr_t add_bounce_page(bus_dm vm_offset_t vaddr, bus_size_t size); static void free_bounce_page(bus_dma_tag_t dmat, struct bounce_page *bpage); int run_filter(bus_dma_tag_t dmat, bus_addr_t paddr); -int _bus_dmamap_count_pages(bus_dma_tag_t dmat, bus_dmamap_t map, void *buf, - bus_size_t buflen, int flags); +int _bus_dmamap_count_pages(bus_dma_tag_t dmat, bus_dmamap_t map, pmap_t pmap, + void *buf, bus_size_t buflen, int flags); #ifdef XEN #undef pmap_kextract @@ -577,8 +577,8 @@ bus_dmamem_free(bus_dma_tag_t dmat, void } int -_bus_dmamap_count_pages(bus_dma_tag_t dmat, bus_dmamap_t map, void *buf, - bus_size_t buflen, int flags) +_bus_dmamap_count_pages(bus_dma_tag_t dmat, bus_dmamap_t map, pmap_t pmap, + void *buf, bus_size_t buflen, int flags) { vm_offset_t vaddr; vm_offset_t vendaddr; @@ -598,7 +598,10 @@ _bus_dmamap_count_pages(bus_dma_tag_t dm vendaddr = (vm_offset_t)buf + buflen; while (vaddr < vendaddr) { - paddr = pmap_kextract(vaddr); + if (pmap) + paddr = pmap_extract(pmap, vaddr); + else + paddr = pmap_kextract(vaddr); if (((dmat->flags & BUS_DMA_COULD_BOUNCE) != 0) && run_filter(dmat, paddr) != 0) { map->pagesneeded++; @@ -660,7 +663,7 @@ _bus_dmamap_load_buffer(bus_dma_tag_t dm map = &nobounce_dmamap; if ((dmat->flags & BUS_DMA_COULD_BOUNCE) != 0) { - error = _bus_dmamap_count_pages(dmat, map, buf, buflen, flags); + error = _bus_dmamap_count_pages(dmat, map, pmap, buf, buflen, flags); if (error) return (error); } Modified: head/sys/ia64/ia64/busdma_machdep.c ============================================================================== --- head/sys/ia64/ia64/busdma_machdep.c Mon Apr 13 19:12:28 2009 (r191010) +++ head/sys/ia64/ia64/busdma_machdep.c Mon Apr 13 19:20:32 2009 (r191011) @@ -527,7 +527,10 @@ _bus_dmamap_load_buffer(bus_dma_tag_t dm vendaddr = (vm_offset_t)buf + buflen; while (vaddr < vendaddr) { - paddr = pmap_kextract(vaddr); + if (pmap != NULL) + paddr = pmap_extract(pmap, vaddr); + else + paddr = pmap_kextract(vaddr); if (run_filter(dmat, paddr, 0) != 0) map->pagesneeded++; vaddr += PAGE_SIZE; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-amd64@FreeBSD.ORG Tue Apr 14 14:42:01 2009 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 4FD5F106566C for ; Tue, 14 Apr 2009 14:42:01 +0000 (UTC) (envelope-from seanjstrand@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.191]) by mx1.freebsd.org (Postfix) with ESMTP id C258A8FC0A for ; Tue, 14 Apr 2009 14:42:00 +0000 (UTC) (envelope-from seanjstrand@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so1217938fka.11 for ; Tue, 14 Apr 2009 07:41:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=vMgkTtToKJjg1lPFubuWXgx8Di3pqc+eThoSlBmygcc=; b=pDDGrH5jFjUX+VWdaiPUb+Exr6bQEMrZEJTWUqZ2nXXsg1xJKM5fx2L/5BCwtxatwO 1TmvswOV7geoVQjtEljEf493N1y4vk/NkK15XOAyg4zCML/naHh3Jaof3vsrv+VkVpHL 7jCtumJw5UXnuGXFn+VbVL7QfnlEaX+vYYKr0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=PsnerJ80wKLu8IEL82DhDBky90xHT2ppy24jrp1jmS2aCztlklNKne60FP22qwASXU c1oAz+lBKjXjkSrG2bqObmaCpni/rXxjvSABV8ougeEGPZys2HdvwDslx8o6LMbqAc5X 0+DyWbCiyKoSpGQEYiyjEb3G84SJ6Dxf1yk9w= MIME-Version: 1.0 Received: by 10.223.126.145 with SMTP id c17mr1983158fas.102.1239718165897; Tue, 14 Apr 2009 07:09:25 -0700 (PDT) Date: Tue, 14 Apr 2009 15:09:25 +0100 Message-ID: <7619cc20904140709x4f936220rc38df43c83626a5d@mail.gmail.com> From: SEan Strand To: "freebsd-amd64@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Mesa-7.4 Installation Error causing firefox and opera to fail installation. 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, 14 Apr 2009 14:42:01 -0000 This was first notices on FBSD7.1 amd64 after portsnap update and kennel update. The packages: xext, xxf86vm, xdamage, xfixes, xcb-glx all seem to be missing, how ever x11-xcb was foubd and manualy installed. This was all taken from the amd64 OS version. Rgds SEanS ---------- Forwarded message ---------- From: Arjan van Leeuwen Date: 2009/4/14 Subject: Re: installation error To: SEan Strand Hi Sean, On Mon, 13 Apr 2009 19:49:15 +0200, SEan Strand wrote: Good after noon gents, > > Please can you have a good look at the att'd file. then make > recommendation > as to what I do in order to fix the problem and get back into my or your > Opera. > > Thanks a Million, Rgds SEanS. > As you noticed, you are having a problem with installing Mesa. We can't help you with that, since this is a software package that is separate from Opera. I suggest you ask your question on the freebsd-ports@freebsd.org mailing list. If you do so, make sure to include some output of the installation process as well, so that people can check what actually goes wrong. Best regards, Arjan van Leeuwen -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ From owner-freebsd-amd64@FreeBSD.ORG Thu Apr 16 04:13:31 2009 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 B7F4C1065676; Thu, 16 Apr 2009 04:13:31 +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 8078C8FC08; Thu, 16 Apr 2009 04:13:31 +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.3/8.14.3) with ESMTP id n3G4DSHg072600; Thu, 16 Apr 2009 00:13:28 -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.3/8.14.3) with ESMTP id n3G4DSHl071487; Thu, 16 Apr 2009 00:13:28 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 4CFE37302F; Thu, 16 Apr 2009 00:13:28 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090416041328.4CFE37302F@freebsd-current.sentex.ca> Date: Thu, 16 Apr 2009 00:13:28 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp2.sentex.ca 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: Thu, 16 Apr 2009 04:13:32 -0000 TB --- 2009-04-16 02:00:00 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-04-16 02:00:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2009-04-16 02:00:00 - cleaning the object tree TB --- 2009-04-16 02:01:11 - cvsupping the source tree TB --- 2009-04-16 02:01:11 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2009-04-16 02:01:19 - building world TB --- 2009-04-16 02:01:19 - MAKEOBJDIRPREFIX=/obj TB --- 2009-04-16 02:01:19 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-04-16 02:01:19 - TARGET=amd64 TB --- 2009-04-16 02:01:19 - TARGET_ARCH=amd64 TB --- 2009-04-16 02:01:19 - TZ=UTC TB --- 2009-04-16 02:01:19 - __MAKE_CONF=/dev/null TB --- 2009-04-16 02:01:19 - cd /src TB --- 2009-04-16 02:01:19 - /usr/bin/make -B buildworld >>> World build started on Thu Apr 16 02:01:21 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Thu Apr 16 04:01:48 UTC 2009 TB --- 2009-04-16 04:01:48 - generating LINT kernel config TB --- 2009-04-16 04:01:48 - cd /src/sys/amd64/conf TB --- 2009-04-16 04:01:48 - /usr/bin/make -B LINT TB --- 2009-04-16 04:01:48 - building LINT kernel TB --- 2009-04-16 04:01:48 - MAKEOBJDIRPREFIX=/obj TB --- 2009-04-16 04:01:48 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-04-16 04:01:48 - TARGET=amd64 TB --- 2009-04-16 04:01:48 - TARGET_ARCH=amd64 TB --- 2009-04-16 04:01:48 - TZ=UTC TB --- 2009-04-16 04:01:48 - __MAKE_CONF=/dev/null TB --- 2009-04-16 04:01:48 - cd /src TB --- 2009-04-16 04:01:48 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Apr 16 04:01:49 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/geom/part/g_part.c awk -f /src/sys/tools/makeobjops.awk /src/sys/geom/part/g_part_if.m -c ; cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue g_part_if.c cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/geom/part/g_part_apm.c cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/geom/part/g_part_bsd.c cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/geom/part/g_part_ebr.c cc1: warnings being treated as errors /src/sys/geom/part/g_part_ebr.c: In function 'g_part_ebr_fullname': /src/sys/geom/part/g_part_ebr.c:327: warning: field precision should have type 'int', but argument 3 has type 'size_t' *** Error code 1 Stop in /obj/amd64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-04-16 04:13:28 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-04-16 04:13:28 - ERROR: failed to build lint kernel TB --- 2009-04-16 04:13:28 - 6184.82 user 645.54 system 8007.77 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Thu Apr 16 11:20:16 2009 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 E845E106566C; Thu, 16 Apr 2009 11:20:16 +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 BDA4A8FC0C; Thu, 16 Apr 2009 11:20:16 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3GBKGTg040438; Thu, 16 Apr 2009 11:20:16 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3GBKGjH040398; Thu, 16 Apr 2009 11:20:16 GMT (envelope-from gavin) Date: Thu, 16 Apr 2009 11:20:16 GMT Message-Id: <200904161120.n3GBKGjH040398@freefall.freebsd.org> To: bsd@maxnet.ws, gavin@FreeBSD.org, freebsd-amd64@FreeBSD.org, gavin@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: amd64/91492: [boot] BTX halted 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, 16 Apr 2009 11:20:17 -0000 Synopsis: [boot] BTX halted State-Changed-From-To: feedback->closed State-Changed-By: gavin State-Changed-When: Thu Apr 16 11:17:38 UTC 2009 State-Changed-Why: Feedback timeout (~1 year), this problem is believed to be fixed in recent versions of FreeBSD. Responsible-Changed-From-To: freebsd-amd64->gavin Responsible-Changed-By: gavin Responsible-Changed-When: Thu Apr 16 11:17:38 UTC 2009 Responsible-Changed-Why: Track http://www.freebsd.org/cgi/query-pr.cgi?pr=91492 From owner-freebsd-amd64@FreeBSD.ORG Thu Apr 16 11:21:01 2009 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 6C1DC1065670; Thu, 16 Apr 2009 11:21:01 +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 402B88FC21; Thu, 16 Apr 2009 11:21:01 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3GBL1ad044210; Thu, 16 Apr 2009 11:21:01 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3GBL1Zi044184; Thu, 16 Apr 2009 11:21:01 GMT (envelope-from gavin) Date: Thu, 16 Apr 2009 11:21:01 GMT Message-Id: <200904161121.n3GBL1Zi044184@freefall.freebsd.org> To: cdjones@novusordo.net, gavin@FreeBSD.org, freebsd-amd64@FreeBSD.org, gavin@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: amd64/94989: [boot] BTX Halts on Sun Fire X2100 w/6.1-BETA4 (amd64) and 5.4-RELEASE (x86) 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, 16 Apr 2009 11:21:01 -0000 Synopsis: [boot] BTX Halts on Sun Fire X2100 w/6.1-BETA4 (amd64) and 5.4-RELEASE (x86) State-Changed-From-To: feedback->closed State-Changed-By: gavin State-Changed-When: Thu Apr 16 11:20:38 UTC 2009 State-Changed-Why: Feedback timeout (~1 year), this problem is believed to be fixed in recent versions of FreeBSD. Responsible-Changed-From-To: freebsd-amd64->gavin Responsible-Changed-By: gavin Responsible-Changed-When: Thu Apr 16 11:20:38 UTC 2009 Responsible-Changed-Why: Track http://www.freebsd.org/cgi/query-pr.cgi?pr=94989 From owner-freebsd-amd64@FreeBSD.ORG Thu Apr 16 11:23:09 2009 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 74C4E106566B; Thu, 16 Apr 2009 11:23:09 +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 49F8C8FC0C; Thu, 16 Apr 2009 11:23:09 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3GBN961051817; Thu, 16 Apr 2009 11:23:09 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3GBN9q0051813; Thu, 16 Apr 2009 11:23:09 GMT (envelope-from gavin) Date: Thu, 16 Apr 2009 11:23:09 GMT Message-Id: <200904161123.n3GBN9q0051813@freefall.freebsd.org> To: joe4usmc@aol.com, gavin@FreeBSD.org, freebsd-amd64@FreeBSD.org, gavin@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: amd64/111992: [boot] BTX failed - HP Laptop dv2315nr 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, 16 Apr 2009 11:23:09 -0000 Synopsis: [boot] BTX failed - HP Laptop dv2315nr State-Changed-From-To: feedback->closed State-Changed-By: gavin State-Changed-When: Thu Apr 16 11:21:56 UTC 2009 State-Changed-Why: Feedback timeout (~1 year). Although it is hard to say (not enough information in PR), this is likely fixed in recent versions of FreeBSD. Responsible-Changed-From-To: freebsd-amd64->gavin Responsible-Changed-By: gavin Responsible-Changed-When: Thu Apr 16 11:21:56 UTC 2009 Responsible-Changed-Why: Track http://www.freebsd.org/cgi/query-pr.cgi?pr=111992 From owner-freebsd-amd64@FreeBSD.ORG Thu Apr 16 11:29:47 2009 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 E746F1065673; Thu, 16 Apr 2009 11:29:47 +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 BBE848FC0A; Thu, 16 Apr 2009 11:29:47 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3GBTlJM052084; Thu, 16 Apr 2009 11:29:47 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3GBTlIC052080; Thu, 16 Apr 2009 11:29:47 GMT (envelope-from gavin) Date: Thu, 16 Apr 2009 11:29:47 GMT Message-Id: <200904161129.n3GBTlIC052080@freefall.freebsd.org> To: info@tioo.de, gavin@FreeBSD.org, freebsd-amd64@FreeBSD.org, gavin@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: amd64/87258: [smp] [boot] cannot boot with SMP and Areca ARC-1160 raid controller 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, 16 Apr 2009 11:29:48 -0000 Synopsis: [smp] [boot] cannot boot with SMP and Areca ARC-1160 raid controller State-Changed-From-To: feedback->closed State-Changed-By: gavin State-Changed-When: Thu Apr 16 11:29:19 UTC 2009 State-Changed-Why: Feedback timeout (~1 year) Responsible-Changed-From-To: freebsd-amd64->gavin Responsible-Changed-By: gavin Responsible-Changed-When: Thu Apr 16 11:29:19 UTC 2009 Responsible-Changed-Why: Track http://www.freebsd.org/cgi/query-pr.cgi?pr=87258 From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 17 04:11:59 2009 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 3AE47106566B; Fri, 17 Apr 2009 04:11:59 +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 F21458FC0C; Fri, 17 Apr 2009 04:11:58 +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.3/8.14.3) with ESMTP id n3H4BuLQ079619; Fri, 17 Apr 2009 00:11:56 -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.3/8.14.3) with ESMTP id n3H4BuRo026708; Fri, 17 Apr 2009 00:11:56 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id E77097302F; Fri, 17 Apr 2009 00:11:55 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090417041155.E77097302F@freebsd-current.sentex.ca> Date: Fri, 17 Apr 2009 00:11:55 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp2.sentex.ca 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: Fri, 17 Apr 2009 04:11:59 -0000 TB --- 2009-04-17 03:00:00 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-04-17 03:00:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2009-04-17 03:00:00 - cleaning the object tree TB --- 2009-04-17 03:01:20 - cvsupping the source tree TB --- 2009-04-17 03:01:20 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2009-04-17 03:01:30 - building world TB --- 2009-04-17 03:01:30 - MAKEOBJDIRPREFIX=/obj TB --- 2009-04-17 03:01:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-04-17 03:01:30 - TARGET=amd64 TB --- 2009-04-17 03:01:30 - TARGET_ARCH=amd64 TB --- 2009-04-17 03:01:30 - TZ=UTC TB --- 2009-04-17 03:01:30 - __MAKE_CONF=/dev/null TB --- 2009-04-17 03:01:30 - cd /src TB --- 2009-04-17 03:01:30 - /usr/bin/make -B buildworld >>> World build started on Fri Apr 17 03:01:32 UTC 2009 >>> 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 [...] /obj/amd64/src/tmp/usr/lib/libarchive.a(archive_write_set_format_mtree.o)(.text+0xf0a): In function `archive_write_mtree_data': : undefined reference to `SHA384_Update' /obj/amd64/src/tmp/usr/lib/libarchive.a(archive_write_set_format_mtree.o)(.text+0x13e4): In function `archive_write_mtree_header': : undefined reference to `SHA512_Init' /obj/amd64/src/tmp/usr/lib/libarchive.a(archive_write_set_format_mtree.o)(.text+0x1418): In function `archive_write_mtree_header': : undefined reference to `SHA384_Init' /obj/amd64/src/tmp/usr/lib/libarchive.a(archive_write_set_format_mtree.o)(.text+0x14d8): In function `archive_write_mtree_header': : undefined reference to `MD5_Init' *** Error code 1 Stop in /obj/amd64/src/rescue/rescue. *** Error code 1 Stop in /src/rescue/rescue. *** Error code 1 Stop in /src/rescue. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-04-17 04:11:55 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-04-17 04:11:55 - ERROR: failed to build world TB --- 2009-04-17 04:11:55 - 3297.12 user 346.25 system 4315.39 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 17 15:44:31 2009 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 8AC991065692; Fri, 17 Apr 2009 15:44:31 +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 5FA4E8FC1A; Fri, 17 Apr 2009 15:44:31 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3HFiVlA057074; Fri, 17 Apr 2009 15:44:31 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3HFiVVU057070; Fri, 17 Apr 2009 15:44:31 GMT (envelope-from gavin) Date: Fri, 17 Apr 2009 15:44:31 GMT Message-Id: <200904171544.n3HFiVVU057070@freefall.freebsd.org> To: jason.harmening@gmail.com, gavin@FreeBSD.org, freebsd-amd64@FreeBSD.org, kib@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: amd64/133592: [busdma] [patch] busdma incorrectly calculates bounce buffer requirements for userspace buffers 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, 17 Apr 2009 15:44:32 -0000 Synopsis: [busdma] [patch] busdma incorrectly calculates bounce buffer requirements for userspace buffers State-Changed-From-To: open->patched State-Changed-By: gavin State-Changed-When: Fri Apr 17 15:42:59 UTC 2009 State-Changed-Why: Patch has been committed to HEAD, SVN r191011. Responsible-Changed-From-To: freebsd-amd64->kib Responsible-Changed-By: gavin Responsible-Changed-When: Fri Apr 17 15:42:59 UTC 2009 Responsible-Changed-Why: Over to committer as MFC reminder http://www.freebsd.org/cgi/query-pr.cgi?pr=133592 From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 17 17:40:03 2009 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 3F403106568F for ; Fri, 17 Apr 2009 17:40: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 2923D8FC1B for ; Fri, 17 Apr 2009 17:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3HHe2Io007003 for ; Fri, 17 Apr 2009 17:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3HHe2Ga007002; Fri, 17 Apr 2009 17:40:02 GMT (envelope-from gnats) Date: Fri, 17 Apr 2009 17:40:02 GMT Message-Id: <200904171740.n3HHe2Ga007002@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Rolf Grossmann X-Mailman-Approved-At: Fri, 17 Apr 2009 19:00:47 +0000 Cc: Subject: Re: amd64/110655: [threads] 32 bit threaded applications crash on amd64 SMP kernel. X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rolf Grossmann List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2009 17:40:04 -0000 The following reply was made to PR amd64/110655; it has been noted by GNATS. From: Rolf Grossmann To: bug-followup@FreeBSD.org Cc: Subject: Re: amd64/110655: [threads] 32 bit threaded applications crash on amd64 SMP kernel. Date: Fri, 17 Apr 2009 19:17:20 +0200 It now works for me on FreeBSD 7.1 (GENERIC kernel, which includes options SMP, but single cpu): $ uname -m i386 $ cc -o crash32-thr crash32.c -lthr $ cc -o crash32-pthread crash32.c -pthread $ md5 crash32-thr crash32-pthread MD5 (crash32-thr) = 30b58238379b4c3496413f22863c2e86 MD5 (crash32-pthread) = 734e11117fbfd63efb06376cf74430d5 $ ./crash32-thr Thread. $ ./crash32-pthread Thread. $ uname -m amd64 $ md5 crash32-thr crash32-pthread MD5 (crash32-thr) = 30b58238379b4c3496413f22863c2e86 MD5 (crash32-pthread) = 734e11117fbfd63efb06376cf74430d5 $ ./crash32-thr Thread. $ ./crash32-pthread Thread. Can we close this ticket?