主题 : mini2440内核启动出错 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 68261
精华: 0
发帖: 2
金钱: 10 两
威望: 2 点
综合积分: 4 分
注册时间: 2012-04-20
最后登录: 2012-05-21
楼主  发表于: 2012-05-01 10:47

 mini2440内核启动出错

在内核启动的时候出现panic

Copy linux kernel from 0x00060000 to 0x30008000, size = 0x00500000 ... pos = 5242880, good pos = 560000
done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "noinitrd root=/dev/mtdblock2 console=ttySAC0 rootfstype=yaffs init=/linuxrc"
MACH_TYPE = 1999
NOW, Booting Linux......
Uncompressing Linux............................................................................................................................... done, booting the kernel.
Linux version 2.6.30.10 (book@book-desktop) (gcc version 3.4.5) #7 Mon Apr 30 21:59:42 CST 2012
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: SMDK2440
ATAG_INITRD is deprecated; please update your bootloader.
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: noinitrd root=/dev/mtdblock2 console=ttySAC0 rootfstype=yaffs init=/linuxrc
NR_IRQS:85
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
console [ttySAC0] enabled
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: 60700KB available (3688K code, 317K data, 136K init, 0K highmem)
Calibrating delay loop... 201.93 BogoMIPS (lpj=504832)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 936 bytes
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
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 98 KHz
s3c2440-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 (extended precision)
JFFS2 version 2.2. (NAND) (SUMMARY)  漏 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 118
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Console: switching to colour frame buffer device 30x40
fb0: s3c2410fb frame buffer device
lp: driver loaded but no devices found
ppdev: user-space parallel port driver
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
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
loop: module loaded
Uniform Multi-Platform E-IDE driver
ide-gd driver 1.18
ide-cd driver 5.00
Driver 'sd' needs updating - please use bus_type methods
dm9000 Ethernet Driver, V1.31
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=3 29ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 229 at 0x000001ca0000
Bad eraseblock 417 at 0x000003420000
Bad eraseblock 809 at 0x000006520000
Bad eraseblock 817 at 0x000006620000
Bad eraseblock 1484 at 0x00000b980000
Bad eraseblock 1826 at 0x00000e440000
Creating 3 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x000000000000-0x000000030000 : "My2440 boot"
mtd: partition "My2440 boot" doesn't end on an erase block -- force read-only
0x000000050000-0x000000250000 : "My2440 kernel"
mtd: partition "My2440 kernel" doesn't start on an erase block boundary -- force read-only
0x000000250000-0x000003ffc000 : "My2440 filesystem"
mtd: partition "My2440 filesystem" doesn't start on an erase block boundary -- force read-only
usbmon: debugfs is not available
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new interface driver libusual
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver ftdi_sio
ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
Advanced Linux Sound Architecture Driver Version 1.0.20.
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
yaffs: dev is 32505858 name is "mtdblock2" ro
yaffs: passed flags ""
uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <7>yaffs: **>> yaffs chunk 128 was not erased
VFS: Mounted root (yaffs filesystem) readonly on device 31:2.
Freeing init memory: 136K
Failed to execute /linuxrc.  Attempting defaults...
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
Backtrace:
[<c002e8d8>] (dump_backtrace+0x0/0x104) from [<c002e9f4>] (dump_stack+0x18/0x1c)
r7:00000000 r6:c03e717c r5:c00244b0 r4:c03e6874
[<c002e9dc>] (dump_stack+0x0/0x1c) from [<c004a498>] (panic+0x40/0x114)
[<c004a458>] (panic+0x0/0x114) from [<c002a51c>] (init_post+0xd0/0x100)
r3:c3805e14 r2:00000006 r1:00000005 r0:c036487c
[<c002a44c>] (init_post+0x0/0x100) from [<c0008bf0>] (kernel_init+0xbc/0xe4)
r4:c03e6878
[<c0008b34>] (kernel_init+0x0/0xe4) from [<c004c9a4>] (do_exit+0x0/0x588)
r5:00000000 r4:00000000


也改过supervivi的启动参数“noinitrd root=/dev/mtdblock2 console=ttySAC0 rootfstype=yaffs init=/linuxrc”和内核配置菜单的boot options"noinitrd root=/dev/mtdblock2 console=ttySAC0 rootfstype=yaffs init=/linuxrc"还是没有用

我的内核是2.6.30.10的

希望有前辈能解决一下。