Red Hat Bugzilla – Bug 89176
procinfo -m fails with more than 32 character devices
Last modified: 2015-01-07 19:04:44 EST
Description of problem:
procinfo -m gives 'Segmentation fault' when there are more than 32 character
devices in /proc/devices
Version-Release number of selected component (if applicable):
always, when there are more than 32 character devices in /proc/devices
Steps to Reproduce:
> procinfo -a
> procinfo -m
it should work ...
I suggest to increase the values of MAX_CHRDEV (and maybe MAX_BLKDEV) in
procinfo.h from the current value of 32 to (for example) 64 (or more).
Arjan, what are the kernel defined limits for this?
For 2.4 kernels there is a maximum of 256 character major numbers
*** Bug 112533 has been marked as a duplicate of this bug. ***
Fixed for FC-4.