From nobody Sun Feb 18 02:47:23 2024 X-Original-To: ppc@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 4TcqpJ3pWtz5B6L9 for ; Sun, 18 Feb 2024 02:47:36 +0000 (UTC) (envelope-from ben@desync.com) Received: from bitcloud.desync.com (bitcloud.desync.com [208.83.20.100]) (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 (2048 bits) client-digest SHA256) (Client CN "bitcloud.desync.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TcqpH3m35z4JPH for ; Sun, 18 Feb 2024 02:47:35 +0000 (UTC) (envelope-from ben@desync.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=desync.com header.s=dk0 header.b=FbY3ch3d; spf=pass (mx1.freebsd.org: domain of ben@desync.com designates 208.83.20.100 as permitted sender) smtp.mailfrom=ben@desync.com; dmarc=pass (policy=reject) header.from=desync.com Received: via submission by bitcloud.desync.com with ESMTPSA id E0D4E79BFE for ; Sat, 17 Feb 2024 21:47:23 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=desync.com; s=dk0; t=1708224444; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:mime-version: content-type:content-type; bh=oGnrmUK+J7eb86E3SqibHYsrtropQrE1e4Q46bZ4jiM=; b=FbY3ch3dnSvE4/YdWmUJY0algw2i97FgzOWEefEqUGshqn4pT0fCUwpWr+wusZBqq4etF8 Y8eivBJl+slImY+cIdIfcOQUwcsOA6/mTefUhrz6yFeKJGxUUt6Li+L/3PjtLnsmA0p9/0 ToSjF6VJTMPQC2vFRt4nbqgnt44EhhQ= Date: Sat, 17 Feb 2024 21:47:23 -0500 From: ben wilber To: ppc@freebsd.org Subject: IBM LC921 Message-ID: X-Mailer: NeXT Mail 3.3 X-Nextstep-Mailer: Mail 3.3 (Enhance 1.3b1) List-Id: Porting FreeBSD to the PowerPC List-Archive: https://lists.freebsd.org/archives/freebsd-ppc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4TcqpH3m35z4JPH X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.42 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; SUBJ_ALL_CAPS(0.68)[9]; DMARC_POLICY_ALLOW(-0.50)[desync.com,reject]; MID_RHS_NOT_FQDN(0.50)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[desync.com:s=dk0]; RWL_MAILSPIKE_GOOD(-0.10)[208.83.20.100:from]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:30217, ipnet:208.83.20.0/24, country:US]; FREEFALL_USER(0.00)[ben]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[ppc@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[ppc@freebsd.org]; DKIM_TRACE(0.00)[desync.com:+] Hi, I'm trying to get FreeBSD to run on an IBM LC921. The wiki mentions the LC922, which I think is the same Supermicro P9DSU-C but in 2U, so presumably someone had this working at some point. Anyway, two snags so far: 1. The latest PNOR from IBM (V2.18-20210329) won't start any version of FreeBSD with ISOs currently available. It just reboots with a checkstop. I installed Linux and built kexec-lite and this does seem to work, but it would be nice if FreeBSD booted directly. 2. When switching over from the intermediate Linux (currently 6.1.0), it says: [23465.263516] xhci_hcd 0005:01:00.0: Host halt failed, -110 Then FreeBSD panics with: xhci0: mem 0x80000000-0x8000ffff,0x80010000-0x80011fff irq 1030136 at device 0.0 numa-domain 0 on pci12 xhci0: 64 bytes context size, 64-bit DMA xhci0: Controller halt timeout. xhci0: XHCI halt/start/probe failed err=18 xhci0: Controller halt timeout. fatal kernel trap: exception = 0x300 (data storage interrupt) (...) curthread = 0xc0080000b258c840 pid = 12, comm = irq39774168: xhci0 The PNOR kernel doesn't say anything about USB when kexec-ing, so maybe this is a bug in the newer/stock Linux I'm hopping through. This is as far as I've gotten. Any hints would be appreciated. I'm happy to test patches if anyone's interested. Thanks!