Buffer I/O error on Sony Ericsson W810i (writing/sync to memory stickduo via phone's USB)

From: Petter Sundlöf
Date: Wed Sep 20 2006 - 09:19:38 EST


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/