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

Re: Regression in sleep code for PowerBook5,2



On 23/08/06, Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
On Mon, 2006-08-21 at 01:43 +0300, Eddy Petrişor wrote:
> Hello,
>
> I have started to experinence lock-ups since the upgrade to the latest
> official Debian Sid kernel for powerpc:
>
> eddy@merci ~ $ LANG=C apt-cache policy linux-image-2.6.17-2-powerpc
> linux-image-2.6.17-2-powerpc:
>   Installed: 2.6.17-6
>   Candidate: 2.6.17-6
>   Version table:
>  *** 2.6.17-6 0
>         900 http://ftp.ro.debian.org unstable/main Packages
>         100 /var/lib/dpkg/status
>
> The lock-ups appear at different times, but I have seen it at the time
> the battery finished and sleep was supposed to be entered to save
> work, I have seen it after trying to close the lid. This did not
> happen with the previous package version which was present in Sid.
>
> Any help would be appreciated.

I don't know what's going on, as I'm not experiencing that. It should
witch to console mode before doing anything though. If it's not doing
so, it could be that X is the one dying on the console switch... Can you
test if:

 - console switches between X and console are reliable

How do I test this? In normal conditions, switching consoles is not a
problem, or  I haven't observed anything. I was able to reproduce the
lock yesteday by booting, putting the laptop imediately to sleep,
working/browsing/chatting in X, then (suspecting the locking will
appear) closed all apps, tryied to put the laptop to sleep (short
pressing the power button) and the X session blocked.

I couldn't swicth to any other console or do anything at that point.

Does the new kernel needs udev >=0.097-1? I was reluctant to upgrade
to it and stayed at 0.094-? (previous Sid package) because
bluez-bcm203x depends on hotplug, which was provided by the old
version, but not by the new one.

 - sleep from console mode (no X) is reliable
I will try that now, after sending this mail (although edited in X, I
will switch to a console and try to put the laptop to sleep from
there).

Thanks.

--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein

Reply to: