Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable review

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: Romano Giannetti <romanol@...>, Chris Wright <chrisw@...>, Chuck Ebbert <cebbert@...>, Linux Kernel Mailing List <linux-kernel@...>, <stable@...>, Justin Forbes <jmforbes@...>, Zwane Mwaikambo <zwane@...>, Theodore Ts'o <tytso@...>, Randy Dunlap <rdunlap@...>, Dave Jones <davej@...>, Chuck Wolber <chuckw@...>, Chris Wedgwood <reviews@...>, Michael Krufky <mkrufky@...>, <akpm@...>, <alan@...>, Rafael J. Wysocki <rjw@...>
Date: Thursday, May 24, 2007 - 7:18 pm

Hi!


I'm not ready to redesign udevd :-(.

Your other mail proves that either

1) we can stop freezing udevd, and pray udevd does not become confused
by "half hardware not available" while system is being suspended

_or_

2) we need to preload firmware during _suspend_. I AM TELLING THAT TO
PEOPLE FOR FIVE YEARS NOW.


Imageine we killed freezer. Also imagine Romano has IDE card his
PCMCIA slot. Kaboom, we solved nothing. We'll either deadlock or do
something very nasty to the filesystem on the IDE card ... because
we'll have udevd running, but fs on IDE card not available.

That does not work. "Not freezing udevd" only makes problems hard to
trigger, see?

Now... "should we rip freezer out of suspend" is a different story. It
does not help _here_. We still need to load the firmware during
_suspend_.

[Can you ack this point and we can have nice flamewar about ripping
out freezer?]

But I'd actually like to get rid of freezer for suspend (I believe
it is needed for hibernation) -- we'll need to do similar that for
runtime suspending of devices, anyway. But "just rip it out" will
cause some hard to debug breakage, we need to somehow audit the
drivers, or ask driver writers to audit them or something. ... and
yes, ripping freezer out _will_ make drivers more complex. Your video
capture card will now have to deal with

"ouch, I was already told to suspend, and now someone is calling my
ioctls() ?!".
								
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 00/69] -stable review, Linus Torvalds, (Tue May 22, 6:07 pm)
Re: [patch 00/69] -stable review, Romano Giannetti, (Thu May 24, 8:06 am)
Re: [patch 00/69] -stable review, Linus Torvalds, (Thu May 24, 12:16 pm)
Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable ..., Rafael J. Wysocki, (Thu May 24, 5:03 pm)
Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable ..., Henrique de Moraes Holschuh..., (Thu May 24, 7:16 pm)
Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable ..., Rafael J. Wysocki, (Fri May 25, 7:44 am)
Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable ..., Rafael J. Wysocki, (Sun May 27, 2:32 pm)
Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable ..., Rafael J. Wysocki, (Mon May 28, 4:11 am)
Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable ..., Rafael J. Wysocki, (Sun May 27, 3:09 pm)
Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable ..., Pavel Machek, (Thu May 24, 7:18 pm)
Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable ..., Rafael J. Wysocki, (Tue May 29, 8:00 am)
Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable ..., Michael-Luke Jones, (Tue May 29, 8:00 am)
Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable ..., Rafael J. Wysocki, (Tue May 29, 8:16 am)
Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable ..., Nigel Cunningham, (Thu May 24, 10:20 pm)
Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable ..., Nigel Cunningham, (Thu May 24, 11:00 pm)
Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable ..., Nigel Cunningham, (Fri May 25, 12:33 am)
Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable ..., Rafael J. Wysocki, (Wed May 30, 10:04 am)
Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable ..., Rafael J. Wysocki, (Wed May 30, 10:08 am)
Long delay in resume from RAM (Was Re: [patch 00/69] -stable..., Romano Giannetti, (Thu May 24, 11:06 am)
Re: Long delay in resume from RAM (Was Re: [patch 00/69] -st..., Johannes Stezenbach, (Thu May 24, 6:30 pm)
Re: [patch 00/69] -stable review, Romano Giannetti, (Wed May 23, 3:09 am)
Re: [patch 00/69] -stable review, Paolo Ornati, (Wed May 23, 3:19 am)
Re: [patch 00/69] -stable review, Romano Giannetti, (Wed May 23, 3:38 am)