Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760297AbXEYJUE (ORCPT ); Fri, 25 May 2007 05:20:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758272AbXEYJTz (ORCPT ); Fri, 25 May 2007 05:19:55 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:53907 "EHLO amd.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752321AbXEYJTy (ORCPT ); Fri, 25 May 2007 05:19:54 -0400 Date: Fri, 25 May 2007 11:19:30 +0200 From: Pavel Machek To: Linus Torvalds Cc: Romano Giannetti , Chris Wright , Chuck Ebbert , Linux Kernel Mailing List , stable@kernel.org, Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, "Rafael J. Wysocki" Subject: Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable review Message-ID: <20070525091930.GI9604@elf.ucw.cz> References: <1180008394.15600.26.camel@localhost> <20070524200435.GA9604@elf.ucw.cz> <20070524220017.GC9604@elf.ucw.cz> <20070524221743.GD9604@elf.ucw.cz> <20070524231852.GG9604@elf.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.11+cvs20060126 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1715 Lines: 42 Hi! > > 2) we need to preload firmware during _suspend_. I AM TELLING THAT TO > > PEOPLE FOR FIVE YEARS NOW. > > And people aren't listening. Have you thought about _why_? > > The thing is, it should just work. Even without pre-loading. But it does not work, and as you demonstrated, getting it to work w/o preloading is awful lot of work. Feel free to send a patch. Unless you are ready to do that, stop confusing driver authors. > > Imageine we killed freezer. Also imagine Romano has IDE card his > > PCMCIA slot. Kaboom, we solved nothing. > > Don't be silly. We solved it. The firmware has to be loadable from > somewhere else, since otherwise his IDE card wouldn't have been accessible > in the first place! Firmware loader is complex userspace process. That's not silly. It is userland, and I'd hate to explain to its authors detailed rules. It could do 'find / -name "pcmcia-card-firmware"' for example. It could do dbus message to tell gnome-graphical-crap to display window to say that it is loading firmware. Maybe it also writes to syslog when syslogd is available. It is userland process, so it is allowed to do stupid stuff. [If you do not agree, please try to write up "Doc*/what-firmware-loader-must-do.txt" -- at that point you should realize how ugly the solution you are suggesting is.] Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/