DebuggingRemovableDevices
|
Size: 1247
Comment: imported from the old wiki
|
Size: 2021
Comment: faster way to restart g-v-m
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 7: | Line 7: |
| 0. `gnome-volume-manager 2>&1 | tee gvm.log` | 0. In Ubuntu 5.10 (Breezy Badger) and older `gnome-volume-manager 2>&1 | tee gvm.log` In Ubuntu 6.06 (Dapper Drake) : `gnome-volume-manager -n 2>&1 | tee gvm.log`[[BR]] and in another terminal `sudo udevmonitor -e | tee udev.log` |
| Line 11: | Line 16: |
| 0. In Dapper press Control-C to stop the udevmonitor | |
| Line 13: | Line 19: |
| 0. attach `gvm.log`, `lshal.txt`, and `dmesg.txt` to the bug report 0. restart your Gnome session to get a proper background g-v-m back |
0. `ls -l /dev/sd* > devices.txt` 0. attach `gvm.log`, `lshal.txt`, `devices.txt`, `dmesg.txt` and `udev.log` (dapper only) to the bug report 0. Press Alt-F2 and type `gnome-volume-manager` to get your background g-v-m back (or just log out and back in again) |
| Line 16: | Line 24: |
| 0. paste the output of `id hal` into the bug report 0. paste the output of `id haldaemon` into the bug report 0. paste the output of `uname -a` into the bug report |
|
| Line 21: | Line 32: |
| 0. `sudo hald --drop-privileges --daemon=no --verbose=yes 2>&1 | tee hal.log` | 0. In Warty and Hoary: `sudo hald --drop-privileges --daemon=no --verbose=yes 2>&1 | tee hal.log` In Breezy and Dapper: `sudo hald --daemon=no --verbose=yes 2>&1 | tee hal.log` |
| Line 26: | Line 40: |
| 0. `sudo /etc/init.d/dbus-1 restart` to properly restore the background hal | 0. 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 and Dapper) |
| Line 28: | Line 44: |
| 0. Restart your desktop session |
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 Ubuntu 5.10 (Breezy Badger) and older
gnome-volume-manager 2>&1 | tee gvm.log
gnome-volume-manager -n 2>&1 | tee gvm.logBR
sudo udevmonitor -e | tee udev.log
- connect the device
- wait a few seconds
- Press Control-C to stop the foreground gnome-volume-manager
- In Dapper press Control-C to stop the udevmonitor
lshal > lshal.txt
dmesg > dmesg.txt
ls -l /dev/sd* > devices.txt
attach gvm.log, lshal.txt, devices.txt, dmesg.txt and udev.log (dapper only)
to the bug report
Press Alt-F2 and type gnome-volume-manager to get your background g-v-m back (or just log out and back in again)
paste the output of id into the bug report
paste the output of id hal into the bug report
paste the output of id haldaemon 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 and Dapper)
- attach hal.log to the bug report
- Restart your desktop session
DebuggingRemovableDevices (last edited 2011-01-07 14:06:15 by 67-42-160-182)