Bug 44024 - rc.sysinit: maybe add '-s buf' to 'dmesg > /var/log/dmesg'
rc.sysinit: maybe add '-s buf' to 'dmesg > /var/log/dmesg'
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
7.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-06-09 07:38 EDT by giulioo
Modified: 2014-03-16 22:21 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-06-09 07:39:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description giulioo 2001-06-09 07:38:56 EDT
Description of problem:
AFAIK dmesg defaults to a small buffer. Since you increase the LOG_BUF_LEN 
in kernel, it may be good to use
dmesg -s <big_buf> > /var/log/dmesg
in rc.sysinit (I think big_buf should be >= 65536)

How reproducible/Steps to Reproduce:
On this system I haven't any driver that can trigger the problem, so I 
just tried to fill the dmesg buffer after boot to confirm that dmesg still 
needs '-s <buf>' to get all the available info.

Additional info:
I have this problem on a rh6x system with 8 software raid1 partitions and 
applied the fix suggested above.
Comment 1 Bill Nottingham 2001-08-07 02:50:41 EDT
Will be fixed in 6.12-1.

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