FreeBSD on Cubi - hpaluch/hpaluch.github.io GitHub Wiki
FreeBSD on Cubi
Trying to boot FreeBSD 14.1 on MSI Cubi 5 12M
PC (see Cubi).
Right at kernel boot FreeBSD freezes after UART detection. Looking into:
So you have to do that at Boot:
- press ESC to get boot prompt (
?
) - run
show
to see uart variables - now we will follow forum post:
- type
unset hint.uart.1.at
- type
boot
to continue boot
- type
Before reboot you should run "Last minute shell" and
remove hint.uart.1.at=xxxx
from /boot/device.hints
Problems
FreeBSD does not support faster 2.5Gb RealTek NIC - as seen from Linux:
2d:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
According to:
- https://forums.freebsd.org/threads/realtek-rtl8125-on-board-not-discovered.91517/
- referencing https://www.freshports.org/net/realtek-re-kmod
- there is driver in ports package - but why it is not in kernel?
However 2nd one works without issues:
2e:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
Later is detected as re0
interface.
There are spurious USB mouse disconnects/reconnects:
ugen1.4: <Logitech USB Optical Mouse> at usbus1 (disconnected)
ums0: at uhub2, port 3, addr 14 (disconnected)
ums0: detached
ugen1.4: <Logitech USB Optical Mouse> at usbus1
ums0 on uhub2
ums0: <Logitech USB Optical Mouse, class 0/0, rev 2.00/72.00, addr 15> on usbus1
ums0: 3 buttons and [XYZ] coordinates ID=0