切换版块
×
基础软件平台
PyTorch开发
TensorFlow开发
编解码及SDK开发
BANG语言与计算库
开发工具链
MagicMind开发
软件栈百科
云平台集成
硬件产品专区
MLU370系列AI加速卡
MLU270系列AI加速卡
MLU220系列AI加速产品
经验方案交流区
经验案例与实践分享
开发者服务
开发者活动
公告与版务
高校支持
《智能计算系统》
签到
版块
社区
文档
SDK下载
370系列
200系列
开发平台
官网首页
注册
登录
全部版块
基础软件平台
硬件产品专区
经验方案交流区
开发者服务
高校支持
发布新帖
登录/注册
LV.1
atomshang
23
积分
0
赞
1
帖子
5
回复
0
收藏
TA的动态
TA的帖子
TA的回复
cndev init failed: CNDEV_ERROR_UNKNOWN.
我的回复:驱动版本:cambricon-drv-4.9.2.ko板卡型号:mlu270
0
cndev init failed: CNDEV_ERROR_UNKNOWN.
我的回复:[BEGIN] 2022/8/12 2:35:25 dmesg [ 30.922423] INFO: [pcie_ddr_set_done][850][CPU 13]: DDR Training Params set ...... [ 31.423072] INFO: [pcie_ddr_set_done][850][CPU 13]: DDR Training Params set ...... [ 31.872702] INFO: [Card0][cn_core_bootm][2834][CPU 39]: Card0 ARM Boot cost: 3s 3939 [ 31.872708] INFO: [Card0][cn_core_bootm][2890][CPU 39]: Card0 State change from CN_BOOTING to CN_LATEINIT [ 31.872713] INFO: [Card0][cn_core_bootm][2892][CPU 39]: current time: 4294698s 4294698907 [ 31.872723] INFO: Domain: cn_dm_post_init@2110: FLOW: start [ 31.872726] INFO: Domain: cn_dm_post_init@2111: core<ffff9c4316e59818>, core->domain_set<ffff9c4b18628e40> [ 31.872729] INFO: Domain: cn_dm_post_init@2112: MAKE SURE it is print after register_a_channel_nodb [ 31.872807] [__open_an_endpoint_in_host][160][274] channel domain tx_addr ffffb6d340311000 rx_addr ffffb6d340316000 [ 31.872877] INFO: Domain: cn_dm_post_init@2116: Prepare handshaking [ 31.872882] INFO: Domain: dm_queue_rpc@136: rpc<dm_ping:> [ 31.873032] INFO: Domain: dm_queue_rpc@139: return<5: okok> [ 31.873035] INFO: Domain: dm_rpc@154: rpc<dm_version:> [ 31.873075] INFO: Domain: dm_rpc@160: version: 65536 [ 31.873078] INFO: Domain: cn_dm_handshake@959: version: 0x10000 [ 31.873080] INFO: Domain: cn_dm_post_init@2121: Handshaked [ 31.873083] INFO: Domain: cn_dm_post_init@2138: FLOW: start [ 31.873088] INFO: Domain: cn_dm_post_init@2146: get domain OVERALL[63: ffff9c4316e59000] [ 31.873092] INFO: Domain: dm_rpc_set_domain_pci_cfg@615: outbound is not supported in this platform, skip the configuration. [ 31.873154] INFO: Domain: cn_dm_post_init@2153: caps: 0x0 [ 31.873157] INFO: Domain: cn_dm_post_init@2154: FLOW: done [ 31.873204] [__open_an_endpoint_in_host][160][274] channel commu_cn_mm_krpc tx_addr ffffb6d34031b000 rx_addr ffffb6d340320000 [ 31.873301] [__open_an_endpoint_in_host][160][274] channel commu_cn_mm_free_krpc tx_addr ffffb6d340325000 rx_addr ffffb6d34032a000 [ 31.873360] INFO: [Card0][krpc_client_init][4077][CPU 5]: cn memory krpc client register success! [ 31.873409] [__open_an_endpoint_in_host][160][274] channel log_channel_name tx_addr ffffb6d34032f000 rx_addr ffffb6d340334000 [ 31.873655] INFO: vuart: cn_log_vuart_postinit@504: vuart status:4 [ 31.873708] [__open_an_endpoint_in_host][160][274] channel mnt-commu tx_addr ffffb6d340339000 rx_addr ffffb6d34033e000 [ 31.873767] cn_mnt_krpc register success [ 31.873771] INFO: [Card0][cn_core_late_init][2600][CPU 5]: cn_device_heartbeat init [ 31.873835] INFO: Domain: dm_get_domain_test@2889: Got domain<ffff9c4b1d653000> in func<PF> [ 31.873841] INFO: Domain: dm_get_domain_test@2893: Got all the 1 domains. [ 31.873844] INFO: Domain: cn_dm_init_domain@1548: FLOW: start [ 31.873847] INFO: Domain: cn_dm_init_domain@1556: get domain PF[0: ffff9c4b1d653000] [ 31.873850] INFO: Domain: dm_queue_rpc@136: rpc<dm_management:PFonly> [ 31.873902] INFO: Domain: dm_queue_rpc@139: return<5: okok> [ 31.874579] INFO: Domain: dm_rpc_set_domain_set_daemon_state@196: return<5, okok> [ 31.874582] INFO: Domain: cn_dm_get_cfg@1466: Get domain configuration from device. [ 31.874585] INFO: Domain: dm_rpc_get_domain@835: FLOW: start [ 31.874589] INFO: Domain: dm_rpc_get_buf_processor@647: [ 31.874594] INFO: Domain: dm_rpc@154: rpc<dm_version:> [ 31.874634] INFO: Domain: dm_rpc@160: version: 65536 [ 31.874637] INFO: Domain: dm_rpc_get_buf_processor@653: device version: 65536 [ 31.874639] INFO: Domain: dm_rpc@154: rpc<dm_rpc_hdr_version:> [ 31.874679] INFO: Domain: dm_rpc@160: version: 65536 [ 31.874690] INFO: Domain: dm_rpc_get_buf_processor@661: device header version: 65536 [ 31.874693] INFO: Domain: dm_rpc_get_buf_processor@668: version match: transfer the data before priv [ 31.874696] INFO: Domain: dm_rpc_get_buf_processor@682: pkg.hdr.size<120>, COMMU_RPC_SIZE<128> [ 31.874699] INFO: Domain: dm_rpc_get_buf_processor@683: pkg header size<48> [ 31.874702] INFO: Domain: dm_rpc_get_buf_processor@686: func_id<0> [ 31.874844] INFO: Domain: dm_rpc_get_buf_processor@688: rpc sequence number<9> [ 31.874846] INFO: Domain: dm_rpc_get_buf_processor@690: pkg.hdr.ret<cabc4f4b> [ 31.874848] ERR: Domain: dm_rpc_get_buf_processor@692: rpc ok [ 31.874852] dm_received data: : [ 31.874857] 00: 0x0f 00 00 00 00 00 00 00; 0x00 00 00 00 00 00 00 00 [ 31.874862] 16: 0x0f 00 00 00 00 00 00 00; 0x00 00 00 00 00 00 00 00 [ 31.874869] 32: 0x00 00 00 00 00 00 00 00; 0x00 00 00 00 00 00 00 00 [ 31.874873] 48: 0x00 00 00 00 00 00 00 00; 0x00 00 00 00 00 00 00 00 [ 31.874877] 64: 0x00 00 00 00 00 00 00 00; 0x00 00 00 00 00 00 00 00 [ 31.874879] INFO: Domain: dm_rpc_get_buf_processor@717: ret 0xcabc4f4b [ 31.874885] INFO: Domain: dm_domain_print_pu@2078: processor< ipu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff] [ 31.874888] INFO: Domain: dm_rpc_get_buf_pci@752: [ 31.874890] INFO: Domain: dm_rpc@154: rpc<dm_version:> [ 31.874931] INFO: Domain: dm_rpc@160: version: 65536 [ 31.874933] INFO: Domain: dm_rpc_get_buf_pci@758: device version: 65536 [ 31.874936] INFO: Domain: dm_rpc@154: rpc<dm_rpc_hdr_version:> [ 31.874976] INFO: Domain: dm_rpc@160: version: 65536 [ 31.874979] INFO: Domain: dm_rpc_get_buf_pci@766: device header version: 65536 [ 31.874981] INFO: Domain: dm_rpc_get_buf_pci@774: rpc package header size<48> expect<60> [ 31.874984] INFO: Domain: dm_rpc_get_buf_pci@775: pkg.hdr.size<108>, COMMU_RPC_SIZE<128> [ 31.874986] INFO: Domain: dm_rpc_get_buf_pci@778: func_id<0> [ 31.874988] dm_rpc sending: [ 31.874992] 00: 0x4b 4f bc ca 00 00 00 00; 0x00 00 00 00 00 00 00 00 [ 31.874996] 16: 0x00 00 00 00 6c 00 00 00; 0x00 00 00 00 00 00 00 00 [ 31.875000] 32: 0x00 00 01 00 00 00 00 00; 0x05 00 00 00 00 00 00 00 [ 31.875159] INFO: Domain: dm_rpc_get_buf_pci@781: rpc sequence number<12> [ 31.875161] INFO: Domain: dm_rpc_get_buf_pci@783: pkg.hdr.ret<cabc4f4b> [ 31.875163] ERR: Domain: dm_rpc_get_buf_pci@785: rpc ok [ 31.875166] INFO: Domain: dm_rpc_get_buf_pci@801: rpc package header size<48> expect<60> [ 31.875168] INFO: Domain: dm_rpc_get_buf_pci@802: pkg.hdr.size<108>, COMMU_RPC_SIZE<128> [ 31.875170] INFO: Domain: dm_rpc_get_buf_pci@813: get out bound mask from rpc [ 31.875173] INFO: Domain: dm_rpc_get_buf_pci@820: domain[0: PF] pcie out bound mask: 0x0 [ 31.875175] dm_received data: : [ 31.875179] 00: 0x00 00 00 00 80 00 00 00; 0x00 00 00 08 41 00 00 00 [ 31.875183] 16: 0x00 00 00 10 00 00 00 00; 0x00 40 00 00 00 00 00 08 [ 31.875189] 32: 0x00 00 00 00 00 00 00 08; 0x00 00 00 00 00 00 00 00 [ 31.875195] 48: 0x01 00 00 00 00 00 00 00; 0x00 00 00 00 00 00 00 00 [ 31.875197] INFO: Domain: dm_rpc_get_buf_pci@822: ret 0xcabc4f4b [ 31.875200] INFO: Domain: dm_domain_print_pci@1971: num_of_bar<5> [ 31.875206] INFO: Domain: dm_domain_print_pci@2011: bar<0>: va[0xffffffffffffffff] pa[0xffffffffffffffff], register(base[0xffffffff], size[0xffffffff]) register total size[0xffffffff]), share memory(base[0xffffffff], size[0xffffffff]), reserved share memory(base[0xffffffff], size[0xffffffff]) [ 31.875212] INFO: Domain: dm_domain_print_pci@2015: pci->ob->mask: 0xffffffff [ 31.875215] INFO: Domain: dm_domain_print_pci@2016: ops<ffff9c431d966510>, init<ffffffffc071fa00>, exit<ffffffffc071f870> [ 31.875218] INFO: Domain: dm_rpc_get_domain@853: FLOW: done<ret: 0> [ 31.875221] INFO: Domain: dm_domain_set_print_domain@2094: domain[PF] magic<0xcabc6870> [ 31.875224] INFO: Domain: dm_domain_set_print_domain@2096: domain state[0x8: defined] [ 31.875227] INFO: Domain: dm_domain_print_pu@2078: processor<testu>: cores[0x0] caps[0x0] mems[0x0] [ 31.875230] INFO: Domain: dm_domain_print_pu@2078: processor< ipu>: cores[0xf] caps[0x0] mems[0xf] [ 31.875234] INFO: Domain: dm_domain_print_pu@2078: processor< vpu>: cores[0x0] caps[0x0] mems[0x0] [ 31.875239] INFO: Domain: dm_domain_print_pu@2078: processor< jpu>: cores[0x0] caps[0x0] mems[0x0] [ 31.875243] INFO: Domain: dm_domain_set_print_domain@2116: domain<ffff9c4b1d653000>, dev_mem->domain<ffff9c4b1d653000>, dev_mem->data<ffff9c4318c148a0> [ 31.875245] INFO: Domain: dm_domain_print_dev_mem@2031: number of zones 0 [ 31.875248] INFO: Domain: dm_domain_print_pci@1971: num_of_bar<5> [ 31.875253] INFO: Domain: dm_domain_print_pci@2011: bar<0>: va[0x8000000000] pa[0x4108000000], register(base[0x0], size[0x4000]) register total size[0x8000000]), share memory(base[0x0], size[0x8000000]), reserved share memory(base[0x0], size[0x0]) [ 31.875258] INFO: Domain: dm_domain_print_pci@2014: pci->dma->ch: 0x1 [ 31.875260] INFO: Domain: dm_domain_print_pci@2015: pci->ob->mask: 0x1b427cb8 [ 31.875263] INFO: Domain: dm_domain_print_pci@2016: ops<ffff9c431d966510>, init<ffffffffc071fa00>, exit<ffffffffc071f870> [ 31.875266] INFO: Domain: cn_dm_get_cfg@1487: Set domain configuration in host done, output result [ 31.875269] INFO: Domain: dm_init_domain@282: FLOW: init domain<ffff9c4b1d653000> in func <PF> [ 31.875275] INFO: Domain: dm_check_state@1884: current state<defined> could push to <init>. [ 31.875279] INFO: Domain: dm_init_module@2513: pci initing<ffffffffc071fa00> with top_priv<ffff9c431d960018> [ 31.875282] INFO: Domain: dm_init_module@2513: pci init done<0> priv<ffff9c431d960018> [ 31.875284] WARN: Domain: dm_init_module@2513: Warning: mem init empty. exit [ 31.875287] WARN: Domain: dm_init_module@2513: Warning: testu init empty. exit [ 31.875289] WARN: Domain: dm_init_module@2513: Warning: ipu init empty. exit [ 31.875291] WARN: Domain: dm_init_module@2513: Warning: vpu init empty. exit [ 31.875294] WARN: Domain: dm_init_module@2513: Warning: jpu init empty. exit由于字数限制和附件无法上传,请移步网盘下载。链接:https://pan.baidu.com/s/11eeNgjI4oFE0vNo55ZNMhA?pwd=j5zs 提取码:j5zs --来自百度网盘超级会员V8的分享
0
cndev init failed: CNDEV_ERROR_UNKNOWN.
我的回复:[root@localhost ~]# lspci -v -d:270 3b:00.0 Processing accelerators: Device cabc:0270 Subsystem: Device cabc:0012 Flags: bus master, fast devsel, latency 0, IRQ 555, NUMA node 0 Memory at 3affc0000000 (64-bit, prefetchable) [size=256M] Memory at 3afff4000000 (64-bit, prefetchable) [size=64M] Memory at 3afff0000000 (64-bit, prefetchable) [size=64M] Capabilities: [80] Power Management version 3 Capabilities: [90] MSI: Enable+ Count=1/32 Maskable+ 64bit+ Capabilities: [b0] MSI-X: Enable- Count=256 Masked- Capabilities: [c0] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [140] Alternative Routing-ID Interpretation (ARI) Capabilities: [150] Device Serial Number 00-00-00-00-00-00-00-00 Capabilities: [160] Power Budgeting <?> Capabilities: [1b8] Latency Tolerance Reporting Capabilities: [1c0] #16 Capabilities: [200] Single Root I/O Virtualization (SR-IOV) Capabilities: [274] Transaction Processing Hints Capabilities: [300] #19 Capabilities: [400] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?> Capabilities: [900] L1 PM Substates Kernel driver in use: cambricon-pci-drv_release af:00.0 Processing accelerators: Device cabc:0270 Subsystem: Device cabc:0012 Flags: bus master, fast devsel, latency 0, IRQ 557, NUMA node 1 Memory at 3effc0000000 (64-bit, prefetchable) [size=256M] Memory at 3efff4000000 (64-bit, prefetchable) [size=64M] Memory at 3efff0000000 (64-bit, prefetchable) [size=64M] Capabilities: [80] Power Management version 3 Capabilities: [90] MSI: Enable+ Count=1/32 Maskable+ 64bit+ Capabilities: [b0] MSI-X: Enable- Count=256 Masked- Capabilities: [c0] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [140] Alternative Routing-ID Interpretation (ARI) Capabilities: [150] Device Serial Number 00-00-00-00-00-00-00-00 Capabilities: [160] Power Budgeting <?> Capabilities: [1b8] Latency Tolerance Reporting Capabilities: [1c0] #16 Capabilities: [200] Single Root I/O Virtualization (SR-IOV) Capabilities: [274] Transaction Processing Hints Capabilities: [300] #19 Capabilities: [400] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?> Capabilities: [900] L1 PM Substates Kernel driver in use: cambricon-pci-drv_release
0
cndev init failed: CNDEV_ERROR_UNKNOWN.
我的回复:#2andy_marvelous回复疑似驱动安装不成功/重启后掉驱动了。辛苦您:终端输入lspci -v -d:220/270 检查驱动是否安装成功。安装驱动后,输入dmesg,并给出dmesg输出截图展开链接:https://pan.baidu.com/s/11eeNgjI4oFE0vNo55ZNMhA?pwd=j5zs 提取码:j5zs --来自百度网盘超级会员V8的分享
0
cndev init failed: CNDEV_ERROR_UNKNOWN.
我的回复:#2andy_marvelous回复疑似驱动安装不成功/重启后掉驱动了。辛苦您:终端输入lspci -v -d:220/270 检查驱动是否安装成功。安装驱动后,输入dmesg,并给出dmesg输出截图展开[ 1169.221048] INFO: [pci_hw_msi_enable][289][CPU 2]: 0xfee0001f [ 1169.221059] INFO: [adjust_dev_param][121][CPU 2]: PCIe DEV_CONTROL_STATUS_REG :0x2930 [ 1169.221061] INFO: [adjust_dev_param][124][CPU 2]: PCIe DMA Capability and Version Register:1 [ 1169.221064] INFO: [adjust_dev_param][131][CPU 2]: PCIe 0x109234 value:3ea40 t:2 [ 1169.221100] INFO: [pci_hw_msi_enable][262][CPU 2]: MSK_ADDR_L:0xfee00078 [ 1169.221102] INFO: [pci_hw_msi_enable][263][CPU 2]: MSK_ADDR_u:0x0 [ 1169.221103] INFO: [pci_hw_msi_enable][264][CPU 2]: MSK_data:0x0 [ 1169.221104] INFO: [pci_hw_msi_enable][289][CPU 2]: 0xfee0001f [ 1169.221136] INFO: [cn_proc_init][2335][CPU 2]: init OK! [ 1169.221138] INFO: [Card0][cn_core_init_idx][3398][CPU 2]: core idx:0 pf_idx:0 vf_idx:0 [ 1169.221141] INFO: [Card0][cn_mcu_init][389][CPU 2]: mcu init [ 1169.221145] INFO: [Card0][mcu_read_basic_info_mlu270][234][CPU 2]: DDR Training Params set by MCU Finish [ 1169.221151] INFO: [Card0][mcu_read_basic_info_mlu270][294][CPU 2]: board serial: 0000122011100200 [ 1169.221154] INFO: [Card0][mcu_read_basic_info_mlu270][340][CPU 2]: board_model_name MLU270-S4 subsystem_id 0x12, board_model 0x3, peak_power 0x46 [ 1169.221156] INFO: [Card0][mcu_read_basic_info_mlu270][341][CPU 2]: board_idx 2 [ 1169.221159] INFO: [Card0][mcu_read_basic_info_mlu270][357][CPU 2]: bus_width 64 ecc_support 1, stack_size 409 [ 1169.221162] INFO: [Card0][mcu_read_basic_info_mlu270][360][CPU 2]: sram_size 1572864, cache_size 1048576, kc_limit 16, ipu_freq 1000, [ 1169.221165] INFO: [Card0][mcu_version_contorl][266][CPU 2]: MCU Ver: v1.1.3, Standard Ver: v1.1.3 [ 1169.221166] INFO: [Card0][mcu_version_contorl][300][CPU 2]: MCU Version Check successfully. [ 1169.221168] INFO: [Card0][cn_mcu_init][412][CPU 2]: MCU Version: v1.1.3 [ 1169.221171] INFO: [Card0][cn_mcu_init][424][CPU 2]: not over temperature poweroff last time [ 1169.221173] INFO: [cn_host_mcu_trans_init][338][CPU 2]: trans host_mcu trans init [ 1169.221175] INFO: [cn_host_mcu_trans_init][350][CPU 2]: trans hbm repair[0x270cabc] not support [ 1169.221176] INFO: [Card0][cn_mcu_init][429][CPU 2]: trans init over [ 1169.221178] INFO: [Card0][cn_mcc_init][87][CPU 2]: mcc init [ 1169.221181] INFO: [Card0][ddr_init_mlu270][255][CPU 2]: ddr: 10FFF [ 1169.221203] INFO: [Card0][smmuv2_init][113][CPU 2]: bar0 reg size = 8000000, mem size = 8000000 [ 1169.221205] INFO: [Card0][smmuv2_init][117][CPU 2]: C20L pcie smmu cau cnt = 45 [ 1169.221226] INFO: [Card0][cn_mm_init][3820][CPU 2]: phy total:0x400000000 [ 1169.221228] INFO: [Card0][cn_mm_init][3825][CPU 2]: vir total:0x10000000000 [ 1169.221231] INFO: [Card0][mempool_init][268][CPU 2]: create pool VA[ffffb6d340000000] -> PA[3affc8000000] : SIZE[8000000] [ 1169.221239] INFO: [Card0][shm_reserved_init][927][CPU 2]: rpc_reserved:alloc host[ffffb6d340000000] <-> dev[8008000000], size = 0x1000 [ 1169.221242] INFO: [Card0][shm_reserved_init][927][CPU 2]: commu_reserved:alloc host[ffffb6d340001000] <-> dev[8008001000], size = 0x10000 [ 1169.221246] INFO: [Card0][shm_reserved_init][927][CPU 2]: kernel_debug_reserved:alloc host[ffffb6d340011000] <-> dev[8008011000], size = 0x100000 [ 1169.221250] INFO: [Card0][shm_reserved_init][927][CPU 2]: pgretire_reserved:alloc host[ffffb6d340111000] <-> dev[8008111000], size = 0x100000 [ 1169.221629] INFO: Domain: cn_dm_init@1993: FLOW: start [ 1169.221634] INFO: Domain: dm_funcid_converter_test@2907: input: 0x0: dm_funcid2vmid[0x10000], dm_vmid2funcid[0x1], dm_funcid2commuid[0x4], dm_commuid2funcid: 0x1 [ 1169.221637] INFO: Domain: dm_funcid_converter_test@2907: input: 0x1: dm_funcid2vmid[0x0], dm_vmid2funcid[0x2], dm_funcid2commuid[0x0], dm_commuid2funcid: 0x2 [ 1169.221639] INFO: Domain: dm_funcid_converter_test@2907: input: 0x2: dm_funcid2vmid[0x1], dm_vmid2funcid[0x3], dm_funcid2commuid[0x1], dm_commuid2funcid: 0x3 [ 1169.221642] INFO: Domain: dm_funcid_converter_test@2907: input: 0x3: dm_funcid2vmid[0x2], dm_vmid2funcid[0x4], dm_funcid2commuid[0x2], dm_commuid2funcid: 0x4 [ 1169.221645] INFO: Domain: dm_funcid_converter_test@2907: input: 0x4: dm_funcid2vmid[0x3], dm_vmid2funcid[0xffffffff], dm_funcid2commuid[0x3], dm_commuid2funcid: 0x0 [ 1169.221649] INFO: Domain: dm_funcid_converter_test@2907: input: 0x5: dm_funcid2vmid[0xffffffff], dm_vmid2funcid[0xffffffff], dm_funcid2commuid[0xffffffff], dm_commuid2funcid: 0xffffffff [ 1169.221652] INFO: Domain: dm_funcid_converter_test@2907: input: 0x10000: dm_funcid2vmid[0xffffffff], dm_vmid2funcid[0x0], dm_funcid2commuid[0xffffffff], dm_commuid2funcid: 0xffffffff [ 1169.221658] INFO: Domain: dm_alloc_and_init_domain_set@1677: domain_set_type<ffff9c4759fb0000> [ 1169.221660] INFO: Domain: dm_alloc_and_init_domains@1655: allocation 1 function is host side. [ 1169.221664] INFO: Domain: dm_domain_initialization@1227: domain(host side) function id<0> magic<0xcabc6870> [ 1169.221670] INFO: Domain: dm_pci_cfg_initialization@618: init pci with data<ffff9c40fcbc4600> bars<5: ffff9c41c4bf9b00> shms<5: ffff9c41c4bf9100> for domain<ffff9c423ce48000> [ 1169.221672] INFO: Domain: dm_domain_initialization@1231: domain[0]: init pcie as pf [ 1169.221676] INFO: Domain: dm_dev_mem_cfg_initialization@585: dev_mem init with data<ffff9c40fcbc4060> for domain[0:ffff9c423ce48000] [ 1169.221679] INFO: Domain: dm_processor_cfg_init@569: init processor<testu>@<ffff9c423ce48060> with data<ffff9c40fcbc4ea0> for domain<ffff9c423ce48000> [ 1169.221683] INFO: Domain: dm_processor_cfg_init@569: init processor<ipu>@<ffff9c423ce480f8> with data<ffff9c40fcbc4b40> for domain<ffff9c423ce48000> [ 1169.221686] INFO: Domain: dm_processor_cfg_init@569: init processor<vpu>@<ffff9c423ce48190> with data<ffff9c40fcbc41e0> for domain<ffff9c423ce48000> [ 1169.221689] INFO: Domain: dm_processor_cfg_init@569: init processor<jpu>@<ffff9c423ce48228> with data<ffff9c40fcbc4720> for domain<ffff9c423ce48000> [ 1169.221691] INFO: Domain: dm_domain_initialization@1265: DONE [ 1169.221693] INFO: Domain: dm_alloc_and_init_domains@1655: allocation 2 function is host side. [ 1169.221697] INFO: Domain: dm_domain_initialization@1227: domain(host side) function id<0> magic<0xcabc6870> [ 1169.221702] INFO: Domain: dm_pci_cfg_initialization@618: init pci with data<ffff9c40fcbc4240> bars<5: ffff9c41c4bf8300> shms<5: ffff9c41c4bf8a00> for domain<ffff9c4b1b10e000> [ 1169.221704] INFO: Domain: dm_domain_initialization@1231: domain[0]: init pcie as pf [ 1169.221707] INFO: Domain: dm_dev_mem_cfg_initialization@585: dev_mem init with data<ffff9c40fcbc4e40> for domain[0:ffff9c4b1b10e000] [ 1169.221710] INFO: Domain: dm_processor_cfg_init@569: init processor<testu>@<ffff9c4b1b10e060> with data<ffff9c40fcbc4480> for domain<ffff9c4b1b10e000> [ 1169.221714] INFO: Domain: dm_processor_cfg_init@569: init processor<ipu>@<ffff9c4b1b10e0f8> with data<ffff9c40fcbc4900> for domain<ffff9c4b1b10e000> [ 1169.221717] INFO: Domain: dm_processor_cfg_init@569: init processor<vpu>@<ffff9c4b1b10e190> with data<ffff9c40fcbc4de0> for domain<ffff9c4b1b10e000> [ 1169.221720] INFO: Domain: dm_processor_cfg_init@569: init processor<jpu>@<ffff9c4b1b10e228> with data<ffff9c40fcbc4a80> for domain<ffff9c4b1b10e000> [ 1169.221721] INFO: Domain: dm_domain_initialization@1265: DONE [ 1169.221724] INFO: Domain: dm_domain_initialization@1227: domain(host side) function id<1> magic<0xcabc6876> [ 1169.221729] INFO: Domain: dm_pci_cfg_initialization@618: init pci with data<ffff9c40fcbc40c0> bars<5: ffff9c41c4bf9600> shms<5: ffff9c41c4bfaf00> for domain<ffff9c4b1b10e4a0> [ 1169.221730] INFO: Domain: dm_domain_initialization@1239: domain[1]: init pcie as vf [ 1169.221733] INFO: Domain: dm_dev_mem_cfg_initialization@585: dev_mem init with data<ffff9c40fcbc4300> for domain[1:ffff9c4b1b10e4a0] [ 1169.221736] INFO: Domain: dm_processor_cfg_init@569: init processor<testu>@<ffff9c4b1b10e500> with data<ffff9c40fcbc4180> for domain<ffff9c4b1b10e4a0> [ 1169.221739] INFO: Domain: dm_processor_cfg_init@569: init processor<ipu>@<ffff9c4b1b10e598> with data<ffff9c40fcbc4360> for domain<ffff9c4b1b10e4a0> [ 1169.221742] INFO: Domain: dm_processor_cfg_init@569: init processor<vpu>@<ffff9c4b1b10e630> with data<ffff9c40fcbc4cc0> for domain<ffff9c4b1b10e4a0> [ 1169.221745] INFO: Domain: dm_processor_cfg_init@569: init processor<jpu>@<ffff9c4b1b10e6c8> with data<ffff9c40fcbc4420> for domain<ffff9c4b1b10e4a0> [ 1169.221747] INFO: Domain: dm_domain_initialization@1265: DONE [ 1169.221749] INFO: Domain: cn_dm_init@2002: domain_set_type<ffff9c4759fb0000> [ 1169.221755] INFO: Domain: dm_domain_dup@1449: domain(host side) magic<0xcabc6870> [ 1169.221759] INFO: Domain: dm_domain_copy_per_module_ops@1407: copy domain ops from src[63 ffff9c3fc2f3d800] to dst[63: ffff9c423ce48000]. [ 1169.221763] INFO: Domain: dm_pci_cfg_dup_data@1291: dst domain<ffff9c423ce48000> pci<ffff9c3fc2f3d800>; src domain<ffff9c423ce48338> pci<ffff9c3fc2f3db38> [ 1169.221765] INFO: Domain: dm_pci_cfg_dup_data@1294: pci dst data<ffff9c40fcbc4600> src data<ffff9c431b31ec00> [ 1169.221768] INFO: Domain: dm_pci_cfg_dup_data@1298: pci dst shms<ffff9c41c4bf9100> src shms<ffff9c3c3319b600> [ 1169.221770] INFO: Domain: dm_pci_cfg_dup_data@1309: pci dst bars<ffff9c41c4bf9b00> src bars<ffff9c3c3319af00> [ 1169.221774] INFO: Domain: dm_dev_mem_cfg_dup_data@96: dst domain<ffff9c423ce48000> module<ffff9c3fc2f3d800>; src domain<ffff9c423ce482c0> module<ffff9c3fc2f3dac0> [ 1169.221778] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c423ce48000> module<ffff9c3fc2f3d800>; src domain<ffff9c423ce48060> module<ffff9c3fc2f3d860> [ 1169.221782] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c423ce48000> module<ffff9c3fc2f3d800>; src domain<ffff9c423ce480f8> module<ffff9c3fc2f3d8f8> [ 1169.221785] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c423ce48000> module<ffff9c3fc2f3d800>; src domain<ffff9c423ce48190> module<ffff9c3fc2f3d990>
0
cndev init failed: CNDEV_ERROR_UNKNOWN.
我的回复:#2andy_marvelous回复疑似驱动安装不成功/重启后掉驱动了。辛苦您:终端输入lspci -v -d:220/270 检查驱动是否安装成功。安装驱动后,输入dmesg,并给出dmesg输出截图展开[ 1169.221788] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c423ce48000> module<ffff9c3fc2f3d800>; src domain<ffff9c423ce48228> module<ffff9c3fc2f3da28> [ 1169.221791] INFO: Domain: dm_domain_dup@1449: domain(host side) magic<0xcabc6870> [ 1169.221795] INFO: Domain: dm_domain_copy_per_module_ops@1407: copy domain ops from src[0 ffff9c4b1b094000] to dst[0: ffff9c4b1b10e000]. [ 1169.221799] INFO: Domain: dm_pci_cfg_dup_data@1291: dst domain<ffff9c4b1b10e000> pci<ffff9c4b1b094000>; src domain<ffff9c4b1b10e338> pci<ffff9c4b1b094338> [ 1169.221801] INFO: Domain: dm_pci_cfg_dup_data@1294: pci dst data<ffff9c40fcbc4240> src data<ffff9c412526eae0> [ 1169.221804] INFO: Domain: dm_pci_cfg_dup_data@1298: pci dst shms<ffff9c41c4bf8a00> src shms<ffff9c3c33198d00> [ 1169.221806] INFO: Domain: dm_pci_cfg_dup_data@1309: pci dst bars<ffff9c41c4bf8300> src bars<ffff9c3c3319bb00> [ 1169.221810] INFO: Domain: dm_dev_mem_cfg_dup_data@96: dst domain<ffff9c4b1b10e000> module<ffff9c4b1b094000>; src domain<ffff9c4b1b10e2c0> module<ffff9c4b1b0942c0> [ 1169.221813] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4b1b10e000> module<ffff9c4b1b094000>; src domain<ffff9c4b1b10e060> module<ffff9c4b1b094060> [ 1169.221816] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4b1b10e000> module<ffff9c4b1b094000>; src domain<ffff9c4b1b10e0f8> module<ffff9c4b1b0940f8> [ 1169.221819] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4b1b10e000> module<ffff9c4b1b094000>; src domain<ffff9c4b1b10e190> module<ffff9c4b1b094190> [ 1169.221822] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4b1b10e000> module<ffff9c4b1b094000>; src domain<ffff9c4b1b10e228> module<ffff9c4b1b094228> [ 1169.221823] INFO: Domain: dm_domain_dup@1449: domain(host side) magic<0xcabc6870> [ 1169.221826] INFO: Domain: dm_domain_copy_per_module_ops@1407: copy domain ops from src[0 ffff9c4b1b094000] to dst[0: ffff9c4b1b10e000]. [ 1169.221829] INFO: Domain: dm_pci_cfg_dup_data@1291: dst domain<ffff9c4b1b10e000> pci<ffff9c4b1b094000>; src domain<ffff9c4b1b10e338> pci<ffff9c4b1b094338> [ 1169.221831] INFO: Domain: dm_pci_cfg_dup_data@1294: pci dst data<ffff9c40fcbc4240> src data<ffff9c412526eae0> [ 1169.221833] INFO: Domain: dm_pci_cfg_dup_data@1298: pci dst shms<ffff9c41c4bf8a00> src shms<ffff9c3c33198d00> [ 1169.221835] INFO: Domain: dm_pci_cfg_dup_data@1309: pci dst bars<ffff9c41c4bf8300> src bars<ffff9c3c3319bb00> [ 1169.221838] INFO: Domain: dm_dev_mem_cfg_dup_data@96: dst domain<ffff9c4b1b10e000> module<ffff9c4b1b094000>; src domain<ffff9c4b1b10e2c0> module<ffff9c4b1b0942c0> [ 1169.221841] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4b1b10e000> module<ffff9c4b1b094000>; src domain<ffff9c4b1b10e060> module<ffff9c4b1b094060> [ 1169.221844] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4b1b10e000> module<ffff9c4b1b094000>; src domain<ffff9c4b1b10e0f8> module<ffff9c4b1b0940f8> [ 1169.221847] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4b1b10e000> module<ffff9c4b1b094000>; src domain<ffff9c4b1b10e190> module<ffff9c4b1b094190> [ 1169.221850] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4b1b10e000> module<ffff9c4b1b094000>; src domain<ffff9c4b1b10e228> module<ffff9c4b1b094228> [ 1169.221855] INFO: Domain: dm_domain_dup@1449: domain(host side) magic<0xcabc6876> [ 1169.221858] INFO: Domain: dm_domain_copy_per_module_ops@1407: copy domain ops from src[1 ffff9c4b1b0944a0] to dst[1: ffff9c4b1b10e4a0]. [ 1169.221861] INFO: Domain: dm_pci_cfg_dup_data@1291: dst domain<ffff9c4b1b10e4a0> pci<ffff9c4b1b0944a0>; src domain<ffff9c4b1b10e7d8> pci<ffff9c4b1b0947d8> [ 1169.221863] INFO: Domain: dm_pci_cfg_dup_data@1294: pci dst data<ffff9c40fcbc40c0> src data<ffff9c412526ec00> [ 1169.221866] INFO: Domain: dm_pci_cfg_dup_data@1298: pci dst shms<ffff9c41c4bfaf00> src shms<ffff9c3c33198300> [ 1169.221868] INFO: Domain: dm_pci_cfg_dup_data@1309: pci dst bars<ffff9c41c4bf9600> src bars<ffff9c3c3319b200> [ 1169.221871] INFO: Domain: dm_dev_mem_cfg_dup_data@96: dst domain<ffff9c4b1b10e4a0> module<ffff9c4b1b0944a0>; src domain<ffff9c4b1b10e760> module<ffff9c4b1b094760> [ 1169.221875] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4b1b10e4a0> module<ffff9c4b1b0944a0>; src domain<ffff9c4b1b10e500> module<ffff9c4b1b094500> [ 1169.221878] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4b1b10e4a0> module<ffff9c4b1b0944a0>; src domain<ffff9c4b1b10e598> module<ffff9c4b1b094598> [ 1169.221882] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4b1b10e4a0> module<ffff9c4b1b0944a0>; src domain<ffff9c4b1b10e630> module<ffff9c4b1b094630> [ 1169.221886] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4b1b10e4a0> module<ffff9c4b1b0944a0>; src domain<ffff9c4b1b10e6c8> module<ffff9c4b1b0946c8> [ 1169.221888] INFO: Domain: cn_dm_init@2018: PF only mode: clear VF domain [ 1169.221891] INFO: Domain: cn_dm_init@2042: outbound is not supported in this platform, skip the configuration. [ 1169.221893] INFO: Domain: dm_get_domain_test@2889: Got domain<ffff9c4b1b10e000> in func<PF> [ 1169.221895] INFO: Domain: dm_get_domain_test@2893: Got all the 1 domains. [ 1169.221967] INFO: Domain: cn_dm_init@2075: FLOW: done [ 1169.222339] INFO: [Card0][cn_pci_alloc_dma_buffer][1400][CPU 2]: channel0 buf_sz=0x100000, buf_cnt=1 [ 1169.222750] INFO: [Card0][cn_pci_alloc_dma_buffer][1400][CPU 2]: channel1 buf_sz=0x100000, buf_cnt=1 [ 1169.223118] INFO: [Card0][cn_pci_alloc_dma_buffer][1400][CPU 2]: channel2 buf_sz=0x100000, buf_cnt=1 [ 1169.223490] INFO: [Card0][cn_pci_alloc_dma_buffer][1400][CPU 2]: channel3 buf_sz=0x100000, buf_cnt=1 [ 1169.223859] INFO: [Card0][cn_pci_alloc_dma_buffer][1400][CPU 2]: channel4 buf_sz=0x100000, buf_cnt=1 [ 1169.224225] INFO: [Card0][cn_pci_alloc_dma_buffer][1400][CPU 2]: channel5 buf_sz=0x100000, buf_cnt=1 [ 1169.224609] INFO: [Card0][cn_pci_alloc_dma_buffer][1400][CPU 2]: channel6 buf_sz=0x100000, buf_cnt=1 [ 1169.224982] INFO: [Card0][cn_pci_alloc_dma_buffer][1400][CPU 2]: channel7 buf_sz=0x100000, buf_cnt=1 [ 1169.225311] INFO: [Card0][cn_pci_alloc_dma_buffer][1400][CPU 2]: channel8 buf_sz=0x100000, buf_cnt=1 [ 1169.225650] INFO: [Card0][cn_pci_alloc_dma_buffer][1400][CPU 2]: channel9 buf_sz=0x100000, buf_cnt=1 [ 1169.225986] INFO: [Card0][cn_pci_alloc_dma_buffer][1400][CPU 2]: channel10 buf_sz=0x100000, buf_cnt=1 [ 1169.226310] INFO: [Card0][cn_pci_alloc_dma_buffer][1400][CPU 2]: channel11 buf_sz=0x100000, buf_cnt=1 [ 1169.226660] INFO: [Card0][cn_pci_alloc_dma_buffer][1400][CPU 2]: channel12 buf_sz=0x100000, buf_cnt=1 [ 1169.226987] INFO: [Card0][cn_pci_alloc_dma_buffer][1400][CPU 2]: channel13 buf_sz=0x100000, buf_cnt=1 [ 1169.227314] INFO: [Card0][cn_pci_alloc_dma_buffer][1400][CPU 2]: channel14 buf_sz=0x100000, buf_cnt=1 [ 1169.227642] INFO: [Card0][cn_pci_alloc_dma_buffer][1400][CPU 2]: channel15 buf_sz=0x100000, buf_cnt=1 [ 1169.227648] INFO: [Card0][cn_pci_device_share_mem_init][1540][CPU 2]: alloc host[ffffb6d340211000] <-> dev[8008211000] [ 1169.227650] INFO: [Card0][cn_pci_dma_channel_init][1566][CPU 2]: dma channel init successfully [ 1169.227654] INFO: [Card0][pcie_init][688][CPU 2]: channel0: desc_addr=8008211000 [ 1169.227768] INFO: [Card0][pcie_init][688][CPU 2]: channel1: desc_addr=8008221000 [ 1169.227880] INFO: [Card0][pcie_init][688][CPU 2]: channel2: desc_addr=8008231000 [ 1169.227991] INFO: [Card0][pcie_init][688][CPU 2]: channel3: desc_addr=8008241000 [ 1169.228103] INFO: [Card0][pcie_init][688][CPU 2]: channel4: desc_addr=8008251000 [ 1169.228213] INFO: [Card0][pcie_init][688][CPU 2]: channel5: desc_addr=8008261000 [ 1169.228324] INFO: [Card0][pcie_init][688][CPU 2]: channel6: desc_addr=8008271000 [ 1169.228455] INFO: [Card0][pcie_init][688][CPU 2]: channel7: desc_addr=8008281000 [ 1169.228569] INFO: [Card0][pcie_init][688][CPU 2]: channel8: desc_addr=8008291000 [ 1169.228680] INFO: [Card0][pcie_init][688][CPU 2]: channel9: desc_addr=80082a1000 [ 1169.228791] INFO: [Card0][pcie_init][688][CPU 2]: channel10: desc_addr=80082b1000 [ 1169.228904] INFO: [Card0][pcie_init][688][CPU 2]: channel11: desc_addr=80082c1000 [ 1169.229016] INFO: [Card0][pcie_init][688][CPU 2]: channel12: desc_addr=80082d1000 [ 1169.229127] INFO: [Card0][pcie_init][688][CPU 2]: channel13: desc_addr=80082e1000 [ 1169.229241] INFO: [Card0][pcie_init][688][CPU 2]: channel14: desc_addr=80082f1000 [ 1169.229355] INFO: [Card0][pcie_init][688][CPU 2]: channel15: desc_addr=8008301000 [ 1169.229475] INFO: [Card0][cn_pci_dma_async_init][294][CPU 2]: ASYNC DMA INIT [ 1169.229478] INFO: Domain: dm_register_ops_kernel@2252: daemon is not started. register to PF or the only VF [ 1169.229482] INFO: Domain: dm_register_ops@1097: register module<pci> new_ops<ffff9c41ad676510> with top_priv<ffff9c41ad670018> to domain[PF: ffff9c4b1b10e000] successful [ 1169.229484] INFO: [Card0][cn_pci_init][566][CPU 2]: init end [ 1169.229797] INFO: [Card0][cn_i2c_init][160][CPU 2]: i2c init [ 1169.229800] INFO: [Card0][dw_i2c_init][323][CPU 2]: dw_apb_i2c module init [ 1169.229804] INFO: [Card0][dw_i2c_init][332][CPU 2]: IC_CON reg initialized: 0x63 [ 1169.229812] INFO: [Card0][cn_core_setup_cdev][2520][CPU 2]: cdev 235:0, cambricon_dev0, added [ 1169.229994] INFO: [cn_proc_set_init][2127][CPU 2]: PROC SET. [ 1169.230175] INFO: [Card0][cn_bootm_work][2918][CPU 17]: card 0 boot working! [ 1169.230181] INFO: [Card0][cn_core_bootm][2900][CPU 17]: Card0 State change from CN_EARLYINITED to CN_BRINGUP [ 1169.230184] INFO: [Card0][cn_core_bootm][2902][CPU 17]: current time: 4295838s 4295838936 [ 1169.230186] Card[0] MLU270 boot_prepare() [ 1169.230500] INFO: [cn_pci_set_dma_mask][451][CPU 10]: set pcie dma mask64 ok [ 1169.230506] INFO: Domain: dm_bar_pcie2dm@969: id.device<0x270>, pcie id<0x270cabc> [ 1169.230507] INFO: Domain: dm_bar_pcie2dm@973:
0
cndev init failed: CNDEV_ERROR_UNKNOWN.
我的回复:#2andy_marvelous回复疑似驱动安装不成功/重启后掉驱动了。辛苦您:终端输入lspci -v -d:220/270 检查驱动是否安装成功。安装驱动后,输入dmesg,并给出dmesg输出截图展开[ 1169.230509] INFO: Domain: cn_dm_host_early_init@1923: FLOW: start [ 1169.230511] INFO: Domain: cn_dm_host_early_init@1933: domain_set_type<ffff9c4625acf080> [ 1169.230515] INFO: Domain: dm_domain_print_pci@1971: num_of_bar<5> [ 1169.230521] INFO: Domain: dm_domain_print_pci@2011: bar<0>: va[0x8000000000] pa[0x4108000000], register(base[0x0], size[0x4000]) register total size[0x8000000]), share memory(base[0x0], size[0x8000000]), reserved share memory(base[0x850000], size[0x4000]) [ 1169.230523] INFO: Domain: dm_domain_print_pci@2014: pci->dma->ch: 0xf [ 1169.230526] INFO: Domain: dm_domain_print_pci@2015: pci->ob->mask: 0xfffffff0 [ 1169.230529] INFO: Domain: dm_domain_set_print@2130: dump domain_set [ 1169.230531] INFO: Domain: dm_domain_set_print@2131: Upper pointer(core)<0x (null)> [ 1169.230532] INFO: Domain: dm_domain_set_print@2132: daemon_state<undef> [ 1169.230534] INFO: Domain: dm_domain_set_print_domain@2094: domain[OVERALL] magic<0xcabc6870> [ 1169.230536] INFO: Domain: dm_domain_set_print_domain@2096: domain state[0x2: invalid] [ 1169.230539] INFO: Domain: dm_domain_print_pu@2078: processor<testu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff] [ 1169.230541] INFO: Domain: dm_domain_print_pu@2078: processor< ipu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff] [ 1169.230543] INFO: Domain: dm_domain_print_pu@2078: processor< vpu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff] [ 1169.230545] INFO: Domain: dm_domain_print_pu@2078: processor< jpu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff] [ 1169.230547] INFO: Domain: dm_domain_set_print_domain@2116: domain<ffff9c3fc2f3d800>, dev_mem->domain<ffff9c3fc2f3d800>, dev_mem->data<ffff9c431b31e4e0> [ 1169.230549] INFO: Domain: dm_domain_print_dev_mem@2031: number of zones 0 [ 1169.230550] INFO: Domain: dm_domain_print_pci@1971: num_of_bar<5> [ 1169.230554] INFO: Domain: dm_domain_print_pci@2011: bar<0>: va[0x8000000000] pa[0x4108000000], register(base[0x0], size[0x4000]) register total size[0x8000000]), share memory(base[0x0], size[0x8000000]), reserved share memory(base[0x850000], size[0x4000]) [ 1169.230555] INFO: Domain: dm_domain_print_pci@2014: pci->dma->ch: 0xf [ 1169.230557] INFO: Domain: dm_domain_print_pci@2015: pci->ob->mask: 0xfffffff0 [ 1169.230559] INFO: Domain: dm_domain_set_print@2142: domain<0>: [ 1169.230560] INFO: Domain: dm_domain_set_print_domain@2094: domain[PF] magic<0xcabc6870> [ 1169.230562] INFO: Domain: dm_domain_set_print_domain@2096: domain state[0x1: undef] [ 1169.230564] INFO: Domain: dm_domain_print_pu@2078: processor<testu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff] [ 1169.230565] INFO: Domain: dm_domain_print_pu@2078: processor< ipu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff] [ 1169.230567] INFO: Domain: dm_domain_print_pu@2078: processor< vpu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff] [ 1169.230569] INFO: Domain: dm_domain_print_pu@2078: processor< jpu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff] [ 1169.230571] INFO: Domain: dm_domain_set_print_domain@2116: domain<ffff9c4b1b094000>, dev_mem->domain<ffff9c4b1b094000>, dev_mem->data<ffff9c412526e2a0> [ 1169.230572] INFO: Domain: dm_domain_print_dev_mem@2031: number of zones 0 [ 1169.230573] INFO: Domain: dm_domain_print_pci@1971: num_of_bar<5> [ 1169.230578] INFO: Domain: dm_domain_print_pci@2011: bar<0>: va[0xffffffffffffffff] pa[0xffffffffffffffff], register(base[0xffffffff], size[0xffffffff]) register total size[0xffffffff]), share memory(base[0xffffffff], size[0xffffffff]), reserved share memory(base[0xffffffff], size[0xffffffff]) [ 1169.230580] INFO: Domain: dm_domain_print_pci@2015: pci->ob->mask: 0xffffffff [ 1169.230581] INFO: Domain: dm_domain_set_print@2142: domain<1>: [ 1169.230583] INFO: Domain: dm_domain_set_print_domain@2094: domain[VF0] magic<0xcabc6876> [ 1169.230584] INFO: Domain: dm_domain_set_print_domain@2096: domain state[0x1: undef] [ 1169.230585] INFO: Domain: dm_domain_print_pu@2078: processor<testu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff] [ 1169.230587] INFO: Domain: dm_domain_print_pu@2078: processor< ipu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff] [ 1169.230588] INFO: Domain: dm_domain_print_pu@2078: processor< vpu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff] [ 1169.230590] INFO: Domain: dm_domain_print_pu@2078: processor< jpu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff] [ 1169.230592] INFO: Domain: dm_domain_set_print_domain@2116: domain<ffff9c4b1b0944a0>, dev_mem->domain<ffff9c4b1b0944a0>, dev_mem->data<ffff9c412526e720> [ 1169.230593] INFO: Domain: dm_domain_print_dev_mem@2031: number of zones 0 [ 1169.230594] INFO: Domain: dm_domain_print_pci@1971: num_of_bar<5> [ 1169.230597] INFO: Domain: dm_domain_print_pci@2011: bar<0>: va[0xffffffffffffffff] pa[0xffffffffffffffff], register(base[0xffffffff], size[0xffffffff]) register total size[0xffffffff]), share memory(base[0xffffffff], size[0xffffffff]), reserved share memory(base[0xffffffff], size[0xffffffff]) [ 1169.230599] INFO: Domain: dm_domain_print_pci@2015: pci->ob->mask: 0xffffffff [ 1169.230601] INFO: Domain: dm_print_type_size@2929: struct domain_type: 1184 [ 1169.230602] INFO: Domain: dm_print_type_size@2930: struct processor_data: 88 [ 1169.230603] INFO: Domain: dm_print_type_size@2931: struct dev_mem_data: 88 [ 1169.230604] INFO: Domain: dm_print_type_size@2932: struct pci_data: 88 [ 1169.230605] INFO: Domain: dm_print_type_size@2933: struct pmu_data: 88 [ 1169.230607] INFO: Domain: dm_get_domain_test@2889: Got domain<ffff9c4b1b094000> in func<PF> [ 1169.230609] INFO: Domain: dm_get_domain_test@2889: Got domain<ffff9c4b1b0944a0> in func<VF0> [ 1169.230611] INFO: Domain: dm_get_domain_test@2893: Got all the 2 domains. [ 1169.230611] INFO: Domain: cn_dm_host_early_init@1953: FLOW: done [ 1169.230669] INFO: [c20l_hotreset_gen1_to_gen3][836][CPU 10]: PCIe link speed is 8.0GT/s [ 1169.230671] INFO: [c20l_hotreset_gen1_to_gen3][837][CPU 10]: PCIe link width is x16 [ 1169.230688] Domain API: invalid PF domain [ 1169.230690] INFO: [c20l_pcie_shm_area_init][1078][CPU 10]: get from domain size:8000000 [ 1169.331310] INFO: [pcie_register_bar][264][CPU 10]: bar_type=0, bar_index=2, bar.base=ffffb6d398000000, bar.sz=4000000 [ 1169.331313] INFO: [pcie_register_bar][264][CPU 10]: bar_type=0, bar_index=4, bar.base=ffffb6d3c0000000, bar.sz=4000000 [ 1169.331315] INFO: [pcie_register_bar][264][CPU 10]: bar_type=1, bar_index=0, bar.base=ffffb6d428000000, bar.sz=4000000 [ 1169.331317] INFO: [pcie_register_bar][264][CPU 10]: bar_type=1, bar_index=1, bar.base=ffffb6d430000000, bar.sz=4000000 [ 1169.331319] INFO: [pcie_register_bar][264][CPU 10]: bar_type=1, bar_index=2, bar.base=ffffb6d438000000, bar.sz=4000000 [ 1169.331321] INFO: [pcie_register_bar][264][CPU 10]: bar_type=1, bar_index=3, bar.base=ffffb6d440000000, bar.sz=4000000 [ 1169.331322] INFO: [pcie_register_bar][264][CPU 10]: bar_type=1, bar_index=4, bar.base=ffffb6d448000000, bar.sz=4000000 [ 1169.331324] INFO: [pcie_register_bar][264][CPU 10]: bar_type=1, bar_index=5, bar.base=ffffb6d458000000, bar.sz=4000000 [ 1169.331326] INFO: [pcie_register_bar][264][CPU 10]: bar_type=1, bar_index=6, bar.base=ffffb6d460000000, bar.sz=4000000 [ 1169.331327] INFO: [pcie_register_bar][264][CPU 10]: bar_type=1, bar_index=7, bar.base=ffffb6d468000000, bar.sz=4000000 [ 1169.331333] INFO: [c20l_pcie_dma_pre_init][1130][CPU 10]: Domain[63: 0xffff9c3fc2f3d800] [ 1169.331336] INFO: [c20l_pcie_dma_pre_init][1137][CPU 10]: get from domain mask:0xf [ 1169.331347] INFO: [c20l_outbound_pre_init][1175][CPU 10]: ob_mask:0xffff0000 ob_cnt:16 ob_size:0x80000 ob_total_size:800000 ob_axi_addr:8007000000 [ 1169.331668] cambricon-pci-drv_release 0000:af:00.0: irq 557 for MSI/MSI-X [ 1169.331746] INFO: [pci_hw_msi_enable][262][CPU 10]: MSK_ADDR_L:0xfee00078 [ 1169.331748] INFO: [pci_hw_msi_enable][263][CPU 10]: MSK_ADDR_u:0x0 [ 1169.331749] INFO: [pci_hw_msi_enable][264][CPU 10]: MSK_data:0x0 [ 1169.331751] INFO: [pci_hw_msi_enable][289][CPU 10]: 0xfee0001f [ 1169.331762] INFO: [adjust_dev_param][121][CPU 10]: PCIe DEV_CONTROL_STATUS_REG :0x2930 [ 1169.331764] INFO: [adjust_dev_param][124][CPU 10]: PCIe DMA Capability and Version Register:1 [ 1169.331767] INFO: [adjust_dev_param][131][CPU 10]: PCIe 0x109234 value:3ea40 t:2 [ 1169.331803] INFO: [pci_hw_msi_enable][262][CPU 10]: MSK_ADDR_L:0xfee00078 [ 1169.331805] INFO: [pci_hw_msi_enable][263][CPU 10]: MSK_ADDR_u:0x0 [ 1169.331806] INFO: [pci_hw_msi_enable][264][CPU 10]: MSK_data:0x0 [ 1169.331807] INFO: [pci_hw_msi_enable][289][CPU 10]: 0xfee0001f [ 1169.331840] INFO: [Card1][cn_core_init_idx][3398][CPU 10]: core idx:1 pf_idx:1 vf_idx:0 [ 1169.331843] INFO: [Card1][cn_mcu_init][389][CPU 10]: mcu init [ 1169.331848] INFO: [Card1][mcu_read_basic_info_mlu270][234][CPU 10]: DDR Training Params set by MCU Finish [ 1169.331855] INFO: [Card1][mcu_read_basic_info_mlu270][294][CPU 10]: board serial: 0000122006100700 [ 1169.331858] INFO: [Card1][mcu_read_basic_info_mlu270][340][CPU 10]: board_model_name MLU270-S4 subsystem_id 0x12, board_model 0x3, peak_power 0x46 [ 1169.331860] INFO: [Card1][mcu_read_basic_info_mlu270][341][CPU 10]: board_idx 2 [ 1169.331864] INFO: [Card1][mcu_read_basic_info_mlu270][357][CPU 10]: bus_width 64 ecc_support 1, stack_size 409 [ 1169.331866] INFO: [Card1][mcu_read_basic_info_mlu270][360][CPU 10]: sram_size 1572864, cache_size 1048576, kc_limit 16, ipu_freq 1000, [ 1169.331869] INFO: [Card1][mcu_version_contorl][266][CPU 10]: MCU Ver: v1.1.3, Standard Ver: v1.1.3 [ 1169.331871] INFO: [Card1][mcu_version_contorl][300][CPU 10]: MCU Version Check successfully. [ 1169.331873] INFO: [Card1][cn_mcu_init][412][CPU 10]: MCU Version: v1.1.3
0
cndev init failed: CNDEV_ERROR_UNKNOWN.
我的回复:#2andy_marvelous回复疑似驱动安装不成功/重启后掉驱动了。辛苦您:终端输入lspci -v -d:220/270 检查驱动是否安装成功。安装驱动后,输入dmesg,并给出dmesg输出截图展开[ 1169.331876] INFO: [Card1][cn_mcu_init][424][CPU 10]: not over temperature poweroff last time [ 1169.331878] INFO: [cn_host_mcu_trans_init][338][CPU 10]: trans host_mcu trans init [ 1169.331880] INFO: [cn_host_mcu_trans_init][350][CPU 10]: trans hbm repair[0x270cabc] not support [ 1169.331881] INFO: [Card1][cn_mcu_init][429][CPU 10]: trans init over [ 1169.331883] INFO: [Card1][cn_mcc_init][87][CPU 10]: mcc init [ 1169.331886] INFO: [Card1][ddr_init_mlu270][255][CPU 10]: ddr: 10FFF [ 1169.331905] INFO: [Card1][smmuv2_init][113][CPU 10]: bar0 reg size = 8000000, mem size = 8000000 [ 1169.331907] INFO: [Card1][smmuv2_init][117][CPU 10]: C20L pcie smmu cau cnt = 45 [ 1169.331928] INFO: [Card1][cn_mm_init][3820][CPU 10]: phy total:0x400000000 [ 1169.331930] INFO: [Card1][cn_mm_init][3825][CPU 10]: vir total:0x10000000000 [ 1169.331933] INFO: [Card1][mempool_init][268][CPU 10]: create pool VA[ffffb6d3b0000000] -> PA[3effc8000000] : SIZE[8000000] [ 1169.331941] INFO: [Card1][shm_reserved_init][927][CPU 10]: rpc_reserved:alloc host[ffffb6d3b0000000] <-> dev[8008000000], size = 0x1000 [ 1169.331945] INFO: [Card1][shm_reserved_init][927][CPU 10]: commu_reserved:alloc host[ffffb6d3b0001000] <-> dev[8008001000], size = 0x10000 [ 1169.331949] INFO: [Card1][shm_reserved_init][927][CPU 10]: kernel_debug_reserved:alloc host[ffffb6d3b0011000] <-> dev[8008011000], size = 0x100000 [ 1169.331953] INFO: [Card1][shm_reserved_init][927][CPU 10]: pgretire_reserved:alloc host[ffffb6d3b0111000] <-> dev[8008111000], size = 0x100000 [ 1169.332143] INFO: Domain: cn_dm_init@1993: FLOW: start [ 1169.332146] INFO: Domain: dm_funcid_converter_test@2907: input: 0x0: dm_funcid2vmid[0x10000], dm_vmid2funcid[0x1], dm_funcid2commuid[0x4], dm_commuid2funcid: 0x1 [ 1169.332148] INFO: Domain: dm_funcid_converter_test@2907: input: 0x1: dm_funcid2vmid[0x0], dm_vmid2funcid[0x2], dm_funcid2commuid[0x0], dm_commuid2funcid: 0x2 [ 1169.332150] INFO: Domain: dm_funcid_converter_test@2907: input: 0x2: dm_funcid2vmid[0x1], dm_vmid2funcid[0x3], dm_funcid2commuid[0x1], dm_commuid2funcid: 0x3 [ 1169.332152] INFO: Domain: dm_funcid_converter_test@2907: input: 0x3: dm_funcid2vmid[0x2], dm_vmid2funcid[0x4], dm_funcid2commuid[0x2], dm_commuid2funcid: 0x4 [ 1169.332154] INFO: Domain: dm_funcid_converter_test@2907: input: 0x4: dm_funcid2vmid[0x3], dm_vmid2funcid[0xffffffff], dm_funcid2commuid[0x3], dm_commuid2funcid: 0x0 [ 1169.332158] INFO: Domain: dm_funcid_converter_test@2907: input: 0x5: dm_funcid2vmid[0xffffffff], dm_vmid2funcid[0xffffffff], dm_funcid2commuid[0xffffffff], dm_commuid2funcid: 0xffffffff [ 1169.332169] INFO: Domain: dm_funcid_converter_test@2907: input: 0x10000: dm_funcid2vmid[0xffffffff], dm_vmid2funcid[0x0], dm_funcid2commuid[0xffffffff], dm_commuid2funcid: 0xffffffff [ 1169.332173] INFO: Domain: dm_alloc_and_init_domain_set@1677: domain_set_type<ffff9c47b877c6c0> [ 1169.332175] INFO: Domain: dm_alloc_and_init_domains@1655: allocation 1 function is host side. [ 1169.332179] INFO: Domain: dm_domain_initialization@1227: domain(host side) function id<0> magic<0xcabc6870> [ 1169.332182] INFO: Domain: dm_pci_cfg_initialization@618: init pci with data<ffff9c485dec6f60> bars<5: ffff9c46baf4d300> shms<5: ffff9c46baf4db00> for domain<ffff9c484462e800> [ 1169.332184] INFO: Domain: dm_domain_initialization@1231: domain[0]: init pcie as pf [ 1169.332186] INFO: Domain: dm_dev_mem_cfg_initialization@585: dev_mem init with data<ffff9c485dec6c00> for domain[0:ffff9c484462e800] [ 1169.332189] INFO: Domain: dm_processor_cfg_init@569: init processor<testu>@<ffff9c484462e860> with data<ffff9c485dec6300> for domain<ffff9c484462e800> [ 1169.332191] INFO: Domain: dm_processor_cfg_init@569: init processor<ipu>@<ffff9c484462e8f8> with data<ffff9c485dec6540> for domain<ffff9c484462e800> [ 1169.332193] INFO: Domain: dm_processor_cfg_init@569: init processor<vpu>@<ffff9c484462e990> with data<ffff9c485dec6780> for domain<ffff9c484462e800> [ 1169.332195] INFO: Domain: dm_processor_cfg_init@569: init processor<jpu>@<ffff9c484462ea28> with data<ffff9c485dec6840> for domain<ffff9c484462e800> [ 1169.332196] INFO: Domain: dm_domain_initialization@1265: DONE [ 1169.332198] INFO: Domain: dm_alloc_and_init_domains@1655: allocation 2 function is host side. [ 1169.332200] INFO: Domain: dm_domain_initialization@1227: domain(host side) function id<0> magic<0xcabc6870> [ 1169.332203] INFO: Domain: dm_pci_cfg_initialization@618: init pci with data<ffff9c485dec6c60> bars<5: ffff9c46baf4df00> shms<5: ffff9c46baf4fc00> for domain<ffff9c4a9fe03000> [ 1169.332204] INFO: Domain: dm_domain_initialization@1231: domain[0]: init pcie as pf [ 1169.332205] INFO: Domain: dm_dev_mem_cfg_initialization@585: dev_mem init with data<ffff9c485dec6660> for domain[0:ffff9c4a9fe03000] [ 1169.332207] INFO: Domain: dm_processor_cfg_init@569: init processor<testu>@<ffff9c4a9fe03060> with data<ffff9c485dec66c0> for domain<ffff9c4a9fe03000> [ 1169.332209] INFO: Domain: dm_processor_cfg_init@569: init processor<ipu>@<ffff9c4a9fe030f8> with data<ffff9c485dec6000> for domain<ffff9c4a9fe03000> [ 1169.332211] INFO: Domain: dm_processor_cfg_init@569: init processor<vpu>@<ffff9c4a9fe03190> with data<ffff9c485dec6960> for domain<ffff9c4a9fe03000> [ 1169.332213] INFO: Domain: dm_processor_cfg_init@569: init processor<jpu>@<ffff9c4a9fe03228> with data<ffff9c485dec65a0> for domain<ffff9c4a9fe03000> [ 1169.332214] INFO: Domain: dm_domain_initialization@1265: DONE [ 1169.332216] INFO: Domain: dm_domain_initialization@1227: domain(host side) function id<1> magic<0xcabc6876> [ 1169.332218] INFO: Domain: dm_pci_cfg_initialization@618: init pci with data<ffff9c485dec6120> bars<5: ffff9c46baf4e000> shms<5: ffff9c46baf4eb00> for domain<ffff9c4a9fe034a0> [ 1169.332219] INFO: Domain: dm_domain_initialization@1239: domain[1]: init pcie as vf [ 1169.332221] INFO: Domain: dm_dev_mem_cfg_initialization@585: dev_mem init with data<ffff9c485dec62a0> for domain[1:ffff9c4a9fe034a0] [ 1169.332223] INFO: Domain: dm_processor_cfg_init@569: init processor<testu>@<ffff9c4a9fe03500> with data<ffff9c485dec6180> for domain<ffff9c4a9fe034a0> [ 1169.332225] INFO: Domain: dm_processor_cfg_init@569: init processor<ipu>@<ffff9c4a9fe03598> with data<ffff9c485dec68a0> for domain<ffff9c4a9fe034a0> [ 1169.332227] INFO: Domain: dm_processor_cfg_init@569: init processor<vpu>@<ffff9c4a9fe03630> with data<ffff9c485dec6600> for domain<ffff9c4a9fe034a0> [ 1169.332234] INFO: Domain: dm_processor_cfg_init@569: init processor<jpu>@<ffff9c4a9fe036c8> with data<ffff9c485dec6900> for domain<ffff9c4a9fe034a0> [ 1169.332235] INFO: Domain: dm_domain_initialization@1265: DONE [ 1169.332237] INFO: Domain: cn_dm_init@2002: domain_set_type<ffff9c47b877c6c0> [ 1169.332240] INFO: Domain: dm_domain_dup@1449: domain(host side) magic<0xcabc6870> [ 1169.332243] INFO: Domain: dm_domain_copy_per_module_ops@1407: copy domain ops from src[63 ffff9c3fc2f3d800] to dst[63: ffff9c484462e800]. [ 1169.332245] INFO: Domain: dm_pci_cfg_dup_data@1291: dst domain<ffff9c484462e800> pci<ffff9c3fc2f3d800>; src domain<ffff9c484462eb38> pci<ffff9c3fc2f3db38> [ 1169.332247] INFO: Domain: dm_pci_cfg_dup_data@1294: pci dst data<ffff9c485dec6f60> src data<ffff9c431b31ec00> [ 1169.332248] INFO: Domain: dm_pci_cfg_dup_data@1298: pci dst shms<ffff9c46baf4db00> src shms<ffff9c3c3319b600> [ 1169.332250] INFO: Domain: dm_pci_cfg_dup_data@1309: pci dst bars<ffff9c46baf4d300> src bars<ffff9c3c3319af00> [ 1169.332252] INFO: Domain: dm_dev_mem_cfg_dup_data@96: dst domain<ffff9c484462e800> module<ffff9c3fc2f3d800>; src domain<ffff9c484462eac0> module<ffff9c3fc2f3dac0> [ 1169.332255] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c484462e800> module<ffff9c3fc2f3d800>; src domain<ffff9c484462e860> module<ffff9c3fc2f3d860> [ 1169.332260] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c484462e800> module<ffff9c3fc2f3d800>; src domain<ffff9c484462e8f8> module<ffff9c3fc2f3d8f8> [ 1169.332262] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c484462e800> module<ffff9c3fc2f3d800>; src domain<ffff9c484462e990> module<ffff9c3fc2f3d990> [ 1169.332264] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c484462e800> module<ffff9c3fc2f3d800>; src domain<ffff9c484462ea28> module<ffff9c3fc2f3da28> [ 1169.332265] INFO: Domain: dm_domain_dup@1449: domain(host side) magic<0xcabc6870> [ 1169.332268] INFO: Domain: dm_domain_copy_per_module_ops@1407: copy domain ops from src[0 ffff9c4b1b094000] to dst[0: ffff9c4a9fe03000]. [ 1169.332270] INFO: Domain: dm_pci_cfg_dup_data@1291: dst domain<ffff9c4a9fe03000> pci<ffff9c4b1b094000>; src domain<ffff9c4a9fe03338> pci<ffff9c4b1b094338> [ 1169.332272] INFO: Domain: dm_pci_cfg_dup_data@1294: pci dst data<ffff9c485dec6c60> src data<ffff9c412526eae0> [ 1169.332273] INFO: Domain: dm_pci_cfg_dup_data@1298: pci dst shms<ffff9c46baf4fc00> src shms<ffff9c3c33198d00> [ 1169.332275] INFO: Domain: dm_pci_cfg_dup_data@1309: pci dst bars<ffff9c46baf4df00> src bars<ffff9c3c3319bb00> [ 1169.332277] INFO: Domain: dm_dev_mem_cfg_dup_data@96: dst domain<ffff9c4a9fe03000> module<ffff9c4b1b094000>; src domain<ffff9c4a9fe032c0> module<ffff9c4b1b0942c0> [ 1169.332279] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4a9fe03000> module<ffff9c4b1b094000>; src domain<ffff9c4a9fe03060> module<ffff9c4b1b094060> [ 1169.332281] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4a9fe03000> module<ffff9c4b1b094000>; src domain<ffff9c4a9fe030f8> module<ffff9c4b1b0940f8> [ 1169.332284] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4a9fe03000> module<ffff9c4b1b094000>; src domain<ffff9c4a9fe03190> module<ffff9c4b1b094190> [ 1169.332286] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4a9fe03000> module<ffff9c4b1b094000>; src domain<ffff9c4a9fe03228> module<ffff9c4b1b094228>
0
cndev init failed: CNDEV_ERROR_UNKNOWN.
我的回复:#2andy_marvelous回复疑似驱动安装不成功/重启后掉驱动了。辛苦您:终端输入lspci -v -d:220/270 检查驱动是否安装成功。安装驱动后,输入dmesg,并给出dmesg输出截图展开[ 1169.332287] INFO: Domain: dm_domain_dup@1449: domain(host side) magic<0xcabc6870> [ 1169.332289] INFO: Domain: dm_domain_copy_per_module_ops@1407: copy domain ops from src[0 ffff9c4b1b094000] to dst[0: ffff9c4a9fe03000]. [ 1169.332291] INFO: Domain: dm_pci_cfg_dup_data@1291: dst domain<ffff9c4a9fe03000> pci<ffff9c4b1b094000>; src domain<ffff9c4a9fe03338> pci<ffff9c4b1b094338> [ 1169.332292] INFO: Domain: dm_pci_cfg_dup_data@1294: pci dst data<ffff9c485dec6c60> src data<ffff9c412526eae0> [ 1169.332294] INFO: Domain: dm_pci_cfg_dup_data@1298: pci dst shms<ffff9c46baf4fc00> src shms<ffff9c3c33198d00> [ 1169.332295] INFO: Domain: dm_pci_cfg_dup_data@1309: pci dst bars<ffff9c46baf4df00> src bars<ffff9c3c3319bb00> [ 1169.332297] INFO: Domain: dm_dev_mem_cfg_dup_data@96: dst domain<ffff9c4a9fe03000> module<ffff9c4b1b094000>; src domain<ffff9c4a9fe032c0> module<ffff9c4b1b0942c0> [ 1169.332299] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4a9fe03000> module<ffff9c4b1b094000>; src domain<ffff9c4a9fe03060> module<ffff9c4b1b094060> [ 1169.332301] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4a9fe03000> module<ffff9c4b1b094000>; src domain<ffff9c4a9fe030f8> module<ffff9c4b1b0940f8> [ 1169.332303] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4a9fe03000> module<ffff9c4b1b094000>; src domain<ffff9c4a9fe03190> module<ffff9c4b1b094190> [ 1169.332304] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4a9fe03000> module<ffff9c4b1b094000>; src domain<ffff9c4a9fe03228> module<ffff9c4b1b094228> [ 1169.332306] INFO: Domain: dm_domain_dup@1449: domain(host side) magic<0xcabc6876> [ 1169.332308] INFO: Domain: dm_domain_copy_per_module_ops@1407: copy domain ops from src[1 ffff9c4b1b0944a0] to dst[1: ffff9c4a9fe034a0]. [ 1169.332310] INFO: Domain: dm_pci_cfg_dup_data@1291: dst domain<ffff9c4a9fe034a0> pci<ffff9c4b1b0944a0>; src domain<ffff9c4a9fe037d8> pci<ffff9c4b1b0947d8> [ 1169.332312] INFO: Domain: dm_pci_cfg_dup_data@1294: pci dst data<ffff9c485dec6120> src data<ffff9c412526ec00> [ 1169.332313] INFO: Domain: dm_pci_cfg_dup_data@1298: pci dst shms<ffff9c46baf4eb00> src shms<ffff9c3c33198300> [ 1169.332314] INFO: Domain: dm_pci_cfg_dup_data@1309: pci dst bars<ffff9c46baf4e000> src bars<ffff9c3c3319b200> [ 1169.332316] INFO: Domain: dm_dev_mem_cfg_dup_data@96: dst domain<ffff9c4a9fe034a0> module<ffff9c4b1b0944a0>; src domain<ffff9c4a9fe03760> module<ffff9c4b1b094760> [ 1169.332318] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4a9fe034a0> module<ffff9c4b1b0944a0>; src domain<ffff9c4a9fe03500> module<ffff9c4b1b094500> [ 1169.332320] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4a9fe034a0> module<ffff9c4b1b0944a0>; src domain<ffff9c4a9fe03598> module<ffff9c4b1b094598> [ 1169.332322] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4a9fe034a0> module<ffff9c4b1b0944a0>; src domain<ffff9c4a9fe03630> module<ffff9c4b1b094630> [ 1169.332324] INFO: Domain: dm_processor_cfg_dup_data@97: dst domain<ffff9c4a9fe034a0> module<ffff9c4b1b0944a0>; src domain<ffff9c4a9fe036c8> module<ffff9c4b1b0946c8> [ 1169.332326] INFO: Domain: cn_dm_init@2018: PF only mode: clear VF domain [ 1169.332328] INFO: Domain: cn_dm_init@2042: outbound is not supported in this platform, skip the configuration. [ 1169.332331] INFO: Domain: dm_get_domain_test@2889: Got domain<ffff9c4a9fe03000> in func<PF> [ 1169.332332] INFO: Domain: dm_get_domain_test@2893: Got all the 1 domains. [ 1169.332396] INFO: Domain: cn_dm_init@2075: FLOW: done [ 1169.332708] INFO: [Card1][cn_pci_alloc_dma_buffer][1400][CPU 10]: channel0 buf_sz=0x100000, buf_cnt=1 [ 1169.332995] INFO: [Card1][cn_pci_alloc_dma_buffer][1400][CPU 10]: channel1 buf_sz=0x100000, buf_cnt=1 [ 1169.333278] INFO: [Card1][cn_pci_alloc_dma_buffer][1400][CPU 10]: channel2 buf_sz=0x100000, buf_cnt=1 [ 1169.333565] INFO: [Card1][cn_pci_alloc_dma_buffer][1400][CPU 10]: channel3 buf_sz=0x100000, buf_cnt=1 [ 1169.333843] INFO: [Card1][cn_pci_alloc_dma_buffer][1400][CPU 10]: channel4 buf_sz=0x100000, buf_cnt=1 [ 1169.334123] INFO: [Card1][cn_pci_alloc_dma_buffer][1400][CPU 10]: channel5 buf_sz=0x100000, buf_cnt=1 [ 1169.334431] INFO: [Card1][cn_pci_alloc_dma_buffer][1400][CPU 10]: channel6 buf_sz=0x100000, buf_cnt=1 [ 1169.334718] INFO: [Card1][cn_pci_alloc_dma_buffer][1400][CPU 10]: channel7 buf_sz=0x100000, buf_cnt=1 [ 1169.334973] INFO: [Card1][cn_pci_alloc_dma_buffer][1400][CPU 10]: channel8 buf_sz=0x100000, buf_cnt=1 [ 1169.335262] INFO: [Card1][cn_pci_alloc_dma_buffer][1400][CPU 10]: channel9 buf_sz=0x100000, buf_cnt=1 [ 1169.335540] INFO: [Card1][cn_pci_alloc_dma_buffer][1400][CPU 10]: channel10 buf_sz=0x100000, buf_cnt=1 [ 1169.335830] INFO: [Card1][cn_pci_alloc_dma_buffer][1400][CPU 10]: channel11 buf_sz=0x100000, buf_cnt=1 [ 1169.336110] INFO: [Card1][cn_pci_alloc_dma_buffer][1400][CPU 10]: channel12 buf_sz=0x100000, buf_cnt=1 [ 1169.336397] INFO: [Card1][cn_pci_alloc_dma_buffer][1400][CPU 10]: channel13 buf_sz=0x100000, buf_cnt=1 [ 1169.336651] INFO: [Card1][cn_pci_alloc_dma_buffer][1400][CPU 10]: channel14 buf_sz=0x100000, buf_cnt=1 [ 1169.336927] INFO: [Card1][cn_pci_alloc_dma_buffer][1400][CPU 10]: channel15 buf_sz=0x100000, buf_cnt=1 [ 1169.336933] INFO: [Card1][cn_pci_device_share_mem_init][1540][CPU 10]: alloc host[ffffb6d3b0211000] <-> dev[8008211000] [ 1169.336935] INFO: [Card1][cn_pci_dma_channel_init][1566][CPU 10]: dma channel init successfully [ 1169.336938] INFO: [Card1][pcie_init][688][CPU 10]: channel0: desc_addr=8008211000 [ 1169.337049] INFO: [Card1][pcie_init][688][CPU 10]: channel1: desc_addr=8008221000 [ 1169.337164] INFO: [Card1][pcie_init][688][CPU 10]: channel2: desc_addr=8008231000 [ 1169.337268] INFO: [Card1][pcie_init][688][CPU 10]: channel3: desc_addr=8008241000 [ 1169.337371] INFO: [Card1][pcie_init][688][CPU 10]: channel4: desc_addr=8008251000 [ 1169.337475] INFO: [Card1][pcie_init][688][CPU 10]: channel5: desc_addr=8008261000 [ 1169.337581] INFO: [Card1][pcie_init][688][CPU 10]: channel6: desc_addr=8008271000 [ 1169.337688] INFO: [Card1][pcie_init][688][CPU 10]: channel7: desc_addr=8008281000 [ 1169.337794] INFO: [Card1][pcie_init][688][CPU 10]: channel8: desc_addr=8008291000 [ 1169.337900] INFO: [Card1][pcie_init][688][CPU 10]: channel9: desc_addr=80082a1000 [ 1169.338003] INFO: [Card1][pcie_init][688][CPU 10]: channel10: desc_addr=80082b1000 [ 1169.338110] INFO: [Card1][pcie_init][688][CPU 10]: channel11: desc_addr=80082c1000 [ 1169.338222] INFO: [Card1][pcie_init][688][CPU 10]: channel12: desc_addr=80082d1000 [ 1169.338327] INFO: [Card1][pcie_init][688][CPU 10]: channel13: desc_addr=80082e1000 [ 1169.338438] INFO: [Card1][pcie_init][688][CPU 10]: channel14: desc_addr=80082f1000 [ 1169.338547] INFO: [Card1][pcie_init][688][CPU 10]: channel15: desc_addr=8008301000 [ 1169.338659] INFO: [Card1][cn_pci_dma_async_init][294][CPU 10]: ASYNC DMA INIT [ 1169.338661] INFO: Domain: dm_register_ops_kernel@2252: daemon is not started. register to PF or the only VF [ 1169.338666] INFO: Domain: dm_register_ops@1097: register module<pci> new_ops<ffff9c4695746510> with top_priv<ffff9c4695740018> to domain[PF: ffff9c4a9fe03000] successful [ 1169.338667] INFO: [Card1][cn_pci_init][566][CPU 10]: init end [ 1169.338677] INFO: [Card1][cn_i2c_init][160][CPU 10]: i2c init [ 1169.338678] INFO: [Card1][dw_i2c_init][323][CPU 10]: dw_apb_i2c module init [ 1169.338682] INFO: [Card1][dw_i2c_init][332][CPU 10]: IC_CON reg initialized: 0x63 [ 1169.338690] INFO: [Card1][cn_core_setup_cdev][2520][CPU 10]: cdev 235:1, cambricon_dev1, added [ 1169.338833] INFO: [cn_proc_set_init][2127][CPU 10]: PROC SET. [ 1169.338965] INFO: [Card1][cn_bootm_work][2918][CPU 3]: card 1 boot working! [ 1169.338971] INFO: [Card1][cn_core_bootm][2900][CPU 3]: Card1 State change from CN_EARLYINITED to CN_BRINGUP [ 1169.338973] INFO: [Card1][cn_core_bootm][2902][CPU 3]: current time: 4295839s 4295839045 [ 1169.338976] Card[1] MLU270 boot_prepare() [ 1169.509712] firmware_sys.img Version: 4.9.0 [ 1169.509714] firmware_sys.img version differ from cndrv_host version,Drv Version: 4.9.2, firmware_sys.img Version: 4.9.0 [ 1169.509714] Card[0] upload fw failure [ 1169.509716] INFO: [Card0][cn_core_bootm][2900][CPU 17]: Card0 State change from CN_BRINGUP to CN_BOOTERR [ 1169.509717] INFO: [Card0][cn_core_bootm][2902][CPU 17]: current time: 4295838s 4295838936 [ 1169.509718] ERROR: [Card0][cn_bootm_work][2943][CPU 17]: card 0 boot error [ 1169.589224] firmware_sys.img Version: 4.9.0 [ 1169.589225] firmware_sys.img version differ from cndrv_host version,Drv Version: 4.9.2, firmware_sys.img Version: 4.9.0 [ 1169.589225] Card[1] upload fw failure [ 1169.589228] INFO: [Card1][cn_core_bootm][2900][CPU 3]: Card1 State change from CN_BRINGUP to CN_BOOTERR [ 1169.589229] INFO: [Card1][cn_core_bootm][2902][CPU 3]: current time: 4295839s 4295839045 [ 1169.589230] ERROR: [Card1][cn_bootm_work][2943][CPU 3]: card 1 boot error [ 1169.904441] ERROR: [Card1][cn_core_open][277][CPU 31]: open failed, core status is 0x5 [ 1170.913752] ERROR: [Card1][cn_core_open][277][CPU 23]: open failed, core status is 0x5 [ 1171.925174] ERROR: [Card1][cn_core_open][277][CPU 31]: open failed, core status is 0x5 [ 1172.936797] ERROR: [Card1][cn_core_open][277][CPU 32]: open failed, core status is 0x5 [ 1173.947191] ERROR: [Card1][cn_core_open][277][CPU 33]: open failed, core status is 0x5 [ 1174.957874] ERROR: [Card1][cn_core_open][277][CPU 21]: open failed, core status is 0x5 [ 1175.969350] ERROR: [Card1][cn_core_open][277][CPU 24]: open failed, core status is 0x5 [ 1176.980394] ERROR: [Card1][cn_core_open][277][CPU 21]: open failed, core status is 0x5 [ 1177.991326] ERROR: [Card1][cn_core_open][277][CPU 23]: open failed, core status is 0x5 [ 1179.001971] ERROR: [Card1][cn_core_open][277][CPU 26]: open failed, core status is 0x5
0
cndev init failed: CNDEV_ERROR_UNKNOWN.
我的回复:#10atomshang回复我也有相同情况:[代码][BEGIN] 2022/8/12 2:35:25 dmesg [ 30.922423] INFO: [pcie_ddr_set_done][850][CPU 13]: DDR Training Params set ...... [ 31.423072] INFO: [pcie_ddr_set_done][850][CPU 13]: DDR Training Params set ...... [ 31.872702] INFO: [Card0][cn_core_bootm][2834][CPU 39]: Card0 ARM Boot cost: 3s 3939 [ 31.872708] INFO: [Card0][cn_core_bootm][2890][CPU 39]: Card0 State change from CN_BOOTING to CN_LATEINIT [ 31.872713] INFO: [Card0][cn_core_bootm][2892][CPU 39]: current time: 4294698s 4294698907 [ 31.872723] INFO: Domain: cn_dm_post_init@2110: FLOW: start [ 31.872726] INFO: Domain: cn_dm_post_init@2111: core<ffff9c4316e59818>, core->domain_set<ffff9c4b18628e40> [ 31.872729] INFO: Domain: cn_dm_post_init@2112: MAKE SURE it is print after register_a_channel_nodb [ 31.872807] [__open_an_endpoint_in_host][160][274] channel domain tx_addr ffffb6d340311000 rx_addr ffffb6d340316000 [ 31.872877] INFO: Domain: cn_dm_post_init@2116: Prepare handshaking [ 31.872882] INFO: Domain: dm_queue_rpc@136: rpc<dm_ping:> [ 31.873032] INFO: Domain: dm_queue_rpc@139: return<5: okok> [ 31.873035] INFO: Domain: dm_rpc@154: rpc<dm_version:> [ 31.873075] INFO: Domain: dm_rpc@160: version: 65536 [ 31.873078] INFO: Domain: cn_dm_handshake@959: version: 0x10000 [ 31.873080] INFO: Domain: cn_dm_post_init@2121: Handshaked [ 31.873083] INFO: Domain: cn_dm_post_init@2138: FLOW: start [ 31.873088] INFO: Domain: cn_dm_post_init@2146: get domain OVERALL[63: ffff9c4316e59000] [ 31.873092] INFO: Domain: dm_rpc_set_domain_pci_cfg@615: outbound is not supported in this platform, skip the configuration. [ 31.873154] INFO: Domain: cn_dm_post_init@2153: caps: 0x0 [ 31.873157] INFO: Domain: cn_dm_post_init@2154: FLOW: done [ 31.873204] [__open_an_endpoint_in_host][160][274] channel commu_cn_mm_krpc tx_addr ffffb6d34031b000 rx_addr ffffb6d340320000 [ 31.873301] [__open_an_endpoint_in_host][160][274] channel commu_cn_mm_free_krpc tx_addr ffffb6d340325000 rx_addr ffffb6d34032a000 [ 31.873360] INFO: [Card0][krpc_client_init][4077][CPU 5]: cn memory krpc client register success! [ 31.873409] [__open_an_endpoint_in_host][160][274] channel log_channel_name tx_addr ffffb6d34032f000 rx_addr ffffb6d340334000 [ 31.873655] INFO: vuart: cn_log_vuart_postinit@504: vuart status:4 [ 31.873708] [__open_an_endpoint_in_host][160][274] channel mnt-commu tx_addr ffffb6d340339000 rx_addr ffffb6d34033e000 [ 31.873767] cn_mnt_krpc register success [ 31.873771] INFO: [Card0][cn_core_late_init][2600][CPU 5]: cn_device_heartbeat init [ 31.873835] INFO: Domain: dm_get_domain_test@2889: Got domain<ffff9c4b1d653000> in func<PF> [ 31.873841] INFO: Domain: dm_get_domain_test@2893: Got all the 1 domains. [ 31.873844] INFO: Domain: cn_dm_init_domain@1548: FLOW: start [ 31.873847] INFO: Domain: cn_dm_init_domain@1556: get domain PF[0: ffff9c4b1d653000] [ 31.873850] INFO: Domain: dm_queue_rpc@136: rpc<dm_management:PFonly> [ 31.873902] INFO: Domain: dm_queue_rpc@139: return<5: okok> [ 31.874579] INFO: Domain: dm_rpc_set_domain_set_daemon_state@196: return<5, okok> [ 31.874582] INFO: Domain: cn_dm_get_cfg@1466: Get domain configuration from device. [ 31.874585] INFO: Domain: dm_rpc_get_domain@835: FLOW: start [ 31.874589] INFO: Domain: dm_rpc_get_buf_processor@647: [ 31.874594] INFO: Domain: dm_rpc@154: rpc<dm_version:> [ 31.874634] INFO: Domain: dm_rpc@160: version: 65536 [ 31.874637] INFO: Domain: dm_rpc_get_buf_processor@653: device version: 65536 [ 31.874639] INFO: Domain: dm_rpc@154: rpc<dm_rpc_hdr_version:> [ 31.874679] INFO: Domain: dm_rpc@160: version: 65536 [ 31.874690] INFO: Domain: dm_rpc_get_buf_processor@661: device header version: 65536 [ 31.874693] INFO: Domain: dm_rpc_get_buf_processor@668: version match: transfer the data before priv [ 31.874696] INFO: Domain: dm_rpc_get_buf_processor@682: pkg.hdr.size<120>, COMMU_RPC_SIZE<128> [ 31.874699] INFO: Domain: dm_rpc_get_buf_processor@683: pkg header size<48> [ 31.874702] INFO: Domain: dm_rpc_get_buf_processor@686: func_id<0> [ 31.874844] INFO: Domain: dm_rpc_get_buf_processor@688: rpc sequence number<9> [ 31.874846] INFO: Domain: dm_rpc_get_buf_processor@690: pkg.hdr.ret<cabc4f4b> [ 31.874848] ERR: Domain: dm_rpc_get_buf_processor@692: rpc ok [ 31.874852] dm_received data: : [ 31.874857] 00: 0x0f 00 00 00 00 00 00 00; 0x00 00 00 00 00 00 00 00 [ 31.874862] 16: 0x0f 00 00 00 00 00 00 00; 0x00 00 00 00 00 00 00 00 [ 31.874869] 32: 0x00 00 00 00 00 00 00 00; 0x00 00 00 00 00 00 00 00 [ 31.874873] 48: 0x00 00 00 00 00 00 00 00; 0x00 00 00 00 00 00 00 00 [ 31.874877] 64: 0x00 00 00 00 00 00 00 00; 0x00 00 00 00 00 00 00 00 [ 31.874879] INFO: Domain: dm_rpc_get_buf_processor@717: ret 0xcabc4f4b [ 31.874885] INFO: Domain: dm_domain_print_pu@2078: processor< ipu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff] [ 31.874888] INFO: Domain: dm_rpc_get_buf_pci@752: [ 31.874890] INFO: Domain: dm_rpc@154: rpc<dm_version:> [ 31.874931] INFO: Domain: dm_rpc@160: version: 65536 [ 31.874933] INFO: Domain: dm_rpc_get_buf_pci@758: device version: 65536 [ 31.874936] INFO: Domain: dm_rpc@154: rpc<dm_rpc_hdr_version:> [ 31.874976] INFO: Domain: dm_rpc@160: version: 65536 [ 31.874979] INFO: Domain: dm_rpc_get_buf_pci@766: device header version: 65536 [ 31.874981] INFO: Domain: dm_rpc_get_buf_pci@774: rpc package header size<48> expect<60> [ 31.874984] INFO: Domain: dm_rpc_get_buf_pci@775: pkg.hdr.size<108>, COMMU_RPC_SIZE<128> [ 31.874986] INFO: Domain: dm_rpc_get_buf_pci@778: func_id<0> [ 31.874988] dm_rpc sending: [ 31.874992] 00: 0x4b 4f bc ca 00 00 00 00; 0x00 00 00 00 00 00 00 00 [ 31.874996] 16: 0x00 00 00 00 6c 00 00 00; 0x00 00 00 00 00 00 00 00 [ 31.875000] 32: 0x00 00 01 00 00 00 00 00; 0x05 00 00 00 00 00 00 00 [ 31.875159] INFO: Domain: dm_rpc_get_buf_pci@781: rpc sequence number<12> [ 31.875161] INFO: Domain: dm_rpc_get_buf_pci@783: pkg.hdr.ret<cabc4f4b> [ 31.875163] ERR: Domain: dm_rpc_get_buf_pci@785: rpc ok [ 31.875166] INFO: Domain: dm_rpc_get_buf_pci@801: rpc package header size<48> expect<60> [ 31.875168] INFO: Domain: dm_rpc_get_buf_pci@802: pkg.hdr.size<108>, COMMU_RPC_SIZE<128> [ 31.875170] INFO: Domain: dm_rpc_get_buf_pci@813: get out bound mask from rpc [ 31.875173] INFO: Domain: dm_rpc_get_buf_pci@820: domain[0: PF] pcie out bound mask: 0x0 [ 31.875175] dm_received data: : [ 31.875179] 00: 0x00 00 00 00 80 00 00 00; 0x00 00 00 08 41 00 00 00 [ 31.875183] 16: 0x00 00 00 10 00 00 00 00; 0x00 40 00 00 00 00 00 08 [ 31.875189] 32: 0x00 00 00 00 00 00 00 08; 0x00 00 00 00 00 00 00 00 [ 31.875195] 48: 0x01 00 00 00 00 00 00 00; 0x00 00 00 00 00 00 00 00 [ 31.875197] INFO: Domain: dm_rpc_get_buf_pci@822: ret 0xcabc4f4b [ 31.875200] INFO: Domain: dm_domain_print_pci@1971: num_of_bar<5> [ 31.875206] INFO: Domain: dm_domain_print_pci@2011: bar<0>: va[0xffffffffffffffff] pa[0xffffffffffffffff], register(base[0xffffffff], size[0xffffffff]) register total size[0xffffffff]), share memory(base[0xffffffff], size[0xffffffff]), reserved share memory(base[0xffffffff], size[0xffffffff]) [ 31.875212] INFO: Domain: dm_domain_print_pci@2015: pci->ob->mask: 0xffffffff [ 31.875215] INFO: Domain: dm_domain_print_pci@2016: ops<ffff9c431d966510>, init<ffffffffc071fa00>, exit<ffffffffc071f870> [ 31.875218] INFO: Domain: dm_rpc_get_domain@853: FLOW: done<ret: 0> [ 31.875221] INFO: Domain: dm_domain_set_print_domain@2094: domain[PF] magic<0xcabc6870> [ 31.875224] INFO: Domain: dm_domain_set_print_domain@2096: domain state[0x8: defined] [ 31.875227] INFO: Domain: dm_domain_print_pu@2078: processor<testu>: cores[0x0] caps[0x0] mems[0x0] [ 31.875230] INFO: Domain: dm_domain_print_pu@2078: processor< ipu>: cores[0xf] caps[0x0] mems[0xf] [ 31.875234] INFO: Domain: dm_domain_print_pu@2078: processor< vpu>: cores[0x0] caps[0x0] mems[0x0] [ 31.875239] INFO: Domain: dm_domain_print_pu@2078: processor< jpu>: cores[0x0] caps[0x0] mems[0x0] [ 31.875243] INFO: Domain: dm_domain_set_print_domain@2116: domain<ffff9c4b1d653000>, dev_mem->domain<ffff9c4b1d653000>, dev_mem->data<ffff9c4318c148a0> [ 31.875245] INFO: Domain: dm_domain_print_dev_mem@2031: number of zones 0 [ 31.875248] INFO: Domain: dm_domain_print_pci@1971: num_of_bar<5> [ 31.875253] INFO: Domain: dm_domain_print_pci@2011: bar<0>: va[0x8000000000] pa[0x4108000000], register(base[0x0], size[0x4000]) register total size[0x8000000]), share memory(base[0x0], size[0x8000000]), reserved share memory(base[0x0], size[0x0]) [ 31.875258] INFO: Domain: dm_domain_print_pci@2014: pci->dma->ch: 0x1 [ 31.875260] INFO: Domain: dm_domain_print_pci@2015: pci->ob->mask: 0x1b427cb8 [ 31.875263] INFO: Domain: dm_domain_print_pci@2016: ops<ffff9c431d966510>, init<ffffffffc071fa00>, exit<ffffffffc071f870> [ 31.875266] INFO: Domain: cn_dm_get_cfg@1487: Set domain configuration in host done, output result [ 31.875269] INFO: Domain: dm_init_domain@282: FLOW: init domain<ffff9c4b1d653000> in func <PF> [ 31.875275] INFO: Domain: dm_check_state@1884: current state<defined> could push to <init>. [ 31.875279] INFO: Domain: dm_init_module@2513: pci initing<ffffffffc071fa00> with top_priv<ffff9c431d960018> [ 31.875282] INFO: Domain: dm_init_module@2513: pci init done<0> priv<ffff9c431d960018> [ 31.875284] WARN: Domain: dm_init_module@2513: Warning: mem init empty. exit [ 31.875287] WARN: Domain: dm_init_module@2513: Warning: testu init empty. exit [ 31.875289] WARN: Domain: dm_init_module@2513: Warning: ipu init empty. exit [ 31.875291] WARN: Domain: dm_init_module@2513: Warning: vpu init empty. exit [ 31.875294] WARN: Domain: dm_init_module@2513: Warning: jpu init empty. exit [ 31.875296] INFO: Domain: dm_init_domain@315: FLOW: init domain<ffff9c4b1d653000> in func <PF> done [ 31.875299] INFO: Domain: dm_queue_rpc@136: rpc<domain_init:> [ 31.923719] INFO: [pcie_ddr_set_done][850][CPU 13]: DDR Training Params set ...... [ 32.020435] INFO: Domain: dm_queue_rpc@139: return<5: okok> [ 32.020439] INFO: Domain: cn_dm_init_domain@1588: calling cn_mm_late_init [ 32.020442] INFO: Domain: cn_dm_init_domain@1594: calling cn_mm_late_init done [ 32.020444] INFO: Domain: cn_dm_init_domain@1596: calling cn_sbts_late_init [ 32.020495] [__open_an_endpoint_in_host][160][274] channel sbts_ctrl_channel tx_addr ffffb6d340343000 rx_addr ffffb6d340348000 [ 32.020596] [__open_an_endpoint_in_host][160][274] channel sbts_task_channel tx_addr ffffb6d34034d000 rx_addr ffffb6d340352000 [ 32.020695] [__open_an_endpoint_in_host][160][274] channel sbts_dma_trigger_channel tx_addr ffffb6d340357000 rx_addr ffffb6d34035c000 [ 32.020794] [__open_an_endpoint_in_host][160][274] channel sbts_delay_free_channel tx_addr ffffb6d340361000 rx_addr ffffb6d340366000 [ 32.020891] [__open_an_endpoint_in_host][160][274] channel sbts_idc_channel tx_addr ffffb6d34036b000 rx_addr ffffb6d340370000 [ 32.020988] [__open_an_endpoint_in_host][160][274] channel sbts_core_dump_channel tx_addr ffffb6d340375000 rx_addr ffffb6d34037a000 [ 32.021083] [__open_an_endpoint_in_host][160][274] channel sbts_dbg_channel tx_addr ffffb6d34037f000 rx_addr ffffb6d340384000 [ 32.021202] INFO: [Card0][sbts_shm_init][712][CPU 5]: alloc inbound share mem, shm_mgr->host_vaddr:0xffffb6d340389000, shm_mgr->dev_vaddr:0x8008389000 [ 32.021256] INFO: [Card0][sbts_shm_init][712][CPU 5]: alloc inbound share mem, shm_mgr->host_vaddr:0xffffb6d3403c9000, shm_mgr->dev_vaddr:0x80083c9000 [ 32.022090] INFO: [Card0][cn_queue_init_for_func][1350][CPU 6]: queue init for func finish! [ 32.022367] INFO: [Card0][cn_get_hw_info][1444][CPU 5]: malloc shm size is 640 [ 32.023029] INFO: Domain: cn_dm_init_domain@1602: calling cn_sbts_late_init done [ 32.023031] INFO: Domain: cn_dm_init_domain@1606: Getting IPU core masks: 15 [ 32.023034] INFO: Domain: cn_dm_init_domain@1611: Getting number of cluster number<4> [ 32.023036] INFO: Domain: dm_domain_set_print@2130: dump domain_set [ 32.023039] INFO: Domain: dm_domain_set_print@2131: Upper pointer(core)<0xffff9c4316e59818> [ 32.023041] INFO: Domain: dm_domain_set_print@2132: daemon_state<started> [ 32.023045] INFO: Domain: dm_domain_set_print_domain@2094: domain[OVERALL] magic<0xcabc6870> [ 32.023047] INFO: Domain: dm_domain_set_print_domain@2096: domain state[0x2: invalid] [ 32.023051] INFO: Domain: dm_domain_print_pu@2078: processor<testu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff] [ 32.023054] INFO: Domain: dm_domain_print_pu@2078: processor< ipu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff] [ 32.023057] INFO: Domain: dm_domain_print_pu@2078: processor< vpu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff] [ 32.023060] INFO: Domain: dm_domain_print_pu@2078: processor< jpu>: cores[0xffffffff] caps[0xffffffff] mems[0xffffffff] [ 32.023063] INFO: Domain: dm_domain_set_print_domain@2116: domain<ffff9c4316e59000>, dev_mem->domain<ffff9c4316e59000>, dev_mem->data<ffff9c4318c14660> [ 32.023066] INFO: Domain: dm_domain_print_dev_mem@2031: number of zones 0 [ 32.023068] INFO: Domain: dm_domain_print_pci@1971: num_of_bar<5> [ 32.023074] INFO: Domain: dm_domain_print_pci@2011: bar<0>: va[0x8000000000] pa[0x4108000000], register(base[0x0], size[0x4000]) register total size[0x8000000]), share memory(base[0x0], size[0x8000000]), reserved share memory(base[0x0], size[0x0]) [ 32.023079] INFO: Domain: dm_domain_print_pci@2014: pci->dma->ch: 0xf [ 32.023081] INFO: Domain: dm_domain_print_pci@2015: pci->ob->mask: 0x0 [ 32.023084] INFO: Domain: dm_domain_set_print@2142: domain<0>: [ 32.023086] INFO: Domain: dm_domain_set_print_domain@2094: domain[PF] magic<0xcabc6870> [ 32.023089] INFO: Domain: dm_domain_set_print_domain@2096: domain state[0x400: started] [ 32.023092] INFO: Domain: dm_domain_print_pu@2078: processor<testu>: cores[0x0] caps[0x0] mems[0x0] [ 32.023094] INFO: Domain: dm_domain_print_pu@2078: processor< ipu>: cores[0xf] caps[0x0] mems[0xf] [ 32.023097] INFO: Domain: dm_domain_print_pu@2078: processor< vpu>: cores[0x0] caps[0x0] mems[0x0] [ 32.023099] INFO: Domain: dm_domain_print_pu@2078: processor< jpu>: cores[0x0] caps[0x0] mems[0x0] [ 32.023103] INFO: Domain: dm_domain_set_print_domain@2116: domain<ffff9c4b1d653000>, dev_mem->domain<ffff9c4b1d653000>, dev_mem->data<ffff9c4318c148a0> [ 32.023105] INFO: Domain: dm_domain_print_dev_mem@2031: number of zones 0 [ 32.023107] INFO: Domain: dm_domain_print_pci@1971: num_of_bar<5> [ 32.023112] INFO: Domain: dm_domain_print_pci@2011: bar<0>: va[0x8000000000] pa[0x4108000000], register(base[0x0], size[0x4000]) register total size[0x8000000]), share memory(base[0x0], size[0x8000000]), reserved share memory(base[0x0], size[0x0]) [ 32.023116] INFO: Domain: dm_domain_print_pci@2014: pci->dma->ch: 0x1 [ 32.023119] INFO: Domain: dm_domain_print_pci@2015: pci->ob->mask: 0x1b427cb8 [ 32.023121] INFO: Domain: dm_domain_print_pci@2016: ops<ffff9c431d966510>, init<ffffffffc071fa00>, exit<ffffffffc071f870> [ 32.023124] INFO: Domain: cn_dm_init_domain@1613: FLOW: end [ 32.023167] [__open_an_endpoint_in_host][160][274] channel cndev-commu tx_addr ffffb6d340940000 rx_addr ffffb6d340945000 [ 32.023270] [__open_an_endpoint_in_host][160][274] channel monitor-commu tx_addr ffffb6d34094a000 rx_addr ffffb6d34094f000 [ 32.054059] INFO: [Card0][cn_core_late_init][2630][CPU 5]: mig_set:0 [ 32.054103] [__open_an_endpoint_in_host][160][274] channel perf-commu tx_addr ffffb6d340958000 rx_addr ffffb6d34095d000 [ 32.255062] INFO: [Card0][cn_core_late_init][2644][CPU 5]: core late init finish [ 32.255067] INFO: [Card0][cn_core_bootm][2864][CPU 5]: Card0 CardLate Init cost: 0s 383 [ 32.255071] INFO: [Card0][cn_core_bootm][2890][CPU 5]: Card0 State change from CN_LATEINIT to CN_RUNNING [ 32.255074] INFO: [Card0][cn_core_bootm][2892][CPU 5]: current time: 4294699s 4294699290 [ 32.255077] INFO: [Card0][cn_bootm_work][2928][CPU 5]: card 0 boot ok [ 32.424365] INFO: [pcie_ddr_set_done][850][CPU 13]: DDR Training Params set ...... [ 32.925012] INFO: [pcie_ddr_set_done][858][CPU 13]: DDR Training Params set by MCU Finish [ 32.925037] Domain API: invalid PF domain [ 32.925046] INFO: [c20l_pcie_shm_area_init][1078][CPU 0]: get from domain size:8000000 [ 33.025100] INFO: [pcie_register_bar][264][CPU 0]: bar_type=0, bar_index=2, bar.base=ffffb6d398000000, bar.sz=4000000 [ 33.025107] INFO: [pcie_register_bar][264][CPU 0]: bar_type=0, bar_index=4, bar.base=ffffb6d3c0000000, bar.sz=4000000 [ 33.025110] INFO: [pcie_register_bar][264][CPU 0]: bar_type=1, bar_index=0, bar.base=ffffb6d3c8000000, bar.sz=4000000 [ 33.025113] INFO: [pcie_register_bar][264][CPU 0]: bar_type=1, bar_index=1, bar.base=ffffb6d3d0000000, bar.sz=4000000 [ 33.025116] INFO: [pcie_register_bar][264][CPU 0]: bar_type=1, bar_index=2, bar.base=ffffb6d3d8000000, bar.sz=4000000 [ 33.025119] INFO: [pcie_register_bar][264][CPU 0]: bar_type=1, bar_index=3, bar.base=ffffb6d3e0000000, bar.sz=4000000 [ 33.025124] INFO: [pcie_register_bar][264][CPU 0]: bar_type=1, bar_index=4, bar.base=ffffb6d3e8000000, bar.sz=4000000 [ 33.025127] INFO: [pcie_register_bar][264][CPU 0]: bar_type=1, bar_index=5, bar.base=ffffb6d3f0000000, bar.sz=4000000 [ 33.025130] INFO: [pcie_register_bar][264][CPU 0]: bar_type=1, bar_index=6, bar.base=ffffb6d3f8000000, bar.sz=4000000 [ 33.025132] INFO: [pcie_register_bar][264][CPU 0]: bar_type=1, bar_index=7, bar.base=ffffb6d400000000, bar.sz=4000000 [ 33.025138] INFO: [c20l_pcie_dma_pre_init][1130][CPU 0]: Domain[63: 0xffff9c4b1ddf4000]
0
上一页
1
2
下一页
Github
开发平台
文档中心
新手必读
官方微信
版权所有 © 2024 寒武纪 Cambricon.com 备案/许可证号:
京ICP备17003415号-1
关闭