天嵌 ARM开发社区

 找回密码
 注册
查看: 2175|回复: 4

为什么我的内核走到这里不动了?

[复制链接]
aa5956 发表于 2013-3-13 10:48:37 | 显示全部楼层 |阅读模式
信息如下:
  #0: S3C24XX_UDA134X (UDA134X)
TCP cubic registered
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
lib80211: common routines for IEEE802.11 drivers
s3c2410-rtc s3c2410-rtc: setting system clock to 2009-05-21 13:23:53 UTC (1242912233)
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs: auto selecting yaffs2
block 157 is bad
block 580 is bad
block 1705 is bad
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 240K
Warning: unable to open an initial console.
Failed to execute /linuxrc.  Attempting defaults...
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
Backtrace:
[<c0048fd4>] (dump_backtrace+0x0/0x10c) from [<c0349710>] (dump_stack+0x18/0x1c)
r7:00000000 r6:c04b7d40 r5:c04b7700 r4:c0480248
[<c03496f8>] (dump_stack+0x0/0x1c) from [<c0349760>] (panic+0x4c/0x124)
[<c0349714>] (panic+0x0/0x124) from [<c00444f0>] (init_post+0xec/0x178)
r3:00000000 r2:c388be00 r1:c04ee000 r0:c0411a8c
[<c0044404>] (init_post+0x0/0x178) from [<c000847c>] (kernel_init+0xcc/0xf4)
r5:c001ec40 r4:c001f05c
[<c00083b0>] (kernel_init+0x0/0xf4) from [<c0059f30>] (do_exit+0x0/0x620)
r7:00000000 r6:00000000 r5:00000000 r4:00000000
cestlavie007 发表于 2013-3-13 16:22:16 | 显示全部楼层
我觉得
Warning: unable to open an initial console.
Failed to execute /linuxrc.  Attempting defaults...
这两句话貌似说明了什么。
你确认一下你的文件系统有没有问题。不行重烧文件系统。正如楼上说的net_set&那句话我这边实验是可有可无的。
 楼主| aa5956 发表于 2013-3-14 15:14:41 | 显示全部楼层
cestlavie007 发表于 2013-3-13 16:22
我觉得
Warning: unable to open an initial console.
Failed to execute /linuxrc.  Attempting defaul ...

嗯,行、我再看看。谢了!!
夏雨 发表于 2013-3-18 20:17:43 | 显示全部楼层
我一开始也出现过一样的问题。参考《linux移植stepbystep》第41页,若/dev下有console和null两个文件,用chmod更改下权限,设成可执行的。再找到linuxrc文件,一样更改权限。祝学习顺利。
 楼主| aa5956 发表于 2013-3-21 13:53:32 | 显示全部楼层
夏雨 发表于 2013-3-18 20:17
我一开始也出现过一样的问题。参考《linux移植stepbystep》第41页,若/dev下有console和null两个文件,用ch ...

嗯!谢谢。也祝你学习愉快
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-4-29 01:00 , Processed in 1.046875 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表