NetBSD-Bugs archive

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

kern/54737: modstat(8) reports misleading data for module size

>Number:         54737
>Category:       kern
>Synopsis:       modstat(8) reports misleading data for module size
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 04 23:10:00 +0000 2019
>Originator:     Paul Goyette
>Release:        NetBSD 9.99.18
| 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.18 NetBSD 9.99.18 (SPEEDY 2019-11-30 14:42:39 UTC) #0: Sat Nov 30 16:43:09 UTC 2019 amd64
Architecture: x86_64
Machine: amd64
	The value displayed by modstat(8) (returned from kernel via
	modctl(2) syscall) for a module's size is a bit misleading, as it
	includes only the size of the .text segment.
	Try to modload the pciverbose module.  On my system (amd64),
	modstat will show a size of only 218 bytes, even though the
	module contains more that 128,000 bytes of data!


Home | Main Index | Thread Index | Old Index