From nobody Mon Feb 14 15:40:47 2022 X-Original-To: freebsd-arm@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 8503C19BD644 for ; Mon, 14 Feb 2022 15:40:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jy7jC1lqsz3LmN for ; Mon, 14 Feb 2022 15:40:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1C73B11880 for ; Mon, 14 Feb 2022 15:40:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 21EFelYV043233 for ; Mon, 14 Feb 2022 15:40:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21EFelXN043232 for freebsd-arm@FreeBSD.org; Mon, 14 Feb 2022 15:40:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 261948] [boot] Loop of "Root mount waiting for: usbus0 CAM" on Oracle OCI Cloud Ampere A1 Compute instance Date: Mon, 14 Feb 2022 15:40:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: szczepan@szczepan.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644853247; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kcOMLunzculDxe0e242sKSd6bQW02ZZQ+SmgdvTb6CM=; b=xc2cIlxNGhOrOL85GeZ3kp0UoJl0C2Hq70dVyQNdKNnWRsgwLWmUKmxqRAJvzCqlCF38bZ P1tjr5/JX6fIMlgxB0mZsuX/tezSv4KS/K0lu549O88gqyFCe14QRggJwDfG5D538bCmN6 4KQ9VirRki3zKV/8hw3HACcrdtsXJtcoxF3fCUjnV1WDAj2xTw5347Pcx8KZG0sZL6x6+/ rridaHBj3DtuQqby2CyHy2X4STba4oCZLpWFd3/HubTL4DxAmKlOZaL8rbY2ZGyIJETzwz S8fZfaekIispy/R0TyvdSz8F8CM5ZJppwQXgOqpZO4FCBaeoADauQi/QuOy/AQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644853247; a=rsa-sha256; cv=none; b=eYe7WPkyNWHCMkXQ1bz3NPuwl+FWMg6pkJ5CowtH7mDOdC5OU3VBOOJiPvmY4wpH+D+1hj a9J3XFqyuInlaXF0sKSEJV3bcEkfyEtxeMsdmRsyMcWu5fNSldcZq1Z1CH/1phQRnh0P6E GZMaJhVcPOw2W7QAISWLR0K1yPNSf9D87PAc1Znnr2Atjgkgcp126zvGpufTJtrd9RTz5Y nmvak9D3rtMWUHagpwhlLpxkW9GnoJQ7ykUOEpJYPuBuI92cPQcXJ+BYDGk+nB0j57HDK3 tE9CeJljFLYJba+en6ZoB2nZSsfs5cyMfnAeXlj4Ot2mPSYxoWZ8JRh0VoXLww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261948 Bug ID: 261948 Summary: [boot] Loop of "Root mount waiting for: usbus0 CAM" on Oracle OCI Cloud Ampere A1 Compute instance Product: Base System Version: 13.0-STABLE Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: szczepan@szczepan.net Trying to boot FreeBSD 13-STABLE / 14-CURRENT (also tried 13-RELEASE) - eff= ect is the same, after booting kernel, there's a stuck loop: Loading kernel... /boot/kernel/kernel text=3D0x2a8 text=3D0x84ad60 text=3D0x247f14 data=3D0x1= b92a8 data=3D0x0+0x40d000 syms=3D[0x8+0x133158+0x8+0x15a65a] Loading configured modules... can't find '/boot/entropy' can't find '/etc/hostid' No valid device tree blob found! WARNING! Trying to fire up the kernel, but no device tree blob found! EFI framebuffer information: addr, size 0x0, 0x0 dimensions 0 x 0 stride 0 masks 0x00000000, 0x00000000, 0x00000000, 0x00000000 ---<>--- GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2022 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.0-CURRENT #0 main-n253065-8dc42f98047: Thu Feb 10 06:40:36 UTC 2= 022 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. module firmware already present! real memory =3D 25766789120 (24573 MB) avail memory =3D 25096417280 (23933 MB) Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs arc4random: WARNING: initial seeding bypassed the cryptographic random devi= ce because it was not yet seeded and the knob 'bypass_before_seeding' was enab= led. random: entropy device external interface MAP 6386b0000 mode 2 pages 80 MAP 638700000 mode 2 pages 80 MAP 638750000 mode 2 pages 80 MAP 6387a0000 mode 2 pages 80 MAP 6387f0000 mode 2 pages 192 MAP 6388b0000 mode 2 pages 96 MAP 638910000 mode 2 pages 160 MAP 6389b0000 mode 2 pages 80 MAP 638a00000 mode 2 pages 80 MAP 638a50000 mode 2 pages 240 MAP 63be20000 mode 2 pages 144 MAP 63bec0000 mode 2 pages 288 MAP 4000000 mode 0 pages 16384 MAP 9010000 mode 0 pages 1 kbd0 at kbdmux0 acpi0: acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) acpi0: Could not update all GPEs: AE_NOT_CONFIGURED psci0: on acpi0 gic0: iomem 0x8000000-0x801ffff,0x80a0000-0x8ffffff on acpi0 its0: on gic0 generic_timer0: irq 34,35,36 on acpi0 Timecounter "ARM MPCore Timecounter" frequency 25000000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 25000000 Hz quality 1000 efirtc0: efirtc0: registered as a time-of-day clock, resolution 1.000000s pmu0: on acpi0 cpu0: on acpi0 uart0: iomem 0x9000000-0x9000fff irq 0 on acpi0 uart0: console (9600,n,8,1) pcib0: on acpi0 pci0: on pcib0 virtio_pci0: mem 0x10119000-0x10119fff,0x8000100000-0x8000103fff at device 1.0 on pci0 xhci0: mem 0x8000108000-0x800010bfff at device 2.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA usbus0 on xhci0 virtio_pci1: mem 0x10118000-0x10118fff,0x8000104000-0x8000107fff at device 3.0 on pci0 vtnet0: on virtio_pci1 vtnet0: Ethernet address: 02:00:17:00:1b:78 pcib1: mem 0x10117000-0x10117fff at device 16.0 on pci0 pci1: on pcib1 pcib2: mem 0x10116000-0x10116fff at device 16.1 on pci0 pci2: on pcib2 pcib3: mem 0x10115000-0x10115fff at device 16.2 on pci0 pci3: on pcib3 pcib4: mem 0x10114000-0x10114fff at device 16.3 on pci0 pci4: on pcib4 pcib5: mem 0x10113000-0x10113fff at device 16.4 on pci0 pci5: on pcib5 pcib6: mem 0x10112000-0x10112fff at device 16.5 on pci0 pci6: on pcib6 pcib7: mem 0x10111000-0x10111fff at device 16.6 on pci0 pci7: on pcib7 pcib8: mem 0x10110000-0x10110fff at device 16.7 on pci0 pci8: on pcib8 pcib9: mem 0x1010f000-0x1010ffff at device 17.0 on pci0 pci9: on pcib9 pcib10: mem 0x1010e000-0x1010efff at device 17.1 on pci0 pci10: on pcib10 pcib11: mem 0x1010d000-0x1010dfff at device 17.2 on pci0 pci11: on pcib11 pcib12: mem 0x1010c000-0x1010cfff at device 17.3 on pci0 pci12: on pcib12 pcib13: mem 0x1010b000-0x1010bfff at device 17.4 on pci0 pci13: on pcib13 pcib14: mem 0x1010a000-0x1010afff at device 17.5 on pci0 pci14: on pcib14 pcib15: mem 0x10109000-0x10109fff at device 17.6 on pci0 pci15: on pcib15 pcib16: mem 0x10108000-0x10108fff at device 17.7 on pci0 pci16: on pcib16 pcib17: mem 0x10107000-0x10107fff at device 18.0 on pci0 pci17: on pcib17 pcib18: mem 0x10106000-0x10106fff at device 18.1 on pci0 pci18: on pcib18 pcib19: mem 0x10105000-0x10105fff at device 18.2 on pci0 pci19: on pcib19 pcib20: mem 0x10104000-0x10104fff at device 18.3 on pci0 pci20: on pcib20 pcib21: mem 0x10103000-0x10103fff at device 18.4 on pci0 pci21: on pcib21 pcib22: mem 0x10102000-0x10102fff at device 18.5 on pci0 pci22: on pcib22 pcib23: mem 0x10101000-0x10101fff at device 18.6 on pci0 pci23: on pcib23 pcib24: mem 0x10100000-0x10100fff at device 18.7 on pci0 pci24: on pcib24 virtio_pci2: mem 0x10000000-0x10000fff,0x8000000000-0x8000003fff at device 0.0 on pci24 vtscsi0: on virtio_pci2 acpi_button0: on acpi0 armv8crypto0: Timecounters tick every 1.000 msec CPU 0: ARM Neoverse-N1 r3p1 affinity: 0 Cache Type =3D <64 byte D-cacheline,64 byte I-cacheline,= PIPT ICache,64 byte ERG,64 byte CWG,IDC> Instruction Set Attributes 0 =3D Instruction Set Attributes 1 =3D Processor Features 0 =3D Processor Features 1 =3D Memory Model Features 0 =3D Memory Model Features 1 =3D Memory Model Features 2 =3D <32bit CCIDX,48bit VA,UAO,CnP> Debug Features 0 =3D Debug Features 1 =3D <> Auxiliary Features 0 =3D <> Auxiliary Features 1 =3D <> AArch32 Instruction Set Attributes 5 =3D AArch32 Media and VFP Features 0 =3D AArch32 Media and VFP Features 1 =3D CPU 1: ARM Neoverse-N1 r3p1 affinity: 1 CPU 2: ARM Neoverse-N1 r3p1 affinity: 2 CPU 3: ARM Neoverse-N1 r3p1 affinity: 3 Release APs...usbus0: 5.0Gbps Super Speed USB v3.0 done Trying to mount root from ufs:/dev/gpt/rootfs [rw]... WARNING: WITNESS option enabled, expect reduced performance. ugen0.1: <(0x1b36) XHCI root HUB> at usbus0 uhub0 on usbus0 uhub0: <(0x1b36) XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 uhub0: 8 ports with 8 removable, self powered Root mount waiting for: usbus0 CAM ... ... ... usbd_setup_device_desc: getting device descriptor at addr 1 failed, USB_ERR_TIMEOUT ugen0.2: at usbus0 (disconnected) uhub_reattach_port: could not allocate new device Root mount waiting for: usbus0 CAM ... This is VM running on Oracle Cloud, using Arm processor from Ampere. Tried setting diffrent variables before booting kernel, ex.: kern.cam.boot_delay=3D10000 vfs.root_mount_always_wait=3D1 hw.usb.no_boot_wait=3D1 No change. I have working Linux on this machine, so can provide more info if needed.=20 Any way to get this to boot somehow? A cut from dmesg from another VM, this one is running on amd64 host: WARNING: WITNESS option enabled, expect reduced performance. ugen0.1: at usbus0 Trying to mount root from ufs:/dev/da0p2 [rw]... uhub0 on usbus0 uhub0: on usbus0 pass0 at vtscsi0 bus 0 scbus2 target 0 lun 0 pass0: Fixed Uninstalled SPC-3 SCSI device (offline) pass0: 300.000MB/s transfers pass0: Command Queueing enabled da0 at vtscsi0 bus 0 scbus2 target 0 lun 1 da0: Fixed Direct Access SPC-4 SCSI device da0: 300.000MB/s transfers da0: Command Queueing enabled da0: 47694MB (97677312 512 byte sectors) (da0:vtscsi0:0:0:1): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. uhub0: 2 ports with 2 removable, self powered ugen0.2: at usbus0 This one also got similar loop problem when using 13-RELEASE, but tried 13-STABLE and 14-CURRENT (both latest) and they work fine without any issue= s - so maybe it's qemu related? --=20 You are receiving this mail because: You are the assignee for the bug.=