Mailinglist Archive: opensuse (818 mails)

< Previous Next >
Re: [opensuse] Need help: I found out where s2disk crashes.
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Fri, 13 Jul 2012 13:51:38 +0200 (CEST)
  • Message-id: <alpine.LNX.2.00.1207131253200.18250@Telcontar.valinor>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Content-ID: <alpine.LNX.2.00.1207131345190.18250@Telcontar.valinor>


On Friday, 2012-07-13 at 11:23 +0100, Dave Howorth wrote:

Well, at least it's an opportunity to bug report nouveau to get it
improved :)

Heh! But it will not be as I'm reporting for 11.4.

<https://bugzilla.novell.com/show_bug.cgi?id=771363>
Bug 771363 - Hibernation fails if nouveau is in use.

and:

<https://bugzilla.novell.com/show_bug.cgi?id=771366>
Bug 771366 - /usr/lib/pm-utils/sleep.d/75modules calls log, which does not
exist.


The weird thing is that was not happening the previous days. The only thing that changed was some unrelated (I think) updates:


INSTALLTIME BUILDTIME

Tue Jul 10 2012 Tue Feb 22 2011 xcircuit 3.6.132-2.1 Tue Jul 10 2012 Tue Jun 19 2012 php5 5.3.5-341.1 Tue Jul 10 2012 Wed Jun 20 2012 python-crypto 2.3-6.1 Tue Jul 10 2012 Tue Jun 19 2012 krb5-32bit 1.8.3-16.49.1
Tue Jul 10 2012 Mon Jul 02 2012 pm-utils 1.4.1-5.32.1 Tue Jul 10 2012 Tue Jun 19 2012 krb5 1.8.3-16.49.1
Tue Jul 10 2012 Tue Jun 19 2012 clamav 0.97.5-10.1 Tue Jul 10 2012 Wed Jun 20 2012 libtiff3 3.9.4-28.1 Tue Jul 10 2012 Wed Jun 20 2012 libtiff3-32bit 3.9.4-28.1 Tue Jul 10 2012 Wed Jun 20 2012 tiff 3.9.4-28.1 Tue Jul 10 2012 Tue Jun 19 2012 php5-bz2 5.3.5-341.1 Tue Jul 10 2012 Tue Jun 19 2012 php5-ctype 5.3.5-341.1 Tue Jul 10 2012 Tue Jun 19 2012 php5-mcrypt 5.3.5-341.1 Tue Jul 10 2012 Tue Jun 19 2012 php5-pdo 5.3.5-341.1 Tue Jul 10 2012 Tue Jun 19 2012 php5-iconv 5.3.5-341.1 Tue Jul 10 2012 Tue Jun 19 2012 php5-json 5.3.5-341.1 Tue Jul 10 2012 Tue Jun 19 2012 php5-mbstring 5.3.5-341.1 Tue Jul 10 2012 Tue Jun 19 2012 php5-xmlwriter 5.3.5-341.1 Tue Jul 10 2012 Tue Jun 19 2012 php5-zlib 5.3.5-341.1 Tue Jul 10 2012 Tue Jun 19 2012 krb5-devel 1.8.3-16.49.1
Tue Jul 10 2012 Tue Jun 19 2012 php5-gd 5.3.5-341.1 Tue Jul 10 2012 Tue Jun 19 2012 php5-hash 5.3.5-341.1 Tue Jul 10 2012 Tue Jun 19 2012 krb5-client 1.8.3-16.49.1
Tue Jul 10 2012 Tue Jun 19 2012 php5-dom 5.3.5-341.1 Tue Jul 10 2012 Tue Jun 19 2012 clamav-db 0.97.5-10.1 Tue Jul 10 2012 Tue Jun 19 2012 apache2-mod_php5 5.3.5-341.1 Tue Jul 10 2012 Tue Jun 19 2012 php5-tokenizer 5.3.5-341.1 Tue Jul 10 2012 Wed Jun 20 2012 libtiff-devel 3.9.4-28.1 Tue Jul 10 2012 Tue Jun 19 2012 php5-mysql 5.3.5-341.1 Tue Jul 10 2012 Tue Jun 19 2012 php5-sqlite 5.3.5-341.1 Tue Jul 10 2012 Tue Jun 19 2012 php5-xmlreader 5.3.5-341.1

I'm fearing that one of these loaded the module "button". Ah... pm-utils, yes! I should have known.


I hacked the /usr/lib/pm-utils/sleep.d/75modules script - fortunately suspend is an area still using scripts, not like systemd ;-) - like this:

suspend_modules()
{
[ -z "$SUSPEND_MODULES" ] && return $NA
for x in $SUSPEND_MODULES ; do
if ! test $x = button ; then
printf "Unloading kernel module %s..." "$x"
modunload $x && echo Done. || { touch $INHIBIT; echo
Failed.; }
fi
done
return 0
}


so that the module is not unloaded and hibernate runs. It did run, and it crashed - but it is the usual crash. I hibernated today with the same hack and it succeded, so the hack is not involved.
I will post the photo to Bugzilla,

https://bugzilla.novell.com/attachment.cgi?id=498542
https://bugzilla.novell.com/attachment.cgi?id=498543
https://bugzilla.novell.com/attachment.cgi?id=498544

It looks like the bug is upstream because there seem to be
identical symptoms described here:

https://bbs.archlinux.org/viewtopic.php?id=143461

Indeed.


If as Jeff Mahoney said the culprit is a driver, and he suspected the audio usb driver, that I will try that way. I'm hibernating now this way:

# echo ; date ; rcalsasound stop; pm-hibernate ; rcalsasound start ; date


I got this when tested that today:


+++····························
Telcontar:~ # lsmod | grep usb
snd_usb_audio 116145 0
snd_pcm 102140 4
snd_pcm_oss,snd_hda_intel,snd_hda_codec,snd_usb_audio
snd_hwdep 7708 2 snd_hda_codec,snd_usb_audio
snd_usbmidi_lib 22933 1 snd_usb_audio
snd_rawmidi 26712 1 snd_usbmidi_lib
snd 82988 13
snd_pcm_oss,snd_mixer_oss,snd_seq,snd_hda_codec_ca0110,snd_hda_intel,snd_hda_codec,snd_usb_audio,snd_pcm,snd_timer,snd_hwdep,snd_usbmidi_lib,snd_rawmidi,snd_seq_device
Telcontar:~ # rcalsasound stop
Shutting down sound driver
done
Telcontar:~ # lsmod | grep usb
Telcontar:~ # echo ; date ; rcalsasound stop ; pm-hibernate ; rcalsasound start
; date

Fri Jul 13 11:57:37 CEST 2012
resuming...
Starting sound driver: hda-intel
done
Fri Jul 13 11:58:41 CEST 2012
Telcontar:~ # lsmod | grep usb
Telcontar:~ #
····························++-


Notice that the usb drivers are not reloaded.


- -- Cheers,
Carlos E. R.
(from 11.4 x86_64 "Celadon" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iEYEARECAAYFAlAAC9EACgkQtTMYHG2NR9UX+wCeIVHqTaGR/6a7FNT+6WSiErKR
xFwAn0DeDP3cRi1O8GW3opgV+DF9uY/X
=L/Jf
-----END PGP SIGNATURE-----
< Previous Next >
List Navigation
Follow Ups