"qualcosa è andato storto"

Qualche volta mi capita che dopo il boot (e prima del login) appaia questo fastidiosissimo messaggio, che poi suggerisce di terminare la sessione …ho visto che è segnalato nei bug ma non c’è molt attenzione al problema.

Non è detto tra l’altro che terminando la sessione ci si riesca a loggare, spesso bisogna spegnere il sistema e sperare che la riavvio successivo tutto vada a posto.

Qualche idea??? io non ho idea di dove guardare perché lo stupido messaggio dovrebbe riportare qualche idea per fare il debug invece è criptico: in .xsessions-errors non vale la pena di guardare perché si ferma prima del login, credo che sia un problema di gdm, ma dove riporta gli errori???

Grazie

prova a vedere se c’è qualcosa di significativo all’interno dei log in /var/log/gdm

ho l’impressione di dover aspettare quando ci sarà di nuovo un crash del genere, nei log non c’è niente di relativo a quanto descritto (successo sabato 5 gennaio l’ultima volta), in quanto sono tutti recenti almeno i file 0.log…almeno succedesse con regolarità :slight_smile: , invece rischio di dover aspettare almeno due settimane

Lì ovviamente non ho trovato nulla di strano.

https://bugzilla.redhat.com/show_bug.cgi?id=858728 è il bug cui facevo riferimento

Avevo lo stesso problema sulla 16, dopo il login però.
Gnome con NVidia 7300GT e driver nouveau. Usavo Alt+F2 -> r per riavviare Gnome e al 90% poi era ok. Nel frattempo però era arrivata la 17 che ha risolto il problema…
Hai componenti hardware/driver simili?

Antonio, leggendo il log che hai postato su bugzilla ho notato una cosa:

Jan 5 00:06:15 Acer5720 smartd[674]: Device: /dev/sda [SAT], 5 Currently unreadable (pending) sectors Jan 5 00:06:15 Acer5720 smartd[674]: Device: /dev/sda [SAT], 5 Offline uncorrectable sectors Jan 5 00:36:15 Acer5720 smartd[674]: Device: /dev/sda [SAT], 5 Currently unreadable (pending) sectors Jan 5 00:36:15 Acer5720 smartd[674]: Device: /dev/sda [SAT], 5 Offline uncorrectable sectors

Non è che siano questi settori danneggiati a creare problemi?
Perchè te lo segnala più e più volte…

[quote=Fda]Antonio, leggendo il log che hai postato su bugzilla ho notato una cosa:

Jan 5 00:06:15 Acer5720 smartd[674]: Device: /dev/sda [SAT], 5 Currently unreadable (pending) sectors Jan 5 00:06:15 Acer5720 smartd[674]: Device: /dev/sda [SAT], 5 Offline uncorrectable sectors Jan 5 00:36:15 Acer5720 smartd[674]: Device: /dev/sda [SAT], 5 Currently unreadable (pending) sectors Jan 5 00:36:15 Acer5720 smartd[674]: Device: /dev/sda [SAT], 5 Offline uncorrectable sectors

Non è che siano questi settori danneggiati a creare problemi?
Perchè te lo segnala più e più volte…[/quote]

non credo, crdo che questi messaggi facciano parte dei falsi messaggi di smartd. Poi avrei problemi sempre, non random.

O mi sbaglio?? perché per il resto il portatile non crasha mai, anche quando sottoposto ad uso intensissimo (una volta pulita la ventola che non raffreddava una cippa)

[quote=robyduck]Avevo lo stesso problema sulla 16, dopo il login però.
Gnome con NVidia 7300GT e driver nouveau. Usavo Alt+F2 -> r per riavviare Gnome e al 90% poi era ok. Nel frattempo però era arrivata la 17 che ha risolto il problema…
Hai componenti hardware/driver simili?[/quote]

No, scheda Intel 915 e relativo driver. Temo che il tuo suggerimento non sia utile perché succede prima del login.O mi sbaglio???

Guarda, io per sicurezza gli farei un controllo tramite smartctl o l’apposita gui di palimpsest. Così almeno ti togli il dubbio.

[code]smartctl 5.43 2012-06-30 r3573 [i686-linux-3.6.11-1.fc17.i686.PAE] (local build)
Copyright © 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family: Seagate Momentus 5400.3
Device Model: ST9160821AS
Serial Number: 5MA2R39K
Firmware Version: 3.ALD
User Capacity: 160,041,885,696 bytes [160 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: 7
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Mon Jan 7 12:40:56 2013 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
See vendor-specific Attribute list for marginal Attributes.

General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 426) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
No General Purpose Logging support.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 111) minutes.
SCT capabilities: (0x0001) SCT Status supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 119 084 006 Pre-fail Always - 204619893
3 Spin_Up_Time 0x0003 099 099 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 094 094 020 Old_age Always - 6359
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 3
7 Seek_Error_Rate 0x000f 078 060 030 Pre-fail Always - 17433552543
9 Power_On_Hours 0x0032 083 083 000 Old_age Always - 15080
10 Spin_Retry_Count 0x0013 100 100 034 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 095 095 020 Old_age Always - 6063
187 Reported_Uncorrect 0x0032 099 099 000 Old_age Always - 1
189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 058 042 045 Old_age Always In_the_past 42 (1 92 42 24 0)
192 Power-Off_Retract_Count 0x0032 098 098 000 Old_age Always - 5236
193 Load_Cycle_Count 0x0032 001 001 000 Old_age Always - 787582
194 Temperature_Celsius 0x0022 042 058 000 Old_age Always - 42 (0 6 0 0 0)
195 Hardware_ECC_Recovered 0x001a 074 056 000 Old_age Always - 154752593
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 5
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 5
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0
202 Data_Address_Mark_Errs 0x0032 100 253 000 Old_age Always - 0

SMART Error Log Version: 1
ATA Error Count: 1
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It “wraps” after 49.710 days.

Error 1 occurred at disk power-on lifetime: 11618 hours (484 days + 2 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH


40 51 00 2a f0 e2 ea Error: UNC at LBA = 0x0ae2f02a = 182644778

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name


c8 00 08 28 f0 e2 ea 00 00:59:39.582 READ DMA
c8 00 08 58 63 60 ea 00 00:59:46.799 READ DMA
c8 00 10 c8 63 60 ea 00 00:59:46.799 READ DMA
c8 00 10 20 64 60 ea 00 00:59:46.789 READ DMA
27 00 00 00 00 00 e0 00 00:59:46.774 READ NATIVE MAX ADDRESS EXT

SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error

1 Short offline Completed without error 00% 1462 -

SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.[/code]

Per me è o.k., tanto più che ho sempre avuto la stessa segnalazione da nuovo, e i settori “danneggiati” sono " normali"…

SELinux è abilitato? Se lo disabiliti completamente il problema si presenta?

Selinux è abilitato, potrei sbagliarmi, ma riavviando con l’opzione selinux=0 sulla riga di boot, si è ripresentato, poi riavviando normalmente va tutto a posto…dal che deduco che non è un problema di Selinux, almeno credo

Hm, però…tranquillo, il mio è solo un dubbio di forma, ma ci sono alcuni parametri che non mi sembrano sanissimi…vedi ad esempio:

7 Seek_Error_Rate 0x000f 078 060 030 Pre-fail Always - 17433552543 193 Load_Cycle_Count 0x0032 001 001 000 Old_age Always - 787582 195 Hardware_ECC_Recovered 0x001a 074 056 000 Old_age Always - 154752593

Particolarmente il 193 (considera che gli HD dei portatili non sono pensatissimi per superare i 600000 cicli)…

Hm, però…tranquillo, il mio è solo un dubbio di forma, ma ci sono alcuni parametri che non mi sembrano sanissimi…vedi ad esempio:

7 Seek_Error_Rate 0x000f 078 060 030 Pre-fail Always - 17433552543 193 Load_Cycle_Count 0x0032 001 001 000 Old_age Always - 787582 195 Hardware_ECC_Recovered 0x001a 074 056 000 Old_age Always - 154752593

Particolarmente il 193 (considera che gli HD dei portatili non sono pensatissimi per superare i 600000 cicli)…[/quote]

infatti mi aspetto il collasso del sistema, pensando a quanto ha lavorato questo Acer e in quali condizioni ambientali!!! il backup è pronto… :stuck_out_tongue:

ho deciso di abilitare il debug in etc/gdm/custom.conf.

Può causare problemi lasciando sempre abilitato il debug??

Non credo che il debugging crei dei problemi, tuttavia penso che genererà un sacco di informazioni che dovrai filtrare con occhio attento.

I driver a partengono alla sfera initramfs.

possiamo scrivere i titoli in italiano ? grazie.

beh, dovresti dirlo anche agli sviluppatori, io ottengo esattamente quel messaggio in inglese (e non in italiano)…:slight_smile: :slight_smile: :slight_smile:

…e non è certo la lingua il problema

bene oggi si è verificato di nuovo e dopo il login: non capisco, se premo Alt+F1 la finestra d’errore sparisce e tutto torna normale (si fa per dire…): qualche idea di dove guardare???

questo è .xsession-error.old

[code]GNOME_KEYRING_CONTROL=/run/user/antonio/keyring-StI4da
GNOME_KEYRING_CONTROL=/run/user/antonio/keyring-StI4da
GPG_AGENT_INFO=/run/user/antonio/keyring-StI4da/gpg:0:1
GNOME_KEYRING_CONTROL=/run/user/antonio/keyring-StI4da
GPG_AGENT_INFO=/run/user/antonio/keyring-StI4da/gpg:0:1
SSH_AUTH_SOCK=/run/user/antonio/keyring-StI4da/ssh
GNOME_KEYRING_CONTROL=/run/user/antonio/keyring-StI4da
GPG_AGENT_INFO=/run/user/antonio/keyring-StI4da/gpg:0:1
SSH_AUTH_SOCK=/run/user/antonio/keyring-StI4da/ssh
gnome-session[1044]: WARNING: Application ‘gnome-settings-daemon.desktop’ failed to register before timeout
Initializing tracker-store…
Tracker-Message: Setting up monitor for changes to config file:’/home/antonio/.config/tracker/tracker-store.cfg’
Initializing tracker-miner-fs…
Tracker-Message: Setting up monitor for changes to config file:’/home/antonio/.config/tracker/tracker-miner-fs.cfg’
Tracker-Message: Setting up monitor for changes to config file:’/home/antonio/.config/tracker/tracker-store.cfg’
Starting log:
File:’/home/antonio/.local/share/tracker/tracker-miner-fs.log’
Starting log:
File:’/home/antonio/.local/share/tracker/tracker-store.log’
Failed to play sound: File or data not found
** Message: applet now removed from the notification area

** (zeitgeist-datahub:1353): WARNING **: recent-manager-provider.vala:133: Desktop file for “file:///home/antonio/Linux/Italian/Kyocera_TASKalfa_2550ci.ppd” was not found, exec: system-config-printer.py, mime_type: application/octet-stream
** Message: Stopping applet secret agent because GNOME Shell appeared

** (zeitgeist-datahub:1353): CRITICAL **: string_strip: assertion `self != NULL’ failed

(zeitgeist-datahub:1353): Gtk-CRITICAL **: IA__gtk_recent_info_get_application_info: assertion `app_name != NULL’ failed

** (zeitgeist-datahub:1353): WARNING **: recent-manager-provider.vala:107: (null) was not registered in RecentInfo item 0x90b18a0

** (zeitgeist-datahub:1353): WARNING **: recent-manager-provider.vala:133: Desktop file for “smb://iomega/antonio/Fotografie/Pentaxreflex/1stDS/2006/2006-01-02/imgp0289.jpg” was not found, exec: plugin-container, mime_type: application/octet-stream

(gnome-shell:1288): folks-WARNING **: Failed to find primary PersonaStore with type ID ‘eds’ and ID ‘system’.
Individuals will not be linked properly and creating new links between Personas will not work.
The configured primary PersonaStore’s backend may not be installed. If you are unsure, check with your distribution.
** Message: applet now embedded in the notification area
Avviso del window manager: CurrentTime used to choose focus window; focus window may not be correct.
Avviso del window manager: Got a request to focus 0x800003 () with a timestamp of 0. This shouldn’t happen!
** Message: Got disconnected from the session message bus; retrying to reconnect every 10 seconds

** (zeitgeist-datahub:1353): WARNING **: zeitgeist-datahub.vala:228: Unable to get name “org.gnome.zeitgeist.datahub” on the bus!
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.

Received signal:15->'Terminato’g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.

Received signal:15->‘Terminato’

(evolution-alarm-notify:1346): GConf-WARNING **: Got Disconnected from DBus.

OK

g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
gnome-shell-calendar-server[1402]: Lost (or failed to acquire) the name org.gnome.Shell.CalendarServer - exiting
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Avviso del window manager: Log level 16: gnome-shell: Fatal IO error 0 (Successo) on X server :0.

seapplet: Fatal IO error 11 (Risorsa temporaneamente non disponibile) on X server :0.

(abrt:1324): Gdk-WARNING **: abrt: Fatal IO error 11 (Risorsa temporaneamente non disponibile) on X server :0.

(tracker-miner-fs:1357): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: La connessione è chiusa

(tracker-miner-fs:1357): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: La connessione è chiusa

(tracker-miner-fs:1357): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: La connessione è chiusa

OK

(process:1496): GLib-GIO-CRITICAL **: g_dbus_connection_signal_subscribe: assertion `G_IS_DBUS_CONNECTION (connection)’ failed

** (process:1496): WARNING **: Impossibile connettersi: Connessione rifiutata

** (gnome-settings-daemon:1224): CRITICAL **: DBus AddMatch for dconf path ‘/org/gnome/settings-daemon/plugins/updates/’: La connessione è chiusa

** (gnome-settings-daemon:1224): CRITICAL **: DBus AddMatch for dconf path ‘/org/gnome/settings-daemon/plugins/updates/’: La connessione è chiusa

(gnome-settings-daemon:1224): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: La connessione è chiusa

(gnome-settings-daemon:1224): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: La connessione è chiusa

(gnome-settings-daemon:1224): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: La connessione è chiusa

(gnome-settings-daemon:1224): updates-plugin-WARNING **: Error creating proxy: La connessione è chiusa

** (gnome-settings-daemon:1224): CRITICAL **: DBus AddMatch for dconf path ‘/system/proxy/http/’: La connessione è chiusa

(gnome-settings-daemon:1224): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: La connessione è chiusa

** (gnome-settings-daemon:1224): CRITICAL **: DBus AddMatch for dconf path ‘/system/proxy/ftp/’: La connessione è chiusa

** (gnome-settings-daemon:1224): CRITICAL **: DBus AddMatch for dconf path ‘/org/gnome/settings-daemon/plugins/updates/’: La connessione è chiusa

(gnome-settings-daemon:1224): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: La connessione è chiusa

(gnome-settings-daemon:1224): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: La connessione è chiusa

(gnome-settings-daemon:1224): updates-plugin-WARNING **: Unable to start updates manager: Errore nel chiamare StartServiceByName per org.gnome.SessionManager: La connessione è chiusa

** (gnome-settings-daemon:1224): CRITICAL **: DBus AddMatch for dconf path ‘/org/gnome/settings-daemon/plugins/housekeeping/’: La connessione è chiusa

** (gnome-settings-daemon:1224): CRITICAL **: DBus AddMatch for dconf path ‘/org/gnome/desktop/thumbnail-cache/’: La connessione è chiusa
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.[/code]

ma che questo sia legato all’errore non mi è chiaro.

Qualche idea???

https://bugzilla.redhat.com/show_bug.cgi?id=858728

ho allegato lì un file di log, qualcuno sa interpretarlo (io confesso non sono capace)??? per vedere se c’è l’inghippo!!!