linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
To: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: linux-kernel@vger.kernel.org
Subject: Re: soft lockup while copying data from a FAT usb stick and consequent FAT table corruption
Date: Tue, 29 Jul 2008 22:12:54 +0200	[thread overview]
Message-ID: <488F79C6.5020202@gmail.com> (raw)
In-Reply-To: <871w1d1por.fsf@devron.myhome.or.jp>

OGAWA san,

OGAWA Hirofumi wrote:
> Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> writes:
> 
>> Jul 24 19:03:10 eurasia kernel: [25075.616150] sd 0:0:0:0: [sda] Assuming drive cache: write through
>> Jul 24 19:03:10 eurasia kernel: [25075.616153]  sda: sda1
>> Jul 24 19:03:10 eurasia kernel: [25075.617510] sd 0:0:0:0: [sda] Attached SCSI removable disk
>> Jul 24 19:03:17 eurasia kernel: [25083.820927] usb 1-5: reset high speed USB device using ehci_hcd and address 2
>> Jul 24 19:03:19 eurasia kernel: [25085.483682] usb 1-5: reset high speed USB device using ehci_hcd and address 2
>> Jul 24 19:03:19 eurasia kernel: [25085.624466] sd 0:0:0:0: [sda] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
>> Jul 24 19:03:19 eurasia kernel: [25085.624466] end_request: I/O error, dev sda, sector 37
> 
> It seems I/O error of device. Do this device work if without FAT?
> E.g. read and write to device (/dev/xxx), etc.

Looks like it's the usb port, now it doesn't even get to the point to load usb-storage. If i plug it to another port 
attached to the same controller it does a couple of without errors:

dd bs=4096 count=400000 if=/dev/sda1 of=/dev/null

I can mount the filesystem but i get the same (infinite?) "FAT Directory bread(block n) failed" loop. So i suppose the 
next thing to do is to format the pen again :)

thank you,
Riccardo

      reply	other threads:[~2008-07-29 20:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-28 13:23 soft lockup while copying data from a FAT usb stick and consequent FAT table corruption Riccardo Magliocchetti
2008-07-29  0:47 ` OGAWA Hirofumi
2008-07-29 20:12   ` Riccardo Magliocchetti [this message]

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=488F79C6.5020202@gmail.com \
    --to=riccardo.magliocchetti@gmail.com \
    --cc=hirofumi@mail.parknet.co.jp \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).