|
发表于 2007-3-30 11:41:36
|
显示全部楼层
奇怪的问题
我移植的内核为2.3.14,请看下我的提示信息
Copy linux kernel from 0x00030000 to 0x30008000, size = 0x00100000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "noinitrd console=ttySAC0 init=/linuxrc root=/dev/mtdblock/3"
MACH_TYPE = 193
NOW, Booting Linux......
Uncompressing Linux.................................................................... done, booting the kernel.
Linux version 2.6.14 (root@jlu3389) (gcc version 3.4.1) #5 Thu Mar 29 15:23:14 CST 2007
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: SMDK2410
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410A (id 0x32410002)
S3C2410: core 200.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
S3C2410 Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists
Kernel command line: noinitrd console=ttySAC0 init=/linuxrc root=/dev/mtdblock/3
irq: clearing subpending status 00000007
irq: clearing subpending status 00000002
PID hash table entries: 512 (order: 9, 8192 bytes)
timer tcon=00000000, tcnt a2c1, tcfg 00000200,00000000, usec 00001eb8
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 62592KB available (1706K code, 378K data, 92K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
softlockup thread 0 started up.
NET: Registered protocol family 16
S3C2410: Initialising architecture
S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics
DMA channel 0 at c4800000, irq 33
DMA channel 1 at c4800040, irq 34
DMA channel 2 at c4800080, irq 35
DMA channel 3 at c48000c0, irq 36
NetWinder Floating Point Emulator V0.97 (double precision)
devfs: 2004-01-31 Richard Gooch ([email protected])
devfs: devfs_debug: 0x0
devfs: boot_options: 0x1
yaffs Mar 29 2007 15:17:38 Installing.
Console: switching to colour frame buffer device 80x25
fb0: Virtual frame buffer device, using 1024K of video memory
S3C2410 RTC, (c) 2004 Simtec Electronics
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand: mapped registers at c4980000
s3c2410-nand: timing: Tacls 10ns, Twrph0 40ns, Twrph1 10ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Creating 5 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00200000 : "loader"
0x00020000-0x00030000 : "param"
0x00030000-0x001f0000 : "kernel"
0x00200000-0x00400000 : "root"
0x00400000-0x03ef8000 : "user"
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
Reading data from NAND FLASH without ECC is not recommended
yaffs: dev is 32505859 name is "mtdblock3"
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
**>>yaffs ecc error unfixed on chunk 31:0
**>>yaffs ecc error unfixed on chunk 31:1
**>> yaffs: getBlockInfo block 0 is not valid
**>>Block 0 marked for retirement
**>>yaffs ecc error unfixed on chunk 107:0
**>>yaffs ecc error unfixed on chunk 107:1
**>>Block 3 marked for retirement
**>>yaffs ecc error unfixed on chunk 124:0
**>>yaffs ecc error unfixed on chunk 124:1
**>>Block 3 marked for retirement
**>>yaffs ecc error unfixed on chunk 168:0
**>>yaffs ecc error unfixed on chunk 168:1
**>>Block 5 marked for retirement
**>>yaffs ecc error unfixed on chunk 378:0
**>>Block 11 marked for retirement
**>>yaffs ecc error unfixed on chunk 393:1
**>>Block 12 marked for retirement
**>>yaffs ecc error unfixed on chunk 427:1
**>>Block 13 marked for retirement
**>>yaffs ecc error unfixed on chunk 450:0
**>>yaffs ecc error unfixed on chunk 450:1
**>>Block 14 marked for retirement
**>>yaffs ecc error unfixed on chunk 851:0
**>>yaffs ecc error unfixed on chunk 851:1
**>>Block 26 marked for retirement
**>>yaffs ecc error unfixed on chunk 1327:0
**>>yaffs ecc error unfixed on chunk 1327:1
**>>Block 41 marked for retirement
**>>yaffs ecc error unfixed on chunk 1344:0
**>>yaffs ecc error unfixed on chunk 1344:1
**>>Block 42 marked for retirement
**>>yaffs ecc error unfixed on chunk 1364:0
**>>yaffs ecc error unfixed on chunk 1364:1
**>>Block 42 marked for retirement
**>>yaffs ecc error unfixed on chunk 1381:0
**>>yaffs ecc error unfixed on chunk 1381:1
**>>Block 43 marked for retirement
**>>yaffs ecc error unfixed on chunk 1445:0
**>>yaffs ecc error unfixed on chunk 1445:1
**>>Block 45 marked for retirement
**>>yaffs ecc error unfixed on chunk 1451:0
**>>yaffs ecc error unfixed on chunk 1451:1
**>>Block 45 marked for retirement
**>>yaffs ecc error unfixed on chunk 2985:0
**>>yaffs ecc error unfixed on chunk 2985:1
**>>Block 93 marked for retirement
**>>yaffs ecc error unfixed on chunk 3429:0
**>>yaffs ecc error unfixed on chunk 3429:1
**>>Block 107 marked for retirement
**>>yaffs ecc error unfixed on chunk 3434:0
**>>yaffs ecc error unfixed on chunk 3434:1
**>>Block 107 marked for retirement
**>>yaffs ecc error unfixed on chunk 3439:0
**>>yaffs ecc error unfixed on chunk 3439:1
**>>Block 107 marked for retirement
VFS: Mounted root (yaffs filesystem) readonly.
mount_devfs_fs(): unable to mount devfs, err: -2
Freeing init memory: 92K
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.
真不明白错误原因是什么。我已经禁止了ecc了
这之后我又把ecc_soft这个也删除了。
错误反而更多了。
求求大虾们帮我解决这个问题。谢谢了 |
|