主题 : 内核启动到最后出现如下信息,大家帮我看看!! 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 11538
精华: 0
发帖: 38
金钱: 240 两
威望: 78 点
综合积分: 76 分
注册时间: 2009-12-10
最后登录: 2018-02-08
楼主  发表于: 2009-12-13 22:14

 内核启动到最后出现如下信息,大家帮我看看!!

yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs: block 2140 is marked bad
block 2141 is bad
yaffs: block 2687 is marked bad
block 2688 is bad
yaffs: block 3130 is marked bad
block 3131 is bad
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 112K
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:
[<c0028d9c>] (dump_backtrace+0x0/0x12c) from [<c0028ee0>] (dump_stack+0x18/0x1c)
r7:00000000 r6:c001e130 r5:c001e49c r4:c034c8d4
[<c0028ec8>] (dump_stack+0x0/0x1c) from [<c003ee4c>] (panic+0x50/0x13c)
[<c003edfc>] (panic+0x0/0x13c) from [<c00245dc>] (init_post+0xb0/0x120)
r3:c3805e00 r2:00000001 r1:00000000 r0:c02ee708
[<c002452c>] (init_post+0x0/0x120) from [<c0008a88>] (kernel_init+0xf4/0x124)
r4:c034c8d8
[<c0008994>] (kernel_init+0x0/0x124) from [<c0041a10>] (do_exit+0x0/0x69c)
r6:00000000 r5:00000000 r4:00000000


为啥他说不能打开初始化控制台和不能执行linuxrc呢?
backtrace打出的信息,我看不懂啥意思,大家帮我看看咋回事啊??
级别: 新手上路
UID: 11538
精华: 0
发帖: 38
金钱: 240 两
威望: 78 点
综合积分: 76 分
注册时间: 2009-12-10
最后登录: 2018-02-08
1楼  发表于: 2009-12-13 22:16

 上文完整信息

Linux version 2.6.32-feizhuqing (root@sonic) (gcc version 3.4.4) #12 PREEMPT Wed Dec 9 08:10:03 CST 2009
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: SMDK2440
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: root=/dev/mtdblock2 rw rootfstype=yaffs init=/linuxrc console=ttySAC0,115200
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: 61304KB available (3092K code, 332K data, 112K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:85
irq: clearing pending ext status 00000200
irq: clearing subpending status 00000002
Console: colour dummy device 80x30
console [ttySAC0] enabled
Calibrating delay loop... 201.93 BogoMIPS (lpj=504832)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
S3C Power Management, Copyright 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
S3C244X: Clock Support, DVS off
bio: create slab <bio-0> at 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
s3c-i2c s3c2440-i2c: slave address 0x10
s3c-i2c s3c2440-i2c: bus frequency set to 98 KHz
s3c-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
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
NetWinder Floating Point Emulator V0.97 (double precision)
yaffs Dec  9 2009 08:03:48 Installing.
msgmni has been set to 119
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered (default)
io scheduler cfq registered
Console: switching to colour frame buffer device 30x40
fb0: s3c2410fb frame buffer device
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c24xx-nand s3c2440-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=3 29ns
s3c24xx-nand s3c2440-nand: NAND soft ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 2292 at 0x0000023d0000
Bad eraseblock 2839 at 0x000002c5c000
Bad eraseblock 3282 at 0x000003348000
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x000000000000-0x000000060000 : "bootloader"
0x000000060000-0x000000260000 : "kernel"
0x000000260000-0x000003ffc000 : "root"
dm9000 Ethernet Driver, V1.31
eth0: dm9000a at c485c300,c4860304 IRQ 53 MAC: 00:0c:08:08:12:27 (chip)
usbmon: debugfs is not available
usbcore: registered new interface driver libusual
dummy_hcd dummy_hcd: USB Host+Gadget Emulator, driver 02 May 2005
dummy_hcd dummy_hcd: Dummy host controller
dummy_hcd dummy_hcd: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs: block 2140 is marked bad
block 2141 is bad
yaffs: block 2687 is marked bad
block 2688 is bad
yaffs: block 3130 is marked bad
block 3131 is bad
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 112K
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:
[<c0028d9c>] (dump_backtrace+0x0/0x12c) from [<c0028ee0>] (dump_stack+0x18/0x1c)
r7:00000000 r6:c001e130 r5:c001e49c r4:c034c8d4
[<c0028ec8>] (dump_stack+0x0/0x1c) from [<c003ee4c>] (panic+0x50/0x13c)
[<c003edfc>] (panic+0x0/0x13c) from [<c00245dc>] (init_post+0xb0/0x120)
r3:c3805e00 r2:00000001 r1:00000000 r0:c02ee708
[<c002452c>] (init_post+0x0/0x120) from [<c0008a88>] (kernel_init+0xf4/0x124)
r4:c034c8d8
[<c0008994>] (kernel_init+0x0/0x124) from [<c0041a10>] (do_exit+0x0/0x69c)
r6:00000000 r5:00000000 r4:00000000
级别: 新手上路
UID: 45668
精华: 0
发帖: 6
金钱: 30 两
威望: 6 点
综合积分: 12 分
注册时间: 2011-05-06
最后登录: 2011-10-20
2楼  发表于: 2011-05-20 12:42
我也是同样的问题 楼上有没有解决呀