Bug 53965

Summary: rmmod -as writes messages to console
Product: [Retired] Red Hat Linux Reporter: Robert M. Riches Jr. <rm.riches>
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: rm.riches
Target Milestone: ---   
Target Release: ---   
Hardware: alpha   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-06-07 18:05:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Robert M. Riches Jr. 2001-09-24 17:43:11 UTC
Description of Problem:
"/sbin/rmmod -as" writes messages to console rather than
via syslog, whether done via /etc/cron.d/kmod or manually.
The -s switch is supposed to use syslog rather than the
console for messages.  The specific messages I am getting
on the console are from "bttv0" and "i2c-core.o".  (I can't
cut-and-paste the full text, because the console and X are
mutally exclusive.)  I suppose the messages in question
might actually be coming from the modules themselves rather
than from rmmod, in which case this report should be moved
appropriately.

Version-Release number of selected component (if applicable):
modutils-2.4.2-5

How Reproducible:
appears reasonably reliable, but now known for certain

Steps to Reproduce:
1. manually run "/sbin/rmmod -as" once or twice after using xawtv.

or

2. use xawtv
3. log out and let the system sit for a day or three

Actual Results:
Messages about "bttv0" and "i2c-core.o" being unloaded
and/or unregistered are printed to the console.

Expected Results:
Such messages should be sent via syslog.

Additional Information:

Comment 1 Bill Nottingham 2002-01-25 04:32:52 UTC
They are almost certainly coming from the modules themselves.

Comment 2 Arjan van de Ven 2002-01-25 09:15:01 UTC
Can you paste a message ? if I have the text I can silence it.
(Note that I recommend removing the kmod script completely!)