|
mounting /dev/mtdblock3 on /mnt/restore failed: No such device
[复制链接]
DVS6446启动信息如下:
Starting kernel ...
Uncompressing Linux.............................................................
..................................... done, booting the kernel.
Linux version 2.6.32.2 (tll@ubuntu) (gcc version 4.2.0 (MontaVista 4.2.0-16.0.32
.0801914 2008-08-30)) #2 PREEMPT Wed Feb 3 21:15:19 PST 2010
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DM644x EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci dm6446 variant 0x0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 15240
Kernel command line: mem=60M console=ttyS0,115200n8 root=/dev/nfs init=/linuxrc
noinitrd rw ip=192.168.1.45:255.255.255.0:192.168.1.1 nfsroot=192.168.1.137:/hom
e/tll/work/rootfs/myrtfs
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 60MB = 60MB total
Memory: 57604KB available (2712K code, 283K data, 116K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 147.86 BogoMIPS (lpj=739328)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 71 gpio irqs
NET: Registered protocol family 16
MUX: Setting register HPIEN_DISABLE
PINMUX0 (0x00000000) = 0x80000c1f -> 0x80000c1f
MUX: Setting register ATAEN_DISABLE
PINMUX0 (0x00000000) = 0x80000c1f -> 0x80000c1f
MUX: initialized MCBSP
MUX: Setting register MCBSP
PINMUX1 (0x00000004) = 0x00000081 -> 0x00000481
bio: create slab at 0
Switching to clocksource timer0_1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
msgmni has been set to 112
io scheduler noop registered
io scheduler anticipatory registered (default)
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
console [ttyS0] enabled
serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1c20400 IRQ4
1): -22
serial8250 serial8250.0: unable to register port at index 2 (IO0 MEM1c20800 IRQ4
2): -22
brd: module loaded
at24 1-0050: 32768 byte 24c256 EEPROM (writable)
i2c_davinci i2c_davinci.1: timeout waiting for bus ready
i2c_davinci i2c_davinci.1: timeout waiting for bus ready
i2c_davinci i2c_davinci.1: timeout waiting for bus ready
i2c_davinci i2c_davinci.1: timeout waiting for bus ready
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bi
t)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Creating 4 MTD partitions on "davinci_nand.0":
0x000000000000-0x000000040000 : "bootloader"
0x000000040000-0x000000060000 : "Params"
0x000000060000-0x000000460000 : "kernel"
0x000000460000-0x000008000000 : "filesystem"
davinci_nand davinci_nand.0: controller rev. 2.1
dm9000 Ethernet Driver, V1.31
console [netcon0] enabled
netconsole: network logging started
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 17
davinci_emac_probe: using random MAC addr: f6:5b:7d:d7:99:88
emac-mii: probed
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=1:01, id=2430c54)
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.168.1.45, mask=255.255.255.0, gw=192.168.1.1,
host=192.168.1.45, domain=, nis-domain=(none),
bootserver=255.255.255.0, rootserver=192.168.1.137, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.137
PHY: 1:01 - Link is Up - 100/Full
Looking up port of RPC 100005/1 on 192.168.1.137
VFS: Mounted root (nfs filesystem) on device 0:13.
Freeing init memory: 116K
挂载文件系统后:
root@192.168.1.45:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00020000 "bootloader"
mtd1: 00020000 00020000 "Params"
mtd2: 00400000 00020000 "kernel"
mtd3: 07ba0000 00020000 "filesystem"
root@192.168.1.45:~# mount -t yaffs /dev/mtdblock3 /mnt/restore
mount: mounting /dev/mtdblock3 on /mnt/restore failed: No such device
root@192.168.1.45:~# ls -l /dev/m*
crw-rw---- 1 root root 1, 1 Jan 1 00:00 /dev/mem
crw-rw---- 1 root root 90, 0 Jan 1 00:00 /dev/mtd0
crw-rw---- 1 root root 90, 1 Jan 1 00:00 /dev/mtd0ro
crw-rw---- 1 root root 90, 2 Jan 1 00:00 /dev/mtd1
crw-rw---- 1 root root 90, 3 Jan 1 00:00 /dev/mtd1ro
crw-rw---- 1 root root 90, 4 Jan 1 00:00 /dev/mtd2
crw-rw---- 1 root root 90, 5 Jan 1 00:00 /dev/mtd2ro
crw-rw---- 1 root root 90, 6 Jan 1 00:00 /dev/mtd3
crw-rw---- 1 root root 90, 7 Jan 1 00:00 /dev/mtd3ro
brw-rw---- 1 root root 31, 0 Jan 1 00:00 /dev/mtdblock0
brw-rw---- 1 root root 31, 1 Jan 1 00:00 /dev/mtdblock1
brw-rw---- 1 root root 31, 2 Jan 1 00:00 /dev/mtdblock2
brw-rw---- 1 root root 31, 3 Jan 1 00:00 /dev/mtdblock3
文件系统用的是mdev,为什么/dev/mtdblock3确实存在,但是找不到设备呢???不知道有没有高手知道怎么解决,我实在是要崩溃了,哇哇哇
|
|