From nobody Fri Nov 8 13:27:38 2024 X-Original-To: freebsd-current@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 4XlKWD11W2z5ckby for ; Fri, 08 Nov 2024 13:27:52 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0: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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XlKWC5xMGz4Stn for ; Fri, 8 Nov 2024 13:27:51 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x529.google.com with SMTP id 41be03b00d2f7-7f12ba78072so1650591a12.2 for ; Fri, 08 Nov 2024 05:27:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1731072470; x=1731677270; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2hNyF2SR+XkdirHUng5ozTTof/e+jZoeA/kBRzfVY1c=; b=n3J32Unx9PSd4REXEd83K0iaxxvE4P9g6rC+zOf58rLnsBq71K+83n/KSKpDOoB9Df C2t1HzK63CnEqd2+DjN/D+i5LtPB4CObCP12rylAtFhgwaQ0O37H4sX/bf1at+0dPt8S IgU4INP1DRNUtT8Gg+pgeAzfjS6ktDO6qMopSUFsCraBh5Ph0AFXi70i08B03a1DBTU3 T1KN2HX03ZwxS7FBtWdSyEa9ceaC0sF2n9zCgML+W2S+HqulkE2VCGvxlcUuqKoRc9Ed F5LP5cih7MRx549y46lYQxxzfwtcRHnFTIRDlUVS2SL/lScwq+Pc+iOiJarI+ohN8IZC Id2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731072470; x=1731677270; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2hNyF2SR+XkdirHUng5ozTTof/e+jZoeA/kBRzfVY1c=; b=mqhy3fe5Z3Ld6XwHSL3HFkvs0XlVseFR66kRMTz/UQ18qzbxW+4Yr10ktWL9019+Xn mwoqZ27iEfzJV/3BJs25n0Do0c2kPCjVOOl0Ch1s6gs16MrNLxvGwZ5L9+MM1ffpHDwC PYHmUkBNTgoIAPMa1VXJFC8aZahd3+ffbTtVM2OOj98GmLbp4zEzd61pO0n4Yxn1h/Su gbvtxTFsmsjg3wHUSqE1zH7QwWrqiTJiO+c5kiZd8EDEzz5tXzBcvLbceT6W1IbPD2ms v1Jh8Ar/ElqCH0nuZY43N4M6V6mhAlU+qlRG9TYuQ3H6Yl1vSWQRKV1G/vip6DDbXjVI QbMQ== X-Gm-Message-State: AOJu0YwPePwHtzP4oTqVArFYv6Ttc5Etp4IUVsHgxmVILd9iqoHqXFeL c4S6lzu/ozKjOY0Sg5srPNcah3RSnfy3s+G+Ey+yKqHaNVmEx0RRcmKb+gcsNh04aO5ES2lkmAl 5QGKBvdFQE/fLcVUo1wR3zyFpXywi+NaloTjC6wrw0Csv4C40 X-Google-Smtp-Source: AGHT+IGo0ag6ldI5daOUqFUAtKAWHX+iPYbYPQ+jhkBwe4r4zomOumrzv0bXJU2sP94QfLcmDEPojh9DMH/JhayJohg= X-Received: by 2002:a17:90b:3811:b0:2e9:2329:8d98 with SMTP id 98e67ed59e1d1-2e9b16ef07amr3572967a91.8.1731072470338; Fri, 08 Nov 2024 05:27:50 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <8cf9adb0e7ca6340460c695ffd64a0df@Leidinger.net> <896b9ce404ffcb126dcdd6008583b117@Leidinger.net> <132ca9158817a4706d1b9e78c3567973@Leidinger.net> <0389774b2a7a86ebf538807f71239802@Leidinger.net> In-Reply-To: <0389774b2a7a86ebf538807f71239802@Leidinger.net> From: Warner Losh Date: Fri, 8 Nov 2024 05:27:38 -0800 Message-ID: Subject: Re: No valid device tree blob found! To: Alexander Leidinger Cc: Current FreeBSD Content-Type: multipart/alternative; boundary="000000000000aceb92062666b75b" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4XlKWC5xMGz4Stn X-Spamd-Bar: ---- --000000000000aceb92062666b75b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Nov 8, 2024, 12:34=E2=80=AFAM Alexander Leidinger wrote: > Am 2024-11-08 05:46, schrieb Warner Losh: > > OK. I'm confused... but no matter. > > Three more things to help... > (1) kenv after boot with a fixed kernel > > > COLUMNS=3D"100" > LINES=3D"31" > acpi.oem=3D"BOCHS " > acpi.revision=3D"2" > acpi.rsdp=3D"0x00000006385c0018" > acpi.rsdt=3D"0x0000000000000000" > acpi.xsdt=3D"0x00000006385cfe98" > acpi.xsdt_length=3D"36" > acpi_dsdt_load=3D"NO" > acpi_dsdt_name=3D"/boot/acpi_dsdt.aml" > acpi_dsdt_type=3D"acpi_dsdt" > acpi_video_load=3D"NO" > audit_event_load=3D"NO" > audit_event_name=3D"/etc/security/audit_event" > audit_event_type=3D"etc_security_audit_event" > autoboot_delay=3D"1" > beastie_disable=3D"YES" > bitmap_load=3D"NO" > bitmap_name=3D"splash.bmp" > bitmap_type=3D"splash_image_data" > boot_multicons=3D"YES" > boot_serial=3D"YES" > bootenv_autolist=3D"YES" > bootenvs[0]=3D"zfs:zroot/ROOT/2024-10-30-121420_ko" > bootenvs[10]=3D"zfs:zroot/ROOT/2024-07-15-110946" > bootenvs[11]=3D"zfs:zroot/ROOT/2024-09-12-140543" > bootenvs[1]=3D"zfs:zroot/ROOT/2024-10-14-233343_ko" > bootenvs[2]=3D"zfs:zroot/ROOT/2024-10-14-160359" > bootenvs[3]=3D"zfs:zroot/ROOT/2024-10-14-160358" > bootenvs[4]=3D"zfs:zroot/ROOT/2024-10-13-232308" > bootenvs[5]=3D"zfs:zroot/ROOT/2024-10-14-102617" > bootenvs[6]=3D"zfs:zroot/ROOT/2024-10-11-084349" > bootenvs[7]=3D"zfs:zroot/ROOT/2024-11-06-084833" > bootenvs[8]=3D"zfs:zroot/ROOT/2024-08-15-222928" > bootenvs[9]=3D"zfs:zroot/ROOT/2024-07-16-094205" > bootenvs_count=3D"12" > bootfile=3D"kernel" > console=3D"efi" > cpu_microcode_load=3D"NO" > cpu_microcode_name=3D"/boot/firmware/ucode.bin" > cpu_microcode_type=3D"cpu_microcode" > cryptodev_load=3D"YES" > currdev=3D"zfs:zroot/ROOT/2024-11-06-084833:" > efi-version=3D"2.70" > efi_com_port=3D"0" > efi_com_speed=3D"38400" > efi_max_resolution=3D"1x1" > entropy_cache_load=3D"YES" > entropy_cache_name=3D"/boot/entropy" > entropy_cache_type=3D"boot_entropy_cache" > entropy_efi_seed=3D"YES" > entropy_efi_seed_size=3D"2048" > geom_eli_load=3D"YES" > hint.acpi.0.disabled=3D"0" > hint.smbios.0.mem=3D"0x63bed0000" > hostuuid_load=3D"YES" > hostuuid_name=3D"/etc/hostid" > hostuuid_type=3D"hostuuid" > hw.mca.enabled=3D"1" > hw.uart.console=3D"db:8,dt:pl011,mm:0x9000000,rs:0,rw:1,pa:none,br:9600,x= o=3D0" > hw.usb.no_boot_wait=3D"0" > kern.msgbuf_show_timestamp=3D"1" > kern.random.fortuna.concurrent_read=3D"1" > kernel=3D"kernel" > kernel_options=3D"" > kernel_path=3D"/boot/kernel" > kernelname=3D"/boot/kernel/kernel" > kernels_autodetect=3D"YES" > loaddev=3D"zfs:zroot/ROOT/2024-11-06-084833:" > loader.efi=3D"1" > loader_conf_dirs=3D"/boot/loader.conf.d" > loader_logo=3D"none" > local_loader_conf_files=3D"/boot/loader.conf.local" > module_blacklist=3D"drm drm2 radeonkms i915kms amdgpu" > module_path=3D"/boot/kernel;/boot/modules;/boot/dtb;/boot/dtb/overlays" > module_verbose=3D"2" > net.inet.tcp.soreceive_stream=3D"1" > net.link.ifqmaxlen=3D"256" > nextboot_conf=3D"/boot/nextboot.conf" > ram_blacklist_load=3D"NO" > ram_blacklist_name=3D"/boot/blacklist.txt" > ram_blacklist_type=3D"ram_blacklist" > screensave_load=3D"NO" > screensave_name=3D"green_saver" > script.lang=3D"lua" > smbios.bios.reldate=3D"06/16/2021" > smbios.bios.revision=3D"0.0" > smbios.bios.vendor=3D"EFI Development Kit II / OVMF" > smbios.bios.version=3D"1.5.1" > smbios.chassis.maker=3D"QEMU" > smbios.chassis.tag=3D"OracleCloud.com" > smbios.chassis.type=3D"Other" > smbios.chassis.version=3D"virt-4.2" > smbios.memory.enabled=3D"25165824" > smbios.socket.enabled=3D"1" > smbios.socket.populated=3D"1" > smbios.system.maker=3D"QEMU" > smbios.system.product=3D"KVM Virtual Machine" > smbios.system.uuid=3D"14fd7a5a-8f68-44d4-88b6-68498f8b55fb" > smbios.system.version=3D"virt-4.2" > smbios.version=3D"3.0" > splash=3D"/boot/images/freebsd-logo-rev.png" > splash_bmp_load=3D"NO" > splash_pcx_load=3D"NO" > splash_txt_load=3D"NO" > tcp_rack_load=3D"YES" > tcphpts_load=3D"YES" > twiddle_divisor=3D"16" > verbose_loading=3D"NO" > vesa_load=3D"NO" > vfs.root.mountfrom=3D"zfs:zroot/ROOT/2024-11-06-084833" > vm.exec_map_entries=3D"32" > xz_load=3D"YES" > zfs-bootonce=3D"zfs:zroot/ROOT/2024-11-06-084833:" > zfs_be_active=3D"zfs:zroot/ROOT/2024-10-14-160358" > zfs_be_currpage=3D"1" > zfs_be_root=3D"zroot/ROOT" > zfs_load=3D"YES" > > > (2) sudo efivar --device-path 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConIn > > > 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConIn > : > UsbHID(0xffff,0xffff,0x1,0x1),/VenHw(d3987d4b-971a-435f-8caf-4967eb627241= )/Uart(38400,8,N,1)/VenVt100() > > > (3) sudo efivar --device-path 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOut > > > 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOut > : > PciRoot(0x0)/Pci(0x1,0x0)/AcpiAdr(0x80010300),/VenHw(d3987d4b-971a-435f-8= caf-4967eb627241)/Uart(38400,8,N,1)/VenVt100() > Oh and a dmesg? Warner > > Bye, > Alexander. > > > Warner > > On Thu, Nov 7, 2024 at 2:41=E2=80=AFPM Alexander Leidinger < > Alexander@leidinger.net> wrote: > > Am 2024-11-07 20:59, schrieb Warner Losh: > > > > On Wed, Nov 6, 2024 at 3:41=E2=80=AFAM Alexander Leidinger < > Alexander@leidinger.net> wrote: > > Am 2024-11-02 17:08, schrieb Warner Losh: > > > > On Sat, Nov 2, 2024, 10:03=E2=80=AFAM Alexander Leidinger > wrote: > > Am 2024-10-30 22:11, schrieb Alexander Leidinger: > > > WARNING! Trying to fire up the kernel, but no device tree blob found! > > For anyone interested, I opened > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282493 for this. > > > Yea. This is a hang or a bad console. The warning is lame and misleading. > > Can you bisect? > > Found it. > > # git bisect bad > c87b3f0006be9ac5813f1ff636f18c9b4a41b08e is the first bad commit > commit c87b3f0006be9ac5813f1ff636f18c9b4a41b08e (HEAD) > Author: Warner Losh > Date: Mon Oct 14 15:58:10 2024 -0600 > > uart: uart_getenv: check for NULL class last, not first > > This allows one to specify dt:XXXX when the default class isn't > compiled > into the kernel. It's not an error to not have a class until we're do= ne > parsing the spec, so defer checking until then. > > Sponsored by: Netflix > Reviewed by: adrian, andrew, markj > Differential Revision: https://reviews.freebsd.org/D47078 > > sys/dev/uart/uart_subr.c | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > > -current as of today without this change boots just fine on the Ampere > system in the Oracle cloud. > > > what's your loader.conf? this should only matter if something is set > there... > > loader.conf: > > autoboot_delay=3D"1" > hw.usb.no_boot_wait=3D"0" > beastie_disable=3D"YES" > boot_serial=3D"YES" > loader_logo=3D"none" > cryptodev_load=3D"YES" > xz_load=3D"YES" > zfs_load=3D"YES" > geom_eli_load=3D"YES" > > tcphpts_load=3D"yes" > tcp_rack_load=3D"YES" > > hw.mca.enabled=3D"1" > vm.exec_map_entries=3D"32" > > net.link.ifqmaxlen=3D"256" > net.inet.tcp.soreceive_stream=3D"1" > kern.random.fortuna.concurrent_read=3D"1" > kern.msgbuf_show_timestamp=3D"1" > > Bye, > Alexander. > -- > http://www.Leidinger.net Alexander@Leidinger.net: > <#m_-4440668305350821778_NOP> PGP 0x8F31830F9F2772BF > http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF > > > -- > http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF > http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF > --000000000000aceb92062666b75b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable



On Fri, Nov 8, 2024, 12:34=E2=80=AFAM Alex= ander Leidinger <Alexander@le= idinger.net> wrote:

Am 2024-11-08 05:46, schrieb Wa= rner Losh:

OK. I'm confused... but no matter.=C2=A0
=C2=A0
Three more things to help...=C2=A0
(1) kenv after boot with a fixed kernel
=C2=A0
COLUMNS=3D"100"
LINES=3D"31"
acpi.oem=3D&quo= t;BOCHS "
acpi.revision=3D"2"
acpi.rsdp=3D"0x0000= 0006385c0018"
acpi.rsdt=3D"0x0000000000000000"
acpi.xs= dt=3D"0x00000006385cfe98"
acpi.xsdt_length=3D"36"acpi_dsdt_load=3D"NO"
acpi_dsdt_name=3D"/boot/acpi_dsdt.= aml"
acpi_dsdt_type=3D"acpi_dsdt"
acpi_video_load=3D&q= uot;NO"
audit_event_load=3D"NO"
audit_event_name=3D&qu= ot;/etc/security/audit_event"
audit_event_type=3D"etc_security= _audit_event"
autoboot_delay=3D"1"
beastie_disable=3D&= quot;YES"
bitmap_load=3D"NO"
bitmap_name=3D"splas= h.bmp"
bitmap_type=3D"splash_image_data"
boot_multicon= s=3D"YES"
boot_serial=3D"YES"
bootenv_autolist=3D= "YES"
bootenvs[0]=3D"zfs:zroot/ROOT/2024-10-30-121420_ko&= quot;
bootenvs[10]=3D"zfs:zroot/ROOT/2024-07-15-110946"
boo= tenvs[11]=3D"zfs:zroot/ROOT/2024-09-12-140543"
bootenvs[1]=3D&= quot;zfs:zroot/ROOT/2024-10-14-233343_ko"
bootenvs[2]=3D"zfs:z= root/ROOT/2024-10-14-160359"
bootenvs[3]=3D"zfs:zroot/ROOT/202= 4-10-14-160358"
bootenvs[4]=3D"zfs:zroot/ROOT/2024-10-13-23230= 8"
bootenvs[5]=3D"zfs:zroot/ROOT/2024-10-14-102617"
bo= otenvs[6]=3D"zfs:zroot/ROOT/2024-10-11-084349"
bootenvs[7]=3D&= quot;zfs:zroot/ROOT/2024-11-06-084833"
bootenvs[8]=3D"zfs:zroo= t/ROOT/2024-08-15-222928"
bootenvs[9]=3D"zfs:zroot/ROOT/2024-0= 7-16-094205"
bootenvs_count=3D"12"
bootfile=3D"ke= rnel"
console=3D"efi"
cpu_microcode_load=3D"NO&qu= ot;
cpu_microcode_name=3D"/boot/firmware/ucode.bin"
cpu_mic= rocode_type=3D"cpu_microcode"
cryptodev_load=3D"YES"=
currdev=3D"zfs:zroot/ROOT/2024-11-06-084833:"
efi-version= =3D"2.70"
efi_com_port=3D"0"
efi_com_speed=3D&quo= t;38400"
efi_max_resolution=3D"1x1"
entropy_cache_load= =3D"YES"
entropy_cache_name=3D"/boot/entropy"
ent= ropy_cache_type=3D"boot_entropy_cache"
entropy_efi_seed=3D&quo= t;YES"
entropy_efi_seed_size=3D"2048"
geom_eli_load=3D= "YES"
hint.acpi.0.disabled=3D"0"
hint.smbios.0.me= m=3D"0x63bed0000"
hostuuid_load=3D"YES"
hostuuid_= name=3D"/etc/hostid"
hostuuid_type=3D"hostuuid"
hw.mca.enabled=3D"1"=
hw.uart.console=3D"db:8,dt:pl011,mm:0x9000000,rs:0,rw:1,pa:none,br= :9600,xo=3D0"
hw.usb.no_boot_wait=3D"0"
kern.msgbuf_sh= ow_timestamp=3D"1"
kern.random.fortuna.concurrent_read=3D"= ;1"
kernel=3D"kernel"
kernel_options=3D""kernel_path=3D"/boot/kernel"
kernelname=3D"/boot/kernel/= kernel"
kernels_autodetect=3D"YES"
loaddev=3D"zfs= :zroot/ROOT/2024-11-06-084833:"
loader.efi=3D"1"
loade= r_conf_dirs=3D"/boot/loader.conf.d"
loader_logo=3D"none&q= uot;
local_loader_conf_files=3D"/boot/loader.conf.local"
mo= dule_blacklist=3D"drm drm2 radeonkms i915kms amdgpu"
module_pa= th=3D"/boot/kernel;/boot/modules;/boot/dtb;/boot/dtb/overlays"module_verbose=3D"2"
net.inet.tcp.soreceive_stream=3D"1&= quot;
net.link.ifqmaxlen=3D"256"
nextboot_conf=3D"/boo= t/nextboot.conf"
ram_blacklist_load=3D"NO"
ram_blackli= st_name=3D"/boot/blacklist.txt"
ram_blacklist_type=3D"ram= _blacklist"
screensave_load=3D"NO"
screensave_name=3D&= quot;green_saver"
script.lang=3D"lua"
smbios.bios.reld= ate=3D"06/16/2021"
smbios.bios.revision=3D"0.0"
s= mbios.bios.vendor=3D"EFI Development Kit II / OVMF"
smbios.bio= s.version=3D"1.5.1"
smbios.chassis.maker=3D"QEMU"smbios.chassis.tag=3D"OracleCloud.com"
smbios.chassis.type=3D= "Other"
smbios.chassis.version=3D"virt-4.2"
smbio= s.memory.enabled=3D"25165824"
smbios.socket.enabled=3D"1&= quot;
smbios.socket.populated=3D"1"
smbios.system.maker=3D&= quot;QEMU"
smbios.system.product=3D"KVM Virtual Machine"<= br>smbios.system.uuid=3D"14fd7a5a-8f68-44d4-88b6-68498f8b55fb"smbios.system.version=3D"virt-4.2"
smbios.version=3D"3.0= "
splash=3D"/boot/images/freebsd-logo-rev.png"
splash_= bmp_load=3D"NO"
splash_pcx_load=3D"NO"
splash_txt= _load=3D"NO"
tcp_rack_load=3D"YES"
tcphpts_load= =3D"YES"
twiddle_divisor=3D"16"
verbose_loading= =3D"NO"
vesa_load=3D"NO"
vfs.root.mountfrom=3D&qu= ot;zfs:zroot/ROOT/2024-11-06-084833"
vm.exec_map_entries=3D"32= "
xz_load=3D"YES"
zfs-bootonce=3D"zfs:zroot/ROOT/= 2024-11-06-084833:"
zfs_be_active=3D"zfs:zroot/ROOT/2024-10-14-160358"
zfs_be= _currpage=3D"1"
zfs_be_root=3D"zroot/ROOT"
zfs_lo= ad=3D"YES"
=C2=A0
(2) sudo efivar --device-path 8be4df61-93ca-11d2-aa0d-00e098032b8c-Con= In
=C2=A0
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConIn
: UsbHID(0xffff,0xffff,0x1,0x1),/VenHw(d3987d4b-971a-435f-8caf-4967eb6= 27241)/Uart(38400,8,N,1)/VenVt100()
=C2=A0
(3) sudo efivar --device-path 8be4df61-93ca-11d2-aa0d-00e098032b8c-Con= Out
=C2=A0
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOut
: PciRoot(0x0)/Pci(0x1,= 0x0)/AcpiAdr(0x80010300),/VenHw(d3987d4b-971a-435f-8caf-4967eb627241)/Uart(= 38400,8,N,1)/VenVt100()

Oh and a dmesg?

Warner=C2=A0

Bye,
Alexander.
=C2=A0
Warner

On Thu, Nov 7, 2024 at 2:41=E2=80=AFPM Alexander Leidinger= <Alexander@leidinger.net> wrote:

Am 2024-11-07 20:59, schrieb Warner Losh:

=C2=A0

On Wed, Nov 6, 2024 at 3:41=E2=80=AFAM Alexander Leidinger= <Alexander@leidinger.net> wrote:

Am 2024-11-02 17:08, schrieb Warner Lo= sh:



On Sat, Nov 2, 2024, 10:03=E2=80=AFAM Alexander Leidinger = <Alexander@leidinger.net> wrote:
Am 2024-10-30 22:11, schrieb Alexander Leidinger:
> WARNING! Trying to fire up the kernel, but no device tree blob found!=

For anyone interested, I opened
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D2= 82493 for this.
=C2=A0
Yea. This is a hang or a bad console. The warning is lame= and misleading.
=C2=A0
Can you bisect?

Found it.

# git bisect bad
c87b3f0006be9ac5813f1ff6= 36f18c9b4a41b08e is the first bad commit
commit c87b3f0006be9ac5813f1ff6= 36f18c9b4a41b08e (HEAD)
Author: Warner Losh <imp@FreeBSD.org>
D= ate: =C2=A0 Mon Oct 14 15:58:10 2024 -0600

=C2=A0 =C2=A0 uart: uart_getenv: check for N= ULL class last, not first

=C2=A0 =C2=A0 This allows one to specify dt:= XXXX when the default class isn't compiled
=C2=A0 =C2=A0 into the ke= rnel. It's not an error to not have a class until we're done
=C2= =A0 =C2=A0 parsing the spec, so defer checking until then.

=C2=A0 =C2=A0 Sponsored by: =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 Netflix
=C2=A0 =C2=A0 Reviewed by: =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0adrian, andrew, markj
=C2=A0 =C2=A0 Different= ial Revision: =C2=A0https://reviews.freebsd.or= g/D47078

=C2=A0sys/dev/uart/uart_subr.c | 14 +++++++-= ------
=C2=A01 file changed, 7 insertions(+), 7 deletions(-)

-current as of today without this change boots just fine on the Ampere s= ystem in the Oracle cloud.

=C2=A0
what's your loader.conf? this should only matter if something is s= et there...=C2=A0=C2=A0

loader.conf:

autoboot_delay=3D"1"
hw.usb.no_= boot_wait=3D"0"
beastie_disable=3D"YES"
boot_seri= al=3D"YES"
loader_logo=3D"none"
cryptodev_load=3D= "YES"
xz_load=3D"YES"
zfs_load=3D"YES"<= br>geom_eli_load=3D"YES"

tcphpts_load=3D"yes"
tcp_rack_l= oad=3D"YES"

hw.mca.enabled=3D"1"
vm.exec_ma= p_entries=3D"32"

net.link.ifqmaxlen=3D"256"
net.= inet.tcp.soreceive_stream=3D"1"
kern.random.fortuna.concurrent= _read=3D"1"
kern.msgbuf_show_timestamp=3D"1"

Bye,
Alexander.

--
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org =C2=A0 =C2=A0netchild= @FreeBSD.org =C2=A0: PGP 0x8F31830F9F2772BF


--
= http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F318= 30F9F2772BF
http://www.FreeBSD.org =C2=A0 =C2=A0n= etchild@FreeBSD.org =C2=A0: PGP 0x8F31830F9F2772BF
--000000000000aceb92062666b75b--