费朱青

费朱青的博客

他的个人主页  他的博客

求助:内核启动到最后出现如下问题

费朱青  2009年12月20日 星期日 23:01 | 1803次浏览 | 2条评论

好像总是不运行我根文件系统下的init。我检查过,都有执行权限。最后那些trace很让人头疼~~
大侠们,帮我看看,这错误我不知咋办了~~

Uncompressing Linux..................
.........................
...........................
.............................
........ done, booting the kernel.
Linux version 2.6.32-feizhuqing ( root@sonic ) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-176) ) #29 PREEMPT Sun Dec 20 21:54:41 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 comma
nd 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: 61340KB available (3016K code, 328K data, 104K 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
D
MA 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 20 2009 21:45:03 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 sch
eduler 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=1, 9ns Twrph0=4 39ns, Twrph1=1 9ns
s3c24xx-nand s3c2440-nand: NAND hardware 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: 104K
***************1*******************
***************2*******************
***************3*******************
***************4******************
***************5*******************

Kernel panic - not syncing: Attempted to kill init!
[<c00291b8>] (unwind_backtrace+0x0/0xe8) from [<c0245d3c>] (panic+0x5c/0x144)
[<c0245d3c>] (panic+0x5c/0x144) from [<c0041184>] (do_exit+0x59c/0x6a0)
[<c0041184>] (do_exit+0x59c/0x6a0) from [<c00412c4>] (do_group_exit+0x3c/0xe4)
[<c00412c4>] (do_group_exit+0x3c/0xe4) from [<c004c860>] (get_signal_to_deliver+0x200/0x490)
[<c004c860>] (get_signal_to_deliver+0x200/0x490) from [<c00258bc>] (do_notify_resume+0xa4/0x55c)
[<c00258bc>] (do_notify_resume+0xa4/0x55c) from [<c0022fe8>] (work_pending+0x1c/0x20)

评论

我的评论:

发表评论

请 登录 后发表评论。还没有在Zeuux哲思注册吗?现在 注册 !
王介

回复 王介  2009年12月21日 星期一 13:23

yaffs: block 2140 is marked bad
block 2141 is bad --虚拟盘出问题了?

1条回复

暂时没有评论

Zeuux © 2024

京ICP备05028076号