Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

device bring up issue (v80-smi write-static-shell)

Đã đóng
#227 5 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

@quetric đang làm issue này rồi.

Từ ngày 28/9/2026.

  • #230 của @quetric — đã merge

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Lĩnh vực
cli, embedded-iot

Hướng nghiên cứu

Start by reproducing v80-smi write-static-shell --flash -d 04:00 and reviewing the vrtd.service journal output included in the issue. Trace the reset and rescan path through the reported shell build-ID failure; done means identifying the cause of the internal error and confirming that the device can be brought up successfully.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

On behalf of ZIFAN HE <[email protected]>

I installed SLASH@7a528701c3f17506e5c645399b8b57c82d39632f, but there is an issue with bringing up the device (v80-smi write-static-shell)

vast@c03
: 
~
$ lspci -d 10ee: -k 04:00.0 Processing accelerators: Xilinx Corporation Device 50b4 Subsystem: Xilinx Corporation Device 000e Kernel driver in use: ami Kernel modules: ami 04:00.1 Processing accelerators: Xilinx Corporation Device 50b5 Subsystem: Xilinx Corporation Device 000e Kernel driver in use: slash_qdma Kernel modules: slash, ami 04:00.2 Processing accelerators [1280]: Xilinx Corporation Device 50b6 Subsystem: Xilinx Corporation Device 000e Kernel driver in use: slash_ctl Kernel modules: slash, ami 
vast@c03
: 
~
$ v80-smi list Board 0000:04:00 OK (PF0: OK) (PF1: OK) (PF2: OK) (VRTD: OK) Shell: compute
vast@c03
: 
~
$ ls -l /dev/slash_* crw------- 1 vrtd vrtd 507, 1 Sep 25 16:50 
/dev/slash_ctl0
crw------- 1 vrtd vrtd 507, 0 Sep 25 16:26 
/dev/slash_hotplug
crw------- 1 vrtd vrtd 507, 2 Sep 25 16:50 
/dev/slash_qdma_ctl0
vast@c03
: 
~
$ groups vast adm cdrom sudo dip plugdev lxd vrtadmin
vast@c03
: 
~
$ v80-smi write-static-shell --flash -d 04:00 Resolving device address... Connecting to VRTD... Resolving service PDI path... Resolving VRTD device... Submitting service flash program... Opening AMI device Downloading PDI: 100% (25887408/25887408 bytes) Rescanning PCIe Failed SMI execution failed: Internal error in vrtd daemon or local libvrtd 
vast@c03
: 
~
$ journalctl -u vrtd.service | tail -17 Sep 25 16:50:19 c03 vrtd[2974]: Hotplug op=reset_sequence(4) bdf=0000:04:00 dev=0 uid=1000 conn_id=14 Sep 25 16:50:19 c03 vrtd[2974]: Reset sequence submitted dev=0 bdf=0000:04:00 uid=1000 conn_id=14 Sep 25 16:50:19 c03 vrtd[2974]: Device reset starting on worker thread Sep 25 16:50:19 c03 vrtd[2974]: reset_with_ami: AMI_IOC_DEVICE_BOOT(0000:04:00.0, partition=0) OK Sep 25 16:50:19 c03 vrtd[2974]: reset_with_ami: GPIO_ALLOW_SBR set on 0000:04:00.0 Sep 25 16:50:19 c03 vrtd[2974]: reset_with_ami: removed 0000:04:00.0 (ret=0, errno=0) Sep 25 16:50:19 c03 vrtd[2974]: reset_with_ami: removed 0000:04:00.1 (ret=0, errno=0) Sep 25 16:50:19 c03 vrtd[2974]: reset_with_ami: removed 0000:04:00.2 (ret=0, errno=0) Sep 25 16:50:19 c03 vrtd[2974]: reset_with_ami: toggling SBR for 0000:04:00.0 Sep 25 16:50:20 c03 vrtd[2974]: reset_with_ami: SBR toggle complete for 0000:04:00.0 Sep 25 16:50:28 c03 vrtd[2974]: reset_with_ami: rescan complete (attempt 1/5) Sep 25 16:50:38 c03 vrtd[2974]: reset_with_ami: device 0000:04:00.0 found after reset Sep 25 16:50:38 c03 vrtd[2974]: Discovered 1 device(s) matching /dev/slash_ctl* Sep 25 16:50:38 c03 vrtd[2974]: Stripping PF function .2 from kernel BDF 0000:04:00.2; device tracked as board 0000:04:00 Sep 25 16:50:38 c03 vrtd[2974]: Paired control device /dev/slash_ctl0 with QDMA device /dev/slash_qdma_ctl0 Sep 25 16:50:38 c03 vrtd[2974]: reset_with_ami: shell build-ID register at BAR4+0x20008 did not respond; cannot confirm the service shell is loaded Sep 25 16:50:38 c03 vrtd[2974]: Async device op opcode=13(DEVICE_HOTPLUG_OP) completed ret=6 uid=1000 conn_id=14
Ngôn ngữ chính
Tcl
Star
53
Fork
26
Merge trung bình
3 ngày 3 giờ
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Xilinx/SLASH

Tất cả issue của Xilinx/SLASH

Issue tương tự

Thêm issue về CLI

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.