From owner-freebsd-fs@freebsd.org Sun Mar 19 01:32:54 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 E089FD11298 for ; Sun, 19 Mar 2017 01:32:54 +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 D05F51286 for ; Sun, 19 Mar 2017 01:32:54 +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 v2J1WsQR063375 for ; Sun, 19 Mar 2017 01:32:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 217879] [ufs] couple of cppcheck findings Date: Sun, 19 Mar 2017 01:32:54 +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: patch 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 keywords 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: Sun, 19 Mar 2017 01:32:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217879 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-fs@FreeBSD.org Keywords| |patch Summary|couple of cppcheck findings |[ufs] couple of cppcheck | |findings --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Sun Mar 19 10:15:53 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 0012CD11BCF for ; Sun, 19 Mar 2017 10:15:52 +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 E306D759 for ; Sun, 19 Mar 2017 10:15:52 +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 v2JAFp04054393 for ; Sun, 19 Mar 2017 10:15:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 208882] zfs root filesystem mount failure on startup in FreeBSD 10.3-RELEASE if USB hdd with zpool is attached to another port Date: Sun, 19 Mar 2017 10:15:51 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: julian@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: Sun, 19 Mar 2017 10:15:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208882 Julian Elischer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julian@FreeBSD.org --- Comment #9 from Julian Elischer --- I confirm that the retry strategy for ZFS (I did not try nfs) does wor effectively, and you don't need to wait the 300 seconds. (mine had to wait 3 seconds) I changed the code to only print out the message every 50 retries as any message becomes obnoxious when printed 10 time per second. > if (err_stride <=3D 0 ) { > printf("Mounting from %s:%s failed with error %d. " > "%d seconds left. Retrying.\n", fs, dev, error, > timeout / hz); > } > err_stride +=3D 1; > err_stride %=3D 50; > pause("rmzfs", delay); --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Sun Mar 19 10:19:37 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 B24A6D11C5E for ; Sun, 19 Mar 2017 10:19:37 +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 A1911813 for ; Sun, 19 Mar 2017 10:19:37 +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 v2JAJb5l059185 for ; Sun, 19 Mar 2017 10:19:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 208882] zfs root filesystem mount failure on startup in FreeBSD 10.3-RELEASE if USB hdd with zpool is attached to another port Date: Sun, 19 Mar 2017 10:19:37 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: julian@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, 19 Mar 2017 10:19:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208882 --- Comment #10 from Julian Elischer --- this should probably make it to 'errata' and get added, but it's not obvious how many people are running 10.3 on azure yet.. (obviously some are...) I'm told that it's fixed in 10-stable so maybe the best answer is just to upgrade a bit. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Sun Mar 19 10:22:50 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 42E2ED11E90 for ; Sun, 19 Mar 2017 10:22:50 +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 320F9B87 for ; Sun, 19 Mar 2017 10:22:50 +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 v2JAMnDL070753 for ; Sun, 19 Mar 2017 10:22:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 208882] zfs root filesystem mount failure on startup in FreeBSD 10.3-RELEASE if USB hdd with zpool is attached to another port Date: Sun, 19 Mar 2017 10:22:49 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: julian@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, 19 Mar 2017 10:22:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208882 --- Comment #11 from Julian Elischer --- to Edward,=20=20 teh problem is that it only knows how to wait for DEVICES, A filesystem based approach woudl require the filesystem to report back what devices it would need.. it might bw worth while adding a VFS method for 're= port availability" or something but the approach used here works fine and I'm to= ld it's fixed in 10-stable anyhow. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Sun Mar 19 14:19: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 0EC08D138B3 for ; Sun, 19 Mar 2017 14:19: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 F2AC11BB2 for ; Sun, 19 Mar 2017 14:19:22 +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 v2JEJMNi062457 for ; Sun, 19 Mar 2017 14:19:22 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 217879] [ufs] couple of cppcheck findings Date: Sun, 19 Mar 2017 14:19: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: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution 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, 19 Mar 2017 14:19:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217879 Konstantin Belousov changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug Status|New |Closed --- Comment #1 from Konstantin Belousov --- The report is false, and patch is wrong. The code tries to find a first element of the specific type (D_JSEGDEP in c= ase of jwork_insert, D_ALLOCDIRECT for setup_newdir). This is done by the LIST_FOREACH() loop. If no element was found, i.e. the condition wk =3D=3D= NULL after the loop, then something other is done. The patch breaks the logic. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Sun Mar 19 21:00: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 DC820D1205E for ; Sun, 19 Mar 2017 21:00:03 +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 C6D661B91 for ; Sun, 19 Mar 2017 21:00:03 +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 v2JL01Xa070714 for ; Sun, 19 Mar 2017 21:00:03 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201703192100.v2JL01Xa070714@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, 19 Mar 2017 21:00:03 +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, 19 Mar 2017 21:00:04 -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 New | 217062 | for file systems mounted with -o noexec, exec=off 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 | 211491 | System hangs after "Uptime" on reboot with ZFS 7 problems total for which you should take action. From owner-freebsd-fs@freebsd.org Tue Mar 21 12:05:49 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 67983D15FA9 for ; Tue, 21 Mar 2017 12:05:49 +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 576BE1D84 for ; Tue, 21 Mar 2017 12:05:49 +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 v2LC5nNJ005852 for ; Tue, 21 Mar 2017 12:05:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 182536] [zfs] zfs deadlock Date: Tue, 21 Mar 2017 12:05:49 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Feedback Timeout X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution 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: Tue, 21 Mar 2017 12:05:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D182536 Andriy Gapon changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Feedback Timeout Status|In Progress |Closed --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Mar 21 12:06: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 E1413D140FC for ; Tue, 21 Mar 2017 12:06:41 +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 D0D111FC4 for ; Tue, 21 Mar 2017 12:06:41 +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 v2LC6eQg044098 for ; Tue, 21 Mar 2017 12:06:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 178329] [zfs] extended attributes leak Date: Tue, 21 Mar 2017 12:06:41 +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: 9.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution 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: Tue, 21 Mar 2017 12:06:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D178329 Andriy Gapon changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Overcome By Events Status|In Progress |Closed --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Mar 21 12:07:36 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 B20DED14254 for ; Tue, 21 Mar 2017 12:07:36 +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 A19E0107 for ; Tue, 21 Mar 2017 12:07:36 +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 v2LC7aIb079046 for ; Tue, 21 Mar 2017 12:07:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 175950] [zfs] Possible deadlock in zfs after long uptime Date: Tue, 21 Mar 2017 12:07:36 +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: 8.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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, 21 Mar 2017 12:07:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D175950 Andriy Gapon changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |Overcome By Events --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Wed Mar 22 20:57: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 A4AA9D18AF9 for ; Wed, 22 Mar 2017 20:57:41 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (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 3B57F12A9 for ; Wed, 22 Mar 2017 20:57:41 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id n11so46799326wma.1 for ; Wed, 22 Mar 2017 13:57:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:subject:message-id:date:to :mime-version; bh=ObSn1b8QSzG91igfyIL75EgMIs9Ly9NhLanX8QoPoE8=; b=fNJswDU0jeGk00UBv5BSG7HnIzAnT2c0cmNCduqfq3LVPLyvk0ZSy31Op+sO6/jPe1 XJJKMZLHrhG3ddYtMlSIEc6UGyefpzEmqnLAIjffK4FGXl+5sFc63hK19kmEHwFCIg6C x5Grcg4g03ZYecM/t3Mfyq7ICRSTo2hwpFZ2yGkcWLIMo0d6y+is934ScrYyLAp6u1nj FecWhSr8p2Gyp9pV83pfjkI6cLD1QcALWo8D6pD9Uei79YfeLQYSBAYTsN7pll8rp2/l 7zbYNRp53r0ctwUm8CuZFNyQFXQa1Iwcp6/Y1Wo5flSpxo57BEdT12Vb3tPovDUP9q9S QzHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:subject :message-id:date:to:mime-version; bh=ObSn1b8QSzG91igfyIL75EgMIs9Ly9NhLanX8QoPoE8=; b=apAy6I5YChGUSrhqcwMRio60nZD5cq1Mnj7DP/ui27o2LRRuO0qAQNr/UrOHJOmM15 2ukyNNeeTTS6CQh5xjKPhA2oRtGnl16fUfiIXx0ozVxALKFQ3651A5p/4cnN3ICHODYj v41YaTxRflQorDLhRw42W4OUjmJ5i2UMhjjp+02ruk2EXvT+KvjwfwV1r8QX0UPyAbEQ DmQR8QuRdrw8a+yKC52J4WkHCxY0wKOSJmCPBFjou6xKU2wV0gQUEa/f3kVNsjqpkC/6 JV2L6ykDY/D6Rz+xf8lX+NtUEafBdnubuWy1jlnSCcWBQvy8Tvoh7lT2WhtD4AtNJ5GT lqzg== X-Gm-Message-State: AFeK/H3jQHyYSPFvYLVxwjEx6gspiGtHyBhNamtGuc1P2QaC6Hl1CpPIg5+32nzvUTo6kA== X-Received: by 10.28.86.68 with SMTP id k65mr9914747wmb.112.1490216258377; Wed, 22 Mar 2017 13:57:38 -0700 (PDT) Received: from ben-1.home (LFbn-1-7159-4.w90-116.abo.wanadoo.fr. [90.116.90.4]) by smtp.gmail.com with ESMTPSA id g23sm1673705wme.8.2017.03.22.13.57.37 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Mar 2017 13:57:37 -0700 (PDT) From: Ben RUBSON Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: How to compile ZFS only ? Message-Id: <40633FF9-242F-48E1-8CE6-ADE4AC3C5C89@gmail.com> Date: Wed, 22 Mar 2017 21:57:36 +0100 To: Freebsd fs Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) 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, 22 Mar 2017 20:57:41 -0000 Hi, I'm trying to rebuild ZFS (with some patches) without having to rebuild = whole kernel. What I then try : # cd /usr/src/sys/modules/zfs/ # make # cp zfs.ko /boot/kernel/ #to replace current zfs module But then server does not reboot properly (/ is on ZFS). If I do : # cd /usr/src/ # make buildkernel KERNCONF=3DGENERIC # cp /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/zfs/zfs.ko = /boot/kernel/ Then server correctly reboot. I clearly see that zfs.ko in method 1 is slightly smaller that in method = 2. Am I missing something ? (of course yes, but what ? :) Many thanks ! Best regards, Ben From owner-freebsd-fs@freebsd.org Wed Mar 22 21:10:02 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 0EF9AD18FD4 for ; Wed, 22 Mar 2017 21:10:02 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (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 BB6981E77 for ; Wed, 22 Mar 2017 21:10:01 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by mail-wm0-x229.google.com with SMTP id u132so47201124wmg.0 for ; Wed, 22 Mar 2017 14:10:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay-co-uk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=sjMs/cKexg3liLNilP7M2b7UWl8CRvJ1w5DAXsLWUvM=; b=Xg3gsKEWdpZB7I6HeiK8LerFOuDyVTWOdu6GweCh9mgLnfHljstwKYgv71dl1WyvvI jto+jQXX17b0VQ5mG+ZMVD/uEVTASkFkSEWVqlXWtPeGbm4/Wv4XpFzAnTgVg+huZTyv JzKuegj52Nb/Lmysxygxx25d3rhYEBXlPclc5vjhkm15Fhe3EyXw2ky9BgN4lM08DhuM spNOW77Yb4W+gXrlOleGG0fRgnvIRdym0W+rTJ8Ch0c0bU3I5g4Kr+v8erJ9CJSoF0t6 HRyjSeHIv41B1rdsMoNnmt2LpAbzeR3mf4w4aGZvkJ6tq4AFc0+yjT54+IEvyY6O/Hre /5Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=sjMs/cKexg3liLNilP7M2b7UWl8CRvJ1w5DAXsLWUvM=; b=WSxwOzP1Uv+e/2dKZ6CCmR+tnV9BnI6yXjj7teMz3w4ISIeNCPOkm6wpg+wwES6wAK mCtNR773LHvuXHTyt7Bd2stfCBpji8hSKzGG/pWU7tYzX6NotgKycftKITsERZtXJIep vDcOdPuzH70/s/m70chrCknkugQpziHrB45GxNe8wvz8PaMFxCoQfsxEFPoh5sEeKVy5 3c8FlEPAHM9RDx0ADSisaEzV9AbW476RCUKI+svgEh2LibgHAbc2q8K8yN4aV3W7X6o8 jw7i6V1WUmZ9bese3cgybP30jglQZ+cPlVqGpxEYE0uLF/QEjwZojR/yJ44+GmKw9sSl MM2g== X-Gm-Message-State: AFeK/H3GofAcQhUx2qHoRLZsGw3OPOtNS86r+4/u5O00ewSrrL5BhoghPoKeIHcqTEG/QnXg X-Received: by 10.28.113.24 with SMTP id m24mr9706522wmc.0.1490216999604; Wed, 22 Mar 2017 14:09:59 -0700 (PDT) Received: from [10.10.1.58] ([185.97.61.26]) by smtp.gmail.com with ESMTPSA id v186sm1693803wmv.2.2017.03.22.14.09.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Mar 2017 14:09:58 -0700 (PDT) Subject: Re: How to compile ZFS only ? To: freebsd-fs@freebsd.org References: <40633FF9-242F-48E1-8CE6-ADE4AC3C5C89@gmail.com> From: Steven Hartland Message-ID: <4a7293c4-3a13-f865-bfb7-4d40581cfe3b@multiplay.co.uk> Date: Wed, 22 Mar 2017 21:09:58 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <40633FF9-242F-48E1-8CE6-ADE4AC3C5C89@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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, 22 Mar 2017 21:10:02 -0000 cd /usr/src make buildenv cd sys/modules/zfs/ make make install On 22/03/2017 20:57, Ben RUBSON wrote: > Hi, > > I'm trying to rebuild ZFS (with some patches) without having to rebuild whole kernel. > > What I then try : > # cd /usr/src/sys/modules/zfs/ > # make > # cp zfs.ko /boot/kernel/ #to replace current zfs module > > But then server does not reboot properly (/ is on ZFS). > > If I do : > # cd /usr/src/ > # make buildkernel KERNCONF=GENERIC > # cp /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/zfs/zfs.ko /boot/kernel/ > > Then server correctly reboot. > > I clearly see that zfs.ko in method 1 is slightly smaller that in method 2. > > Am I missing something ? (of course yes, but what ? :) > > Many thanks ! > > Best regards, > > Ben > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" From owner-freebsd-fs@freebsd.org Wed Mar 22 21:47:16 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 F1D10D182A8 for ; Wed, 22 Mar 2017 21:47:16 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wr0-x22c.google.com (mail-wr0-x22c.google.com [IPv6:2a00:1450:400c:c0c::22c]) (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 863081A23 for ; Wed, 22 Mar 2017 21:47:16 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wr0-x22c.google.com with SMTP id u108so136219090wrb.3 for ; Wed, 22 Mar 2017 14:47:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=qaRFXH+4uEh7mhnAs2u09kmoCazIXsvyxiUACPsryqA=; b=u4dSCROAz3TPyBMxPaG4xSLXUVicDLPw2LyYER+//+fgWvZbFn0MQ6QYxA9Elp6Lm1 TcMNd3ODej3azgYYGCVavTQ9XkugCxjIMRc/LrN4UFxkK4JWADWlo3EgOL6XfcYArUKY U6guC1zgR0PPanwto7iVz3yepbXQRa4lOp5wwa90ypgCSaaCAfm0pNpVzmSKxuDOcgMA WKUkoi3NhfqCyWHMMiCogrCU6XsXLDlcEBAZQudmCJEUyOA4z2xzwkA3QrDEA9JoxjXr nbYnR1FWRqmeFA3GKptF7mp6+JhvDMOIFh/awYua+XCncejsrv6c+QwnvCFQnznroiTe FFAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=qaRFXH+4uEh7mhnAs2u09kmoCazIXsvyxiUACPsryqA=; b=dVeBobWuDE0XIX7utvREgZdlvX4xmpz2ZBa/W/jK/qKdz5au4mXLzxM9nzNB+8Droc b4nkTUX5/dHm8qJHnlDH2OOaIxz1+lo/gpt8DD3ZoaPdHfoDbNjTIBQgPyA6XA+58W23 CrmLuq4sh6v5DrrrPpwcGDx6FSfq670R0jaqUd4wq5WT9Qb8fut3rdp8N+tf6PM/9YCQ DkkInUeSNMVrIygGxBezue9YtIYTxl8sLPQBs/EP86BDGZDvMsl+umcCj4HP3kZE56e/ SGC7rYR8HKU2/3ahs8z+I5skD4wGml8Fno7Ojqz2tqAoZ67Q1BEm00IvkGzGYC+k4Qbm x3YQ== X-Gm-Message-State: AFeK/H3tri5fPQ331LV6n6YDq97NQslB/gskr0ZkDYFGRXkXNQCOpQPOJnn+stcCX4yKQQ== X-Received: by 10.223.177.148 with SMTP id q20mr38522043wra.154.1490219234696; Wed, 22 Mar 2017 14:47:14 -0700 (PDT) Received: from ben-1.home (LFbn-1-7159-4.w90-116.abo.wanadoo.fr. [90.116.90.4]) by smtp.gmail.com with ESMTPSA id z79sm1962346wrc.2.2017.03.22.14.47.14 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Mar 2017 14:47:14 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: How to compile ZFS only ? From: Ben RUBSON In-Reply-To: <4a7293c4-3a13-f865-bfb7-4d40581cfe3b@multiplay.co.uk> Date: Wed, 22 Mar 2017 22:47:13 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <34FDCEEF-99A8-4925-8BFA-BCB3CE0143D8@gmail.com> References: <40633FF9-242F-48E1-8CE6-ADE4AC3C5C89@gmail.com> <4a7293c4-3a13-f865-bfb7-4d40581cfe3b@multiplay.co.uk> To: Freebsd fs X-Mailer: Apple Mail (2.3124) 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, 22 Mar 2017 21:47:17 -0000 Thank you for your answer Steven. Unfortunately it did not help, same behaviour : Module with you method has the same smaller size, 2323000 bytes vs = 2500544. (I then did not try to boot with it) Ben > On 22 Mar 2017, at 22:09, Steven Hartland = wrote: >=20 > cd /usr/src > make buildenv > cd sys/modules/zfs/ > make > make install >=20 > On 22/03/2017 20:57, Ben RUBSON wrote: >> Hi, >>=20 >> I'm trying to rebuild ZFS (with some patches) without having to = rebuild whole kernel. >>=20 >> What I then try : >> # cd /usr/src/sys/modules/zfs/ >> # make >> # cp zfs.ko /boot/kernel/ #to replace current zfs module >>=20 >> But then server does not reboot properly (/ is on ZFS). >>=20 >> If I do : >> # cd /usr/src/ >> # make buildkernel KERNCONF=3DGENERIC >> # cp = /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/zfs/zfs.ko = /boot/kernel/ >>=20 >> Then server correctly reboot. >>=20 >> I clearly see that zfs.ko in method 1 is slightly smaller that in = method 2. >>=20 >> Am I missing something ? (of course yes, but what ? :) >>=20 >> Many thanks ! >>=20 >> Best regards, >>=20 >> Ben >>=20 >> _______________________________________________ >> freebsd-fs@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-fs >> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >=20 > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" From owner-freebsd-fs@freebsd.org Wed Mar 22 22:43: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 C5EC3D183D5 for ; Wed, 22 Mar 2017 22:43:07 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-oi0-x22a.google.com (mail-oi0-x22a.google.com [IPv6:2607:f8b0:4003:c06::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 8C6AB6C6 for ; Wed, 22 Mar 2017 22:43:07 +0000 (UTC) (envelope-from delphij@gmail.com) Received: by mail-oi0-x22a.google.com with SMTP id l203so22721016oia.0 for ; Wed, 22 Mar 2017 15:43:07 -0700 (PDT) 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=GIRrBD/cGvBEhejJ0cxWu0O0zN5/eScdjfe3u8qT4KA=; b=Tzau21pvDz5v0UJO4Gs5WnfMiGFgdZem2iHb78LkN0IFbvQECpjpuEXRfbx7nV7/GU jzdPAMU1FH6IaZPwVXWah/k7h8i7YgN9b0B2w7qyvM1CMT0hkQBLq7Gpijsjl3ddfKWo Tz30Skh2rdy4K2SXte0oGBq9lwWQM9+/uxFAc2RG8mvutTcXnnOSiYy/BWsx34e4etM/ VkXsdwxxq4aX2V5FuB+ZcQtcTi230bksdtSmyVA12Fo5DutTXVRJYeu196Bwkjd3JB9/ kjbG9n6OlAO2uGFuE0iO0wuFs7xIta3/75m35+DJk/xiYF/vpRU3apME3f+V4k8OoRkj w1jQ== 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=GIRrBD/cGvBEhejJ0cxWu0O0zN5/eScdjfe3u8qT4KA=; b=egvWFIarD9wLWhA/wctYFFFX3q79o0/1tSJu8Ml4SvjV16mMB2RjTwmuqujmnhaOn5 BtHnpAI5xgG16akI2QGMXioqsWsPJRB2SVkVFfzwwafwjVJLQETcZDfk6IiGiOZSaoIx lgh4qTv7053xerYNJifk3s2T/GJEx66RHSLZdQxHs3aNwyaQ1ZHBjAfUEK5AKNKval9p 3WebPVcXd6eePymmDcUfqCIVfWkuIWYN/Y0DYQrPJi+oAC8Z38TcvXyMfdJPhs6QYy3p D5/vbROPYy1H56qnBGnQJuPa6qSLER8vvZR2Sy5HFvPSJXP6/JL5pDm4fvc1iDlsNJwt iLuQ== X-Gm-Message-State: AFeK/H0PabdLJtt77HT5RPLWUiC3oygBS+t9IuPMS+MUbm8avylT5oQkljnCHRdDBqdwBTUPPAIeA52gCVdaRA== X-Received: by 10.202.225.5 with SMTP id y5mr21663723oig.83.1490222586700; Wed, 22 Mar 2017 15:43:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.48.198 with HTTP; Wed, 22 Mar 2017 15:43:06 -0700 (PDT) In-Reply-To: <34FDCEEF-99A8-4925-8BFA-BCB3CE0143D8@gmail.com> References: <40633FF9-242F-48E1-8CE6-ADE4AC3C5C89@gmail.com> <4a7293c4-3a13-f865-bfb7-4d40581cfe3b@multiplay.co.uk> <34FDCEEF-99A8-4925-8BFA-BCB3CE0143D8@gmail.com> From: Xin LI Date: Wed, 22 Mar 2017 15:43:06 -0700 Message-ID: Subject: Re: How to compile ZFS only ? To: Ben RUBSON Cc: Freebsd fs Content-Type: text/plain; charset=UTF-8 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, 22 Mar 2017 22:43:07 -0000 Why not just -DNO_CLEAN= with 'make buildkernel'? But to answer your question, 'make buildkernel' will take e.g. 'KERNCONF' aka kernel build configuration into account, while if you do make directly, it's not (and sometimes build options in the kernel build configuration, like WITNESS, etc., have material impact to data structure layouts). On Wed, Mar 22, 2017 at 2:47 PM, Ben RUBSON wrote: > Thank you for your answer Steven. > Unfortunately it did not help, same behaviour : > Module with you method has the same smaller size, 2323000 bytes vs 2500544. > (I then did not try to boot with it) > > Ben > >> On 22 Mar 2017, at 22:09, Steven Hartland wrote: >> >> cd /usr/src >> make buildenv >> cd sys/modules/zfs/ >> make >> make install >> >> On 22/03/2017 20:57, Ben RUBSON wrote: >>> Hi, >>> >>> I'm trying to rebuild ZFS (with some patches) without having to rebuild whole kernel. >>> >>> What I then try : >>> # cd /usr/src/sys/modules/zfs/ >>> # make >>> # cp zfs.ko /boot/kernel/ #to replace current zfs module >>> >>> But then server does not reboot properly (/ is on ZFS). >>> >>> If I do : >>> # cd /usr/src/ >>> # make buildkernel KERNCONF=GENERIC >>> # cp /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/zfs/zfs.ko /boot/kernel/ >>> >>> Then server correctly reboot. >>> >>> I clearly see that zfs.ko in method 1 is slightly smaller that in method 2. >>> >>> Am I missing something ? (of course yes, but what ? :) >>> >>> Many thanks ! >>> >>> Best regards, >>> >>> Ben >>> >>> _______________________________________________ >>> freebsd-fs@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-fs >>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >> >> _______________________________________________ >> freebsd-fs@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-fs >> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" From owner-freebsd-fs@freebsd.org Wed Mar 22 23:51:21 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 18197D1854D for ; Wed, 22 Mar 2017 23:51:21 +0000 (UTC) (envelope-from steven@multiplay.co.uk) Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (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 DD691D89 for ; Wed, 22 Mar 2017 23:51:20 +0000 (UTC) (envelope-from steven@multiplay.co.uk) Received: by mail-io0-x229.google.com with SMTP id z13so73561979iof.2 for ; Wed, 22 Mar 2017 16:51:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay-co-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZDVW9vD8jp9ZMU44MM/H9GMS344uPsuldmmxwBgn2Ik=; b=1ydJ4IotFRyFlM7J7/D1UmuW1PKxHI0l7R2N7qcf+Fw6MxMBZBAicePNPjkoh47Pm8 A8lQoA6eUc/0PYivw0lesN6aU++uf/pqr3+Z64VGdqJrjSXhFc2N1skFKB9gBI2y7JvW pRAwJgRuilkWn0zajuWt5Js+qLGPJ9buLXCsOX8xwUoZfDcQF9lLHj+jmgsvikDQYvDm tJGOUDrxDsnHeFAMyD6e04LuCQ0id+3Cf5njepf9C1KFL6+KDBbuIHcfNFhUivLHUsL3 JNjFJAxVPRqtGBTXkkBcKPtJtHox3rjsTJNLY9ZgZ7OR41ud/dllD9TWJzA64YSzs2Q7 yd6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZDVW9vD8jp9ZMU44MM/H9GMS344uPsuldmmxwBgn2Ik=; b=BV+ADVGv44/mO0FyrD9HjUrGqJ43JrG082soIW6CENXJKGd9VrbOM1lvMHxPbcA+ni jyTcm8zId6lbRC64nwGk+UjosqZshkNAQthnM3gvjBdFu9sr5GHt1W9q9dpzS6WZj0A6 NdvWOfOFkPraduG7+oF2vqS4WmdMEI9xmAp/cbI/pYAmRspqnlcAEopeLU3m3fG1fKy9 ubjsmMZIFOOsZpq7Iwm5uidII6IX5yXmvYY4XfL+gBbGK9e085i/ay7OySjjoMMzVkHH MWF1xDqg6lbnf/f9E5ZtRNPDxePHqnGF9k+6uZbhB1Kzxi9d/lN+94xODyaYCTvFXHhk yWEw== X-Gm-Message-State: AFeK/H23hmL3AAM965pf6/8XENVC+U6W9hX50TIPotTkQdTv0a2xQBjIOp70tPXOl4vdN/XpPlshB1WOdWQd5P47 X-Received: by 10.107.59.22 with SMTP id i22mr70724ioa.177.1490226680113; Wed, 22 Mar 2017 16:51:20 -0700 (PDT) MIME-Version: 1.0 References: <40633FF9-242F-48E1-8CE6-ADE4AC3C5C89@gmail.com> <4a7293c4-3a13-f865-bfb7-4d40581cfe3b@multiplay.co.uk> <34FDCEEF-99A8-4925-8BFA-BCB3CE0143D8@gmail.com> In-Reply-To: From: Steven Hartland Date: Wed, 22 Mar 2017 23:51:09 +0000 Message-ID: Subject: Re: How to compile ZFS only ? To: Ben RUBSON , Xin LI Cc: Freebsd fs 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, 22 Mar 2017 23:51:21 -0000 In addition to the main zfs module there are also dependency modules which are required. If you're able to test loading the module on a non-zfs root machine by manually loading it, it should detail any issues in /var/log/messages. That said the method listed by Xin is the quickest and easiest solution. On Wed, 22 Mar 2017 at 22:43, Xin LI wrote: > Why not just -DNO_CLEAN= with 'make buildkernel'? > > But to answer your question, 'make buildkernel' will take e.g. > 'KERNCONF' aka kernel build configuration into account, while if you > do make directly, it's not (and sometimes build options in the kernel > build configuration, like WITNESS, etc., have material impact to data > structure layouts). > > On Wed, Mar 22, 2017 at 2:47 PM, Ben RUBSON wrote: > > Thank you for your answer Steven. > > Unfortunately it did not help, same behaviour : > > Module with you method has the same smaller size, 2323000 bytes vs > 2500544. > > (I then did not try to boot with it) > > > > Ben > > > >> On 22 Mar 2017, at 22:09, Steven Hartland > wrote: > >> > >> cd /usr/src > >> make buildenv > >> cd sys/modules/zfs/ > >> make > >> make install > >> > >> On 22/03/2017 20:57, Ben RUBSON wrote: > >>> Hi, > >>> > >>> I'm trying to rebuild ZFS (with some patches) without having to > rebuild whole kernel. > >>> > >>> What I then try : > >>> # cd /usr/src/sys/modules/zfs/ > >>> # make > >>> # cp zfs.ko /boot/kernel/ #to replace current zfs module > >>> > >>> But then server does not reboot properly (/ is on ZFS). > >>> > >>> If I do : > >>> # cd /usr/src/ > >>> # make buildkernel KERNCONF=GENERIC > >>> # cp > /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/zfs/zfs.ko > /boot/kernel/ > >>> > >>> Then server correctly reboot. > >>> > >>> I clearly see that zfs.ko in method 1 is slightly smaller that in > method 2. > >>> > >>> Am I missing something ? (of course yes, but what ? :) > >>> > >>> Many thanks ! > >>> > >>> Best regards, > >>> > >>> Ben > >>> > >>> _______________________________________________ > >>> freebsd-fs@freebsd.org mailing list > >>> https://lists.freebsd.org/mailman/listinfo/freebsd-fs > >>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > >> > >> _______________________________________________ > >> freebsd-fs@freebsd.org mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-fs > >> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > > > > _______________________________________________ > > freebsd-fs@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > From owner-freebsd-fs@freebsd.org Thu Mar 23 02:20:50 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 C7485D1855F; Thu, 23 Mar 2017 02:20:50 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-eopbgr660071.outbound.protection.outlook.com [40.107.66.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 74151278; Thu, 23 Mar 2017 02:20:49 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM (10.165.218.133) by YTXPR01MB0191.CANPRD01.PROD.OUTLOOK.COM (10.165.218.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.977.11; Thu, 23 Mar 2017 02:20:48 +0000 Received: from YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM ([10.165.218.133]) by YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM ([10.165.218.133]) with mapi id 15.01.0977.020; Thu, 23 Mar 2017 02:20:47 +0000 From: Rick Macklem To: Larry Rosenman , "freebsd-fs@freebsd.org" CC: "freebsd-current@FreeBSD.org" Subject: Re: crash: umount_nfs: Current Thread-Topic: crash: umount_nfs: Current Thread-Index: AQHSnf9DKC+Zb1AjDkCvB/ns2F6CGqGYEmLZgAAQyoCACZXXAA== Date: Thu, 23 Mar 2017 02:20:47 +0000 Message-ID: References: <20170316024433.qiujcewz5bclbgq5@borg.lerctr.org> , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: authentication-results: FreeBSD.org; dkim=none (message not signed) header.d=none;FreeBSD.org; dmarc=none action=none header.from=uoguelph.ca; x-microsoft-exchange-diagnostics: 1; YTXPR01MB0191; 7:Zi7jZVptDfuLYMU26XgNTdoJ5BOip+DWl8zwpbM+Di9dPLDPQ2cmYQK/OqnB1idBJi542uRwfytxbOWYHolMXl8QyQ2oyWCNKdlmiohzSqr/jkssRWHXvrCBGHgJb3W/v4T1bb4U1RUxEcMy2dnLKfH4GW5B7xdOq9RUzugqm6KgLi98iAZ6FDr7MBxF1uQfUJX2xxxT8gTj3YOMtCMpL35JdjqSQdu1W1ZaIRwrp8nJX/EXcfgEUkpy82DIQ231oPzUb7RuRpijcIMUJcD2Ft614Bj/kuHJcS+Dh7zQvlmrwrVHHQWeKlww8CF4NzZAMvyXacYKAvxnASevyipXrg== x-ms-office365-filtering-correlation-id: 2720904b-12b3-494e-a4dd-08d471933787 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075); SRVR:YTXPR01MB0191; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(102415395)(6040375)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123555025)(20161123558025)(20161123562025)(20161123564025)(20161123560025)(6072148); SRVR:YTXPR01MB0191; BCL:0; PCL:0; RULEID:; SRVR:YTXPR01MB0191; x-forefront-prvs: 0255DF69B9 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39830400002)(39410400002)(39450400003)(24454002)(2906002)(6246003)(5660300001)(33656002)(81166006)(8936002)(305945005)(74316002)(38730400002)(53936002)(99936001)(76176999)(8676002)(50986999)(4326008)(54356999)(9686003)(3280700002)(558084003)(3660700001)(2900100001)(77096006)(55016002)(7696004)(74482002)(25786009)(229853002)(102836003)(189998001)(2950100002)(122556002)(6506006)(86362001)(2501003)(6436002)(5890100001); DIR:OUT; SFP:1101; SCL:1; SRVR:YTXPR01MB0191; H:YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/mixed; boundary="_002_YTXPR01MB01890E5CFDB2C827F50B0991DD3F0YTXPR01MB0189CANP_" MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Mar 2017 02:20:47.0649 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTXPR01MB0191 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, 23 Mar 2017 02:20:50 -0000 --_002_YTXPR01MB01890E5CFDB2C827F50B0991DD3F0YTXPR01MB0189CANP_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Larry Rosenman wrote: > Err, I=92m at r315289=85. I think the attached patch (only very lightly tested by me) will fix this c= rash. If you have an easy way to test it, that would be appreciated, rick --_002_YTXPR01MB01890E5CFDB2C827F50B0991DD3F0YTXPR01MB0189CANP_ Content-Type: application/octet-stream; name="clntcrash.patch" Content-Description: clntcrash.patch Content-Disposition: attachment; filename="clntcrash.patch"; size=844; creation-date="Thu, 23 Mar 2017 02:20:34 GMT"; modification-date="Thu, 23 Mar 2017 02:20:34 GMT" Content-Transfer-Encoding: base64 LS0tIHJwYy9jbG50X3ZjLmMuc2F2CTIwMTctMDEtMTcgMjI6NTc6NDIuMTM4MTM4MDAwIC0wNTAw CisrKyBycGMvY2xudF92Yy5jCTIwMTctMDMtMjIgMjE6MzA6MTIuOTQwOTI1MDAwIC0wNDAwCkBA IC03OTAsNyArNzkwLDcgQEAgY2xudF92Y19kZXN0cm95KENMSUVOVCAqY2wpCiAJCXN4X3hsb2Nr KCZ4cHJ0LT54cF9sb2NrKTsKIAkJbXR4X2xvY2soJmN0LT5jdF9sb2NrKTsKIAkJeHBydC0+eHBf cDIgPSBOVUxMOwotCQl4cHJ0X3VucmVnaXN0ZXIoeHBydCk7CisJCXN4X3h1bmxvY2soJnhwcnQt PnhwX2xvY2spOwogCX0KIAogCWlmIChjdC0+Y3Rfc29ja2V0KSB7CkBAIC04MDAsMTAgKzgwMCw2 IEBAIGNsbnRfdmNfZGVzdHJveShDTElFTlQgKmNsKQogCX0KIAogCW10eF91bmxvY2soJmN0LT5j dF9sb2NrKTsKLQlpZiAoeHBydCAhPSBOVUxMKSB7Ci0JCXN4X3h1bmxvY2soJnhwcnQtPnhwX2xv Y2spOwotCQlTVkNfUkVMRUFTRSh4cHJ0KTsKLQl9CiAKIAltdHhfZGVzdHJveSgmY3QtPmN0X2xv Y2spOwogCWlmIChzbykgewotLS0gcnBjL2NsbnRfcmMuYy5zYXYJMjAxNy0wMy0yMiAyMTozMDoy My42MTYwODEwMDAgLTA0MDAKKysrIHJwYy9jbG50X3JjLmMJMjAxNy0wMy0yMiAyMTozMTozNi43 MTkzMTMwMDAgLTA0MDAKQEAgLTQ1MCw3ICs0NTAsNiBAQCBjbG50X3JlY29ubmVjdF9jb250cm9s KENMSUVOVCAqY2wsIHVfaW50CiAKIAljYXNlIENMU0VUX0JBQ0tDSEFOTkVMOgogCQl4cHJ0ID0g KFNWQ1hQUlQgKilpbmZvOwotCQlTVkNfQUNRVUlSRSh4cHJ0KTsKIAkJeHBydF9yZWdpc3Rlcih4 cHJ0KTsKIAkJcmMtPnJjX2JhY2tjaGFubmVsID0gaW5mbzsKIAkJYnJlYWs7Cg== --_002_YTXPR01MB01890E5CFDB2C827F50B0991DD3F0YTXPR01MB0189CANP_-- From owner-freebsd-fs@freebsd.org Thu Mar 23 02:24:09 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 45CD0D18B10; Thu, 23 Mar 2017 02:24:09 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 243B6C68; Thu, 23 Mar 2017 02:24:09 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Content-transfer-encoding:Content-type:Mime-version:In-Reply-To: References:Message-ID:CC:To:From:Subject:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=MagHtz/1/dXStyIpES//qnzm7uQ41QnNPz3ZFFtcgZg=; b=QX5nJMaLapGtTcRkp1omQNtheQ pdoTrotY+/BpKXra6Xa43XgW/MM2ZrG1x0zJHvXdx87eR3yXYrhrIGYvaSI+ivnTuf7BarkhZvMLB un/p/sO0aVp1k9H9Lb3yKJivwbLsJB5Q9mbY2zHdUiDUuYXZLFQWOYMULR0+b2MT0v18=; Received: from [47.220.164.50] (port=25831 helo=[192.168.200.198]) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89 (FreeBSD)) (envelope-from ) id 1cqsQ4-00069d-4f; Wed, 22 Mar 2017 21:24:08 -0500 User-Agent: Microsoft-MacOutlook/f.20.0.170309 Date: Wed, 22 Mar 2017 21:24:06 -0500 Subject: Re: crash: umount_nfs: Current From: Larry Rosenman To: Rick Macklem , "freebsd-fs@freebsd.org" CC: "freebsd-current@FreeBSD.org" Message-ID: Thread-Topic: crash: umount_nfs: Current References: <20170316024433.qiujcewz5bclbgq5@borg.lerctr.org> In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="UTF-8" Content-transfer-encoding: quoted-printable 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, 23 Mar 2017 02:24:09 -0000 It=E2=80=99s VERY intermittent (=20 I.E. not easy to reproduce. Sorry. --=20 Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 =20 =20 On 3/22/17, 9:20 PM, "Rick Macklem" wrote: Larry Rosenman wrote: =20 > Err, I=E2=80=99m at r315289=E2=80=A6. I think the attached patch (only very lightly tested by me) will fix th= is crash. If you have an easy way to test it, that would be appreciated, rick =20 =20 From owner-freebsd-fs@freebsd.org Thu Mar 23 13:02: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 30CCED18511 for ; Thu, 23 Mar 2017 13:02:41 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-qk0-x229.google.com (mail-qk0-x229.google.com [IPv6:2607:f8b0:400d:c09::229]) (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 DD6A416BB for ; Thu, 23 Mar 2017 13:02:40 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by mail-qk0-x229.google.com with SMTP id p64so179028504qke.1 for ; Thu, 23 Mar 2017 06:02:40 -0700 (PDT) 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=y5ukTX3TT6RfdE01dP7DZ+alODy615M0pRf8igMr41A=; b=NB3fpuHNMU9h5ZrOBJaIf7xQw6CnA/yCeryB4jkPxCl5kU333SCSQVh+ceRV8179x5 ScJEZUWQym+yL0/oXs3S1GjBX7xdjDi0RgW0mY3E13gVLOeHTQt7/gvISebJXqtBU3X+ Yvq+wzMB9xkO7l3mUIOpzUEEccsiSo+r7fnTLNiOISZ/+HILKoVmc0Jo2dtqqKL7pkUX wmXP/NzfRLFV3zm5VwfhAufHIoKeOAa9wTNtuw8/QelcZt4lzBt8wDK/kpR8cMCmjqyM 9h3qzegiLRfdWs4fcVPlB9zoS/kot4viGDsbxemzvVbH4rzD//oZa4zWS4IGOZCQRbaM bvZA== 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=y5ukTX3TT6RfdE01dP7DZ+alODy615M0pRf8igMr41A=; b=kSuyIA/U3VSSUEkIh1uR67Ns1zBIw5Dnp6YfpXO0622MDH2KAbvry99kliGp4Vr5pu FpPLTzIuAGt9yJWv1Xj44eJejcE+DOykvuBx23pQrTYTBARins/Lxt1zrgS5y28yHIC2 vJUPU1C4Mlg/yrCfQcdp6rEo4mz+LIFloaODg2RSbo4npCwnJgnrDtTqQbXytHjqpCoS H+JjaCZNwTDZuhELr0ewV+4cngX1qp/jMtk90nWahvhX6WHmJFCrP1RnoeEDFHFaFC12 O+hZpsUhTsRMKqJJIsDBCuNj3B/cHAyQ28PJ+hCBfB5vmPMBs7kxKzU/V54G6TgFReNS qhMw== X-Gm-Message-State: AFeK/H1455OEAbzPX+UdUnk4F9uj2m2do17UR6gVfa5pMXG9IbwRGer9a3YHnK0+djxCi0Ki/LRnse+Cp/PZ8w== X-Received: by 10.55.20.217 with SMTP id 86mr1895759qku.35.1490274159868; Thu, 23 Mar 2017 06:02:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.180.6 with HTTP; Thu, 23 Mar 2017 06:02:39 -0700 (PDT) In-Reply-To: References: <40633FF9-242F-48E1-8CE6-ADE4AC3C5C89@gmail.com> <4a7293c4-3a13-f865-bfb7-4d40581cfe3b@multiplay.co.uk> <34FDCEEF-99A8-4925-8BFA-BCB3CE0143D8@gmail.com> From: krad Date: Thu, 23 Mar 2017 13:02:39 +0000 Message-ID: Subject: Re: How to compile ZFS only ? To: Steven Hartland Cc: Ben RUBSON , Xin LI , Freebsd fs 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: Thu, 23 Mar 2017 13:02:41 -0000 It wont help this time but you could try enabling meta mode on you builds, this will make things generally much quicker, and there is no messing around in the tree, just do a buildkernel # cat /etc/src-env.conf WITH_META_MODE=yes also try these in your src.conf WITH_FAST_DEPEND=yes WITH_CCACHE_BUILD=yes WITH_SYSTEM_COMPILER=yes On 22 March 2017 at 23:51, Steven Hartland wrote: > In addition to the main zfs module there are also dependency modules which > are required. > > If you're able to test loading the module on a non-zfs root machine by > manually loading it, it should detail any issues in /var/log/messages. > > That said the method listed by Xin is the quickest and easiest solution. > > On Wed, 22 Mar 2017 at 22:43, Xin LI wrote: > > > Why not just -DNO_CLEAN= with 'make buildkernel'? > > > > But to answer your question, 'make buildkernel' will take e.g. > > 'KERNCONF' aka kernel build configuration into account, while if you > > do make directly, it's not (and sometimes build options in the kernel > > build configuration, like WITNESS, etc., have material impact to data > > structure layouts). > > > > On Wed, Mar 22, 2017 at 2:47 PM, Ben RUBSON > wrote: > > > Thank you for your answer Steven. > > > Unfortunately it did not help, same behaviour : > > > Module with you method has the same smaller size, 2323000 bytes vs > > 2500544. > > > (I then did not try to boot with it) > > > > > > Ben > > > > > >> On 22 Mar 2017, at 22:09, Steven Hartland > > wrote: > > >> > > >> cd /usr/src > > >> make buildenv > > >> cd sys/modules/zfs/ > > >> make > > >> make install > > >> > > >> On 22/03/2017 20:57, Ben RUBSON wrote: > > >>> Hi, > > >>> > > >>> I'm trying to rebuild ZFS (with some patches) without having to > > rebuild whole kernel. > > >>> > > >>> What I then try : > > >>> # cd /usr/src/sys/modules/zfs/ > > >>> # make > > >>> # cp zfs.ko /boot/kernel/ #to replace current zfs module > > >>> > > >>> But then server does not reboot properly (/ is on ZFS). > > >>> > > >>> If I do : > > >>> # cd /usr/src/ > > >>> # make buildkernel KERNCONF=GENERIC > > >>> # cp > > /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/zfs/zfs.ko > > /boot/kernel/ > > >>> > > >>> Then server correctly reboot. > > >>> > > >>> I clearly see that zfs.ko in method 1 is slightly smaller that in > > method 2. > > >>> > > >>> Am I missing something ? (of course yes, but what ? :) > > >>> > > >>> Many thanks ! > > >>> > > >>> Best regards, > > >>> > > >>> Ben > > >>> > > >>> _______________________________________________ > > >>> freebsd-fs@freebsd.org mailing list > > >>> https://lists.freebsd.org/mailman/listinfo/freebsd-fs > > >>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org > " > > >> > > >> _______________________________________________ > > >> freebsd-fs@freebsd.org mailing list > > >> https://lists.freebsd.org/mailman/listinfo/freebsd-fs > > >> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > > > > > > _______________________________________________ > > > freebsd-fs@freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > > > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > > _______________________________________________ > > freebsd-fs@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > From owner-freebsd-fs@freebsd.org Thu Mar 23 18:21:28 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 D6EBBD1ABB7; Thu, 23 Mar 2017 18:21:28 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B52191285; Thu, 23 Mar 2017 18:21:28 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Content-transfer-encoding:Content-type:Mime-version:In-Reply-To: References:Message-ID:CC:To:From:Subject:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=8GHeh4tI08mIRaAmN2TzBc1dM5CcKtUms2phclVFT7s=; b=Atp2AqDznXpKRx4G0EI3dH3DMV O/rj0PugibucVHawUyCC/+SmiG3/42Avxe0DV0i/JBf8ydAGTlW+7afSUDdH+vm2wIZMQx06ccgPi Wy5qDya179blD7jUo6M+JwMw54xfJrwMine7wiIdqwZE/om0sU7fuT6Zh1zEXuPZLa8I=; Received: from [74.203.163.58] (port=25718 helo=[10.106.10.51]) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89 (FreeBSD)) (envelope-from ) id 1cr7MV-0008hC-H4; Thu, 23 Mar 2017 13:21:27 -0500 User-Agent: Microsoft-MacOutlook/f.20.0.170309 Date: Thu, 23 Mar 2017 13:20:57 -0500 Subject: Re: crash: umount_nfs: Current From: Larry Rosenman To: Rick Macklem , "freebsd-fs@freebsd.org" CC: "freebsd-current@FreeBSD.org" Message-ID: Thread-Topic: crash: umount_nfs: Current References: <20170316024433.qiujcewz5bclbgq5@borg.lerctr.org> In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="UTF-8" Content-transfer-encoding: quoted-printable 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, 23 Mar 2017 18:21:28 -0000 Ok, I think I have a repro scenario. I just repro=E2=80=99d it without this patc= h.=20 I=E2=80=99ll apply it and try again. It takes about 2 days to get enough INACT data that the umount_nfs crashes. --=20 Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 =20 =20 On 3/22/17, 9:20 PM, "Rick Macklem" wrote: Larry Rosenman wrote: =20 > Err, I=E2=80=99m at r315289=E2=80=A6. I think the attached patch (only very lightly tested by me) will fix th= is crash. If you have an easy way to test it, that would be appreciated, rick =20 =20 From owner-freebsd-fs@freebsd.org Thu Mar 23 18:43: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 3BAFDD1A29B; Thu, 23 Mar 2017 18:43:14 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 19C4D1FE7; Thu, 23 Mar 2017 18:43:14 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Content-transfer-encoding:Content-type:Mime-version:In-Reply-To: References:Message-ID:CC:To:From:Subject:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=GF1B4nuwOpRkI+cJuK7J8upkII1w2qXOhiMhSdv9P34=; b=bk+i8lonlZfb2aT33rgwcn3L7I ZHR4Wf4wczpJDsXs9WyckvGGOZ7LQ2H+v43EIXi17XzQ/0HamJ2oJVr80y2Gq8Ms2nKXGQ5X+E7PD 7BGPrqjHMJWA78VhKh2qz86pU48zZzhXMQNWcz5M6aTj1ZV2qiJ975OBHHU+OsXPxbvo=; Received: from [74.203.163.58] (port=17281 helo=[10.106.10.51]) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89 (FreeBSD)) (envelope-from ) id 1cr7hZ-0009Jv-EA; Thu, 23 Mar 2017 13:43:13 -0500 User-Agent: Microsoft-MacOutlook/f.20.0.170309 Date: Thu, 23 Mar 2017 13:42:43 -0500 Subject: Re: crash: umount_nfs: Current From: Larry Rosenman To: Rick Macklem , "freebsd-fs@freebsd.org" CC: "freebsd-current@FreeBSD.org" Message-ID: Thread-Topic: crash: umount_nfs: Current References: <20170316024433.qiujcewz5bclbgq5@borg.lerctr.org> In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="UTF-8" Content-transfer-encoding: quoted-printable 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, 23 Mar 2017 18:43:14 -0000 Patch applied and running =E2=80=93 I=E2=80=99ll try the repro here in a day or 2. --=20 Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 =20 =20 On 3/23/17, 1:20 PM, "Larry Rosenman" wrote: Ok, I think I have a repro scenario. I just repro=E2=80=99d it without this = patch.=20 =20 I=E2=80=99ll apply it and try again. =20 It takes about 2 days to get enough INACT data that the umount_nfs cras= hes. =20 =20 =20 --=20 Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 =20 =20 =20 On 3/22/17, 9:20 PM, "Rick Macklem" wrote: =20 Larry Rosenman wrote: =20 > Err, I=E2=80=99m at r315289=E2=80=A6. I think the attached patch (only very lightly tested by me) will fi= x this crash. If you have an easy way to test it, that would be appreciated, rick =20 =20 =20 From owner-freebsd-fs@freebsd.org Thu Mar 23 19:22:30 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 BFC6ACBB398 for ; Thu, 23 Mar 2017 19:22:30 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (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 60F5617F8 for ; Thu, 23 Mar 2017 19:22:30 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id n11so4737305wma.0 for ; Thu, 23 Mar 2017 12:22:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:references:to:in-reply-to; bh=vJcJO+o5vhyky7BeGc8zkB7cBqN1O9AhGjRWny0Mato=; b=jtmHZJ1fUzih6hQShujgPViHS4tiyISpZ2gH5BSv/KlpQRapVlmO4GBsPdRszNwVfL OIV8uurNDrY0T/f+0Vjc8ImKGY0Lx/VoCRSRGu9XmYPKtN259KbtBqEu9vG+uawvVgSP zf7NQGOqoZE5HG22FxYRH8ZgRO1mz3+6sDYILr1z0UUYo2kX/5JNk3SPQcwjZrQI+5e3 a1lmp+apKwvSoLN1sMRdZx/X7DCLbZZaEPtot5QkWWmuRzB4+o8ij+6x/yIOjsMbJR84 6y0CSP5Ih7ZJZVlGYxZmXszQzr398o8Q+bX01o6Ey5HJ+pGrmiEfZ8vUq/n5wVlwQVnv lXlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :references:to:in-reply-to; bh=vJcJO+o5vhyky7BeGc8zkB7cBqN1O9AhGjRWny0Mato=; b=H1JfpOr/KJi8mdqaGFregLAVx52frY492/eu4nxj5YiMy2jZYi+NoArIRXz8HGXknp zECICvM2byrIcWOyO9FItLFq581R+gpm6Sn9sePzulzbrAxsI6hgC7t/4eUM4i7J0aLe 1ApD07ozyJjrWxtwz1iZvvuiRRLkhHDP+rFdI4N4YT8mJ2y3dImDYFdpqaIr8vLYND/3 GtFO+9ZY5n4c+Pn4+zIO28Z2jumQX6mZg1P/D9BOYlWrms2ruFc4g9/ebkwwgbxWBMKe GW/JhApQuOBGqvEi15hxfs2jWIZq6/T5j9EsFGmlPobLSrYBifT6QLIrqPLAm95w+vpD 3VPw== X-Gm-Message-State: AFeK/H1OvAJtzJrcmPSZY1pjivnds9GJFXk+mQNLfpRKKPeClzBOLrQ/Cho7sQUqIBFiCw== X-Received: by 10.28.139.195 with SMTP id n186mr4719132wmd.139.1490296948228; Thu, 23 Mar 2017 12:22:28 -0700 (PDT) Received: from ben-1.home (LFbn-1-7159-4.w90-116.abo.wanadoo.fr. [90.116.90.4]) by smtp.gmail.com with ESMTPSA id q72sm3262855wrb.54.2017.03.23.12.22.27 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Mar 2017 12:22:27 -0700 (PDT) From: Ben RUBSON Message-Id: <063443FC-BD04-4CD1-911F-F62918D8B390@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: How to compile ZFS only ? Date: Thu, 23 Mar 2017 20:22:27 +0100 References: <40633FF9-242F-48E1-8CE6-ADE4AC3C5C89@gmail.com> <4a7293c4-3a13-f865-bfb7-4d40581cfe3b@multiplay.co.uk> <34FDCEEF-99A8-4925-8BFA-BCB3CE0143D8@gmail.com> To: Freebsd fs In-Reply-To: X-Mailer: Apple Mail (2.3124) Content-Type: text/plain; charset=us-ascii 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, 23 Mar 2017 19:22:30 -0000 I'm not sure other modules are missing : my server correctly starts, I = then only overwrite ZFS module (/boot/kernel/zfs.ko), I think it should = then work. But server hangs during startup, certainly because module compiled = directly using make is different from the one built with make = buildkernel (which works). As says Xin below, some options from sys/*/conf/GENERIC may not be taken = into account with the quick make method... I'll try to give the faulty module a try on a non-zfs root machine. The -DNO_CLEAN method is interesting if src tree has not been cleaned = before :) (I always do a make clean to leave the tree cleaned ^^) So sounds like there is no solution but trying to speed-up a whole = kernel build. Thank you ! Ben > On 23 Mar 2017, at 00:51, Steven Hartland = wrote: >=20 > In addition to the main zfs module there are also dependency modules = which are required. >=20 > If you're able to test loading the module on a non-zfs root machine by = manually loading it, it should detail any issues in /var/log/messages. >=20 > That said the method listed by Xin is the quickest and easiest = solution. >=20 > On Wed, 22 Mar 2017 at 22:43, Xin LI > wrote: > Why not just -DNO_CLEAN=3D with 'make buildkernel'? >=20 > But to answer your question, 'make buildkernel' will take e.g. > 'KERNCONF' aka kernel build configuration into account, while if you > do make directly, it's not (and sometimes build options in the kernel > build configuration, like WITNESS, etc., have material impact to data > structure layouts). >=20 > On Wed, Mar 22, 2017 at 2:47 PM, Ben RUBSON > wrote: > > Thank you for your answer Steven. > > Unfortunately it did not help, same behaviour : > > Module with you method has the same smaller size, 2323000 bytes vs = 2500544. > > (I then did not try to boot with it) > > > > Ben > > > >> On 22 Mar 2017, at 22:09, Steven Hartland > wrote: > >> > >> cd /usr/src > >> make buildenv > >> cd sys/modules/zfs/ > >> make > >> make install > >> > >> On 22/03/2017 20:57, Ben RUBSON wrote: > >>> Hi, > >>> > >>> I'm trying to rebuild ZFS (with some patches) without having to = rebuild whole kernel. > >>> > >>> What I then try : > >>> # cd /usr/src/sys/modules/zfs/ > >>> # make > >>> # cp zfs.ko /boot/kernel/ #to replace current zfs module > >>> > >>> But then server does not reboot properly (/ is on ZFS). > >>> > >>> If I do : > >>> # cd /usr/src/ > >>> # make buildkernel KERNCONF=3DGENERIC > >>> # cp = /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/zfs/zfs.ko = /boot/kernel/ > >>> > >>> Then server correctly reboot. > >>> > >>> I clearly see that zfs.ko in method 1 is slightly smaller that in = method 2. > >>> > >>> Am I missing something ? (of course yes, but what ? :) > >>> > >>> Many thanks ! > >>> > >>> Best regards, > >>> > >>> Ben > >>> > >>> _______________________________________________ > >>> freebsd-fs@freebsd.org mailing = list > >>> https://lists.freebsd.org/mailman/listinfo/freebsd-fs = > >>> To unsubscribe, send any mail to = "freebsd-fs-unsubscribe@freebsd.org = " > >> > >> _______________________________________________ > >> freebsd-fs@freebsd.org mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-fs = > >> To unsubscribe, send any mail to = "freebsd-fs-unsubscribe@freebsd.org = " > > > > _______________________________________________ > > freebsd-fs@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-fs = > > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org = " > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs = > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org = " From owner-freebsd-fs@freebsd.org Thu Mar 23 21:41: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 A43D2CA124C for ; Thu, 23 Mar 2017 21:41:35 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (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 3C4FC14B1 for ; Thu, 23 Mar 2017 21:41:35 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by mail-wm0-x22d.google.com with SMTP id n11so7301017wma.0 for ; Thu, 23 Mar 2017 14:41:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay-co-uk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=rOOvTFLETCDqt4HdeEJ8B9w4XN7XUe8WrytYHI2cKEE=; b=nynrAqVBYqT7AlpbwFbHeTVsOFjvkOtvg2dz/OrI1fifubZ+Q6iRJlFnYP3PCIaaci dhlhJfm/nFB/0S/aNeJgdoKwHyfyb8Qcdr900JEeqJSLlOAmqSmg/36sj1hlTBKSf8zS SKQ4P+C6dUJvMbqcfzABkL7gfuNOVPLVBS+tNwoUd9b9G9RhPDk71/Tvy+axSv2XMrpO oP837WoecS/h5hCPvYapHqtj7ATvRl7SlDnQRtIAj62f9zdlba4991VPtF80HScffzW1 tSWgg3CQhqcbDokBm6jfT83DaF0Y1+gs6lbX8+CZzr86AU8aZuTZifUTkkWfyqtWm1+g xfQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=rOOvTFLETCDqt4HdeEJ8B9w4XN7XUe8WrytYHI2cKEE=; b=LP/2Hb373dcFR+Fa8Nmiry7B2NRHLDMyuVxzRqRfD4mkztqUMyyYKm5hy/g/wnww71 dRseMYvNzZLAke3Ys+CKm1uonSUqENnKOxob60k2Jr7+6l1tEBllxJfNfclxW2+zXegg EnGEnSeLnQZPs2VeQNnaWCrb9YKTVRrjbPStq0z3JGDUNpQR6a19r8wPp6c3MUA4gKKw 5SmsZQCCetXmFzBck41fnJY+gd9dkIMsDUX7Yvg9NcyBnaA4TnjjLhSzABMFgu4PKNMO 4NCNrq0iq2tnjzmgNvW4NPS3FUW75E1Ry+C7gfjFOAT1y4GfbmUZJU0wsUB5kwRGrSNs dfKA== X-Gm-Message-State: AFeK/H2y1ZwUS3RnrGqlW0Tpb+wVdeGVZKdbqFwHwiWDR5nSCVcD1zDq5gRw61vN+b26iBw5 X-Received: by 10.28.186.70 with SMTP id k67mr4669194wmf.65.1490305289996; Thu, 23 Mar 2017 14:41:29 -0700 (PDT) Received: from [10.10.1.58] ([185.97.61.26]) by smtp.gmail.com with ESMTPSA id u184sm313727wmb.29.2017.03.23.14.41.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Mar 2017 14:41:29 -0700 (PDT) Subject: Re: How to compile ZFS only ? To: freebsd-fs@freebsd.org References: <40633FF9-242F-48E1-8CE6-ADE4AC3C5C89@gmail.com> <4a7293c4-3a13-f865-bfb7-4d40581cfe3b@multiplay.co.uk> <34FDCEEF-99A8-4925-8BFA-BCB3CE0143D8@gmail.com> <063443FC-BD04-4CD1-911F-F62918D8B390@gmail.com> From: Steven Hartland Message-ID: <04ca6dc2-575b-dbc2-23aa-cb090049e482@multiplay.co.uk> Date: Thu, 23 Mar 2017 21:41:29 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <063443FC-BD04-4CD1-911F-F62918D8B390@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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, 23 Mar 2017 21:41:35 -0000 When building are you building with -jXX where XX is the number of cores in your machine? If not then definitely do that on a dual E5 (24 cores) with our cut down kernel config (excludes devices / modules we never use) a full kernel build takes under 60 seconds. An example: make buildkernel KERNCONF=MULTIPLAY -j24 Regards Steve On 23/03/2017 19:22, Ben RUBSON wrote: > I'm not sure other modules are missing : my server correctly starts, I then only overwrite ZFS module (/boot/kernel/zfs.ko), I think it should then work. > But server hangs during startup, certainly because module compiled directly using make is different from the one built with make buildkernel (which works). > As says Xin below, some options from sys/*/conf/GENERIC may not be taken into account with the quick make method... > > I'll try to give the faulty module a try on a non-zfs root machine. > > The -DNO_CLEAN method is interesting if src tree has not been cleaned before :) > (I always do a make clean to leave the tree cleaned ^^) > > So sounds like there is no solution but trying to speed-up a whole kernel build. > > Thank you ! > > Ben > >> On 23 Mar 2017, at 00:51, Steven Hartland wrote: >> >> In addition to the main zfs module there are also dependency modules which are required. >> >> If you're able to test loading the module on a non-zfs root machine by manually loading it, it should detail any issues in /var/log/messages. >> >> That said the method listed by Xin is the quickest and easiest solution. >> >> On Wed, 22 Mar 2017 at 22:43, Xin LI > wrote: >> Why not just -DNO_CLEAN= with 'make buildkernel'? >> >> But to answer your question, 'make buildkernel' will take e.g. >> 'KERNCONF' aka kernel build configuration into account, while if you >> do make directly, it's not (and sometimes build options in the kernel >> build configuration, like WITNESS, etc., have material impact to data >> structure layouts). >> >> On Wed, Mar 22, 2017 at 2:47 PM, Ben RUBSON > wrote: >>> Thank you for your answer Steven. >>> Unfortunately it did not help, same behaviour : >>> Module with you method has the same smaller size, 2323000 bytes vs 2500544. >>> (I then did not try to boot with it) >>> >>> Ben >>> >>>> On 22 Mar 2017, at 22:09, Steven Hartland > wrote: >>>> >>>> cd /usr/src >>>> make buildenv >>>> cd sys/modules/zfs/ >>>> make >>>> make install >>>> >>>> On 22/03/2017 20:57, Ben RUBSON wrote: >>>>> Hi, >>>>> >>>>> I'm trying to rebuild ZFS (with some patches) without having to rebuild whole kernel. >>>>> >>>>> What I then try : >>>>> # cd /usr/src/sys/modules/zfs/ >>>>> # make >>>>> # cp zfs.ko /boot/kernel/ #to replace current zfs module >>>>> >>>>> But then server does not reboot properly (/ is on ZFS). >>>>> >>>>> If I do : >>>>> # cd /usr/src/ >>>>> # make buildkernel KERNCONF=GENERIC >>>>> # cp /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/zfs/zfs.ko /boot/kernel/ >>>>> >>>>> Then server correctly reboot. >>>>> >>>>> I clearly see that zfs.ko in method 1 is slightly smaller that in method 2. >>>>> >>>>> Am I missing something ? (of course yes, but what ? :) >>>>> >>>>> Many thanks ! >>>>> >>>>> Best regards, >>>>> >>>>> Ben >>>>> >>>>> _______________________________________________ >>>>> freebsd-fs@freebsd.org mailing list >>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-fs >>>>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org " >>>> _______________________________________________ >>>> freebsd-fs@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-fs >>>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org " >>> _______________________________________________ >>> freebsd-fs@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-fs >>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org " >> _______________________________________________ >> freebsd-fs@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-fs >> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org " > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" From owner-freebsd-fs@freebsd.org Thu Mar 23 21:48:52 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 7DFD4CA1487 for ; Thu, 23 Mar 2017 21:48:52 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::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 0EBF91992 for ; Thu, 23 Mar 2017 21:48:52 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x22b.google.com with SMTP id v203so4532280wmg.0 for ; Thu, 23 Mar 2017 14:48:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=neufaQ3u1RaE0rNVtWgG8dVZXXcAT+gte9zfzvwOlas=; b=MHYaZ7pRmUdF1IHa6wgf7d5H0ZmFxMYOvxalmYc9bVsBnILi0mgZMD1iiShCx6egAr sALonqnMQJzFWQM0zTfEug8JHyERq9CiSstNc+1OeIs9oXvse64RZL8UX81aAeQ7daxL 2MwQPm3mMTVOMafb3fgsvClxuskCl2Mw/8l/cFis1QGuxoAJgkkyI3sErqLGiqx7gIGm 3BzpyqBpBd+9GUFzbrlmosUP9Cqkx9+A+o2SA48EaWPQPY3yjVh9G+r1CQ4KENzPFOzl uwiEsr++75Ia3yfmIHycfVYMNaWGo3HxuQFYXI4u/jhArHyhZ+zj2n/0TEegGtgh4+1R ogvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=neufaQ3u1RaE0rNVtWgG8dVZXXcAT+gte9zfzvwOlas=; b=nugO3KmlGsVYkFjw5TLI0oQgfJpjMWEKi/ak0pJPjkfh0985nWdnshonJuqpGzbTli l5Ksd+NPEuN1VcUW+hiPJCHgzBRtuKTSEiKlIw6J67JXPvX7wyTYE39iBNwbm+9Di2qZ mQ9M4TbgG5uFDGBLW/S92g1Od5bJUKWZGtdPOLMswl1iyLdNWTX8/fHSZzo4fDK5h6/Z N4e2thvZYw8hJpcfTI/+CsMJotf9NwSosnFP/vL2yZSAdQQUNbxAV06uXxpo3GN+0S/P 7ryBu0PmRTgTHPyXIcNxKtMs6oOM8ji5WMnw7YYq+pTyo+BIyQ/UC4U/W5b8EeIKOr1V a5rQ== X-Gm-Message-State: AFeK/H2SgCK1whgp78vuiRoolT8ZzHvvlZlekzbhSLu67mDy1XOoDlXRDK/aVsN/6a2ZBA== X-Received: by 10.28.20.70 with SMTP id 67mr15672442wmu.86.1490305730005; Thu, 23 Mar 2017 14:48:50 -0700 (PDT) Received: from ben-1.home (LFbn-1-7159-4.w90-116.abo.wanadoo.fr. [90.116.90.4]) by smtp.gmail.com with ESMTPSA id w130sm368074wmg.0.2017.03.23.14.48.49 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Mar 2017 14:48:49 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: How to compile ZFS only ? From: Ben RUBSON In-Reply-To: <04ca6dc2-575b-dbc2-23aa-cb090049e482@multiplay.co.uk> Date: Thu, 23 Mar 2017 22:48:48 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <9C904469-E0AA-4110-99E5-6BB9049BAD94@gmail.com> References: <40633FF9-242F-48E1-8CE6-ADE4AC3C5C89@gmail.com> <4a7293c4-3a13-f865-bfb7-4d40581cfe3b@multiplay.co.uk> <34FDCEEF-99A8-4925-8BFA-BCB3CE0143D8@gmail.com> <063443FC-BD04-4CD1-911F-F62918D8B390@gmail.com> <04ca6dc2-575b-dbc2-23aa-cb090049e482@multiplay.co.uk> To: Freebsd fs X-Mailer: Apple Mail (2.3124) 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, 23 Mar 2017 21:48:52 -0000 Yes I also build with -j24 on these servers, dual E5 too :) Goal was to keep default kernel (which is OK for my needs), and only = modify/recompile zfs module. I felt I was doing something "huge" / "enormous" recompiling whole = kernel whereas I just need to modify one module. Ben > On 23 Mar 2017, at 22:41, Steven Hartland = wrote: >=20 > When building are you building with -jXX where XX is the number of = cores in your machine? >=20 > If not then definitely do that on a dual E5 (24 cores) with our cut = down kernel config (excludes devices / modules we never use) a full = kernel build takes under 60 seconds. >=20 > An example: > make buildkernel KERNCONF=3DMULTIPLAY -j24 >=20 > Regards > Steve >=20 > On 23/03/2017 19:22, Ben RUBSON wrote: >> I'm not sure other modules are missing : my server correctly starts, = I then only overwrite ZFS module (/boot/kernel/zfs.ko), I think it = should then work. >> But server hangs during startup, certainly because module compiled = directly using make is different from the one built with make = buildkernel (which works). >> As says Xin below, some options from sys/*/conf/GENERIC may not be = taken into account with the quick make method... >>=20 >> I'll try to give the faulty module a try on a non-zfs root machine. >>=20 >> The -DNO_CLEAN method is interesting if src tree has not been cleaned = before :) >> (I always do a make clean to leave the tree cleaned ^^) >>=20 >> So sounds like there is no solution but trying to speed-up a whole = kernel build. >>=20 >> Thank you ! >>=20 >> Ben >>=20 >>> On 23 Mar 2017, at 00:51, Steven Hartland = wrote: >>>=20 >>> In addition to the main zfs module there are also dependency modules = which are required. >>>=20 >>> If you're able to test loading the module on a non-zfs root machine = by manually loading it, it should detail any issues in = /var/log/messages. >>>=20 >>> That said the method listed by Xin is the quickest and easiest = solution. >>>=20 >>> On Wed, 22 Mar 2017 at 22:43, Xin LI > wrote: >>> Why not just -DNO_CLEAN=3D with 'make buildkernel'? >>>=20 >>> But to answer your question, 'make buildkernel' will take e.g. >>> 'KERNCONF' aka kernel build configuration into account, while if you >>> do make directly, it's not (and sometimes build options in the = kernel >>> build configuration, like WITNESS, etc., have material impact to = data >>> structure layouts). >>>=20 >>> On Wed, Mar 22, 2017 at 2:47 PM, Ben RUBSON > wrote: >>>> Thank you for your answer Steven. >>>> Unfortunately it did not help, same behaviour : >>>> Module with you method has the same smaller size, 2323000 bytes vs = 2500544. >>>> (I then did not try to boot with it) >>>>=20 >>>> Ben >>>>=20 >>>>> On 22 Mar 2017, at 22:09, Steven Hartland > wrote: >>>>>=20 >>>>> cd /usr/src >>>>> make buildenv >>>>> cd sys/modules/zfs/ >>>>> make >>>>> make install >>>>>=20 >>>>> On 22/03/2017 20:57, Ben RUBSON wrote: >>>>>> Hi, >>>>>>=20 >>>>>> I'm trying to rebuild ZFS (with some patches) without having to = rebuild whole kernel. >>>>>>=20 >>>>>> What I then try : >>>>>> # cd /usr/src/sys/modules/zfs/ >>>>>> # make >>>>>> # cp zfs.ko /boot/kernel/ #to replace current zfs module >>>>>>=20 >>>>>> But then server does not reboot properly (/ is on ZFS). >>>>>>=20 >>>>>> If I do : >>>>>> # cd /usr/src/ >>>>>> # make buildkernel KERNCONF=3DGENERIC >>>>>> # cp = /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/zfs/zfs.ko = /boot/kernel/ >>>>>>=20 >>>>>> Then server correctly reboot. >>>>>>=20 >>>>>> I clearly see that zfs.ko in method 1 is slightly smaller that in = method 2. >>>>>>=20 >>>>>> Am I missing something ? (of course yes, but what ? :) >>>>>>=20 >>>>>> Many thanks ! >>>>>>=20 >>>>>> Best regards, >>>>>>=20 >>>>>> Ben >>>>>>=20 >>>>>> _______________________________________________ >>>>>> freebsd-fs@freebsd.org mailing = list >>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-fs = >>>>>> To unsubscribe, send any mail to = "freebsd-fs-unsubscribe@freebsd.org = " >>>>> _______________________________________________ >>>>> freebsd-fs@freebsd.org mailing = list >>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-fs = >>>>> To unsubscribe, send any mail to = "freebsd-fs-unsubscribe@freebsd.org = " >>>> _______________________________________________ >>>> freebsd-fs@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-fs = >>>> To unsubscribe, send any mail to = "freebsd-fs-unsubscribe@freebsd.org = " >>> _______________________________________________ >>> freebsd-fs@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-fs = >>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org = " >> _______________________________________________ >> freebsd-fs@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-fs >> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >=20 > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" From owner-freebsd-fs@freebsd.org Fri Mar 24 14:10:46 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 E042ED1B318 for ; Fri, 24 Mar 2017 14:10:46 +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 CF9311566 for ; Fri, 24 Mar 2017 14:10:46 +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 v2OEAk6R059338 for ; Fri, 24 Mar 2017 14:10:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 218059] NFS loop back mount of a tmpfs file systems fail, if the tmpfs file systems was mounted with "-o" Date: Fri, 24 Mar 2017 14:10:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me 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 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: Fri, 24 Mar 2017 14:10:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218059 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-fs@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Fri Mar 24 15:22:11 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 570E3D1B184; Fri, 24 Mar 2017 15:22:11 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 34738D4E; Fri, 24 Mar 2017 15:22:11 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Content-transfer-encoding:Content-type:Mime-version:In-Reply-To: References:Message-ID:CC:To:From:Subject:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=PnpCz4Z5S6U0wDFkZ41A/Okm/kHyMVZbdICtqN48TGM=; b=M4lfK1iNUaMK9scDv0H0up2Mms sRe+jMvWKEMGJXgs3XxVNd+y4oD1QO0bNFp2zI/AhyKN1AtFK1RtKjIpOS6lMst2SYIebZJ5Aryei OnWH8SK8NJX1l+Kbu1Nx0zMrLgAYGPfMyxOcyxDtx43Kj9OFCZ0hws+BBexjSMd36jPs=; Received: from [74.203.163.58] (port=2175 helo=[10.106.10.51]) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89 (FreeBSD)) (envelope-from ) id 1crR2Y-000Jz3-05; Fri, 24 Mar 2017 10:22:10 -0500 User-Agent: Microsoft-MacOutlook/f.20.0.170309 Date: Fri, 24 Mar 2017 10:21:39 -0500 Subject: Re: crash: umount_nfs: Current From: Larry Rosenman To: Rick Macklem , "freebsd-fs@freebsd.org" CC: "freebsd-current@FreeBSD.org" Message-ID: <6FB99978-BCFC-4E84-9F1C-E312D4BFC747@lerctr.org> Thread-Topic: crash: umount_nfs: Current References: <20170316024433.qiujcewz5bclbgq5@borg.lerctr.org> <1AEC680C-BFE4-4B07-816E-3DEF1B6D266C@lerctr.org> In-Reply-To: <1AEC680C-BFE4-4B07-816E-3DEF1B6D266C@lerctr.org> Mime-version: 1.0 Content-type: text/plain; charset="UTF-8" Content-transfer-encoding: quoted-printable 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: Fri, 24 Mar 2017 15:22:11 -0000 I tried my test (umount =E2=80=93t nfs =E2=80=93a && mount =E2=80=93t nfs =E2=80=93a) and no crash.= (with ~84G inact cached NFS data). I suspect it helped. =20 --=20 Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281=20 From owner-freebsd-fs@freebsd.org Fri Mar 24 20:10: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 163EFD1C9C1; Fri, 24 Mar 2017 20:10:07 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-eopbgr660068.outbound.protection.outlook.com [40.107.66.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB1A81957; Fri, 24 Mar 2017 20:10:05 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM (10.165.218.133) by YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM (10.165.218.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.977.11; Fri, 24 Mar 2017 20:10:03 +0000 Received: from YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM ([10.165.218.133]) by YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM ([10.165.218.133]) with mapi id 15.01.0977.021; Fri, 24 Mar 2017 20:10:03 +0000 From: Rick Macklem To: Larry Rosenman , "freebsd-fs@freebsd.org" CC: "freebsd-current@FreeBSD.org" Subject: Re: crash: umount_nfs: Current Thread-Topic: crash: umount_nfs: Current Thread-Index: AQHSnf9DKC+Zb1AjDkCvB/ns2F6CGqGYEmLZgAAQyoCACZXXAIACb+VdgABQFVM= Date: Fri, 24 Mar 2017 20:10:03 +0000 Message-ID: References: <20170316024433.qiujcewz5bclbgq5@borg.lerctr.org> <1AEC680C-BFE4-4B07-816E-3DEF1B6D266C@lerctr.org>, <6FB99978-BCFC-4E84-9F1C-E312D4BFC747@lerctr.org> In-Reply-To: <6FB99978-BCFC-4E84-9F1C-E312D4BFC747@lerctr.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: lerctr.org; dkim=none (message not signed) header.d=none;lerctr.org; dmarc=none action=none header.from=uoguelph.ca; x-microsoft-exchange-diagnostics: 1; YTXPR01MB0189; 7:b+9KmJpTaTpznW4NKPVhSsADyDXMrJjz8o+3jXf9+f/pXJNAKYEuGu6GmWp6WP9hmxEuxeOZr0y7PMjcH0pzIKJDoPpE0VL9rtlCFqVk7hXwLzGBOBUfUz3wbZWR5lyooj4gOBeHt3guGvG+Cn9lyGG+OmPNRi+XZnNctw67WGlsW5jrCq5KYbpNyp0psc+Yyw0YmaNmwr96oAH2RYIlDXDgkykI9zBYiG7sPjuaMSDgvK4+tnuVf48EyAr0IU6aARByElr+bN7V0o/NEE+GfqDBNskvjHo3xD+ymwNW68ATvg34GIoZrmZdVonfc2N93sdFXX10JJ3RrzHbigd3jg== x-ms-office365-filtering-correlation-id: 61543fb6-ec03-467a-2022-08d472f1c211 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075); SRVR:YTXPR01MB0189; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(75325880899374)(211171220733660); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123560025)(20161123555025)(20161123564025)(20161123562025)(20161123558025)(6072148); SRVR:YTXPR01MB0189; BCL:0; PCL:0; RULEID:; SRVR:YTXPR01MB0189; x-forefront-prvs: 0256C18696 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39450400003)(252514010)(43784003)(377454003)(8936002)(81166006)(8676002)(93886004)(102836003)(33656002)(86362001)(122556002)(7696004)(54356999)(189998001)(74316002)(76176999)(50986999)(2900100001)(6506006)(6436002)(38730400002)(53936002)(77096006)(6246003)(305945005)(3280700002)(966004)(229853002)(74482002)(2501003)(2906002)(5660300001)(55016002)(3660700001)(53546009)(2950100002)(6306002)(25786009)(4326008)(9686003); DIR:OUT; SFP:1101; SCL:1; SRVR:YTXPR01MB0189; H:YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Mar 2017 20:10:03.2067 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTXPR01MB0189 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: Fri, 24 Mar 2017 20:10:07 -0000 Ok, thanks for testing it. Unless I hear of problems with the patch, I'll c= ommit it to head in mid-April. Thanks again for reporting this and doing the testing, rick ________________________________________ From: owner-freebsd-current@freebsd.org = on behalf of Larry Rosenman Sent: Friday, March 24, 2017 11:21:39 AM To: Rick Macklem; freebsd-fs@freebsd.org Cc: freebsd-current@FreeBSD.org Subject: Re: crash: umount_nfs: Current I tried my test (umount =96t nfs =96a && mount =96t nfs =96a) and no crash.= (with ~84G inact cached NFS data). I suspect it helped. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 _______________________________________________ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-fs@freebsd.org Sat Mar 25 00:02:51 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 26710D1CEB8 for ; Sat, 25 Mar 2017 00:02:51 +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 130F61777 for ; Sat, 25 Mar 2017 00:02:51 +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 v2P02oq8078750 for ; Sat, 25 Mar 2017 00:02:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 218101] [fuse] [request] support entry_timeout / attr_timeout Date: Sat, 25 Mar 2017 00:02:51 +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 Some 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: short_desc assigned_to 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: Sat, 25 Mar 2017 00:02:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218101 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[fuse] Support |[fuse] [request] support |entry_timeout / |entry_timeout / |attr_timeout |attr_timeout Assignee|freebsd-bugs@FreeBSD.org |freebsd-fs@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.=