<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div class="" style=""><span class="" style="">Hi, </span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><span class="" style="">Thanks for the answer. Still cannot understand:</span></div><div style="background-color: transparent;" class=""><br class="" style=""></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="">-bash-4.1# uname -r</div><div style="background-color: transparent;"
class=""><span class="" style=""></span></div><div style="background-color: transparent;" class="">3.10.14-100.146887.clp6.x86_64</div><div class="" style=""><br class="" style=""></div><div class="" style=""><div class="" style="">-bash-4.1# modinfo usb-storage.ko </div><div class="" style="">filename: usb-storage.ko</div><div class="" style="">license: GPL</div><div class="" style="">description: USB Mass Storage driver for Linux</div><div class="" style="">author: Matthew Dharm <mdharm-usb@one-eyed-alien.net></div><div class="" style="">alias: usb:v*p*d*dc*dsc*dp*ic08isc06ip50in*</div><div class="" style="">... lots of aliases ...</div><div class="" style=""><div class="" style="">alias: usb:v03EBp2002d0100dc*dsc*dp*ic*isc*ip*in*</div><div class="" style="">depends:
</div><div class="" style="">intree: Y</div><div class="" style="">vermagic: 3.10.14-100.146887.clp6.x86_64 SMP mod_unload </div><div class="" style="">parm: option_zero_cd:ZeroCD mode (1=Force Modem (default), 2=Allow CD-Rom (uint)</div><div class="" style="">parm: swi_tru_install:TRU-Install mode (1=Full Logic (def), 2=Force CD-Rom, 3=Force Modem) (uint)</div><div class="" style="">parm: delay_use:seconds to delay before using a new device (uint)</div><div class="" style="">parm: quirks:supplemental list of device IDs and their quirks (string)</div><div class="" style=""><br class="" style=""></div><div class="" style=""><br></div><div class="" style="">As shown above both have the same Version - they were built together on the same system. If I
unload and load back the usb-storage the (F) disappears. After re-boot the (F) is back.</div></div><div class="" style=""><br class="" style=""></div><div class="" style="">Any idea why </div><div class="" style=""><br></div><div class="" style="">Thanks.</div></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;" class=""> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;" class=""> <div dir="ltr" class="" style=""> <font size="2" face="Arial" class="" style=""> On Thursday, August 28, 2014 7:53 AM, "Valdis.Kletnieks@vt.edu" <Valdis.Kletnieks@vt.edu> wrote:<br class="" style=""> </font> </div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px;
padding-left: 5px;" class=""> <br class="" style=""><br class="" style=""> <div class="" style="">On Wed, 27 Aug 2014 16:55:23 -0700, StephanT said:<div class="" id="yqtfd02282" style=""><br clear="none" class="" style=""><br clear="none" class="" style="">> Just want to know why in /proc/modules some of the modules are marked (F). Li<br clear="none" class="" style="">ke:<br clear="none" class="" style="">><br clear="none" class="" style="">> usb_storage 56610 0 - Live 0xffffffffa005d000 (F)</div><br clear="none" class="" style=""><br clear="none" class="" style="">kernel/modules.c has a function module_flags_taint():<br clear="none" class="" style=""><br clear="none" class="" style="">static size_t module_flags_taint(struct module *mod, char *buf)<br clear="none" class="" style="">{<br clear="none" class="" style=""> size_t l = 0;<br clear="none" class="" style=""><br clear="none" class="" style="">
if (mod->taints & (1 << TAINT_PROPRIETARY_MODULE))<br clear="none" class="" style=""> buf[l++] = 'P';<br clear="none" class="" style=""> if (mod->taints & (1 << TAINT_OOT_MODULE))<br clear="none" class="" style=""> buf[l++] = 'O';<br clear="none" class="" style=""> if (mod->taints & (1 << TAINT_FORCED_MODULE))<br clear="none" class="" style=""> buf[l++] = 'F';<br clear="none" class="" style=""> if (mod->taints & (1 << TAINT_CRAP))<br clear="none" class="" style=""> buf[l++] = 'C';<br clear="none" class="" style=""> if (mod->taints & (1 <<
TAINT_UNSIGNED_MODULE))<br clear="none" class="" style=""> buf[l++] = 'E';<br clear="none" class="" style=""> /*<br clear="none" class="" style=""> * TAINT_FORCED_RMMOD: could be added.<br clear="none" class="" style=""> * TAINT_CPU_OUT_OF_SPEC, TAINT_MACHINE_CHECK, TAINT_BAD_PAGE don't<br clear="none" class="" style=""> * apply to modules.<br clear="none" class="" style=""> */<br clear="none" class="" style=""> return l;<br clear="none" class="" style="">}<br clear="none" class="" style=""><br clear="none" class="" style="">Somebody 'modprobe -f' that module into the kernel, and it may or may not<br clear="none" class="" style="">actually work properly because it wasn't compiled against the kernel that<br clear="none" class=""
style="">is running. Hilarity can result if it's using a different definition for<br clear="none" class="" style="">some random 'struct foo' than the rest of the kernel...<div class="" id="yqtfd58514" style=""><br clear="none" class="" style=""></div><br class="" style=""><br class="" style=""></div> </blockquote> </div> </div> </div> </div></body></html>