⬢ DragonFlyBSD Kernel Audit
DF-2343 / run4_console_fixed.sh
← back to finding ↓ download raw
#!/bin/sh
# run4_console_fixed.sh -- console attach with cons_baud=0 on the FIXED
# kernel: ucom_param(tp, t.c_ospeed=0) -> pre_param -> EINVAL (ignored
# by usb_serial.c:533); attach completes, NO panic.
set -e
cd /root/umcs
echo "=== DF-2343 console trigger on fixed kernel ==="
uname -a
sysctl hw.usb.ucom.cons_unit hw.usb.ucom.cons_baud
grep -E 'ucom\.cons' /boot/loader.conf || true
./umcshctl 4 0x01 0
./umcshctl 7
ls -l /dev/ttyU* 2>/dev/null || true
echo "FIXED_CONSOLE_OK"