2007-08-02 15:48:37

by Pavel Machek

[permalink] [raw]
Subject: Re: [linux-pm] Re: Hibernation considerations

Hi!

> > Do we have to block module loading?
>
> No. Registering new drivers is okay, registering new devices is bad.
>
> Of course, some modules do want to register a new device in their init
> method. I don't know what we should do about them. Force the
> registration to fail, I suppose. How often will people suspend while a
> module is loading?

Well... plug this pcmcia card into the slot so that I do not have to
carry it separately, close the lid and go?

...not that impossible to imagine...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


2007-08-03 03:52:47

by David Lang

[permalink] [raw]
Subject: Re: [linux-pm] Re: Hibernation considerations

On Wed, 1 Aug 2007, Pavel Machek wrote:

> Hi!
>
>>> Do we have to block module loading?
>>
>> No. Registering new drivers is okay, registering new devices is bad.
>>
>> Of course, some modules do want to register a new device in their init
>> method. I don't know what we should do about them. Force the
>> registration to fail, I suppose. How often will people suspend while a
>> module is loading?
>
> Well... plug this pcmcia card into the slot so that I do not have to
> carry it separately, close the lid and go?
>
> ...not that impossible to imagine...

I useually leave my broadband card in the slot, but not seated. I wouldn't
bet against it getting pushed in enough to be detected while putting the
laptop in the bag.

David Lang