• [问题求助] 鲲鹏arm系统的RTC是否支持定时开关机?
    在centos7,RTC支持参数wakealarm(/sys/class/rtc/rtc0/wakealarm),可设置定时开关机。但是鲲鹏的/sys/class/rtc/rtc0/下没有wakealarm参数,是否不支持?
  • [问题求助] kernel 5.4.214 bcache 加速 hdd cache回收策略
    kernel 5.4.214 bcache加速hdd,遇到一个cache回收策略的问题,如何设置回收策略
  • [问题求助] kernel: hinic 错误
    【功能模块】hinic【操作步骤&问题现象】1、写入大量数据后2、网卡停止接收数据,所有数据全部drop【截图信息】【日志信息】(可选,上传日志内容或者附件)net_hinic: Fault event report received, func_id: 0net_hinic: fault type:    0 [chip]net_hinic: fault val[0]:  0x00710203net_hinic: fault val[1]:  0x05801550net_hinic: fault val[2]:  0x4807881bnet_hinic: fault val[3]:  0x05800001net_hinic: err_level:     2 [flr]net_hinic: flr func_id:   1net_hinic: node_id(12),err_csr_addr(0x5801550),err_csr_val(0x4807881b),err_level(0x2),err_type(0x71)
  • [算子编译] 请问Graph Kernel Fusion(图算融合)在mindspore1.7.0下会生成融合后的mindIR的.dot文件吗
    【功能模块】图算融合,GPU (NVIDIA-RTX3080) 验证【操作步骤&问题现象】1、参考(基于mindspore0.5.0)链接1: https://gitee.com/mindspore/course/tree/master/06_distributed/graph_kernel2、参考(基于mindspore1.0.0)链接2: https://bbs.huaweicloud.com/forum/forum.php?mod=viewthread&tid=78817&page=1&replytype=13、按照教程和另一位大佬的帖子开启图算融合后,对基本组合算子和自组合算子进行试验,发现mindspore1.7.0生成的ir和.dot文件和之前版本的mindir文件的命名形式不一样,发现没有生成例子当中的文件(hwopt_d_fuse_basic_opt_end_graph_0.dot/hwopt_d_composite_opt_end_graph_0.dot)。未找到如下图红框中类似的图算融合后生成的ir/dot文件.minspore1.0.0生成的ir文件如下图(源自链接2楼主)请问是否有图算融合的整体流程图(细化到生成每个IR的小阶段)参考,多谢!【截图信息】本人基于mindspore1.7.0生成的mindir文件信息中,未找到图算融合后的.dot。烦请指导~多谢【日志信息】(可选,上传日志内容或者附件)
  • [功能调试]  MindSpore报错 Select GPU kernel op * fail! Incompatible data type
    1 报错描述1.1 系统环境Hardware Environment(Ascend/GPU/CPU): GPUSoftware Environment:– MindSpore version (source or binary): 1.5.2– Python version (e.g., Python 3.7.5): 3.7.6– OS platform and distribution (e.g., Linux Ubuntu 16.04): Ubuntu 4.15.0-74-generic– GCC/Compiler version (if compiled from source):1.2 基本信息1.2.1 脚本训练脚本是通过构建BatchNorm单算子网络,对Tensor做归一化处理。脚本如下: 01 class Net(nn.Cell): 02 def __init__(self): 03 super(Net, self).__init__() 04 self.batch_norm = ops.BatchNorm() 05 def construct(self,input_x, scale, bias, mean, variance): 06 output = self.batch_norm(input_x, scale, bias, mean, variance) 07 return output 08 09 net = Net() 10 input_x = Tensor(np.ones([2, 2]), mindspore.float16) 11 scale = Tensor(np.ones([2]), mindspore.float16) 12 bias = Tensor(np.ones([2]), mindspore.float16) 13 bias = Tensor(np.ones([2]), mindspore.float16) 14 mean = Tensor(np.ones([2]), mindspore.float16) 15 variance = Tensor(np.ones([2]), mindspore.float16) 16 output = net(input_x, scale, bias, mean, variance) 17 print(output) 1.2.2 报错这里报错信息如下:Traceback (most recent call last): File "116945.py", line 22, in <module> output = net(input_x, scale, bias, mean, variance) File "/data2/llj/mindspores/r1.5/build/package/mindspore/nn/cell.py", line 407, in __call__ out = self.compile_and_run(*inputs) File "/data2/llj/mindspores/r1.5/build/package/mindspore/nn/cell.py", line 734, in compile_and_run self.compile(*inputs) File "/data2/llj/mindspores/r1.5/build/package/mindspore/nn/cell.py", line 721, in compile _cell_graph_executor.compile(self, *inputs, phase=self.phase, auto_parallel_mode=self._auto_parallel_mode) File "/data2/llj/mindspores/r1.5/build/package/mindspore/common/api.py", line 551, in compile result = self._graph_executor.compile(obj, args_list, phase, use_vm, self.queue_name) TypeError: mindspore/ccsrc/runtime/device/gpu/kernel_info_setter.cc:355 PrintUnsupportedTypeException] Select GPU kernel op[BatchNorm] fail! Incompatible data type! The supported data types are in[float32 float32 float32 float32 float32], out[float32 float32 float32 float32 float32]; in[float16 float32 float32 float32 float32], out[float16 float32 float32 float32 float32]; , but get in [float16 float16 float16 float16 float16 ] out [float16 float16 float16 float16 float16 ]原因分析我们看报错信息,在TypeError中,写到Select GPU kernel op[BatchNorm] fail! Incompatible data type!The supported data types are in[float32 float32 float32 float32 float32], out[float32 float32 float32 float32 float32]; in[float16 float32 float32 float32 float32], out[float16 float32 float32 float32 float32]; , but get in [float16 float16 float16 float16 float16 ] out [float16 float16 float16 float16 float16 ],大概意思是GPU环境下, 不支持当前输入的数据类型组合, 并说明了支持的数据类型组合是怎样的:全部为float32或者input_x为float16, 其余为float32。检查脚本的输入发现全部为float16类型, 因此报错。2 解决方法基于上面已知的原因,很容易做出如下修改: 01 class Net(nn.Cell): 02 def __init__(self): 03 super(Net, self).__init__() 04 self.batch_norm = ops.BatchNorm() 05 def construct(self,input_x, scale, bias, mean, variance): 06 output = self.batch_norm(input_x, scale, bias, mean, variance) 07 return output 08 09 net = Net() 10 input_x = Tensor(np.ones([2, 2]), mindspore.float16) 11 scale = Tensor(np.ones([2]), mindspore.float32) 12 bias = Tensor(np.ones([2]), mindspore.float32) 13 mean = Tensor(np.ones([2]), mindspore.float32) 14 variance = Tensor(np.ones([2]), mindspore.float32) 15 16 output = net(input_x, scale, bias, mean, variance) 17 print(output)此时执行成功,输出如下:output: (Tensor(shape=[2, 2], dtype=Float16, value= [[ 1.0000e+00, 1.0000e+00], [ 1.0000e+00, 1.0000e+00]]), Tensor(shape=[2], dtype=Float32, value= [ 0.00000000e+00, 0.00000000e+00]), Tensor(shape=[2], dtype=Float32, value= [ 0.00000000e+00, 0.00000000e+00]), Tensor(shape=[2], dtype=Float32, value= [ 0.00000000e+00, 0.00000000e+00]), Tensor(shape=[2], dtype=Float32, value= [ 0.00000000e+00, 0.00000000e+00]))3 总结定位报错问题的步骤:1、找到报错的用户代码行: 16 output = net(input_x, scale, bias, mean, variance);2、 根据日志报错信息中的关键字,缩小分析问题的范围:The supported data types are in[float32 float32 float32 float32 float32], out[float32 float32 float32 float32 float32]; in[float16 float32 float32 float32 float32], out[float16 float32 float32 float32 float32]; , but get in [float16 float16 float16 float16 float16 ] out [float16 float16 float16 float16 float16 ]3、需要重点关注变量定义、初始化的正确性。4 参考文档4.1 BatchNorm算子API接口
  • [执行问题] CreateGPUKernel] gpu kernel op[MaximumGrad-op1014] Resize failed
    【功能模块】网络反向传播,求导过程中报错【操作步骤&问题现象】【截图信息】具体报错语句:【日志信息】(可选,上传日志内容或者附件)报错信息在截图信息展示的代码中,报错语句调用的参数 *args包含的tensor最高维度是4维,并没有报错信息说的5维输入,这个错误该如何处理呢?期待您早日回复!
  • [执行问题] CreateGPUKernel] gpu kernel op[Gradients/Default/gradMaximum/Ma
    【日志信息】(可选,上传日志内容或者附件)【运行软硬件】python3.9.5, mindspore 1.8.0.devcuda 11.1RTX 2080 Ti您好,我在训练模型反向传播时报了上述的错误,这个该如何解决?
  • [问题求助] 【atlas200】---[ end Kernel panic - not syncing: VFS: Unable to mo
    【功能模块】自制底板,RC模式,TF卡【操作步骤&问题现象】1、系统从TF启动,挂死在end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)2.完整LOG麻烦查看附件【截图信息】yd_290219945发帖:1粉丝:0发表于2022年06月11日 22:40:32 阅读133 回复3 楼主只看该作者[问题求助-Atlas200] 【atlas200产品】自制底板,系统挂死在end Kernel panic - not syncing:【功能模块】自制底板,RC模式,TF卡【操作步骤&问题现象】1、系统从TF启动,挂死在end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)2.完整LOG麻烦查看附件【截图信息】[    0.084093] smp: Bringing up secondary CPUs ...[    0.089163] Detected VIPT I-cache on CPU1[    0.089180] GICv3: CPU1: found redistributor 80100 region 0:0x0000000109140000[    0.089189] GICv3: CPU1: using allocated LPI pending table @0x00000009f6ce0000[    0.089206] CPU1: Booted secondary processor 0x0000080100 [0x411fd050][    0.089783] Detected VIPT I-cache on CPU2[    0.089799] GICv3: CPU2: found redistributor 80200 region 0:0x0000000109180000[    0.089808] GICv3: CPU2: using allocated LPI pending table @0x00000009f6cf0000[    0.089825] CPU2: Booted secondary processor 0x0000080200 [0x411fd050][    0.090407] Detected VIPT I-cache on CPU3[    0.090422] GICv3: CPU3: found redistributor 80300 region 0:0x00000001091c0000[    0.090431] GICv3: CPU3: using allocated LPI pending table @0x00000009f6d80000[    0.090449] CPU3: Booted secondary processor 0x0000080300 [0x411fd050][    0.091034] Detected VIPT I-cache on CPU4[    0.091050] GICv3: CPU4: found redistributor 80400 region 0:0x0000000109200000[    0.091059] GICv3: CPU4: using allocated LPI pending table @0x00000009f6d90000[    0.091077] CPU4: Booted secondary processor 0x0000080400 [0x411fd050][    0.091658] Detected VIPT I-cache on CPU5[    0.091675] GICv3: CPU5: found redistributor 80500 region 0:0x0000000109240000[    0.091684] GICv3: CPU5: using allocated LPI pending table @0x00000009f6da0000[    0.091702] CPU5: Booted secondary processor 0x0000080500 [0x411fd050][    0.092281] Detected VIPT I-cache on CPU6[    0.092298] GICv3: CPU6: found redistributor 80600 region 0:0x0000000109280000[    0.092307] GICv3: CPU6: using allocated LPI pending table @0x00000009f6db0000[    0.092325] CPU6: Booted secondary processor 0x0000080600 [0x411fd050][    0.092739] Detected VIPT I-cache on CPU7[    0.092756] GICv3: CPU7: found redistributor 80700 region 0:0x00000001092c0000[    0.092765] GICv3: CPU7: using allocated LPI pending table @0x00000009f6dc0000[    0.092783] CPU7: Booted secondary processor 0x0000080700 [0x411fd050][    0.092845] smp: Brought up 1 node, 8 CPUs[    0.273678] SMP: Total of 8 processors activated.[    0.278432] CPU features: detected: Privileged Access Never[    0.284063] CPU features: detected: User Access Override[    0.289430] CPU features: detected: 32-bit EL0 Support[    0.294621] CPU features: detected: RAS Extension Support[    0.300077] CPU features: detected: Data cache clean to the PoU not required for I/D coherence[    0.308784] CPU features: detected: CRC32 instructions[    0.314326] CPU: All CPU(s) started at EL2[    0.318489] alternatives: patching kernel code[    0.324487] devtmpfs: initialized[    0.331093] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns[    0.340968] futex hash table entries: 2048 (order: 5, 131072 bytes)[    0.352748] pinctrl core: initialized pinctrl subsystem[    0.358127] DMI not present or invalid.[    0.362129] NET: Registered protocol family 16[    0.366899] audit: initializing netlink subsys (disabled)[    0.372463] audit: type=2000 audit(0.244:1): state=initialized audit_enabled=0 res=1[    0.380316] cpuidle: using governor menu[    0.384465] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.[    0.391956] DMA: preallocated 256 KiB pool for atomic allocations[    0.398174] Serial: AMBA PL011 UART driver[    0.408355] init lowpm table success.[    0.415895] HISI SPMI probe[    0.418824] spmi hisilicon-hisi-pmic-spmi-pmic: device hisilicon-hisi-pmic-spmi-pmic registered[    0.428350] 10cf80000.uart: ttyAMA0 at MMIO 0x10cf80000 (irq = 86, base_baud = 0) is a SBSA[    0.436815] console [ttyAMA0] enabled[    0.436815] console [ttyAMA0] enabled[    0.444162] bootconsole [pl11] disabled[    0.444162] bootconsole [pl11] disabled[    0.452138] 130930000.uart1: ttyAMA1 at MMIO 0x130930000 (irq = 89, base_baud = 0) is a PL011 rev3[    0.465307] HugeTLB: unsupported default_hugepagesz 2097152. Reverting to 2097152[    0.472795] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages[    0.479739] cryptd: max_cpu_qlen set to 1000[    0.484342] vgaarb: loaded[    0.487194] SCSI subsystem initialized[    0.491102] usbcore: registered new interface driver usbfs[    0.496616] usbcore: registered new interface driver hub[    0.501946] usbcore: registered new device driver usb[    0.507760] sdei: SDEIv1.0 (0x0) detected in firmware.[    0.512931] sdei: Not supported on this hardware/boot configuration[    0.519191] sdei: disabling SDEI firmware interface[    0.524328] pmu PMU_IRQ0 register value:0x0[    0.528758] clocksource: Switched to clocksource arch_sys_counter[    0.562116] NET: Registered protocol family 2[    0.566763] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes)[    0.574641] TCP established hash table entries: 65536 (order: 7, 524288 bytes)[    0.582120] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)[    0.589531] TCP: Hash tables configured (established 65536 bind 65536)[    0.596140] UDP hash table entries: 4096 (order: 5, 131072 bytes)[    0.602306] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)[    0.608984] NET: Registered protocol family 1[    0.613679] Unpacking initramfs...[    0.617097] Initramfs unpacking failed: junk in compressed archive[    0.727431] Freeing initrd memory: 204800K[    0.732223] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available[    0.743012] Initialise system trusted keyrings[    0.747559] workingset: timestamp_bits=46 max_order=21 bucket_order=0[    0.759973] Key type asymmetric registered[    0.764076] Asymmetric key parser 'x509' registered[    0.768974] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)[    0.776365] io scheduler noop registered[    0.780354] io scheduler cfq registered (default)[    0.785058] io scheduler mq-deadline registered[    0.789581] io scheduler kyber registered[    0.793952] pinctrl-single 110080000.pinmux: please update dts to use #pinctrl-cells = <1>[    0.802267] pinctrl-single 110080000.pinmux: 14 pins, size 56[    0.808089] pinctrl-single 130900000.pinmux: please update dts to use #pinctrl-cells = <1>[    0.816396] pinctrl-single 130900000.pinmux: 24 pins, size 96[    0.822280] pinctrl-single 10cf00000.pinmux: please update dts to use #pinctrl-cells = <1>[    0.830596] pinctrl-single 10cf00000.pinmux: 31 pins, size 124[    0.836501] pinctrl-single 110080800.pinmux: please update dts to use #pinctrl-cells = <1>[    0.844807] pinctrl-single 110080800.pinmux: 23 pins, size 92[    0.850621] pinctrl-single 130900800.pinmux: please update dts to use #pinctrl-cells = <1>[    0.858946] pinctrl-single 130900800.pinmux: 36 pins, size 144[    0.864845] pinctrl-single 10cf00800.pinmux: please update dts to use #pinctrl-cells = <1>[    0.873175] pinctrl-single 10cf00800.pinmux: 35 pins, size 140[    0.881550] pci-host-generic 128000000.pcie: host bridge /pcie@0x120000000 ranges:[    0.889136] pci-host-generic 128000000.pcie:   MEM 0xe0000000..0xe7ffffff -> 0xe0000000[    0.897136] pci-host-generic 128000000.pcie:   MEM 0x4000000000..0x7fffffffff -> 0x4000000000[    0.906344] pci-host-generic 128000000.pcie: ECAM at [mem 0x128000000-0x12fffffff] for [bus 80-ff][    0.915395] pci-host-generic 128000000.pcie: PCI host bridge to bus 0000:80[    0.922359] pci_bus 0000:80: root bus resource [bus 80-ff][    0.927839] pci_bus 0000:80: root bus resource [mem 0xe0000000-0xe7ffffff][    0.934706] pci_bus 0000:80: root bus resource [mem 0x4000000000-0x7fffffffff pref][    0.943644] pci 0000:80:08.0: bridge configuration invalid ([bus 00-00]), reconfiguring[    0.961830] pci 0000:80:08.0: BAR 8: assigned [mem 0xe0000000-0xe01fffff][    0.968625] pci 0000:80:08.0: BAR 9: assigned [mem 0x4000000000-0x40001fffff 64bit pref][    0.976710] pci 0000:80:08.0: BAR 7: no space for [io  size 0x1000][    0.982973] pci 0000:80:08.0: BAR 7: failed to assign [io  size 0x1000][    0.989584] pci 0000:81:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit][    0.996897] pci 0000:80:08.0: PCI bridge to [bus 81][    1.001857] pci 0000:80:08.0:   bridge window [mem 0xe0000000-0xe01fffff][    1.008639] pci 0000:80:08.0:   bridge window [mem 0x4000000000-0x40001fffff 64bit pref][    1.016791] pcieport 0000:80:08.0: enabling device (0000 -> 0002)[    1.023940] pcieport 0000:80:08.0: Signaling PME with IRQ 184[    1.029766] pcieport 0000:80:08.0: AER enabled with IRQ 184[    1.035426] pci 0000:81:00.0: enabling device (0000 -> 0002)[    6.643901] pci 0000:81:00.0: xHCI HW not ready after 5 sec (HC bug?) status = 0x801[    6.651654] pci 0000:81:00.0: quirk_usb_early_handoff+0x0/0x938 took 5484594 usecs[    6.661384] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled[    6.668620] arm-smmu-v3 102000000.smmu_peri: option hisilicon,broken-prefetch-cmd[    6.676114] arm-smmu-v3 102000000.smmu_peri: option hisilicon,message-based-spi[    6.683462] arm-smmu-v3 102000000.smmu_peri: ias 48-bit, oas 48-bit (features 0x00030fcf)[    6.691802] arm-smmu-v3 102000000.smmu_peri: allocated 65536 entries for cmdq[    6.699178] arm-smmu-v3 102000000.smmu_peri: allocated 32768 entries for evtq[    6.706423] arm-smmu-v3 102000000.smmu_peri: msi_domain absent - falling back to wired irqs[    6.714941] arm-smmu-v3 102000000.smmu_peri: arm_smmu_device_probe: probe (____ptrval____)[    6.723293] arm-smmu-v3 140100000.smmu_a0: option hisilicon,broken-prefetch-cmd[    6.730601] arm-smmu-v3 140100000.smmu_a0: option hisilicon,message-based-spi[    6.737760] arm-smmu-v3 140100000.smmu_a0: ias 48-bit, oas 48-bit (features 0x00030fcf)[    6.745929] arm-smmu-v3 140100000.smmu_a0: allocated 65536 entries for cmdq[    6.753343] arm-smmu-v3 140100000.smmu_a0: allocated 32768 entries for evtq[    6.760417] arm-smmu-v3 140100000.smmu_a0: msi_domain absent - falling back to wired irqs[    6.768765] arm-smmu-v3 140100000.smmu_a0: arm_smmu_device_probe: probe (____ptrval____)[    6.776902] arm-smmu-v3 140300000.smmu_a1: option hisilicon,broken-prefetch-cmd[    6.784208] arm-smmu-v3 140300000.smmu_a1: option hisilicon,message-based-spi[    6.791365] arm-smmu-v3 140300000.smmu_a1: ias 48-bit, oas 48-bit (features 0x00030fcf)[    6.799512] arm-smmu-v3 140300000.smmu_a1: allocated 65536 entries for cmdq[    6.806738] arm-smmu-v3 140300000.smmu_a1: allocated 32768 entries for evtq[    6.813811] arm-smmu-v3 140300000.smmu_a1: msi_domain absent - falling back to wired irqs[    6.822137] arm-smmu-v3 140300000.smmu_a1: arm_smmu_device_probe: probe (____ptrval____)[    6.830296] arm-smmu-v3 130000000.dvpp_smmu_controller0: option hisilicon,broken-prefetch-cmd[    6.838820] arm-smmu-v3 130000000.dvpp_smmu_controller0: option hisilicon,message-based-spi[    6.847193] arm-smmu-v3 130000000.dvpp_smmu_controller0: ias 48-bit, oas 48-bit (features 0x00030fcf)[    6.856592] arm-smmu-v3 130000000.dvpp_smmu_controller0: allocated 65536 entries for cmdq[    6.865225] arm-smmu-v3 130000000.dvpp_smmu_controller0: allocated 32768 entries for evtq[    6.873515] arm-smmu-v3 130000000.dvpp_smmu_controller0: msi_domain absent - falling back to wired irqs[    6.883072] arm-smmu-v3 130000000.dvpp_smmu_controller0: arm_smmu_device_probe: probe (____ptrval____)[    6.892437] arm-smmu-v3 130100000.dvpp_smmu_controller1: option hisilicon,broken-prefetch-cmd[    6.900960] arm-smmu-v3 130100000.dvpp_smmu_controller1: option hisilicon,message-based-spi[    6.909340] arm-smmu-v3 130100000.dvpp_smmu_controller1: ias 48-bit, oas 48-bit (features 0x00030fcf)[    6.918703] arm-smmu-v3 130100000.dvpp_smmu_controller1: allocated 65536 entries for cmdq[    6.927139] arm-smmu-v3 130100000.dvpp_smmu_controller1: allocated 32768 entries for evtq[    6.935431] arm-smmu-v3 130100000.dvpp_smmu_controller1: msi_domain absent - falling back to wired irqs[    6.944983] arm-smmu-v3 130100000.dvpp_smmu_controller1: arm_smmu_device_probe: probe (____ptrval____)[    6.954465] cacheinfo: Unable to detect cache hierarchy for CPU 0[    6.960830] libphy: Fixed MDIO Bus: probed[    6.964927] CAN device driver interface[    6.969083] xhci_hcd 0000:81:00.0: xHCI Host Controller[    6.974325] xhci_hcd 0000:81:00.0: new USB bus registered, assigned bus number 1[   16.981745] xhci_hcd 0000:81:00.0: can't setup: -110[   16.986708] xhci_hcd 0000:81:00.0: USB bus 1 deregistered[   16.992110] xhci_hcd 0000:81:00.0: init 0000:81:00.0 fail, -110[   16.998032] xhci_hcd: probe of 0000:81:00.0 failed with error -110[   17.004613] mousedev: PS/2 mouse device common for all mice[   17.010316] i2c /dev entries driver[   17.013983] sdhci: Secure Digital Host Controller Interface driver[   17.020165] sdhci: Copyright(c) Pierre Ossman[   17.024537] Synopsys Designware Multimedia Card Interface Driver[   17.031333] can't find device_type![   17.034830] chip type 0 chip platform -1![   17.038859]  dw_mci_set_sel18 reg = 0x0[   17.042702] dw_mci_hs_get_dt_pltfm_resource: boston_cs_sd_timing_config is used for timing_config![   17.051664] dwmmc_hs hi_mci.1: sd_ioset_sd_sel not available[   17.057323] dwmmc_hs hi_mci.1: sd_ioset_jtag_sd_sel not available[   17.063412] dwmmc_hs hi_mci.1: bus_hz property not found, using value of 0 as default[   17.071234] dwmmc_hs hi_mci.1: dts bus_hz = 0[   17.075672] dwmmc_hs hi_mci.1: dts cd-vol = 0[   17.080108] set sd_support_uhs.[   17.083243] dwmmc_hs hi_mci.1: board mmc_bus_clk property not found, assuming asic board is available[   17.092454] dwmmc_hs hi_mci.1: ######board-mmc-bus-clk is 0[   17.098112] dwmmc_hs hi_mci.1: board-sd-voltage-switch-gpio not available[   17.104893] dwmmc_hs hi_mci.1: ######dw_voltage_switch_gpio is -1[   17.110979] dwmmc_hs hi_mci.1: "bus-width" value 4[   17.115862] dwmmc_hs hi_mci.1: eMMC/SD clock gate enable[   17.121177] dwmmc_hs hi_mci.1: id=1,timing=0,UHS_REG_EXT=0xef0000,ENABLE_SHIFT=0x0,GPIO=0x10700[   17.129880] dwmmc_hs hi_mci.1: IDMAC supports 64-bit address mode.[   17.136194] dwmmc_hs hi_mci.1: Using internal DMA controller.[   17.141947] dwmmc_hs hi_mci.1: Version ID is 270a[   17.146740] dwmmc_hs hi_mci.1: DW MMC controller at irq 67,32 bit host data width,256 deep fifo[   17.155451] dw_mci_init_slot 3706 mmc->caps: 0x870007, mmc->caps2: 0x0[   17.161997] dwmmc_hs hi_mci.1: gpio [501] request[   17.166783] dwmmc_hs hi_mci.1: shared-irq property not found, using shared_irq of 0 as default[   17.175411] mmc_host mmc1: card is not present[   17.179913] emmc mmc_start_host 0[   17.183231] dwmmc_hs hi_mci.1: set io to normal[   17.187754]  dw_mci_set_sel18 reg = 0x0[   17.197107] pmic ldo9 set voltage:0x5.buck status:0x0.[   17.202256] pmic ldo9 enable voltage:0x5.buck status:0x3.[   17.209165] pmic ldo16 set voltage:0x6.buck status:0x0.[   17.214398] pmic ldo16 enable voltage:0x6.buck status:0x3.[   17.221398]  dw_mci_set_sel18 reg = 0x0[   17.230747] pmic ldo9 set voltage:0x5.buck status:0x3.[   17.253903] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)[   17.275690] dwmmc_hs hi_mci.1: 1 slots initialized[   17.280562] sdhci-pltfm: SDHCI platform and OF driver helper[   17.286804] mmc_host mmc1: card is not present[   17.291259] dwmmc_hs hi_mci.1: set io to lowpower[   17.296099] pmic ldo9 disable voltage:0x5.buck status:0x0.[   17.301594] pmic ldo16 disable voltage:0x6.buck status:0x0.[   17.309428] sleep gpio feature is disable[   17.313945] IPVS: Registered protocols ()[   17.318039] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)[   17.325443] IPVS: ipvs loaded.[   17.328613] NET: Registered protocol family 17[   17.333090] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.[   17.346040] can: controller area network core (rev 20170425 abi 9)[   17.352302] NET: Registered protocol family 29[   17.356752] can: raw protocol (rev 20170425)[   17.361093] Key type dns_resolver registered[   17.365799] Loading compiled-in X.509 certificates[   17.370918] i2c_designware 110130000.i2c: running with gpio recovery mode! scl,sda[   17.379357] svm_bus svm0_sdma0: DMA mask not set[   17.384295] iommu: Adding device svm0_sdma0 to group 0[   17.389582] svm_bus svm0_sdma0: no reg, FW should install the sid[   17.395892] svm_bus svm0_l2_pt: DMA mask not set[   17.400668] iommu: Adding device svm0_l2_pt to group 1[   17.405958] svm_bus svm0_l2_pt: no reg, FW should install the sid[   17.412107] iommu: Using direct mapping for device svm0_l2_pt[   17.417905] svm_bus svm0_core0: DMA mask not set[   17.422887] iommu: Adding device svm0_core0 to group 2[   17.428146] svm_bus svm0_core0: no reg, FW should install the sid[   17.434440] svm_bus svm0_core1: DMA mask not set[   17.439331] iommu: Adding device svm0_core1 to group 3[   17.444625] svm_bus svm0_core1: no reg, FW should install the sid[   17.451001] hctosys: unable to open rtc device (rtc0)[   17.456184] cfg80211: Loading compiled-in X.509 certificates for regulatory database[   17.464902] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'[   17.471437] SDEI NMI watchdog: Bind interrupt failed. Firmware may not support SDEI ![   17.479313] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2[   17.487926] cfg80211: failed to load regulatory.db[   17.492972] Waiting 1 sec before mounting root device...[   18.516846] VFS: Cannot open root device "mmcblk1p1" or unknown-block(0,0): error -6[   18.524592] Please append a correct "root=" boot option; here are the available partitions:[   18.532941] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)[   18.541195] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.19.90+ #1[   18.547276] Hardware name: asic (DT)[   18.550839] Call trace:[   18.553280]  dump_backtrace+0x0/0x198[   18.556931]  show_stack+0x14/0x20[   18.560238]  dump_stack+0xb4/0xf0[   18.563544]  panic+0x1b4/0x374[   18.566592]  mount_block_root+0x2a4/0x358[   18.570590]  mount_root+0x7c/0x88[   18.573894]  prepare_namespace+0x128/0x170[   18.577979]  kernel_init_freeable+0x310/0x368[   18.582325]  kernel_init+0x10/0x10c[   18.585804]  ret_from_fork+0x10/0x18[   18.589373] SMP: stopping secondary CPUs[   18.593287] Kernel Offset: disabled[   18.596765] CPU features: 0x10,aa002218[   18.600588] Memory Limit: none[   18.603634] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---【日志信息】(可选,上传日志内容或者附件)请查收附件
  • [执行问题] Malloc for kernel output failed, Memory isn&apos;t enough
    报错信息:报错代码:具体描述:      在标红那行代码的前两行代码都执行过报错处的代码,但是均顺利执行,但运行到标红处的时候,调用 get_time_embdding_A函数执行到报错代码处,就出现了报错信息中的错误,这种情况是怎么回事呢?又该如何解决呢?      谢谢专家的阅读和回复!
  • [Atlas200] 【atlas200产品】自制底板,系统挂死在end Kernel panic - not syncing:
    【功能模块】自制底板,RC模式,TF卡【操作步骤&问题现象】1、系统从TF启动,挂死在end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)2.完整LOG麻烦查看附件【截图信息】[    0.084093] smp: Bringing up secondary CPUs ...[    0.089163] Detected VIPT I-cache on CPU1[    0.089180] GICv3: CPU1: found redistributor 80100 region 0:0x0000000109140000[    0.089189] GICv3: CPU1: using allocated LPI pending table @0x00000009f6ce0000[    0.089206] CPU1: Booted secondary processor 0x0000080100 [0x411fd050][    0.089783] Detected VIPT I-cache on CPU2[    0.089799] GICv3: CPU2: found redistributor 80200 region 0:0x0000000109180000[    0.089808] GICv3: CPU2: using allocated LPI pending table @0x00000009f6cf0000[    0.089825] CPU2: Booted secondary processor 0x0000080200 [0x411fd050][    0.090407] Detected VIPT I-cache on CPU3[    0.090422] GICv3: CPU3: found redistributor 80300 region 0:0x00000001091c0000[    0.090431] GICv3: CPU3: using allocated LPI pending table @0x00000009f6d80000[    0.090449] CPU3: Booted secondary processor 0x0000080300 [0x411fd050][    0.091034] Detected VIPT I-cache on CPU4[    0.091050] GICv3: CPU4: found redistributor 80400 region 0:0x0000000109200000[    0.091059] GICv3: CPU4: using allocated LPI pending table @0x00000009f6d90000[    0.091077] CPU4: Booted secondary processor 0x0000080400 [0x411fd050][    0.091658] Detected VIPT I-cache on CPU5[    0.091675] GICv3: CPU5: found redistributor 80500 region 0:0x0000000109240000[    0.091684] GICv3: CPU5: using allocated LPI pending table @0x00000009f6da0000[    0.091702] CPU5: Booted secondary processor 0x0000080500 [0x411fd050][    0.092281] Detected VIPT I-cache on CPU6[    0.092298] GICv3: CPU6: found redistributor 80600 region 0:0x0000000109280000[    0.092307] GICv3: CPU6: using allocated LPI pending table @0x00000009f6db0000[    0.092325] CPU6: Booted secondary processor 0x0000080600 [0x411fd050][    0.092739] Detected VIPT I-cache on CPU7[    0.092756] GICv3: CPU7: found redistributor 80700 region 0:0x00000001092c0000[    0.092765] GICv3: CPU7: using allocated LPI pending table @0x00000009f6dc0000[    0.092783] CPU7: Booted secondary processor 0x0000080700 [0x411fd050][    0.092845] smp: Brought up 1 node, 8 CPUs[    0.273678] SMP: Total of 8 processors activated.[    0.278432] CPU features: detected: Privileged Access Never[    0.284063] CPU features: detected: User Access Override[    0.289430] CPU features: detected: 32-bit EL0 Support[    0.294621] CPU features: detected: RAS Extension Support[    0.300077] CPU features: detected: Data cache clean to the PoU not required for I/D coherence[    0.308784] CPU features: detected: CRC32 instructions[    0.314326] CPU: All CPU(s) started at EL2[    0.318489] alternatives: patching kernel code[    0.324487] devtmpfs: initialized[    0.331093] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns[    0.340968] futex hash table entries: 2048 (order: 5, 131072 bytes)[    0.352748] pinctrl core: initialized pinctrl subsystem[    0.358127] DMI not present or invalid.[    0.362129] NET: Registered protocol family 16[    0.366899] audit: initializing netlink subsys (disabled)[    0.372463] audit: type=2000 audit(0.244:1): state=initialized audit_enabled=0 res=1[    0.380316] cpuidle: using governor menu[    0.384465] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.[    0.391956] DMA: preallocated 256 KiB pool for atomic allocations[    0.398174] Serial: AMBA PL011 UART driver[    0.408355] init lowpm table success.[    0.415895] HISI SPMI probe[    0.418824] spmi hisilicon-hisi-pmic-spmi-pmic: device hisilicon-hisi-pmic-spmi-pmic registered[    0.428350] 10cf80000.uart: ttyAMA0 at MMIO 0x10cf80000 (irq = 86, base_baud = 0) is a SBSA[    0.436815] console [ttyAMA0] enabled[    0.436815] console [ttyAMA0] enabled[    0.444162] bootconsole [pl11] disabled[    0.444162] bootconsole [pl11] disabled[    0.452138] 130930000.uart1: ttyAMA1 at MMIO 0x130930000 (irq = 89, base_baud = 0) is a PL011 rev3[    0.465307] HugeTLB: unsupported default_hugepagesz 2097152. Reverting to 2097152[    0.472795] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages[    0.479739] cryptd: max_cpu_qlen set to 1000[    0.484342] vgaarb: loaded[    0.487194] SCSI subsystem initialized[    0.491102] usbcore: registered new interface driver usbfs[    0.496616] usbcore: registered new interface driver hub[    0.501946] usbcore: registered new device driver usb[    0.507760] sdei: SDEIv1.0 (0x0) detected in firmware.[    0.512931] sdei: Not supported on this hardware/boot configuration[    0.519191] sdei: disabling SDEI firmware interface[    0.524328] pmu PMU_IRQ0 register value:0x0[    0.528758] clocksource: Switched to clocksource arch_sys_counter[    0.562116] NET: Registered protocol family 2[    0.566763] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes)[    0.574641] TCP established hash table entries: 65536 (order: 7, 524288 bytes)[    0.582120] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)[    0.589531] TCP: Hash tables configured (established 65536 bind 65536)[    0.596140] UDP hash table entries: 4096 (order: 5, 131072 bytes)[    0.602306] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)[    0.608984] NET: Registered protocol family 1[    0.613679] Unpacking initramfs...[    0.617097] Initramfs unpacking failed: junk in compressed archive[    0.727431] Freeing initrd memory: 204800K[    0.732223] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available[    0.743012] Initialise system trusted keyrings[    0.747559] workingset: timestamp_bits=46 max_order=21 bucket_order=0[    0.759973] Key type asymmetric registered[    0.764076] Asymmetric key parser 'x509' registered[    0.768974] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)[    0.776365] io scheduler noop registered[    0.780354] io scheduler cfq registered (default)[    0.785058] io scheduler mq-deadline registered[    0.789581] io scheduler kyber registered[    0.793952] pinctrl-single 110080000.pinmux: please update dts to use #pinctrl-cells = <1>[    0.802267] pinctrl-single 110080000.pinmux: 14 pins, size 56[    0.808089] pinctrl-single 130900000.pinmux: please update dts to use #pinctrl-cells = <1>[    0.816396] pinctrl-single 130900000.pinmux: 24 pins, size 96[    0.822280] pinctrl-single 10cf00000.pinmux: please update dts to use #pinctrl-cells = <1>[    0.830596] pinctrl-single 10cf00000.pinmux: 31 pins, size 124[    0.836501] pinctrl-single 110080800.pinmux: please update dts to use #pinctrl-cells = <1>[    0.844807] pinctrl-single 110080800.pinmux: 23 pins, size 92[    0.850621] pinctrl-single 130900800.pinmux: please update dts to use #pinctrl-cells = <1>[    0.858946] pinctrl-single 130900800.pinmux: 36 pins, size 144[    0.864845] pinctrl-single 10cf00800.pinmux: please update dts to use #pinctrl-cells = <1>[    0.873175] pinctrl-single 10cf00800.pinmux: 35 pins, size 140[    0.881550] pci-host-generic 128000000.pcie: host bridge /pcie@0x120000000 ranges:[    0.889136] pci-host-generic 128000000.pcie:   MEM 0xe0000000..0xe7ffffff -> 0xe0000000[    0.897136] pci-host-generic 128000000.pcie:   MEM 0x4000000000..0x7fffffffff -> 0x4000000000[    0.906344] pci-host-generic 128000000.pcie: ECAM at [mem 0x128000000-0x12fffffff] for [bus 80-ff][    0.915395] pci-host-generic 128000000.pcie: PCI host bridge to bus 0000:80[    0.922359] pci_bus 0000:80: root bus resource [bus 80-ff][    0.927839] pci_bus 0000:80: root bus resource [mem 0xe0000000-0xe7ffffff][    0.934706] pci_bus 0000:80: root bus resource [mem 0x4000000000-0x7fffffffff pref][    0.943644] pci 0000:80:08.0: bridge configuration invalid ([bus 00-00]), reconfiguring[    0.961830] pci 0000:80:08.0: BAR 8: assigned [mem 0xe0000000-0xe01fffff][    0.968625] pci 0000:80:08.0: BAR 9: assigned [mem 0x4000000000-0x40001fffff 64bit pref][    0.976710] pci 0000:80:08.0: BAR 7: no space for [io  size 0x1000][    0.982973] pci 0000:80:08.0: BAR 7: failed to assign [io  size 0x1000][    0.989584] pci 0000:81:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit][    0.996897] pci 0000:80:08.0: PCI bridge to [bus 81][    1.001857] pci 0000:80:08.0:   bridge window [mem 0xe0000000-0xe01fffff][    1.008639] pci 0000:80:08.0:   bridge window [mem 0x4000000000-0x40001fffff 64bit pref][    1.016791] pcieport 0000:80:08.0: enabling device (0000 -> 0002)[    1.023940] pcieport 0000:80:08.0: Signaling PME with IRQ 184[    1.029766] pcieport 0000:80:08.0: AER enabled with IRQ 184[    1.035426] pci 0000:81:00.0: enabling device (0000 -> 0002)[    6.643901] pci 0000:81:00.0: xHCI HW not ready after 5 sec (HC bug?) status = 0x801[    6.651654] pci 0000:81:00.0: quirk_usb_early_handoff+0x0/0x938 took 5484594 usecs[    6.661384] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled[    6.668620] arm-smmu-v3 102000000.smmu_peri: option hisilicon,broken-prefetch-cmd[    6.676114] arm-smmu-v3 102000000.smmu_peri: option hisilicon,message-based-spi[    6.683462] arm-smmu-v3 102000000.smmu_peri: ias 48-bit, oas 48-bit (features 0x00030fcf)[    6.691802] arm-smmu-v3 102000000.smmu_peri: allocated 65536 entries for cmdq[    6.699178] arm-smmu-v3 102000000.smmu_peri: allocated 32768 entries for evtq[    6.706423] arm-smmu-v3 102000000.smmu_peri: msi_domain absent - falling back to wired irqs[    6.714941] arm-smmu-v3 102000000.smmu_peri: arm_smmu_device_probe: probe (____ptrval____)[    6.723293] arm-smmu-v3 140100000.smmu_a0: option hisilicon,broken-prefetch-cmd[    6.730601] arm-smmu-v3 140100000.smmu_a0: option hisilicon,message-based-spi[    6.737760] arm-smmu-v3 140100000.smmu_a0: ias 48-bit, oas 48-bit (features 0x00030fcf)[    6.745929] arm-smmu-v3 140100000.smmu_a0: allocated 65536 entries for cmdq[    6.753343] arm-smmu-v3 140100000.smmu_a0: allocated 32768 entries for evtq[    6.760417] arm-smmu-v3 140100000.smmu_a0: msi_domain absent - falling back to wired irqs[    6.768765] arm-smmu-v3 140100000.smmu_a0: arm_smmu_device_probe: probe (____ptrval____)[    6.776902] arm-smmu-v3 140300000.smmu_a1: option hisilicon,broken-prefetch-cmd[    6.784208] arm-smmu-v3 140300000.smmu_a1: option hisilicon,message-based-spi[    6.791365] arm-smmu-v3 140300000.smmu_a1: ias 48-bit, oas 48-bit (features 0x00030fcf)[    6.799512] arm-smmu-v3 140300000.smmu_a1: allocated 65536 entries for cmdq[    6.806738] arm-smmu-v3 140300000.smmu_a1: allocated 32768 entries for evtq[    6.813811] arm-smmu-v3 140300000.smmu_a1: msi_domain absent - falling back to wired irqs[    6.822137] arm-smmu-v3 140300000.smmu_a1: arm_smmu_device_probe: probe (____ptrval____)[    6.830296] arm-smmu-v3 130000000.dvpp_smmu_controller0: option hisilicon,broken-prefetch-cmd[    6.838820] arm-smmu-v3 130000000.dvpp_smmu_controller0: option hisilicon,message-based-spi[    6.847193] arm-smmu-v3 130000000.dvpp_smmu_controller0: ias 48-bit, oas 48-bit (features 0x00030fcf)[    6.856592] arm-smmu-v3 130000000.dvpp_smmu_controller0: allocated 65536 entries for cmdq[    6.865225] arm-smmu-v3 130000000.dvpp_smmu_controller0: allocated 32768 entries for evtq[    6.873515] arm-smmu-v3 130000000.dvpp_smmu_controller0: msi_domain absent - falling back to wired irqs[    6.883072] arm-smmu-v3 130000000.dvpp_smmu_controller0: arm_smmu_device_probe: probe (____ptrval____)[    6.892437] arm-smmu-v3 130100000.dvpp_smmu_controller1: option hisilicon,broken-prefetch-cmd[    6.900960] arm-smmu-v3 130100000.dvpp_smmu_controller1: option hisilicon,message-based-spi[    6.909340] arm-smmu-v3 130100000.dvpp_smmu_controller1: ias 48-bit, oas 48-bit (features 0x00030fcf)[    6.918703] arm-smmu-v3 130100000.dvpp_smmu_controller1: allocated 65536 entries for cmdq[    6.927139] arm-smmu-v3 130100000.dvpp_smmu_controller1: allocated 32768 entries for evtq[    6.935431] arm-smmu-v3 130100000.dvpp_smmu_controller1: msi_domain absent - falling back to wired irqs[    6.944983] arm-smmu-v3 130100000.dvpp_smmu_controller1: arm_smmu_device_probe: probe (____ptrval____)[    6.954465] cacheinfo: Unable to detect cache hierarchy for CPU 0[    6.960830] libphy: Fixed MDIO Bus: probed[    6.964927] CAN device driver interface[    6.969083] xhci_hcd 0000:81:00.0: xHCI Host Controller[    6.974325] xhci_hcd 0000:81:00.0: new USB bus registered, assigned bus number 1[   16.981745] xhci_hcd 0000:81:00.0: can't setup: -110[   16.986708] xhci_hcd 0000:81:00.0: USB bus 1 deregistered[   16.992110] xhci_hcd 0000:81:00.0: init 0000:81:00.0 fail, -110[   16.998032] xhci_hcd: probe of 0000:81:00.0 failed with error -110[   17.004613] mousedev: PS/2 mouse device common for all mice[   17.010316] i2c /dev entries driver[   17.013983] sdhci: Secure Digital Host Controller Interface driver[   17.020165] sdhci: Copyright(c) Pierre Ossman[   17.024537] Synopsys Designware Multimedia Card Interface Driver[   17.031333] can't find device_type![   17.034830] chip type 0 chip platform -1![   17.038859]  dw_mci_set_sel18 reg = 0x0[   17.042702] dw_mci_hs_get_dt_pltfm_resource: boston_cs_sd_timing_config is used for timing_config![   17.051664] dwmmc_hs hi_mci.1: sd_ioset_sd_sel not available[   17.057323] dwmmc_hs hi_mci.1: sd_ioset_jtag_sd_sel not available[   17.063412] dwmmc_hs hi_mci.1: bus_hz property not found, using value of 0 as default[   17.071234] dwmmc_hs hi_mci.1: dts bus_hz = 0[   17.075672] dwmmc_hs hi_mci.1: dts cd-vol = 0[   17.080108] set sd_support_uhs.[   17.083243] dwmmc_hs hi_mci.1: board mmc_bus_clk property not found, assuming asic board is available[   17.092454] dwmmc_hs hi_mci.1: ######board-mmc-bus-clk is 0[   17.098112] dwmmc_hs hi_mci.1: board-sd-voltage-switch-gpio not available[   17.104893] dwmmc_hs hi_mci.1: ######dw_voltage_switch_gpio is -1[   17.110979] dwmmc_hs hi_mci.1: "bus-width" value 4[   17.115862] dwmmc_hs hi_mci.1: eMMC/SD clock gate enable[   17.121177] dwmmc_hs hi_mci.1: id=1,timing=0,UHS_REG_EXT=0xef0000,ENABLE_SHIFT=0x0,GPIO=0x10700[   17.129880] dwmmc_hs hi_mci.1: IDMAC supports 64-bit address mode.[   17.136194] dwmmc_hs hi_mci.1: Using internal DMA controller.[   17.141947] dwmmc_hs hi_mci.1: Version ID is 270a[   17.146740] dwmmc_hs hi_mci.1: DW MMC controller at irq 67,32 bit host data width,256 deep fifo[   17.155451] dw_mci_init_slot 3706 mmc->caps: 0x870007, mmc->caps2: 0x0[   17.161997] dwmmc_hs hi_mci.1: gpio [501] request[   17.166783] dwmmc_hs hi_mci.1: shared-irq property not found, using shared_irq of 0 as default[   17.175411] mmc_host mmc1: card is not present[   17.179913] emmc mmc_start_host 0[   17.183231] dwmmc_hs hi_mci.1: set io to normal[   17.187754]  dw_mci_set_sel18 reg = 0x0[   17.197107] pmic ldo9 set voltage:0x5.buck status:0x0.[   17.202256] pmic ldo9 enable voltage:0x5.buck status:0x3.[   17.209165] pmic ldo16 set voltage:0x6.buck status:0x0.[   17.214398] pmic ldo16 enable voltage:0x6.buck status:0x3.[   17.221398]  dw_mci_set_sel18 reg = 0x0[   17.230747] pmic ldo9 set voltage:0x5.buck status:0x3.[   17.253903] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)[   17.275690] dwmmc_hs hi_mci.1: 1 slots initialized[   17.280562] sdhci-pltfm: SDHCI platform and OF driver helper[   17.286804] mmc_host mmc1: card is not present[   17.291259] dwmmc_hs hi_mci.1: set io to lowpower[   17.296099] pmic ldo9 disable voltage:0x5.buck status:0x0.[   17.301594] pmic ldo16 disable voltage:0x6.buck status:0x0.[   17.309428] sleep gpio feature is disable[   17.313945] IPVS: Registered protocols ()[   17.318039] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)[   17.325443] IPVS: ipvs loaded.[   17.328613] NET: Registered protocol family 17[   17.333090] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.[   17.346040] can: controller area network core (rev 20170425 abi 9)[   17.352302] NET: Registered protocol family 29[   17.356752] can: raw protocol (rev 20170425)[   17.361093] Key type dns_resolver registered[   17.365799] Loading compiled-in X.509 certificates[   17.370918] i2c_designware 110130000.i2c: running with gpio recovery mode! scl,sda[   17.379357] svm_bus svm0_sdma0: DMA mask not set[   17.384295] iommu: Adding device svm0_sdma0 to group 0[   17.389582] svm_bus svm0_sdma0: no reg, FW should install the sid[   17.395892] svm_bus svm0_l2_pt: DMA mask not set[   17.400668] iommu: Adding device svm0_l2_pt to group 1[   17.405958] svm_bus svm0_l2_pt: no reg, FW should install the sid[   17.412107] iommu: Using direct mapping for device svm0_l2_pt[   17.417905] svm_bus svm0_core0: DMA mask not set[   17.422887] iommu: Adding device svm0_core0 to group 2[   17.428146] svm_bus svm0_core0: no reg, FW should install the sid[   17.434440] svm_bus svm0_core1: DMA mask not set[   17.439331] iommu: Adding device svm0_core1 to group 3[   17.444625] svm_bus svm0_core1: no reg, FW should install the sid[   17.451001] hctosys: unable to open rtc device (rtc0)[   17.456184] cfg80211: Loading compiled-in X.509 certificates for regulatory database[   17.464902] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'[   17.471437] SDEI NMI watchdog: Bind interrupt failed. Firmware may not support SDEI ![   17.479313] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2[   17.487926] cfg80211: failed to load regulatory.db[   17.492972] Waiting 1 sec before mounting root device...[   18.516846] VFS: Cannot open root device "mmcblk1p1" or unknown-block(0,0): error -6[   18.524592] Please append a correct "root=" boot option; here are the available partitions:[   18.532941] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)[   18.541195] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.19.90+ #1[   18.547276] Hardware name: asic (DT)[   18.550839] Call trace:[   18.553280]  dump_backtrace+0x0/0x198[   18.556931]  show_stack+0x14/0x20[   18.560238]  dump_stack+0xb4/0xf0[   18.563544]  panic+0x1b4/0x374[   18.566592]  mount_block_root+0x2a4/0x358[   18.570590]  mount_root+0x7c/0x88[   18.573894]  prepare_namespace+0x128/0x170[   18.577979]  kernel_init_freeable+0x310/0x368[   18.582325]  kernel_init+0x10/0x10c[   18.585804]  ret_from_fork+0x10/0x18[   18.589373] SMP: stopping secondary CPUs[   18.593287] Kernel Offset: disabled[   18.596765] CPU features: 0x10,aa002218[   18.600588] Memory Limit: none[   18.603634] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
  • [问题求助] 为什么arm架构的kernel5.10.109-200没了
    # yum list | grep kernelkernel.aarch64                           5.10.109-200.el7                @updateskernel-core.aarch64                      5.10.109-200.el7                @updates上面是旧的服务器,新服务器在updates没找到5.10.109的kernel版本。
  • [网络迁移] 【Ascend310产品】【npu迁移】aicpu kernel execute failed
    【功能模块】【Ascend310产品】【npu迁移】pytorch【操作步骤&问题现象】1、连续几次跑到一半的时候突然报错,ACL stream synchronize failed, error code:507018【截图信息】【日志信息】(可选,上传日志内容或者附件)
  • [问题求助] tfkeras代码迁移npu报错 Aicpu kernel execute failed
    【功能模块】【操作步骤&问题现象】1、执行zy_api.py使用tfplugin自动代码迁移工具把代码迁移过来运行的报错tensorflow.python.framework.errors_impl.InternalError: GeOp3_0GEOP::::DoRunAsync FailedError Message is : E39999: Inner Error!E39999  Aicpu kernel execute failed, device_id=0, stream_id=8, task_id=1, flip_num=0, fault so_name=, fault kernel_name=, fault op_name=, extend_info=[FUNC:GetError][FILE:stream.cc][LINE:739]        rtStreamSynchronize execute failed, reason=[aicpu exception][FUNC:FuncErrorReason][FILE:error_message_manage.cc][LINE:45]        Call rtStreamSynchronize(stream) fail, ret: 0x7BC8A[FUNC:KernelLaunchEx][FILE:model_manager.cc][LINE:141]        Task index:0 init failed, ret:507018.[FUNC:InitTaskInfo][FILE:davinci_model.cc][LINE:3270]【截图信息】【日志信息】(可选,上传日志内容或者附件)
  • [执行问题] Select GPU kernel op[Adam] fail! Incompatible data type!
    【功能模块】使用mindspore1.2GPU跑RNN_attention时遇到data type问题【操作步骤&问题现象】1、使用mindspore编写RNN_attention模型,排除模型内部报错后,在运行时抛出data type问题2、模型代码及部分参数如下:parser.add_argument('--num_layers', type=int, default=1, ) # lstm层数parser.add_argument('--hidden_size', type=int, default=128, ) # lstm隐藏层parser.add_argument('--embedding_pretrained', default=None, ) # 预训练parser.add_argument('--embed', type=int, default=300) #文本embedding维度parser.add_argument('--hidden_size2', type=int, default=64, ) #import mindsporeimport mindspore.nn as nnfrom mindspore import dtype as mstypefrom mindspore import Tensorfrom mindspore.ops import operations as Pimport mindspore.ops as opsimport numpy as npclass RNN_attent(nn.Cell): def __init__(self, config): super(RNN_attent, self).__init__() self.embedding = nn.Embedding(config.n_vocab, config.embed) self.lstm = nn.LSTM(config.embed, config.hidden_size, config.num_layers, bidirectional=True, batch_first=True, dropout=config.dropout) self.softmax = nn.Softmax() self.tanh1 = nn.Tanh() # self.u = nn.Parameter(torch.Tensor(config.hidden_size * 2, config.hidden_size * 2)) self.w = mindspore.Parameter(Tensor(np.zeros(config.hidden_size * 2))) self.fc1 = nn.Dense(config.hidden_size * 2, config.hidden_size2) self.fc = nn.Dense(config.hidden_size2, config.num_classes) self.relu = nn.ReLU() self.unsqueeze = ops.ExpandDims() self.num_directions = 2 self.hidden_size = config.hidden_size self.num_layers = config.num_layers self.batch_size = config.batch_size def construct(self, x): embed = self.embedding(x) # [batch_size, seq_len, embeding]=[128, 32, 300] h_0 = Tensor(np.zeros([self.num_directions * self.num_layers, self.batch_size, self.hidden_size]).astype(np.float32)) c_0 = Tensor(np.zeros([self.num_directions * self.num_layers, self.batch_size, self.hidden_size]).astype(np.float32)) hx_0 = (h_0, c_0) H, _ = self.lstm(embed, hx_0) M = self.tanh1(H) # [128, 32, 256] alpha = self.softmax(ops.matmul(M, self.w)) # [128, 32, 1] alpha = self.unsqueeze(alpha, -1) out = H * alpha # [128, 32, 256] out = ops.reduce_sum(out, 1) # [128, 256] out = self.relu(out) out = self.fc1(out) out = self.fc(out) # [128, 64] return outargs.n_vocab = vocab_sizeargs.dropout = 0.1model = RNN_attent(config = args)【截图信息】完整报错信息:【日志信息】(可选,上传日志内容或者附件)
  • [执行问题] 【MindSpore】【Ascend910】error kernel process job failed
    【操作步骤&问题现象】1、安装MindSpore后运行失败【截图信息】【日志信息】(vgg_train4) user1@ascend:~$ python -c "import mindspore;mindspore.run_check()"MindSpore version:  1.6.1[ERROR] KERNEL(58768,ffffb6d865c0,python):2022-04-26-14:11:00.794.875 [mindspore/ccsrc/backend/kernel_compiler/tbe/tbe_kernel_compile.cc:143] PrintInfo] Job id:2, name :mul_1256030608483155855_0, message:2022-04-26 14:11:00.791086: Process Job Failed[ERROR] KERNEL(58768,ffffb6d865c0,python):2022-04-26-14:11:00.794.953 [mindspore/ccsrc/backend/kernel_compiler/tbe/tbe_kernel_compile.cc:143] PrintInfo] Job id:2, name :mul_1256030608483155855_0, message:2022-04-26 14:11:00.791196: Job json string:{"job_content":{"SocInfo":{"autoTilingMode":"NO_TUNE","coreNum":"","coreType":"","deviceId":"0","l1Fusion":"false","l2Fusion":"false","l2Mode":"2","mdl_bank_path":"","offlineTune":false,"op_bank_path":"","op_bank_update":false,"op_debug_dir":"./rank_0/","op_debug_level":"3","op_impl_mode":"","op_impl_mode_list":[],"socVersion":"Ascend910B","vector_fp_ceiling":""},"full_name":"Default/Mul-op0","fusion_op_name":"mul_1256030608483155855_0","graph_name":"","l1_size":-1,"op_list":[{"name":"x_0","output_desc":[{"L1_addr_offset":0,"L1_fusion_type":-1,"L1_workspace_size":-1,"addr_type":0,"data_type":"float32","dtype":"float32","format":"ND","name":"x_0","ori_format":"NCHW","ori_shape":[3],"param_type":"required","range":[[3,3]],"shape":[3],"slice_offset":[],"split_index":0,"total_shape":[],"valid":true,"valid_shape":[]}],"type":"Data"},{"name":"y_0","output_desc":[{"L1_addr_offset":0,"L1_fusion_type":-1,"L1_workspace_size":-1,"addr_type":0,"data_type":"float32","dtype":"float32","format":"ND","name":"y_0","ori_format":"NCHW","ori_shape":[3],"param_type":"required","range":[[3,3]],"shape":[3],"slice_offset":[],"split_index":0,"total_shape":[],"valid":true,"valid_shape":[]}],"type":"Data"},{"build_type":"accurately_build","dynamic_compile_static":false,"func_name":"mul","input_desc":[{"L1_addr_offset":0,"L1_fusion_type":-1,"L1_workspace_size":-1,"addr_type":0,"data_type":"float32","dtype":"float32","format":"ND","name":"x_0","ori_format":"NCHW","ori_shape":[3],"param_type":"required","range":[[3,3]],"shape":[3],"slice_offset":[],"split_index":0,"total_shape":[],"valid":true,"valid_shape":[]},{"L1_addr_offset":0,"L1_fusion_type":-1,"L1_workspace_size":-1,"addr_type":0,"data_type":"float32","dtype":"float32","format":"ND","name":"y_0","ori_format":"NCHW","ori_shape":[3],"param_type":"required","range":[[3,3]],"shape":[3],"slice_offset":[],"split_index":0,"total_shape":[],"valid":true,"valid_shape":[]}],"int64mode":false,"max_kernel_id":10,"miss_support_info":"","module_name":"impl.mul","name":"Default/Mul-op0","op_name":"mul_1256030608483155855_0","ori_name":["Default/Mul-op0"],"output_data_desc":[{"L1_addr_offset":0,"L1_fusion_type":-1,"L1_workspace_size":-1,"addr_type":0,"data_type":"float32","dtype":"float32","format":"ND","ori_format":"NCHW","ori_shape":[3],"param_type":"required","range":[[3,3]],"shape":[3],"slice_offset":[],"split_index":0,"total_shape":[],"valid":true,"valid_shape":[]}],"output_desc":[{"L1_addr_offset":0,"L1_fusion_type":-1,"L1_workspace_size":-1,"addr_type":0,"data_type":"float32","dtype":"float32","format":"ND","name":"output","ori_format":"NCHW","ori_shape":[3],"param_type":"required","range":[[3,3]],"shape":[3],"slice_offset":[],"split_index":0,"total_shape":[],"valid":true,"valid_shape":[]}],"pattern":"ElemWise","py_module_path":"/usr/local/Ascend/opp/op_impl/built-in/ai_core/tbe","type":"Mul","unknown_shape":false}],"scope_id":-1},"job_id":2,"job_type":"Compile","source_id":0}[ERROR] KERNEL(58768,ffffb6d865c0,python):2022-04-26-14:11:00.795.010 [mindspore/ccsrc/backend/kernel_compiler/tbe/tbe_kernel_compile.cc:143] PrintInfo] Job id:2, name :mul_1256030608483155855_0, message:2022-04-26 14:11:00.793943: Error message:Traceback (most recent call last):  File "/opt/miniconda3/envs/vgg_train4/lib/python3.9/site-packages/mindspore/_extends/parallel_compile/tbe_compiler/tbe_job_manager.py", line 124, in job_handler    res = func(job)  File "/opt/miniconda3/envs/vgg_train4/lib/python3.9/site-packages/mindspore/_extends/parallel_compile/tbe_compiler/tbe_job_manager.py", line 193, in compile_handler    return self.single_op_build(job)  File "/opt/miniconda3/envs/vgg_train4/lib/python3.9/site-packages/mindspore/_extends/parallel_compile/tbe_compiler/tbe_job_manager.py", line 205, in single_op_build    res = build_single_pre_op(job)  File "/opt/miniconda3/envs/vgg_train4/lib/python3.9/site-packages/mindspore/_extends/parallel_compile/tbe_compiler/tbe_adapter.py", line 484, in build_single_pre_op    dispatch_single_op_compile_task(job.source_id, job.id, l1_size, op_module_name, op_name, op_type, op_func_name,  File "/opt/miniconda3/envs/vgg_train4/lib/python3.9/site-packages/te_fusion/compile_task_manager.py", line 414, in dispatch_single_op_compile_task    inputs, outputs, attrs, options = op_argsTypeError: cannot unpack non-iterable bool object[ERROR] KERNEL(58768,ffffb6d865c0,python):2022-04-26-14:11:00.795.081 [mindspore/ccsrc/backend/kernel_compiler/tbe/tbe_kernel_compile.cc:143] PrintInfo] Job id:2, name :mul_1256030608483155855_0, message:2022-04-26 14:11:00.794002: Exception message:cannot unpack non-iterable bool object[CRITICAL] KERNEL(58768,ffffb6d865c0,python):2022-04-26-14:11:00.795.129 [mindspore/ccsrc/backend/kernel_compiler/tbe/tbe_kernel_compile.cc:288] PrintCompileResult] mul_1256030608483155855_0 Compile running failed.MindSpore running check failed.mindspore/ccsrc/backend/kernel_compiler/tbe/tbe_kernel_compile.cc:288 PrintCompileResult] mul_1256030608483155855_0 Compile running failed.