Skip to content

Instantly share code, notes, and snippets.

@iggy
Created May 29, 2023 05:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iggy/9b6ab6686500807817c9403cf9c2846e to your computer and use it in GitHub Desktop.
Save iggy/9b6ab6686500807817c9403cf9c2846e to your computer and use it in GitHub Desktop.
visionfive2 nvme info
localhost:~# cat /proc/partitions
major minor #blocks name
179 0 31205376 mmcblk1
179 1 65536 mmcblk1p1
179 2 239616 mmcblk1p2
259 0 976762584 nvme0n1
259 1 15624192 nvme0n1p1
8 0 121307136 sda
8 1 121307120 sda1
localhost:~# mount /dev/nvme0n1p1 /mnt/
[ 276.993341] nvme nvme0: I/O 130 QID 1 timeout, completion polled
[ 277.006294] EXT4-fs (nvme0n1p1): mounted filesystem 208fee9c-cb70-4fce-acec-69da3400f9c2 with ordered data mode. Quota mode: none.
localhost:~# [ 279.938836] usb 1-1.3: new low-speed USB device number 3 using xhci_hcd
[ 280.029697] usb 1-1.3: New USB device found, idVendor=0c45, idProduct=7603, bcdDevice= 1.17
[ 280.038081] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 280.045414] usb 1-1.3: Product: USB Keyboard
[ 280.097917] hid: raw HID events driver (C) Jiri Kosina
[ 280.129453] usbcore: registered new interface driver usbhid
[ 280.135175] usbhid: USB HID core driver
[ 280.135524] input: USB Keyboard as /devices/platform/soc/2b000000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:0C45:7603.0001/input/input0
[ 280.205008] hid-generic 0003:0C45:7603.0001: input,hidraw0: USB HID v1.11 Keyboard [USB Keyboard] on usb-0000:01:00.0-1.3/input0
[ 280.250876] input: USB Keyboard Consumer Control as /devices/platform/soc/2b000000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:0C45:7603.0002/input/input1
[ 280.317378] input: USB Keyboard System Control as /devices/platform/soc/2b000000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:0C45:7603.0002/input/input2
[ 280.334005] input: USB Keyboard as /devices/platform/soc/2b000000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:0C45:7603.0002/input/input4
[ 280.349630] hid-generic 0003:0C45:7603.0002: input,hiddev96,hidraw1: USB HID v1.11 Keyboard [USB Keyboard] on usb-0000:01:00.0-1.3/input1
[ 282.755374] usb 1-1.4: new full-speed USB device number 4 using xhci_hcd
[ 282.902986] usb 1-1.4: New USB device found, idVendor=046d, idProduct=c24a, bcdDevice=77.02
[ 282.911371] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 282.918702] usb 1-1.4: Product: Gaming Mouse G600
[ 282.923427] usb 1-1.4: Manufacturer: Logitech
[ 282.927802] usb 1-1.4: SerialNumber: 43E9095F016C0017
[ 282.944874] input: Logitech Gaming Mouse G600 as /devices/platform/soc/2b000000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:046D:C24A.0003/input/input5
[ 282.961240] hid-generic 0003:046D:C24A.0003: input,hidraw2: USB HID v1.11 Mouse [Logitech Gaming Mouse G600] on usb-0000:01:00.0-1.4/input0
[ 282.985764] input: Logitech Gaming Mouse G600 Keyboard as /devices/platform/soc/2b000000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:046D:C24A.0004/input/input6
[ 283.053373] input: Logitech Gaming Mouse G600 as /devices/platform/soc/2b000000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:046D:C24A.0004/input/input7
[ 283.069826] hid-generic 0003:046D:C24A.0004: input,hiddev97,hidraw3: USB HID v1.11 Keyboard [Logitech Gaming Mouse G600] on usb-0000:01:00.0-1.4/input1
localhost:~# ls /mnt/
alpine-minirootfs-20230208-riscv64.tar.gz
bin
boot
dev
etc
home
lib
lost+found
media
mnt
opt
proc
root
run
sbin
srv
sys
tmp
usr
var
localhost:~# dmesg | grep -i nvme
[ 10.743766] nvme nvme0: pci function 0001:01:00.0
[ 10.748531] nvme 0001:01:00.0: enabling device (0000 -> 0002)
[ 10.788599] nvme nvme0: allocated 64 MiB host memory buffer.
[ 10.843008] nvme nvme0: 4/0/0 default/read/poll queues
[ 10.853998] nvme nvme0: Ignoring bogus Namespace Identifiers
[ 40.933860] nvme nvme0: I/O 128 QID 2 timeout, completion polled
[ 40.940178] nvme0n1: p1
[ 276.993341] nvme nvme0: I/O 130 QID 1 timeout, completion polled
[ 277.006294] EXT4-fs (nvme0n1p1): mounted filesystem 208fee9c-cb70-4fce-acec-69da3400f9c2 with ordered data mode. Quota mode: none.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment