From nobody Sun Jul 30 11:02:51 2023 X-Original-To: freebsd-hardware@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 4RDJPc6lhfz4q9k3 for ; Sun, 30 Jul 2023 11:02:55 +0000 (UTC) (envelope-from support@mnspoint.com) Received: from mailscanner01.zoner.fi (mailscanner01.zoner.fi [84.34.166.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RDJPV3H1vz40x2 for ; Sun, 30 Jul 2023 11:02:54 +0000 (UTC) (envelope-from support@mnspoint.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mnspoint.com header.s=x header.b=tafRR25E; spf=pass (mx1.freebsd.org: domain of support@mnspoint.com designates 84.34.166.10 as permitted sender) smtp.mailfrom=support@mnspoint.com; dmarc=none Received: from www47.zoner.fi (www47.zoner.fi [84.34.147.67]) by mailscanner01.zoner.fi (Postfix) with ESMTPS id DCDF24168B; Sun, 30 Jul 2023 14:02:51 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mnspoint.com; s=x; h=Content-Transfer-Encoding:Content-Type:Message-ID: References:In-Reply-To:Subject:Cc:To:From:Date:MIME-Version:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=cvZq4AvnWHHM96rDh590UG/KOOb7s+gyX6VnyBmICGc=; b=tafRR25EYzpi+PBCQJbVpHalxD b+cSphVPblrG5Eu2PtCE+9PeeAegD9gFajk42esTAMto5OQadzI3b0sTHZxXU9CS1y32YkQ6evQag sHBHnZu/ZXl/KOgly+mevsxECbcNXNZ2bCWDg3jtbamhLu3IsQ4Doa9Ghy4LLFFaxWowPiEWYi8bN 0eEmCsUqPc209vGyRj7sVAPp+1s1FiOJCdEKGLH4lebhKs+zpE4x0eI+5SGQ6FZoqbK9tj4Lauuqe 4iFaTX7MgB58+mZUcyHq6uxbOLrna3Ws8gwIF3cFQtRseTLl85xzt/szoLyk41C58dKq6Frk87+Hs NtVuQnjw==; Received: from [84.34.166.23] (helo=webmail.zoner.fi) by www47.zoner.fi with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96-58-g4e9ed49f8) (envelope-from ) id 1qQ4CJ-0002FV-2w; Sun, 30 Jul 2023 14:02:51 +0300 List-Id: General discussion of FreeBSD hardware List-Archive: https://lists.freebsd.org/archives/freebsd-hardware List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hardware@freebsd.org MIME-Version: 1.0 Date: Sun, 30 Jul 2023 14:02:51 +0300 From: support@mnspoint.com To: Thomas Niedermeier Cc: freebsd-hardware@freebsd.org Subject: Re: FreeBSD boot problem with Intel Atom C5000 Parker Ridge In-Reply-To: <0d3fecf084824f01ba7f9fb38d845925@thomas-krenn.com> References: <0d3fecf084824f01ba7f9fb38d845925@thomas-krenn.com> User-Agent: Roundcube Webmail/1.4.9 Message-ID: <160865562639f4479f35dd677fcc2eb1@mnspoint.com> X-Sender: support@mnspoint.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Id: support@mnspoint.com X-Spamd-Result: default: False [-3.54 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-0.95)[-0.947]; R_DKIM_ALLOW(-0.20)[mnspoint.com:s=x]; R_SPF_ALLOW(-0.20)[+ip4:84.34.166.10]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[84.34.166.10:from]; RCVD_TLS_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hardware@freebsd.org]; ASN(0.00)[asn:1759, ipnet:84.34.0.0/16, country:FI]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_NO_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[mnspoint.com:+]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DMARC_NA(0.00)[mnspoint.com]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4RDJPV3H1vz40x2 X-Spamd-Bar: --- Hello, not being any specialist with FreeBSD but just reading your screen shot it says: usb_needs_explore_all: no devclass Trying to mount root from ... mountroot: waiting for device .... WARNING: ... random: unblocking device. Mounting from ... failed with error 19. It looks something like it encountered some hardware device or related issue it cannot find in the installation data available. Can you check what the error 19 says? You most likely have some device in your Atom processor environment that the software does not know what to do with it or how to do it, etc. Looks like this Google search gives some related threads: https://www.google.com/search?q=usb_needs_explore_all%3A+no+devclass They might help?! Regards: Janne, --------------------------------------------------------- Thomas Niedermeier kirjoitti 2023-07-28 12:31: > > After a couple of seconds the boot process stops and a specific screen > appears. > The screenshot is located here: > https://s3.dualstack.eu-west-1.amazonaws.com/tw-eu-inline/52131/0/0/eec70665f92682149e3fcb9489fe6874.png > From nobody Wed Oct 11 14:54:00 2023 X-Original-To: freebsd-hardware@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 4S5G4k2KpNz4wFSg for ; Wed, 11 Oct 2023 14:54:14 +0000 (UTC) (envelope-from crest@rlwinm.de) Received: from mail.rlwinm.de (mail.rlwinm.de [IPv6:2a01:4f8:171:f902::5]) (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 4S5G4j10DFz3YQr for ; Wed, 11 Oct 2023 14:54:13 +0000 (UTC) (envelope-from crest@rlwinm.de) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of crest@rlwinm.de designates 2a01:4f8:171:f902::5 as permitted sender) smtp.mailfrom=crest@rlwinm.de; dmarc=none Received: from [IPV6:2001:9e8:96d:b500:5c29:7c5b:cbc5:a7af] (unknown [IPv6:2001:9e8:96d:b500:5c29:7c5b:cbc5:a7af]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.rlwinm.de (Postfix) with ESMTPSA id 2377032ACB for ; Wed, 11 Oct 2023 14:54:02 +0000 (UTC) Content-Type: multipart/alternative; boundary="------------1vBsCLrIU7nnPrNrC1Wb90qg" Message-ID: Date: Wed, 11 Oct 2023 16:54:00 +0200 List-Id: General discussion of FreeBSD hardware List-Archive: https://lists.freebsd.org/archives/freebsd-hardware List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hardware@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: FreeBSD boot problem with Intel Atom C5000 Parker Ridge To: freebsd-hardware@freebsd.org References: <0d3fecf084824f01ba7f9fb38d845925@thomas-krenn.com> Content-Language: en-US From: Jan Bramkamp In-Reply-To: <0d3fecf084824f01ba7f9fb38d845925@thomas-krenn.com> X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.69 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.40)[-0.401]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; MLMMJ_DEST(0.00)[freebsd-hardware@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DMARC_NA(0.00)[rlwinm.de]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hardware@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4S5G4j10DFz3YQr This is a multi-part message in MIME format. --------------1vBsCLrIU7nnPrNrC1Wb90qg Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 28.07.23 11:31, Thomas Niedermeier wrote: > Hi, > > I'm writing you about some issue I had while testing a Atom SoC Board. > It is equipped with the new generation Intel C5000 Parker Ridge series. > In this specific case the Intel Atom Processor C5315. > > When you boot from a FreeBSD-based OS flash drive, it always runs in > live mode. > I think you might know ;) > After a couple of seconds the boot process stops and a specific screen > appears. > The screenshot is located here: > https://s3.dualstack.eu-west-1.amazonaws.com/tw-eu-inline/52131/0/0/eec70665f92682149e3fcb9489fe6874.png > > Thats the only output I have, because the system stops immediately > afterwards. The screenshot shows the FreeBSD kernel running. Hardware enumeration has finished. The kernel tried to mount the root file system and failed. If the keyboard (USB, PS/2, IPMI KVM) works type a question mark followed by enter to get a list of all devices. > We already did hours of research, trying different "solutions" from > the forums. > But unfortunately no chance to get it working. > Following tweaks we already tried: > > https://forum.opnsense.org/index.php?topic=18151.0 > https://www.reddit.com/r/OPNsenseFirewall/comments/e3jecv/opnsensefreebsd_error_19_during_installation/ > https://forums.freebsd.org/threads/mounting-from-ufs-dev-ad0s1a-failed-with-error-19.57135/ > > What we tested: > First we tested an OPNsense 23.1 installer media flashed to a USB 3.0 > drive. > Afterwards also on a USB 2.0 flash drive, UEFI mode. > Image: > https://mirror.dns-root.de/opnsense/releases/mirror/OPNsense-23.1-OpenSSL-vga-amd64.img.bz2 > We also tried mounting it with the IPMI console from that specific SoC > motherboard. > Finally we also tested FreeBSD 13.2 and FreeBSD 14.0 Current. > Following Image was used: > https://download.freebsd.org/snapshots/amd64/amd64/ISO-IMAGES/14.0/FreeBSD-14.0-CURRENT-amd64-20230504-4194bbb34c60-262746-memstick.img The most likely explanation is that the USB controller you've connected to isn't working under FreeBSD. You can get this far in the boot process because the bootloader uses the UEFI or BIOS drivers to read from disks. There may be multiple USB controllers on the board. It's worth trying all ports because it would be a lot easier to debug if you can install. If the board has IPMI storage emulation you may be able to boot from it. If USB 2.0 is working an old USB extension cable or hub could be enough to install. If at least one NIC and SATA or NVMe are working you could at least boot into a VM image dumped on a disk. Of course a system without working USB is heavily restricted, but if you have a full FreeBSD installation available further troubleshooting would be a lot easier. > Every other Operating System runs fine (Ubuntu, Debian etc). > But unfortunately all FreeBSD-based solutions seem to have the similar > issue. > We don't have a clue what the reason could be with FreeBSD-based > Operating Systems. > The testing was in early May, so with thelatest FreeBSD 14-Current > back then. > Maybe the 14-Current code is different now. FreeBSD has it's own USB stack and drivers. My suspicion is on the USB controller driver. Have you already restored the UEFI/BIOS settings to default and just systematically toggled through combinations like USB boot emulation and handoff setttings? --------------1vBsCLrIU7nnPrNrC1Wb90qg Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
On 28.07.23 11:31, Thomas Niedermeier wrote:
Hi,

I'm writing you about some issue I had while testing a Atom SoC Board.
It is equipped with the new generation Intel C5000 Parker Ridge series.
In this specific case the Intel Atom Processor C5315.

When you boot from a FreeBSD-based OS flash drive, it always runs in live mode.
I think you might know ;)
After a couple of seconds the boot process stops and a specific screen appears.
The screenshot is located here: https://s3.dualstack.eu-west-1.amazonaws.com/tw-eu-inline/52131/0/0/eec70665f92682149e3fcb9489fe6874.png

Thats the only output I have, because the system stops immediately afterwards.
The screenshot shows the FreeBSD kernel running. Hardware enumeration has finished. The kernel tried to mount the root file system and failed. If the keyboard (USB, PS/2, IPMI KVM) works type a question mark followed by enter to get a list of all devices.
We already did hours of research, trying different "solutions" from the forums.
But unfortunately no chance to get it working.
Following tweaks we already tried:

https://forum.opnsense.org/index.php?topic=18151.0
https://www.reddit.com/r/OPNsenseFirewall/comments/e3jecv/opnsensefreebsd_error_19_during_installation/
https://forums.freebsd.org/threads/mounting-from-ufs-dev-ad0s1a-failed-with-error-19.57135/

What we tested:
First we tested an OPNsense 23.1 installer media flashed to a USB 3.0 drive.
Afterwards also on a USB 2.0 flash drive, UEFI mode.
Image: https://mirror.dns-root.de/opnsense/releases/mirror/OPNsense-23.1-OpenSSL-vga-amd64.img.bz2
We also tried mounting it with the IPMI console from that specific SoC motherboard.
Finally we also tested FreeBSD 13.2 and FreeBSD 14.0 Current.
Following Image was used: https://download.freebsd.org/snapshots/amd64/amd64/ISO-IMAGES/14.0/FreeBSD-14.0-CURRENT-amd64-20230504-4194bbb34c60-262746-memstick.img

The most likely explanation is that the USB controller you've connected to isn't working under FreeBSD. You can get this far in the boot process because the bootloader uses the UEFI or BIOS drivers to read from disks. There may be multiple USB controllers on the board. It's worth trying all ports because it would be a lot easier to debug if you can install. If the board has IPMI storage emulation you may be able to boot from it. If USB 2.0 is working an old USB extension cable or hub could be enough to install. If at least one NIC and SATA or NVMe are working you could at least boot into a VM image dumped on a disk. Of course a system without working USB is heavily restricted, but if you have a full FreeBSD installation available further troubleshooting would be a lot easier.


Every other Operating System runs fine (Ubuntu, Debian etc).
But unfortunately all FreeBSD-based solutions seem to have the similar issue.
We don't have a clue what the reason could be with FreeBSD-based Operating Systems.
The testing was in early May, so with thelatest FreeBSD 14-Current back then.
Maybe the 14-Current code is different now.
FreeBSD has it's own USB stack and drivers. My suspicion is on the USB controller driver. Have you already restored the UEFI/BIOS settings to default and just systematically toggled through combinations like USB boot emulation and handoff setttings?
--------------1vBsCLrIU7nnPrNrC1Wb90qg--