Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: xhci driver crashes FreeBSD bhyve hypervisor
You don't need to recompile anything; when you boot the cd-rom (in
UEFI mode, so you have VNC connection I presume), switch quickly to
the VNC screen from the menu option and hit '3' to get into the boot
prompt; then type 'boot -c', on the uc> prompt enter 'disable xhci'
and then 'quit'. After you finish the installation, mount again the
root partition on /targetroot and edit the boot.cfg file, placing
'userconf=disable xhci' close to the end.
I just installed a -current system under TrueNAS 12.0 - on my own
homegrown TrueNAS server. Works reasonably well.
On Sun, 7 Feb 2021 at 20:30, Darrin B. Jewell <dbj%netbsd.org@localhost> wrote:
>
>
> As I recently reported in this forum, I have obtained a FreeBSD based
> NAS system from https://www.truenas.com/truenas-mini/
>
> This system provides the bhyve hypervisor for running virtual
> machines and I recently attempted to boot NetBSD 9.1 on it.
> Unfortunately, the xhci driver appears to crash the hypervisor.
>
> pid 6925 (bhyve), jid 0, uid 0: exited on signal 11
>
> I've included the virtual netbsd system console below
> when I booted the NetBSD-9.1-amd64.iso cdrom image from the
> default distribution.
>
> Recompiling and removing the xhci driver avoids this crash
> and allows NetBSD to function in this environment.
>
> I'll report here any further details if I get the time to
> debug this crash.
>
> Darrin
>
> [ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
> [ 1.0000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
> [ 1.0000000] 2018, 2019, 2020 The NetBSD Foundation, Inc. All rights reserved.
> [ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
> [ 1.0000000] The Regents of the University of California. All rights reserved.
>
> [ 1.0000000] NetBSD 9.1 (GENERIC) #0: Sun Oct 18 19:24:30 UTC 2020
> [ 1.0000000] mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC
> [ 1.0000000] total memory = 16383 MB
> [ 1.0000000] avail memory = 15883 MB
> [ 1.0000000] WARNING: module error: module `cd9660' pushed by boot loader already exists
> [ 1.0000000] cpu_rng: RDSEED
> [ 1.0000000] running cgd selftest aes-xts-256 aes-xts-512 done
> [ 1.0000030] efi: systbl at pa bfb7cf18
> [ 1.0000030] mainbus0 (root)
> [ 1.0000030] ACPI: RSDP 0x00000000BFB88014 000024 (v02 BHYVE )
> [ 1.0000030] ACPI: XSDT 0x00000000BFB870E8 00004C (v01 BHYVE BVFACP 00000001 01000013)
> [ 1.0000030] ACPI: FACP 0x00000000BFB86000 0000F4 (v04 BHYVE BVFACP 00000001 BHYV 00000001)
> [ 1.0000030] ACPI: DSDT 0x00000000BEA98000 00191A (v02 BHYVE BVDSDT 00000001 INTL 20200430)
> [ 1.0000030] ACPI: FACS 0x00000000BFB8C000 000040
> [ 1.0000030] ACPI: HPET 0x00000000BFB85000 000038 (v01 BHYVE BVHPET 00000001 BHYV 00000001)
> [ 1.0000030] ACPI: APIC 0x00000000BFB84000 000082 (v01 BHYVE BVMADT 00000001 BHYV 00000001)
> [ 1.0000030] ACPI: MCFG 0x00000000BFB83000 00003C (v01 BHYVE BVMCFG 00000001 BHYV 00000001)
> [ 1.0000030] ACPI: SPCR 0x00000000BFB82000 000050 (v01 BHYVE BVSPCR 00000001 BHYV 00000001)
> [ 1.0000030] ACPI: 1 ACPI AML tables successfully acquired and loaded
> [ 1.0000030] ioapic0 at mainbus0 apid 8
> [ 1.0000030] cpu0 at mainbus0 apid 0
> [ 1.0000030] cpu0: Intel(R) Atom(TM) CPU C3758 @ 2.20GHz, id 0x506f1
> [ 1.0000030] cpu0: package 0, core 0, smt 0
> [ 1.0000030] cpu1 at mainbus0 apid 1
> [ 1.0000030] cpu1: Intel(R) Atom(TM) CPU C3758 @ 2.20GHz, id 0x506f1
> [ 1.0000030] cpu1: package 0, core 1, smt 0
> [ 1.0000030] cpu2 at mainbus0 apid 2
> [ 1.0000030] cpu2: Intel(R) Atom(TM) CPU C3758 @ 2.20GHz, id 0x506f1
> [ 1.0000030] cpu2: package 0, core 2, smt 0
> [ 1.0000030] cpu3 at mainbus0 apid 3
> [ 1.0000030] cpu3: Intel(R) Atom(TM) CPU C3758 @ 2.20GHz, id 0x506f1
> [ 1.0000030] cpu3: package 0, core 3, smt 0
> [ 1.0000030] cpu4 at mainbus0 apid 4
> [ 1.0000030] cpu4: Intel(R) Atom(TM) CPU C3758 @ 2.20GHz, id 0x506f1
> [ 1.0000030] cpu4: package 0, core 4, smt 0
> [ 1.0000030] cpu5 at mainbus0 apid 5
> [ 1.0000030] cpu5: Intel(R) Atom(TM) CPU C3758 @ 2.20GHz, id 0x506f1
> [ 1.0000030] cpu5: package 0, core 5, smt 0
> [ 1.0000030] cpu6 at mainbus0 apid 6
> [ 1.0000030] cpu6: Intel(R) Atom(TM) CPU C3758 @ 2.20GHz, id 0x506f1
> [ 1.0000030] cpu6: package 0, core 6, smt 0
> [ 1.0000030] cpu7 at mainbus0 apid 7
> [ 1.0000030] cpu7: Intel(R) Atom(TM) CPU C3758 @ 2.20GHz, id 0x506f1
> [ 1.0000030] cpu7: package 0, core 7, smt 0
> [ 1.0000030] acpi0 at mainbus0: Intel ACPICA 20190405
> [ 1.0000030] acpi0: fixed power button present
> [ 1.0361919] hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
> [ 1.0400841] pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
> [ 1.0400841] pckbc2 at acpi0 (MOU, PNP0F03) (aux port): irq 12
> [ 1.0400841] SIO (PNP0C02) at acpi0 not configured
> [ 1.0400841] COM1 (PNP0501) at acpi0 not configured
> [ 1.0400841] COM2 (PNP0501) at acpi0 not configured
> [ 1.0400841] attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43 irq 0
> [ 1.0400841] pckbd0 at pckbc1 (kbd slot)
> [ 1.0400841] pckbc1: using irq 1 for kbd slot
> [ 1.0400841] wskbd0 at pckbd0 mux 1
> [ 1.0400841] pms0 at pckbc1 (aux slot)
> [ 1.0400841] pckbc1: using irq 12 for aux slot
> [ 1.0400841] wsmouse0 at pms0 mux 0
> [ 1.0400841] pci0 at mainbus0 bus 0: configuration mode 1
> [ 1.0400841] pchb0 at pci0 dev 0 function 0: vendor 1275 product 1275 (rev. 0x00)
> [ 1.0400841] ahcisata0 at pci0 dev 2 function 0: vendor 8086 product 2821 (rev. 0x00)
> [ 1.0400841] ahcisata0: AHCI revision 1.30, 6 ports, 32 slots, CAP 0xff30ff25<SXS,PSC,SSC,PMD,ISS=0x3=Gen3,SCLO,SAL,SALP,SSS,SMPS,SSNTF,SNCQ,S64A>
> [ 1.0400841] ahcisata1 at pci0 dev 3 function 0: vendor 8086 product 2821 (rev. 0x00)
> [ 1.0400841] ahcisata1: AHCI revision 1.30, 6 ports, 32 slots, CAP 0xff30ff25<SXS,PSC,SSC,PMD,ISS=0x3=Gen3,SCLO,SAL,SALP,SSS,SMPS,SSNTF,SNCQ,S64A>
> [ 1.0400841] ahcisata1: interrupting at msi1 vec 0
> [ 1.0400841] atabus0 at ahcisata1 channel 0
> [ 1.0400841] atabus1 at ahcisata1 channel 1
> [ 1.0400841] wm0 at pci0 dev 4 function 0: Intel i82545EM 1000BASE-T Ethernet (rev. 0x00)
> [ 1.0400841] wm0: interrupting at ioapic0 pin 17
> [ 1.0400841] wm0: Ethernet address 00:a0:98:7b:ac:cb
> [ 1.0400841] vga0 at pci0 dev 29 function 0: vendor fb5d product 40fb (rev. 0x00)
> [ 1.0400841] wsdisplay0 at vga0 kbdmux 1
> [ 1.0400841] pckbd_enable: command error
> [ 1.0400841] drm at vga0 not configured
> [ 1.0400841] xhci0 at pci0 dev 30 function 0: vendor 8086 product 1e31 (rev. 0x00)
> [ 1.0400841] xhci0: interrupting at msi2 vec 0
--
----
Home |
Main Index |
Thread Index |
Old Index