lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090112162044.2bc12cef@mjolnir.drzeus.cx>
Date:	Mon, 12 Jan 2009 16:20:44 +0100
From:	Pierre Ossman <drzeus-mmc@...eus.cx>
To:	"yi li" <liyi.dev@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [BUG] MMC/SD: SDHC card capacity not correct

On Fri, 9 Jan 2009 11:53:52 +0800
"yi li" <liyi.dev@...il.com> wrote:

> Hi Pierre,
> 
> I am using a Transcend SDHC 8GB SD card, with mmc-spi driver in
> Linux-2.6.28. When inserting the card, the messages shows the card
> capacity is "3.51 GiB":
> "mmc0: new SDHC card on SPI
> mmcblk0: mmc0:0000 SDC   3.51 GiB
>  mmcblk0: p1  "
> 
> While fdisk shows correct capacity:
> " fdisk -l /dev/mmcblk0
> Disk /dev/mmcblk0: 8068 MB, 8068268032 bytes

Odd. Is the entire device accessible? (I.e. is it just a printk
problem?)

Could you give me a dmesg dump with MMC_DEBUG turned on in Kconfig?

Rgds
-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  rdesktop, core developer          http://www.rdesktop.org

  WARNING: This correspondence is being monitored by the
  Swedish government. Make sure your server uses encryption
  for SMTP traffic and consider using PGP for end-to-end
  encryption.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ