QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1100|回复: 0

关于寄存器读写的疑问

[复制链接]
发表于 2006-5-7 14:49:08 | 显示全部楼层 |阅读模式
我用的是S3c2410的板子,将内核升级为2.6.11.7  在加入LCD驱动代码后。启动时显示
Unable to handle kernel paging request at virtual address 4d000000

pgd = c0004000

[4d000000] *pgd=00000000

Internal error: Oops: 805 [#1]

Modules linked in:

CPU: 0

PC is at s3c2410fb_probe+0x49c/0x690

LR is at 0x1

pc : [<c0013c74>]    lr : [<00000001>]    Not tainted

sp : c0215f20  ip : 60000093  fp : c0215f54

r10: c0152a5c  r9 : c011a7a8  r8 : 00000000

r7 : c02c1800  r6 : c02c1a38  r5 : 4d000000  r4 : 60000013

r3 : 00000178  r2 : 00000000  r1 : 0000093f  r0 : 0000001c

Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel

Control: C000717F  Table: 30004000  DAC: 00000017

Process swapper (pid: 1, stack limit = 0xc0214194)

Stack: (0xc0215f20 to 0xc0216000)

5f20: c02c1a38 00000000 c02c18a8 c01201c8 c011a7a8 c0123fd4 c0123f2c 00000000

5f40: 00000000 00000000 c0215f64 c0215f58 c00e5108 c00137e8 c0215f7c c0215f68

5f60: c00e34b8 c00e50f8 c011a7b0 c01201c8 c0215f98 c0215f80 c00e35b0 c00e346c

5f80: c0123f78 c0214000 c01201c8 c0215fc0 c0215f9c c00e3894 c00e3574 c00159fc

5fa0: c0214000 00000000 c0015a30 00000000 00000000 c0215fd4 c0215fc4 c00e3d68

5fc0: c00e382c c002e300 c0215ff4 c0215fd8 c00190e0 c00e3d3c 00000000 00000000

5fe0: 00000000 00000000 00000000 c0215ff8 c002fbe8 c0019064 ffffc7ff ffffd6ff

Backtrace:

[<c00137d8>] (s3c2410fb_probe+0x0/0x690) from [<c00e5108>] (platform_drv_probe+0x20/0x24)

[<c00e50e8>] (platform_drv_probe+0x0/0x24) from [<c00e34b8>] (driver_probe_device+0x5c/0x7c)

[<c00e345c>] (driver_probe_device+0x0/0x7c) from [<c00e35b0>] (driver_attach+0x4c/0x7c)

r5 = C01201C8  r4 = C011A7B0

[<c00e3564>] (driver_attach+0x0/0x7c) from [<c00e3894>] (bus_add_driver+0x78/0x120)

r6 = C01201C8  r5 = C0214000  r4 = C0123F78

[<c00e381c>] (bus_add_driver+0x0/0x120) from [<c00e3d68>] (driver_register+0x3c/0x40)

[<c00e3d2c>] (driver_register+0x0/0x40) from [<c00190e0>] (init+0x8c/0x1cc)

[<c0019054>] (init+0x0/0x1cc) from [<c002fbe8>] (do_exit+0x0/0xa3

r7 = 00000000  r6 = 00000000  r5 = 00000000  r4 = 00000000

Code: e59f01c4 eb006a97 e596301c e3a0544d (e5853000)

<0>Kernel panic - not syncing: Attempted to kill init!
之后死机 请问高手是什么原因? 好象是在调用writel()函数时死机
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-23 08:32 , Processed in 0.053497 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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