Bug 272564

Summary: FIRECRACKER fails to link kernel: undefined symbol: memdesc_ccb
Product: Base System Reporter: Mina Galić <freebsd>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: cperciva, jhb
Priority: ---    
Version: CURRENT   
Hardware: amd64   
OS: Any   

Description Mina Galić freebsd_triage 2023-07-18 08:28:23 UTC
i reckon after base commit 60381fd1ee8668ea1e4676a6128883d987cab858 we'll have to replace subr_bus_dma.c as dependency somewhere with cam.c
Comment 1 Mina Galić freebsd_triage 2023-07-18 08:30:16 UTC
somebody please fix the Quick editing Help in bugzilla to explain how to link to git commits instead of svn revisions
Comment 2 Mina Galić freebsd_triage 2023-07-18 09:40:11 UTC
I missed the discussion https://lists.freebsd.org/archives/dev-commits-src-main/2023-July/016995.html

sorry, should've checked first
Comment 3 Colin Percival freebsd_committer freebsd_triage 2023-07-18 14:57:14 UTC
Temporary workaround is to add `device scbus` to the FIRECRACKER config.  Hopefully the code will get fixed before too long; it affects MINIMAL too.
Comment 4 John Baldwin freebsd_committer freebsd_triage 2023-07-21 05:07:12 UTC
Should be fixed by:

commit c5312bd79e66ce8ef50655ce7f3eca06d6b6e24f
Author: John Baldwin <jhb@FreeBSD.org>
Date:   Tue Jul 18 18:19:27 2023 -0700

    cam: Move bus_dmamap_load_ccb into cam.c.
    
    This routine is specific to CAM and no longer assumes any internal
    bus_dma knowledge as it is simple wrapper around bus_dmamap_load_mem.
    
    Fixes:          60381fd1ee86 memdesc: Retire MEMDESC_CCB.
    Reviewed by:    kib
    Differential Revision:  https://reviews.freebsd.org/D41058