Chinaunix首页 | 论坛 | 博客
  • 博客访问: 892208
  • 博文数量: 139
  • 博客积分: 10016
  • 博客等级: 上将
  • 技术积分: 932
  • 用 户 组: 普通用户
  • 注册时间: 2005-07-31 02:15
文章存档

2008年(19)

2007年(73)

2006年(46)

2005年(1)

我的朋友

分类: LINUX

2007-02-08 22:46:43

linux启动常见错误对照

1.PPCBoot 2.0.0 (Nov 7 2003 - 19:47:28)
                                                   
PPCBoot code: 33F00000 -> 33F15118 BSS: -> 33F18318
DRAM Configuration:
Bank #0: 30000000 64 MB
Flash: 16 MB
start linux now(y/n):## Booting image at 30008000 ...
copy kernel done
copy ramdisk done
Setup linux parameters at 0x30000100
Uncompressing Linux......................................................... do.Linux version 2.4.18-rmk7-pxa1 (root@mkg) (gcc version 2.95.2 20000516 (release4CPU: ARM/CIRRUS Arm920Tsid(wb) revision 0
Machine: Samsung-SMDK2410
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: initrd=0x30800000,0x200000 root=/dev/ram init=/linuxrc co0DEBUG: timer count 15844
Console: colour dummy device 80x30
Calibrating delay loop... 101.17 BogoMIPS
Memory: 64MB = 64MB total
Memory: 62592KB available (1525K code, 274K data, 76K init)
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
CPU clock = 202.800000 Mhz, HCLK = 101.400000 Mhz, PCLK = 50.700000 Mhz
Initializing S3C2410 buffer pool for DMA workaround
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.10 (20020120) Richard Gooch ()
devfs: boot_options: 0x1
ttyS%d0 at I/O 0x50000000 (irq = 52) is a S3C2410
ttyS%d1 at I/O 0x50004000 (irq = 55) is a S3C2410
ttyS%d2 at I/O 0x50008000 (irq = 58) is a S3C2410
Console: switching to colour frame buffer device 30x20
Installed S3C2410 frame buffer
s3c2410-ts initialized
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
HHTech DM9000 eth0 I/O: c4830300,VID: 90000a46,MAC: 00:13:F6:6C:87:89:
Linux video capture interface: v1.00
SCSI subsystem driver Revision: 1.00
request_module[scsi_hostadapter]: Root fs not mounted
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xe9000000, IRQ 26
usb.c: new USB bus registered, assigned bus number 1
Product: USB OHCI Root Hub
SerialNumber: e9000000
hub.c: USB hub found
port #1 suspened!
port #0 alived!
hub.c: 1 port detected
usb.c: registered new driver ov511
ov511.c: v1.48a for Linux 2.4 : OV511 USB Camera Driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
RAMDISK: Couldn't find valid RAM disk image starting at 0.
Freeing initrd memory: 3072K
FAT: bogus logical sector size 30912
Kernel panic: VFS: Unable to mount root fs on 01:00

内核错误,重新烧写zImage。

                                                                       
2.PPCBoot 2.0.0 (Aug 11 2005 - 17:28:56)
                                                                       
PPCBoot code: 33F00000 -> 33F15294 BSS: -> 33F18494
DRAM Configuration:
Bank #0: 30000000 64 MB
Flash: 16 MB
start linux now(y/n):## Booting image at 30008000 ...
copy kernel done
copy ramdisk done
Setup linux parameters at 0x30000100
cpu_arm920_cache_clean_invalidate_all finished
before call_linux
                                                                       
内核错误,重新烧写zImage。【注】若释放串口0之后,此为正确现象。


3.Bytes transferred = 2157225 (20eaa9 hex)
SMDK2410 # fl 1140000 30800000 220000
                                                                                             
start_sect=0xa,end_sect=0x1a
************erase sector 0xa***********
************erase sector 0xb***********
************erase sector 0xc***********
************erase sector 0xd***********
************erase sector 0xe***********
************erase sector 0xf***********
************erase sector 0x10***********
************erase sector 0x11***********
************erase sector 0x12***********
************erase sector 0x13***********
************erase sector 0x14***********
************erase sector 0x15***********
************erase sector 0x16***********
************erase sector 0x17***********
************erase sector 0x18***********
************erase sector 0x19***********
************erase sector 0x1a***********
----------program sector 0xa---------
----------program sector 0xb---------
Error Command Sequence!mflash_program_sector error : status read
flash not completed for error
SMDK2410 # fl 1140000 30800000 220000
                                                                                             
此为flash的扇区损坏,要跳过坏的扇区进行修改。并修改引导程序ppcboot后,重新烧写ppcboot.bin。


4.
PPCBoot 2.0.0 (Aug 4 2005 - 11:57:01)
                                                   
PPCBoot code: 33F00000 -> 33F15294 BSS: -> 33F18494
DRAM Configuration:
Bank #0: 30000000 64 MB
Flash: 16 MB
start linux now(y/n):## Booting image at 30008000 ...
copy kernel done
copy ramdisk done
Setup linux parameters at 0x30000100
cpu_arm920_cache_clean_invalidate_all finished
before call_linux
Uncompressing Linux......................................................... do.
Linux version 2.4.18-rmk7-pxa1 (root@mkg) (gcc version 2.95.2 20000516 (release4
CPU: ARM/CIRRUS Arm920Tsid(wb) revision 0
Machine: Samsung-SMDK2410
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: initrd=0x30800000,0x440000 root=/dev/ram init=/linuxrc co0
DEBUG: timer count 15844
Console: colour dummy device 80x30
Calibrating delay loop... 101.17 BogoMIPS
Memory: 64MB = 64MB total
Memory: 62592KB available (1525K code, 274K data, 76K init)
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
CPU clock = 202.800000 Mhz, HCLK = 101.400000 Mhz, PCLK = 50.700000 Mhz
Initializing S3C2410 buffer pool for DMA workaround
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.10 (20020120) Richard Gooch ()
devfs: boot_options: 0x1
ttyS%d0 at I/O 0x50000000 (irq = 52) is a S3C2410
ttyS%d1 at I/O 0x50004000 (irq = 55) is a S3C2410
ttyS%d2 at I/O 0x50008000 (irq = 58) is a S3C2410
Console: switching to colour frame buffer device 30x20
Installed S3C2410 frame buffer
s3c2410-ts initialized
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
HHTech DM9000 eth0 I/O: c4830300,VID: 90000a46,MAC: 00:13:F6:6C:87:89:
Linux video capture interface: v1.00
SCSI subsystem driver Revision: 1.00
request_module[scsi_hostadapter]: Root fs not mounted
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xe9000000, IRQ 26
usb.c: new USB bus registered, assigned bus number 1
Product: USB OHCI Root Hub
SerialNumber: e9000000
hub.c: USB hub found
port #1 suspened!
port #0 alived!
hub.c: 1 port detected
usb.c: registered new driver ov511
ov511.c: v1.48a for Linux 2.4 : OV511 USB Camera Driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 3072K
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing init memory: 76K
hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: USB device not accepting new address=2 (error=-110)
mount /etc as ramfs
re-create the /etc/mtab entries
hub.c: USB new device connect on bus1/1, assigned device number 3
usb.c: USB device not accepting new address=3 (error=-110)
console=/dev/con?ole
init started: BusyBox v0.60.3 (2002.05.13-08:36+0000) multi-cáll binary
Starting pid 15, console /dev/console: '/etc/init.d/rcS'
treeview
usb.c: registered new driver ov511
ov511.c: v1.48a for Linux 2.4 : OV511 USB Camera Driver
modprobe: modprobe: Can't locate module char-major-81-0
modprobe: modprobe: Can't locate module char-major-81-0
modprobe: modprobe: Can't locate module char-major-81-0
modprobe: modprobe: Can't locate module char-major-81-0

此为usb摄像头没有接好,重新拔插摄像头。
                                                   
                                                   

5. ## Starting application at 0x30008000 ...
Start linux ..
Setup linux parameters at 0x30000100
Uncompressing Linux.............................................................Linux version 2.4.18-rmk7-pxa1 (root@robi-zxkj) (gcc version 2.95.2 20000516 (r5CPU: ARM/CIRRUS Arm920Tsid(wb) revision 0
Machine: Samsung-SMDK2410
On node 0 totalpage4s: 16384
zone(16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: initrd=0x30800000,0x440000 root=/dev/ram init=/linuxrc co0DEBUG: timer count 15844
Console: colour dummy device 80x30
Calibrating delay loop... 101.17 BogoMIPS
Memory: 64MB = 64MB total
Memory: 62196KB available (1839K code, 351K data, 80K init)
Dentry-cache hashi table entries:er: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
CPU clock = 202.800000 Mhz, HCLK = 101.400000 Mhz, PCLK = 50.700000 Mhz
Initializing S3C2410 buffer pool for DMA workaround
Starting kswapd
Jtournalled Blockce driver loaded
devfs: v1.10 (20020120) Richard Gooch ()
devfs: boot_options: 0x1
EFS: 1.0a -
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
ttyS%d0 at I/O 0x50000000 (irq = 52) is a S3C2410
ttyS%d1 at I/O 0x50004000 (irq = 55) is a S3C2410
ttyS%d2 at I/O 0x50008000 (irq = 58) is a S3C2410
fbi->map_size[0x4000] fbi->map_cpu[0xc4810000] fbi->map_dma[0x303d8000]
fbi->screen_dma[0x303d9000] fbi->screen_cpu[0xc4811000]
GPCCON[0xaaaaaaaa]
pretest set_var ok! con -1 chgvar 0
call hw_set_var
con1 = 0x000018a1
con2 = 0x003bc0000
con3 = 0x0004fff
con4 = 0x0000f002
con5 = 0x0000000a
addr1 = 0x181ec800
addr2 = 0x001edac0
addr3 = 0x00000014
pretest set_var ok! con 0 chgvar 0
call hw_set_var
regno=0,palette_size=16
regno=1,palette_size=16
regno=2,palette_size=16
regno=3,palette_size=16
regno=4,palette_size=16
regno=5,palette_size=16
regno=6,palette_size=16
regno=7,palette_size=16
regno=8,palette_size=16
regno=9,palette_size=16
regno=10,palette_size=16
regno=11,palette_size=16
regno=12,palette_size=16
regno=13,palette_size=16
regno=14,palette_size=16
regno=15,palette_size=16
regno=16,palette_size6=16
con1 = 0x0= 0x003bc000
con3 = 0x00004fff
con4 = 0x0000f002
con5 = 0x0000000a
addr1 = 0x181ec800
addr2 = 0x001edac0
addr3 = 0x00000014
regno=0,palette_size=16
regno=1,palette_size=16
regno=0,palette_size=16
regno=1,palette_size=16
Console: switching to mono frame buffer device 40x15
Installed S3C2410 frame buffer
pty: 256 Unix98 ptys configured
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 12288K size 10:24 blocksize
H00 eth0 I/O: c4820300,VID: 90000a46,MAC: 00:13:F6:6C:87:89:
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
SLIP linefill/keepalive option.
loop: loaded (max 8 devices)
PPP generic driver versioen 2.4.1
SCSI sbsystem driver Revision: 1.00
request_module[scsi_hostadapter]: Root fs not mounted
begin init_physmap 0x1140000
physmap flash device: ac0000 at 540000
Using buffer write method
mtd: Giving out device 0 to Physically mapped flash
s3c2410 flash device: 1600000 at 1000000
Search for id:(89 18) intferleave(1) typeh for id:(89 18) interleave(1) type(2)
Search for id:(89 18) interleave(1) type(2)
Search for id:(89 18) interleave(2) type(1)
Search for id:(89 18) interleave(2) type(1)
Search for id:(89 18) interleave(2) type(1)
Search for id:(89 00) interleave(2) type(2)
Search for id:(89 00) interleave(2) type(2)
Search for id:(89 00) interleave(2) type(2)
JEDEC: Found no s3c2410 flash device device at( location zero
                                      ing buffer write mdCreating 5 MTD partitions on "s3c2410 flash device":
0x00000000-0x00040000 : "reserved for bootloader"
mtd: Giving out device 1 to reserved for bootloader
0x00040000-0x00140000 : "reserved for kernel"
mtd: Giving out device 2 to reserved for kernel
0x00140000-0x00540000 : "reserved for ramdisk"
mtd: Giving out device 3 to reserved for ramdisk
0x00800000-0x01000000 : "jffs2(80M)"
mtd: Givinout device 4 to jffs2(8M)
0x00540000-0x00800000 : "cramfs(2.75M)"
mtd: Giving out device 5 to cramfs(2.75M)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xe9000000, IRQ 26
usb.c: new USB bus registered, assigned bus number 1
Product: USB OHCI Root Hub
SerialNumber: e9000000
hub.c: USB hub found
hub.c: 2 ports detected
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
ramdisk:buf[0]=1f8b88
RAMDISK: Compressed image found at block 0
RAMDISK: incomplete write (ramdisk too small?) (-28 != 32768)

RAMDISK: incomplete write (ramdisk too small?) (-28 != 32768)表示ramdisk太小了,要修改内核中ramdisk的大小。ramdisk的大小:->block 的device->Default Ramdisk的大小应为1024的整数倍。默认值为4096,我们改为12288。
阅读(4601) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~