From owner-freebsd-fs@freebsd.org Sun Feb 12 18:40:44 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7FC9CDC921 for ; Sun, 12 Feb 2017 18:40:44 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D37A11016 for ; Sun, 12 Feb 2017 18:40:44 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: by mailman.ysv.freebsd.org (Postfix) id CFE0ECDC91F; Sun, 12 Feb 2017 18:40:44 +0000 (UTC) Delivered-To: fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF7D9CDC91E for ; Sun, 12 Feb 2017 18:40:44 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9D0E41014 for ; Sun, 12 Feb 2017 18:40:44 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from router.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id B900A38563; Sun, 12 Feb 2017 19:40:40 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.com Received: from smtp.digiware.nl ([127.0.0.1]) by router.digiware.nl (router.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vIOY-5cVVifH; Sun, 12 Feb 2017 19:40:40 +0100 (CET) Received: from [192.168.10.10] (asus [192.168.10.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 38BA238562 for ; Sun, 12 Feb 2017 19:40:40 +0100 (CET) To: fs@freebsd.org From: Willem Jan Withagen Subject: Ceph for FreeBSD Message-ID: <8ca116c0-fc40-834a-d7b9-d23368d35673@digiware.nl> Date: Sun, 12 Feb 2017 19:40:40 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2017 18:40:45 -0000 Hi, For those that would be interested in this, there is a first port of a large portions of the code made into a port. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217046 Suggests, advice, comments or other contributions are very welcome. --WjW From owner-freebsd-fs@freebsd.org Sun Feb 12 19:41:26 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 605CFCDCC54 for ; Sun, 12 Feb 2017 19:41:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FF47104B for ; Sun, 12 Feb 2017 19:41:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1CJfPMN045353 for ; Sun, 12 Feb 2017 19:41:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 216939] A buffer underflow in the ZFS implementation of vop_vptocnp VFS method Date: Sun, 12 Feb 2017 19:41:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2017 19:41:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216939 --- Comment #2 from commit-hook@freebsd.org --- A commit references this bug: Author: avg Date: Sun Feb 12 19:40:59 UTC 2017 New revision: 313686 URL: https://svnweb.freebsd.org/changeset/base/313686 Log: check remaining space in zfs implementations of vptocnp PR: 216939 Submitted by: Iouri V. Ivliev MFC after: 1 week Changes: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Sun Feb 12 19:42:26 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9EFCCDCCDF for ; Sun, 12 Feb 2017 19:42:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C972F118B for ; Sun, 12 Feb 2017 19:42:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1CJgQ44049288 for ; Sun, 12 Feb 2017 19:42:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 216939] A buffer underflow in the ZFS implementation of vop_vptocnp VFS method Date: Sun, 12 Feb 2017 19:42:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: avg@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2017 19:42:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216939 Andriy Gapon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-fs@FreeBSD.org |avg@FreeBSD.org Status|New |In Progress --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Sun Feb 12 20:12:57 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90DE2CDC701 for ; Sun, 12 Feb 2017 20:12:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 78F3F1384 for ; Sun, 12 Feb 2017 20:12:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1CKCuc1042134 for ; Sun, 12 Feb 2017 20:12:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 216178] ZFS ARC and L2ARC are unrealistically large, maybe after r307265 Date: Sun, 12 Feb 2017 20:12:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2017 20:12:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216178 --- Comment #9 from Andriy Gapon --- Created attachment 179917 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179917&action= =3Dedit the local patch Just to clarify, I am using head plus the local patch, not a vanilla head. The patch should be the same as the one I sent you earlier. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Sun Feb 12 21:01:18 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2F10CDC6C5 for ; Sun, 12 Feb 2017 21:01:18 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CC3B31F9B for ; Sun, 12 Feb 2017 21:01:18 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1CL0159054782 for ; Sun, 12 Feb 2017 21:01:18 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201702122101.v1CL0159054782@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-fs@FreeBSD.org Subject: Problem reports for freebsd-fs@FreeBSD.org that need special attention Date: Sun, 12 Feb 2017 21:01:18 +0000 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2017 21:01:19 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 203492 | mount_unionfs -o below causes panic Open | 136470 | [nfs] Cannot mount / in read-only, over NFS Open | 139651 | [nfs] mount(8): read-only remount of NFS volume d Open | 140068 | [smbfs] [patch] smbfs does not allow semicolon in Open | 144447 | [zfs] sharenfs fsunshare() & fsshare_main() non f Open | 203419 | solaris assert: (dn->dn_phys->dn_nlevels == 0 && Open | 211491 | System hangs after "Uptime" on reboot with ZFS 7 problems total for which you should take action. From owner-freebsd-fs@freebsd.org Mon Feb 13 05:40:14 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 627AECDCA2B for ; Mon, 13 Feb 2017 05:40:14 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.he.net", Issuer "GeoTrust SSL CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 52332D61 for ; Mon, 13 Feb 2017 05:40:14 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from ::ffff:99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (AES128-SHA:SSLv3:Kx=RSA:Au=RSA:Enc=AES(128):Mac=SHA1) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Sun, 12 Feb 2017 21:40:06 -0800 From: David Christensen Subject: Re: FreeBSD 11 and 4+ GB files on optical disc To: FreeBSD Filesystems References: <20170210031741.3d4348f6.freebsd@edvax.de> <4b4145c4-1381-0b95-0e06-46affbb6d851@holgerdanske.com> <20170210101633.4d5da7df@ernst.home> <7827d6b5-dc0f-21a9-873d-6356986485a5@holgerdanske.com> Message-ID: Date: Sun, 12 Feb 2017 21:40:18 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2017 05:40:14 -0000 On 02/10/17 10:46, Freddie Cash wrote: > # kldload udf > # mount -t udf /dev/cd0 /mnt toor@freebsd:/root # kldload udf toor@freebsd:/root # mkdir /mnt/cd0-udf toor@freebsd:/root # mount -t udf /dev/cd0 /mnt/cd0-udf mount_udf: /dev/cd0: Invalid argument > You RTFM'd the wrong M. ;) Pretty much every option can be loaded as a > module at runtime nowadays. > > I found this by doing a simple: > # ls /boot/kernel/*udf* toor@freebsd:/root # l /boot/kernel/*udf* /boot/kernel/udf.ko* /boot/kernel/udf_iconv.ko* > There's also a mount_udf(8) man page to read through. RTFM. Try invoking mount_udf directly: toor@freebsd:/root # mount_udf /dev/cd0 /mnt/cd0-udf mount_udf: /dev/cd0: Invalid argument Try it verbose: root@freebsd:~ # mount_udf -v /dev/cd0 /mnt/cd0-udf mount_udf: /dev/cd0: Invalid argument root@freebsd:~ # mount_udf -v -v -v -v -v -v -v /dev/cd0 /mnt/cd0-udf mount_udf: /dev/cd0: Invalid argument Take a look at the device special file: root@freebsd:~ # ls -l /dev/cd0 crw-r----- 1 root operator 0x58 Feb 12 21:10 /dev/cd0 mount doesn't show it as already being mounted: root@freebsd:~ # mount | grep cd0 I wonder if Xfce has grabbed the device file (?). There is an icon on the desktop with the volume label of the DVD. Right-clicking shows a menu including "Mount Volume", so I don't think Xfce has it mounted. Eject DVD using the button on the drive, exit Xfce, insert DVD, try again from console -- nope, same error message. Any ideas, anyone? David From owner-freebsd-fs@freebsd.org Mon Feb 13 07:51:18 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44547CDDC1F for ; Mon, 13 Feb 2017 07:51:18 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 956AC9FC for ; Mon, 13 Feb 2017 07:51:17 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id JAA27269; Mon, 13 Feb 2017 09:51:09 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1cdBPh-000BVW-K7; Mon, 13 Feb 2017 09:51:09 +0200 Subject: Re: FreeBSD 11 and 4+ GB files on optical disc To: David Christensen , FreeBSD Filesystems References: <20170210031741.3d4348f6.freebsd@edvax.de> <4b4145c4-1381-0b95-0e06-46affbb6d851@holgerdanske.com> <20170210101633.4d5da7df@ernst.home> <7827d6b5-dc0f-21a9-873d-6356986485a5@holgerdanske.com> From: Andriy Gapon Message-ID: <220907b1-f9ad-8711-3eb6-91fa75ea19f9@FreeBSD.org> Date: Mon, 13 Feb 2017 09:50:13 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2017 07:51:18 -0000 On 13/02/2017 07:40, David Christensen wrote: > On 02/10/17 10:46, Freddie Cash wrote: >> # kldload udf >> # mount -t udf /dev/cd0 /mnt > > toor@freebsd:/root # kldload udf > toor@freebsd:/root # mkdir /mnt/cd0-udf > toor@freebsd:/root # mount -t udf /dev/cd0 /mnt/cd0-udf > mount_udf: /dev/cd0: Invalid argument If your disk has iso9660 filesystem on it, then trying to mount it as a UDF filesystem won't work, obviously. P.S. You don't have to thoughtlessly follow any advice you see on the internets :-) >> You RTFM'd the wrong M. ;) Pretty much every option can be loaded as a >> module at runtime nowadays. >> >> I found this by doing a simple: >> # ls /boot/kernel/*udf* > > toor@freebsd:/root # l /boot/kernel/*udf* > /boot/kernel/udf.ko* /boot/kernel/udf_iconv.ko* > > >> There's also a mount_udf(8) man page to read through. > > RTFM. Try invoking mount_udf directly: > > toor@freebsd:/root # mount_udf /dev/cd0 /mnt/cd0-udf > mount_udf: /dev/cd0: Invalid argument > > > Try it verbose: > > root@freebsd:~ # mount_udf -v /dev/cd0 /mnt/cd0-udf > mount_udf: /dev/cd0: Invalid argument > > root@freebsd:~ # mount_udf -v -v -v -v -v -v -v /dev/cd0 /mnt/cd0-udf > mount_udf: /dev/cd0: Invalid argument > > > Take a look at the device special file: > > root@freebsd:~ # ls -l /dev/cd0 > crw-r----- 1 root operator 0x58 Feb 12 21:10 /dev/cd0 > > > mount doesn't show it as already being mounted: > > root@freebsd:~ # mount | grep cd0 > > > I wonder if Xfce has grabbed the device file (?). There is an icon on the > desktop with the volume label of the DVD. Right-clicking shows a menu including > "Mount Volume", so I don't think Xfce has it mounted. > > > Eject DVD using the button on the drive, exit Xfce, insert DVD, try again from > console -- nope, same error message. > > > Any ideas, anyone? -- Andriy Gapon From owner-freebsd-fs@freebsd.org Mon Feb 13 23:22:58 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C353CDE0AD for ; Mon, 13 Feb 2017 23:22:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3B9711777 for ; Mon, 13 Feb 2017 23:22:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1DNMvla096831 for ; Mon, 13 Feb 2017 23:22:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 217062] for file systems mounted with -o noexec, exec=off property does not work for mmap Date: Mon, 13 Feb 2017 23:22:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2017 23:22:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217062 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-fs@FreeBSD.org Summary|file system mounted with -o |for file systems mounted |noexec: exec=3Doff property |with -o noexec, exec=3Do= ff |does not work for mmap |property does not work for | |mmap --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 14 03:06:38 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3A00CDEC68 for ; Tue, 14 Feb 2017 03:06:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E30C31C20 for ; Tue, 14 Feb 2017 03:06:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1E36ch8064992 for ; Tue, 14 Feb 2017 03:06:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 217062] for file systems mounted with -o noexec, exec=off property does not work for mmap Date: Tue, 14 Feb 2017 03:06:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2017 03:06:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217062 Konstantin Belousov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #2 from Konstantin Belousov --- -o noexec only means that execve(2) with a binary living on that filesystem= is disallowed, -o noexec does not disable mmaping with PROT_EXEC. So that par= t of the bug report is not a bug. I am interested in the other part, where mprotect(PROT_EXEC) fails to you. = Can you provide a minimal example which demostrate what you are trying to do and failed syscall ? I want a minimal test program in C. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 14 06:38:41 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AEC9ECD188F for ; Tue, 14 Feb 2017 06:38:41 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.he.net", Issuer "GeoTrust SSL CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9285C19D8 for ; Tue, 14 Feb 2017 06:38:41 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from ::ffff:99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (AES128-SHA:SSLv3:Kx=RSA:Au=RSA:Enc=AES(128):Mac=SHA1) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Mon, 13 Feb 2017 22:38:36 -0800 Subject: Re: FreeBSD 11 and 4+ GB files on optical disc To: FreeBSD Filesystems References: <20170210031741.3d4348f6.freebsd@edvax.de> <4b4145c4-1381-0b95-0e06-46affbb6d851@holgerdanske.com> <20170210101633.4d5da7df@ernst.home> <7827d6b5-dc0f-21a9-873d-6356986485a5@holgerdanske.com> <220907b1-f9ad-8711-3eb6-91fa75ea19f9@FreeBSD.org> From: David Christensen Message-ID: Date: Mon, 13 Feb 2017 22:38:51 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <220907b1-f9ad-8711-3eb6-91fa75ea19f9@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2017 06:38:41 -0000 On 02/12/17 23:50, Andriy Gapon wrote: > On 13/02/2017 07:40, David Christensen wrote: >> On 02/10/17 10:46, Freddie Cash wrote: >>> # kldload udf >>> # mount -t udf /dev/cd0 /mnt >> >> toor@freebsd:/root # kldload udf >> toor@freebsd:/root # mkdir /mnt/cd0-udf >> toor@freebsd:/root # mount -t udf /dev/cd0 /mnt/cd0-udf >> mount_udf: /dev/cd0: Invalid argument > > If your disk has iso9660 filesystem on it, then trying to mount it as a UDF > filesystem won't work, obviously. > > P.S. You don't have to thoughtlessly follow any advice you see on the internets :-) I set up Cygwin on Vista today and did some testing: 2017-02-13 22:28:37 admin@vista ~ $ ls -l /cygdrive/d total 4355764 -r--r--r-- 1 admin None 4460298272 Feb 9 08:52 201701_TAR.CPT -r--r--r-- 1 admin None 81 Feb 9 09:00 201701_TAR_CPT.SHA256 2017-02-13 22:29:42 admin@vista ~ $ time sha256sum -b /cygdrive/d/201701_TAR.CPT 87b0ba7ed7e706f55f571ec73daad0a2ab9820de9db8e0c889ba8541b5b8f40e */cygdrive/d/201701_TAR.CPT real 4m51.455s user 0m26.052s sys 0m0.982s 2017-02-13 22:34:35 admin@vista ~ $ cat /cygdrive/d/201701_TAR_CPT.SHA256 87b0ba7ed7e706f55f571ec73daad0a2ab9820de9db8e0c889ba8541b5b8f40e *201701.tar.cpt File size is correct, file mtime is correct, contents can be read correctly, but file names are mangled (I missed that before?). So, do I file a bug report? /usr/src/sys/fs/cd9660? David From owner-freebsd-fs@freebsd.org Tue Feb 14 10:42:23 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 962F4CDF84D for ; Tue, 14 Feb 2017 10:42:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6BDDC14BD for ; Tue, 14 Feb 2017 10:42:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1EAgNdm026288 for ; Tue, 14 Feb 2017 10:42:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 217062] for file systems mounted with -o noexec, exec=off property does not work for mmap Date: Tue, 14 Feb 2017 10:42:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: shamaz.mazum@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2017 10:42:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217062 --- Comment #3 from shamaz.mazum@gmail.com --- Created attachment 179980 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179980&action= =3Dedit Minimal test (In reply to Konstantin Belousov from comment #2) Oh, I thought noexec means complete 100% protection from any execution ;) B= ut I have some doubts. What does the following code means in sys/kern/vfs_vnops.= c ? /* * Ensure that file and memory protections are * compatible. Note that we only worry about * writability if mapping is shared; in this case, * current and max prot are dictated by the open file. * XXX use the vnode instead? Problem is: what * credentials do we use for determination? What if * proc does a setuid? */ mp =3D vp->v_mount; if (mp !=3D NULL && (mp->mnt_flag & MNT_NOEXEC) !=3D 0) maxprot =3D VM_PROT_NONE; else maxprot =3D VM_PROT_EXECUTE; if ((fp->f_flag & FREAD) !=3D 0) maxprot |=3D VM_PROT_READ; else if ((prot & VM_PROT_READ) !=3D 0) return (EACCES); The source is vn_map() function in source src/sys/kern/vfs_vnops.c A minimal test as you asked. Compile it and launch with any file on no-exec filesystem as its only argument. It tries to do mmap() and mprotect() and returns results --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 14 19:22:07 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9BFBCDFD6F for ; Tue, 14 Feb 2017 19:22:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C945B1B66 for ; Tue, 14 Feb 2017 19:22:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1EJM7XY030739 for ; Tue, 14 Feb 2017 19:22:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 217062] for file systems mounted with -o noexec, exec=off property does not work for mmap Date: Tue, 14 Feb 2017 19:22:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2017 19:22:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217062 --- Comment #4 from Konstantin Belousov --- (In reply to shamaz.mazum from comment #3) The fragment you cited is exactly the cause why mprotect(2) call in your te= st program fails. mprotect(2) checks that new protection is a subset of the maxprot. That said, my opinion is that disallowing PROT_EXEC for mappings from -o no= exec mounts is useless. If you determined, there is nothing which could prevent= you from mapping anonymous memory, copying data from the file into it, and then executing. OTOH, I admit that there is inconsistency between mmap(2) and mprotect(2), which was introduced by r127187. The patch I attached fixes that, but I wo= nder would it be more useful to revert the mentioned revision instead. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 14 19:23:06 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5EE4ECDFDD3 for ; Tue, 14 Feb 2017 19:23:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E6AF1C69 for ; Tue, 14 Feb 2017 19:23:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1EJN6qx034246 for ; Tue, 14 Feb 2017 19:23:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 217062] for file systems mounted with -o noexec, exec=off property does not work for mmap Date: Tue, 14 Feb 2017 19:23:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2017 19:23:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217062 --- Comment #5 from Konstantin Belousov --- Created attachment 179995 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179995&action= =3Dedit For MNT_NOEXEC mounts, disallow PROT_EXEC in prot as well. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 14 20:21:35 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AB47CDFC84 for ; Tue, 14 Feb 2017 20:21:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3A15A1AAC for ; Tue, 14 Feb 2017 20:21:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1EKLYI5086906 for ; Tue, 14 Feb 2017 20:21:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 217062] for file systems mounted with -o noexec, exec=off property does not work for mmap Date: Tue, 14 Feb 2017 20:21:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: shamaz.mazum@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2017 20:21:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217062 --- Comment #6 from shamaz.mazum@gmail.com --- (In reply to Konstantin Belousov from comment #4) Thanks for the fix. This discrepancy between mmap and mprotect made me think that there was a bug there. If you are interested, I noticed that, as I said before, trying to launch SBCL (Steel Bank Common Lisp) with a core image st= ored in my home no-exec file system. It failed to start because it maps core ima= ge in memory and then calls mprotect for those mappings. But when I opened a shared library using foreign functions interface, it worked perfectly (I believe dynamic linker uses mmap). > If you determined, there is nothing which could prevent you from mapping = anonymous memory, copying data from the file into it, and then executing. Yes, you are right. Too bad for my paranoia ;) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Wed Feb 15 14:39:35 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20FBFCDF2F8 for ; Wed, 15 Feb 2017 14:39:35 +0000 (UTC) (envelope-from ppauly@gmail.com) Received: from mail-yw0-x22b.google.com (mail-yw0-x22b.google.com [IPv6:2607:f8b0:4002:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C986A1A44 for ; Wed, 15 Feb 2017 14:39:34 +0000 (UTC) (envelope-from ppauly@gmail.com) Received: by mail-yw0-x22b.google.com with SMTP id v200so82603108ywc.3 for ; Wed, 15 Feb 2017 06:39:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=9m+VGJvQmpeAS0TsZkGtUntohx4GV+16j1SjWXgNs0c=; b=TQCfFDwRSB8zYamIQsnNXcPQ+CqCbS2MSzaZTRjn91lhxf1n0Q1Ad+WiCWTItWrFJK 9aZOPe4Rf0pKhqUYydwzSIR/ZNbRNKFZ2g19uzG6rMypS/Q80IKCRQr+E0cSnbMd0vhK trf6rsmWrN+BQtJR+GR4n48pVk7uX/zkdPHWG5Qu37E4qdqxH4pH3XlxQPqVMFhBG7Bx e2/34RqfAWv7aOSsp1KvsjFHKDFq8PTCK7f6enRSx+0tBbHAv9SWYOHPIHgOluqKzMOX b2nhp141F6/NxXZ2x7bn0ePa6K3OT6pGOWGZqoSLs5BmzZSHGofE4U0eaplyAoZQo1to 9tiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=9m+VGJvQmpeAS0TsZkGtUntohx4GV+16j1SjWXgNs0c=; b=WlHcCyBoI/bgnZKDOWjDnZsF5pmCiRKNp1e/j2JBsZWE+/bqNhlqd8Yetbr1gECsuu dyvNLNLWO4/hog/1ex+sFpj5GCAWw94HC0Df9aRc2r1v8CsoUTMU10BA66us7WCAyBDa IPmz6qPPQ7eLCAQ5ho/BPVtzxVekfD3RXhFXxe5Yns3NHtiot1EZCqYd0XNiFOpOljYT /922165HiYfzx+3oAIrBWqRBfs0Jb2L5FDkz0Rg5P3+WerZOewJspI4n/wbu1J5sSGPR WPuC7sEH3mDWSIjWPde15lOQDG4PYIwshQiyWXx5KeAFuhZAjqF4hcrph/JAIx6dN20t ZG/Q== X-Gm-Message-State: AMke39lrJTeX1tYB+kyHI4Tw356Ofi8kzO5/vvExB+t54WIkVwnE8B/d4PED0iqDts384Nd0o6+4+3BNwFT8sg== X-Received: by 10.13.238.1 with SMTP id x1mr24827264ywe.342.1487169573695; Wed, 15 Feb 2017 06:39:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.13.251.71 with HTTP; Wed, 15 Feb 2017 06:39:33 -0800 (PST) From: Peter Pauly Date: Wed, 15 Feb 2017 09:39:33 -0500 Message-ID: Subject: Moving a bootable ZFS USB between systems To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2017 14:39:35 -0000 I installed FreeBSD 11 with an encrypted GELI root and ZFS (zroot) on a USB stick. My intention was to boot off of it on several systems. It works fine on the original system but not on a second system. I get this message: Mounting from zfs:zroot/ROOT/default failed with error 5. The USB stick is da0. The geli part looks like it works, but the zfs mount fails. Should I be able to move the stick between systems or do I need to do a zpool export zroot first? If so, where is the best place to put this (rc.shutdown?) I asked this question on freebsd-questions and didn't get a response. Thanks for your help. From owner-freebsd-fs@freebsd.org Wed Feb 15 15:42:18 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3106CE09FF for ; Wed, 15 Feb 2017 15:42:18 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.31.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 73826F81 for ; Wed, 15 Feb 2017 15:42:18 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from [78.35.162.76] (helo=fabiankeil.de) by smtprelay05.ispgateway.de with esmtpsa (TLSv1.2:AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1ce17P-00088C-7X; Wed, 15 Feb 2017 16:03:43 +0100 Date: Wed, 15 Feb 2017 16:02:54 +0100 From: Fabian Keil To: Peter Pauly Cc: freebsd-fs@freebsd.org Subject: Re: Moving a bootable ZFS USB between systems Message-ID: <20170215160254.696d3a1e@fabiankeil.de> In-Reply-To: References: Reply-To: freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/Dm7sIy+HoSrZizgb0G3lPpU"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2017 15:42:18 -0000 --Sig_/Dm7sIy+HoSrZizgb0G3lPpU Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Peter Pauly wrote: > I installed FreeBSD 11 with an encrypted GELI root and ZFS (zroot) on a > USB stick. My intention was to boot off of it on several systems. It > works fine on the original system but not on a second system. >=20 > I get this message: > Mounting from zfs:zroot/ROOT/default failed with error 5. >=20 > The USB stick is da0. >=20 > The geli part looks like it works, but the zfs mount fails. Assuming the boot ends at the mountroot prompt, this is likely the result of a known bug that is only triggered on some systems: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208882 You could try the patch from the PR. It has been included in ElectroBSD since more than a year now without causing any known issues. > Should I be able to move the stick between systems or do I need to do a > zpool export zroot first? If so, where is the best place to put this > (rc.shutdown?) In general, moving USB sticks around should not require any special steps. Fabian --Sig_/Dm7sIy+HoSrZizgb0G3lPpU Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTKUNd6H/m3+ByGULIFiohV/3dUnQUCWKRtnwAKCRAFiohV/3dU nRWUAJ4xhNvxn5DIHi1/8rn1Ip9GNZiMxgCeJXSrR5VOffy/1y+P2gfgsQQTEb0= =/sD2 -----END PGP SIGNATURE----- --Sig_/Dm7sIy+HoSrZizgb0G3lPpU-- From owner-freebsd-fs@freebsd.org Wed Feb 15 15:43:01 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8609ECE0A52 for ; Wed, 15 Feb 2017 15:43:01 +0000 (UTC) (envelope-from ppauly@gmail.com) Received: from mail-yb0-x22a.google.com (mail-yb0-x22a.google.com [IPv6:2607:f8b0:4002:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45E6D1039 for ; Wed, 15 Feb 2017 15:43:01 +0000 (UTC) (envelope-from ppauly@gmail.com) Received: by mail-yb0-x22a.google.com with SMTP id 123so45784798ybe.3 for ; Wed, 15 Feb 2017 07:43:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=nAnSnx8A5b5wkzxtPxwV+LA2OqyytP9K3OVkj/PIL3E=; b=dF20xyVBhoAI0hvxR7z48WrAsaI8yYx2sR0MfQZIbibL66gpZC+1BJJU27XpVeG4Iv J1t5gzqs+aioBvNVmegsMPq4cN4e87zmnALDv4SWVoW3IweiIs0pqJd/eR3yqa5cH3wJ 8YxfMo62M1UBBjoq8iQnOvNcYCo+X4WXVLX93PmOfGX+GwXYmFplVl1CgGyK5TJEn68d GZP9IlBfRPSoj6UbmItakpQ3mEYZakYqGhvxaEy8qZbEp6TzRhLnSlF7JV7GwOVXwpnQ uQGnPyqleTUMNs6858ezoNOuXkFi0F5gqZ065H1e++7xOxf4NLzYkw5AvCsCQH5cfqah xZqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=nAnSnx8A5b5wkzxtPxwV+LA2OqyytP9K3OVkj/PIL3E=; b=SD4kTq2MfgZ7JI3QVsq3x5IO0SZ8XhF0CKuqWds2atGYEVdPGJhSUFUHn3Zc5yGJiI 0ZerR51xjuImJ5bm69QvkiJ9zSavRImQmQiyWkKHhVvWU6HzGySfJ1HBSjm/kTmOB4N/ ujR6kQ6KqJVPg+BVCXTH64rNUmoqkzkNQ9OO1dyJIQ/UUuLRjCmJXNHp3fT5sfu9LDQA 9JlLf48yVCu6adjp+fSw77u5oNzrfDWfqoYO1spT2kvUihFbpF9xC16cSXav1cGqzm6c DyZx5GMUDkWyLKrb0URORNGOEUHrjRLoXi0J6KewQnx46lLYuerULE2goUHLXEEDo4QQ Igew== X-Gm-Message-State: AMke39mgikV4qGC5vy2B9L4ZRYDH9av1M37Z/TfZNaxtTCmXdn25Clh6b02eX+fo8yfkguC5Ii6BmtIYs3ke2A== X-Received: by 10.37.199.197 with SMTP id w188mr26002944ybe.4.1487173380178; Wed, 15 Feb 2017 07:43:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.13.251.71 with HTTP; Wed, 15 Feb 2017 07:42:59 -0800 (PST) In-Reply-To: <20170215160254.696d3a1e@fabiankeil.de> References: <20170215160254.696d3a1e@fabiankeil.de> From: Peter Pauly Date: Wed, 15 Feb 2017 10:42:59 -0500 Message-ID: Subject: Re: Moving a bootable ZFS USB between systems To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2017 15:43:01 -0000 I didn't realize I could retry the mount by typing in zfs:zroot/ROOT/default at the mountroot> prompt. I hadn't even seen the prompt previously because of output that came out over the top of it. I retried the mount and it finished booting correctly. I'm currently not savvy enough with FreeBSD to do source builds, I'll have to read up on that. I've done it on OpenBSD for errata patches so it can't be too bad. Thanks for your help Fabian. On Wed, Feb 15, 2017 at 10:02 AM, Fabian Keil wrote: > Peter Pauly wrote: > > > I installed FreeBSD 11 with an encrypted GELI root and ZFS (zroot) on a > > USB stick. My intention was to boot off of it on several systems. It > > works fine on the original system but not on a second system. > > > > I get this message: > > Mounting from zfs:zroot/ROOT/default failed with error 5. > > > > The USB stick is da0. > > > > The geli part looks like it works, but the zfs mount fails. > > Assuming the boot ends at the mountroot prompt, this is likely the > result of a known bug that is only triggered on some systems: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208882 > > You could try the patch from the PR. It has been included in > ElectroBSD since more than a year now without causing any known > issues. > > > Should I be able to move the stick between systems or do I need to do a > > zpool export zroot first? If so, where is the best place to put this > > (rc.shutdown?) > > In general, moving USB sticks around should not require any special steps. > > Fabian > From owner-freebsd-fs@freebsd.org Wed Feb 15 19:06:06 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0CDB9CE0711 for ; Wed, 15 Feb 2017 19:06:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F0E391093 for ; Wed, 15 Feb 2017 19:06:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1FJ65gS019669 for ; Wed, 15 Feb 2017 19:06:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 210316] panic after trying to r/w mount msdosfs on write protected media Date: Wed, 15 Feb 2017 19:06:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2017 19:06:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210316 --- Comment #2 from Andriy Gapon --- A reference to a similar report: https://lists.freebsd.org/pipermail/freebsd-current/2016-June/062061.html --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Wed Feb 15 23:04:48 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 257C2CE09DB for ; Wed, 15 Feb 2017 23:04:48 +0000 (UTC) (envelope-from bounce-mc.us15_68423021.57717-freebsd-fs=freebsd.org@mail68.atl11.rsgsv.net) Received: from mail68.atl11.rsgsv.net (mail68.atl11.rsgsv.net [205.201.133.68]) by mx1.freebsd.org (Postfix) with ESMTP id EE78A14EE for ; Wed, 15 Feb 2017 23:04:47 +0000 (UTC) (envelope-from bounce-mc.us15_68423021.57717-freebsd-fs=freebsd.org@mail68.atl11.rsgsv.net) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=k1; d=mail68.atl11.rsgsv.net; h=Subject:From:Reply-To:To:Date:Message-ID:List-ID:List-Unsubscribe:Sender:Content-Type:MIME-Version; i=sales=3Ducrental.com@mail68.atl11.rsgsv.net; bh=Or79Hv9Fr9WPYifn5ab4bQwwprU=; b=WtSVjFgvJUxwI7nCeL8XRGfmYivdlsLHLxP7KuiOfnQwlqEeryh3/zGwqDUx4r7xYAk/lB67LWFa qr+mGYv29GzzyOCMHftrxv4P4vzj16qjkDaB+Rofop6aQTvro5gv7PTM08QJdd/IIGBoxnCP9DD2 dU1V2xUNL0PGCwJunOk= Received: from (127.0.0.1) by mail68.atl11.rsgsv.net id hkjf901lgi06 for ; Wed, 15 Feb 2017 22:49:41 +0000 (envelope-from ) Subject: =?utf-8?Q?Exhibitor=20Discounts?= From: =?utf-8?Q?Universal=20Computer=20Rental?= Reply-To: =?utf-8?Q?Universal=20Computer=20Rental?= To: Date: Wed, 15 Feb 2017 22:49:41 +0000 Message-ID: <22f1889468fca0d70d94eb6a7.157fb274b9.20170215224935.30de36e205.a798f4e6@mail68.atl11.rsgsv.net> X-Mailer: MailChimp Mailer - **CID30de36e205157fb274b9** X-Campaign: mailchimp22f1889468fca0d70d94eb6a7.30de36e205 X-campaignid: mailchimp22f1889468fca0d70d94eb6a7.30de36e205 X-Report-Abuse: Please report abuse for this campaign here: http://www.mailchimp.com/abuse/abuse.phtml?u=22f1889468fca0d70d94eb6a7&id=30de36e205&e=157fb274b9 X-MC-User: 22f1889468fca0d70d94eb6a7 X-Feedback-ID: 68423021:68423021.57717:us15:mc X-Accounttype: ff Sender: "Universal Computer Rental" x-mcda: FALSE MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format="fixed" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2017 23:04:48 -0000 Universal Computer Rental 909-627-2089 Online Request Form (http://ucrental.us15.list-manage.com/track/click?u=3D= 22f1889468fca0d70d94eb6a7&id=3D455da5b3ed&e=3D157fb274b9) With over 22 years of tradeshow experience we have provided top of the lin= e computer and audio visual equipment rentals from top equipment manufactu= rers like Panasonic=2C Samsung & Acer. We specialize in helping exhibitors= and organizers alike with the right mixture of equipment and technologies= and have developed a solid reputation for on-time delivery=2C customer fo= cus and very competitive=C3=82 prices. Please provide us with the opportunity to assist and meet your needs for t= he Scale 15X Expo 2017 in Pasadena=2C CA. Below is a small sample of what= we can do for you if equipment needed is not listed please call. Trade Show Special Prices are for Entire Length of Show Not Per Day: 32=C3=A2 LED HDMI 1080p Package Includes a Table Top Stand or a=C3=82 Pole= Stand W/Shelving DVD Player $295 37" LED HDMI 1080p Package Includes a Table Top Stand or a=C3=82 Pole Stan= d W/Shelving DVD Player $350 42=C3=A2 LED HDMI 1080p Package Includes a Table Top Stand or a Dual Pole Stand W/Shelving DVD Player $475 50=C3=A2 LED HDMI 1080p Package Includes a Table Top Stand or a Dual Pole Stand W/Shelving DVD Player=C3=82 $575 55=C3=A2 LED HDMI 1080p Package Includes a Table Top Stand or a Dual Pole Stand W/Shelving DVD Player=C3=82 $625 60=C3=A2 Plasma HDMI 1080p Package Includes a Table Top Stand or a Dual Pole Stand W/Shelving DVD Player=C3=82 =C3=82 $925 PC =C3=A2 3.0GHz=2C 6 Core=2C 4GRam=2C 500GHD=2C DVD/RW=2C 10-1000NIC=2C 22=C3=A2 LCD Monitor Included!!!=C3=82 $200 MacBook Pro Intel i5 =2C 6GB Ram w/dongle=2C OFFICE 2011 $195 HP Printer 4200/Jetdirect=C3=82 $125 BluRay Player 1080p Region Free=C3=82 =C3=82 =C3=82 =C3=82 $115 APPLE iPad Gen 4 16GB Model Tablet-A6X WIFI/2X Camera 19.7" 2048 x 1536 Retina Black WIFI ONLY $225 iPad Table Top Stand with lock for iPad 1=2C2=2C3=2C & 4 Generation & Air= $45 Standing Floor Kiosk for iPad=C3=82 Gen 2=2C3=2C4 & Air $95 MICROSOFT SURFACE PRO 3 i5 128GB/WIFI/2X CAMERA/12" 2160 X 1440 12" TABLET WINDOWS 8.1 PRO TABLET $295 MICROSOFT SURFACE PRO 4 i5 128GB/WIFI/2X CAMERA/12" PIXEL SENSE 12" TABLET= WINDOWS 8.1 PRO TABLET $325 Visit us at www.ucrental.com or sales@ucrental.com=C3=82 call 1-909 627-2= 089 http://ucrental.us15.list-manage1.com/track/click?u=3D22f1889468fca0d70d94= eb6a7&id=3Dbd6cce520c&e=3D157fb274b9 This email was sent to freebsd-fs@freebsd.org (mailto:freebsd-fs@freebsd.org) why did I get this? (http://ucrental.us15.list-manage.com/about?u=3D22f188= 9468fca0d70d94eb6a7&id=3D5e44ba4ba3&e=3D157fb274b9&c=3D30de36e205) =C3=82= =C3=82 =C3=82 =C3=82 unsubscribe from this list (http://ucrental.us15.lis= t-manage.com/unsubscribe?u=3D22f1889468fca0d70d94eb6a7&id=3D5e44ba4ba3&e= =3D157fb274b9&c=3D30de36e205) =C3=82 =C3=82 =C3=82 =C3=82 update subscriptio= n preferences (http://ucrental.us15.list-manage1.com/profile?u=3D22f188946= 8fca0d70d94eb6a7&id=3D5e44ba4ba3&e=3D157fb274b9) Universal Computer Rental . 12425 Mills Ave=2C Chino=2C CA=2C 91710 . Chin= o Hills=2C Ca 91709 . USA Email Marketing Powered by MailChimp http://www.mailchimp.com/monkey-rewards/?utm_source=3Dfreemium_newsletter&= utm_medium=3Demail&utm_campaign=3Dmonkey_rewards&aid=3D22f1889468fca0d70d9= 4eb6a7&afl=3D1 From owner-freebsd-fs@freebsd.org Thu Feb 16 17:14:00 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08AE4CE1875 for ; Thu, 16 Feb 2017 17:14:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E3F86164D for ; Thu, 16 Feb 2017 17:13:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1GHDxN2056764 for ; Thu, 16 Feb 2017 17:13:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 212608] nfsd(8) listens on UDP port 2049, but it is reported incorrectly in sockstat(1) and lsof(8) Date: Thu, 16 Feb 2017 17:14:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2017 17:14:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212608 Conrad Meyer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cem@freebsd.org --- Comment #3 from Conrad Meyer --- It seems the UDP socket is opened by userspace too: https://github.com/freebsd/freebsd/blob/master/usr.sbin/nfsd/nfsd.c#L463-L4= 91 However, we pass the UDP socket into the kernel with nfssvc_addsock and clo= se the userspace copy. We keep the TCP one open in order to do accept(2). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Thu Feb 16 18:24:03 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B191ACE2AA2 for ; Thu, 16 Feb 2017 18:24:03 +0000 (UTC) (envelope-from Shiva.Bhanujan@Quorum.net) Received: from mail.quorumlabs.com (mail.quorum.net [64.74.133.216]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.quorumlabs.com", Issuer "mail.quorumlabs.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A2B8B18C9 for ; Thu, 16 Feb 2017 18:24:03 +0000 (UTC) (envelope-from Shiva.Bhanujan@Quorum.net) Received: from QLEXC01.Quorum.local ([fe80::79eb:fde8:ed8e:5648]) by QLEXC01.Quorum.local ([fe80::79eb:fde8:ed8e:5648%14]) with mapi id 14.02.0318.001; Thu, 16 Feb 2017 10:22:52 -0800 From: Shiva Bhanujan To: "freebsd-fs@freebsd.org" Subject: FreeBSD restartable send/receive over WAN Thread-Topic: FreeBSD restartable send/receive over WAN Thread-Index: AdKIga96XkuYo0TvTyGgnDeYS4b6VA== Date: Thu, 16 Feb 2017 18:22:52 +0000 Message-ID: <3A5A10BE32AC9E45B4A22F89FC90EC0701BDB0FD40@QLEXC01.Quorum.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.20.7.74] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2017 18:24:03 -0000 Hello, I was wondering if restartable send/receive is available in FreeBSD? We're= running 10.2 and have a requirement of sending and receiving ZFS snapshots= over a WAN link. The snapshots could be more than a few terabytes. Can somebody please give me pointers, and if this feature is or isn't avail= able in FreeBSD? Regards, Shiva From owner-freebsd-fs@freebsd.org Thu Feb 16 18:50:47 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3ED77CE00CA for ; Thu, 16 Feb 2017 18:50:47 +0000 (UTC) (envelope-from nowakpl@platinum.linux.pl) Received: from platinum.edu.pl (platinum.edu.pl [137.74.1.182]) by mx1.freebsd.org (Postfix) with ESMTP id 052EA181C for ; Thu, 16 Feb 2017 18:50:46 +0000 (UTC) (envelope-from nowakpl@platinum.linux.pl) Received: from platinum.edu.pl (localhost [127.0.0.1]) by platinum.edu.pl (Postfix) with ESMTP id 39B4878026A for ; Thu, 16 Feb 2017 19:42:19 +0100 (CET) Received: by platinum.edu.pl (Postfix, from userid 87) id 26FFD780268; Thu, 16 Feb 2017 19:42:19 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on platinum.edu.pl X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=ALL_TRUSTED autolearn=disabled version=3.4.1 Received: from [10.255.1.11] (unknown [109.231.16.141]) by platinum.edu.pl (Postfix) with ESMTPA id 73B99780268 for ; Thu, 16 Feb 2017 19:42:17 +0100 (CET) Subject: Re: FreeBSD restartable send/receive over WAN To: freebsd-fs@freebsd.org References: <3A5A10BE32AC9E45B4A22F89FC90EC0701BDB0FD40@QLEXC01.Quorum.local> From: Adam Nowacki Message-ID: Date: Thu, 16 Feb 2017 19:41:21 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <3A5A10BE32AC9E45B4A22F89FC90EC0701BDB0FD40@QLEXC01.Quorum.local> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2017 18:50:47 -0000 On 2017-02-16 19:22, Shiva Bhanujan wrote: > Hello, > > I was wondering if restartable send/receive is available in FreeBSD? We're running 10.2 and have a requirement of sending and receiving ZFS snapshots over a WAN link. The snapshots could be more than a few terabytes. > > Can somebody please give me pointers, and if this feature is or isn't available in FreeBSD? FreeBSD 10.3 and later. From owner-freebsd-fs@freebsd.org Thu Feb 16 21:33:45 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 840E8CE2903 for ; Thu, 16 Feb 2017 21:33:45 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-qk0-x231.google.com (mail-qk0-x231.google.com [IPv6:2607:f8b0:400d:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3E7081BEB for ; Thu, 16 Feb 2017 21:33:45 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mail-qk0-x231.google.com with SMTP id 11so28115020qkl.3 for ; Thu, 16 Feb 2017 13:33:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=csAzwWmLgV5dk5k+ZaZ0d4VUZvz4nBdM9rYpuLvl/Po=; b=hx/++rVwma+gLF+N41a79F0xP1mVZnJnioSuYc5nKDDg4Zfv8WsTGK4RweAj1aL122 n+KyA1txJ9CmXVH6PqrMK/eRuTXb5dAspO9NvPHh0MHwYNjdhzuxuiiMFG/uLxRzPXK+ fq6nTTqvdGLwteKKU6LvnPPg3w302n1/fxBrnmeIwPnIYB/buzN6P2w4Dr+2LGzDvLEB v46aGIOOQA/MAqdwSzNvMFXfEkdGoyW479vBnd4OPLxanjJqDpna5ZjulOSNOecyoJ51 6xGhBma+mH3nSRdWZMYCHjuKY0G4DdSOkzgbKMGA5x4picszSYd6yx90/DQaLuiez5v3 LB1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=csAzwWmLgV5dk5k+ZaZ0d4VUZvz4nBdM9rYpuLvl/Po=; b=qybB8ucL8NMNuDb1G0wVbrUxZl8YURTyIRdtxi88RK8ssem1hhfnS+TrApG6HeOAq1 e1gTWjz1JZ8VsE1psG8uuvzFBlgKe00XElMFj+byIWw/sczD0kMG3Ysh4XtT6pGJDfdp kWWZ+p3BkEVCxUBjWHWoeFbwSQw+nBE2ckbCacxfRbzBtpNf0hPyuO86T0WvRfNAoC8v YGxpOnS4E1gWff00p4w0AQhh2ErWohbfQtr38t2g0J6M62RS8N+s3I2C+qXHK5CDDl9L KIlea2jHMRAT0TyK2hQqRLzJkWMvDGop0ug4Yr+LmT1yMc17io7QrgUMZX5sfF84UGj7 biQA== X-Gm-Message-State: AMke39mCjAnV3F/C39V/fqCx/ysMX/z37kuFuKbExDClQ+y2oe8JpAHlOdrntYEo1mSM1F39Mi3oqI5YGYuPjw== X-Received: by 10.55.192.65 with SMTP id o62mr3996772qki.10.1487280824270; Thu, 16 Feb 2017 13:33:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.28.202 with HTTP; Thu, 16 Feb 2017 13:33:43 -0800 (PST) In-Reply-To: References: From: Freddie Cash Date: Thu, 16 Feb 2017 13:33:43 -0800 Message-ID: Subject: Re: Check status of background destroy To: Xin LI Cc: FreeBSD Filesystems Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2017 21:33:45 -0000 On Fri, Jan 6, 2017 at 9:03 AM, Freddie Cash wrote: > On Wed, Jan 4, 2017 at 10:43 AM, Xin LI wrote: > >> Try setting vfs.zfs.free_max_blocks to 100000 (this is an arbitrary >> number, can be larger, limits maximum blocks being freed per txg; see >> https://svnweb.freebsd.org/base?view=3Drevision&revision=3D271532 for >> details). >> >> You can inspect the progress with DTrace by looking at zfs-dbgmsg. >> > > =E2=80=8BThis is looking promising. > > Booting off an 11.0-based mfsBSD didn't work (locked up after "Trying to > mount root from /dev/md0"). > > Booting off a 10.3-based mfsBSD worked. Set that sysctl, then imported > the pool without issues. The box has now been running for just over 24 > hours. > > ARC is sitting at 93 GB, with Wired at 116 GB. Previously, the ARC would > only be around 10 GB with Wired over 120 GB. "zpool iostat" shows lots o= f > reads and writes happening to the pool. And the Avail space is slowly > ticking upwards. > > Now just need to wait and see how long it takes to free up all 40 TB of > referenced space. :) > > Thanks for the info! > > =E2=80=8BJust to close out this thread, the 11.0-based mfsBSD LiveCD work= ed to allow the background destroy to complete successfully. Afterward, I was able to import the storage pool back into the 10.3 install running off the root pool.=E2=80=8B This server is back online and running normally. Thanks for all the help and pointers everyone! --=20 Freddie Cash fjwcash@gmail.com From owner-freebsd-fs@freebsd.org Thu Feb 16 22:33:25 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4E6A6CE2294 for ; Thu, 16 Feb 2017 22:33:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3DFE91368 for ; Thu, 16 Feb 2017 22:33:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1GMXPCo075552 for ; Thu, 16 Feb 2017 22:33:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 212608] nfsd(8) listens on UDP port 2049, but it is reported incorrectly in sockstat(1) and lsof(8) Date: Thu, 16 Feb 2017 22:33:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: woodsb02@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2017 22:33:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212608 --- Comment #4 from Ben Woods --- Hi Conrad, Thanks for that description - it makes sense. It's still surprising from a user's point of view to see ? in the output of sockstat. Can you think of any way this could be improved? Could sockstat report it is being used by the kernel, or even better nfs within the kernel? --=20 You are receiving this mail because: You are the assignee for the bug.=