导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    T113主线,内核读分区失败。

    Linux
    1
    1
    1082
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • S
      shz18877605430 LV 6 最后由 编辑

      参照了“T113的主线linux(最新gcc+awboot+最新kernel+最新buildroot)”,发现内核起来之后,读分区的时候失败了,日志如下所示。各位大佬指点指点一下,谢谢。

      [    1.115794] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
      [    1.125610] spi-nand spi0.0: GigaDevice SPI NAND was found.
      [    1.131241] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
      [    1.140134] 4 fixed-partitions partitions found on MTD device spi0.0
      [    1.146506] Creating 4 MTD partitions on "spi0.0":
      [    1.151335] 0x000000000000-0x000000040000 : "awboot"
      [    1.156617] ------------[ cut here ]------------
      [    1.161243] kernel BUG at drivers/dma/dmaengine.h:54!
      [    1.166290] Internal error: Oops - BUG: 0 [#1] SMP ARM
      [    1.171424] Modules linked in:
      [    1.174482] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.1.0-rc3-443875-gb466df90d48f-dirty #3
      [    1.182998] Hardware name: Generic DT based system
      [    1.187782] PC is at sun6i_dma_interrupt+0x1a8/0x1ac
      [    1.192759] LR is at sun6i_dma_interrupt+0xec/0x1ac
      [    1.197639] pc : [<c04a362c>]    lr : [<c04a3570>]    psr: 60000193
      [    1.203898] sp : c0d01d68  ip : 0626c000  fp : 00000000
      [    1.209116] r10: 00000000  r9 : 00000010  r8 : c11ff440
      [    1.214333] r7 : 00000000  r6 : c122810c  r5 : c11ff640  r4 : 00000007
      [    1.220852] r3 : c122810c  r2 : c1b32b80  r1 : 00000000  r0 : c1228168
      [    1.227372] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment none
      [    1.234586] Control: 10c5387d  Table: 4000406a  DAC: 00000051
      [    1.240323] Register r0 information: non-slab/vmalloc memory
      [    1.245980] Register r1 information: NULL pointer
      [    1.250679] Register r2 information: slab kmalloc-128 start c1b32b80 pointer offset 0 size 128
      [    1.256689] spi_master spi0: spi0.0: timeout transferring 1 bytes@100000000Hz for 110(100)ms
      [    1.259295] Register r3 information: non-slab/vmalloc memory
      [    1.267737] spi-nand spi0.0: SPI transfer failed: -110
      [    1.273363] Register r4 information: non-paged memory
      [    1.278504] spi_master spi0: failed to transfer one message from queue
      [    1.283533] Register r5 information: slab kmalloc-512 start c11ff600 pointer offset 64 size 512
      [    1.290560] 0x000000040000-0x000000080000 : "dtb"
      [    1.298740] Register r6 information: non-slab/vmalloc memory
      [    1.298747] Register r7 information: NULL pointer
      [    1.298752] Register r8 information: slab kmalloc-512 start c11ff400 pointer offset 64 size 512
      [    1.298768] Register r9 information: zero-size pointer
      [    1.298773] Register r10 information: NULL pointer
      [    1.332396] Register r11 information: NULL pointer
      [    1.337183] Register r12 information: non-paged memory
      [    1.342316] Process swapper/0 (pid: 0, stack limit = 0x(ptrval))
      [    1.348316] Stack: (0xc0d01d68 to 0xc0d02000)
      [    1.352672] 1d60:                   c04a3484 c113b080 c092766c 00000000 0000001e c12ed000
      [    1.360841] 1d80: c0d01dd8 00000018 40000006 c016a854 c1b26500 00000001 c12ed000 c092766c
      [    1.369010] 1da0: c12ed06c c0c5d208 c880a00c c016a9ac c12ed000 c092766c c880a000 c016f1e4
      [    1.377178] 1dc0: c0d052fc c0d7a978 c880a000 c016a108 c0d052fc c046c77c c0c5ddfc c0d01e08
      [    1.385347] 1de0: 00000000 c0d01e3c c0c5de40 c0d08100 00000018 c08b8a08 c015d428 20000113
      [    1.393517] 1e00: ffffffff c0100ba8 c0d03c88 c0d03c8c c0d03c8c ffffffff c122814c c1228150
      [    1.401686] 1e20: c1228150 c6ec7328 c0c5de40 00000040 00000018 40000006 0000000c c0d01e58
      [    1.406688] spi_master spi0: spi0.0: timeout transferring 1 bytes@100000000Hz for 110(100)ms
      [    1.409854] 1e40: 00000000 c015d428 20000113 ffffffff 00000051 7610cb08 00000000 c883569c
      [    1.418289] spi-nand spi0.0: SPI transfer failed: -110
      [    1.426436] 1e60: c1228150 ffffffff 00000000 7610cb08 c122810c c0121a08 c04a3484 c113b080
      [    1.431573] spi_master spi0: failed to transfer one message from queue
      [    1.439723] 1e80: c092766c c122814c c11ff53c c0121cb8 00000000 c0d03098 00000100 c0d08100
      [    1.439732] 1ea0: c0d01eb0 c0d03080 00000018 c0101384 c880a00c c0d01ee8 c0d03080 c0c5b3b0
      [    1.462566] 1ec0: 0000000a c0c5de40 c0c5b324 ffff8b43 c0d03d40 04200002 c880a000 c016a108
      [    1.470735] 1ee0: c0d052fc c0d08100 60000013 ffffffff c0d01f4c 00000056 c0d08100 c0c44a68
      [    1.478904] 1f00: 00000000 c01221e0 c0107464 c01222a0 c0107464 c0100ba8 00000005 00000000
      [    1.487073] 1f20: 00000d99 c01160c0 00000000 c0d04f0c c0d08100 c0d04f54 00000056 00000000
      [    1.495241] 1f40: c0c44a68 00000000 c0d03d80 c0d01f68 c0107460 c0107464 60000013 ffffffff
      [    1.503410] 1f60: 00000051 c0d04f0c 00000000 c08bfb9c 00000000 c01555b4 000000ec c0d04ec0
      [    1.511579] 1f80: 10c0387d c0e1a678 00000056 c01558e8 c0d0c244 c08b8e34 c0def040 c0c00a98
      [    1.519747] 1fa0: c0def040 c0c010cc ffffffff ffffffff 00000000 c0c006ec c0d08100 00000000
      [    1.527916] 1fc0: 00000000 c0c44a68 7616ca08 00000000 00000000 c0c00420 00000051 10c0387d
      [    1.536086] 1fe0: ffffffff 44000000 410fc075 10c5387d 00000000 00000000 00000000 00000000
      [    1.544260]  sun6i_dma_interrupt from __handle_irq_event_percpu+0x44/0x118
      [    1.546682] spi_master spi0: spi0.0: timeout transferring 1 bytes@100000000Hz for 110(100)ms
      [    1.551149]  __handle_irq_event_percpu from handle_irq_event+0x44/0x8c
      [    1.559584] spi-nand spi0.0: SPI transfer failed: -110
      [    1.566082]  handle_irq_event from handle_fasteoi_irq+0x98/0x18c
      [    1.571229] spi_master spi0: failed to transfer one message from queue
      [    1.577203]  handle_fasteoi_irq from generic_handle_domain_irq+0x28/0x38
      [    1.577220]  generic_handle_domain_irq from gic_handle_irq+0x74/0x88
      [    1.584144] 0x000000080000-0x000000800000 : "kernel"
      [    1.590420]  gic_handle_irq from generic_handle_arch_irq+0x34/0x44
      [    1.590437]  generic_handle_arch_irq from __irq_svc+0x88/0xb0
      [    1.613643] Exception stack(0xc0d01e08 to 0xc0d01e50)
      [    1.618693] 1e00:                   c0d03c88 c0d03c8c c0d03c8c ffffffff c122814c c1228150
      [    1.626862] 1e20: c1228150 c6ec7328 c0c5de40 00000040 00000018 40000006 0000000c c0d01e58
      [    1.635028] 1e40: 00000000 c015d428 20000113 ffffffff
      [    1.640075]  __irq_svc from wake_up_var+0x50/0x94
      [    1.644788]  wake_up_var from tasklet_clear_sched+0x4c/0xa8
      [    1.650359]  tasklet_clear_sched from tasklet_action_common.constprop.0+0xc0/0x108
      [    1.657931]  tasklet_action_common.constprop.0 from __do_softirq+0x104/0x27c
      [    1.664981]  __do_softirq from __irq_exit_rcu+0xa4/0xc8
      [    1.670210]  __irq_exit_rcu from irq_exit+0x8/0x10
      [    1.675006]  irq_exit from __irq_svc+0x88/0xb0
      [    1.679454] Exception stack(0xc0d01f18 to 0xc0d01f60)
      [    1.684500] 1f00:                                                       00000005 00000000
      [    1.692669] 1f20: 00000d99 c01160c0 00000000 c0d04f0c c0d08100 c0d04f54 00000056 00000000
      [    1.700838] 1f40: c0c44a68 00000000 c0d03d80 c0d01f68 c0107460 c0107464 60000013 ffffffff
      [    1.706686] spi_master spi0: spi0.0: timeout transferring 1 bytes@100000000Hz for 110(100)ms
      [    1.709002]  __irq_svc from arch_cpu_idle+0x38/0x3c
      [    1.717442] spi-nand spi0.0: SPI transfer failed: -110
      [    1.722292]  arch_cpu_idle from default_idle_call+0x24/0x34
      [    1.727433] spi_master spi0: failed to transfer one message from queue
      [    1.732980]  default_idle_call from do_idle+0xa4/0x120
      [    1.744622]  do_idle from cpu_startup_entry+0x18/0x1c
      [    1.749673]  cpu_startup_entry from rest_init+0xa8/0xac
      [    1.754899]  rest_init from arch_post_acpi_subsys_init+0x0/0x8
      [    1.760744] Code: e28800fc 1afffff2 ebf1f9c1 eafffff0 (e7f001f2)
      [    1.766832] ---[ end trace 0000000000000000 ]---
      [    1.771443] Kernel panic - not syncing: Fatal exception in interrupt
      [    1.777792] CPU1: stopping
      [    1.780501] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D            6.1.0-rc3-443875-gb466df90d48f-dirty #3
      [    1.790490] Hardware name: Generic DT based system
      [    1.795277]  unwind_backtrace from show_stack+0x10/0x14
      [    1.800508]  show_stack from dump_stack_lvl+0x40/0x4c
      [    1.805559]  dump_stack_lvl from do_handle_IPI+0xec/0x124
      [    1.810959]  do_handle_IPI from ipi_handler+0x18/0x20
      [    1.816011]  ipi_handler from handle_percpu_devid_irq+0x78/0x134
      [    1.822019]  handle_percpu_devid_irq from generic_handle_domain_irq+0x28/0x38
      [    1.829156]  generic_handle_domain_irq from gic_handle_irq+0x74/0x88
      [    1.835512]  gic_handle_irq from generic_handle_arch_irq+0x34/0x44
      [    1.841692]  generic_handle_arch_irq from call_with_stack+0x18/0x20
      [    1.847965]  call_with_stack from __irq_svc+0x98/0xb0
      [    1.853021] Exception stack(0xc8849f68 to 0xc8849fb0)
      [    1.858069] 9f60:                   00000005 00000000 000012d1 c01160c0 00000001 c0d04f0c
      [    1.866237] 9f80: c104ee80 c0d04f54 4000406a 410fc075 00000000 00000000 c0d03d80 c8849fb8
      [    1.874403] 9fa0: c0107460 c0107464 60000013 ffffffff
      [    1.879447]  __irq_svc from arch_cpu_idle+0x38/0x3c
      [    1.884329]  arch_cpu_idle from default_idle_call+0x24/0x34
      [    1.889908]  default_idle_call from do_idle+0xa4/0x120
      [    1.895049]  do_idle from cpu_startup_entry+0x18/0x1c
      [    1.900100]  cpu_startup_entry from secondary_start_kernel+0x118/0x120
      [    1.906626]  secondary_start_kernel from 0x401015a0
      [    1.911510] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---
      
      
      1 条回复 最后回复 回复 引用 分享 0
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策