public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Petter Sundlöf" <petter.sundlof@findus.dhs.org>
To: linux-kernel@vger.kernel.org
Subject: Buffer I/O error on Sony Ericsson W810i (writing/sync to memory stick duo via phone's USB)
Date: Wed, 20 Sep 2006 15:19:15 +0200	[thread overview]
Message-ID: <45113FD3.80509@findus.dhs.org> (raw)

Running 2.6.17 (Debian unstable 2.6.17-2-k7).

When after a copy operation I unmount the phone's smart card, the 
unmount stalls, and gives these errors in syslog

Buffer I/O error on device sdg1, logical block 960472
Buffer I/O error on device sdg1, logical block 960473
Buffer I/O error on device sdg1, logical block 960474
Buffer I/O error on device sdg1, logical block 960475
Buffer I/O error on device sdg1, logical block 960476
Buffer I/O error on device sdg1, logical block 960477
Buffer I/O error on device sdg1, logical block 960478
Buffer I/O error on device sdg1, logical block 960479
Buffer I/O error on device sdg1, logical block 960472
Buffer I/O error on device sdg1, logical block 960473
Sep 20 15:13:27 localhost NetworkManager: <debug 
info>^I[1158758007.553073] nm_hal_device_added (): New device added (hal 
udi is 
'/org/freedesktop/Hal/devices/storage_serial_Sony_Ericsson_Sony_Ericsso 
n_W810_359063000528328_0_0').
Sep 20 15:13:28 localhost NetworkManager: <debug 
info>^I[1158758008.701140] nm_hal_device_added (): New device added (hal 
udi is '/org/freedesktop/Hal/devices/volume_uuid_4511_4C30').


The card is a 512MB SanDisk Memory Stick PRO Dudo (labelled MagicGate).

After the start of the umount, 'df' starts reporting the device as much 
larger than it is:

/dev/sdg1             4,6G  4,3G  143M  97% /media/PHONE CARD

Before the unmount it reports it correctly.

The unmount operation never stops, and the files are not successfully 
copied.

I also tried to manually run 'sync' manually, and after a long, long 
while -- like 4-5 minutes, it exited, and I could unmount it gracefully.
The copy operation seems to have worked fine in this case.

Anyone using the same device with greater success? How can I easily 
debug this?

Cheers.

                 reply	other threads:[~2006-09-20 13:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=45113FD3.80509@findus.dhs.org \
    --to=petter.sundlof@findus.dhs.org \
    --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