Linux general technology-Linux programming and kernel information. For details, refer to the following section. When I transplanted the Linux kernel 2.6.19 on the I. MX21 platform, the system encountered a problem when I ran to the mounted file system. As follows:
[52.310000] Intel/Sharp Extended Query Table at 0x0031
U [1, 54.310000] Using buffer write method
53.320000] cfi_cmdset_0001: Erase suspend on write enabled
53.330000] RedBoot partition parsing not available
U [1, 53.330000] Creating 3 MTD partitions on "mxc_nor_flash.0 ":
U [53.340000] 0x00000000-0x00100000: "bootloader"
U [53.340000] ftl_cs: FTL header not found.
U [53.350000] 0x00100000-0x00300000: "kernel"
U [53.360000] ftl_cs: FTL header not found.
U [53.360000] 0x00300000-0x02000000: "file system"
U [53.370000] ftl_cs: FTL header not found.
U [1, 54.380000] mice: PS/2 mouse device common for all mice
U [1, 54.390000] i2c/dev entries driver
U [1, 54.390000] TCP cubic registered
U [54.400000] NET: Registered protocol family 1
U [54.400000] NET: Registered protocol family 17
U [1, 54.420000] Time: mx27_xr clocksource has been installed.
U [52.440000] VFS: Mounted root (cramfs filesystem) readonly.
U [54.450000] Freeing init memory: 92 K
U [52.450000] Warning: unable to open an initial console.
[52.480000] Failed to execute/linuxrc. Attempting defaults...
[2, 48.490000] Kernel panic-not syncing: No init found. Try passing init = option to kernel.
[52.500000]
I heard that the 2.6 kernel should be created in the/dev/directory when being used as a file system:
Sudo mknod console c 5 1
Sudo mknod null c 1 3
However, after the kernel is installed, the following error occurs:
......
[2, 54.390000] TCP cubic registered
[2, 54.400000] NET: Registered protocol family 1
[54.400000] NET: Registered protocol family 17
[2, 54.420000] Time: mx27_xr clocksource has been installed.
RomfsU0U0000] No filesystem cocould mount root, tried: U
[48.570000] Kernel panic-not syncing: VFS: Unable to mount root fs on unknown-block)
[52.580000]
I do not know whether it is a file system problem. After the cramfs file system is successfully transplanted under linux2.4.20, the following occurs:
......
C02aa3b0 U000] bf60: U
C00764e8 U000] bf80: U
C003aa34 U000] bfa0: U
00000000 U000] bfc0: U
Ffffffff U000] bfe0: U
[2, 52.470000] Backtrace: U
(Tty_open + 0x124/0 x2e8) 9b4>] U
(Chrdev_open + 0x114/0x148)>] U
(_ Dentry_open + 0xd0/0x1ac)] U
R4 = C2C4D2A0 Ur7 = C2C0C2A0 U
(Nameidata_to_filp + 0x34/0x48)
(Do_filp_open + 0x44/0 x4c) x48) U
[52.470000] r4 = 00000002 U
(Do_sys_open + 0x54/0 xe0) U>] U
R4 = 00000002 Ur5 = 00000000 U
(Sys_open + 0x24/0x28) 0) U8>] U
R5 = C001C364 Ur8 = 00000000 U
[52.470000] r4 = C02AA3B0 U
(Init + 0x18c/0x278) U U65cc>] U
(Do_exit + 0x0/0x780) 01f02c>] U
R4 = 00000000 Ur7 = 00000000 U
(E59030a0) U0] Code: U
<0> Kernel panic-not syncing: Attempted to kill init!
[52.880000]
In the above cases, I do not know whether it is a serial port problem or a root file system problem or other problems I have made? Look at your finger. Thank you ......
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service