Help identifying kernel-specific resume issues

Leann Ogasawara leann.ogasawara at canonical.com
Thu Feb 19 22:49:49 UTC 2009


On Thu, 2009-02-19 at 11:01 +0000, TJ wrote:
> Hi Leann.

Hi TJ,

> I wonder if you could help me identify kernel bug reports that might be
> the result of a specific resume scenario I've discovered:
> "request_firmware() fails on resume from suspend"
> 
> https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/331415
> 
> Maybe there is already a suitable tag I can use to locate reports, or
> maybe an additional tag might be useful?

I've been trying to tag bugs with "suspend", "resume", and/or
"hibernate" to help quickly identify bugs which suffer from these
issues.  For example, I'll tag a bug with just "suspend" [1] if it's the
actual suspend process that fails.  Or, if it's the resume from suspend
that fails it's tagged both "suspend" and "resume" [2].  apport is also
using these tags when automatically reporting suspend/resume failures.

[snip]
> After identifying the cause and successfully using an asynchronous
> alternative for loading firmware in one driver I did a simple grep and
> found over 100 other potential sites where the issue might also be
> triggered. I'd need to analyse each one to discover exactly how many are
> genuine trigger sites.
> 
> It occurs to me that many issues reported as 'failure to resume' might
> well have the same root cause in other drivers and it would be useful to
> try to identify them in launchpad.

The bugs tagged "suspend" and "resume" [2] might give a broad starting
point for identifying bugs to examine.  If there is a specific string we
can search for in dmesg output included to a bug report we could also
likely write a launchpadlib [3] script to help identify this issue.  We
could also try to use launchpadlib to search the hwdb for hardware
profiles with affected drivers (you mentioned there were over 100
drivers that could be affected).  However, I don't believe the
functionality is implemented which links a hw profile to a bug report,
but there may be a way to work around it.  I'd be happy to help write
the launchpadlib scripts if the bugs tagged "suspend" and "resume" are
not useful for this case.  Just let me know.

Thanks,
Leann

[1] https://bugs.edge.launchpad.net/ubuntu/+bugs?field.tag=suspend+resume&field.tags_combinator=ALL 
[2] https://bugs.edge.launchpad.net/ubuntu/+bugs?field.tag=suspend&field.tags_combinator=ALL
[3] https://help.launchpad.net/API/launchpadlib






More information about the kernel-team mailing list