Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be unavailable on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 89176 - procinfo -m fails with more than 32 character devices
Summary: procinfo -m fails with more than 32 character devices
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: procinfo
Version: 9
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Jay Turner
: 112533 (view as bug list)
Depends On:
Blocks: FC4Target
TreeView+ depends on / blocked
Reported: 2003-04-19 08:01 UTC by dellaric
Modified: 2015-01-08 00:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2004-12-17 10:51:11 UTC

Attachments (Terms of Use)

Description dellaric 2003-04-19 08:01:01 UTC
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):


How reproducible:

always, when there are more than 32 character devices in /proc/devices

Steps to Reproduce:

> procinfo -a


> procinfo -m
Actual results:

Segmantation fault

Expected results:

it should work ...

Additional info:

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).

Comment 1 Mike A. Harris 2003-04-19 10:46:15 UTC
Arjan, what are the kernel defined limits for this?

Comment 2 Arjan van de Ven 2003-04-19 10:48:49 UTC
For 2.4 kernels there is a maximum of 256 character major numbers

Comment 3 Mike A. Harris 2004-01-13 16:47:40 UTC
*** Bug 112533 has been marked as a duplicate of this bug. ***

Comment 4 Karel Zak 2004-12-17 10:53:00 UTC
Fixed for FC-4.

Note You need to log in before you can comment on or make changes to this bug.