View: 6018|Reply: 5

Orange Pi AI Stick 2801 - can not open file:/dev/sg2

[Copy link]

1

threads

6

posts

31

credits

Novice

Rank: 1

credits
31
Published in 2019-2-20 13:26:20 | Show all floors |Read mode
I purchased both
'Orange Pi AI Stick 2801 Neural Network Computing Stick Artificial Intelligence' and
'Orange Pi AI Stick 2801 with PLAI Model Transformation Tools Neural Network Computing Stick Artificial Intelligence'.

'OrangePi AI Stick_X86 Demo executed according to User Manul (For Ubuntu 16.04)' but core dump.

# l /dev/sg*
crwxrwxrwx 1 root disk 21, 0  2月 20 12:16 /dev/sg0

There is no '/dev/sg1' and '/dev/sg2'.

# cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.5 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.5 LTS"
VERSION_ID="16.04"

# cat /proc/version
Linux version 4.4.0-142-generic (buildd@lgw01-amd64-033) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10) ) #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019

# lsusb -d05e3:0769
Bus 002 Device 008: ID 05e3:0769 Genesys Logic, Inc.

Journal when pointing to USB.
kernel: usb-storage 2-1:1.0: USB Mass Storage device detected
kernel: scsi host7: usb-storage 2-1:1.0
mtp-probe[7278]: checking bus 2, device 10: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-1"
mtp-probe[7278]: bus: 2, device: 10 was not an MTP device
kernel: scsi 7:0:0:0: Direct-Access     Generic  USB Flash Disk   SR13 PQ: 0 ANSI: 6
kernel: sd 7:0:0:0: Attached scsi generic sg0 type 0
kernel: sd 7:0:0:0: [sda] 2097152 512-byte logical blocks: (1.07 GB/1.00 GiB)
kernel: sd 7:0:0:0: [sda] Write Protect is off
kernel: sd 7:0:0:0: [sda] Mode Sense: 21 00 00 00
kernel: sd 7:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
kernel: scsi_io_completion: 2 callbacks suppressed
kernel: sd 7:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
kernel: sd 7:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
kernel: sd 7:0:0:0: [sda] tag#0 Add. Sense: Medium not present
kernel: sd 7:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
kernel: blk_update_request: 2 callbacks suppressed
kernel: blk_update_request: I/O error, dev sda, sector 0
kernel: buffer_io_error: 2 callbacks suppressed
kernel: Buffer I/O error on dev sda, logical block 0, async page read
kernel: sd 7:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
kernel: sd 7:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
kernel: sd 7:0:0:0: [sda] tag#0 Add. Sense: Medium not present
kernel: sd 7:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
kernel: blk_update_request: I/O error, dev sda, sector 0
kernel: Buffer I/O error on dev sda, logical block 0, async page read
kernel: sd 7:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
kernel: sd 7:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
kernel: sd 7:0:0:0: [sda] tag#0 Add. Sense: Medium not present
kernel: sd 7:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
kernel: blk_update_request: I/O error, dev sda, sector 0
kernel: Buffer I/O error on dev sda, logical block 0, async page read
kernel: ldm_validate_partition_table(): Disk read failed.
kernel: sd 7:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
kernel: sd 7:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
kernel: sd 7:0:0:0: [sda] tag#0 Add. Sense: Medium not present
kernel: sd 7:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
kernel: blk_update_request: I/O error, dev sda, sector 0
kernel: Buffer I/O error on dev sda, logical block 0, async page read
kernel: sd 7:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
kernel: sd 7:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
kernel: sd 7:0:0:0: [sda] tag#0 Add. Sense: Medium not present
kernel: sd 7:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
kernel: blk_update_request: I/O error, dev sda, sector 0


Where is ’PLAI Model Transformation Tools’ ?
Do I need to install a driver etc. before the procedure of 'User Manul' ?

1

threads

6

posts

31

credits

Novice

Rank: 1

credits
31
 Author| Published in 2019-2-20 14:45:37 | Show all floors
SDK_x86/GTISDK/data/Models/gti2801/gnet1/cnn/userinput.txt

I changed to /dev/sg0 and it worked.

During execution, the following log appears in Journal, is it such a thing?
kernel: sd 2:0:0:0: [sda] 2097152 512-byte logical blocks: (1.07 GB/1.00 GiB)
kernel: sda: detected capacity change from 0 to 1073741824
kernel: ldm_validate_partition_table(): Disk read failed.
kernel: Dev sda: unable to read RDB block 0
kernel:  sda: unable to read partition table
kernel: sda: detected capacity change from 1073741824 to 0
kernel: sd 2:0:0:0: [sda] 2097152 512-byte logical blocks: (1.07 GB/1.00 GiB)
kernel: sda: detected capacity change from 0 to 1073741824
kernel: ldm_validate_partition_table(): Disk read failed.
kernel: Dev sda: unable to read RDB block 0
kernel:  sda: unable to read partition table
kernel: sd 2:0:0:0: [sda] 2097152 512-byte logical blocks: (1.07 GB/1.00 GiB)
kernel: sda: detected capacity change from 0 to 1073741824
kernel: ldm_validate_partition_table(): Disk read failed.
kernel: Dev sda: unable to read RDB block 0


Where is ’PLAI Model Transformation Tools’ ?

1

threads

6

posts

31

credits

Novice

Rank: 1

credits
31
 Author| Published in 2019-2-22 10:33:31 | Show all floors
I thought that ’PLAI Model Transformation Tools’ was inside the Ai Stick. However, software had to be downloaded separately. About 11GB.

I will create a dedicated driver. Or Journal error will not disappear until 'Ai Stick' function driver corresponds to generic SCSI command...
I wish I could return the dummy MBR...

I tried it with 'Orange Pi 3 Memory 2 GB'.
In x86_64 and aarch64 version, it seems that the way of demonstration software display is slightly different ...

For your reference...
Gnet1:  FrameRate 10, CNN 27, FC 65
Gnet18: FrameRate 37, CNN 24, FC 1.4

x86_64 i7 8th generation: fps 30, cnn fps 60

Thank you.

1

threads

6

posts

31

credits

Novice

Rank: 1

credits
31
 Author| Published in 2019-2-28 17:04:14 | Show all floors
Adding udev's rule makes me happy a bit.

cat > /etc/udev/rules.d/99-AIStick.rules << "__EOF__"
SUBSYSTEMS=="scsi",ATTR{vendor}=="Generic ",ATTR{model}=="USB Flash Disk  ",ATTR{max_sectors}=="240",ATTR{max_sectors}="2048"
SUBSYSTEMS=="scsi",MODE="0666"
__EOF__

0

threads

1

posts

8

credits

Novice

Rank: 1

credits
8
Published in 2023-5-22 20:22:26 | Show all floors
One-Language.com is your trusted source for document translation Singapore. With our comprehensive translation services in Singapore, we cater to various industries and deliver high-quality translations with precision and efficiency. If you're in need of a reliable translator in Singapore, look no further. Explore more about our services and expertise on our website.        Singapore Translation Service

0

threads

3

posts

14

credits

Novice

Rank: 1

credits
14
Published in 2023-7-5 13:42:18 | Show all floors
168开奖app 因为红酒是带皮发酵的,而白酒不带皮发酵1688app 。一款不经过橡木桶熟成的白酒几乎不带什么单宁。用来描述单宁的词汇:紧致、干、紧实、耐嚼、生硬和粗糙等;反义词有柔和、顺滑、柔软、圆润、成熟和如天鹅绒般柔顺等。澳洲幸运5开奖直播 酒精的来源:酒精是在酒发酵过程中产生的。发酵的时候,酵母在缺氧环境下


You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list