From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sakima.ivy.net ([2610:1f8:dc:41:220:edff:fe27:e764]) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1LUWv1-0002Cr-Ii for linux-mtd@lists.infradead.org; Wed, 04 Feb 2009 01:51:15 +0000 Received: from castrovalva.Ivy.NET (castrovalva.Ivy.NET [IPv6:2610:1f8:dc:c0::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sakima.Ivy.NET (Postfix) with ESMTP id C91D0A8093 for ; Tue, 3 Feb 2009 19:58:32 -0500 (EST) To: linux-mtd@lists.infradead.org Subject: 3GB limit? *2* GB limit?! From: Miles Nordin MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Tue_Feb__3_19:58:32_2009-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Tue, 03 Feb 2009 19:58:32 -0500 Message-ID: List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --pgp-sign-Multipart_Tue_Feb__3_19:58:32_2009-1 Content-Type: text/plain; charset=US-ASCII I'm trying to experiment with ubifs on a 16GB USB stick. I've downloaded and built: ~2009-02-01 git://git.infradead.org/~dedekind/ubifs-v2.6.25.git -- full kernel tree. :( git://git.infradead.org/mtd-utils.git (sys-fs/mtd-utils-9999 in gentoo) I'm running these commands and getting this output: -----8<----- # uname -a Linux fishstick 2.6.25-gentoo-r8 #2 SMP PREEMPT Wed Feb 4 05:23:36 UTC 2009 i686 AMD Phenom(tm) 9850 Quad-Core Processor AuthenticAMD GNU/Linux # ls -l /dev/mtd* ls: cannot access /dev/mtd*: No such file or directory # modprobe block2mtd block2mtd=/dev/sdj,128KiB # modprobe mtdchar # ls -l /dev/mtd* crw-rw---- 1 root root 90, 0 Feb 4 06:29 /dev/mtd0 crw-rw---- 1 root root 90, 1 Feb 4 06:29 /dev/mtd0ro fishstick devices # ubiformat /dev/mtd0 ubiformat: mtd0 (RAM-based), size 3246391296 bytes (3.0 GiB), 131072 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 1 bytes libscan: scanning eraseblock 16384 -- 66 % complete libmtd: error!: cannot seek mtd0 to offset 18446744071562067968 error 22 (Invalid argument) ubiformat: error!: failed to scan mtd0 (/dev/mtd0) # fdisk /dev/sdj Device contains neither a valid DOS partition table, nor Sun, SGI [...] Command (m for help): p Disk /dev/sdj: 16.1 GB, 16131293184 bytes -----8<----- sooo.....first, size is 3.0GiB? not 16GiB? second, ubiformat has 2GB limit? Is this FAT or something---what gives? Have I missed a ``wings stay on'' switch in 'make menuconfig'? --pgp-sign-Multipart_Tue_Feb__3_19:58:32_2009-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (NetBSD) iQCVAwUASYjoOInCBbTaW/4dAQJTSgQApSX8yrUd1ibmU51nMKDlBwMRrZe6VAyF 6IoA6siNzahPnd0+WbJHKKisXGjFj+amb4FOtOBqd23Wtmd9E/kjrLuhP5P44N83 vxUiRlLq9S7/tnvYYmbDhwEiofVWItUmkFhUVaKNWTFoCtLsk93NHP662HIBoYo8 SBWAz7aSjCg= =lxwc -----END PGP SIGNATURE----- --pgp-sign-Multipart_Tue_Feb__3_19:58:32_2009-1--