From nobody Tue Sep 20 09:40:46 2022 X-Original-To: freebsd-questions@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 4MWxPn1wN8z4cbc4 for ; Tue, 20 Sep 2022 09:41:17 +0000 (UTC) (envelope-from ludovit.koren@gmail.com) Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MWxPm4df9z3wr8 for ; Tue, 20 Sep 2022 09:41:16 +0000 (UTC) (envelope-from ludovit.koren@gmail.com) Received: by mail-ed1-x529.google.com with SMTP id f20so2963799edf.6 for ; Tue, 20 Sep 2022 02:41:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:user-mail-address:subject :to:from:from:to:cc:subject:date; bh=WPFITUvb1lS1cQVqyC6gsxYiHkYx+sjIWSwXC1pFNnc=; b=EZlRc3pkeeDs2uwz9/Jx7Vj+JkfInMX76UJvtWaDnwbH13aPBGuo+CrJJNd9eSMnEF oba6Xy4Wua6qRHejGlcJREz7cv7Eh7A5vHZNGTXxPugpNiAVlpJcKOjqfHivBfwZ8ODr YbCOmODDaXXCJLADsAMSPEVlXjB1/FifTAxn9vs9Ejo60vEL8XpTPPehVKYoRy/QhzOu 09S3ZqtjZN5UVYoEzrduND35uPvk1gkoGf3Y5s3BQODIMcIWwrP5dMc5/yI6BQf0trOY DM7AG/+XU44ci3E7pZ0F0x8F20hBE7hhVfm6oAj2WpPEljb1pgG1ke7cePgsp5PlPkLq acNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:user-mail-address:subject :to:from:x-gm-message-state:from:to:cc:subject:date; bh=WPFITUvb1lS1cQVqyC6gsxYiHkYx+sjIWSwXC1pFNnc=; b=ygcBqS12bqSO+AVvKhXwgHHTAIBR3kzMKzc295OzDI9+KzVkPH+s6OgLEY4a0mPK7K PpE2loDAAm0YimtWBIgld709i3fAC9A/xC2ZhA3fMlEEtmt+lIahAOMUgSSFxfQ5zmef /UgA82oZYjODAfGLHjjWJ7YHVItq3oFTSCv1sd6LKtQeZLme1z9EpG8kNRLMtvVLry4M mBLGlyCL3Ln8iMNNjow6u9iGkBSk9mS+lMUlFDoc7h2lrxmfivwJOifSsclGuxR3PVBF LauRY5L/KcNt4Vl27PUCFMWidnbK1HiNsy0sXnoSS5snTW9vlfeaqjrA//IUnLCSeOjv gv2Q== X-Gm-Message-State: ACrzQf1ivrUjktCTDHG42fJleKK6AYDfqwGXGaYknumP1ICs0GVnmfKy MOcH8oJ0GThUGGRyDI5zcK2RdyOQ9yM= X-Google-Smtp-Source: AMsMyM6n43kHYqrWuTWJVIzQAfIpFuiEn2c+be2vcCgoOvkjVh+Rn4lvUDeYLESCLiCN+FXe5LyiVw== X-Received: by 2002:a05:6402:34cc:b0:451:62bf:c816 with SMTP id w12-20020a05640234cc00b0045162bfc816mr19539516edc.213.1663666875511; Tue, 20 Sep 2022 02:41:15 -0700 (PDT) Received: from jedi.localdomain (adsl-dyn5.91-127-88.t-com.sk. [91.127.88.5]) by smtp.gmail.com with ESMTPSA id p15-20020a50cd8f000000b00453d8dee355sm943978edi.60.2022.09.20.02.41.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Sep 2022 02:41:14 -0700 (PDT) Received: from localhost.my.domain (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (1024 bits) server-digest SHA256) (No client certificate requested) by jedi.localdomain (Postfix) with ESMTPS id 2456589388 for ; Tue, 20 Sep 2022 11:40:47 +0200 (CEST) Received: (from koren@localhost) by localhost.my.domain (8.16.1/8.16.1/Submit) id 28K9elwS000508; Tue, 20 Sep 2022 11:40:47 +0200 (CEST) (envelope-from ludovit.koren@gmail.com) X-Authentication-Warning: localhost.my.domain: koren set sender to ludovit.koren@gmail.com using -f From: Ludovit Koren To: freebsd-questions@freebsd.org Subject: QLogic ISP2722-based 16/32Gb Fibre Channel User-Mail-Address: ludovit.koren@gmail.com Date: Tue, 20 Sep 2022 11:40:46 +0200 Message-ID: <86zgeu8jtt.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (berkeley-unix) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Rspamd-Queue-Id: 4MWxPm4df9z3wr8 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=EZlRc3pk; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ludovit.koren@gmail.com designates 2a00:1450:4864:20::529 as permitted sender) smtp.mailfrom=ludovit.koren@gmail.com X-Spamd-Result: default: False [-3.92 / 15.00]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.997]; NEURAL_HAM_MEDIUM(-0.92)[-0.922]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_VIA_SMTP_AUTH(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; TAGGED_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::529:from]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; HAS_XAW(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org] X-ThisMailContainsUnwantedMimeParts: N --=-=-= Content-Type: text/plain Hi, I am running FreeBSD 13.1-STABLE #0 stable/13-n251921-35cdb601016 and trying to configure QLogic ISP2722-based 16/32Gb Fibre Channel. I am not able to initialize the card correctly. In the /boot/device.hints is: #hint.isp.0.gone_device_time="0xB4" #hint.isp.1.gone_device_time="0xB4" hint.isp.0.role="1" hint.isp.1.role="1" hint.isp.0.nofctape="1" hint.isp.1.nofctape="1" hint.isp.0.topology="nport-only" hint.isp.1.topology="nport-only" hint.isp.0.debug="0xffff" hint.isp.0.fwload_disable="1" hint.isp.1.fwload_disable="1" The boot output is in the attached file. I could not find any relevant documentation about the configuration of the card. Could anybody point me to the right direction? Any help greatly appreciated. Regards, lk --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=isp.txt isp0: RISC2HOST ISR 0x4000c010 isp0: OUT mbox 0 = 0x4000 isp0: OUT mbox 1 = 0x0009 sp0: OUT mbox 2 = 0x0020 isp0: OUT mbox 3 = 0x0008 isp0: OUT mbox 4 = 0x0000 isp0: Mailbox Command 'ABOUT FIRMWARE' isp0: IN mbox 0 = 0x0008 isp0: RISC2HOST ISR 0x40000010 isp0: RISC2HOST ISR 0x4000c010 isp0: OUT mbox 0 = 0x4000 isp0: OUT mbox 1 = 0x0008 isp0: OUT mbox 2 = 0x0008 isp0: OUT mbox 3 = 0x00e6 isp0: OUT mbox 4 = 0xffff isp0: OUT mbox 5 = 0x0015 isp0: OUT mbox 6 = 0xd0d5 isp0: OUT mbox 15 = 0x785a isp0: OUT mbox 16 = 0x0206 isp0: OUT mbox 17 = 0x0000 isp0: Board Type 2700, Chip Revision 0x1, resident F/W Revision 8.8.230 isp0: Attributes: Class2 MultiID T10CRC MQ MSIX VP0_Decoupling HotFW EXMOFF NPMOFF DIFCHOP ASICTMP ATIOMQ (unknown 0x0000020078020000) isp0: Mailbox Command 'GET RESOURCE COUNT' isp0: IN mbox 0 = 0x0042 isp0: RISC2HOST ISR 0x40000010 isp0: RISC2HOST ISR 0x4000c010 isp0: OUT mbox 0 = 0x4000 isp0: OUT mbox 1 = 0x0000 isp0: OUT mbox 2 = 0x0000 isp0: OUT mbox 3 = 0x0800 isp0: OUT mbox 6 = 0x0800 isp0: OUT mbox 7 = 0x172e isp0: OUT mbox 8 = 0x0000 isp0: OUT mbox 9 = 0x0000 isp0: OUT mbox 10 = 0x1739 isp0: OUT mbox 11 = 0x00fe isp0: OUT mbox 12 = 0xbead isp0: 2048 max I/O command limit set isp0: request area @ 0x27680000/0x80000 isp0: response area @ 0x27550000/0x10000 isp0: NVRAM 0x51402ec01729ae83 0x51402ec01729ae82 maxframelen 2048 isp0: NVRAM loopid 0 fwopt1 0x6006 fwopt2 0x1026 fwopt3 0x4000 isp0: Chan 0 0x51402ec01729ae83/0x51402ec01729ae82 Role Target isp0: Mailbox Command 'SET FIRMWARE OPTIONS' isp0: IN mbox 0 = 0x0038 isp0: IN mbox 1 = 0x0001 isp0: IN mbox 2 = 0x0000 isp0: IN mbox 3 = 0x0000 isp0: RISC2HOST ISR 0x40000010 isp0: RISC2HOST ISR 0x4000c010 isp0: OUT mbox 0 = 0x4000 isp0: Setting ICB Node 0x51402ec01729ae83 Port 0x51402ec01729ae82 isp0: isp_init: fwopt1 0x6036 fwopt2 0x4400016 fwopt3 0x4022 isp0: isp_init: rqst 0000000027680000 rsp 0000000027550000 isp0: isp_init: isp0: 0x00000000: 01 00 00 00 00 08 00 00 00 00 00 00 51 40 2e c0 isp0: 0x00000010: 17 29 ae 82 51 40 2e c0 17 29 ae 83 00 00 00 00 isp0: 0x00000020: 03 00 00 00 00 04 00 20 00 00 00 00 00 00 68 27 isp0: 0x00000030: 00 00 00 00 00 00 55 27 00 00 00 00 00 00 00 00 isp0: 0x00000040: 00 00 00 00 01 00 02 00 00 00 00 00 00 00 00 00 isp0: 0x00000050: 00 00 00 00 00 00 00 00 00 00 0a 00 36 60 00 00 isp0: 0x00000060: 16 00 40 04 22 40 00 00 00 00 00 00 00 00 00 00 isp0: 0x00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 isp0: INIT F/W from 0000000014fb2000 isp0: Mailbox Command 'INIT FIRMWARE' isp0: IN mbox 0 = 0x0060 isp0: IN mbox 1 = 0x0000 isp0: IN mbox 2 = 0x14fb isp0: IN mbox 3 = 0x2000 isp0: IN mbox 6 = 0x0000 isp0: IN mbox 7 = 0x0000 isp0: RISC2HOST ISR 0x40000010 isp0: RISC2HOST ISR 0x4006c011 isp0: OUT mbox 0 = 0x4006 isp0: OUT mbox 1 = 0x0000 isp0: OUT mbox 2 = 0x14fb isp0: OUT mbox 3 = 0x2000 isp0: Mailbox Command 'INIT FIRMWARE' failed (COMMAND PARAMETER ERROR) isp0: isp_reinit: cannot init card isp0: RISC2HOST ISR 0x40060011 device_attach: isp0 attach returned 6 --=-=-=--