On Fri, 28 Jul 2006, lu richard wrote:

> Hi,
> 
>     I want to use SD card in mobile telephone as a mass storage device, so
> 
> I ported file_storage.c(kernel 2.6.7) to kernel 2.4.19.
> 
> When I copy files from Windows XP to SD, at most it can work,
> 
> but sometimes it can't work correctly, error messages as follows:
> 
> end_request: I/O error, dev f1:00 (mmc), sector 248318
> end_request: I/O error, dev f1:00 (mmc), sector 248318
> end_request: I/O error, dev f1:00 (mmc), sector 248318
> end_request: I/O error, dev f1:00 (mmc), sector 248318
> 
> 
> # fdisk -l /dev/mmcsd 
> 
> Disk /dev/mmcsd: 1 heads, 1 sectors, 248320 cylinders
> Units = cylinders of 1 * 512 bytes
> 
>      Device Boot    Start       End    Blocks   Id  System
> /dev/mmcsd1             2    248320    124159+   6  FAT16
> 
> It seem to the last few sectors have some problem.
> 
> Is bug mass storge modules or SD moudles?

Judging by the log messages above, I'd guess the problem is the SD module.

You can test it separately, you know.  Just use "dd" to read or write the 
last few sectors on the card.

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to