From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GMqur-0003E2-Rr for garchives@archives.gentoo.org; Mon, 11 Sep 2006 18:53:58 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8BIqFkL028529; Mon, 11 Sep 2006 18:52:15 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8BIlW5I028634 for ; Mon, 11 Sep 2006 18:47:32 GMT Received: by nf-out-0910.google.com with SMTP id p46so1581198nfa for ; Mon, 11 Sep 2006 11:47:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:reply-to:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:message-id; b=L1yPz1XDaGHalxvtL989AXM9HpsGDKKyWLJlbbIuK/rmTULm8d58+LGDiQDiBhn93Tu/g8haVL7BFvMu+4PnwEC7psp6Z8j4b+V9c9SgUlhWu1bTEf1Cek0GxBakQ6bolnTV9l566GZg0/lZ1mSR6YF9ZzHk5jkKNqmdWUJezVc= Received: by 10.48.162.15 with SMTP id k15mr8518215nfe; Mon, 11 Sep 2006 11:47:32 -0700 (PDT) Received: from ?192.168.0.5? ( [213.162.120.196]) by mx.gmail.com with ESMTP id 30sm4722482hub.2006.09.11.11.47.28; Mon, 11 Sep 2006 11:47:31 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Corrupt xD card with photos Date: Mon, 11 Sep 2006 19:50:05 +0100 User-Agent: KMail/1.9.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1789374.2oAb17xP0L"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200609111950.07446.michaelkintzios@gmail.com> X-Archives-Salt: 97d2f9bb-6d7f-4cd5-8fa1-b036e0a9946e X-Archives-Hash: b1520a0a6bd0cb01bd31113dbe65c6a3 --nextPart1789374.2oAb17xP0L Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi All, I was handed what seems to be a corrupt xD flash card to extract the last=20 photo from it. When the WinXP system at work coughed and died on it=20 (couldn't read it) I thought that my Linux would do better. Anyhow, I've=20 inserted it into my Fuji camera and this is what dmesg shows: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D usb 2-1: new full speed USB device using uhci_hcd and address 4 usb 2-1: configuration #1 chosen from 1 choice scsi2 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 4 usb-storage: waiting for device to settle before scanning Vendor: FUJIFILM Model: USB-DRIVEUNIT Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 00 SCSI device sda: 256000 512-byte hdwr sectors (131 MB) sda: Write Protect is off sda: Mode Sense: 07 00 00 00 sda: assuming drive cache: write through SCSI device sda: 256000 512-byte hdwr sectors (131 MB) sda: Write Protect is off sda: Mode Sense: 07 00 00 00 sda: assuming drive cache: write through sda: unknown partition table sd 2:0:0:0: Attached scsi removable disk sda sd 2:0:0:0: Attached scsi generic sg0 type 0 usb-storage: device scan complete =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Mount fails: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D $ mount /dev/sda mount: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D and dmesg then shows: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D =46AT: bogus number of reserved sectors VFS: Can't find a valid FAT filesystem on dev sda. =46AT: bogus number of reserved sectors VFS: Can't find a valid FAT filesystem on dev sda. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D This is what fdisk shows: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D # fdisk /dev/sda Device contains neither a valid DOS partition table, nor Sun, SGI or OSF=20 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(ri= te) Command (m for help): p Disk /dev/sda: 131 MB, 131072000 bytes 5 heads, 50 sectors/track, 1024 cylinders Units =3D cylinders of 250 * 512 =3D 128000 bytes Device Boot Start End Blocks Id System Command (m for help):=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Is there a Linux (or even M$Windoze?) way of me recovering the last photo,= =20 that doesn't involve reconstructing raw data with a hexeditor? =2D-=20 Regards, Mick --nextPart1789374.2oAb17xP0L Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFBa/f5Fp0QerLYPcRAv+PAJ9KDnszG0RMgO1VBtyutUMtsLCPfgCeJqYp QnCmptYT0nKO6hoGEquZYuQ= =+acN -----END PGP SIGNATURE----- --nextPart1789374.2oAb17xP0L-- -- gentoo-user@gentoo.org mailing list