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
>Organization:
+--------------------+--------------------------+-----------------------+
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
+--------------------+--------------------------+-----------------------+
>Environment:
	
	
System: NetBSD speedy.whooppee.com 9.99.77 NetBSD 9.99.77 (SPEEDY 2020-12-09 16:52:22 UTC) #0: Thu Dec 10 00:56:59 UTC 2020 paul%speedy.whooppee.com@localhost:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY amd64
Architecture: x86_64
Machine: amd64
>Description:
	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.
	
>How-To-Repeat:
	N/A
>Fix:
	N/A

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index