Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-09-2023, 02:37 AM
|
#1
|
Member
Registered: Jul 2019
Location: China
Distribution: UnionTech OS Desktop Home (64-bit)
Posts: 228
Rep:
|
The system gets stuck when a specific USB device is connected.
I have a USB 2.0 Kingston device. If it is connected to my PC, when I start UnionTech OS, the OS will get stuck for about one minute after the startup, and whenever I connect another USB storage device, the OS will get stuck again for about one minute. The problem only arises on UnionTech OS and never arises on Windows 10 and Linux Mint installed on the same PC. The problem is caused only by the said device but not by any other USB device. I have reformatted the USB device, but the problem persists. I checked the device with "fsck", which found no problems. See the output below:
Code:
Matthew_Wai@My-PC:~$ sudo parted /dev/sdd 'print'
[sudo] password for Matthew_Wai:
Verification successful
Model: Kingston DataTraveler 2.0 (scsi)
Disk /dev/sdd: 7747MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 32.3kB 7747MB 7747MB primary fat32
Matthew_Wai@My-PC:~$ sudo umount /dev/sdd1
Matthew_Wai@My-PC:~$ sudo fsck /dev/sdd1
fsck from util-linux 2.33.1
fsck.fat 4.1+git (2017-01-24)
/dev/sdd1: 1 files, 1/1887560 clusters
Matthew_Wai@My-PC:~$
How can I find what is wrong with the USB device?
|
|
|
03-09-2023, 02:50 AM
|
#2
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,441
|
I don't know this UnionTech OS, but I would definitely check logs like dmesg, kernel log and similar.
|
|
|
03-09-2023, 11:46 PM
|
#3
|
Member
Registered: Jul 2019
Location: China
Distribution: UnionTech OS Desktop Home (64-bit)
Posts: 228
Original Poster
Rep:
|
Quote:
Originally Posted by pan64
kernel log
|
I inserted a (problem-free) Kingston USB 3.0 device and the problematic Kingston USB 2.0 device and then looked at the kernel log, in which I found nothing wrong with both devices. See below:
Code:
11:51:31 User:My-PC Process:kernel Info:[ 1327.205506] sd 6:0:0:0: [sdd] Attached SCSI removable disk
11:51:31 User:My-PC Process:kernel Info:[ 1327.170723] sdd: sdd1
11:51:31 User:My-PC Process:kernel Info:[ 1327.154494] sd 6:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
11:51:31 User:My-PC Process:kernel Info:[ 1327.154289] sd 6:0:0:0: [sdd] Mode Sense: 45 00 00 00
11:51:31 User:My-PC Process:kernel Info:[ 1327.154287] sd 6:0:0:0: [sdd] Write Protect is off
11:51:31 User:My-PC Process:kernel Info:[ 1327.154086] sd 6:0:0:0: [sdd] 15131636 512-byte logical blocks: (7.75 GB/7.21 GiB)
11:51:31 User:My-PC Process:kernel Info:[ 1327.153812] sd 6:0:0:0: Attached scsi generic sg4 type 0
11:51:31 User:My-PC Process:kernel Info:[ 1327.153421] scsi 6:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 4
11:51:30 User:My-PC Process:kernel Info:[ 1326.111472] scsi host6: usb-storage 3-2:1.0
11:51:30 User:My-PC Process:kernel Info:[ 1326.110255] usb-storage 3-2:1.0: USB Mass Storage device detected
11:51:30 User:My-PC Process:kernel Info:[ 1326.107992] usb 3-2: SerialNumber: C86000886357FD716A1F23EA
11:51:30 User:My-PC Process:kernel Info:[ 1326.107989] usb 3-2: Manufacturer: Kingston
11:51:30 User:My-PC Process:kernel Info:[ 1326.107986] usb 3-2: Product: DataTraveler 2.0
11:51:30 User:My-PC Process:kernel Info:[ 1326.107983] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
11:51:30 User:My-PC Process:kernel Info:[ 1326.107977] usb 3-2: New USB device found, idVendor=0951, idProduct=1665, bcdDevice= 1.00
11:51:30 User:My-PC Process:kernel Info:[ 1325.948530] usb 3-2: new high-speed USB device number 9 using xhci_hcd
11:49:32 User:My-PC Process:kernel Info:[ 1207.508470] sd 4:0:0:0: [sdb] Attached SCSI removable disk
11:49:32 User:My-PC Process:kernel Info:[ 1207.494248] sdb: sdb1 sdb2
11:49:31 User:My-PC Process:kernel Info:[ 1207.221811] sd 4:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
11:49:31 User:My-PC Process:kernel Info:[ 1207.221595] sd 4:0:0:0: [sdb] Mode Sense: 45 00 00 00
11:49:31 User:My-PC Process:kernel Info:[ 1207.221590] sd 4:0:0:0: [sdb] Write Protect is off
11:49:31 User:My-PC Process:kernel Info:[ 1207.221359] sd 4:0:0:0: [sdb] 60555264 512-byte logical blocks: (31.0 GB/28.9 GiB)
11:49:31 User:My-PC Process:kernel Info:[ 1207.220634] sd 4:0:0:0: Attached scsi generic sg2 type 0
11:49:31 User:My-PC Process:kernel Info:[ 1207.220161] scsi 4:0:0:0: Direct-Access Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6
11:49:30 User:My-PC Process:kernel Info:[ 1206.189804] scsi host4: usb-storage 3-6:1.0
11:49:30 User:My-PC Process:kernel Info:[ 1206.189585] usb-storage 3-6:1.0: USB Mass Storage device detected
11:49:30 User:My-PC Process:kernel Info:[ 1206.188501] usb 3-6: SerialNumber: 60A44C3FB03BB111498F012E
11:49:30 User:My-PC Process:kernel Info:[ 1206.188498] usb 3-6: Manufacturer: Kingston
11:49:30 User:My-PC Process:kernel Info:[ 1206.188495] usb 3-6: Product: DataTraveler 3.0
11:49:30 User:My-PC Process:kernel Info:[ 1206.188492] usb 3-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
11:49:30 User:My-PC Process:kernel Info:[ 1206.188486] usb 3-6: New USB device found, idVendor=0951, idProduct=1666, bcdDevice= 1.10
11:49:30 User:My-PC Process:kernel Info:[ 1206.039448] usb 3-6: new high-speed USB device number 8 using xhci_hcd
Quote:
Originally Posted by pan64
I don't know this UnionTech OS
|
This is a Chinese distribution based on Debian.
|
|
|
03-10-2023, 12:23 AM
|
#4
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,441
|
you need to check what's happened during that 1 min, when the system was stuck.
|
|
|
All times are GMT -5. The time now is 10:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|