LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Filesystem supported but MTD not mounted (https://www.linuxquestions.org/questions/linux-software-2/filesystem-supported-but-mtd-not-mounted-861835/)

littlebigman 02-10-2011 09:07 AM

Filesystem supported but MTD not mounted
 
Hello

I'm having the following issue on an appliance using uClinux and MTD to access a NAND flash memory: Although the kernel has Yaffs compiled and it seems able to access the NAND, it doesn't create devices (/dev/mtdblock? and /dev/mtd?):

Code:

root:~> dmesg
Linux version 2.6.19.3-ADI-2007R1.1-svn (root@ubuntu) (gcc version 4.1.1 (ADI 07R1)) #1 Thu Feb 10 15:37:08 CET 2011
Blackfin support (C) 2004-2007 Analog Devices, Inc.
Compiled for ADSP-BF532 Rev 0.5
...
yaffs Feb 10 2011 15:35:53 Installing.
...
uclinux[mtd]: RAM probe address=0x3b00000 size=0x400000
Creating 1 MTD partitions on "RAM":
0x00000000-0x00400000 : "ROMfs"
uclinux[mtd]: set ROMfs:EXT2  to be root filesystem
Generic platform RAM MTD, (c) 2004 Simtec Electronics
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 2 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x00000000-0x00800000 : "linux kernel"
0x00800000-0x10000000 : "file system"
...
VFS: Mounted root (ext2 filesystem).

Does someone know what can prevent Linux from creating devices?

Thank you.

justboo2u 02-16-2011 07:57 PM

Dont know if this will help, but...

Im working with a Debian version for a 'netbook' and, when I have it set up to use the USB-based flash RAM (which would normally show up as /dev/sda) as the filesystem, it will NOT show up mounted as mnt/sda. I CAN mount it to /mnt/sda1 if I choose, but then I have duplicate access to the / filesystem.

Perhaps the same situation is happening with yours?

:D

littlebigman 02-17-2011 03:24 AM

Thanks for the tip. I ended up using a new, different Linux image that erased the NAND and the problem went away.


All times are GMT -5. The time now is 11:13 AM.