文件系统挂载错误请教

suyangwei suyangwei 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
文件系统挂载错误,函数调用:do_mount-> do_new_mount->sys_mount-> do_mount返回错误码 -19。


IMX EVM # boot
Loading from NAND 128MiB 1,8V 8-bit, offset 0x220000
Image Name: Linux-2.6.36
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1438792 Bytes = 1.4 MB
Load Address: a0008000
Entry Point: a0008000
Automatic boot of image at addr 0xa0200000 ...
## Booting kernel from Legacy Image at a0200000 ...
Image Name: Linux-2.6.36
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1438792 Bytes = 1.4 MB
Load Address: a0008000
Entry Point: a0008000
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
start kernel,debug OK!!!start_kernel() ,righ here
Linux version 2.6.36 (root@localhost.localdomain) (gcc version 3.4.1) #257 PREEM
PT Thu Dec 16 15:13:12 EST 2010
CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Freescale i.MX27ADS
Memory policy: ECC disabled, Data cache writeback
BUG: mapping for 0xa0000000 at 0xc0000000
BUG: mapping for 0xa3fff000 at 0xffff0000
BUG: mapping for 0x10000000 at 0xf4000000
BUG: mapping for 0x80000000 at 0xf4100000
BUG: mapping for 0xd8000000 at 0xf4200000
BUG: mapping for 0xd4000000 at 0xf4300000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: console=ttymxc0,115200n8 root=/dev/mtdblock2 rootfstype=jff
s2 noinitrd
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: 64MB = 64MB total
Memory: 62060k/62060k available, 3476k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xc4800000 - 0xf4000000 ( 760 MB)
lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0020000 ( 96 kB)
.text : 0xc0020000 - 0xc02ab000 (2604 kB)
.data : 0xc02ac000 - 0xc02c7160 ( 109 kB)
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:272
MXC IRQ initialized
MXC GPIO hardware
Console: colour dummy device 80x30
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
Switching to clocksource mxc_timer1
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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (extended precision)
msgmni has been set to 121
io scheduler noop registered (default)
Serial: IMX driver
imx-uart.0: ttymxc0 at MMIO 0x1000a000 (irq = 20) is a IMX
console [ttymxc0] enabled
imx-uart.1: ttymxc1 at MMIO 0x1000b000 (irq = 19) is a IMX
imx-uart.2: ttymxc2 at MMIO 0x1000c000 (irq = 18) is a IMX
imx-uart.3: ttymxc3 at MMIO 0x1000d000 (irq = 17) is a IMX
imx-uart.4: ttymxc4 at MMIO 0x1001b000 (irq = 49) is a IMX
imx-uart.5: ttymxc5 at MMIO 0x1001c000 (irq = 48) is a IMX
NAND device: Manufacturer ID: 0xec, Chip ID: 0xa1 (Samsung NAND 128MiB 1,8V 8-bi
t)
Scanning device for bad blocks
Creating 5 MTD partitions on "mxc_nand":
0x000000000000-0x000000040000 : "BOOT"
0x000000220000-0x000000420000 : "IOS"
0x000000420000-0x000000e20000 : "JFFS2"
0x000000e20000-0x000002220000 : "APP"
0x000002220000-0x000002c20000 : "USER"
Driver for 1-wire Dallas network protocol.
oprofile: hardware counters not available
oprofile: using timer interrupt.
TCP cubic registered
NET: Registered protocol bug: before sys_access.
debug: after sys_access.
debug: begin prepare_namespace.
debug: before mount_root.
debug: mount_root before mount_block_root.
debug sys_mount: copy_mount_options 0
debug sys_mount: PTR_ERR -1014181888
debug sys_mount: copy_mount_options 0
debug sys_mount: copy_mount_options 0
debug do_mount: kern_path 0
debug do_mount: security_sb_mount 0
debug do_kern_mount: ENODEV
debug do_mount: do_new_mount -19
debug sys_mount: do_mount -19
VFS: Cannot open root device "mtdblock2" or unknown-block(31,2)
Please append a correct "root=" boot option; here are the available partitions:
1f00 256 mtdblock0 (driver?)
1f01 2048 mtdblock1 (driver?)
1f02 10240 mtdblock2 (driver?)
1f03 20480 mtdblock3 (driver?)
1f04 10240 mtdblock4 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
Backtrace:
[<c0024038>] (dump_backtrace+0x0/0x12c) from [<c002417c>] (dump_stack+0x18/0x1c)

r7:00000000 r6:00000000 r5:c3846000 r4:01f00002
[<c0024164>] (dump_stack+0x0/0x1c) from [<c003fecc>] (panic+0x64/0x198)
[<c003fe68>] (panic+0x0/0x198) from [<c0009018>] (mount_block_root+0x110/0x2e8)
r3:00000000 r2:00000000 r1:c3819f58 r0:c027a468
[<c0008f08>] (mount_block_root+0x0/0x2e8) from [<c000924c>] (mount_root+0x5c/0x7
8)
[<c00091f0>] (mount_root+0x0/0x78) from [<c0009378>] (prepare_namespace+0x110/0x
1b4)
r5:c001db58 r4:c001db5c
[<c0009268>] (prepare_namespace+0x0/0x1b4) from [<c0008d4c>] (kernel_init+0x130/
0x190)
r6:c001d0b4 r5:c001d33c r4:c02c71fc
[<c0008c1c>] (kernel_init+0x0/0x190) from [<c0042dec>] (do_exit+0x0/0x6ac)
r6:c0042dec r5:c0008c1c r4:00000000
...全文

相关推荐

Linux 光驱挂载问题

在Linux上安装smaba共享服务器 。。   其RET HAT镜像文件无法挂载,   #mount /dev/cdrom /mnt   错误提示:   mount: you must specify the filesystem type    //必须区分文件类型   可指定其文件类型   是在mount命令后面加个选项,用-t行啦。   #mount -t /dev/cdrom /mnt   但这种处理方式仍不能解决。   之后查看其文件目录结构   /dev   dev 是设备(device)的英文缩写。这个目录对所有的用户都十分重要。因为在这个目录中包含了所有

weixin_38559346

使用‘fsck’修复Linux中文件系统错误的方法

主要给大家介绍了关于如何使用'fsck'修复Linux中文件系统错误的相关资料,文中通过示例代码以及图文介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面来一起学习学习吧

weixin_38692202

MacOS无法挂载NFS Operation not permitted错误解决办法

MacOS无法挂载NFS Operation not permitted错误解决办法 新装的Openfiler开启nfs之后,用Macbook的图形界面通过 Finder–>前往–>连接服务器 无法连接。 先在服务器上自己挂自己试了一下,没有问题,说明问题可能在Macbook客户端上。 在Macbook上打开终端: sh-3.2# showmount -e 10.0.0.55 Exports list on 10.0.0.55: /home 10.0.0.0/24 sh-3.2# mount -t nfs 10.0.0.55:/nfsdata /home mo

weixin_38614825

根文件系统,内核移植,出错误笔记

根文件系统,内核移植,出错误笔记,是由答疑助手沈朝平整理的。欢迎大家下载

大磊大

NFS挂载错误解决[项目源码]

文章详细描述了在NFS客户端挂载共享服务时遇到的`mount.nfs: Stale file handle`错误及其解决方法。错误通常发生在服务器端取消共享或删除目录后,客户端尝试重新挂载时。作者通过实际案例说明,解决方法是使用`umount -lf`命令强制卸载繁忙的挂载点,然后重新挂载NFS共享目录。文章还展示了具体的命令操作步骤和结果验证,帮助读者快速理解和解决类似问题。

o1p2q3r
评论 4
收藏 已收藏
分享
返回顶部
suyangwei
Linux_Kernel 4,469 成员 17,458 内容