Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-27-2006, 12:55 PM
|
#1
|
LQ Newbie
Registered: Nov 2003
Location: Minnesota, USA
Distribution: VectorLinux, Xubuntu
Posts: 25
Rep:
|
Write to SD card on USB writer aborts after 2-3 Mb
I'm running Xandros 3.0, kernel 2.6.11, a Lexar MMC/SD reader (USB 1.1) plugged into a USB 2.0 port. 1GB card.
I'm trying to write a 6MB file, which aborts after 2-3 MB with the following on dmesg:
usb 2-2: new full speed USB device using uhci_hcd and address 7
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 7
usb-storage: waiting for device to settle before scanning
Vendor: General Model: Flash Disk Drive Rev: 2.05
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sdc: 1999872 512-byte hdwr sectors (1024 MB)
sdc: Write Protect is off
sdc: Mode Sense: 37 00 00 08
sdc: assuming drive cache: write through
SCSI device sdc: 1999872 512-byte hdwr sectors (1024 MB)
sdc: Write Protect is off
sdc: Mode Sense: 37 00 00 08
sdc: assuming drive cache: write through
sdc: sdc1 < sdc5 >
Attached scsi removable disk sdc at scsi6, channel 0, id 0, lun 0
Attached scsi generic sg2 at scsi6, channel 0, id 0, lun 0, type 0
usb-storage: device scan complete
Device sdc not ready.
end_request: I/O error, dev sdc, sector 1939507
Buffer I/O error on device sdc5, logical block 1939505
lost page write due to I/O error on sdc5
Buffer I/O error on device sdc5, logical block 1939506
lost page write due to I/O error on sdc5
Buffer I/O error on device sdc5, logical block 1939507
lost page write due to I/O error on sdc5
Buffer I/O error on device sdc5, logical block 1939508
lost page write due to I/O error on sdc5
Buffer I/O error on device sdc5, logical block 1939509
lost page write due to I/O error on sdc5
Buffer I/O error on device sdc5, logical block 1939510
lost page write due to I/O error on sdc5
Buffer I/O error on device sdc5, logical block 1939511
lost page write due to I/O error on sdc5
Buffer I/O error on device sdc5, logical block 1939512
lost page write due to I/O error on sdc5
Buffer I/O error on device sdc5, logical block 1939513
lost page write due to I/O error on sdc5
Buffer I/O error on device sdc5, logical block 1939514
lost page write due to I/O error on sdc5
It seems to crash at a different point every time. Any ideas?
Thanks!
|
|
|
06-28-2006, 06:02 AM
|
#2
|
LQ Guru
Registered: Jan 2002
Posts: 6,042
Rep: 
|
Depending on the quality of the flash card. The amount of writes ranges from 100000 to 1000000. If you use FAT as the filesystem, it gets close to these numbers over time because FAT writes multiple times per file. Try running badblocks.
|
|
|
06-28-2006, 10:20 AM
|
#3
|
LQ Newbie
Registered: Nov 2003
Location: Minnesota, USA
Distribution: VectorLinux, Xubuntu
Posts: 25
Original Poster
Rep:
|
Thanks for the reply Electro,
The card is new, and writes/reads fine in M$ Windows, or through the PocketPC I use it in. So I think the card is fine, could it be a problem that the Lexmark writer is USB 1.1 plugged into a 2.0 port? It seems to be detected properly however, usbview shows it as a 1.1 device.
|
|
|
06-28-2006, 02:30 PM
|
#4
|
LQ Guru
Registered: Jan 2002
Posts: 6,042
Rep: 
|
USB version 2.0 is backwards compatible to version 1.1. What makes a USB version 1.1 or USB version 2 is done by hardware. Windows is different than Linux. Saying that it works in Windows is irrelevant. Usually, card readers that works in Linux are Mac OS X compatible.
I suggest upgrading the kernel to 2.6.13 or 2.6.16. Also you try mount it it as async or sync.
|
|
|
All times are GMT -5. The time now is 02:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|