Toybrick
标题:
在RK3399的平板上面,使用TB-RK 1808S0出现异常
[打印本页]
作者:
AW_123
时间:
2020-4-8 20:59
标题:
在RK3399的平板上面,使用TB-RK 1808S0出现异常
你好!
我在RK3399的平板上面,使用TB-RK 1808S0,插入USB3.0的口进行NPU计算,运行10分钟后,发现算法运行异常,经过Log分析发现,TB-RK 1808S0 自行断开导致异常。
请帮忙分析一下,为什么运行一段时间后会自动断开TB-RK 1808S0?
log的关键字 “NPUTransfer: usb write failed: ret = -4: LIBUSB_ERROR_NO_DEVICE”
发生问题的Log段如下:
04-17 18:00:34.258 18985 18985 I npu_transfer_pr: type=1400 audit(0.0:325): avc: denied { read } for scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=netlink_kobject_uevent_socket permissive=1
04-17 18:00:34.265 502 522 D EthernetNetworkFactory: interfaceRemoved: usb0
04-17 18:00:34.293 502 624 I netstats_mobile_sample: [0,0,0,0,0,0,0,0,0,0,0,0,1586349579192]
04-17 18:00:34.293 502 624 I netstats_wifi_sample: [92323615,204221,161675,1772,92257220,202794,155479,1302,92249676,202771,117435,1078,1586349579192]
04-17 18:00:27.699 502 19020 I ActivityManager: START u0 {act=android.intent.action.VIEW flg=0x10000000 cmp=com.aiwinn.smartgatetemp/.ui.view.WelcomeActivity} from uid 10045
04-17 18:00:34.297 502 612 D VoldConnector: RCV <- {651 public:8,0 5}
04-17 18:00:34.299 736 736 D StorageNotification: Notifying about public volume: VolumeInfo{public:8,0}:
04-17 18:00:34.299 736 736 D StorageNotification: type=PUBLIC diskId=disk:8,0 partGuid=null mountFlags=VISIBLE mountUserId=0
04-17 18:00:34.299 736 736 D StorageNotification: state=EJECTING
04-17 18:00:34.299 736 736 D StorageNotification: fsType=vfat fsUuid=2DE1-2BA6 fsLabel=
04-17 18:00:34.299 736 736 D StorageNotification: path=/storage/2DE1-2BA6 internalPath=/mnt/media_rw/2DE1-2BA6
04-17 18:00:34.301 502 611 D StorageManagerService: Volume public:8,0 broadcasting ejecting to UserHandle{0}
04-17 18:00:34.308 18880 18880 D ExternalStorage: After updating volumes, found 2 active roots
04-17 18:00:34.308 1377 1377 D MediaProvider: deleting all entries for storage StorageVolume: Linux U 盘 (2DE1-2BA6)
04-17 18:00:34.309 502 502 I notification_enqueue: [1000,736,com.android.systemui,1397773634,public:8,0,-1,Notification(channel=DSK pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0x102 color=0xff607d8b category=progress vis=PUBLIC),1]
04-17 18:00:34.311 18985 19072 E NPUTransfer: usb write failed: ret = -4: LIBUSB_ERROR_NO_DEVICE
04-17 18:00:34.317 502 726 I UsbAlsaManager: USB Audio Device Removed: null
04-17 18:00:34.367 736 736 I zygote64: Deoptimizing void com.android.systemui.statusbar.NotificationContentView.setDark(boolean, boolean, long) due to JIT inline cache
04-17 18:00:34.513 19024 19119 E RKNNAPI : __pthread_recv_msg, recv(MsgHeader) fail, -9(ERROR_PIPE) < 108!
04-17 18:00:34.513 19024 19024 E RKNNAPI : rknn_outputs_get, p_ctx->queue_output.size() = 0!
04-17 18:00:34.618 502 612 D VoldConnector: RCV <- {651 public:8,0 0}
04-17 18:00:34.619 502 612 D VoldConnector: RCV <- {651 public:8,0 8}
04-17 18:00:34.619 502 612 D VoldConnector: RCV <- {659 public:8,0}
04-17 18:00:34.619 502 612 D VoldConnector: RCV <- {649 disk:8,0}
04-17 18:00:34.621 502 611 D StorageManagerService: Volume public:8,0 broadcasting unmounted to UserHandle{0}
04-17 18:00:34.623 502 611 D StorageManagerService: Volume public:8,0 broadcasting bad_removal to UserHandle{0}
04-17 18:00:34.624 736 736 D StorageNotification: Notifying about public volume: VolumeInfo{public:8,0}:
04-17 18:00:34.624 736 736 D StorageNotification: type=PUBLIC diskId=disk:8,0 partGuid=null mountFlags=VISIBLE mountUserId=0
04-17 18:00:34.624 736 736 D StorageNotification: state=UNMOUNTED
04-17 18:00:34.624 736 736 D StorageNotification: fsType=vfat fsUuid=2DE1-2BA6 fsLabel=
04-17 18:00:34.624 736 736 D StorageNotification: path=/storage/2DE1-2BA6 internalPath=/mnt/media_rw/2DE1-2BA6
04-17 18:00:34.625 736 736 D StorageNotification: Notifying about public volume: VolumeInfo{public:8,0}:
04-17 18:00:34.625 736 736 D StorageNotification: type=PUBLIC diskId=disk:8,0 partGuid=null mountFlags=VISIBLE mountUserId=0
04-17 18:00:34.625 736 736 D StorageNotification: state=BAD_REMOVAL
04-17 18:00:34.625 736 736 D StorageNotification: fsType=vfat fsUuid=2DE1-2BA6 fsLabel=
04-17 18:00:34.625 736 736 D StorageNotification: path=/storage/2DE1-2BA6 internalPath=/mnt/media_rw/2DE1-2BA6
04-17 18:00:34.626 502 502 I sysui_multi_action: [757,128,758,5,759,8,793,1824365,794,0,795,320,796,1397773634,797,public:8,0,806,com.android.systemui,857,DSK,858,2,947,0]
04-17 18:00:34.626 502 502 I notification_canceled: [-1|com.android.systemui|1397773634|public:8,0|1000,8,1824365,320,0,NULL]
04-17 18:00:34.627 18880 18880 D ExternalStorage: After updating volumes, found 2 active roots
04-17 18:00:34.639 1357 1357 D USBReceiver: onReceive: action = android.intent.action.MEDIA_UNMOUNTED
04-17 18:00:34.639 1357 1357 D USBReceiver: onReceive: U盘移除了
另外Android 平板的相关信息如下:
[ro.board.platform]: [rk3399]
[ro.boot.hardware]: [rk30board]
[ro.bootimage.build.fingerprint]: [rockchip/rk3399/rk3399:8.1.0/OPM8.181105.002/145513:userdebug/test-keys]
[ro.boottime.neuralnetworks_hal_service_armnn]: [3366123980]
[ro.build.description]: [rk3399-userdebug 8.1.0 OPM8.181105.002 145513 test-keys]
[ro.build.display.id]: [rk3399-userdebug 8.1.0 OPM8.181105.002 145513 test-keys]
[ro.build.fingerprint]: [rockchip/rk3399/rk3399:8.1.0/OPM8.181105.002/145513:userdebug/test-keys]
[ro.build.flavor]: [rk3399-userdebug]
[ro.build.product]: [rk3399]
[ro.hardware]: [rk30board]
[ro.product.board]: [rk30sdk]
[ro.product.device]: [rk3399]
[ro.product.name]: [rk3399]
[ro.rk.LowBatteryBrightness]: [false]
[ro.rk.MassStorage]: [false]
[ro.rk.bt_enable]: [true]
[ro.rk.def_brightness]: [200]
[ro.rk.flash_enable]: [true]
[ro.rk.hdmi_enable]: [true]
[ro.rk.homepage_base]: [
http://www.google.com/webhp?client=
{CID}&source=android-home]
[ro.rk.install_non_market_apps]: [false]
[ro.rk.screenoff_time]: [60000]
[ro.rk.screenshot_enable]: [true]
[ro.rk.systembar.tabletUI]: [false]
[ro.rk.systembar.voiceicon]: [true]
[ro.rksdk.version]: [RK30_ANDROID8.1.0-SDK-v1.00.00]
[ro.vendor.build.fingerprint]: [rockchip/rk3399/rk3399:8.1.0/OPM8.181105.002/162657:userdebug/test-keys]
[ro.vendor.product.device]: [rk3399]
[ro.vendor.product.model]: [rk3399]
[ro.vendor.product.name]: [rk3399]
[sys.ghwc.version]: [0.47-rk3399-MID]
[sys.rkadb.root]: [0]
[vold.decrypt]: [trigger_restart_framework]
作者:
AW_123
时间:
2020-4-8 21:03
是否兼容性问题,还是我这个平板的ROM,需要升级?
作者:
AW_123
时间:
2020-4-11 17:12
有人可以支持吗
作者:
jefferyzhang
时间:
2020-4-13 11:53
确认下计算棒版本号和你api版本是否匹配
作者:
AW_123
时间:
2020-4-22 14:51
版本是匹配的,目前发现把 RKNN_FLAG_ASYNC_MASK 变为 RKNN_FLAG_PRIOR_MEDIUM 就可以了,但是速度会慢1倍
欢迎光临 Toybrick (https://t.rock-chips.com/)
Powered by Discuz! X3.3