LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 03-09-2023, 02:37 AM   #1
Matthew Wai
Member
 
Registered: Jul 2019
Location: China
Distribution: UnionTech OS Desktop Home (64-bit)
Posts: 228

Rep: Reputation: Disabled
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?
 
Old 03-09-2023, 02:50 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,441

Rep: Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765
I don't know this UnionTech OS, but I would definitely check logs like dmesg, kernel log and similar.
 
Old 03-09-2023, 11:46 PM   #3
Matthew Wai
Member
 
Registered: Jul 2019
Location: China
Distribution: UnionTech OS Desktop Home (64-bit)
Posts: 228

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
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 View Post
I don't know this UnionTech OS
This is a Chinese distribution based on Debian.
 
Old 03-10-2023, 12:23 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,441

Rep: Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765Reputation: 7765
you need to check what's happened during that 1 min, when the system was stuck.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian GNU/Linux with Linux 5.7.0- A BPO.2 amd64 gets to the grub menu, i select the Os as it loading it gets stuck and displays characters Bakar Linux - Newbie 2 01-26-2023 05:14 AM
failed to start light display manager blfs (system gets stuck) ahmed bedair Linux From Scratch 4 07-13-2019 07:57 AM
hard drive SATA with XFS file system connected using USB - mount failed - attempt to access beyond end of device bronek dzikus torres Linux - Hardware 1 02-18-2019 09:52 PM
How to know which usb port usb device is connected to? jbsp72 Linux - General 23 03-17-2014 09:44 AM
KDE gets stuck on system services lyscer Linux - General 1 02-28-2007 01:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration