Hi Greg, Greg KH wrote: > On Tue, Mar 12, 2013 at 11:45:39AM +0100, Martin Mokrejs wrote: >> Hi, >> while testing how my computer behaves with USB disabled I see this line still >> in dmesg output: >> >> Initializing USB Mass Storage driver... > > Did you build the driver into the kernel? Or is it being automatically > loaded by something? No, it is statically included in the kernel, like ehci and xhci is. For testing I wanted to disable all USB stuff. >> Is there any driver able to use it under 'nousb' situation at all? Shouldn't it >> be prevented from loading as well? This was tested on 3.9-rc1. > > If userspace loads a driver, there's nothing the kernel can do about it > :) > > Is there a problem of it being loaded? Just don't build the module at > all if you don't want it. No, I just wondered why 'nousb' disables on the runtime ehci/xhci (also included statically in the kernbel binary) while not other USB-related modules. Maybe it was thought that no downstream modules will load because of unmet dependencies ... but looks usb-storage can load fine without them. The question is whether there is any module at all capable of using usb-storage while ehci/uhci/xhci are NOT available. I don't have that much a problem with the behavior as it is now. ;) Just FYI that it was a bit unexpected to see it loaded at all. Martin -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html