14-CURRENT Kernel Panic due to USB hub?
Date: Thu, 11 Nov 2021 23:43:57 UTC
I'm trying a new install using FreeBSD-14.0-CURRENT-arm64-aarch64-20211104-7ac82c96fe7-250453-bootonly.iso. The process is rough, but after a few attempts it eventually completes. Here are the steps taken: * First boot: system is able to start properly and I proceed with bsdinstall. See serial console output (http://venus.morante.net/downloads/unibia/screenshots/freebsd/R281-T91/14-CURRENT-7ac82c96fe7/serialconsole-boot-successful.txt) * Setup the interface to use DHCP, it gets an address * Select the ftp mirror, setup partitioning (auto UFS, GPT, etc...) * The system panics while "connecting to server". See serial console output (http://venus.morante.net/downloads/unibia/screenshots/freebsd/R281-T91/14-CURRENT-7ac82c96fe7/panic1.txt) * Reset the system and start over. * Now get 'DHCP leased acquisition failed". Nothing is printed on serial console. * Retry, gets an address * Installation goes on to fetch distribution files. * Hangs at about 60% and then panics. See serial console output (http://venus.morante.net/downloads/unibia/screenshots/freebsd/R281-T91/14-CURRENT-7ac82c96fe7/panic2.txt) * Restart the process again. Panics at around 30%. See serial console output (http://venus.morante.net/downloads/unibia/screenshots/freebsd/R281-T91/14-CURRENT-7ac82c96fe7/panic3.txt). * Reset the system, boot fails with panic. See serial console output (http://venus.morante.net/downloads/unibia/screenshots/freebsd/R281-T91/14-CURRENT-7ac82c96fe7/serialconsole-boot-fail.txt) * Try again, no panic, install succeeds. * Boot into new system At this point it seems like everything is fine, but: * After a few minutes of using the system, it just locks up. * I reboot, get dropped to single use, run fsck, exit, resume startup. * The system halts (no kernel panic) with an error "RAS CONTROLLER: SYSTEM HALTED...". See serial console output (http://venus.morante.net/downloads/unibia/screenshots/freebsd/R281-T91/14-CURRENT-7ac82c96fe7/ras-controller-error.txt) * Reboot, system works. * After a few minutes of using the system, it just locks up. Throughout the entire process I am seeing a kernel message about a USB hub being disconnected and reattached. Even after booting into the installed system: ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0 (disconnected) uhub5: at uhub0, port 1, addr 1 (disconnected) uhub5: detached ugen0.2: <Generic 4-Port USB 3.0 Hub> at usbus0 uhub5 numa-domain 0 on uhub0 uhub5: <Interrupt In Interface> on usbus0 uhub5: 4 ports with 4 removable, self powered I suspect these problems are caused by the above detaching/reattaching. There are no external or add-on USB hubs connected to this system. Running other operating systems such as Ubuntu and VMWare ESXi for arm64 do not present these problems.