You are not logged in.

#1 2008-10-16 16:50:23

NobeyamaGP
Member
Registered: 2008-10-16
Posts: 39

Thinkpad Hibernate issue with 2.6.27

I updated to the new kernel a few days ago on my Thinkpad T41 and now my laptop doesn't always resume from hibernation. I noticed that once I updated, it now turns on my Bluetooth radio by default whenever I boot. Always before I would have to turn it on manually which doesn't bother me, but I think now my laptop is locking up when trying to turn it back on when I resume from hibernate. Does anyone know anyway to fix this? I would even be up for turning off the bluetooth on bootup. Thanks.

Offline

#2 2008-10-16 17:02:55

NobeyamaGP
Member
Registered: 2008-10-16
Posts: 39

Re: Thinkpad Hibernate issue with 2.6.27

A small update:

It seems the hibernation issue is NOT due to the bluetooth radio. I turned the radio off, put the laptop into hibernation, and it still locked up when trying to resume.

Offline

#3 2008-10-16 18:40:04

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Thinkpad Hibernate issue with 2.6.27

What hibernation method are you using?


Arch - It's something refreshing

Offline

#4 2008-10-16 20:14:57

NobeyamaGP
Member
Registered: 2008-10-16
Posts: 39

Re: Thinkpad Hibernate issue with 2.6.27

It's the acpi standard hibernation through KDE's laptop program. I have it setup to save to disk in my swap partition.

Offline

#5 2008-10-16 20:37:32

NobeyamaGP
Member
Registered: 2008-10-16
Posts: 39

Re: Thinkpad Hibernate issue with 2.6.27

I just got a proper resume from hibernation and compared the kernel log from this time and the ones that failed and I noticed the following code is present when the resume fials and absent when it succeeds:

Oct 16 15:54:59 Kaorin system 00:00: iomem range 0x0-0x9ffff could not be reserved
Oct 16 15:54:59 Kaorin system 00:00: iomem range 0xc0000-0xc3fff could not be reserved
Oct 16 15:54:59 Kaorin system 00:00: iomem range 0xc4000-0xc7fff could not be reserved
Oct 16 15:54:59 Kaorin system 00:00: iomem range 0xc8000-0xcbfff could not be reserved
Oct 16 15:54:59 Kaorin system 00:00: iomem range 0xcc000-0xcffff could not be reserved
Oct 16 15:54:59 Kaorin system 00:00: iomem range 0xd0000-0xd3fff could not be reserved
Oct 16 15:54:59 Kaorin system 00:00: iomem range 0xdc000-0xdffff could not be reserved
Oct 16 15:54:59 Kaorin system 00:00: iomem range 0xe0000-0xe3fff could not be reserved
Oct 16 15:54:59 Kaorin system 00:00: iomem range 0xe4000-0xe7fff could not be reserved
Oct 16 15:54:59 Kaorin system 00:00: iomem range 0xe8000-0xebfff could not be reserved
Oct 16 15:54:59 Kaorin system 00:00: iomem range 0xec000-0xeffff could not be reserved
Oct 16 15:54:59 Kaorin system 00:00: iomem range 0xf0000-0xfffff could not be reserved
Oct 16 15:54:59 Kaorin system 00:00: iomem range 0x100000-0x3fffffff could not be reserved
Oct 16 15:54:59 Kaorin system 00:00: iomem range 0xfec00000-0xffffffff could not be reserved
Oct 16 15:54:59 Kaorin system 00:02: ioport range 0x1000-0x107f has been reserved
Oct 16 15:54:59 Kaorin system 00:02: ioport range 0x1180-0x11bf has been reserved
Oct 16 15:54:59 Kaorin system 00:02: ioport range 0x15e0-0x15ef has been reserved
Oct 16 15:54:59 Kaorin system 00:02: ioport range 0x1600-0x167f has been reserved

Offline

#6 2008-10-17 10:30:26

sfabius
Member
Registered: 2007-07-07
Posts: 153

Re: Thinkpad Hibernate issue with 2.6.27

How did you get bluetooth off? I have the same thing with my T42, and I don't want it on since it uses power.

Offline

#7 2008-10-17 14:28:30

NobeyamaGP
Member
Registered: 2008-10-16
Posts: 39

Re: Thinkpad Hibernate issue with 2.6.27

I wrote a script to do it, but the simplest way is simply(as root):

echo disable > /proc/acpi/ibm/bluetooth

and of course to enable it again, you echo enable instead of disable.

Offline

#8 2008-10-18 16:00:21

NobeyamaGP
Member
Registered: 2008-10-16
Posts: 39

Re: Thinkpad Hibernate issue with 2.6.27

whargoul wrote:

What hibernation method are you using?

Sorry, I finally realized what you are trying to get at. I'm using pm-utils from the extra repo. Also, I noticed when it tries to resume, the CAPS LOCK light starts flashing which according to the HAL Quirk site linked to from the pm-utils wiki is an indication that the kernel is panicing on resume. Hope this helps and sorry about the confusion.

Last edited by NobeyamaGP (2008-10-18 16:00:53)

Offline

#9 2008-10-18 18:45:53

sfabius
Member
Registered: 2007-07-07
Posts: 153

Re: Thinkpad Hibernate issue with 2.6.27

Thanks NobeyamaGP, my bluetooth is off now.

Offline

#10 2008-10-18 21:38:17

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Thinkpad Hibernate issue with 2.6.27

NobeyamaGP wrote:
whargoul wrote:

What hibernation method are you using?

Sorry, I finally realized what you are trying to get at. I'm using pm-utils from the extra repo. Also, I noticed when it tries to resume, the CAPS LOCK light starts flashing which according to the HAL Quirk site linked to from the pm-utils wiki is an indication that the kernel is panicing on resume. Hope this helps and sorry about the confusion.

Okay. Before kernel 2.6.27, I had trouble suspending and do resume with the pm-utils, but TuxOnIce and uswsusp worked alright. I have also noticed that the hibernate-script worked flawlessly, while other methods had some trouble (black screen etc.).

You can find uswsusp on AUR and the TuxOnIce patch exist in the kernel26zen-git which alsocan be found on AUR. And I can highly recommend kernel26zen-git for Thinkpads.


Arch - It's something refreshing

Offline

#11 2008-10-19 02:41:53

NobeyamaGP
Member
Registered: 2008-10-16
Posts: 39

Re: Thinkpad Hibernate issue with 2.6.27

whargoul wrote:
NobeyamaGP wrote:
whargoul wrote:

What hibernation method are you using?

Sorry, I finally realized what you are trying to get at. I'm using pm-utils from the extra repo. Also, I noticed when it tries to resume, the CAPS LOCK light starts flashing which according to the HAL Quirk site linked to from the pm-utils wiki is an indication that the kernel is panicing on resume. Hope this helps and sorry about the confusion.

Okay. Before kernel 2.6.27, I had trouble suspending and do resume with the pm-utils, but TuxOnIce and uswsusp worked alright. I have also noticed that the hibernate-script worked flawlessly, while other methods had some trouble (black screen etc.).

You can find uswsusp on AUR and the TuxOnIce patch exist in the kernel26zen-git which alsocan be found on AUR. And I can highly recommend kernel26zen-git for Thinkpads.

Thanks for the input! I got uswsusp and the hibernate script up and running, but I was still having the same problem as before. I then discovered that if I unloaded the ehci_hcd module before hand, the resume would succeed. I added this module to the common.conf file in /etc/hibernate/ folder and now it works great and even faster than before! Thanks again.

Offline

#12 2008-10-19 03:00:42

NobeyamaGP
Member
Registered: 2008-10-16
Posts: 39

Re: Thinkpad Hibernate issue with 2.6.27

sfabius wrote:

Thanks NobeyamaGP, my bluetooth is off now.

Also, if you want it to turn off at boot, you can add that line to your rc.local file. This isn't the best solution since bluetooth turns on earlier in the boot process and then later is turned off by rc.local, but at least you don't have to issue the command every time you login.

Offline

#13 2008-10-19 03:47:41

NobeyamaGP
Member
Registered: 2008-10-16
Posts: 39

Re: Thinkpad Hibernate issue with 2.6.27

whargoul wrote:
NobeyamaGP wrote:
whargoul wrote:

What hibernation method are you using?

Sorry, I finally realized what you are trying to get at. I'm using pm-utils from the extra repo. Also, I noticed when it tries to resume, the CAPS LOCK light starts flashing which according to the HAL Quirk site linked to from the pm-utils wiki is an indication that the kernel is panicing on resume. Hope this helps and sorry about the confusion.

Okay. Before kernel 2.6.27, I had trouble suspending and do resume with the pm-utils, but TuxOnIce and uswsusp worked alright. I have also noticed that the hibernate-script worked flawlessly, while other methods had some trouble (black screen etc.).

You can find uswsusp on AUR and the TuxOnIce patch exist in the kernel26zen-git which alsocan be found on AUR. And I can highly recommend kernel26zen-git for Thinkpads.

Seems I spoke too soon. Picked it up a few minutes later, same behavior and same errors as before. Now I'm seriously confused.

Offline

#14 2008-10-19 05:01:11

NobeyamaGP
Member
Registered: 2008-10-16
Posts: 39

Re: Thinkpad Hibernate issue with 2.6.27

It's working again. Not really sure what I did, I just re-commented out an option in /etc/hibernate/common.conf under "tweaks" about IBM ACPI. Seems to be working for now at least. Time will tell if it is really working properly.

Offline

#15 2008-10-20 03:01:54

NobeyamaGP
Member
Registered: 2008-10-16
Posts: 39

Re: Thinkpad Hibernate issue with 2.6.27

I really, don't know what to say. It works for 6-10 times and then won't work at all. Then I fool with it for a while and get it to work and the cycle repeats. I'm all out of ideas.

Last edited by NobeyamaGP (2008-10-20 03:03:04)

Offline

#16 2008-10-20 18:19:11

NobeyamaGP
Member
Registered: 2008-10-16
Posts: 39

Re: Thinkpad Hibernate issue with 2.6.27

Still broken with 2.6.27.1 update.

Offline

#17 2008-10-25 02:45:51

NobeyamaGP
Member
Registered: 2008-10-16
Posts: 39

Re: Thinkpad Hibernate issue with 2.6.27

Still haven't figured out how to fix this, but Suspend to Ram seems to work ok so I'll probably just make do with that for now.

Offline

Board footer

Powered by FluxBB