After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 164367 - gpilotd makes trouble with USB storage drives
gpilotd makes trouble with USB storage drives
Status: RESOLVED NOTGNOME
Product: gnome-pilot
Classification: Other
Component: gpilotd
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-pilot Maintainers
gnome-pilot Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-01-17 17:18 UTC by Silvio Moioli
Modified: 2005-06-28 11:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Silvio Moioli 2005-01-17 17:18:46 UTC
Start gpilotd (I do that from the applet), make sure it's up and running (eg.
HotSync).
Now insert into another USB port a usb-storage drive (eg. a USB pen drive or a
card reader. I have this problem both with my 64mb pen and my 4-in-1 card
reader). Mount, and do a time-consuming operation, like copying an mp3 (like 5
megs or so). The copy will fail, you'll have to umount and remount everything.


"uname -a"'s output: Linux localhost.localdomain 2.6.10-1.9_FC2 #1 Thu Jan 13
17:54:57 EST 2005 i686 athlon i386 GNU/Linux
"yum info gnome-pilot"s output:
Looking in Installed Packages:
Name   : gnome-pilot
Arch   : i386
Version: 2.0.10
Release: 6.1
Size   : 1.39 MB
Group  : Applicazioni/Comunicazioni
Repo   : Locally Installed


"dmesg"'s output (last lines right after the problem):

Attached scsi generic sg5 at scsi4, channel 0, id 0, lun 3,  type 0
FAT: "fat=16" option is obsolete, not supported now
usb 2-2: gpilotd timed out on ep0in
usb 2-2: reset full speed USB device using uhci_hcd and address 8
usb 2-2: device descriptor read/64, error -71
usb 2-2: device descriptor read/64, error -71
usb 2-2: reset full speed USB device using uhci_hcd and address 8
usb 2-2: device descriptor read/64, error -71
usb 2-2: device descriptor read/64, error -71
scsi: Device offlined - not ready after error recovery: host 4 channel 0 id 0 lun 2
SCSI error : <4 0 0 2> return code = 0x50000
end_request: I/O error, dev sde, sector 53
usb 2-2: USB disconnect, address 8
scsi4 (0:2): rejecting I/O to offline device
Buffer I/O error on device sde1, logical block 1
lost page write due to I/O error on sde1
Buffer I/O error on device sde1, logical block 2
lost page write due to I/O error on sde1
scsi4 (0:2): rejecting I/O to offline device
Buffer I/O error on device sde1, logical block 13
lost page write due to I/O error on sde1
scsi4 (0:2): rejecting I/O to offline device
Buffer I/O error on device sde1, logical block 25
lost page write due to I/O error on sde1
scsi4 (0:2): rejecting I/O to offline device
Buffer I/O error on device sde1, logical block 3065
lost page write due to I/O error on sde1
Buffer I/O error on device sde1, logical block 3066
lost page write due to I/O error on sde1
Buffer I/O error on device sde1, logical block 3067
lost page write due to I/O error on sde1
scsi4 (0:2): rejecting I/O to offline device
Buffer I/O error on device sde1, logical block 107513
lost page write due to I/O error on sde1
Buffer I/O error on device sde1, logical block 107514
lost page write due to I/O error on sde1
scsi4 (0:2): rejecting I/O to device being removed
Buffer I/O error on device sde1, logical block 25
lost page write due to I/O error on sde1
scsi4 (0:2): rejecting I/O to device being removed
FAT: bread(block 1) in fat_access failed
scsi4 (0:2): rejecting I/O to device being removed
FAT: bread(block 1) in fat_access failed
usb 2-2: new full speed USB device using uhci_hcd and address 9
usb 2-2: device descriptor read/64, error -71
usb 2-2: device descriptor read/64, error -71
usb 2-2: new full speed USB device using uhci_hcd and address 10
usb 2-2: device descriptor read/64, error -71
usb 2-2: device descriptor read/64, error -71
scsi4 (0:2): rejecting I/O to dead device
FAT: unable to read inode block for updating (i_pos 412)
scsi4 (0:2): rejecting I/O to dead device
FAT: unable to read inode block for updating (i_pos 412)


-- 
Silvio Moioli
moio AT tiscali DOT it (no HTML email please!)
http://www.moioli.tk

"Things should be as simple as possible, but not any simpler" (A.
Einstein)
Comment 1 David A. Desrosiers 2005-01-17 17:38:54 UTC
First, make sure you're running the latest gnome-pilot (in your case, your
version is over 18 months old, and 2 versions back). 

Second, make sure you're running the latest stable kernel. I don't run Fedora
Core 2, so I can't be sure that your kernel is the latest. 

Third, report kernel bugs to the kernel maintainers, not to the GNOME project.
The important error here is the following line: 

scsi: Device offlined - not ready after error recovery: host 4 channel 0 id 0 lun 2

This looks like a kernel bug, and it should be reported to the Fedora Core 2
kernel maintainers for resolution. 
Comment 2 Silvio Moioli 2005-01-17 21:06:29 UTC
Thank you very much. Since I'm using FC2 (so in theory I should keep using this
gnome-pilot version, even if outdated) then I'll probably better ask the Fedora
team about this issue. I'm using the latest stable kernel anyway.
I posted the bug here because I wasn't smart enough to think about a kernel
problem: I thought it was due to a gnome-pilot problem, I'm sorry.

Thanks very much anyway

-- 
Silvio Moioli
moio AT tiscali DOT it (no HTML email please!)
http://www.moioli.tk

"Things should be as simple as possible, but not any simpler" (A.
Einstein)
Comment 3 Silvio Moioli 2005-04-17 18:53:41 UTC
As you suggested I reported the bug to Fedora developers without any result.
Now I switched to Ubuntu GNU/Linux 5.04 (Hoary), with kernel 2.6.10-5-386 (the
distro default), gnome-pilot 2.0.12 and the problem persists, with various USB
drives I tried (pen drives, CF readers, etc.)
I'll be filling a Bugzilla report in Ubuntu as well, but wanted to report here
too, since it doesn't seem to be a distro-specific problem.

-- 
Silvio Moioli
www.moioli.net
silvio at moioli dot net
"Things should be as simple as possible, but not any simpler" Einstein