LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 816|回复: 0

成功将驱动编译如armlinux内核,但是启动失败,请教原因

[复制链接]
发表于 2005-4-18 10:42:36 | 显示全部楼层 |阅读模式
把新的网卡的驱动加入了内核,成功生成了内核映像文件。但是启动的时候产生如下错误,提示eth0出错,具体是什么原因或错误,谢谢。
+Linux booting...

linux command line = initrd root=/dev/ram console=ttyS0,57600

Linux param setup at 0xc0001000

dram_size=65536 Kb

initrd start=0xC1800000

initrd size=0xA00000

kernel copy = 1

Kernel copy! addr=0xd00c000c, size=0x1382bc->Done.

ramdisk copy = 1

ramdisk start=0xc1800000

Partition Name = ramdisk or

  Flash Offset = 0x240000

    Flash Size = 0xa00000(10485760)

Ramdisk copy! addr=0xd024000c, size=0x571308->Done.

Jump to kernel(0xc0008000)

Linux version 2.4.18-rmk3 (root@linux) (gcc version 2.95.2 19991024 (release)) #7 Fri Apr 15 09:53:40 2005

Processor: ARM ARM720T revision 2

Architecture: Hynix HMS30C7202

Linux kernel params at 0x40001000

Fixup: Kernel Params: initrd root=/dev/ram console=ttyS0,57600

On node 0 totalpages: 16384

zone(0): 16384 pages.

zone(1): 0 pages.

zone(2): 0 pages.

Kernel command line: initrd root=/dev/ram console=ttyS0,57600

Console: colour dummy device 80x30

Calibrating delay loop... 34.91 BogoMIPS

Memory: 64MB = 64MB total

Memory: 52812KB available (1101K code, 251K data, 64K 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

Starting kswapd

JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.

Serial driver version 5.05c (2001-07-08) with no serial options enabled

ttyS00 at 0xf0020000 (irq = 8) is a 16550A

ttyS01 at 0xf0021000 (irq = 9) is a 16550A

ttyS02 at 0xf002d000 (irq = 10) is a 16550A

ttyS03 at 0xf002e000 (irq = 11) is a 16550A

h720xfb(640x480 TFT 16BPP COLOR LCD) init: base=0xc4800000, pbase=0x40300000

Console: switching to colour frame buffer device 80x30

fb0: H7202 FB device, using 604K of video memory

H7202 PS2 driver initialized :  wait...

pty: 256 Unix98 ptys configured

tsInit: initialization for H7202 touch pad ver 1.0.1

block: 128 slots per queue, batch=32

RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize




eth0: incorrect signature 0x0      <<<<<<< ---------




Unable to handle kernel NULL pointer dereference at virtual address 0000030c

pgd = c0004000

*pgd = 00000000, *pmd = 00000000

Internal error: Oops: 0

CPU: 0

pc : [<c0010cf4>]    lr : [<0000030f>]    Not tainted

sp : c02e9eac  ip : c01351b0  fp : c02e9f34

r10: c0013c24  r9 : 41807202  r8 : 00000300

r7 : c013a24c  r6 : 00000300  r5 : c0397060  r4 : c01351b0

r3 : ffffffff  r2 : c01351c8  r1 : 0000030c  r0 : c02f5480

Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel

Control: 217F  Table: 4000401D  DAC: 0000001D

Process swapper (pid: 1, stackpage=c02e9000)

Stack: (0xc02e9e9c to 0xc02ea000)

9e80:                                                                0000030f

9ea0: c0010cf4 60000013 ffffffff 00000000 00000000 00000000 00000000 00000000

9ec0: ffffffff c02e9f47 c02e9f28 c02e9ed8 c0115bf0 c01151a8 0000000a ffffffff

9ee0: 00000000 00000002 00000047 c02e9f63 c02e9f44 00000020 c02e9f44 c013a251

9f00: c02e9f44 00000000 c013a24c 00000001 c0014664 c013a24c c013dae4 c0134c48

9f20: 41807202 c0013c24 c02e9f50 c02e9f38 c0010aac c0010c20 c00145cc c013a24c

9f40: 00000000 c02e9f6c c02e9f54 c0010778 c00109c4 c013a24c 00000000 c013a4bc

9f60: c02e9f84 c02e9f70 c0010838 c0010730 c013a24c c013a3b4 c02e9fa4 c02e9f88

9f80: c0012a9c c00107a8 c0017d1c c0017d48 c014088c c0140880 c02e9fb4 c02e9fa8

9fa0: c000f8f8 c00129dc c02e9fcc c02e9fb8 c0008968 c000f8e8 00004000 c0163b2c

9fc0: c02e9fdc c02e9fd0 c00089ac c000895c c02e9ffc c02e9fe0 c0018240 c0008990

9fe0: 00004000 c0163b2c c014088c c0140880 00000000 c02ea000 c001a0cc c0018240

Backtrace:

Function entered at [<c0010c10>] from [<c0010aac>]

Function entered at [<c00109b4>] from [<c0010778>]

r6 = 00000000  r5 = C013A24C  r4 = C00145CC

Function entered at [<c0010720>] from [<c0010838>]

r6 = C013A4BC  r5 = 00000000  r4 = C013A24C

Function entered at [<c0010798>] from [<c0012a9c>]

r5 = C013A3B4  r4 = C013A24C

Function entered at [<c00129cc>] from [<c000f8f8>]

r7 = C0140880  r6 = C014088C  r5 = C0017D48  r4 = C0017D1C

Function entered at [<c000f8d8>] from [<c0008968>]

Function entered at [<c000894c>] from [<c00089ac>]

r5 = C0163B2C  r4 = 00004000

Function entered at [<c0008980>] from [<c0018240>]

Function entered at [<c0018230>] from [<c001a0cc>]

r7 = C0140880  r6 = C014088C  r5 = C0163B2C  r4 = 00004000

Code: e3a02000 e286300a e1c320b0 e286100c (e1d120b0)

Kernel panic: Attempted to kill init!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表