1 Jan 2012 04:49
Re: loading firmware while usermodehelper disabled.
On 12/30/2011 06:22 PM, Linus Torvalds wrote: > On Fri, Dec 30, 2011 at 3:54 PM, Dave Jones<davej@...> wrote: >> We're getting a bunch of reports against Fedora 16 >> (still using 3.1) which look like some drivers are trying to >> load firmware on resume from suspend, while usermodehelper >> is disabled. > > Ok, buggy drivers. You *must*not* load firmware in your resume path, > since there is no actual guarantee that any particular device will be > resumed after the disk that contains the firmware images. > > So it's very simple: drivers that load firmware at resume time are > buggy. No ifs, buts, or maybes about it. > >> Here are some example traces: >> >> https://bugzilla.redhat.com/show_bug.cgi?id=746411 > > It's isight_firmware_load(), in the isight_firmware driver. The driver > doesn't actually do anything but load the firmware, and is apparently > not very good at that either. > > It should either fake a disconnect and reconnect of the device (and > let the reconnect then load the firmware through udev or something) or > it should just save the firmware image in memory from the original > load, and make the resume just re-initialize it - not load it. > > It's also possible that it could be considered a USB layer bug, and > the USB layer should just not rebind the devices directly in the > resume function, but do it somehow later. HOWEVER, that would only(Continue reading)

RSS Feed