Someone had a usb stick (Toshiba 8GB) plugged into their tv watching something, pressed 'stop' on the remote and afterwards it would not work. Windows does not pick it up at all.
Suspect a hardware issue, any ideas?
It should be seen as /dev/sdb.
Insertion,
Removal,
I think this thing is buggered.
Suspect a hardware issue, any ideas?
It should be seen as /dev/sdb.
Code:
[xxxx@asterix ~]$ sudo fdisk -l
[sudo] password for xxxx:
Disk /dev/sda: 37.3 GiB, 40006680064 bytes, 78138047 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x738e8219
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 4096 78137343 78133248 37.3G 83 Linux
Code:
[xxxx@asterix ~]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 37.3G 0 disk
└─sda1 8:1 0 37.3G 0 part /
sr0 11:0 1 1024M 0 rom
Code:
[xxxx@asterix ~]$ lsusb
Bus 005 Device 007: ID 0c76:0005 JMTek, LLC. Transcend Flash disk
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 046d:c510 Logitech, Inc. Cordless Mouse
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Code:
[xxxx@asterix ~]$ ls -la /dev/disk/by-id
total 0
drwxr-xr-x 2 root root 120 Jan 3 10:49 .
drwxr-xr-x 5 root root 100 Jan 3 10:36 ..
lrwxrwxrwx 1 root root 9 Jan 3 10:36 ata-_NEC_DVD+_-RW_ND-6450A -> ../../sr0
lrwxrwxrwx 1 root root 9 Jan 3 10:37 ata-WDC_WD400UE-00HCT0_WD-WXE505242857 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 3 10:37 ata-WDC_WD400UE-00HCT0_WD-WXE505242857-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 Jan 3 10:49 usb-GENERIC_USB_Mass_Storage-0:0 -> ../../sdb
Code:
[xxxx@asterix ~]$ ls -la /dev/disk/by-path
total 0
drwxr-xr-x 2 root root 100 Jan 3 10:49 .
drwxr-xr-x 5 root root 100 Jan 3 10:36 ..
lrwxrwxrwx 1 root root 9 Jan 3 10:49 pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:0 -> ../../sdb
lrwxrwxrwx 1 root root 9 Jan 3 10:37 pci-0000:00:1f.1-ata-1 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 3 10:37 pci-0000:00:1f.1-ata-1-part1 -> ../../sda1
Code:
[xxxx@asterix ~]$ ls -l /dev/sd*
brw-rw---- 1 root disk 8, 0 Jan 3 10:37 /dev/sda
brw-rw---- 1 root disk 8, 1 Jan 3 10:37 /dev/sda1
brw-rw---- 1 root disk 8, 16 Jan 3 10:49 /dev/sdb
Insertion,
Code:
[xxxx@asterix ~]$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[1647.751840] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1 (usb)
KERNEL[1647.753641] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0 (usb)
KERNEL[1647.754377] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6 (scsi)
KERNEL[1647.754412] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/scsi_host/host6 (scsi_host)
UDEV [1647.756021] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1 (usb)
UDEV [1647.758066] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0 (usb)
UDEV [1647.758923] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6 (scsi)
UDEV [1647.759547] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/scsi_host/host6 (scsi_host)
KERNEL[1648.751297] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0 (scsi)
KERNEL[1648.751352] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0 (scsi)
KERNEL[1648.751377] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0/scsi_disk/6:0:0:0 (scsi_disk)
KERNEL[1648.751398] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0 (scsi_device)
UDEV [1648.752908] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0 (scsi)
KERNEL[1648.753210] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0/bsg/6:0:0:0 (bsg)
KERNEL[1648.753832] add /devices/virtual/bdi/8:16 (bdi)
KERNEL[1648.754061] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0/block/sdb (block)
KERNEL[1648.755315] change /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0/block/sdb (block)
UDEV [1648.755999] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0 (scsi)
UDEV [1648.757133] add /devices/virtual/bdi/8:16 (bdi)
UDEV [1648.758694] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0/scsi_disk/6:0:0:0 (scsi_disk)
UDEV [1648.762182] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0/bsg/6:0:0:0 (bsg)
UDEV [1648.762815] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0 (scsi_device)
UDEV [1648.766482] add /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0/block/sdb (block)
UDEV [1648.775495] change /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0/block/sdb (block)
Removal,
Code:
[xxxx@asterix ~]$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[1718.366934] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0/bsg/6:0:0:0 (bsg)
KERNEL[1718.366991] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0 (scsi_device)
KERNEL[1718.367014] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0/scsi_disk/6:0:0:0 (scsi_disk)
UDEV [1718.368974] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0/scsi_disk/6:0:0:0 (scsi_disk)
KERNEL[1718.369218] remove /devices/virtual/bdi/8:16 (bdi)
KERNEL[1718.369557] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0/block/sdb (block)
KERNEL[1718.369592] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0 (scsi)
KERNEL[1718.369616] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0 (scsi)
KERNEL[1718.369637] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/scsi_host/host6 (scsi_host)
KERNEL[1718.369659] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6 (scsi)
KERNEL[1718.369891] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0 (usb)
KERNEL[1718.370080] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1 (usb)
UDEV [1718.373031] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0 (scsi_device)
UDEV [1718.373824] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0/bsg/6:0:0:0 (bsg)
UDEV [1718.374820] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/scsi_host/host6 (scsi_host)
UDEV [1718.376001] remove /devices/virtual/bdi/8:16 (bdi)
UDEV [1718.376876] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0/block/sdb (block)
UDEV [1718.382511] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0 (scsi)
UDEV [1718.382760] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6/target6:0:0 (scsi)
UDEV [1718.383032] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host6 (scsi)
UDEV [1718.384042] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0 (usb)
UDEV [1718.384522] remove /devices/pci0000:00/0000:00:1d.7/usb5/5-1 (usb)
Code:
[root@asterix xxxx# testdisk /dev/sdb
TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <[email protected]>
http://www.cgsecurity.org
Unable to open file or device /dev/sdb: No medium found
Code:
[root@asterix xxxx]# dd if=/dev/sdb of=/home/xxxx/backup.img bs=512 count=1
dd: failed to open ‘/dev/sdb’: No medium found
I think this thing is buggered.
Last edited:
