Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2024 17:55:15 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        "Anantharam, Arjun" <arjun.anantharam@intel.com>
Cc:        Warner Losh <imp@bsdimp.com>, Konstantin Belousov <kib@freebsd.org>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, "andrew@fubar.geek.nz" <andrew@fubar.geek.nz>
Subject:   Re: FreeBSD OS installation stuck after selecting Boot installer
Message-ID:  <A15BB778-C4A9-43DF-A826-A767B226ED46@yahoo.com>
In-Reply-To: <MW3PR11MB4761CA9388199BC11600D70B80D72@MW3PR11MB4761.namprd11.prod.outlook.com>
References:  <9BE6FB50-27DC-453E-B915-131D45C901CD.ref@yahoo.com> <9BE6FB50-27DC-453E-B915-131D45C901CD@yahoo.com> <MW3PR11MB4761B4889AFA6C18AB31BFDE80C92@MW3PR11MB4761.namprd11.prod.outlook.com> <CANCZdfrWofc-e=9_-wf=ose64w1y2fyg8Y%2BVWAC58JJV3q7vuQ@mail.gmail.com> <MW3PR11MB4761223785D1EFC855D7148280C92@MW3PR11MB4761.namprd11.prod.outlook.com> <MW3PR11MB47614BE548FC663F56011C0F80C92@MW3PR11MB4761.namprd11.prod.outlook.com> <MW3PR11MB4761A8E40EA013CA1AE9EA4980CB2@MW3PR11MB4761.namprd11.prod.outlook.com> <MN2PR11MB4758E974AFEA6AAB15DD240B80D62@MN2PR11MB4758.namprd11.prod.outlook.com> <CANCZdfoL0A-Aj21g-E_uPcx%2Bf0U-mhM0s35rja7RNHukCOF6Fg@mail.gmail.com> <MW3PR11MB4761CA9388199BC11600D70B80D72@MW3PR11MB4761.namprd11.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 26, 2024, at 17:33, Anantharam, Arjun =
<arjun.anantharam@intel.com> wrote:

> Here is the log with "set efi.rt.disabled=3D1" and =
FreeBSD-14.1-RELEASE-arm64-aarch64-memstick.img.
> Any reason why the mount "Mounting from ufs:/dev/ufs/FreeBSD_Install =
failed with error 19" error occurs even with disk0p2: FreeBSD UFS =
showing up with lsdev and the eventaul kernel panic?
> Do you think this is an issue specific to ARM or FreeBSD ?
>=20
> Please feel free to let me know if thee are other options to try..
>=20
>=20
>   ______               ____   _____ _____
>   |  ____|             |  _ \ / ____|  __ \
>   | |___ _ __ ___  ___ | |_) | (___ | |  | |
>   |  ___| '__/ _ \/ _ \|  _ < \___ \| |  | |
>   | |   | | |  __/  __/| |_) |____) | |__| |
>   | |   | | |    |    ||     |      |      |
>   |_|   |_|  \___|\___||____/|_____/|_____/      ```                   =
     `
>                                                 s` =
`.....---.......--.```   -/
>  /---------- Welcome to FreeBSD -----------\    +o   .--`         /y:` =
     +.
>  |                                         |     yo`:.            :o   =
   `+-
>  |  1. Boot Installer [Enter]              |      y/               -/` =
  -o/
>  |  2. Boot Single user                    |     .-                  =
::/sy+:.
>  |  3. Escape to loader prompt             |     /                     =
`--  /
>  |  4. Reboot                              |    `:                     =
     :`
>  |  5. Cons: Serial                        |    `:                     =
     :`
>  |                                         |     /                     =
     /
>  |  Options:                               |     .-                    =
    -.
>  |  6. Kernel: default/kernel (1 of 1)     |      --                   =
   -.
>  |  7. Boot Options                        |       `:`                 =
 `:`
>  |                                         |         .--             =
`--.
>  |                                         |            .---.....----.
>  \-----------------------------------------/
>=20
>=20
> Exiting menu!
>=20
>=20
> Type '?' for a list of commands, 'help' for more detailed help.
>=20
> OK set hw.uart.console=3D"mm:0x2058400000,rs:2"
> OK set efi.rt.disabled=3D1
>=20
> OK lsdev
> disk devices:
>     disk0:    4194304 X 512 blocks
>       disk0p1: EFI
>       disk0p2: FreeBSD UFS
> http: (unknown)
> net devices:
>     net0:
>     net1:
>     net2:
>     net3:
>=20
> OK show
> COLUMNS=3D80
> LINES=3D50
> acpi.oem=3DINTEL
> acpi.revision=3D2
> acpi.rsdp=3D0x00000047716f0018
> acpi.rsdt=3D0x0000000000000000
> acpi.xsdt=3D0x00000047716ffe98
> acpi.xsdt_length=3D36
> acpi_dsdt_load=3DNO
> acpi_dsdt_name=3D/boot/acpi_dsdt.aml
> acpi_dsdt_type=3Dacpi_dsdt
> acpi_video_load=3DNO
> audit_event_load=3DNO
> audit_event_name=3D/etc/security/audit_event
> audit_event_type=3Detc_security_audit_event
> autoboot_delay=3DNO
> bitmap_load=3DNO
> bitmap_name=3Dsplash.bmp
> bitmap_type=3Dsplash_image_data
> boot_serial=3DYES
> bootenv_autolist=3DYES
> bootfile=3Dkernel
> console=3Defi
> cpu_microcode_load=3DNO
> cpu_microcode_name=3D/boot/firmware/ucode.bin
> cpu_microcode_type=3Dcpu_microcode
> currdev=3Ddisk0p2:
> efi-version=3D2.70
> efi.rt.disabled=3D1
> efi_com_port=3D0
> efi_com_speed=3D115200
> efi_max_resolution=3D1x1
> entropy_cache_load=3DYES
> entropy_cache_name=3D/boot/entropy
> entropy_cache_type=3Dboot_entropy_cache
> entropy_efi_seed=3DYES
> hint.acpi.0.disabled=3D0
> hint.smbios.0.mem=3D0x4776890000
> hostuuid_load=3DYES
> hostuuid_name=3D/etc/hostid
> hostuuid_type=3Dhostuuid
> hw.uart.console=3Dmm:0x2058400000,rs:2
> interpret=3DOK
> kernel=3Dkernel
> kernel_options=3D
> kernels_autodetect=3DNO
> loaddev=3Ddisk0p2:
> loader.efi=3D1
> loader_conf_dirs=3D/boot/loader.conf.d
> loader_menu_multi_user_prompt=3DInstaller
> local_loader_conf_files=3D/boot/loader.conf.local
> module_blacklist=3Ddrm drm2 radeonkms i915kms amdgpu
> module_path=3D/boot/modules;/boot/dtb;/boot/dtb/overlays
> module_verbose=3D2
> nextboot_conf=3D/boot/nextboot.conf
> prompt=3D${interpret}
> ram_blacklist_load=3DNO
> ram_blacklist_name=3D/boot/blacklist.txt
> ram_blacklist_type=3Dram_blacklist
> screensave_load=3DNO
> screensave_name=3Dgreen_saver
> script.lang=3Dlua
> smbios.bios.reldate=3DApr  4 2024
> smbios.bios.revision=3D1.2
> smbios.bios.vendor=3DIntel
> smbios.bios.version=3DIntel(R) IPU Embedded UEFI FW 1.2.0 for AArch64
> smbios.chassis.maker=3DIntel
> smbios.chassis.serial=3DN/A
> smbios.chassis.tag=3DN/A
> smbios.chassis.type=3DOther
> smbios.chassis.version=3DN/A
> smbios.memory.enabled=3D14680064
> smbios.socket.enabled=3D16
> smbios.socket.populated=3D16
> smbios.system.family=3DIntel(R) IPU E2100
> smbios.system.maker=3DIntel
> smbios.system.product=3DIntel(R) IPU Adapter E2100-CCQDA2
> smbios.system.serial=3D000000
> smbios.system.sku=3D000000000000
> smbios.system.uuid=3D30313245-3030-3030-6e0c-56812e49f70f
> smbios.system.version=3DN/A
> smbios.version=3D3.3
> splash_bmp_load=3DNO
> splash_pcx_load=3DNO
> splash_txt_load=3DNO
> twiddle_divisor=3D16
> verbose_loading=3DNO
> vesa_load=3DNO
> vfs.mountroot.timeout=3D10
> OK boot
> Loading kernel...
> /boot/kernel/kernel text=3D0x2a8 text=3D0x9db150 text=3D0x260994 =
data=3D0x150cb8 data=3D0x
> 0+0x2bc000 0x8+0x1516b0+0x8+0x17a5c2/
> Loading configured modules...
> can't find '/etc/hostid'
> can't find '/boot/entropy'
> No valid device tree blob found!
> WARNING! Trying to fire up the kernel, but no device tree blob found!
> ---<<BOOT>>---
> Copyright (c) 1992-2023 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, =
1994
>         The Regents of the University of California. All rights =
reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC arm64
> FreeBSD clang version 18.1.5 (https://github.com/llvm/llvm-project.git =
llvmorg-18.1.5-0-g617a15a9eac9)
> VT: init without driver.
> module scmi already present!
> real memory  =3D 15586795520 (14864 MB)
> avail memory =3D 15167205376 (14464 MB)
> Starting CPU 1 (10000)
> Starting CPU 2 (20000)
> Starting CPU 3 (30000)
> Starting CPU 4 (40000)
> Starting CPU 5 (50000)
> Starting CPU 6 (60000)
> Starting CPU 7 (70000)
> Starting CPU 8 (80000)
> Starting CPU 9 (90000)
> Starting CPU 10 (a0000)
> Starting CPU 11 (b0000)
> Starting CPU 12 (c0000)
> Starting CPU 13 (d0000)
> Starting CPU 14 (e0000)
> Starting CPU 15 (f0000)
> FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs
> arc4random: WARNING: initial seeding bypassed the cryptographic random =
device because it was not yet seeded and the knob =
'bypass_before_seeding' was enabled.
> random: entropy device external interface
> ACPI: IORT: Unused ITS block, ID 1
> kbd0 at kbdmux0
> acpi0: <INTEL MEVB100>
> acpi0: Power Button (fixed)
> acpi0: Sleep Button (fixed)
> acpi0: Could not update all GPEs: AE_NOT_CONFIGURED
> psci0: <ARM Power State Co-ordination Interface Driver> on acpi0
> gic0: <ARM Generic Interrupt Controller v3.0> iomem =
0x205a000000-0x205a00ffff,0x205a080000-0x205a27ffff on acpi0
> its0: <ARM GIC Interrupt Translation Service> mem =
0x205a040000-0x205a05ffff on gic0
> generic_timer0: <ARM Generic Timer> irq 23,24,25 on acpi0
> Timecounter "ARM MPCore Timecounter" frequency 112500000 Hz quality =
1000
> Event timer "ARM MPCore Eventtimer" frequency 112500000 Hz quality =
1000
> pmu0: <Performance Monitoring Unit> on acpi0
> acpi_ged0: <Generic Event Device> irq 16 on acpi0
> acpi_ged0: Raw IRQ 257
> acpi_button0: <Power Button> on acpi0
> pcib0: <Generic PCI host controller> on acpi0
> pci0: <PCI bus> on pcib0
> pci0: <network, ethernet> at device 1.0 (no driver attached)
> nvme0: <Generic NVMe Device> mem =
0x2220000000-0x2221ffffff,0x2226c80000-0x2226c9ffff at device 1.1 on =
pci0
> nvme0: unable to allocate MSI-X
> pci0: <unknown> at device 1.2 (no driver attached)
> pci0: <encrypt/decrypt, network/computer crypto> at device 1.3 (no =
driver attached)
> pci0: <unknown> at device 1.4 (no driver attached)
> pci0: <network, ethernet> at device 1.6 (no driver attached)
> pci0: <mass storage, NVM> at device 1.7 (no driver attached)
> cpu0: <ACPI CPU> on acpi0
> armv8crypto0: <AES-CBC,AES-XTS,AES-GCM>
> Timecounters tick every 1.000 msec
> usb_needs_explore_all: no devclass
> CPU  0: ARM Neoverse-N1 r4p0 affinity:  0  0  0
>                    Cache Type =3D <64 byte D-cacheline,64 byte =
I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG,IDC,DIC>
>  Instruction Set Attributes 0 =3D =
<DP,RDM,Atomic,CRC32,SHA2,SHA1,AES+PMULL>
>  Instruction Set Attributes 1 =3D <RCPC-8.3,DCPoP>
>  Instruction Set Attributes 2 =3D <>
>          Processor Features 0 =3D =
<CSV3,CSV2,RAS,GIC,AdvSIMD+HP,FP+HP,EL3,EL2,EL1,EL0 32>
>          Processor Features 1 =3D <PSTATE.SSBS MSR>
>       Memory Model Features 0 =3D =
<TGran4,TGran64,TGran16,SNSMem,BigEnd,16bit ASID,256TB PA>
>       Memory Model Features 1 =3D =
<XNX,PAN+ATS1E1,LO,HPD+TTPBHA,VH,16bit VMID,HAF+DS>
>       Memory Model Features 2 =3D <EVT-8.2,32bit CCIDX,48bit =
VA,IESB,UAO,CnP>
>              Debug Features 0 =3D <DoubleLock,SPE,2 CTX BKPTs,4 =
Watchpoints,6 Breakpoints,PMUv3p1,Debugv8p2>
>              Debug Features 1 =3D <>
>          Auxiliary Features 0 =3D <>
>          Auxiliary Features 1 =3D <>
> AArch32 Instruction Set Attributes 5 =3D =
<RDM,CRC32,SHA2,SHA1,AES+VMULL,SEVL>
> AArch32 Media and VFP Features 0 =3D <FPRound,FPSqrt,FPDivide,DP =
VFPv3+v4,SP VFPv3+v4,AdvSIMD>
> AArch32 Media and VFP Features 1 =3D <SIMDFMAC,FPHP Arith,SIMDHP =
Arith,SIMDSP,SIMDInt,SIMDLS,FPDNaN,FPFtZ>
> CPU  1: ARM Neoverse-N1 r4p0 affinity:  1  0  0
> CPU  2: ARM Neoverse-N1 r4p0 affinity:  2  0  0
> CPU  3: ARM Neoverse-N1 r4p0 affinity:  3  0  0
> CPU  4: ARM Neoverse-N1 r4p0 affinity:  4  0  0
> CPU  5: ARM Neoverse-N1 r4p0 affinity:  5  0  0
> CPU  6: ARM Neoverse-N1 r4p0 affinity:  6  0  0
> CPU  7: ARM Neoverse-N1 r4p0 affinity:  7  0  0
> CPU  8: ARM Neoverse-N1 r4p0 affinity:  8  0  0
> CPU  9: ARM Neoverse-N1 r4p0 affinity:  9  0  0
> CPU 10: ARM Neoverse-N1 r4p0 affinity: 10  0  0
> CPU 11: ARM Neoverse-N1 r4p0 affinity: 11  0  0
> CPU 12: ARM Neoverse-N1 r4p0 affinity: 12  0  0
> CPU 13: ARM Neoverse-N1 r4p0 affinity: 13  0  0
> CPU 14: ARM Neoverse-N1 r4p0 affinity: 14  0  0
> CPU 15: ARM Neoverse-N1 r4p0 affinity: 15  0  0
> Release APs...done
> Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [ro,noatime]...
> mountroot: waiting for device /dev/ufs/FreeBSD_Install...
> TCP_ratelimit: Is now initialized
> Mounting from ufs:/dev/ufs/FreeBSD_Install failed with error 19.
>=20
> Loader variables:
>   vfs.root.mountfrom=3Dufs:/dev/ufs/FreeBSD_Install
>   vfs.root.mountfrom.options=3Dro,noatime
>=20
> Manual root filesystem specification:
>   <fstype>:<device> [options]
>       Mount <device> using filesystem <fstype>
>       and with the specified (optional) option list.
>=20
>     eg. ufs:/dev/da0s1a
>         zfs:zroot/ROOT/default
>         cd9660:/dev/cd0 ro
>           (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)
>=20
>   ?               List valid disk boot devices
>   .               Yield 1 second (for background tasks)
>   <empty line>    Abort manual input
>=20
> mountroot>

Did you intend a "?" above (to show the vaild disk boot
devices as seen at this point)?

> mountroot> random: unblocking device.
>=20
> panic: mountroot: unable to (re-)mount root.
> cpuid =3D 14
> time =3D 99
> KDB: stack backtrace:
> #0 0xffff000000525d3c at kdb_backtrace+0x58
> #1 0xffff0000004d0d40 at vpanic+0x198
> #2 0xffff0000004d0ba4 at panic+0x44
> #3 0xffff0000005cf82c at vfs_mountroot+0x1df4
> #4 0xffff000000442814 at start_init+0x28
> #5 0xffff00000047cdf0 at fork_exit+0x88
> #6 0xffff0000008b61f4 at fork_trampoline+0x14
> Uptime: 1m39s
> Automatic reboot in 15 seconds - press a key on the console to abort

My memory is that typing just return to such a mountroot> prompt =
normally
panics in my example contexts.



*HISTORY DELETED*


=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A15BB778-C4A9-43DF-A826-A767B226ED46>