Bug 755458

Summary: netconsole does not work
Product: Red Hat Enterprise Linux 6 Reporter: Guohua Ouyang <gouyang>
Component: ovirt-nodeAssignee: Joey Boggs <jboggs>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.2CC: acathrow, bgollahe, bsarathy, cshao, gouyang, jboggs, jpallich, leiwang, mburns, moli, ovirt-maint, sgordon, thildred, ycui
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-2.2.1-1.el6 Doc Type: Bug Fix
Doc Text:
Previously, a missing kernel module prevented netconsole from functioning. The missing kernel module has now been included, and netconsole functions correctly.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-19 14:16:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 765898    
Attachments:
Description Flags
dmesg
none
/etc/sysconfig/netconsole none

Description Guohua Ouyang 2011-11-21 08:09:43 UTC
Description of problem:
After configure netconsole in logging, it does not work, service failed to run.

[root@localhost log]# service netconsole start
Initializing netconsole WARNING: Could not open '/lib/modules/2.6.32-220.el6.x86_64/kernel/fs/configfs/configfs.ko': No such file or directory
FATAL: Error inserting netconsole (/lib/modules/2.6.32-220.el6.x86_64/kernel/drivers/net/netconsole.ko): Unknown symbol in module, or unknown parameter (see dmesg)
                                                           [FAILED]


Version-Release number of selected component (if applicable):
6.2-20111117.0

How reproducible:
100%.

Steps to Reproduce:
1. configure netconsole in logging

Actual results:
it does not work, service failed to run.  .

Expected results:
netconsole work well.

Additional info:
1. Test it on RHEL6.2 (2.6.32-220), after configure and start it, netconsole works well.
2. Remount rhevh-6.2-20111117.0 to read-write and copy configfs.ko from RHEL6.2(2.6.32-220), then netconsole service can be started and works well.

Comment 1 Guohua Ouyang 2011-11-21 08:10:13 UTC
Created attachment 534734 [details]
dmesg

Comment 2 Guohua Ouyang 2011-11-21 08:10:47 UTC
Created attachment 534735 [details]
/etc/sysconfig/netconsole

Comment 5 Ying Cui 2011-11-21 12:24:42 UTC
Tested on 6.2-0.5 6.2-0.12 and 6.2-17.1, the same issue on these builds.
Tested on 6.1-20110926.1.hf739477.el6_1, the same issue on this build.

Remove regression keywords.

And need to confirm whether this bug must fix in 6.2?

Comment 11 Mike Burns 2012-01-12 23:49:10 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
The netconsole was not functional due to a missing kernel module.  The kernel module has not been included

Comment 12 Tim Hildred 2012-01-25 02:39:32 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1,3 @@
-The netconsole was not functional due to a missing kernel module.  The kernel module has not been included+Previously, a missing kernel module caused the netconsole not to function. 
+
+The missing kernel module has now been included, and netconsole functions as expected.

Comment 13 Guohua Ouyang 2012-02-21 07:45:04 UTC
Verified on 6.3-20120215 build, netconsole service run normal after configure it in log page, and it can send kernel message to remote server.

Comment 14 Stephen Gordon 2012-05-28 16:20:07 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,3 +1 @@
-Previously, a missing kernel module caused the netconsole not to function. 
+Previously, a missing kernel module prevented netconsole from functioning. The missing kernel module has now been included, and netconsole functions correctly.-
-The missing kernel module has now been included, and netconsole functions as expected.

Comment 16 errata-xmlrpc 2012-07-19 14:16:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0741.html