From nobody Mon Feb 19 16:10:32 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 4TdnZL24mYz5C5CD for ; Mon, 19 Feb 2024 16:10:34 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TdnZL1BVkz4PRS; Mon, 19 Feb 2024 16:10:34 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708359034; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1uVIhSk9VX0TzKck12hPnCP+yPffkQYX7cDiHgfma9M=; b=oQq9z/FBrpMF6YxwziHfEidLoi1nhS39clBb4pv0lAS2IHIeXffg3XMG5cBTIAWsoh4dsa Vb6YMOKqPPBINhpJG+BfP+KrfGYXqM6sk7y7WY9L4UU6ixemET12q0VzdlLliDW3ffE8oc YvF37KGdq+EtZ3xWl5EIkAWHzk4obFU8crcOyYTaMe+lv4E/UO7fIE9zUPX7kS2Tjq7lCm qoHBekEIUiw5ZfVsz519p+ec+282YQq1r/swb3Ufqq6D4uH19cWbrMhB65iskan2qsoTUh fN7LKv01azUil2T4GAEm9XKJx8ONIjVpz9VB74zCBGyKWubsLw1YI/h/kGuaVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708359034; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1uVIhSk9VX0TzKck12hPnCP+yPffkQYX7cDiHgfma9M=; b=cPmCw6JSwFWbM5G6+r+ft+9O6L49Ko39gMoZS3eK2hkgva7c7Pb24hEHKt3eGj+ntAs+mv qpBeeP0Fu7Wc6P0f5A09qto3EaAiEUzwaJNvSxmg8Jg6g8HnjQoPn+2JaZ8up8OoXcGEN7 5OiakLWG52GJXN/robUj/AWuiVFKJnNMzVvCzeKpfhcoxhn39zHH3CNFXla8olsGa63h7c ixWmr20wdrnWFiuCrAU5qRASXXItE148mtxf7i8wyeDF+HdgVG1fBmFqggkLjPzH4Cv6br g6iQatEKdb+8PAlI4llwAg/KLZg7dPDVOLinEmpFuH4GzhZ2I3UXaSRUHR9/aA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708359034; a=rsa-sha256; cv=none; b=eCN4OSt6GWypbNiiba+ELp7v6oCU3mCxA8iVXxPFUjMTWbm16IZ5EOa+J2Balb7XWFB3Rv DB3hPN1X5BYdYIUpXFTWkVcKEvoXBysBFce57iZjO2hIXubZ5GR8/2J4U04Q2xp8WczgKN U7fM0FClJlr4TRXs3Bj+hRbeKBHaJgi2FBk5IVgsZyQJFm9u4QwU9DbnfyPJRgWQaB++WA jvTR80Llfoi+RT7rDivAhQMqhiaykfKSTvylOjrJqlKbsui0WE1nhHgM+sxLgUXcJstgH7 MDn8jY+vh3Xx3eWNNZ7pV3dOd1fYWs9kG+TED0k0FWiWqGwVsc7PrKCNZ0ulzg== Received: from ralga.knownspace (ip-163-182-7-56.dynamic.fuse.net [163.182.7.56]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: jhibbits) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TdnZK6Qhxz13VW; Mon, 19 Feb 2024 16:10:33 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Date: Mon, 19 Feb 2024 11:10:32 -0500 From: Justin Hibbits To: ben wilber Cc: ppc@freebsd.org Subject: Re: IBM LC921 Message-ID: <20240219111032.64754685@ralga.knownspace> In-Reply-To: References: X-Mailer: Claws Mail 4.2.0 (GTK 3.24.39; powerpc64le-unknown-linux-gnu) 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 17 Feb 2024 21:47:23 -0500 ben wilber wrote: > 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. I think this is a known issue with older firmwares (found on Talos II firmware back in 2020 or so), and unfortunately the only workaround I recall from that was to use kexec-lite. > > 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. Is this from a kernel on an ISO, or a self-built kernel? We can run addr2line on the kernel.debug from the ISO (if it's on the ISO, I don't recall now if the debug symbols are included on the ISO). What version of FreeBSD are you testing? > > This is as far as I've gotten. Any hints would be appreciated. I'm > happy to test patches if anyone's interested. > > Thanks! > - Justin