Open chris6868 opened 1 month ago
Jul 13 09:37:13 onecloud casaos-local-storage[1171]: git commit: c78fcce41c1cbb1ec37fa14d71d39521ba3db3ca Jul 13 09:37:13 onecloud casaos-local-storage[1171]: build date: 2023-07-13T02:30:13Z Jul 13 09:37:13 onecloud chronyd[761]: Source 185.125.190.57 replaced with 2620:2d:4000:1::40 (ntp.ubuntu.com) Jul 13 09:37:13 onecloud casaos-gateway[791]: [GIN] 2024/07/13 - 09:37:13 | 200 | 1.479033ms | 127.0.0.1 | GET "/ping" Jul 13 09:37:13 onecloud casaos-local-storage[1171]: 2024-07-13T09:37:13.829Z#011info#011Checking serial disk mount...#011{"func": "service.(diskService).CheckSerialDiskMount", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/service/disk.go", "line": 535} Jul 13 09:37:13 onecloud casaos-local-storage[1171]: /usr/sbin/smartctl -a -n standby /dev/mmcblk1 -j Jul 13 09:37:14 onecloud casaos-local-storage[1171]: { Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "json_format_version": [ Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 1, Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 0 Jul 13 09:37:14 onecloud casaos-local-storage[1171]: ], Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "smartctl": { Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "version": [ Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 7, Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 2 Jul 13 09:37:14 onecloud casaos-local-storage[1171]: ], Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "svn_revision": "5155", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "platform_info": "armv7l-linux-6.8.11-edge-meson", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "build_info": "(local build)", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "argv": [ Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "smartctl", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "-a", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "-n", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "standby", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "/dev/mmcblk1", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "-j" Jul 13 09:37:14 onecloud casaos-local-storage[1171]: ], Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "messages": [ Jul 13 09:37:14 onecloud casaos-local-storage[1171]: { Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "string": "/dev/mmcblk1: Unable to detect device type", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "severity": "error" Jul 13 09:37:14 onecloud casaos-local-storage[1171]: } Jul 13 09:37:14 onecloud casaos-local-storage[1171]: ], Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "exit_status": 1 Jul 13 09:37:14 onecloud casaos-local-storage[1171]: } Jul 13 09:37:14 onecloud casaos-local-storage[1171]: } Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 2024-07-13T09:37:14.019Z#011error#011failed to exec shell - smartctl exec error#011{"func": "service.(diskService).SmartCTL", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/service/disk.go", "line": 149} Jul 13 09:37:14 onecloud casaos-local-storage[1171]: /usr/sbin/smartctl -a -n standby /dev/zram0 -j Jul 13 09:37:14 onecloud casaos-message-bus[1033]: {"time":"2024-07-13T09:37:14.038132063Z","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:36515","method":"GET","uri":"/v2/message_bus/event/local-storage","user_agent":"","status":400,"error":"","latency":2326883,"latency_human":"2.326883ms","bytes_in":0,"bytes_out":36} Jul 13 09:37:14 onecloud casaos-user-service[1120]: 2024-07-13T09:37:14.040Z#011error#011connect websocket err7#011{"error": "websocket.Dial ws://127.0.0.1:36515/v2/message_bus/event/local-storage: bad status", "func": "route.EventListen", "file": "/home/runner/work/CasaOS-UserService/CasaOS-UserService/route/event_listen.go", "line": 32} Jul 13 09:37:14 onecloud casaos-local-storage[1171]: { Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "json_format_version": [ Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 1, Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 0 Jul 13 09:37:14 onecloud casaos-local-storage[1171]: ], Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "smartctl": { Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "version": [ Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 7, Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 2 Jul 13 09:37:14 onecloud casaos-local-storage[1171]: ], Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "svn_revision": "5155", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "platform_info": "armv7l-linux-6.8.11-edge-meson", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "build_info": "(local build)", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "argv": [ Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "smartctl", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "-a", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "-n", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "standby", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "/dev/zram0", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "-j" Jul 13 09:37:14 onecloud casaos-local-storage[1171]: ], Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "messages": [ Jul 13 09:37:14 onecloud casaos-local-storage[1171]: { Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "string": "/dev/zram0: Unable to detect device type", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "severity": "error" Jul 13 09:37:14 onecloud casaos-local-storage[1171]: } Jul 13 09:37:14 onecloud casaos-local-storage[1171]: ], Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "exit_status": 1 Jul 13 09:37:14 onecloud casaos-local-storage[1171]: } Jul 13 09:37:14 onecloud casaos-local-storage[1171]: } Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 2024-07-13T09:37:14.152Z#011error#011failed to exec shell - smartctl exec error#011{"func": "service.(diskService).SmartCTL", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/service/disk.go", "line": 149} Jul 13 09:37:14 onecloud casaos-local-storage[1171]: /usr/sbin/smartctl -a -n standby /dev/zram1 -j Jul 13 09:37:14 onecloud casaos-local-storage[1171]: { Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "json_format_version": [ Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 1, Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 0 Jul 13 09:37:14 onecloud casaos-local-storage[1171]: ], Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "smartctl": { Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "version": [ Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 7, Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 2 Jul 13 09:37:14 onecloud casaos-local-storage[1171]: ], Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "svn_revision": "5155", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "platform_info": "armv7l-linux-6.8.11-edge-meson", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "build_info": "(local build)", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "argv": [ Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "smartctl", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "-a", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "-n", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "standby", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "/dev/zram1", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "-j" Jul 13 09:37:14 onecloud casaos-local-storage[1171]: ], Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "messages": [ Jul 13 09:37:14 onecloud casaos-local-storage[1171]: { Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "string": "/dev/zram1: Unable to detect device type", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "severity": "error" Jul 13 09:37:14 onecloud casaos-local-storage[1171]: } Jul 13 09:37:14 onecloud casaos-local-storage[1171]: ], Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "exit_status": 1 Jul 13 09:37:14 onecloud casaos-local-storage[1171]: } Jul 13 09:37:14 onecloud casaos-local-storage[1171]: } Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 2024-07-13T09:37:14.273Z#011error#011failed to exec shell - smartctl exec error#011{"func": "service.(diskService).SmartCTL", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/service/disk.go", "line": 149} Jul 13 09:37:14 onecloud casaos-local-storage[1171]: /usr/sbin/smartctl -a -n standby /dev/zram2 -j Jul 13 09:37:14 onecloud casaos-gateway[791]: [GIN] 2024/07/13 - 09:37:14 | 404 | 1.894309ms | 192.168.88.65 | GET "/v2/app_management/web/appgrid" Jul 13 09:37:14 onecloud casaos-local-storage[1171]: { Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "json_format_version": [ Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 1, Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 0 Jul 13 09:37:14 onecloud casaos-local-storage[1171]: ], Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "smartctl": { Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "version": [ Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 7, Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 2 Jul 13 09:37:14 onecloud casaos-local-storage[1171]: ], Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "svn_revision": "5155", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "platform_info": "armv7l-linux-6.8.11-edge-meson", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "build_info": "(local build)", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "argv": [ Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "smartctl", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "-a", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "-n", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "standby", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "/dev/zram2", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "-j" Jul 13 09:37:14 onecloud casaos-local-storage[1171]: ], Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "messages": [ Jul 13 09:37:14 onecloud casaos-local-storage[1171]: { Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "string": "/dev/zram2: Unable to detect device type", Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "severity": "error" Jul 13 09:37:14 onecloud casaos-local-storage[1171]: } Jul 13 09:37:14 onecloud casaos-local-storage[1171]: ], Jul 13 09:37:14 onecloud casaos-local-storage[1171]: "exit_status": 1 Jul 13 09:37:14 onecloud casaos-local-storage[1171]: } Jul 13 09:37:14 onecloud casaos-local-storage[1171]: } Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 2024-07-13T09:37:14.401Z#011error#011failed to exec shell - smartctl exec error#011{"func": "service.(diskService).SmartCTL", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/service/disk.go", "line": 149} Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 2024-07-13T09:37:14.523Z#011error#011failed to enable S.M.A.R.T: smartctl 7.2 2020-12-30 r5155 [armv7l-linux-6.8.11-edge-meson] (local build) Jul 13 09:37:14 onecloud casaos-local-storage[1171]: Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org Jul 13 09:37:14 onecloud casaos-local-storage[1171]: /dev/mmcblk1: Unable to detect device type Jul 13 09:37:14 onecloud casaos-local-storage[1171]: Please specify device type with the -d option. Jul 13 09:37:14 onecloud casaos-local-storage[1171]: Use smartctl -h to get a usage summary Jul 13 09:37:14 onecloud casaos-local-storage[1171]: #011{"error": "exit status 1", "path": "/dev/mmcblk1", "func": "service.(diskService).CheckSerialDiskMount", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/service/disk.go", "line": 559} Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 2024-07-13T09:37:14.644Z#011error#011failed to enable S.M.A.R.T: smartctl 7.2 2020-12-30 r5155 [armv7l-linux-6.8.11-edge-meson] (local build) Jul 13 09:37:14 onecloud casaos-local-storage[1171]: Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org Jul 13 09:37:14 onecloud casaos-local-storage[1171]: /dev/zram0: Unable to detect device type Jul 13 09:37:14 onecloud casaos-local-storage[1171]: Please specify device type with the -d option. Jul 13 09:37:14 onecloud casaos-local-storage[1171]: Use smartctl -h to get a usage summary Jul 13 09:37:14 onecloud casaos-local-storage[1171]: #011{"error": "exit status 1", "path": "/dev/zram0", "func": "service.(diskService).CheckSerialDiskMount", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/service/disk.go", "line": 559} Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 2024-07-13T09:37:14.771Z#011error#011failed to enable S.M.A.R.T: smartctl 7.2 2020-12-30 r5155 [armv7l-linux-6.8.11-edge-meson] (local build) Jul 13 09:37:14 onecloud casaos-local-storage[1171]: Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org Jul 13 09:37:14 onecloud casaos-local-storage[1171]: /dev/zram1: Unable to detect device type Jul 13 09:37:14 onecloud casaos-local-storage[1171]: Please specify device type with the -d option. Jul 13 09:37:14 onecloud casaos-local-storage[1171]: Use smartctl -h to get a usage summary Jul 13 09:37:14 onecloud casaos-local-storage[1171]: #011{"error": "exit status 1", "path": "/dev/zram1", "func": "service.(diskService).CheckSerialDiskMount", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/service/disk.go", "line": 559} Jul 13 09:37:14 onecloud casaos-local-storage[1171]: 2024-07-13T09:37:14.895Z#011error#011failed to enable S.M.A.R.T: smartctl 7.2 2020-12-30 r5155 [armv7l-linux-6.8.11-edge-meson] (local build) Jul 13 09:37:14 onecloud casaos-local-storage[1171]: Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org Jul 13 09:37:14 onecloud casaos-local-storage[1171]: /dev/zram2: Unable to detect device type Jul 13 09:37:14 onecloud casaos-local-storage[1171]: Please specify device type with the -d option. Jul 13 09:37:14 onecloud casaos-local-storage[1171]: Use smartctl -h to get a usage summary Jul 13 09:37:14 onecloud casaos-local-storage[1171]: #011{"error": "exit status 1", "path": "/dev/zram2", "func": "service.(*diskService).CheckSerialDiskMount", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/service/disk.go", "line": 559} Jul 13 09:37:15 onecloud casaos-gateway[791]: [GIN] 2024/07/13 - 09:37:15 | 201 | 2.448865ms | 127.0.0.1 | POST "/v1/gateway/routes" Jul 13 09:37:15 onecloud casaos-message-bus[1033]: {"time":"2024-07-13T09:37:15.045131549Z","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:36515","method":"GET","uri":"/v2/message_bus/event/local-storage","user_agent":"","status":400,"error":"","latency":1589036,"latency_human":"1.589036ms","bytes_in":0,"bytes_out":36} Jul 13 09:37:15 onecloud casaos-user-service[1120]: 2024-07-13T09:37:15.046Z#011error#011connect websocket err8#011{"error": "websocket.Dial ws://127.0.0.1:36515/v2/message_bus/event/local-storage: bad status", "func": "route.EventListen", "file": "/home/runner/work/CasaOS-UserService/CasaOS-UserService/route/event_listen.go", "line": 32}
刷的Armbian-unofficial_24.5.0-trunk_Onecloud_jammy_edge_6.7.8_minimal.burn.img固件,两个usb插上设备都没有反应,不管是插u盘还是移动硬盘,或者短接usb线刷都毫无反应,执行 root@onecloud:~# lsusb Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 可以看到有两个usb2.0设备,cpu模式已经设置成performance