Newsgroup: it.comp.os.linux.sys
Titolo: Debuggare acpi suspend

Ci sto diventando matto
 
io per abitudine invece di spegnere i pc, sia fisso che portatile li 
metto in STR (Suspend To Ram) e di solito passano giorni e giorni prima 
di un reboot.
Da qualche giorno però sul fisso capita che lo accendo, lo metto in 
suspend e ci va tranquillamente; lo faccio riprendere , lo rimetto in 
suspend e a questo punto non spegne i monitor e rimane in modalità "zombie"
Il led del case lampeggia come normalmente fa quando è in suspend, ma se 
premo il pulsante di accensione non riparte. Devo o forzare uno 
spegnimento (+4sec di tasto power) o usare il tasto di reset e riparte 
normalmente facendo boot
 
Sullo stesso hw la sospensione ha sempre funzionato senza particolari 
problemi. Su hw diverso ma sostanzialmente stesso SW (il portatile) pure 
funziona tutto senza problemi.
 
Premesso che penso la cosa abbia a che fare con il modulo kernel usb3 
che già mi aveva dato problemi diversi, ma relativi al suspend, non so 
bene cosa guardare per capire dove stia il problema
 
dmesg e messages se mi dicono qualcosa mi rimangono imperscrutabili
 
Questo è quanto dice il messages dopo un suspend riuscito
 
Sep 12 14:39:32 localhost kernel: [15929.951316] EXT4-fs (md2): 
re-mounted. Opts: commit=0
Sep 12 14:39:33 localhost kernel: [15930.114759] EXT4-fs (dm-0): 
re-mounted. Opts: commit=0
Sep 12 14:39:33 localhost kernel: [15930.148980] EXT4-fs (dm-1): 
re-mounted. Opts: commit=0
Sep 12 14:39:33 localhost kernel: [15930.821725] PM: Syncing filesystems 
... done.
Sep 12 14:39:33 localhost kernel: [15930.829807] PM: Preparing system 
for mem sleep
Sep 12 17:25:39 localhost -- MARK --
Sep 12 17:25:39 localhost kernel: [15930.899777] Freezing user space 
processes ... (elapsed 0.01 seconds) done.
Sep 12 17:25:39 localhost kernel: [15930.911064] Freezing remaining 
freezable tasks ... (elapsed 0.45 seconds) done.
Sep 12 17:25:39 localhost kernel: [15931.362069] PM: Entering mem sleep
 
 
Ovviamente alle 17:25 l'ho svegliato
 
Qui invece quello che è successo dopo l'ultimo suspend non andato a buon 
fine:
 
Sep 12 19:24:02 localhost dbus[1626]: [system] Activating service 
name='org.kde.powerdevil.backlighthelper' (using servicehelper)
Sep 12 19:24:02 localhost dbus[1626]: [system] Successfully activated 
service 'org.kde.powerdevil.backlighthelper'
Sep 12 19:25:39 localhost -- MARK --
Sep 12 19:26:32 localhost dbus[1626]: [system] Activating service 
name='org.kde.powerdevil.backlighthelper' (using servicehelper)
Sep 12 19:26:32 localhost dbus[1626]: [system] Successfully activated 
service 'org.kde.powerdevil.backlighthelper'
Sep 12 19:29:02 localhost dbus[1626]: [system] Activating service 
name='org.kde.powerdevil.backlighthelper' (using servicehelper)
Sep 12 19:29:02 localhost dbus[1626]: [system] Successfully activated 
service 'org.kde.powerdevil.backlighthelper'
Sep 12 19:30:01 localhost cron[11323]: (root) CMD (test -x 
/usr/sbin/run-crons && /usr/sbin/run-crons )
Sep 12 19:35:48 localhost dbus[1626]: [system] Activating service 
name='org.kde.powerdevil.backlighthelper' (using servicehelper)
Sep 12 19:35:48 localhost dbus[1626]: [system] Successfully activated 
service 'org.kde.powerdevil.backlighthelper'
Sep 12 19:40:01 localhost cron[11512]: (root) CMD (test -x 
/usr/sbin/run-crons && /usr/sbin/run-crons )
Sep 12 19:43:28 localhost dbus[1626]: [system] Activating service 
name='org.kde.powerdevil.backlighthelper' (using servicehelper)
Sep 12 19:43:28 localhost dbus[1626]: [system] Successfully activated 
service 'org.kde.powerdevil.backlighthelper'
Sep 12 19:45:58 localhost dbus[1626]: [system] Activating service 
name='org.kde.powerdevil.backlighthelper' (using servicehelper)
Sep 12 19:45:58 localhost dbus[1626]: [system] Successfully activated 
service 'org.kde.powerdevil.backlighthelper'
Sep 12 19:48:28 localhost dbus[1626]: [system] Activating service 
name='org.kde.powerdevil.backlighthelper' (using servicehelper)
Sep 12 19:48:28 localhost dbus[1626]: [system] Successfully activated 
service 'org.kde.powerdevil.backlighthelper'
Sep 12 19:50:01 localhost cron[11696]: (root) CMD (test -x 
/usr/sbin/run-crons && /usr/sbin/run-crons )
Sep 12 19:58:06 localhost dbus[1626]: [system] Activating service 
name='org.kde.powerdevil.backlighthelper' (using servicehelper)
Sep 12 19:58:06 localhost dbus[1626]: [system] Successfully activated 
service 'org.kde.powerdevil.backlighthelper'
Sep 12 19:59:01 localhost cron[11859]: (root) CMD (rm -f 
/var/spool/cron/lastrun/cron.hourly)
Sep 12 19:59:47 localhost kernel: [25190.198909] EXT4-fs (md2): 
re-mounted. Opts: commit=0
Sep 12 19:59:47 localhost kernel: [25190.273111] EXT4-fs (dm-0): 
re-mounted. Opts: commit=0
Sep 12 19:59:47 localhost kernel: [25190.328286] EXT4-fs (dm-1): 
re-mounted. Opts: commit=0
Sep 12 22:47:15 localhost syslog-ng[1355]: syslog-ng starting up; 
version='3.2.4'
 
 
 
Linux athlonno 2.6.39-gentoo-r3 #6 SMP Sun Aug 21 22:54:31 CEST 2011 
x86_64 AMD Athlon(tm) II X4 645 Processor AuthenticAMD
 
GNU/LinuxModule                  Size  Used by
md4                     3235  0
cifs                  229205  4
ipv6                  275840  26
w83627ehf              29863  0
hwmon_vid               2011  1 w83627ehf
snd_seq_dummy           1654  0
snd_seq_oss            25543  0
snd_seq_midi_event      5812  1 snd_seq_oss
snd_seq                46266  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            33104  0
snd_mixer_oss          13181  1 snd_pcm_oss
vboxnetflt             14375  0
vboxnetadp              5432  0
vboxpci                12824  0
vboxdrv              1799532  3 vboxnetflt,vboxnetadp,vboxpci
uvcvideo               53450  0
snd_usb_audio          98265  2
snd_hwdep               5918  1 snd_usb_audio
videodev               69990  1 uvcvideo
v4l2_compat_ioctl32     7576  1 videodev
snd_usbmidi_lib        17157  1 snd_usb_audio
snd_hda_codec_hdmi     21868  4
snd_rawmidi            18469  1 snd_usbmidi_lib
snd_seq_device          5463  4 
snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
nouveau               534258  3
joydev                  9459  0
ttm                    53807  1 nouveau
drm_kms_helper         27237  1 nouveau
snd_hda_codec_via      50964  1
edac_core              38685  0
snd_hda_intel          20577  6
drm                   188219  5 nouveau,ttm,drm_kms_helper
firewire_ohci          25161  0
i2c_piix4              10478  0
r8169                  35302  0
snd_hda_codec          62624  3 
snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
edac_mce_amd           12986  0
firewire_core          46251  1 firewire_ohci
i2c_algo_bit            4774  1 nouveau
pcspkr                  1902  0
serio_raw               4290  0
k10temp                 3175  0
video                  12002  1 nouveau
xhci_hcd              106498  0
i2c_core               24762  6 
videodev,nouveau,drm_kms_helper,i2c_piix4,drm,i2c_algo_bit
mii                     4215  1 r8169
snd_pcm                70360  6 
snd_pcm_oss,snd_usb_audio,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer              17841  3 snd_seq,snd_pcm
snd                    54537  29 
snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_usb_audio,snd_hwdep,snd_hda_codec_hdmi,snd_usbmidi_lib,snd_rawmidi,snd_seq_device,snd_hda_codec_via,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
wmi                     8856  0
soundcore               5983  1 snd
snd_page_alloc          7109  2 snd_hda_intel,snd_pcm
 
 
 
Chi mi può aiutare a cavarne qualcosa?
Grazie in anticicpo
M
 
-- 
I fatti mi cosano


Risolto, era ancora il modulo xhci per l'usb3
L'ho messo in blacklist e buonanotte al secchio
