You are not logged in.

#1 2017-05-06 11:41:35

sizprog
Member
Registered: 2017-05-01
Posts: 3

[Apparently solved] Random kernel panic when a USB drive is plugged

Hello,

I installed ArchLinux with GNOME 3 three years ago on my laptop.

When a USB drive is plugged in, after some time GNOME freezes for a second, a TTY opens with what looks like a kernel panic, and GDM restarts. I don't have enough time to read anything useful on the kernel panic screen, it stays for less than a second.

Here's the output of dmesg, from the moment I plugged the USB drive to the kernel panic :

[ 2637.297664] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[ 2707.640896] sd 4:0:0:0: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[ 2707.640901] sd 4:0:0:0: [sdb] tag#0 Sense Key : 0x2 [current] 
[ 2707.640903] sd 4:0:0:0: [sdb] tag#0 ASC=0x3a ASCQ=0x0 
[ 2707.640906] sd 4:0:0:0: [sdb] tag#0 CDB: opcode=0x28 28 00 00 00 fd 00 00 00 08 00
[ 2707.640908] blk_update_request: I/O error, dev sdb, sector 64768
[ 2707.642096] sd 4:0:0:0: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[ 2707.642100] sd 4:0:0:0: [sdb] tag#0 Sense Key : 0x2 [current] 
[ 2707.642104] sd 4:0:0:0: [sdb] tag#0 ASC=0x3a ASCQ=0x0 
[ 2707.642107] sd 4:0:0:0: [sdb] tag#0 CDB: opcode=0x28 28 00 00 00 fd 00 00 00 08 00
[ 2707.642110] blk_update_request: I/O error, dev sdb, sector 64768
[ 2707.642116] Buffer I/O error on dev sdb1, logical block 512, async page read
[ 2710.803853] usb 2-3: USB disconnect, device number 2
[ 2996.206908] traps: pool[3618] general protection ip:7f664bb50302 sp:7f664a65e9b8 error:0
[ 2996.206914]  in libsqlite3.so.0.8.6[7f664bac5000+10d000]
[ 4065.589828] proc_thermal 0000:00:04.0: Unsupported event [0x84]
[ 4937.252651] proc_thermal 0000:00:04.0: Unsupported event [0x84]

/dev/sdb is my Nexus 5 smartphone, which seems to work perfectly well. The last time it was a brand-new USB thumb drive which hasn't had any failure yet either. The problem didn't yet show up for my USB mouse, which has been plugged in for way longer.

I don't know enough to find the source of these crashes. Does anyone have an idea ?

Thank you.

Last edited by sizprog (2017-05-07 11:58:05)

Offline

#2 2017-05-06 21:49:50

seth
Member
Registered: 2012-09-03
Posts: 51,064

Re: [Apparently solved] Random kernel panic when a USB drive is plugged

Wonky connection. Loose slot or broken cable (using an external hub?) - maybe usb autosuspend related issue.
Please notice that the device was lost after 33 secs - 38 minutes before the dmesg ends and 5 minutes before the kernel trap complains - so maybe that's a red herring wrt the session restart?

=> look up your journal for possible gnome-shell (related) crashes and try to disable usb autosuspend (the actual error occurs after exactly 30 seconds - if that pattern holds, autosuspend becomes a likely contender)

Offline

#3 2017-05-07 07:41:31

sizprog
Member
Registered: 2017-05-01
Posts: 3

Re: [Apparently solved] Random kernel panic when a USB drive is plugged

I don't think it's a cable problem since it happens with a thumb drive too, and on Windows or other distros I've never seen this. Of course it's possible that the laptop itself is damaged... But it happens only on Arch.
You're right on the time between the error and the crash ; I just assumed that it was related because all the crashes happened with something plugged and every time I've found this I/O error in the logs.

I've found a lot of "process <GNOME program> dumped core" messages in journalctl. A part of them is gnome-shell (may be the crashes I'm talking about here) ; and a lot of them are GNOME Documents core dumping, which is weird because I never use it. I'll try removing it, just in case.

This seems to be one of the crashes :

mai 01 12:07:43 pc dbus-daemon[597]: Activating service name='org.gnome.Totem'
mai 01 12:07:43 pc dbus-daemon[597]: Successfully activated service 'org.gnome.Totem'
mai 01 12:07:44 pc totem[11496]: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node slider owner GtkScale)
mai 01 12:07:53 pc nautilus[10786]: gdkselection-wayland.c:266: error reading selection buffer: L'opération a été annulée
mai 01 12:07:53 pc gnome-shell[630]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
mai 01 12:07:53 pc gnome-shell[630]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
mai 01 12:07:54 pc dbus-daemon[597]: Activating service name='org.gnome.Totem'
mai 01 12:07:54 pc dbus-daemon[597]: Successfully activated service 'org.gnome.Totem'
mai 01 12:07:54 pc totem[11520]: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node slider owner GtkScale)
mai 01 12:08:03 pc nautilus[10786]: gdkselection-wayland.c:266: error reading selection buffer: L'opération a été annulée
mai 01 12:08:03 pc gnome-shell[630]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
mai 01 12:08:03 pc gnome-shell[630]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
mai 01 12:08:05 pc dbus-daemon[597]: Activating service name='org.gnome.Totem'
mai 01 12:08:05 pc dbus-daemon[597]: Successfully activated service 'org.gnome.Totem'
mai 01 12:08:05 pc totem[11544]: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node slider owner GtkScale)
mai 01 12:08:18 pc nautilus[10786]: gdkselection-wayland.c:266: error reading selection buffer: L'opération a été annulée
mai 01 12:08:18 pc gnome-shell[630]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
mai 01 12:08:18 pc gnome-shell[630]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
mai 01 12:08:19 pc dbus-daemon[597]: Activating service name='org.gnome.Totem'
mai 01 12:08:19 pc dbus-daemon[597]: Successfully activated service 'org.gnome.Totem'
mai 01 12:08:19 pc totem[11567]: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node slider owner GtkScale)
mai 01 12:08:35 pc nautilus[10786]: gdkselection-wayland.c:266: error reading selection buffer: L'opération a été annulée
mai 01 12:08:35 pc gnome-shell[630]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
mai 01 12:08:35 pc gnome-shell[630]: g_signal_handler_disconnect: assertion 'handler_id > 0' failed
mai 01 12:08:36 pc dbus-daemon[597]: Activating service name='org.gnome.Totem'
mai 01 12:08:36 pc dbus-daemon[597]: Successfully activated service 'org.gnome.Totem'
mai 01 12:08:42 pc systemd[1]: Created slice system-systemd\x2dcoredump.slice.
mai 01 12:08:42 pc systemd[1]: Started Process Core Dump (PID 11612/UID 0).
mai 01 12:08:43 pc polkitd[365]: Unregistered Authentication Agent for unix-session:c2 (system bus name :1.59, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, l
mai 01 12:08:43 pc gnome-session-binary[599]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 6
mai 01 12:08:43 pc gnome-session[599]: gnome-session-binary[599]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 6
mai 01 12:08:43 pc org.gnome.Shell.desktop[630]: (EE)
mai 01 12:08:43 pc org.gnome.Shell.desktop[630]: Fatal server error:
mai 01 12:08:43 pc org.gnome.Shell.desktop[630]: (EE) failed to read Wayland events: Broken pipe
mai 01 12:08:43 pc org.gnome.Shell.desktop[630]: (EE)
mai 01 12:08:43 pc unknown[11592]: Error reading events from display: Connexion ré-initialisée par le correspondant
mai 01 12:08:43 pc pulseaudio[671]: ICE default IO error handler doing an exit(), pid = 671, errno = 11
mai 01 12:08:43 pc org.gnome.SettingsDaemon.MediaKeys.desktop[789]: xcb_connection_has_error() returned true
mai 01 12:08:43 pc unknown[10786]: Error reading events from display: Relais brisé (pipe)
mai 01 12:08:43 pc gnome-session-binary[599]: Unrecoverable failure in required component org.gnome.Shell.desktop
mai 01 12:08:43 pc WebKitWebProces[10569]: Error reading events from display: Relais brisé (pipe)
mai 01 12:08:43 pc gdm-password][575]: pam_unix(gdm-password:session): session closed for user user
mai 01 12:08:43 pc gnome-control-c[10541]: Error reading events from display: Relais brisé (pipe)
mai 01 12:08:43 pc systemd[582]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
mai 01 12:08:43 pc systemd[582]: pulseaudio.service: Unit entered failed state.
mai 01 12:08:43 pc systemd[582]: pulseaudio.service: Failed with result 'exit-code'.
mai 01 12:08:43 pc chromium.desktop[6751]: [6751:6751:0501/120843.730398:ERROR:gpu_process_transport_factory.cc(925)] Lost UI shared context.
mai 01 12:08:43 pc chromium.desktop[6751]: [6751:6751:0501/120843.756548:ERROR:zygote_communication_linux.cc(298)] Failed to send GetTerminationStatus message to zygote
mai 01 12:08:43 pc org.a11y.atspi.Registry[665]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
mai 01 12:08:43 pc org.a11y.atspi.Registry[665]:       after 22139 requests (22139 known processed) with 0 events remaining.
mai 01 12:08:43 pc chromium.desktop[6751]: [6751:6751:0501/120843.762687:ERROR:chrome_browser_main_extra_parts_x11.cc(62)] X IO error received (X server probably went away)
mai 01 12:08:43 pc chromium.desktop[6751]: [6751:6751:0501/120843.762794:ERROR:zygote_communication_linux.cc(298)] Failed to send GetTerminationStatus message to zygote
mai 01 12:08:43 pc chromium.desktop[6751]: [6751:6751:0501/120843.777706:ERROR:zygote_communication_linux.cc(298)] Failed to send GetTerminationStatus message to zygote
mai 01 12:08:43 pc chromium.desktop[6751]: [6751:6751:0501/120843.782128:ERROR:zygote_communication_linux.cc(298)] Failed to send GetTerminationStatus message to zygote
mai 01 12:08:43 pc systemd[582]: pulseaudio.service: Service hold-off time over, scheduling restart.
mai 01 12:08:43 pc systemd[582]: Stopped Sound Service.
mai 01 12:08:43 pc systemd[582]: Starting Sound Service...
mai 01 12:08:43 pc chromium.desktop[6751]: Received signal 11 SEGV_MAPERR 000000000968
mai 01 12:08:43 pc rtkit-daemon[443]: Successfully made thread 11617 of process 11617 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
mai 01 12:08:43 pc rtkit-daemon[443]: Supervising 1 threads of 1 processes of 1 users.
mai 01 12:08:43 pc pulseaudio[11617]: W: [pulseaudio] pid.c: Stale PID file, overwriting.
mai 01 12:08:43 pc chromium.desktop[6751]: #0 0x560e83f2f056 <unknown>
mai 01 12:08:43 pc chromium.desktop[6751]: #1 0x560e83f2f409 <unknown>
mai 01 12:08:43 pc chromium.desktop[6751]: #2 0x7fe678597fe0 <unknown>
mai 01 12:08:43 pc chromium.desktop[6751]: #3 0x7fe67717b393 XInternAtoms
mai 01 12:08:43 pc chromium.desktop[6751]: #4 0x560e84848da9 <unknown>
mai 01 12:08:43 pc chromium.desktop[6751]: #5 0x560e84895b25 <unknown>
mai 01 12:08:43 pc chromium.desktop[6751]: #6 0x560e84895bd5 <unknown>
mai 01 12:08:43 pc chromium.desktop[6751]: #7 0x560e84899bab <unknown>
mai 01 12:08:43 pc chromium.desktop[6751]: #8 0x560e87937634 <unknown>
mai 01 12:08:43 pc chromium.desktop[6751]: #9 0x560e8793768b <unknown>
mai 01 12:08:43 pc chromium.desktop[6751]: #10 0x560e85d313e9 <unknown>
mai 01 12:08:43 pc chromium.desktop[6751]: #11 0x560e83b6fde8 <unknown>
mai 01 12:08:43 pc chromium.desktop[6751]: #12 0x560e83b6ebf1 <unknown>
mai 01 12:08:43 pc chromium.desktop[6751]: #13 0x560e8255f644 ChromeMain
mai 01 12:08:43 pc chromium.desktop[6751]: #14 0x7fe670238511 __libc_start_main
mai 01 12:08:43 pc chromium.desktop[6751]: #15 0x560e8255f4da _start
mai 01 12:08:43 pc chromium.desktop[6751]:   r8: 0000199f286cdc60  r9: fffffffd4f8bed45 r10: ffffe66267fb00d5 r11: 0000000000000246
mai 01 12:08:43 pc chromium.desktop[6751]:  r12: 0000560e8abd3ce0 r13: 0000000000000000 r14: 0000000000000015 r15: 0000000000000000
mai 01 12:08:43 pc chromium.desktop[6751]:   di: 0000000000000000  si: 0000560e8abd3ce0  bp: 0000000000000015  bx: 0000199f286cdc60
mai 01 12:08:43 pc chromium.desktop[6751]:   dx: 0000000000000015  ax: 0000000000000000  cx: 0000000000000000  sp: 00007ffe2f04fe70
mai 01 12:08:43 pc chromium.desktop[6751]:   ip: 00007fe67717b393 efl: 0000000000010246 cgf: 002b000000000033 erf: 0000000000000004
mai 01 12:08:43 pc chromium.desktop[6751]:  trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000968
mai 01 12:08:43 pc chromium.desktop[6751]: [end of stack trace]
mai 01 12:08:43 pc chromium.desktop[6751]: Calling _exit(1). Core file will not be generated.
mai 01 12:08:43 pc rtkit-daemon[443]: Supervising 1 threads of 1 processes of 1 users.
mai 01 12:08:43 pc rtkit-daemon[443]: Successfully made thread 11619 of process 11617 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
mai 01 12:08:43 pc rtkit-daemon[443]: Supervising 2 threads of 1 processes of 1 users.
mai 01 12:08:43 pc rtkit-daemon[443]: Supervising 2 threads of 1 processes of 1 users.
mai 01 12:08:43 pc rtkit-daemon[443]: Successfully made thread 11620 of process 11617 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
mai 01 12:08:43 pc rtkit-daemon[443]: Supervising 3 threads of 1 processes of 1 users.
mai 01 12:08:43 pc dbus[342]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
mai 01 12:08:43 pc dbus[342]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service not found.
mai 01 12:08:43 pc systemd[582]: Started Sound Service.
mai 01 12:08:43 pc pulseaudio[11617]: E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.
mai 01 12:08:45 pc systemd-coredump[11613]: Process 630 (gnome-shell) of user 1000 dumped core.
                                            
                                            Stack trace of thread 630:
                                            #0  0x00007f09ccfb3a10 raise (libc.so.6)
                                            #1  0x00007f09ccfb513a abort (libc.so.6)
                                            #2  0x00007f09ccff22b0 __libc_message (libc.so.6)
                                            #3  0x00007f09ccff890e malloc_printerr (libc.so.6)
                                            #4  0x00007f09ccff911e _int_free (libc.so.6)
                                            #5  0x00007f09cf47ea63 n/a (libgjs.so.0)
                                            #6  0x00007f09c86a7c73 n/a (libmozjs-38.so)
                                            #7  0x00007f09c8702a3c n/a (libmozjs-38.so)
                                            #8  0x00007f09c86a8f61 n/a (libmozjs-38.so)
                                            #9  0x00007f09c86be733 n/a (libmozjs-38.so)
                                            #10 0x00007f09c86bf172 n/a (libmozjs-38.so)
                                            #11 0x00007f09c86c0f18 n/a (libmozjs-38.so)
                                            #12 0x00007f09c86c18c0 n/a (libmozjs-38.so)
                                            #13 0x00007f09c86c1b0d n/a (libmozjs-38.so)
                                            #14 0x00007f09c86c1ed4 n/a (libmozjs-38.so)
                                            #15 0x00007f09cf492ee9 gjs_schedule_gc_if_needed (libgjs.so.0)
                                            #16 0x00007f09cf492f54 gjs_call_function_value (libgjs.so.0)
                                            #17 0x00007f09cf46e0a5 gjs_closure_invoke (libgjs.so.0)
                                            #18 0x00007f09cf485dcc n/a (libgjs.so.0)
                                            #19 0x00007f09cd865f75 g_closure_invoke (libgobject-2.0.so.0)
                                            #20 0x00007f09cd877f82 n/a (libgobject-2.0.so.0)
                                            #21 0x00007f09cd880bdc g_signal_emit_valist (libgobject-2.0.so.0)
                                            #22 0x00007f09cd880fbf g_signal_emit (libgobject-2.0.so.0)
                                            #23 0x00007f09cdb7053c n/a (libgio-2.0.so.0)
                                            #24 0x00007f09cdb5fe74 n/a (libgio-2.0.so.0)
                                            #25 0x00007f09cd58c66a g_main_context_dispatch (libglib-2.0.so.0)
                                            #26 0x00007f09cd58ca20 n/a (libglib-2.0.so.0)
                                            #27 0x00007f09cd58cd42 g_main_loop_run (libglib-2.0.so.0)
                                            #28 0x00007f09ced4bd0c meta_run (libmutter-0.so.0)
                                            #29 0x0000000000401ff7 main (gnome-shell)
                                            #30 0x00007f09ccfa0511 __libc_start_main (libc.so.6)
                                            #31 0x000000000040212a n/a (gnome-shell)
                                            
                                            Stack trace of thread 676:
                                            #0  0x00007f09cd331756 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                            #1  0x00007f09c0201500 PR_WaitCondVar (libnspr4.so)
                                            #2  0x00007f09c8384811 n/a (libmozjs-38.so)
                                            #3  0x00007f09c0206d8c n/a (libnspr4.so)
                                            #4  0x00007f09cd32b2e7 start_thread (libpthread.so.0)
                                            #5  0x00007f09cd06c54f __clone (libc.so.6)
                                            
                                            Stack trace of thread 674:
                                            #0  0x00007f09cd331756 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                            #1  0x00007f09c0201500 PR_WaitCondVar (libnspr4.so)
                                            #2  0x00007f09c8384811 n/a (libmozjs-38.so)
                                            #3  0x00007f09c0206d8c n/a (libnspr4.so)
                                            #4  0x00007f09cd32b2e7 start_thread (libpthread.so.0)
                                            #5  0x00007f09cd06c54f __clone (libc.so.6)
                                            
                                            Stack trace of thread 678:
                                            #0  0x00007f09cd331756 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                            #1  0x00007f09c0201500 PR_WaitCondVar (libnspr4.so)
                                            #2  0x00007f09c8384811 n/a (libmozjs-38.so)
                                            #3  0x00007f09c0206d8c n/a (libnspr4.so)
                                            #4  0x00007f09cd32b2e7 start_thread (libpthread.so.0)
                                            #5  0x00007f09cd06c54f __clone (libc.so.6)
                                            
                                            Stack trace of thread 677:
                                            #0  0x00007f09cd331756 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                            #1  0x00007f09c0201500 PR_WaitCondVar (libnspr4.so)
                                            #2  0x00007f09c8384811 n/a (libmozjs-38.so)
                                            #3  0x00007f09c0206d8c n/a (libnspr4.so)
                                            #4  0x00007f09cd32b2e7 start_thread (libpthread.so.0)
                                            #5  0x00007f09cd06c54f __clone (libc.so.6)
                                            
                                            Stack trace of thread 679:
                                            #0  0x00007f09cd331756 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                            #1  0x00007f09c0201500 PR_WaitCondVar (libnspr4.so)
                                            #2  0x00007f09c8384811 n/a (libmozjs-38.so)
                                            #3  0x00007f09c0206d8c n/a (libnspr4.so)
                                            #4  0x00007f09cd32b2e7 start_thread (libpthread.so.0)
                                            #5  0x00007f09cd06c54f __clone (libc.so.6)
                                            
                                            Stack trace of thread 675:
                                            #0  0x00007f09cd331756 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                            #1  0x00007f09c0201500 PR_WaitCondVar (libnspr4.so)
                                            #2  0x00007f09c8384811 n/a (libmozjs-38.so)
                                            #3  0x00007f09c0206d8c n/a (libnspr4.so)
                                            #4  0x00007f09cd32b2e7 start_thread (libpthread.so.0)
                                            #5  0x00007f09cd06c54f __clone (libc.so.6)
                                            
                                            Stack trace of thread 670:
                                            #0  0x00007f09cd06267d poll (libc.so.6)
                                            #1  0x00007f09c93a7ee1 n/a (libpulse.so.0)
                                            #2  0x00007f09c93996f1 pa_mainloop_poll (libpulse.so.0)
                                            #3  0x00007f09c9399d8e pa_mainloop_iterate (libpulse.so.0)
                                            #4  0x00007f09c9399e40 pa_mainloop_run (libpulse.so.0)
                                            #5  0x00007f09c93a7e29 n/a (libpulse.so.0)
                                            #6  0x00007f09beab7fe8 n/a (libpulsecommon-10.0.so)
                                            #7  0x00007f09cd32b2e7 start_thread (libpthread.so.0)
                                            #8  0x00007f09cd06c54f __clone (libc.so.6)
                                            
                                            Stack trace of thread 680:
                                            #0  0x00007f09cd331756 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                            #1  0x00007f09c0201500 PR_WaitCondVar (libnspr4.so)
                                            #2  0x00007f09c8384811 n/a (libmozjs-38.so)
                                            #3  0x00007f09c0206d8c n/a (libnspr4.so)
                                            #4  0x00007f09cd32b2e7 start_thread (libpthread.so.0)
                                            #5  0x00007f09cd06c54f __clone (libc.so.6)
                                            
                                            Stack trace of thread 631:
                                            #0  0x00007f09cd06267d poll (libc.so.6)
                                            #1  0x00007f09cd58c9b6 n/a (libglib-2.0.so.0)
                                            #2  0x00007f09cd58cacc g_main_context_iteration (libglib-2.0.so.0)
                                            #3  0x00007f09cd58cb11 n/a (libglib-2.0.so.0)
                                            #4  0x00007f09cd5b4295 n/a (libglib-2.0.so.0)
                                            #5  0x00007f09cd32b2e7 start_thread (libpthread.so.0)
                                            #6  0x00007f09cd06c54f __clone (libc.so.6)
                                            
                                            Stack trace of thread 632:
                                            #0  0x00007f09cd06267d poll (libc.so.6)
                                            #1  0x00007f09cd58c9b6 n/a (libglib-2.0.so.0)
                                            #2  0x00007f09cd58cd42 g_main_loop_run (libglib-2.0.so.0)
                                            #3  0x00007f09cdb73ff6 n/a (libgio-2.0.so.0)
                                            #4  0x00007f09cd5b4295 n/a (libglib-2.0.so.0)
                                            #5  0x00007f09cd32b2e7 start_thread (libpthread.so.0)
                                            #6  0x00007f09cd06c54f __clone (libc.so.6)
                                            
                                            Stack trace of thread 681:
                                            #0  0x00007f09cd331756 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                            #1  0x00007f09c0201500 PR_WaitCondVar (libnspr4.so)
                                            #2  0x00007f09c8384811 n/a (libmozjs-38.so)
                                            #3  0x00007f09c0206d8c n/a (libnspr4.so)
                                            #4  0x00007f09cd32b2e7 start_thread (libpthread.so.0)
                                            #5  0x00007f09cd06c54f __clone (libc.so.6)
                                            
                                            Stack trace of thread 634:
                                            #0  0x00007f09cd06267d poll (libc.so.6)
                                            #1  0x00007f09cd58c9b6 n/a (libglib-2.0.so.0)
                                            #2  0x00007f09cd58cacc g_main_context_iteration (libglib-2.0.so.0)
                                            #3  0x00007f09b144c55d n/a (libdconfsettings.so)
                                            #4  0x00007f09cd5b4295 n/a (libglib-2.0.so.0)
                                            #5  0x00007f09cd32b2e7 start_thread (libpthread.so.0)
                                            #6  0x00007f09cd06c54f __clone (libc.so.6)
mai 01 12:08:45 pc systemd-logind[344]: Removed session c2.
mai 01 12:08:45 pc systemd[1]: Stopping User Manager for UID 1000...
mai 01 12:08:45 pc gvfsd[635]: A connection to the bus can't be made
mai 01 12:08:45 pc systemd[582]: Stopping Virtual filesystem metadata service...
mai 01 12:08:45 pc systemd[582]: Stopping Virtual filesystem service - disk device monitor...
mai 01 12:08:45 pc systemd[582]: Stopping Tracker metadata database store and lookup manager...
mai 01 12:08:45 pc systemd[582]: Stopping Evolution calendar service...
mai 01 12:08:45 pc systemd[582]: Stopping Virtual filesystem service - digital camera monitor...
mai 01 12:08:45 pc systemd[582]: Stopping Virtual filesystem service - Apple File Conduit monitor...
mai 01 12:08:45 pc systemd[582]: Stopped target Default.
mai 01 12:08:45 pc systemd[582]: Stopping Sound Service...
mai 01 12:08:45 pc systemd[582]: Stopping Accessibility services bus...
mai 01 12:08:45 pc systemd[582]: Stopping Virtual filesystem service - Media Transfer Protocol monitor...
mai 01 12:08:45 pc systemd[582]: Stopping Evolution address book service...
mai 01 12:08:45 pc systemd[582]: Stopping D-Bus User Message Bus...
mai 01 12:08:45 pc systemd[582]: Stopping Evolution source registry...
mai 01 12:08:45 pc systemd[582]: Stopping Virtual filesystem service...
mai 01 12:08:45 pc systemd[582]: Stopping Virtual filesystem service - GNOME Online Accounts monitor...
mai 01 12:08:45 pc systemd[582]: Stopped Accessibility services bus.
mai 01 12:08:45 pc systemd[582]: Stopped Evolution source registry.
mai 01 12:08:45 pc systemd[582]: Stopped Virtual filesystem service - disk device monitor.
mai 01 12:08:45 pc systemd[582]: Stopped Virtual filesystem service - Media Transfer Protocol monitor.
mai 01 12:08:45 pc systemd[582]: Stopped Virtual filesystem service - GNOME Online Accounts monitor.
mai 01 12:08:45 pc systemd[582]: Stopped Virtual filesystem service - Apple File Conduit monitor.
mai 01 12:08:45 pc systemd[582]: Stopped Virtual filesystem service - digital camera monitor.
mai 01 12:08:45 pc systemd[582]: Stopped Evolution calendar service.
mai 01 12:08:45 pc systemd[582]: Stopped Evolution address book service.
mai 01 12:08:45 pc systemd[582]: Stopped Virtual filesystem metadata service.
mai 01 12:08:45 pc systemd[582]: Stopped Sound Service.
mai 01 12:08:45 pc systemd[582]: Stopped D-Bus User Message Bus.
mai 01 12:08:45 pc tracker-store[926]: Received signal:15->'Complété'
mai 01 12:08:45 pc tracker-store[926]: OK
mai 01 12:08:45 pc systemd[582]: Stopped Tracker metadata database store and lookup manager.
mai 01 12:08:45 pc systemd[582]: Stopped Virtual filesystem service.
mai 01 12:08:45 pc systemd[582]: Stopped target Basic System.
mai 01 12:08:45 pc systemd[582]: Stopped target Paths.
mai 01 12:08:45 pc systemd[582]: Stopped target Sockets.
mai 01 12:08:45 pc systemd[582]: Closed Sound System.
mai 01 12:08:45 pc systemd[582]: Stopped target Timers.
mai 01 12:08:45 pc systemd[582]: Closed D-Bus User Message Bus Socket.
mai 01 12:08:45 pc systemd[582]: Reached target Shutdown.
mai 01 12:08:45 pc systemd[582]: Starting Exit the Session...
mai 01 12:08:45 pc systemd[582]: Received SIGRTMIN+24 from PID 11647 (kill).
mai 01 12:08:45 pc systemd[583]: pam_unix(systemd-user:session): session closed for user user
mai 01 12:08:45 pc systemd[1]: Stopped User Manager for UID 1000.
mai 01 12:08:45 pc systemd[1]: Removed slice User Slice of user.

Before that there are some messages about "Totem video thumbnailer" being unable to create thumbnails of some files in my Downloads directory ; I'm not including it because it contains personal info.

There is one of these I/O errors not long before that, but looking at the other crashes it doesn't seem related.

I really don't know what to make of all of this. How can I disable USB autosuspend like you said ?

Last edited by sizprog (2017-05-07 08:57:43)

Offline

#4 2017-05-07 11:29:34

seth
Member
Registered: 2012-09-03
Posts: 51,064

Re: [Apparently solved] Random kernel panic when a USB drive is plugged

https://wiki.archlinux.org/index.php/Po … utosuspend

Passing -1 instead of 5 to the kernel parameter should disable usb autosuspend entirely (causing *slight* more battery drain)
Tools like powertop allow you to control this individually through a GUI (well, it's a curses "GUI" ;-)

gnome-shell aborts, looks like https://bugs.archlinux.org/task/53582

The cause could be some applet (so try with a new user or moved gnome config) but also check the behavior in gnome on xorg (you're on wayland)

"Totem video thumbnailer" being unable to create thumbnails of some files in my Downloads directory

The thumbnailer may stumble on incompliant media - the question is whether you can dd or cp such file w/o causing I/O errors.

Offline

#5 2017-05-07 11:57:42

sizprog
Member
Registered: 2017-05-01
Posts: 3

Re: [Apparently solved] Random kernel panic when a USB drive is plugged

After removing GNOME Documents, the crashes seem to have disappeared. But I also just did a kernel update, so what solved the crashes is unclear.

My drive has been plugged in for hours without problems (well, I did notice the same I/O error when I ejected it, but without consequence). I'll assume that it's fixed.

Thank you for helping ! smile

Offline

Board footer

Powered by FluxBB