Web Hosting Forum - Hosting Reviews, Web Hosting Discussion ForumCalendarContact Us

Welcome to the Web Hosting Forum - Hosting Reviews, Web Hosting Discussion Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content etc.

By registering you have access to many other special features, Like personal blogs, your own personal forum, extended profiles, posting of your resume, free links, photo galleries, auctions etc. We are Web 2.0 Compliant .

We also reward our posters and referals with free hosting, domains, prizes etc. Even earn points for reading posts. We offer contests, and events that are sure to please anyone in the hosting industry, web developer or SEO at heart.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   Web Hosting Forum - Hosting Reviews, Web Hosting Discussion Forum > The Operating Systems > Linux Hardware & Software > Misc Topics

Misc Topics Got something that dont fit, well jam it in here hehe.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 01-08-2007, 11:10 PM
Christoph Bier
 
Posts: n/a
[2.6.19] Problems with USB mass storage devices

Hi all,

some weeks ago I upgraded my kernel from 2.6.10-mh1 to 2.6.19 (using
the old .config file) on my desktop machine. Since then I have
problems using my card reader and my external USB HDD. The card
reader isn't assigned to a device file (sometimes it works, most of
the time it doesn't) and there are I/O errors (see below). Thus I
can't access the card reader. With kernel 2.6.19 I didn't have such
problems. And there are I/O errors with the USB HDD. The card
reader, the xD-card and the USB HDD are not broken because they work
on my laptop without any problem.

I use Debian Sarge on my desktop and Ubuntu Edgy on my laptop.
Further information follow:

-->1-----------------------------------------------------------------
Output from /var/log/messages while connecting the card reader with
the xD-card plugged in:

Jan 3 15:00:53 localhost kernel: usb 5-8: new high speed USB device
using ehci_hcd and address 6
Jan 3 15:00:53 localhost kernel: usb 5-8: Product: Card Reader
Jan 3 15:00:53 localhost kernel: usb 5-8: Manufacturer: Hama
Jan 3 15:00:53 localhost kernel: usb 5-8: SerialNumber: 000000000013
Jan 3 15:00:53 localhost kernel: usb 5-8: configuration #1 chosen
from 1 choice
Jan 3 15:00:53 localhost kernel: scsi4 : SCSI emulation for USB
Mass Storage devices
Jan 3 15:00:58 localhost kernel: scsi 4:0:0:0: Direct-Access
Hama CF Card Reader 9317 PQ: 0 ANSI: 0
Jan 3 15:00:58 localhost kernel: SCSI device sda: 512000 512-byte
hdwr sectors (262 MB)
Jan 3 15:00:58 localhost kernel: sda: Write Protect is off
Jan 3 15:00:58 localhost kernel: SCSI device sda: 512000 512-byte
hdwr sectors (262 MB)
Jan 3 15:00:58 localhost kernel: sda: Write Protect is off
Jan 3 15:00:58 localhost kernel: sda:<7>ehci_hcd 0000:00:10.4:
devpath 8 ep1in 3strikes
Jan 3 15:00:59 localhost kernel: usb 5-8: USB disconnect, address 6
Jan 3 15:00:59 localhost kernel: sd 4:0:0:0: SCSI error: return
code = 0x00010000
Jan 3 15:00:59 localhost kernel: end_request: I/O error, dev sda,
sector 0
Jan 3 15:00:59 localhost kernel: sd 4:0:0:0: SCSI error: return
code = 0x00010000
Jan 3 15:00:59 localhost kernel: end_request: I/O error, dev sda,
sector 0
Jan 3 15:00:59 localhost kernel: unable to read partition table
Jan 3 15:00:59 localhost kernel: sd 4:0:0:0: Attached scsi
removable disk sda
Jan 3 15:00:59 localhost kernel: sd 4:0:0:0: Attached scsi generic
sg0 type 0
Jan 3 15:01:09 localhost scsi.agent[13001]: Attribute
/sys/devices/pci0000:00/0000:00:10.4/usb5/5-8/5-8:1.0/host4/target4:0:0/4:0:0:0/type
does not exist
Jan 3 15:01:25 localhost hal.hotplug[13154]: timout(10000 ms)
waiting for /block/sda
Jan 3 15:01:25 localhost hal.hotplug[13162]: timout(10000 ms)
waiting for /class/scsi_generic/sg0
--<1------------------------------------------------------------------

-->2------------------------------------------------------------------
Output from /var/log/messages while connecting the empty card reader:

Jan 3 15:03:22 localhost kernel: usb 5-8: new high speed USB device
using ehci_hcd and address 7
Jan 3 15:03:22 localhost kernel: usb 5-8: Product: Card Reader
Jan 3 15:03:22 localhost kernel: usb 5-8: Manufacturer: Hama
Jan 3 15:03:22 localhost kernel: usb 5-8: SerialNumber: 000000000013
Jan 3 15:03:22 localhost kernel: usb 5-8: configuration #1 chosen
from 1 choiceJan 3 15:03:22 localhost kernel: scsi5 : SCSI
emulation for USB Mass Storage devices
Jan 3 15:03:27 localhost kernel: scsi 5:0:0:0: Direct-Access
Hama CF Card Reader 9317 PQ: 0 ANSI: 0
Jan 3 15:03:27 localhost kernel: sd 5:0:0:0: Attached scsi
removable disk sda
Jan 3 15:03:27 localhost kernel: sd 5:0:0:0: Attached scsi generic
sg0 type 0
Jan 3 15:03:27 localhost scsi.agent[13369]: sd_mod: loaded
sucessfully (for disk)
--<2------------------------------------------------------------------

-->3-----------------------------------------------------------------
Output from /var/log/messages while plugging in the xD-card into the
card reader:

[nothing happens]
--<3------------------------------------------------------------------

There are no problems when I use the USB docking station of my
digital camera.

-->4------------------------------------------------------------------
Output from /var/log/messages using the USB docking station of my
digital camera:

Jan 3 15:07:30 localhost kernel: usb 4-1: new full speed USB device
using uhci_hcd and address 4
Jan 3 15:07:31 localhost kernel: usb 4-1: Product: IR-500
Jan 3 15:07:31 localhost kernel: usb 4-1: Manufacturer: OLYMPUS
Jan 3 15:07:31 localhost kernel: usb 4-1: SerialNumber: 000723227387
Jan 3 15:07:31 localhost kernel: usb 4-1: configuration #1 chosen
from 1 choice
Jan 3 15:07:31 localhost kernel: scsi6 : SCSI emulation for USB
Mass Storage devices
Jan 3 15:07:36 localhost kernel: scsi 6:0:0:0: Direct-Access
OLYMPUS IR-500 1.00 PQ: 0 ANSI: 2
Jan 3 15:07:36 localhost kernel: SCSI device sda: 512000 512-byte
hdwr sectors (262 MB)
Jan 3 15:07:36 localhost kernel: sda: Write Protect is off
Jan 3 15:07:36 localhost kernel: SCSI device sda: 512000 512-byte
hdwr sectors (262 MB)
Jan 3 15:07:36 localhost kernel: sda: Write Protect is off
Jan 3 15:07:36 localhost kernel: sda: sda1
Jan 3 15:07:36 localhost kernel: sd 6:0:0:0: Attached scsi
removable disk sda
Jan 3 15:07:36 localhost kernel: sd 6:0:0:0: Attached scsi generic
sg0 type 0
Jan 3 15:07:36 localhost scsi.agent[13808]: sd_mod: loaded
sucessfully (for disk)
--<4------------------------------------------------------------------

-->5---------------------------------------------------------------
Output from /var/log/messages while plugging in the USB HDD (it
works when the HDD is plugged in while switched off):

Jan 8 14:57:16 localhost kernel: usb 5-8: new high speed USB device
using ehci_hcd and address 6
Jan 8 14:57:18 localhost kernel: usb 5-8: Product: USB2.0 Storage
Device
Jan 8 14:57:18 localhost kernel: usb 5-8: Manufacturer: Cypress
Semiconductor
Jan 8 14:57:18 localhost kernel: usb 5-8: SerialNumber: DEF107679C83
Jan 8 14:57:18 localhost kernel: usb 5-8: configuration #1 chosen
from 1 choiceJan 8 14:57:18 localhost kernel: scsi2 : SCSI
emulation for USB Mass Storage devices
Jan 8 14:57:23 localhost kernel: scsi 2:0:0:0: Direct-Access
SAMSUNG HD400LD 0000 PQ: 0 ANSI: 0
Jan 8 14:57:23 localhost kernel: SCSI device sda: 781422768
512-byte hdwr sectors (400088 MB)
Jan 8 14:57:23 localhost kernel: sda: Write Protect is off
Jan 8 14:57:23 localhost kernel: SCSI device sda: 781422768
512-byte hdwr sectors (400088 MB)
Jan 8 14:57:23 localhost kernel: sda: Write Protect is off
Jan 8 14:57:23 localhost kernel: sda: sda1 < sda5 sda6 sda7 sda8
sda9 sda10 sda11 sda12 sda13 sda14 > sda2 sda3 sda4
Jan 8 14:57:23 localhost kernel: sd 2:0:0:0: Attached scsi disk sda
Jan 8 14:57:23 localhost kernel: sd 2:0:0:0: Attached scsi generic
sg0 type 0
Jan 8 14:57:23 localhost scsi.agent[18969]: sd_mod: loaded
sucessfully (for disk)
Jan 8 14:57:58 localhost kernel: usb 5-8: reset high speed USB
device using ehci_hcd and address 6
Jan 8 14:58:00 localhost last message repeated 2 times
Jan 8 14:58:01 localhost kernel: Filesystem "dm-1": Disabling
barriers, not supported by the underlying device
Jan 8 14:58:01 localhost kernel: XFS mounting filesystem dm-1
Jan 8 14:58:01 localhost kernel: usb 5-8: reset high speed USB
device using ehci_hcd and address 6
Jan 8 14:58:06 localhost last message repeated 5 times
Jan 8 14:58:07 localhost kernel: sd 2:0:0:0: SCSI error: return
code = 0x00070000
Jan 8 14:58:07 localhost kernel: end_request: I/O error, dev sda,
sector 234336323
Jan 8 14:58:07 localhost kernel: usb 5-8: reset high speed USB
device using ehci_hcd and address 6
Jan 8 14:58:09 localhost kernel: usb 5-8: reset high speed USB
device using ehci_hcd and address 6
Jan 8 14:58:10 localhost kernel: XFS: empty log check failed
Jan 8 14:58:10 localhost kernel: XFS: log mount/recovery failed:
error 5
Jan 8 14:58:10 localhost kernel: XFS: log mount failed
--<5----------------------------------------------------------------

Loaded modules:

$ lsmod
Module Size Used by
sd_mod 15376 0
rfcomm 32924 0
l2cap 18436 5 rfcomm
bluetooth 44516 4 rfcomm,l2cap
ipv6 216928 14
ehci_hcd 39816 0
uhci_hcd 28300 0
8250 17956 0
serial_core 16768 1 8250
snd_dummy 8256 2
snd_via82xx 22932 4
snd_ac97_codec 90400 1 snd_via82xx
snd_ac97_bus 2176 1 snd_ac97_codec
snd_pcm_oss 26272 1
snd_mixer_oss 15488 3 snd_pcm_oss
snd_pcm 68488 5
snd_dummy,snd_via82xx,snd_ac97_codec,snd_pcm_osssn d_page_alloc
8456 2 snd_via82xx,snd_pcm
snd_mpu401_uart 6784 1 snd_via82xx
snd_rawmidi 20000 1 snd_mpu401_uart
via_rhine 20616 0
mii 4736 1 via_rhine
crc32 4224 1 via_rhine

Kernel configuration:

$ grep -i usb /usr/local/src/linux-2.6.19/.config | grep -v "#"
CONFIG_BT_HCIUSB=m
CONFIG_BT_HCIUSB_SCO=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=y
CONFIG_USB_DEBUG=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_PRINTER=y
CONFIG_USB_STORAGE=y
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
CONFIG_USB_MON=y
$ grep -i scsi .config | grep -v '#'
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y
CONFIG_SCSI_CONSTANTS=y

Hardware:

$ lspci | grep -i usb
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI
USB 1.1 Controller (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI
USB 1.1 Controller (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI
USB 1.1 Controller (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI
USB 1.1 Controller (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)


I hope somebody can help me. I'm at a loss with this.

Best,
Christoph
--
+++ Typografie-Regeln: http://zvisionwelt.de/downloads.html (1.6)
Reply With Quote
  #2 (permalink)  
Old 01-09-2007, 11:38 AM
Christoph Bier
 
Posts: n/a
[SOLVED] Re: [2.6.19] Problems with USB mass storage devices

I solved the problem with the help of the Linux USB FAQ[1]: I used
different cables on desktop and laptop. I just forgot that I bought
extension cables for my desktop at the same period I installed a new
kernel. Thus I didn't consider it while trouble shooting. Sorry for
the noise and thanks to readers of my problem.

Best,
Christoph

[1] http://www.linux-usb.org/FAQ.html#ts6
--
+++ Typografie-Regeln: http://zvisionwelt.de/downloads.html (1.6)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View:
Points Per Thread:
Points Per Reply:

Similar Threads
Thread Thread Starter Forum Replies Last Post
mass storage device at start up drdrummer Suse 1 01-05-2007 12:28 AM
Computer reboots when transferring files Taras_96 Drives and Storage 7 01-02-2007 06:11 PM
Determining the bottleneck in my PC asdf Homebuilt Equipment 20 01-01-2007 11:13 PM


All times are GMT -5. The time now is 04:48 PM.


International Visitors Translate Hostingforum.ca here

Dedicated Hosting


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 Copyright 2008 Net Industries, LLC.