Ubuntu: Gnome Shell freezes when using external USB drives



Question:

Sometimes my system freezes when I use my external USB HDD (Western Digital 500GB). I am using a freshly upgraded Ubuntu 11.10 installation.

The freeze is not reproducable but always happens right after I unplug the device. The last time it happened right after I clicked the "Eject" Button in the Gnome Shell notification that appears when you plug in an external drive.

It is a real freeze, I have to hard reset the system when it happens.

Any ideas?


Solution:1

As per the launchpad bugs - Upgrading to 3.0.6 kernel should solve the issue. Deb packages are available from; http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.0.6-oneiric/

Installation Guide (for amd64)

  1. Download the kernel headers package;

    http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.0.6-oneiric/linux-headers-3.0.6-030006_3.0.6-030006.201110050043_all.deb

  2. And the appropriate package for your architecture;

    http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.0.6-oneiric/linux-headers-3.0.6-030006-generic_3.0.6-030006.201110050043_amd64.deb

  3. And the accompanying compiled kernel;

    http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.0.6-oneiric/linux-image-3.0.6-030006-generic_3.0.6-030006.201110050043_amd64.deb

  4. Install the files in the same order

  5. In the terminal run: sudo update-grub
  6. Reboot and select the kernel from the bootloader menu


Solution:2

I'm able to replicate the system freeze when using nautilus to un-mount a 1tb WD Passport.

I can safely remove it by calling

sudo umount /media/<MountPoint>  sudo /usr/local/sbin/suspend-usb-device.sh /dev/<disk> -v  

The suspend script is available on github


Solution:3

This is definitely a bug. It happens to me on Unity too. I tried the script suspend-usb-device but my system got frozen again.

Opened bug on launchpad: https://bugs.launchpad.net/ubuntu/+source/ntfs-3g/+bug/878294


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »