[Bug 280290] hms(4): Broken fresh after boot, fixed by resume

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 27 Oct 2024 00:59:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280290

--- Comment #18 from david@catwhisker.org ---
(In reply to Vladimir Kondratyev from comment #17)
I was about to claim that I did not, but then I recalled that my kernel config
starts by including GENERIC -- which does have it. :-}

So I appended

nodevice      hidbus

to the kernel config and fired off a rebuild of the kernel.  Which turned out
to be rather shorter than intended:

Building
/common/S4/obj/usr/src/amd64.amd64/sys/CANARY/modules/usr/src/sys/modules/usb/g_mouse/opt_usb.h
Building
/common/S4/obj/usr/src/amd64.amd64/sys/CANARY/modules/usr/src/sys/modules/usb/template/opt_usb.h
--- kernel.full ---
ld: error: undefined symbol: hidbus_lookup_driver_info
>>> referenced by hkbd.c:757 (/usr/src/sys/dev/hid/hkbd.c:757)
>>>               hkbd.o:(hkbd_probe)

ld: error: undefined symbol: hidbus_set_desc
>>> referenced by hkbd.c:761 (/usr/src/sys/dev/hid/hkbd.c:761)
>>>               hkbd.o:(hkbd_probe)

ld: error: undefined symbol: hid_get_device_info
>>> referenced by hkbd.c:870 (/usr/src/sys/dev/hid/hkbd.c:870)
>>>               hkbd.o:(hkbd_attach)

ld: error: undefined symbol: hidbus_set_intr
>>> referenced by hkbd.c:896 (/usr/src/sys/dev/hid/hkbd.c:896)
>>>               hkbd.o:(hkbd_attach)

ld: error: undefined symbol: hid_get_report_descr
>>> referenced by hkbd.c:924 (/usr/src/sys/dev/hid/hkbd.c:924)
>>>               hkbd.o:(hkbd_attach)

ld: error: undefined symbol: hidbus_locate
>>> referenced by hkbd.c:785 (/usr/src/sys/dev/hid/hkbd.c:785)
>>>               hkbd.o:(hkbd_parse_hid)
>>> referenced by hkbd.c:794 (/usr/src/sys/dev/hid/hkbd.c:794)
>>>               hkbd.o:(hkbd_parse_hid)
>>> referenced by hkbd.c:804 (/usr/src/sys/dev/hid/hkbd.c:804)
>>>               hkbd.o:(hkbd_parse_hid)
>>> referenced 4 more times
*** [kernel.full] Error code 1

make[2]: stopped making "all" in /common/S4/obj/usr/src/amd64.amd64/sys/CANARY
.ERROR_TARGET='kernel.full'
.ERROR_META_FILE='/common/S4/obj/usr/src/amd64.amd64/sys/CANARY/kernel.full.meta'
.MAKE.LEVEL='2'
....

So clearly that alone won't do.  I'm happy to try again, given a clue.

-- 
You are receiving this mail because:
You are the assignee for the bug.