All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Fieroch <Fieroch@web.de>
To: linux-kernel@vger.kernel.org
Subject: usb storage device bug in kernel module - I/O error
Date: Thu, 20 Jan 2005 22:10:49 +0100	[thread overview]
Message-ID: <csp6oq$pld$1@sea.gmane.org> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello kernel list,

I don't know if this is the right list for problems with kernel modules
and bugs - if not please tell me where I can find the kernel development
mailing list to report this.

So here is my problem:
I get errors when I try to copy files to my usb harddisk. In the first
minutes it works fine but then I get following errors for each block to
write on the disk:

Jan 20 10:07:53 orclex kernel: SCSI error : <1 0 0 0> return code = 0x70000
Jan 20 10:07:53 orclex kernel: end_request: I/O error, dev sda, sector
1555604
Jan 20 10:07:53 orclex kernel: Buffer I/O error on device sda6, logical
block 190016
Jan 20 10:07:53 orclex kernel: lost page write due to I/O error on sda6
Jan 20 10:07:53 orclex kernel: SCSI error : <1 0 0 0> return code = 0x70000
Jan 20 10:07:53 orclex kernel: end_request: I/O error, dev sda, sector
1555605
Jan 20 10:07:53 orclex kernel: Buffer I/O error on device sda6, logical
block 190017
Jan 20 10:07:53 orclex kernel: lost page write due to I/O error on sda6
...


I'm using kernel 2.6.10 and the error appears when I load the ehci_hcd
module for USB 2.0. When I don't use this module (so I can only use usb
1.1) I get no errors while copying files to the usb harddisk.

I have got an ALi PCI-Card for USB 2.0:


0000:00:13.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
(prog-if 10 [OHCI])
~        Subsystem: ALi Corporation USB 1.1 Controller
~        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 10
~        Memory at e2003000 (32-bit, non-prefetchable) [size=4K]
~        Capabilities: [60] Power Management version 2

0000:00:13.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)
(prog-if 20 [EHCI])
~        Subsystem: ALi Corporation USB 2.0 Controller
~        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 9
~        Memory at e2004000 (32-bit, non-prefetchable) [size=256]
~        Capabilities: [50] Power Management version 2
~        Capabilities: [58] #0a [2090]


Here is an extract of my /var/log/syslog while loading my usb storage
device:


Jan 20 10:02:29 orclex kernel: PCI: Found IRQ 9 for device 0000:00:13.3
Jan 20 10:02:29 orclex kernel: ehci_hcd 0000:00:13.3: ALi Corporation
USB 2.0 Controller
Jan 20 10:02:29 orclex kernel: ehci_hcd 0000:00:13.3: irq 9, pci mem
0xe2004000
Jan 20 10:02:29 orclex kernel: ehci_hcd 0000:00:13.3: new USB bus
registered, assigned bus number 3
Jan 20 10:02:29 orclex kernel: ehci_hcd 0000:00:13.3: USB 2.0
initialized, EHCI 1.00, driver 26 Oct 2004
Jan 20 10:02:29 orclex kernel: hub 3-0:1.0: USB hub found
Jan 20 10:02:29 orclex kernel: hub 3-0:1.0: 2 ports detected
Jan 20 10:02:29 orclex kernel: usb 3-2: new high speed USB device using
ehci_hcd and address 2
Jan 20 10:02:29 orclex kernel: scsi1 : SCSI emulation for USB Mass
Storage devices
Jan 20 10:02:29 orclex kernel: usb-storage: device found at 2
Jan 20 10:02:29 orclex kernel: usb-storage: waiting for device to settle
before scanning
Jan 20 10:02:29 orclex kernel:   Vendor: SAMSUNG   Model: SP1203N
~    Rev: SN10
Jan 20 10:02:29 orclex kernel:   Type:   Direct-Access
~    ANSI SCSI revision: 00
Jan 20 10:02:29 orclex kernel: SCSI device sda: 234493057 512-byte hdwr
sectors (120060 MB)
Jan 20 10:02:29 orclex kernel: sda: assuming drive cache: write through
Jan 20 10:02:29 orclex kernel: SCSI device sda: 234493057 512-byte hdwr
sectors (120060 MB)
Jan 20 10:02:29 orclex kernel: sda: assuming drive cache: write through
Jan 20 10:02:29 orclex kernel:  sda: sda2 < sda5 sda6 > sda3
Jan 20 10:02:29 orclex kernel: Attached scsi disk sda at scsi1, channel
0, id 0, lun 0
Jan 20 10:02:29 orclex kernel: Attached scsi generic sg0 at scsi1,
channel 0, id 0, lun 0,  type 0
Jan 20 10:02:29 orclex kernel: usb-storage: device scan complete


Is this a known bug and does any patch exist?

Thanks in advance,

Alexander

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFB8B5ZlLqZutoTiOMRAjW2AJ9sejPtLrIyARZ+kr2kxb5qNByS/QCffIL7
AyLyA0HdsFqhYTvDE3ygz2M=
=Ds1a
-----END PGP SIGNATURE-----


             reply	other threads:[~2005-01-20 21:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-20 21:10 Alexander Fieroch [this message]
2005-01-21  8:36 ` usb storage device bug in kernel module - I/O error Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='csp6oq$pld$1@sea.gmane.org' \
    --to=fieroch@web.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.