NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/55930: KERNEL_DIR should co-locate module debug stuff with the modules

>Number:         55930
>Category:       kern
>Synopsis:       KERNEL_DIR should co-locate module debug stuff with the modules themselves
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 15 22:10:00 +0000 2021
>Originator:     Paul Goyette
>Release:        NetBSD 9.99.77
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 |     |
| Software Developer | 0786 F758 55DE 53BA 7731 |   |
System: NetBSD 9.99.77 NetBSD 9.99.77 (SPEEDY 2020-12-09 16:52:22 UTC) #0: Thu Dec 10 00:56:59 UTC 2020 amd64
Architecture: x86_64
Machine: amd64
	Currently, if you set KERNEL_DIR="yes", the loadable modules
	are placed in /netbsd/modules/... while the debug files for
	the modules are placed in /usr/libdata/debug/netbsd/modules/...

	This means that, when installing a test kernel+modules you have
	to make two copies.  It also requires a multi-step process to
	rollback (or revert) to the previous versions.

	I request that the module debug files be placed in the same
	directory as the loadable modules, /netbsd/modules/...  This
	would simplify the installation and rollback of test code.

	It does mean, that there will now be two places for debug info,
	one place for userland executables and libraries, and another
	place for modules However, this should not be a problem since
	the module stuff isn't userland anyway.


Home | Main Index | Thread Index | Old Index