Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Bug#547181: linux-image-2.6.30: SD card: wrong size detected (http://www.linux-archive.org/debian-kernel/378999-bug-547181-linux-image-2-6-30-sd-card-wrong-size-detected.html)

Moritz Muehlenhoff 05-30-2010 09:53 PM

Bug#547181: linux-image-2.6.30: SD card: wrong size detected
 
tags 547181 moreinfo
thanks

On Thu, Sep 17, 2009 at 09:59:05PM +0800, Leszek Koltunski wrote:
> Package: linux-image-2.6.30-1-686
> Version: 2.6.30-6
> Severity: normal
> File: linux-image-2.6.30
>
> My laptop has an internal SD card reader; if I insert there a 2GB SD card,
> it correctly gets mounted and recognized as such:
>
> 1) HAL mounts it:
> Sep 17 21:44:09 utumno hald: mounted /dev/mmcblk0p1 on behalf of uid 1000
> 2) an icon saying '2.0 GB Media' appears on the desktop
> 3) reading , writing to the device fully works.
> 4) 'cfdisk /dev/mmcblk0p1' reports it as a 2GB device:
> Disk Drive: /dev/mmcblk0p1
> Size: 2002189824 bytes, 2002 MB
> Heads: 4 Sectors per Track: 16 Cylinders: 61101
>
> However, if I first put the card in an external USB multi-card reader
> (which contains 4 LUNs: a SD/MMC, Memory Stick, SMC and a CF/MD) and then
> connect the Card Reader to the very same laptop, the SD card gets recognized
> as having size of only 1GB !! :
>
> 1) HAL mounts it:
> Sep 17 21:51:28 utumno hald: mounted /dev/sde1 on behalf of uid 1000
> 2) An icon saying '1.0 GB Media' (sic!) appears on the desktop.
> 3) (there's about 1.3 GB worth of stuff in the card ) reading most of the files works,
> but reading others results in
> Sep 17 21:51:29 utumno kernel: [ 6004.825176] sde1: rw=0, want=2798654, limit=1955199
> Sep 17 21:51:29 utumno kernel: [ 6004.825186] attempt to access beyond end of device
> Writing always fails.
> 4) 'cfdisk /dev/sde1' prints
> Disk Drive: /dev/sde1
> Size: 1001061888 bytes, 1001 MB
> Heads: 31 Sectors per Track: 62 Cylinders: 1017
>
>
> The very same card and card reader used to work with some previous kernel, although
> last time I was using it was some 1 year ago...

Hi,
Sorry for the late followup.

The next release of Debian (6.0, code name Squeeze) will be based
on 2.6.32. Please test the current 2.6.32 from unstable/testing and tell
us whether the problem persists. If so, we should report it upstream
to the kernel.org developers.

The 2.6.32 kernel is available from packages.debian.org and can
be installed in both Debian stable, testing and unstable
installations.

Thanks,
Moritz



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100530215340.GA10112@galadriel.inutil.org">http://lists.debian.org/20100530215340.GA10112@galadriel.inutil.org


All times are GMT. The time now is 09:58 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.