DebuggingRemovableDevices

Differences between revisions 2 and 3
Revision 2 as of 2005-07-30 09:25:11
Size: 1343
Editor: 195
Comment: updated hal call for breezy
Revision 3 as of 2005-08-16 15:19:56
Size: 1394
Editor: 195
Comment: add device permission debugging
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
 0. attach `gvm.log`, `lshal.txt`, and `dmesg.txt` to the bug report  0. `ls -l /dev/sd* > devices.txt`
0. attach `gvm.log`, `lshal.txt`, `devices.txt`, and `dmesg.txt` to the bug report

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:

  1. disconnect the device
  2. killall gnome-volume-manager

  3. gnome-volume-manager 2>&1 | tee gvm.log

  4. connect the device
  5. wait a few seconds
  6. Press Control-C to stop the foreground gnome-volume-manager
  7. lshal > lshal.txt

  8. dmesg > dmesg.txt

  9. ls -l /dev/sd* > devices.txt

  10. attach gvm.log, lshal.txt, devices.txt, and dmesg.txt to the bug report

  11. restart your Gnome session to get a proper background g-v-m back
  12. paste the output of id 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:

  1. disconnect the device
  2. sudo killall hald

  3. In Warty and Hoary:
    • sudo hald --drop-privileges --daemon=no --verbose=yes 2>&1 | tee hal.log

    In Breezy:
    • sudo hald --daemon=no --verbose=yes 2>&1 | tee hal.log

  4. wait until the flood of messages settled
  5. connect the device
  6. wait again until no messages appear any more
  7. press Control-C to stop the foreground hal
  8. sudo /etc/init.d/dbus-1 restart to properly restore the background hal

  9. attach hal.log to the bug report

DebuggingRemovableDevices (last edited 2011-01-07 14:06:15 by 67-42-160-182)