Bug 93 - modprobe doesn't listen -qs
Summary: modprobe doesn't listen -qs
Status: RESOLVED INVALID
Alias: None
Product: Busybox
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: 1.12.x
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-09 13:37 UTC by Oriol
Modified: 2009-02-10 12:53 UTC (History)
2 users (show)

See Also:
Host: 586
Target: 386
Build: 1.12.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oriol 2009-02-09 13:37:03 UTC
Calling the modprobe command with the parameters -q and/or -s (so, quiet or logging to the syslog) doesn't removes the output. In my case, I would need to store the results of this call somehow, and hide it from the standard output. 

By the way, I tried also with "modprobe -sq module > /dev/null 2>/dev/null" without success :(
Comment 1 Denys Vlasenko 2009-02-09 23:39:38 UTC
> Calling the modprobe command with the parameters -q and/or -s ... doesn't removes the output.

What output exactly do you see?

> By the way, I tried also with "modprobe -sq module > /dev/null 2>/dev/null"
without success :(

This means you see kernel messages from the module being loaded and you didn't suppress them by either running klogd or tweaking /proc/sys/kernel/printk.

Modprobe cannot disable these message.

But anyway, which exactly messages do you see? Can you reproduce them verbatim?
Comment 2 Oriol 2009-02-10 12:53:07 UTC
(In reply to comment #1)
> > Calling the modprobe command with the parameters -q and/or -s ... doesn't removes the output.
> 
> What output exactly do you see?
> 
> > By the way, I tried also with "modprobe -sq module > /dev/null 2>/dev/null"
> without success :(
> 
> This means you see kernel messages from the module being loaded and you didn't
> suppress them by either running klogd or tweaking /proc/sys/kernel/printk.
> 
> Modprobe cannot disable these message.
> 
> But anyway, which exactly messages do you see? Can you reproduce them verbatim?
> 

Totally right. The klogd wasn't running as expected, and after solving it is working fine. Sorry for the inconvenience!