uevent / call_usermoderrelated breakage on suspend to disk [Was: Re: PCMCIA-related breakage on suspend to disk]

Pavel Machek pavel at ucw.cz
Mon Jan 9 09:15:08 EST 2006


Hi!

> > > What to do?
> > > a) fix send_uevent or call_usermodehelper to not lock up in the
> > > 	resume-when-suspending-to-disk-path
> > > b) make device_add fail if in
> > > 	resume-when-suspending-to-disk-path
> > > c) disable device-adding in drivers/pcmcia/cs.c:socket_resume() if in
> > > 	resume-when-suspending-to-disk-path
> > 
> > I think that (c) is the best approach. If it can happen in the subsystems,
> > that's great, though perhaps there is core infrastructure that must be in
> > place for it to work in general..
> 
> Unfortunately, the PCMCIA subsystem doesn't know enough -- AFAICS there is
> no system-wide flag which yells "we're just waking up to store the image to
> disk, don't worry!" -- which is exactly which we'd need here...

If you really want that flag, tell me, and I'll add it to
pm_messag_t. I just wanted to avoid adding flag noone would use.

								Pavel

-- 
Thanks, Sharp!



More information about the linux-pcmcia mailing list