On Thu, 2 Feb 2006, vitko wrote: > Wrong media capacity reported by kernel 2.6.14.5, subject in question is > 512 MB Memory Stick plugged into Sony Ericsson W800i mobile phone: > > $ dmesg > ... > usb 4-3.3: new full speed USB device using ehci_hcd and address 45 > scsi38 : SCSI emulation for USB Mass Storage devices > usb-storage: device found at 45 > usb-storage: waiting for device to settle before scanning > Vendor: Sony Eri Model: Memory Stick Rev: 0000 > Type: Direct-Access ANSI SCSI revision: 00 > SCSI device sda: 1921024 512-byte hdwr sectors (984 MB) > sda: Write Protect is off > sda: Mode Sense: 00 6a 00 00 > sda: assuming drive cache: write through > SCSI device sda: 1921024 512-byte hdwr sectors (984 MB) > sda: Write Protect is off > sda: Mode Sense: 00 6a 00 00 > sda: assuming drive cache: write through > sda: sda1 > Attached scsi removable disk sda at scsi38, channel 0, id 0, lun 0 > usb-storage: device scan complete > ... > > Please note bogus 984 MB (512 MB is correct). > > $ lsusb > ... > Bus 004 Device 045: ID 0fce:d028 Sony Ericsson Mobile Communications AB > > Filesystem info: > > $ fdisk -l /dev/sda > > Disk /dev/sda: 983 MB, 983564288 bytes > 32 heads, 32 sectors/track, 1876 cylinders > Units = cylinders of 1024 * 512 = 524288 bytes > > Device Boot Start End Blocks Id System > /dev/sda1 * 1 937 479499+ 6 FAT16 > > > TODO: > > I'll yet have to find Memory Stick standalone reader to check > the stick there; also I'll have to test latest kernel. > > Yes, I know this is kinda preliminary bug report, but maybe right now > the bell rings for someone?
You are the second person in two days to report this problem with Sony Ericsson phones. See http://marc.theaimsgroup.com/?l=linux-usb-users&m=113871655221840&w=2 At the moment I don't know what we can do about it. If the phone tells us that the card has more storage than it really does, how can we know that it is lying? Alan Stern ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users