From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <pve-user-bounces@lists.proxmox.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9])
	by lore.proxmox.com (Postfix) with ESMTPS id 7DC0D1FF15C
	for <inbox@lore.proxmox.com>; Fri,  2 May 2025 17:40:12 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
	by firstgate.proxmox.com (Proxmox) with ESMTP id 61CA233C4C;
	Fri,  2 May 2025 17:40:18 +0200 (CEST)
From: Marco Gaiarin <gaio@lilliput.linux.it>
Date: Fri, 2 May 2025 17:21:05 +0200
Organization: Il gaio usa sempre TIN per le liste, fallo anche tu!!!
Message-ID: <vf4fel-i3o2.ln1@leia.lilliput.linux.it>
X-Trace: eraldo.lilliput.linux.it 1746199283 1929809 192.168.24.2 (2 May 2025
 15:21:23 GMT)
X-Mailer: tin/2.6.4-20240224 ("Banff") (Linux/6.11.0-24-generic (x86_64))
X-Gateway-System: SmartGate 1.4.5 <news.lilliput.linux.it>
To: pve-user@lists.proxmox.com
X-SPAM-LEVEL: Spam detection results:  0
 AWL 0.309 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DMARC_PASS               -0.1 DMARC pass policy
 JMQ_SPF_NEUTRAL           0.5 SPF set to ?all
 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment
 SPF_HELO_PASS          -0.001 SPF: HELO matches SPF record
 SPF_PASS               -0.001 SPF: sender matches SPF record
Subject: [PVE-User] Dell PowerEdge T140, megaraid, BIOS Boot...
X-BeenThere: pve-user@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE user list <pve-user.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-user/>
List-Post: <mailto:pve-user@lists.proxmox.com>
List-Help: <mailto:pve-user-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=subscribe>
Reply-To: Proxmox VE user list <pve-user@lists.proxmox.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: pve-user-bounces@lists.proxmox.com
Sender: "pve-user" <pve-user-bounces@lists.proxmox.com>


I've just upgraded to PVE8 a little cluster built with an PowerEdge T340
(boot in UEFI mode) and an T140 (boot in BIOS mode).

T340 works like a charme; T140 after rebooting panicked because cannot find
root filesystem; looking carefully at kernel log revealed that disks get not
recognized, and going deeper lead me to:

 gaio@leia:~$ grep megaraid T140_boot_log.txt
 [   31.952470] megaraid_sas 0000:01:00.0: FW now in Ready state
 [   31.952472] megaraid_sas 0000:01:00.0: 63 bit DMA mask and 32 bit consistent mask
 [   31.952624] megaraid_sas 0000:01:00.0: firmware supports msix        : (96)
 [   31.952750] megaraid_sas 0000:01:00.0: requested/available msix 5/5 poll_queue 0
 [   31.952752] megaraid_sas 0000:01:00.0: current msix/online cpus      : (5/4)
 [   31.952753] megaraid_sas 0000:01:00.0: RDPQ mode     : (disabled)
 [   31.952758] megaraid_sas 0000:01:00.0: Current firmware supports maximum commands: 928        LDIO threshold: 237
 [   31.954076] megaraid_sas 0000:01:00.0: Performance mode :Latency (latency index = 1)
 [   31.954078] megaraid_sas 0000:01:00.0: FW supports sync cache        : No
 [   31.954080] megaraid_sas 0000:01:00.0: megasas_disable_intr_fusion is called outbound_intr_mask:0x40000009
 [   32.362294] megaraid_sas 0000:01:00.0: Ignore DCMD timeout: megasas_get_ctrl_info 5382
 [   32.665126] megaraid_sas 0000:01:00.0: Could not get controller info. Fail from megasas_init_adapter_fusion 1907
 [   32.908139] megaraid_sas 0000:01:00.0: Failed from megasas_init_fw 6539

googling a bit lead me to some forum and pages; after some test i've added
to kernel boot parameters:

	iommu=pt

and now server boot flawlessy.


The two servers have different hardware but share the same BIOS, so this
lead to me to the hypotesis that the new megaraid_sas kernel driver depend
on UEFI initialization to work, or something like this.

Also, i've understood that 'pt' mean 'PassThrought', but i've not clear what
overral consequences (performance, stability, ...) have this options.


I'm seeking feedback. Thanks.

-- 



_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user