[ltp] Fedora 11, resume unreliable on X40

Karlos Lawrence linux-thinkpad@linux-thinkpad.org
Fri, 24 Jul 2009 08:06:56 +0200


--001485f1d912552736046f6d6908
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

I don't remember beginning of this conversation, but did you try this?
http://www.thinkwiki.org/wiki/Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_Thinkpad_T400#Suspend.2FHibernate

Karlos

2009/7/24 Christos Papadopoulos <christos@cs.colostate.edu>

> Thanks for the pointer, but this did not work for me.  I may have a
> different problem, however. In my case the laptop comes back, but with
> a very dark display. Sometimes I can see the faint prompt and can type
> commands, meaning the OS is alive. The laptop will also suspend and
> resume again, but the dark screen persists.
>
> Seems like a problem with the display intensity, or the display not
> being turned back on.
>
> Christos.
>
>
> On Wed, Jul 22, 2009 at 11:21:22AM +0200, Matthias Runge wrote:
> > Suspend/resume is a known bug on Fedora 11. This seems to be kernel
> > related.
> > Fedora Wiki has a workaround.
> > https://fedoraproject.org/wiki/Common_F11_bugs#suspend-oops
> >
> > Matthias
> >
> > On 30/06/09 22:29, Christos Papadopoulos wrote:
> > >I think we now have success.
> > >
> > >In case anyone is still reading, yet another followup to my own
> > >comment.  Disabling hi-res timers by adding highres=off to grub.conf
> > >seems to fix the problem. I have gone through several successful
> > >suspend/resume cycles, certainly more than any other time before the
> > >change. (Thinkpad X40 with Intel graphics card)
> > >
> > >Christos.
> > >
> > >On Sat, Jun 27, 2009 at 06:01:39AM -0600, Christos Papadopoulos wrote:
> > >>Well, I spoke too soon. While resume works, it is not reliable.
> > >>The machine crashes every third time or so coming back from resume.
> > >>
> > >>The message Fedora wants to report is below.
> > >>
> > >>Any suggestions anyone?
> > >>
> > >>Christos.
> > >>
> > >>
> > >>Kernel failure message 1:
> > >>------------[ cut here ]------------
> > >>WARNING: at kernel/hrtimer.c:625 hres_timers_resume+0x34/0x4a() (Not
> > >>tainted)
> > >>Hardware name: 2382RFU
> > >>hres_timers_resume() called with IRQs enabled!Modules linked in:
> > >>michael_mic arc4 ecb lib80211_crypt_tkip aes_i586 aes_generic
> > >>lib80211_crypt_ccmp fuse rfcomm bridge stp llc bnep sco l2cap sunrpc
> > >>ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6
> > >>cpufreq_ondemand acpi_cpufreq dm_multipath uinput snd_intel8x0
> > >>snd_intel8x0m snd_ac97_codec ac97_bus snd_pcm iTCO_wdt ipw2200
> > >>thinkpad_acpi sdhci_pci iTCO_vendor_support snd_timer yenta_socket
> sdhci
> > >>snd i2c_i801 libipw rsrc_nonstatic hwmon lib80211 btusb bluetooth e1000
> > >>mmc_core joydev soundcore snd_page_alloc nsc_ircc irda crc_ccitt pcspkr
> > >>ata_generic pata_acpi i915 drm i2c_algo_bit i2c_core video output [last
> > >>unloaded: microcode]
> > >>Pid: 3761, comm: pm-suspend Not tainted 2.6.29.5-191.fc11.i586 #1
> > >>Call Trace:
> > >>[<c042ebc6>] warn_slowpath+0x7c/0xa4
> > >>[<c0443042>] ? ktime_get_ts+0x4f/0x53
> > >>[<c0414063>] ? lapic_next_event+0x18/0x1c
> > >>[<c0448cd3>] ? clockevents_program_event+0xe6/0xf5
> > >>[<c0449b5d>] ? tick_dev_program_event+0x47/0xb4
> > >>[<c0449c2a>] ? tick_program_event+0x26/0x2e
> > >>[<c044917d>] ? tick_notify+0x2e5/0x2f4
> > >>[<c0709b07>] ? notifier_call_chain+0x26/0x48
> > >>[<c04429a2>] hres_timers_resume+0x34/0x4a
> > >>[<c0446d39>] timekeeping_resume+0x130/0x137
> > >>[<c05ddad5>] __sysdev_resume+0x19/0x3d
> > >>[<c05ddb1f>] sysdev_resume+0x26/0x59
> > >>[<c04518c9>] suspend_devices_and_enter+0x112/0x186
> > >>[<c0451aa0>] enter_state+0x13c/0x197
> > >>[<c0451b94>] state_store+0x99/0xae
> > >>[<c0451afb>] ? state_store+0x0/0xae
> > >>[<c055a9f5>] kobj_attr_store+0x16/0x22
> > >>[<c04de44e>] sysfs_write_file+0xca/0xf5
> > >>[<c04de384>] ? sysfs_write_file+0x0/0xf5
> > >>[<c04a09a0>] vfs_write+0x95/0xf4
> > >>[<c04a0abb>] sys_write+0x4c/0x70
> > >>[<c0403f72>] syscall_call+0x7/0xb
> > >>---[ end trace 9f6d2b8ff1500853 ]---
> > >>
> > >>
> > >>Kernel failure message 2:
> > >>BUG: sleeping function called from invalid context at
> > >>kernel/workqueue.c:440
> > >>in_atomic(): 0, irqs_disabled(): 1, pid: 3761, name: pm-suspend
> > >>Pid: 3761, comm: pm-suspend Not tainted 2.6.29.5-191.fc11.i586 #1
> > >>Call Trace:
> > >>
> > >>
> > >>
> > >>On Tue, Jun 23, 2009 at 02:34:30PM -0600, Christos Papadopoulos wrote:
> > >>>Following up to my own post: the solution was to disable modesetting
> in
> > >>>the kernel.
> > >>>
> > >>>In /boot/grub/grub.conf:
> > >>>
> > >>>kernel /vmlinuz-2.6.29.4-167.fc11.i586 ro
> root=/dev/VolGroup00/LogVol00
> > >>>rhgb quiet hpet=force nomodeset
> > >>>
> > >>>BTW, the sd slot works fine on my X40. Looks like F11 might be usable
> > >>>for me after all.
> > >>>
> > >>>Christos.
> > >>>
> > >>>On Tue, Jun 23, 2009 at 09:07:21AM -0600, Christos Papadopoulos wrote:
> > >>>>Well, I should have checked before upgrading to Fedora 11.  Fedora 10
> > >>>>worked so well on my X40 that created a false sense of reliability.
> > >>>>
> > >>>>As it stands now, resume leaves me with a blank screen, and
> apparently
> > >>>>the external VGA and SD slots are not working properly (according to
> > >>>>thinkwiki).
> > >>>>
> > >>>>Before I begin the long process of debugging, does anyone have any
> > >>>>pointers? suspend/resume is critical for me.
> > >>>>
> > >>>>Christos.
> > >>>>--
> > >>>>The linux-thinkpad mailing list home page is at:
> > >>>>
> http://mailman.linux-thinkpad.org/mailman/listinfothinkpad/linux-thinkpad<http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad>
> > >>>--
> > >>>The linux-thinkpad mailing list home page is at:
> > >>>http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
> > >>--
> > >>The linux-thinkpad mailing list home page is at:
> > >>http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
> >
> > --
> > The linux-thinkpad mailing list home page is at:
> > http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>

--001485f1d912552736046f6d6908
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I don&#39;t remember beginning of this conversation, but did you try this?<=
br><a href=3D"http://www.thinkwiki.org/wiki/Install_Ubuntu_8.10_(Intrepid_I=
bex)_on_a_Thinkpad_T400#Suspend.2FHibernate">http://www.thinkwiki.org/wiki/=
Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_Thinkpad_T400#Suspend.2FHibernate<=
/a><br>
<br>Karlos<br><br><div class=3D"gmail_quote">2009/7/24 Christos Papadopoulo=
s <span dir=3D"ltr">&lt;<a href=3D"mailto:christos@cs.colostate.edu">christ=
os@cs.colostate.edu</a>&gt;</span><br><blockquote class=3D"gmail_quote" sty=
le=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex;=
 padding-left: 1ex;">
Thanks for the pointer, but this did not work for me. =A0I may have a<br>
different problem, however. In my case the laptop comes back, but with<br>
a very dark display. Sometimes I can see the faint prompt and can type<br>
commands, meaning the OS is alive. The laptop will also suspend and<br>
resume again, but the dark screen persists.<br>
<br>
Seems like a problem with the display intensity, or the display not<br>
being turned back on.<br>
<br>
Christos.<br>
<br>
<br>
On Wed, Jul 22, 2009 at 11:21:22AM +0200, Matthias Runge wrote:<br>
&gt; Suspend/resume is a known bug on Fedora 11. This seems to be kernel<br=
>
&gt; related.<br>
&gt; Fedora Wiki has a workaround.<br>
&gt; <a href=3D"https://fedoraproject.org/wiki/Common_F11_bugs#suspend-oops=
" target=3D"_blank">https://fedoraproject.org/wiki/Common_F11_bugs#suspend-=
oops</a><br>
&gt;<br>
&gt; Matthias<br>
&gt;<br>
&gt; On 30/06/09 22:29, Christos Papadopoulos wrote:<br>
&gt; &gt;I think we now have success.<br>
&gt; &gt;<br>
&gt; &gt;In case anyone is still reading, yet another followup to my own<br=
>
&gt; &gt;comment. =A0Disabling hi-res timers by adding highres=3Doff to gru=
b.conf<br>
&gt; &gt;seems to fix the problem. I have gone through several successful<b=
r>
&gt; &gt;suspend/resume cycles, certainly more than any other time before t=
he<br>
&gt; &gt;change. (Thinkpad X40 with Intel graphics card)<br>
&gt; &gt;<br>
&gt; &gt;Christos.<br>
&gt; &gt;<br>
&gt; &gt;On Sat, Jun 27, 2009 at 06:01:39AM -0600, Christos Papadopoulos wr=
ote:<br>
&gt; &gt;&gt;Well, I spoke too soon. While resume works, it is not reliable=
.<br>
&gt; &gt;&gt;The machine crashes every third time or so coming back from re=
sume.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;The message Fedora wants to report is below.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;Any suggestions anyone?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;Christos.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;Kernel failure message 1:<br>
&gt; &gt;&gt;------------[ cut here ]------------<br>
&gt; &gt;&gt;WARNING: at kernel/hrtimer.c:625 hres_timers_resume+0x34/0x4a(=
) (Not<br>
&gt; &gt;&gt;tainted)<br>
&gt; &gt;&gt;Hardware name: 2382RFU<br>
&gt; &gt;&gt;hres_timers_resume() called with IRQs enabled!Modules linked i=
n:<br>
&gt; &gt;&gt;michael_mic arc4 ecb lib80211_crypt_tkip aes_i586 aes_generic<=
br>
&gt; &gt;&gt;lib80211_crypt_ccmp fuse rfcomm bridge stp llc bnep sco l2cap =
sunrpc<br>
&gt; &gt;&gt;ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6<=
br>
&gt; &gt;&gt;cpufreq_ondemand acpi_cpufreq dm_multipath uinput snd_intel8x0=
<br>
&gt; &gt;&gt;snd_intel8x0m snd_ac97_codec ac97_bus snd_pcm iTCO_wdt ipw2200=
<br>
&gt; &gt;&gt;thinkpad_acpi sdhci_pci iTCO_vendor_support snd_timer yenta_so=
cket sdhci<br>
&gt; &gt;&gt;snd i2c_i801 libipw rsrc_nonstatic hwmon lib80211 btusb blueto=
oth e1000<br>
&gt; &gt;&gt;mmc_core joydev soundcore snd_page_alloc nsc_ircc irda crc_cci=
tt pcspkr<br>
&gt; &gt;&gt;ata_generic pata_acpi i915 drm i2c_algo_bit i2c_core video out=
put [last<br>
&gt; &gt;&gt;unloaded: microcode]<br>
&gt; &gt;&gt;Pid: 3761, comm: pm-suspend Not tainted 2.6.29.5-191.fc11.i586=
 #1<br>
&gt; &gt;&gt;Call Trace:<br>
&gt; &gt;&gt;[&lt;c042ebc6&gt;] warn_slowpath+0x7c/0xa4<br>
&gt; &gt;&gt;[&lt;c0443042&gt;] ? ktime_get_ts+0x4f/0x53<br>
&gt; &gt;&gt;[&lt;c0414063&gt;] ? lapic_next_event+0x18/0x1c<br>
&gt; &gt;&gt;[&lt;c0448cd3&gt;] ? clockevents_program_event+0xe6/0xf5<br>
&gt; &gt;&gt;[&lt;c0449b5d&gt;] ? tick_dev_program_event+0x47/0xb4<br>
&gt; &gt;&gt;[&lt;c0449c2a&gt;] ? tick_program_event+0x26/0x2e<br>
&gt; &gt;&gt;[&lt;c044917d&gt;] ? tick_notify+0x2e5/0x2f4<br>
&gt; &gt;&gt;[&lt;c0709b07&gt;] ? notifier_call_chain+0x26/0x48<br>
&gt; &gt;&gt;[&lt;c04429a2&gt;] hres_timers_resume+0x34/0x4a<br>
&gt; &gt;&gt;[&lt;c0446d39&gt;] timekeeping_resume+0x130/0x137<br>
&gt; &gt;&gt;[&lt;c05ddad5&gt;] __sysdev_resume+0x19/0x3d<br>
&gt; &gt;&gt;[&lt;c05ddb1f&gt;] sysdev_resume+0x26/0x59<br>
&gt; &gt;&gt;[&lt;c04518c9&gt;] suspend_devices_and_enter+0x112/0x186<br>
&gt; &gt;&gt;[&lt;c0451aa0&gt;] enter_state+0x13c/0x197<br>
&gt; &gt;&gt;[&lt;c0451b94&gt;] state_store+0x99/0xae<br>
&gt; &gt;&gt;[&lt;c0451afb&gt;] ? state_store+0x0/0xae<br>
&gt; &gt;&gt;[&lt;c055a9f5&gt;] kobj_attr_store+0x16/0x22<br>
&gt; &gt;&gt;[&lt;c04de44e&gt;] sysfs_write_file+0xca/0xf5<br>
&gt; &gt;&gt;[&lt;c04de384&gt;] ? sysfs_write_file+0x0/0xf5<br>
&gt; &gt;&gt;[&lt;c04a09a0&gt;] vfs_write+0x95/0xf4<br>
&gt; &gt;&gt;[&lt;c04a0abb&gt;] sys_write+0x4c/0x70<br>
&gt; &gt;&gt;[&lt;c0403f72&gt;] syscall_call+0x7/0xb<br>
&gt; &gt;&gt;---[ end trace 9f6d2b8ff1500853 ]---<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;Kernel failure message 2:<br>
&gt; &gt;&gt;BUG: sleeping function called from invalid context at<br>
&gt; &gt;&gt;kernel/workqueue.c:440<br>
&gt; &gt;&gt;in_atomic(): 0, irqs_disabled(): 1, pid: 3761, name: pm-suspen=
d<br>
&gt; &gt;&gt;Pid: 3761, comm: pm-suspend Not tainted 2.6.29.5-191.fc11.i586=
 #1<br>
&gt; &gt;&gt;Call Trace:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;On Tue, Jun 23, 2009 at 02:34:30PM -0600, Christos Papadopoulo=
s wrote:<br>
&gt; &gt;&gt;&gt;Following up to my own post: the solution was to disable m=
odesetting in<br>
&gt; &gt;&gt;&gt;the kernel.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;In /boot/grub/grub.conf:<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;kernel /vmlinuz-2.6.29.4-167.fc11.i586 ro root=3D/dev/VolG=
roup00/LogVol00<br>
&gt; &gt;&gt;&gt;rhgb quiet hpet=3Dforce nomodeset<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;BTW, the sd slot works fine on my X40. Looks like F11 migh=
t be usable<br>
&gt; &gt;&gt;&gt;for me after all.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;Christos.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;On Tue, Jun 23, 2009 at 09:07:21AM -0600, Christos Papadop=
oulos wrote:<br>
&gt; &gt;&gt;&gt;&gt;Well, I should have checked before upgrading to Fedora=
 11. =A0Fedora 10<br>
&gt; &gt;&gt;&gt;&gt;worked so well on my X40 that created a false sense of=
 reliability.<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;As it stands now, resume leaves me with a blank screen=
, and apparently<br>
&gt; &gt;&gt;&gt;&gt;the external VGA and SD slots are not working properly=
 (according to<br>
&gt; &gt;&gt;&gt;&gt;thinkwiki).<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;Before I begin the long process of debugging, does any=
one have any<br>
&gt; &gt;&gt;&gt;&gt;pointers? suspend/resume is critical for me.<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;Christos.<br>
&gt; &gt;&gt;&gt;&gt;--<br>
&gt; &gt;&gt;&gt;&gt;The linux-thinkpad mailing list home page is at:<br>
&gt; &gt;&gt;&gt;&gt;<a href=3D"http://mailman.linux-thinkpad.org/mailman/l=
istinfo/linux-thinkpad" target=3D"_blank">http://mailman.linux-thinkpad.org=
/mailman/listinfothinkpad/linux-thinkpad</a><br>
&gt; &gt;&gt;&gt;--<br>
&gt; &gt;&gt;&gt;The linux-thinkpad mailing list home page is at:<br>
&gt; &gt;&gt;&gt;<a href=3D"http://mailman.linux-thinkpad.org/mailman/listi=
nfo/linux-thinkpad" target=3D"_blank">http://mailman.linux-thinkpad.org/mai=
lman/listinfo/linux-thinkpad</a><br>
&gt; &gt;&gt;--<br>
&gt; &gt;&gt;The linux-thinkpad mailing list home page is at:<br>
&gt; &gt;&gt;<a href=3D"http://mailman.linux-thinkpad.org/mailman/listinfo/=
linux-thinkpad" target=3D"_blank">http://mailman.linux-thinkpad.org/mailman=
/listinfo/linux-thinkpad</a><br>
&gt;<br>
&gt; --<br>
&gt; The linux-thinkpad mailing list home page is at:<br>
&gt; <a href=3D"http://mailman.linux-thinkpad.org/mailman/listinfo/linux-th=
inkpad" target=3D"_blank">http://mailman.linux-thinkpad.org/mailman/listinf=
o/linux-thinkpad</a><br>
<font color=3D"#888888">--<br>
The linux-thinkpad mailing list home page is at:<br>
<a href=3D"http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpa=
d" target=3D"_blank">http://mailman.linux-thinkpad.org/mailman/listinfo/lin=
ux-thinkpad</a><br>
</font></blockquote></div><br>

--001485f1d912552736046f6d6908--