--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: USB mass storage devica (Pentax Optio E50 camera) is not accesible with USB cable
- From: Virgo Pärna <virgo.parna@mail.ee>
- Date: Sat, 11 Oct 2008 21:28:08 +0300
- Message-id: <20081011182808.4059.82781.reportbug@localhost>
Package: kernel
Severity: important
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
After updating laptop form etch to lenny and updating kernel also
computer will no longer find my Pentax Optio E50 compact camera.
It used to work fine in etch and also, if I reboot computer to Windows XP,
then the camera works also fine.
dmesg log about it:
[ 1767.740389] usb 4-3: New USB device found, idVendor=0a17, idProduct=00a7
[ 1767.740398] usb 4-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1767.740402] usb 4-3: Product: Optio E50
[ 1767.740404] usb 4-3: Manufacturer: PENTAX Corporation
[ 1767.740407] usb 4-3: SerialNumber: 1153315
[ 1767.740674] usb-storage: device found at 8
[ 1767.740679] usb-storage: waiting for device to settle before scanning
[ 1772.740378] usb-storage: device scan complete
[ 1772.741101] scsi 6:0:0:0: Direct-Access PENTAX Optio E50 1.00 PQ: 0 ANSI: 0 CCS
[ 1772.785869] sd 6:0:0:0: [sda] 4022273 512-byte hardware sectors (2059 MB)
[ 1772.786496] sd 6:0:0:0: [sda] Write Protect is off
[ 1772.786502] sd 6:0:0:0: [sda] Mode Sense: 00 00 00 00
[ 1772.786505] sd 6:0:0:0: [sda] Assuming drive cache: write through
[ 1772.788491] sd 6:0:0:0: [sda] 4022273 512-byte hardware sectors (2059 MB)
[ 1772.789121] sd 6:0:0:0: [sda] Write Protect is off
[ 1772.789128] sd 6:0:0:0: [sda] Mode Sense: 00 00 00 00
[ 1772.789130] sd 6:0:0:0: [sda] Assuming drive cache: write through
[ 1772.789134] sda: sda1
[ 1772.791321] sd 6:0:0:0: [sda] Attached SCSI removable disk
[ 1777.140146] usb 4-3: reset high speed USB device using ehci_hcd and address 8
[ 1792.252149] usb 4-3: device descriptor read/64, error -110
[ 1807.468156] usb 4-3: device descriptor read/64, error -110
[ 1807.684160] usb 4-3: reset high speed USB device using ehci_hcd and address 8
I tried to remove ehci_hcd module, but it did not help.
Also, changing /sys/block/sda/device/max_sectors to smaller value did not help.
I am also including loaded kernel module list:
Module Size Used by
ehci_hcd 28428 0
sd_mod 22200 0
usb_storage 75936 0
ip6t_REJECT 3488 1
nf_conntrack_ipv6 12084 1
ip6table_filter 2432 1
ip6_tables 11376 1 ip6table_filter
ipt_REJECT 2784 1
xt_tcpudp 2816 2
xt_state 2016 2
iptable_filter 2624 1
nf_conntrack_irc 5124 0
nf_conntrack_ftp 6852 0
ipt_LOG 5028 0
ip_tables 10160 1 iptable_filter
x_tables 13284 7 ip6t_REJECT,ip6_tables,ipt_REJECT,xt_tcpudp,xt_state,ipt_LOG,ip_tables
nf_conntrack_ipv4 12268 1
nf_conntrack 55508 5 nf_conntrack_ipv6,xt_state,nf_conntrack_irc,nf_conntrack_ftp,nf_conntrack_ipv4
i915 25280 2
drm 65256 3 i915
binfmt_misc 7528 1
ipv6 235300 14 ip6t_REJECT,nf_conntrack_ipv6
ppdev 6468 0
parport_pc 22500 0
lp 8164 0
parport 30988 3 ppdev,parport_pc,lp
cpufreq_userspace 3172 0
cpufreq_stats 3776 0
cpufreq_powersave 1856 0
cpufreq_ondemand 6476 0
freq_table 4224 2 cpufreq_stats,cpufreq_ondemand
cpufreq_conservative 5960 0
dm_snapshot 14340 0
dm_mirror 15104 0
dm_log 8452 1 dm_mirror
dm_mod 46184 3 dm_snapshot,dm_mirror,dm_log
fuse 42908 1
ieee80211_crypt_tkip 8064 0
ieee80211 27048 0
ieee80211_crypt_ccmp 4992 0
ieee80211_crypt 5124 3 ieee80211_crypt_tkip,ieee80211,ieee80211_crypt_ccmp
loop 12748 0
joydev 8480 0
pcmcia 29548 0
firmware_class 6816 1 pcmcia
snd_intel8x0 26268 1
snd_intel8x0m 12492 0
snd_ac97_codec 88484 2 snd_intel8x0,snd_intel8x0m
ac97_bus 1728 1 snd_ac97_codec
yenta_socket 20620 1
rsrc_nonstatic 9504 1 yenta_socket
snd_seq_dummy 2660 0
pcmcia_core 31892 3 pcmcia,yenta_socket,rsrc_nonstatic
psmouse 32336 0
serio_raw 4740 0
snd_seq_oss 24992 0
snd_seq_midi 5728 0
snd_rawmidi 18560 1 snd_seq_midi
snd_seq_midi_event 6432 2 snd_seq_oss,snd_seq_midi
snd_pcm_oss 32800 0
snd_mixer_oss 12320 1 snd_pcm_oss
snd_seq 41456 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_pcm 62628 4 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss
i2c_i801 7920 0
snd_seq_device 6380 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
rng_core 3940 0
i2c_core 19828 1 i2c_i801
snd_timer 17800 2 snd_seq,snd_pcm
pcspkr 2432 0
snd 45604 13
snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_seq_oss,snd_rawmidi,snd_pcm_oss,snd_mixer_oss,snd_seq,snd_pcm,snd_seq_device,snd_timer
soundcore 6368 1 snd
snd_page_alloc 7816 3 snd_intel8x0,snd_intel8x0m,snd_pcm
shpchp 25528 0
iTCO_wdt 9508 0
pci_hotplug 23460 1 shpchp
battery 10180 0
container 3456 0
video 16400 0
ac 4196 0
output 2912 1 video
button 6064 0
intel_agp 22300 1
agpgart 28776 3 drm,intel_agp
led_class 3908 0
evdev 8000 8
wmi 6440 0
jfs 148812 2
nls_base 6820 1 jfs
ide_cd_mod 27652 0
cdrom 30176 1 ide_cd_mod
ide_disk 10496 4
8139too 20320 0
piix 6568 0 [permanent]
ide_pci_generic 3908 0 [permanent]
ide_core 92628 4 ide_cd_mod,ide_disk,piix,ide_pci_generic
8139cp 16800 0
mii 4896 2 8139too,8139cp
ata_generic 4676 0
libata 140416 1 ata_generic
scsi_mod 129356 3 sd_mod,usb_storage,libata
dock 8272 1 libata
uhci_hcd 18672 0
usbcore 118160 4 ehci_hcd,usb_storage,uhci_hcd
thermal 15228 0
processor 32576 2 thermal
fan 4164 0
thermal_sys 10856 4 video,thermal,processor,fan
--- End Message ---
--- Begin Message ---
- To: Virgo Pärna <virgo@gaiasoft.ee>
- Cc: 501935-done@bugs.debian.org
- Subject: Re: Bug#501935: Info received (USB mass storage devica (Pentax Optio E50 camera) is not accesible with USB cable)
- From: Moritz Muehlenhoff <jmm@inutil.org>
- Date: Mon, 28 Dec 2009 15:06:07 +0100
- Message-id: <20091228140607.GA14168@galadriel.inutil.org>
- In-reply-to: <499674C7.6070909@gaiasoft.ee>
- References: <4984549A.7030506@mail.ee> <handler.501935.B501935.12334091145385.ackinfo@bugs.debian.org> <499674C7.6070909@gaiasoft.ee>
Version: 2.6.29-1
On Sat, Feb 14, 2009 at 09:37:43AM +0200, Virgo Pärna wrote:
> Newest kernels should now have workarounds in it (2.6.27 should also
> have it backported - but not for 2.6.26 (I think)). The problem was,
> that several devices report invalid sector count (1 more then there is)
> and that causes problems, when attempt is made to read last sector.
> Newest kernels have workaround for all Nikon, Pentax, Nokia and Motorola
> devices. I'm also including entire message text about adding update to
> 2.6.27 tree. But udev change helped to work around it in existing system.
Fixed in 2.6.29. We're currently focusing on the upcoming release based
on 2.6.32, for Lenny please run a kernel from backports.org for now.
Cheers,
Moritz
--- End Message ---