DebuggingRemovableDevices
|
Size: 2605
Comment: remove pre-dapper stuff, no longer supported
|
Size: 2862
Comment: making terminal commands slightly clearer with indents
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 12: | Line 12: |
| 0. `killall gnome-volume-manager` 0. run `gnome-volume-manager -n 2>&1 | tee gvm.log`[[BR]] and in another terminal |
0. stop gvm [[BR]] `killall gnome-volume-manager` 0. start gvm and capture output [[BR]] `gnome-volume-manager -n 2>&1 | tee gvm.log` 0. and in another terminal, start udevmonitor and capture output [[BR]] |
| Line 20: | Line 22: |
| 0. `lshal > lshal.txt` 0. `dmesg > dmesg.txt` 0. `ls -l /dev/sd* > devices.txt` |
0. capture lshal, dmesg and ls the attached volumes [[BR]] `lshal > lshal.txt` [[BR]] `dmesg > dmesg.txt` [[BR]] `ls -l /dev/sd* > devices.txt` |
| Line 33: | Line 36: |
| 0. `sudo killall hald` 0. run `sudo hald --daemon=no --verbose=yes 2>&1 | tee hal.log` |
0. stop hald [[BR]] `sudo killall hald` 0. start hald while capturing its output [[BR]] `sudo hald --daemon=no --verbose=yes 2>&1 | tee hal.log` |
| Line 37: | Line 42: |
| 0. wait again until no messages appear any more | 0. wait again until no more messages appear |
| Line 39: | Line 44: |
| 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) |
0. Restore the background hal: [[BR]] `sudo /etc/init.d/dbus-1 restart` (in Warty and Hoary)[[BR]] OR [[BR]] `sudo /etc/dbus-1/event.d/20hal start` (in Breezy, Dapper, Edgy and Feisty) |
ContentsBRTableOfContents |
Introduction
Help on debugging removable device issues.
How to report
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
stop gvm BR
killall gnome-volume-manager
start gvm and capture output BR
gnome-volume-manager -n 2>&1 | tee gvm.log
and in another terminal, start udevmonitor and capture output BR
sudo udevmonitor -e | tee udev.log
- connect the device
- wait a few seconds
- Press Control-C to stop the foreground gnome-volume-manager
- press Control-C to stop the udevmonitor
capture lshal, dmesg and ls the attached volumes BR
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
stop hald BR
sudo killall hald
start hald while capturing its output BR
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 more messages appear
- press Control-C to stop the foreground hal
Restore the background hal: BR
- attach hal.log to the bug report
- Restart your desktop session
Debugging procedure
TBD.
Known bugs
Description of known issues, how to recognise them and stock responses/actions.
Open
Bug# |
Description |
Action |
TBD. |
TBD. |
TBD. |
Closed
Bug# |
Description |
Action |
TBD. |
TBD. |
TBD. |
Non-bugs
TBD.
Also see:
DebuggingRemovableDevices (last edited 2011-01-07 14:06:15 by 67-42-160-182)