DebuggingRemovableDevices
DebuggingRemovableDevices
When reporting a problem with removable devices, such as USB storage devices ("keys", hard drives, card readers, music players, digital cameras, etc.), please do the following steps:
- disconnect the device
killall gnome-volume-manager
- In Warty, Hoary, Breezy:
gnome-volume-manager 2>&1 | tee gvm.log In Dapper: gnome-volume-manager --no-daemon 2>&1 | tee gvm.log
- connect the device
- wait a few seconds
- Press Control-C to stop the foreground gnome-volume-manager
lshal > lshal.txt
dmesg > dmesg.txt
ls -l /dev/sd* > devices.txt
attach gvm.log, lshal.txt, devices.txt, and dmesg.txt to the bug report
- restart your Gnome session to get a proper background g-v-m back
paste the output of id into the bug report
paste the output of id hal into the bug report
paste the output of uname -a into the bug report
In easy cases this is everything that is needed. However, you might be asked for a "hal debug output"; please do the following steps to get it:
- disconnect the device
sudo killall hald
- In Warty and Hoary:
sudo hald --drop-privileges --daemon=no --verbose=yes 2>&1 | tee hal.log
sudo hald --daemon=no --verbose=yes 2>&1 | tee hal.log
- wait until the flood of messages settled
- connect the device
- wait again until no messages appear any more
- press Control-C to stop the foreground hal
- Restore the background hal:
sudo /etc/init.d/dbus-1 restart (in Warty and Hoary)
sudo /etc/dbus-1/event.d/20hal start (in Breezy)
- attach hal.log to the bug report