FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 02-19-2009, 10:01 AM
TJ
 
Default Help identifying kernel-specific resume issues

Hi Leann.

(copying to kernel team)

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?

The scenario is that upon resume from suspend the PC will appear to have
locked up for 60 seconds before the screen has resumed. In this time
there will be no sign of hard-disk activity and the user might well
assume the system has locked up and restart the PC.

In fact, in this specific scenario, the kernel is caught in a deadlock
waiting for userspace to provide a firmware image whilst userspace
processes are still frozen.

As a result the system waits for 60 seconds (the default time-out)
before continuing.

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.

Thanks,

TJ.


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 02-19-2009, 09:49 PM
Leann Ogasawara
 
Default Help identifying kernel-specific resume issues

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_combinat or=ALL
[2] https://bugs.edge.launchpad.net/ubuntu/+bugs?field.tag=suspend&field.tags_combinator=ALL
[3] https://help.launchpad.net/API/launchpadlib



--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 04:59 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org