天嵌 ARM开发社区

 找回密码
 注册
查看: 2195|回复: 1

请教内核不能启动的问题

[复制链接]
nbhljw 发表于 2012-11-29 10:19:50 | 显示全部楼层 |阅读模式
本帖最后由 nbhljw 于 2012-11-29 15:39 编辑

请教各位管理员各位大大们,自己做的底板,在linux2.6.30.4下移植的MCP2515的驱动,编译通过了,烧到板子里出现如下错误,为减少篇幅,出错之前的信息就不贴了,信息打印到这里系统就不再输出了,请问是什么原因啊?该如何解决啊?万分感谢!

问题已解决,结帖。

s3c2440-uart.0: JEC2440_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: JEC2440_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: JEC2440_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
Driver 'sr' needs updating - please use bus_type methods
Unable to handle kernel paging request at virtual address f9000000
pgd = c0004000
[f9000000] *pgd=00000000
Internal error: Oops: 805 [#1]
Modules linked in:
CPU: 0    Not tainted  (2.6.30.4-JecMe #75)
PC is at s3c2410_mcp2510_init+0x60/0x2a8
LR is at s3c2410_mcp2510_init+0x58/0x2a8
pc : [<c0019e1c>]    lr : [<c0019e14>]    psr: 20000013
sp : c3817f68  ip : 20000013  fp : 00000000
r10: 00000000  r9 : 00000000  r8 : c0019dbc
r7 : 00000000  r6 : 00000000  r5 : 00000000  r4 : c0020f60
r3 : 00000018  r2 : f9000000  r1 : fb000040  r0 : 0000000d
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: c000717f  Table: 30004000  DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc3816268)
Stack: (0xc3817f68 to 0xc3818000)
7f60:                   c0019dbc 00000000 c0020f60 00000000 00000000 c00262a0
7f80: 00000000 c00c49d0 c3817fb4 c0338b03 00008100 00000088 c03a6a54 c382f960
7fa0: c03a6a54 00000050 c03e2ce0 c00c4c20 c0338b03 c382e1a0 c3817fc6 c0068a50
7fc0: 00000000 30380f60 00000000 00000000 00000000 c0020f60 00000000 00000000
7fe0: 00000000 00000000 00000000 c0008554 00000000 c00475cc 00000000 00000001
[<c0019e1c>] (s3c2410_mcp2510_init+0x60/0x2a8) from [<c00262a0>] (do_one_initcall+0x58/0x198)
[<c00262a0>] (do_one_initcall+0x58/0x198) from [<c0008554>] (kernel_init+0x70/0xe0)
[<c0008554>] (kernel_init+0x70/0xe0) from [<c00475cc>] (do_exit+0x0/0x578)
[<c00475cc>] (do_exit+0x0/0x578) from [<00000001>] (0x1)
Code: e3a0008d eb005a58 e3a024f9 e3a03018 (e5823000)
---[ end trace ad546159ddfe1cd0 ]---
Kernel panic - not syncing: Attempted to kill init!
[<c002c700>] (unwind_backtrace+0x0/0xdc) from [<c029da24>] (panic+0x40/0x110)
[<c029da24>] (panic+0x40/0x110) from [<c0047630>] (do_exit+0x64/0x578)
[<c0047630>] (do_exit+0x64/0x578) from [<c002acbc>] (die+0x148/0x168)
[<c002acbc>] (die+0x148/0x168) from [<c002d620>] (__do_kernel_fault+0x64/0x74)
[<c002d620>] (__do_kernel_fault+0x64/0x74) from [<c002d91c>] (do_translation_fault+0x68/0x74)
[<c002d91c>] (do_translation_fault+0x68/0x74) from [<c00261e8>] (do_DataAbort+0x30/0x90)
[<c00261e8>] (do_DataAbort+0x30/0x90) from [<c0026920>] (__dabt_svc+0x40/0x60)
Exception stack(0xc3817f20 to 0xc3817f68)
7f20: 0000000d fb000040 f9000000 00000018 c0020f60 00000000 00000000 00000000
7f40: c0019dbc 00000000 00000000 00000000 20000013 c3817f68 c0019e14 c0019e1c
7f60: 20000013 ffffffff                                                      
[<c0026920>] (__dabt_svc+0x40/0x60) from [<c0019e14>] (s3c2410_mcp2510_init+0x58/0x2a8)
[<c0019e14>] (s3c2410_mcp2510_init+0x58/0x2a8) from [<c00262a0>] (do_one_initcall+0x58/0x198)
[<c00262a0>] (do_one_initcall+0x58/0x198) from [<c0008554>] (kernel_init+0x70/0xe0)
[<c0008554>] (kernel_init+0x70/0xe0) from [<c00475cc>] (do_exit+0x0/0x578)
[<c00475cc>] (do_exit+0x0/0x578) from [<00000001>] (0x1)


TQ-ZQL 发表于 2012-11-29 10:35:07 | 显示全部楼层

回帖奖励 +2

s3c2410_mcp2510_init。这个函数有问题吧应该,你看下加点打印再细确定是哪句出的问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-5 13:05 , Processed in 1.062500 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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