canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #04705
[Bug 2072637] Re: ubuntu_ltp_syscalls: ioctl_sg01 failed on jammy linux-mtk 5.15
issue could only be seen on this particular usb storage:
$ sudo sginfo -A /dev/sda
INQUIRY response (cmd: 0x12)
----------------------------
Device Type 0
Vendor: USB
Product: SanDisk 3.2Gen1
Revision level: 1.00
the test case intends to send 'TEST UNIT READY' command to see if the buffer from kernel to userspace is something uninitialized.
but under this specific usb storage, it always returns some structured data, for example:
0x55(U) 0x53(S) 0x42(B) 0x53(S) 0x21(!) 0x39(9) 0x1() 0x8)
0x55(U) 0x53(S) 0x42(B) 0x53(S) 0x22(") 0x39(9) 0x1() 0x8)
0x55(U) 0x53(S) 0x42(B) 0x53(S) 0x23(#) 0x39(9) 0x1() 0x8)
0x55(U) 0x53(S) 0x42(B) 0x53(S) 0x24($) 0x39(9) 0x1() 0x8)
0x55(U) 0x53(S) 0x42(B) 0x53(S) 0x25(%) 0x39(9) 0x1() 0x8)
0x55(U) 0x53(S) 0x42(B) 0x53(S) 0x26(&) 0x39(9) 0x1() 0x8)
0x55(U) 0x53(S) 0x42(B) 0x53(S) 0x27(') 0x39(9) 0x1() 0x8)
0x55(U) 0x53(S) 0x42(B) 0x53(S) 0x28(() 0x39(9) 0x1() 0x8)
0x55(U) 0x53(S) 0x42(B) 0x53(S) 0x29()) 0x39(9) 0x1() 0x8)
0x55(U) 0x53(S) 0x42(B) 0x53(S) 0x2a(*) 0x39(9) 0x1() 0x8)
0x55(U) 0x53(S) 0x42(B) 0x53(S) 0x2b(+) 0x39(9) 0x1() 0x8)
...
scsi command ref:
https://www.seagate.com/files/staticfiles/support/docs/manual/Interface%20manuals/100293068j.pdf
--
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2072637
Title:
ubuntu_ltp_syscalls: ioctl_sg01 failed on jammy linux-mtk 5.15
Status in ubuntu-kernel-tests:
New
Bug description:
Issue found with jammy linux-mtk 5.15.0-1032.37 in sru-d2024.05.27
Instance: mtk-g700
did not see the same issue on the other models: mtk-g1200, mtk-g510,
mtk-g350
tst_test.c:1733: TINFO: LTP version: 20240524
tst_test.c:1617: TINFO: Timeout per run is 1h 00m 30s
ioctl_sg01.c:81: TCONF: Could not find any usable SCSI device
Summary:
passed 0
failed 0
broken 0
skipped 1
warnings 0
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2072637/+subscriptions
References