From owner-freebsd-scsi@freebsd.org Sun Jan 31 21:00:26 2021 Return-Path: Delivered-To: freebsd-scsi@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 66F02526250 for ; Sun, 31 Jan 2021 21:00:26 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DTNkx4J7Cz4f0R for ; Sun, 31 Jan 2021 21:00:25 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id BCF82526163; Sun, 31 Jan 2021 21:00:24 +0000 (UTC) Delivered-To: scsi@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 53E9652624C for ; Sun, 31 Jan 2021 21:00:24 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DTNkv5cG6z4f0H for ; Sun, 31 Jan 2021 21:00:23 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 983467094 for ; Sun, 31 Jan 2021 21:00:23 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 10VL0NPa060740 for ; Sun, 31 Jan 2021 21:00:23 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 10VL0NT5060739 for scsi@FreeBSD.org; Sun, 31 Jan 2021 21:00:23 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202101312100.10VL0NT5060739@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: scsi@FreeBSD.org Subject: Problem reports for scsi@FreeBSD.org that need special attention Date: Sun, 31 Jan 2021 21:00:23 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2021 21:00:26 -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 ------------+-----------+--------------------------------------------------- Open | 221952 | cam iosched: Fix trim statistics 1 problems total for which you should take action. From owner-freebsd-scsi@freebsd.org Mon Feb 1 21:57:40 2021 Return-Path: Delivered-To: freebsd-scsi@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7328A4E8B8F for ; Mon, 1 Feb 2021 21:57:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DV1yX2fgMz3J55 for ; Mon, 1 Feb 2021 21:57:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5930D4E8862; Mon, 1 Feb 2021 21:57:40 +0000 (UTC) Delivered-To: scsi@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 58F7D4E8861 for ; Mon, 1 Feb 2021 21:57:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DV1yX1yGwz3Hq3 for ; Mon, 1 Feb 2021 21:57:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 31F4E22CD5 for ; Mon, 1 Feb 2021 21:57:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 111LveAj078148 for ; Mon, 1 Feb 2021 21:57:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 111LveRd078147 for scsi@FreeBSD.org; Mon, 1 Feb 2021 21:57:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: scsi@FreeBSD.org Subject: [Bug 240145] [smartpqi][zfs] kernel panic with hanging vdev Date: Mon, 01 Feb 2021 21:57:40 +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: 12.2-RELEASE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: simba07565@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: scsi@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-scsi@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2021 21:57:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240145 seri changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simba07565@gmail.com --- Comment #11 from seri --- zed trying to fault the disk. PID: 8821 TASK: ffff89f704878000 CPU: 6 COMMAND: "zed" #0 [ffffa03c47a0f930] __schedule at ffffffffa88789dc #1 [ffffa03c47a0f9a8] schedule at ffffffffa8878e76 #2 [ffffa03c47a0f9c0] schedule_timeout at ffffffffa887bcc8 #3 [ffffa03c47a0fa60] wait_for_completion at ffffffffa887981d #4 [ffffa03c47a0fab8] flush_work at ffffffffa80c02ca #5 [ffffa03c47a0fb30] __cancel_work_timer at ffffffffa80c0443 #6 [ffffa03c47a0fba0] cancel_delayed_work_sync at ffffffffa80c0593 #7 [ffffa03c47a0fbb0] disk_block_events at ffffffffa83d9d67 #8 [ffffa03c47a0fbe8] __blkdev_get at ffffffffa828c147 #9 [ffffa03c47a0fc38] blkdev_get at ffffffffa828c6ff #10 [ffffa03c47a0fcb8] blkdev_get_by_path at ffffffffa828ca13 #11 [ffffa03c47a0fce0] vdev_disk_open at ffffffffc0734591 [zfs] #12 [ffffa03c47a0fd40] vdev_open at ffffffffc0730808 [zfs] #13 [ffffa03c47a0fd88] vdev_reopen at ffffffffc07318c1 [zfs] #14 [ffffa03c47a0fda8] vdev_fault at ffffffffc0732310 [zfs] #15 [ffffa03c47a0fdd8] zfs_ioc_vdev_set_state at ffffffffc0762737 [zfs] #16 [ffffa03c47a0fe08] zfsdev_ioctl at ffffffffc076ae82 [zfs] #17 [ffffa03c47a0fe70] do_vfs_ioctl at ffffffffa8264a76 #18 [ffffa03c47a0fee8] sys_ioctl at ffffffffa8265009 #19 [ffffa03c47a0ff28] do_syscall_64 at ffffffffa8003997 crash> bt PID: 47708 TASK: ffff89f5dfb5c000 CPU: 0 COMMAND: "z_ioctl_iss" #0 [ffffa03c572ff820] machine_kexec at ffffffffa805a19c #1 [ffffa03c572ff878] __crash_kexec at ffffffffa8137513 #2 [ffffa03c572ff940] crash_kexec at ffffffffa81375ec #3 [ffffa03c572ff960] oops_end at ffffffffa802f81a #4 [ffffa03c572ff988] no_context at ffffffffa8067c52 #5 [ffffa03c572ff9e0] __bad_area_nosemaphore at ffffffffa8067f8e #6 [ffffa03c572ffa30] bad_area_nosemaphore at ffffffffa8068084 #7 [ffffa03c572ffa40] __do_page_fault at ffffffffa8068748 #8 [ffffa03c572ffab0] trace_do_page_fault at ffffffffa8068c43 #9 [ffffa03c572ffae8] do_async_page_fault at ffffffffa806162a #10 [ffffa03c572ffb00] async_page_fault at ffffffffa887e9f8 [exception RIP: generic_make_request_checks+73] https://bestdoorbellcamera2021.com/ RIP: ffffffffa83c6159 RSP: ffffa03c572ffbb0 RFLAGS: 00010287 RAX: 0000000000000000 RBX: ffff89ed72203700 RCX: 000000003cd63180 RDX: 0000000000000080 RSI: 0000884849f33767 RDI: ffff89f7020cee80 RBP: ffffa03c572ffc10 R8: 0000000000000010 R9: 0000000002400000 R10: ffff89f713407980 R11: 0000000000000000 R12: 000000003cd63200 R13: 0000000000000080 R14: 0000000000000000 R15: 0000000000000000 ORIG_RAX: ffffffffffffffff CS: 0010 SS: 0018 #11 [ffffa03c572ffc18] generic_make_request at ffffffffa83c8a44 #12 [ffffa03c572ffc68] submit_bio at ffffffffa83c8d2d #13 [ffffa03c572ffcb8] vdev_disk_io_start at ffffffffc07350ce [zfs] #14 [ffffa03c572ffd98] zio_vdev_io_start at ffffffffc07a0844 [zfs] #15 [ffffa03c572ffde8] zio_execute at ffffffffc0796665 [zfs] #16 [ffffa03c572ffe28] taskq_thread at ffffffffc059b396 [spl] #17 [ffffa03c572ffec8] kthread at ffffffffa80c6ce7 #18 [ffffa03c572fff50] ret_from_fork at ffffffffa887d755 if (vd =3D=3D NULL) { ... } else if (ZIO_IS_TRIM(zio)) { /* * For TRIM, it is important to * take the SCL_ZIO lock to avoid another thread messing * with the vdev state */ spa_config_enter(spa, SCL_ZIO, zio, RW_READER); } And in zio_vdev_io_assess if ((vd =3D=3D NULL && !(zio->io_flags & ZIO_FLAG_CONFIG_WRITER)) || (ZIO_IS_TRIM(zio))) spa_config_exit(zio->io_spa, SCL_ZIO, zio); --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-scsi@freebsd.org Mon Feb 1 22:18:50 2021 Return-Path: Delivered-To: freebsd-scsi@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ECC2D4E9636 for ; Mon, 1 Feb 2021 22:18:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DV2Qy64ppz3Kyv for ; Mon, 1 Feb 2021 22:18:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id CEFCF4E973F; Mon, 1 Feb 2021 22:18:50 +0000 (UTC) Delivered-To: scsi@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CEC604E9800 for ; Mon, 1 Feb 2021 22:18:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DV2Qy5RR7z3KwW for ; Mon, 1 Feb 2021 22:18:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A96D322FD4 for ; Mon, 1 Feb 2021 22:18:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 111MIohO092009 for ; Mon, 1 Feb 2021 22:18:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 111MIo5f092008 for scsi@FreeBSD.org; Mon, 1 Feb 2021 22:18:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: scsi@FreeBSD.org Subject: [Bug 240145] [smartpqi][zfs] kernel panic with hanging vdev Date: Mon, 01 Feb 2021 22:18:50 +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: 12.2-RELEASE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: scott.benesh@microchip.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: scsi@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-scsi@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2021 22:18:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240145 scott.benesh@microchip.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |scott.benesh@microchip.com --- Comment #12 from scott.benesh@microchip.com --- Have you tried with the latest FreeBSD drivers for found here: https://storage.microsemi.com/en-us/speed/raid/aac/unix/smartpqi_freebsd_v4= 030.0.101_tgz.php We've been trying to get the latest driver code changes inbox at=20 https://reviews.freebsd.org/D24428 but I guess we've lost the magic on getting these changes submitted. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-scsi@freebsd.org Sat Feb 6 22:03:45 2021 Return-Path: Delivered-To: freebsd-scsi@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 651A653BD72 for ; Sat, 6 Feb 2021 22:03:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DY5sF2FLHz4l8H for ; Sat, 6 Feb 2021 22:03:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4CFEF53C03B; Sat, 6 Feb 2021 22:03:45 +0000 (UTC) Delivered-To: scsi@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4CC5D53BF47 for ; Sat, 6 Feb 2021 22:03:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DY5sF1YMPz4l5q for ; Sat, 6 Feb 2021 22:03:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2851519309 for ; Sat, 6 Feb 2021 22:03:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 116M3jrN040113 for ; Sat, 6 Feb 2021 22:03:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 116M3jhB040112 for scsi@FreeBSD.org; Sat, 6 Feb 2021 22:03:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: scsi@FreeBSD.org Subject: [Bug 240145] [smartpqi][zfs] kernel panic with hanging vdev Date: Sat, 06 Feb 2021 22:03:45 +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: 12.2-RELEASE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rainer@ultra-secure.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: scsi@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-scsi@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2021 22:03:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240145 --- Comment #13 from rainer@ultra-secure.de --- Hi, thanks for this update. I will then try your driver. Unfortunately, I don't have a test-environment= to try it out. I guess, I can make a boot-environment and if it causes problems, just reve= rt to the old boot-environment? I'm sorry that your efforts are not honored. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-scsi@freebsd.org Sat Feb 6 22:46:39 2021 Return-Path: Delivered-To: freebsd-scsi@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 93E8C53D5C2 for ; Sat, 6 Feb 2021 22:46:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DY6pl3bRfz4nPT for ; Sat, 6 Feb 2021 22:46:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7995053D5C1; Sat, 6 Feb 2021 22:46:39 +0000 (UTC) Delivered-To: scsi@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 783AE53D5C0 for ; Sat, 6 Feb 2021 22:46:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DY6pl2j7zz4nG7 for ; Sat, 6 Feb 2021 22:46:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4D0CA19B0C for ; Sat, 6 Feb 2021 22:46:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 116MkdmU064900 for ; Sat, 6 Feb 2021 22:46:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 116MkdT7064899 for scsi@FreeBSD.org; Sat, 6 Feb 2021 22:46:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: scsi@FreeBSD.org Subject: [Bug 240145] [smartpqi][zfs] kernel panic with hanging vdev Date: Sat, 06 Feb 2021 22:46:39 +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: 12.2-RELEASE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rainer@ultra-secure.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: scsi@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-scsi@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2021 22:46:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240145 --- Comment #14 from rainer@ultra-secure.de --- OK, so I realized I can compile this anywhere, not just on my server. This is what I did: - take a FreeBSD 12.2-RELEASE-p3 install - download src.txz, extract - freebsd-update fetch && freebsd-update install - cd /usr/src - patch -p 0 < /root/D24428.diff - make buildkernel && make installkernel this is what I get: cc -target x86_64-unknown-freebsd12.2 --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasin= g=20 -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -inclu= de opt_global.h -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-poin= ter -MD -MF.depend.nehemiah.o -MTnehemiah.o -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include -mcmodel=3Dkernel -mn= o-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestand= ing -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-comp= are -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx -std=3Diso9899:1999 -Werror /usr/src/sys/dev/random/nehemiah.c ctfconvert -L VERSION -g nehemiah.o cc -target x86_64-unknown-freebsd12.2 --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasin= g=20 -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -inclu= de opt_global.h -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-poin= ter -MD -MF.depend.smartpqi_cam.o -MTsmartpqi_cam.o -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include -mcmodel=3Dkernel -mn= o-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestand= ing -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-comp= are -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx -std=3Diso9899:1999 -Werror /usr/src/sys/dev/smartpqi/smartpqi_c= am.c In file included from /usr/src/sys/dev/smartpqi/smartpqi_cam.c:34: In file included from /usr/src/sys/dev/smartpqi/smartpqi_includes.h:86: /usr/src/sys/dev/smartpqi/smartpqi_defines.h:973:27: error: redefinition of typedef 'OS_ATOMIC64_T' is a C11 feature [-Werror,-Wtypedef-redefinition] typedef volatile uint64_t OS_ATOMIC64_T; ^ /usr/src/sys/dev/smartpqi/smartpqi_defines.h:825:33: note: previous definit= ion is here typedef volatile uint64_t OS_ATOMIC64_T; ^ /usr/src/sys/dev/smartpqi/smartpqi_defines.h:975:9: error: 'OS_ATOMIC64_REA= D' macro redefined [-Werror,-Wmacro-redefined] #define OS_ATOMIC64_READ(_softs, target)=20=20=20=20=20=20=20 atomic_load_acq_64(&(_softs)->target) ^ /usr/src/sys/dev/smartpqi/smartpqi_defines.h:826:9: note: previous definiti= on is here #define OS_ATOMIC64_READ(p) atomic_load_acq_64(p) ^ /usr/src/sys/dev/smartpqi/smartpqi_defines.h:976:9: error: 'OS_ATOMIC64_INC' macro redefined [-Werror,-Wmacro-redefined] #define OS_ATOMIC64_INC(_softs, target)=20=20=20=20=20=20=20=20 atomic_add_64(&(_softs)->target, 1) ^ /usr/src/sys/dev/smartpqi/smartpqi_defines.h:831:9: note: previous definiti= on is here #define OS_ATOMIC64_INC(p) (atomic_fetchadd_64(p, 1) + 1) ^ /usr/src/sys/dev/smartpqi/smartpqi_cam.c:619:4: error: use of undeclared identifier 'bsd_status' bsd_status =3D EIO; ^ /usr/src/sys/dev/smartpqi/smartpqi_cam.c:623:31: error: use of undeclared identifier 'bsd_status'; did you mean 'dumpstatus'? DBG_FUNC("OUT error =3D %d\n", bsd_status); ^~~~~~~~~~ dumpstatus /usr/src/sys/dev/smartpqi/smartpqi_defines.h:1083:58: note: expanded from m= acro 'DBG_FUNC' printf("[FUNC]:[ %s ] [ %d ]"fmt,__func__,__LINE__,##args); \ =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ /usr/src/sys/sys/systm.h:217:5: note: 'dumpstatus' declared here int dumpstatus(vm_offset_t addr, off_t count); ^ /usr/src/sys/dev/smartpqi/smartpqi_cam.c:623:31: error: format specifies ty= pe 'int' but the argument has type 'int (*)(vm_offset_t, off_t)' (aka 'int (*)(unsigned long, long)') [-Werror,-Wformat] DBG_FUNC("OUT error =3D %d\n", bsd_status); ~~ ^~~~~~~~~~ /usr/src/sys/dev/smartpqi/smartpqi_defines.h:1083:58: note: expanded from m= acro 'DBG_FUNC' printf("[FUNC]:[ %s ] [ %d ]"fmt,__func__,__LINE__,##args); \ ~~~=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 ^~~~ /usr/src/sys/dev/smartpqi/smartpqi_cam.c:625:9: error: use of undeclared identifier 'bsd_status'; did you mean 'dumpstatus'? return bsd_status; ^~~~~~~~~~ dumpstatus /usr/src/sys/sys/systm.h:217:5: note: 'dumpstatus' declared here int dumpstatus(vm_offset_t addr, off_t count); ^ /usr/src/sys/dev/smartpqi/smartpqi_cam.c:625:9: error: incompatible pointer= to integer conversion returning 'int (vm_offset_t, off_t)' (aka 'int (unsigned long, long)') from a function with result type 'int' [-Werror,-Wint-conversion] return bsd_status; ^~~~~~~~~~ 8 errors generated. *** Error code 1 Stop. make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC *** Error code 1 *** Error code 1 Unfortunately, I have no idea how to fix this. --=20 You are receiving this mail because: You are the assignee for the bug.=