×
分享到微信

打开微信,使用扫一扫进入页面后,点击右上角菜单,

点击“发送给朋友”或“分享到朋友圈”完成分享

MLU 270安装驱动时失败(​neuware-mlu270-driver-dkms_4.9.2_all.deb) 已完结 feverwind2022-05-25 14:41:52 回复 4 查看 技术答疑 使用求助
MLU 270安装驱动时失败(​neuware-mlu270-driver-dkms_4.9.2_all.deb)
分享到:

### 操作系统

Linux ubuntu 4.15.0-32-generic #35-Ubuntu SMP Fri Aug 10 17:58:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Ubuntu 18.04.6 LTS \n \l


### 驱动版本

neuware-mlu270-driver-dkms_4.9.2_all.deb


### 查看dmesg:

[  984.362049] cambricon_drv: loading out-of-tree module taints kernel.

[  984.363028] cambricon_drv: module verification failed: signature and/or required key missing - tainting kernel

[  984.369484] INFO: vuart: cn_log_vuart_init@569: init register status:0

[  984.399728] INFO: [cn_pci_set_dma_mask][451][CPU 2]: set pcie dma mask64 ok

[  984.399731] INFO: Domain: dm_bar_pcie2dm@969: id.device<0x270>, pcie id<0x270cabc>

[  984.399732] INFO: Domain: dm_bar_pcie2dm@973:

[  984.399733] INFO: Domain: cn_dm_host_early_init@1923: FLOW: start

[  984.399735] INFO: Domain: dm_alloc_and_init_domain_set@1677: domain_set_type<000000009a4feefd>

[  984.399737] INFO: Domain: dm_alloc_and_init_domains@1655: allocation 1 function is host side.

[  984.399739] INFO: Domain: dm_domain_initialization@1227: domain(host side) function id<0> magic<0xcabc6870>

[  984.399742] INFO: Domain: dm_pci_cfg_initialization@618: init pci with data<00000000d7c4cf1a> bars<5: 00000000c434fcd8> shms<5: 000000001f43fb91> for domain<000000002a0e5077>

[  984.399742] INFO: Domain: dm_domain_initialization@1231: domain[0]: init pcie as pf

[  984.399744] INFO: Domain: dm_dev_mem_cfg_initialization@585: dev_mem init with data<00000000f501bb16> for domain[0:000000002a0e5077]

[  984.399746] INFO: Domain: dm_processor_cfg_init@569: init processor<testu>@<0000000010b87c9d> with data<00000000ccd188d1> for domain<000000002a0e5077>

[  984.399747] INFO: Domain: dm_processor_cfg_init@569: init processor<ipu>@<0000000039d93805> with data<0000000045635a1d> for domain<000000002a0e5077>

[  984.399748] INFO: Domain: dm_processor_cfg_init@569: init processor<vpu>@<000000004ad1e6e4> with data<000000009d8f01df> for domain<000000002a0e5077>

[  984.399749] INFO: Domain: dm_processor_cfg_init@569: init processor<jpu>@<0000000082711ab0> with data<000000006cd7c069> for domain<000000002a0e5077>

[  984.399750] INFO: Domain: dm_domain_initialization@1265:  DONE

[  984.399751] INFO: Domain: dm_alloc_and_init_domains@1655: allocation 2 function is host side.

[  984.399753] INFO: Domain: dm_domain_initialization@1227: domain(host side) function id<0> magic<0xcabc6870>

[  984.399755] INFO: Domain: dm_pci_cfg_initialization@618: init pci with data<000000002146a083> bars<5: 0000000068ae41b5> shms<5: 000000001e124d87> for domain<0000000058078166>

[  984.399756] INFO: Domain: dm_domain_initialization@1231: domain[0]: init pcie as pf

[  984.399757] INFO: Domain: dm_dev_mem_cfg_initialization@585: dev_mem init with data<00000000d3015a03> for domain[0:0000000058078166]

[  984.399758] INFO: Domain: dm_processor_cfg_init@569: init processor<testu>@<000000009703f4c0> with data<0000000087a0ad9b> for domain<0000000058078166>

[  984.399759] INFO: Domain: dm_processor_cfg_init@569: init processor<ipu>@<000000005f5fbe6a> with data<00000000ad7a874f> for domain<0000000058078166>

[  984.399760] INFO: Domain: dm_processor_cfg_init@569: init processor<vpu>@<00000000cd9bea67> with data<00000000d7ebd1a1> for domain<0000000058078166>

[  984.399762] INFO: Domain: dm_processor_cfg_init@569: init processor<jpu>@<0000000026b386cb> with data<00000000e33081c9> for domain<0000000058078166>

[  984.399762] INFO: Domain: dm_domain_initialization@1265:  DONE

[  984.399763] INFO: Domain: dm_domain_initialization@1227: domain(host side) function id<1> magic<0xcabc6876>

[  984.399765] INFO: Domain: dm_pci_cfg_initialization@618: init pci with data<000000006d5b26f9> bars<5: 000000002c6648fa> shms<5: 000000005c231363> for domain<000000005d885acb>

[  984.399766] INFO: Domain: dm_domain_initialization@1239: domain[1]: init pcie as vf

[  984.399767] INFO: Domain: dm_dev_mem_cfg_initialization@585: dev_mem init with data<0000000023420bff> for domain[1:000000005d885acb]

[  984.399768] INFO: Domain: dm_processor_cfg_init@569: init processor<testu>@<000000006e8da9e8> with data<00000000df5d4b0e> for domain<000000005d885acb>

[  984.399769] INFO: Domain: dm_processor_cfg_init@569: init processor<ipu>@<00000000e3de6553> with data<00000000846a3589> for domain<000000005d885acb>

[  984.399770] INFO: Domain: dm_processor_cfg_init@569: init processor<vpu>@<000000001f02503a> with data<000000009b129908> for domain<000000005d885acb>

[  984.399772] INFO: Domain: dm_processor_cfg_init@569: init processor<jpu>@<00000000ba942dab> with data<000000004548df4d> for domain<000000005d885acb>

[  984.399772] INFO: Domain: dm_domain_initialization@1265:  DONE

[  984.399773] INFO: Domain: cn_dm_host_early_init@1933: domain_set_type<000000009a4feefd>

[  984.399775] INFO: Domain: dm_domain_print_pci@1971:     num_of_bar<5>

[  984.399778] INFO: Domain: dm_domain_print_pci@2011:     bar<0>: va[0xffffffffffffffff] pa[0xffffffffffffffff],

                    register( [0xffffffff], size[0xffffffff]) register total size[0xffffffff]),

                    share memory( [0xffffffff], size[0xffffffff]), reserved share memory( [0xffffffff], size[0xffffffff])

[  984.399779] INFO: Domain: dm_domain_print_pci@2015:     pci->ob->mask: 0xffffffff

[  984.399781] INFO: Domain: dm_domain_set_print@2130: dump domain_set

[  984.399781] INFO: Domain: dm_domain_set_print@2131: Upper pointer(core)<0x          (null)>

[  984.399782] INFO: Domain: dm_domain_set_print@2132: daemon_state<undef>

[  984.399783] INFO: Domain: dm_domain_set_print_domain@2094:   domain[OVERALL] magic<0xcabc6870>

[  984.399784] INFO: Domain: dm_domain_set_print_domain@2096:   domain state[0x2: invalid]

[  984.399785] INFO: Domain: dm_domain_print_pu@2078:     processor<testu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff]

[  984.399787] INFO: Domain: dm_domain_print_pu@2078:     processor< ipu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff]

[  984.399788] INFO: Domain: dm_domain_print_pu@2078:     processor< vpu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff]

[  984.399789] INFO: Domain: dm_domain_print_pu@2078:     processor< jpu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff]

[  984.399790] INFO: Domain: dm_domain_set_print_domain@2116: domain<000000002a0e5077>, dev_mem->domain<000000002a0e5077>, dev_mem->data<00000000f501bb16>

[  984.399791] INFO: Domain: dm_domain_print_dev_mem@2031: number of zones 0

[  984.399792] INFO: Domain: dm_domain_print_pci@1971:     num_of_bar<5>

[  984.399794] INFO: Domain: dm_domain_print_pci@2011:     bar<0>: va[0x8000000000] pa[0x4108000000],

                    register( [0x0], size[0x4000]) register total size[0x8000000]),

                    share memory( [0x0], size[0x8000000]), reserved share memory( [0x850000], size[0x4000])

[  984.399795] INFO: Domain: dm_domain_print_pci@2014:     pci->dma->ch: 0xf

[  984.399796] INFO: Domain: dm_domain_print_pci@2015:     pci->ob->mask: 0xfffffff0

[  984.399797] INFO: Domain: dm_domain_set_print@2142: domain<0>:

[  984.399798] INFO: Domain: dm_domain_set_print_domain@2094:   domain[PF] magic<0xcabc6870>

[  984.399799] INFO: Domain: dm_domain_set_print_domain@2096:   domain state[0x1: undef]

[  984.399800] INFO: Domain: dm_domain_print_pu@2078:     processor<testu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff]

[  984.399801] INFO: Domain: dm_domain_print_pu@2078:     processor< ipu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff]

[  984.399802] INFO: Domain: dm_domain_print_pu@2078:     processor< vpu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff]

[  984.399803] INFO: Domain: dm_domain_print_pu@2078:     processor< jpu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff]

[  984.399804] INFO: Domain: dm_domain_set_print_domain@2116: domain<0000000058078166>, dev_mem->domain<0000000058078166>, dev_mem->data<00000000d3015a03>

[  984.399805] INFO: Domain: dm_domain_print_dev_mem@2031: number of zones 0

[  984.399806] INFO: Domain: dm_domain_print_pci@1971:     num_of_bar<5>

[  984.399808] INFO: Domain: dm_domain_print_pci@2011:     bar<0>: va[0xffffffffffffffff] pa[0xffffffffffffffff],

                    register( [0xffffffff], size[0xffffffff]) register total size[0xffffffff]),

                    share memory( [0xffffffff], size[0xffffffff]), reserved share memory( [0xffffffff], size[0xffffffff])

[  984.399809] INFO: Domain: dm_domain_print_pci@2015:     pci->ob->mask: 0xffffffff

[  984.399810] INFO: Domain: dm_domain_set_print@2142: domain<1>:

[  984.399811] INFO: Domain: dm_domain_set_print_domain@2094:   domain[VF0] magic<0xcabc6876>

[  984.399812] INFO: Domain: dm_domain_set_print_domain@2096:   domain state[0x1: undef]

[  984.399813] INFO: Domain: dm_domain_print_pu@2078:     processor<testu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff]

[  984.399814] INFO: Domain: dm_domain_print_pu@2078:     processor< ipu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff]

[  984.399815] INFO: Domain: dm_domain_print_pu@2078:     processor< vpu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff]

[  984.399816] INFO: Domain: dm_domain_print_pu@2078:     processor< jpu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff]

[  984.399817] INFO: Domain: dm_domain_set_print_domain@2116: domain<000000005d885acb>, dev_mem->domain<000000005d885acb>, dev_mem->data<0000000023420bff>

[  984.399818] INFO: Domain: dm_domain_print_dev_mem@2031: number of zones 0

[  984.399818] INFO: Domain: dm_domain_print_pci@1971:     num_of_bar<5>

[  984.399821] INFO: Domain: dm_domain_print_pci@2011:     bar<0>: va[0xffffffffffffffff] pa[0xffffffffffffffff],

                    register( [0xffffffff], size[0xffffffff]) register total size[0xffffffff]),

                    share memory( [0xffffffff], size[0xffffffff]), reserved share memory( [0xffffffff], size[0xffffffff])

[  984.399822] INFO: Domain: dm_domain_print_pci@2015:     pci->ob->mask: 0xffffffff

[  984.399823] INFO: Domain: dm_print_type_size@2929: struct domain_type: 1176

[  984.399823] INFO: Domain: dm_print_type_size@2930: struct processor_data: 88

[  984.399824] INFO: Domain: dm_print_type_size@2931: struct dev_mem_data: 88

[  984.399825] INFO: Domain: dm_print_type_size@2932: struct pci_data: 88

[  984.399825] INFO: Domain: dm_print_type_size@2933: struct pmu_data: 88

[  984.399827] INFO: Domain: dm_get_domain_test@2889: Got domain<0000000058078166> in func<PF>

[  984.399828] INFO: Domain: dm_get_domain_test@2889: Got domain<000000005d885acb> in func<VF0>

[  984.399828] INFO: Domain: dm_get_domain_test@2893: Got all the 2 domains.

[  984.399829] INFO: Domain: cn_dm_host_early_init@1953: FLOW: done

[  984.399929] INFO: [c20l_hotreset_gen1_to_gen3][836][CPU 2]: PCIe speed is 2.5GT/s


[  984.399930] INFO: [c20l_hotreset_gen1_to_gen3][837][CPU 2]: PCIe width is x16


[  984.399931] INFO: [c20l_hotreset_gen1_to_gen3][842][CPU 2]: setting parent target speed

[  984.399938] BUG: unable to handle kernel NULL pointer dereference at 000000000000004c

[  984.470301] IP: pcie_capability_read_word+0x24/0xc0

[  984.505259] PGD 0 P4D 0

[  984.539415] Oops: 0000 [#1] SMP NOPTI

[  984.574694] Modules ed in: cambricon_drv(OE+) xt_conntrack ipt_MASQUERADE nf_nat_masquerade_ipv4 nfnet xfrm_user xfrm_algo xt_addrtype iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack aufs kvm irqbypass input_leds serio_raw sch_fq_codel overlay iptable_filter ip6table_filter ip6_tables br_netfilter bridge stp llc arp_tables ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd psmouse e1000 floppy

[  984.967574] CPU: 2 PID: 7034 Comm: insmod Tainted: G           OE    4.15.0-32-generic #35-Ubuntu

[  985.048870] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1 04/01/2014

[  985.131014] RIP: 0010:pcie_capability_read_word+0x24/0xc0

[  985.172963] RSP: 0018:ffffbb990565b880 EFLAGS: 00010246

[  985.214155] RAX: 0000000000000050 RBX: ffffa04100590018 RCX: 0000000000000000

[  985.255515] RDX: ffffbb990565b900 RSI: 0000000000000030 RDI: 0000000000000000

[  985.296470] RBP: ffffbb990565b8a8 R08: 0000000000000001 R09: 00000000000002b2

[  985.336604] R10: 0000000000000010 R11: 0000000000000000 R12: ffffa0412fcca000

[  985.376405] R13: 0000000000000010 R14: 0000000000000000 R15: 0000000000000001

[  985.415614] FS:  00007efbff6f6540(0000) GS:ffffa04139d00000(0000) knlGS:0000000000000000

[  985.496839] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033

[  985.540081] CR2: 000000000000004c CR3: 0000000200568000 CR4: 00000000003406a0

[  985.583717] Call Trace:

[  985.626183]  c20l_bug_fix_list+0x3d5/0xc10 [cambricon_drv]

[  985.669183]  ? __ioremap_caller+0x25f/0x320

[  985.711960]  c20l_pcie_pre_init+0x85/0x610 [cambricon_drv]

[  985.758360]  cn_bus_probe+0x67/0xd0 [cambricon_drv]

[  985.801134]  ? c20l_bug_fix_list+0xc10/0xc10 [cambricon_drv]

[  985.843735]  ? cn_bus_set_init+0x37/0x60 [cambricon_drv]

[  985.885503]  cn_pci_probe+0x3e3/0x6f0 [cambricon_drv]

[  985.926549]  local_pci_probe+0x47/0xa0

[  985.966471]  pci_device_probe+0x145/0x1b0

[  986.005515]  driver_probe_device+0x31e/0x490

[  986.043754]  __driver_attach+0xa7/0xf0

[  986.080889]  ? driver_probe_device+0x490/0x490

[  986.117125]  bus_for_each_dev+0x70/0xc0

[  986.152299]  driver_attach+0x1e/0x20

[  986.186713]  bus_add_driver+0x1c7/0x270

[  986.220541]  ? 0xffffffffc08a7000

[  986.253322]  driver_register+0x60/0xe0

[  986.285223]  ? 0xffffffffc08a7000

[  986.316348]  __pci_register_driver+0x5a/0x60

[  986.347727]  cn_pci_drv_init_release+0x5c/0x60 [cambricon_drv]

[  986.379247]  cn_bus_driver_reg+0x36/0x50 [cambricon_drv]

[  986.410899]  cn_core_init+0x11e/0x1000 [cambricon_drv]

[  986.443131]  do_one_initcall+0x52/0x19f

[  986.475086]  ? __vunmap+0x81/0xb0

[  986.507105]  ? _cond_resched+0x19/0x40

[  986.538593]  ? kmem_cache_alloc_trace+0x14e/0x1b0

[  986.569386]  ? do_init_module+0x27/0x209

[  986.602489]  do_init_module+0x5f/0x209

[  986.631970]  load_module+0x191e/0x1f10

[  986.660618]  ? ima_post_read_file+0x96/0xa0

[  986.688981]  SYSC_finit_module+0xfc/0x120

[  986.716984]  ? SYSC_finit_module+0xfc/0x120

[  986.744683]  SyS_finit_module+0xe/0x10

[  986.772087]  do_syscall_64+0x73/0x130

[  986.798786]  entry_SYSCALL_64_after_hw +0x3d/0xa2

[  986.825697] RIP: 0033:0x7efbff1ff539

[  986.852181] RSP: 002b:00007ffbffffb0b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139

[  986.906750] RAX: ffffffffffffffda RBX: 00005655577777b0 RCX: 00007efbff1ff539

[  986.936422] RDX: 0000000000000000 RSI: 000056555556ecee RDI: 0000000000000004

[  986.966369] RBP: 000056555556ecee R08: 0000000000000000 R09: 00007efbff4d2000

[  986.996617] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000

[  987.026855] R13: 0000565557777760 R14: 0000000000000000 R15: 0000000000000000

[  987.056920] Code: 1f 84 00 00 00 00 00 66 66 66 66 90 55 31 c9 48 89 e5 41 57 41 56 41 89 f6 41 55 41 54 41 83 e6 01 53 66 89 0a 0f 85 88 00 00 00 <44> 0f b6 7f 4c 45 84 ff 74 2a 49 89 d5 41 89 f4 48 89 fb e8 24

[  987.151623] RIP: pcie_capability_read_word+0x24/0xc0 RSP: ffffbb990565b880

[  987.185078] CR2: 000000000000004c

[  987.218199] ---[ end trace f07a2253f6484909 ]---


版权所有 © 2022 寒武纪 Cambricon.com 备案/许可证号:京ICP备17003415号-1
关闭