Re: Problem with 2GB card using USB SD card reader

Matthew Dharm <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization One Eyed Alien Networks
Message-ID <[email protected]>
Perhaps this is something that the file storage gadget can help us figure
out?

matt

On Sun, Aug 05, 2007 at 12:59:57PM -0700, Jason LeBrun wrote:
> I've not yet completed Matthew Dharm's request to enable
> USB_STORAGE_VERBOSE_DEBUG. I'll do that today.
> 
> I did zero out the partition table (and then some :-)) using dd:
> 
> dd if=/dev/zero of=/dev/sdd bs=1024 count=1000
> 
> To verify, I fired up fdisk, and got this message:
> 
> "Device contains neither a valid DOS partition table, nor Sun, SGI or
> OSF disklabel
> Building a new DOS disklabel. Changes will remain in memory only,
> until you decide to write them. After that, of course, the previous
> content won't be recoverable.
> 
> Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)"
> 
> Ok, great, definitely no partition table, anymore!
> 
> After closing fdisk without doing anything, I popped the card into my
> Windows XP machine. It instantly appears in the Disk Management applet
> as a healthy 1.92GB unformatted device.
> 
> Cheers,
> 
> Jason
> 
> On 8/5/07, Sam Liddicott <[email protected]> wrote:
> > >Hmmmm... I think Windows is using the information from
> > >the partitions to
> > >compute the size, not from the CSD.
> >
> > I think so.
> > If the poster uses d and /dev/null to Ero the start of the card, and then checks how windows deals with it, we will soon know.
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> [email protected]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

-- 
Matthew Dharm                              Home: [email protected] 
Maintainer, Linux USB Mass Storage Driver

We can customize our colonels.
					-- Tux
User Friendly, 12/1/1998

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGttg2HL9iwnUZqnkRArVrAJ0fYqvDL+AsdiClJhCVM7gK1Z3DBACgrV7u
FKd15lT8K7ukhnpXGUfIJAw=
=rO4a
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.