From nobody Sat Dec 16 17:19:58 2023 X-Original-To: freebsd-drivers@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 4SstBW5T9nz54Bct for ; Sat, 16 Dec 2023 17:20:03 +0000 (UTC) (envelope-from kempe@lysator.liu.se) Received: from mail.lysator.liu.se (mail.lysator.liu.se [130.236.254.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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SstBV3QCNz3MWc for ; Sat, 16 Dec 2023 17:20:02 +0000 (UTC) (envelope-from kempe@lysator.liu.se) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of kempe@lysator.liu.se designates 130.236.254.3 as permitted sender) smtp.mailfrom=kempe@lysator.liu.se; dmarc=pass (policy=none) header.from=lysator.liu.se Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id ECF6513DA6 for ; Sat, 16 Dec 2023 18:19:59 +0100 (CET) Received: from shipon.lysator.liu.se (shipon.lysator.liu.se [IPv6:2001:6b0:17:f0a0::83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id DF45613F1A for ; Sat, 16 Dec 2023 18:19:59 +0100 (CET) Date: Sat, 16 Dec 2023 18:19:58 +0100 From: Andreas Kempe To: freebsd-drivers@freebsd.org Subject: HP P420i HBA mode missing drives Message-ID: List-Id: Writing device drivers for FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-drivers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-drivers@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="sCNw67mgoTGHf5Y/" Content-Disposition: inline X-Virus-Scanned: ClamAV using ClamSMTP X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[lysator.liu.se,none]; RCVD_IN_DNSWL_MED(-0.20)[130.236.254.3:from]; R_SPF_ALLOW(-0.20)[+a:mail.lysator.liu.se]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-drivers@freebsd.org]; MIME_TRACE(0.00)[0:+,1:+,2:+]; R_DKIM_NA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:2843, ipnet:130.236.0.0/16, country:SE]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; HAS_ATTACHMENT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-drivers@freebsd.org]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4SstBV3QCNz3MWc X-Spamd-Bar: --- --sCNw67mgoTGHf5Y/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, We are using an HPE SL4540 with an HP P420i raid controller with 60 HP branded SAS drives. When configuring the raid controller for HBA mode, i.e. passthrough of the drives to the OS, we only get 56 drives, with four missing. The missing drives are drives 27 through 30 in bay 1. Booting Linux on the machine instead of FreeBSD gives us all 60 drives visible to Linux. I've attached the output of camcontrol devlist. Does anyone have any clue what could cause this? Best regards, Andreas Kempe --sCNw67mgoTGHf5Y/ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="camcontrol.txt" root@kukuri:~ # camcontrol devlist at scbus1 target 8 lun 0 (pass0,da0) at scbus1 target 9 lun 0 (pass1,da1) at scbus1 target 10 lun 0 (pass2,da2) at scbus1 target 11 lun 0 (pass3,da3) at scbus1 target 12 lun 0 (pass4,da4) at scbus1 target 13 lun 0 (pass5,da5) at scbus1 target 14 lun 0 (pass6,da6) at scbus1 target 15 lun 0 (pass7,da7) at scbus1 target 16 lun 0 (pass8,da8) at scbus1 target 17 lun 0 (pass9,da9) at scbus1 target 18 lun 0 (pass10,da10) at scbus1 target 19 lun 0 (pass11,da11) at scbus1 target 20 lun 0 (pass12,da12) at scbus1 target 21 lun 0 (pass13,da13) at scbus1 target 22 lun 0 (pass14,da14) at scbus1 target 23 lun 0 (pass15,da15) at scbus1 target 24 lun 0 (pass16,da16) at scbus1 target 25 lun 0 (pass17,da17) at scbus1 target 26 lun 0 (pass18,da18) at scbus1 target 27 lun 0 (pass19,da19) at scbus1 target 28 lun 0 (pass20,da20) at scbus1 target 29 lun 0 (pass21,da21) at scbus1 target 30 lun 0 (pass22,da22) at scbus1 target 31 lun 0 (pass23,da23) at scbus1 target 32 lun 0 (pass24,da24) at scbus1 target 33 lun 0 (pass25,da25) at scbus1 target 34 lun 0 (pass26,da26) at scbus1 target 35 lun 0 (pass27,da27) at scbus1 target 36 lun 0 (pass28,da28) at scbus1 target 37 lun 0 (pass29,da29) at scbus1 target 38 lun 0 (pass30,da30) at scbus1 target 39 lun 0 (pass31,da31) at scbus1 target 40 lun 0 (pass32,da32) at scbus1 target 41 lun 0 (pass33,da33) at scbus1 target 42 lun 0 (pass34,da34) at scbus1 target 43 lun 0 (pass35,da35) at scbus1 target 44 lun 0 (pass36,da36) at scbus1 target 45 lun 0 (pass37,da37) at scbus1 target 46 lun 0 (pass38,da38) at scbus1 target 47 lun 0 (pass39,da39) at scbus1 target 48 lun 0 (pass40,da40) at scbus1 target 49 lun 0 (pass41,da41) at scbus1 target 50 lun 0 (pass42,da42) at scbus1 target 51 lun 0 (pass43,da43) at scbus1 target 52 lun 0 (pass44,da44) at scbus1 target 53 lun 0 (pass45,da45) at scbus1 target 54 lun 0 (pass46,da46) at scbus1 target 55 lun 0 (pass47,da47) at scbus1 target 56 lun 0 (pass48,da48) at scbus1 target 57 lun 0 (pass49,da49) at scbus1 target 58 lun 0 (pass50,da50) at scbus1 target 59 lun 0 (pass51,da51) at scbus1 target 60 lun 0 (pass52,da52) at scbus1 target 61 lun 0 (pass53,da53) at scbus1 target 62 lun 0 (pass54,da54) at scbus1 target 63 lun 0 (pass55,da55) at scbus3 target 0 lun 0 (pass56,ada0) at scbus4 target 0 lun 0 (pass57,ada1) at scbus9 target 0 lun 0 (pass58,ses0) --sCNw67mgoTGHf5Y/--