From nobody Mon May 8 20:00:33 2023 X-Original-To: stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QFXGB5dWvz4BJRy for ; Mon, 8 May 2023 20:00:34 +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 4QFXGB4LkKz48jF for ; Mon, 8 May 2023 20:00:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683576034; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1K80jgK5P72DftovFvLlh3x1ZkO7zskOuGIJc7yGPW4=; b=XX/nY6uH/VbtYipPKeTL3kxoxRoEuBfpPi4N3dmNp1BekAhOaAlNeLFn/CBrSGMcfy0Vs/ ctVcCGO2qYU9y8BfTm7d937oJtV7sHQ6It2GvMyLD5e8Z423hqRvWfnUJf+xdbTcIMa+Hh 3MuMB/ws+2hMsSfjUAlYPq0dV4c44Crpq/yvqRI62eRxWDzgVmrlqIQ5L4Z24qTVmlKVC0 VuddpKr7IbrERHFKWgrtpE92yU3ttGqNAPpqo3EbVmSK9+GhAGNWJZ5bHGxvrZBhQ8OhqF Du6DIUhqBp2nsfgC+mlOyZYkACjszKxS3IADw1MyJ8T92sFHnt1+ZL9RcnfTjA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683576034; a=rsa-sha256; cv=none; b=ULqfEFbuCcId57L4gVoQ5agwgzLRuOuGBMaT5O6Ht63b7Rh6fBcg93C9IqUYYv2pUX6sig nSzg4wLw6lQgIgh02cL5LyQMjCJr/qm0NTUIzzjicCarjzprue9XKLKj1CZhkHM5XCs9gU 2LPd7Y3XBWfaaIg9zsoxu9RBSUi7QYhIqzOsvbdvDLzjLgpysWjH7bK+fruqwG1JvdkH4B XbdxW+FQhEwU8WHZqWknnjc6AzH4zmgo1ztnJuVTClSw0sH5Km5u9Vng7BouaUMdhhegxW Dk96nhIT/1Cy7bBOhnKmOj2VZji4L4AmSxR0E0jjLvsQb2Nd9BSDvVwDS61g6w== 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 4QFXGB30xJz1D5N for ; Mon, 8 May 2023 20:00:34 +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 348K0YR1098125 for ; Mon, 8 May 2023 20:00:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 348K0YK2098123 for stable@FreeBSD.org; Mon, 8 May 2023 20:00:34 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: stable@FreeBSD.org Subject: [Bug 246279] ciss device driver not allowing more than 48 drives to be detected by the CAM layer Date: Mon, 08 May 2023 20:00:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pen@lysator.liu.se X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246279 --- Comment #25 from Peter Eriksson --- Rebooted and tried with hw.ciss.nop_message_heartbeat=3D1, then logged in v= ia ssh and ran an "sesutil show" (before zfs had started importing pools), then it panic:ed with: login: (da116:ciss2:32:56:0): READ(6). CDB: 08 00 01 48 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error ciss2: *** Hot-plug drive removed, Port=3D2E Box=3D1 Bay=3D6 SN=3D = 5PGTSWYC (da116:ciss2:32:56:0): Retrying command, 3 more tries remain ciss2: *** Physical drive failure, Port=3D2E Box=3D1 Bay=3D6 reason=3D0x14 (da116:ciss2:32:56:0): READ(16). CDB: 88 00 00 00 00 05 74 ff ff 00 00 00 0= 1 00 00 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(6). CDB: 08 00 01 50 b0 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(10). CDB: 28 00 00 00 03 00 00 01 00 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(16). CDB: 88 00 00 00 00 05 74 ff fd 00 00 00 0= 1 00 00 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(6). CDB: 08 00 01 40 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(6). CDB: 08 00 01 38 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(6). CDB: 08 00 01 28 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(6). CDB: 08 00 01 30 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(6). CDB: 08 00 01 20 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Retrying command, 3 more tries remain (da116:ciss2:32:56:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. (da116:ciss2:32:56:0): READ(16). CDB: 88 00 00 00 00 05 74 ff ff 00 00 00 0= 1 00 00 00=20 (da116:ciss2:32:56:0): CAM status: SCSI Status Error (da116:ciss2:32:56:0): SCSI status: Check Condition (da116:ciss2:32:56:0): SCSI sense: ILLEGAL REQUEST asc:25,0 (Logical unit n= ot supported) (da116:ciss2:32:56:0): Error 6, Unretryable error (da116:ciss2:32:56:0): Invalidating pack (da116:ciss2:32:56:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. (da116:ciss2:32:56:0): READ(10). CDB: 28 00 00 00 03 00 00 01 00 00=20 (da116:ciss2:32:56:0): CAM status: SCSI Status Error (da116:ciss2:32:56:0): SCSI status: Check Condition (da116:ciss2:32:56:0): SCSI sense: ILLEGAL REQUEST asc:25,0 (Logical unit n= ot supported) (da116:ciss2:32:56:0): Error 6, Unretryable error (da116:ciss2:32:56:0): READ(16). CDB: 88 00 00 00 00 05 74 ff fd 00 00 00 0= 1 00 00 00=20 (da116:ciss2:32:56:0): CAM status: SCSI Status Error (da116:ciss2:32:56:0): SCSI status: Check Condition (da116:ciss2:32:56:0): SCSI sense: ILLEGAL REQUEST asc:25,0 (Logical unit n= ot supported) (da116:ciss2:32:56:0): Error 6, Unretryable error (da116:ciss2:32:56:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. (da116:ciss2:32:56:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. (da116:ciss2:32:56:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. (da116:ciss2:32:56:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. da116 at ciss2 bus 32 scbus7 target 56 lun 0 da116: s/n 5PGTSWYC detached May 8 21:56:32 balur03 ZFS[4858]: vdev probe failure, zpool=3D$FILUR02 path=3D$/dev/diskid/DISK-5PGTSWYC (da116:ciss2:32:56:0): READ(6). CDB: 08 00 01 20 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Error 5, Periph was invalidated (da116:ciss2:32:56:0): READ(10). CDB: 28 00 00 00 01 48 00 00 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Error 5, Periph was invalidated (da116:ciss2:32:56:0): READ(10). CDB: 28 00 00 00 01 28 00 00 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Error 5, Periph was invalidated (da116:ciss2:32:56:0): READ(10). CDB: 28 00 00 00 01 30 00 00 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Error 5, Periph was invalidated (da116:ciss2:32:56:0): READ(10). CDB: 28 00 00 00 01 38 00 00 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Error 5, Periph was invalidated (da116:ciss2:32:56:0): READ(10). CDB: 28 00 00 00 01 40 00 00 08 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Error 5, Periph was invalidated (da116:ciss2:32:56:0): READ(10). CDB: 28 00 00 00 01 50 00 00 b0 00=20 (da116:ciss2:32:56:0): CAM status: CCB request completed with an error (da116:ciss2:32:56:0): Error 5, Periph was invalidated Fatal trap 12: page fault while in kernel mode cpuid =3D 3; apic id =3D 03 fault virtual address =3D 0x180 fault code =3D supervisor read data, page not present (da116:ciss2:32:56:0): Periph destroyed instruction pointer =3D 0x20:0xffffffff8256e51d stack pointer =3D 0x28:0xfffffe058a1d59d0 frame pointer =3D 0x28:0xfffffe058a1d5a40 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 45 (solthread 0xfffffff) trap number =3D 12 panic: page fault cpuid =3D 3 time =3D 1683575795 KDB: stack backtrace: #0 0xffffffff80c325f5 at kdb_backtrace+0x65 #1 0xffffffff80be89c8 at vpanic+0x178 #2 0xffffffff80be8843 at panic+0x43 #3 0xffffffff8110408f at trap_fatal+0x38f #4 0xffffffff811040df at trap_pfault+0x4f #5 0xffffffff810dbd58 at calltrap+0x8 #6 0xffffffff8256e49a at vdev_dtl_reassess+0x5a #7 0xffffffff8256e49a at vdev_dtl_reassess+0x5a #8 0xffffffff825639e2 at spa_vdev_state_exit+0x42 #9 0xffffffff8255d04f at spa_async_thread_vd+0x17f #10 0xffffffff80ba969e at fork_exit+0x7e #11 0xffffffff810dcd8e at fork_trampoline+0xe System is going down. Uptime: 4m40s I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion. I watched C-beams glitter in the dark near the Tannh=C3=A4user Gate. All those moments will be lost in time, like tears in rain. Time to die. --=20 You are receiving this mail because: You are on the CC list for the bug.=