[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: boot freeze when wifi is not in the same state than before hibernation



On Mon, 10 Sep 2012 17:00:28 +0200, Morel Bérenger wrote:

> Le Lun 10 septembre 2012 16:46, Camaleón a écrit :

>>> I do not really see how to use command-line before the moment I have
>>> wrote #pm-hibernate and the moment where my computer reboot? Except
>>> the physical switch, I have no way to control the wifi between those
>>> moments.
>>
>> Is the computer not accesible via ssh, I mean, from another system? You
>> can connect an ethernet cable and try to access from there. Once in,
>> you can run the commands to engage the wireless card (by means of
>> "rfkill unblock <wifi>").
>>
>>> I am looking for the suspend_modules options, but I am not really
>>> comfortable with modules... they are a part of linux I did not had
>>> enough time to dig, actually (as for all kernel stuff, video
>>> configuration, and sysVinit scripts, I have some fear to go too deep)
>>
>> You don't have to do anything special other that telling "pm-suspend"
>> to unload the wireless kernel module when going to sleep :-)
>>
> I do not think it is possible to access a computer which is in
> hibernation state? I use pm-hibernate, not pm-suspend, so the computer 
is really shutdown.

But you already exited form hibernation, right? That's what triggers the 
problem (freeze) with the wireless adapter. On the other hand, this way 
you can test if the whole system is frozen (kernel soft lock) or is just 
the X server that fails to restore.

> More interesting is the fact that when I connect to that computer, I
> more often use the wi-fi itself ;) I do not have enough ethernet cables
> at home so...

It's just for testing purposes, nothing you will have to do on every day 
basis :-)

> For the module thing, the only information I have found in the man is
> the name of the variable (which you gave me anyway), nothing about file
> syntax (and, of course, no sample is present) so I think I'll dig when
> I'll be at home. I'll need some time to have my brain upgrade correctly
> :) Sometimes I do not like man pages...

There's not much magic behind it: you have a variable that you need to 
fill with the name of the kernel module you want to be "unloaded" before 
suspending the system, no more and no less.

Greetings,

-- 
Camaleón


Reply to: