[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-12-20 Thread 陈伟琪
This bug still "work" for my USB 3.0 devices (storage/hard disk) with
USB 3.0 port.

$ uname -a
Linux B85I-Ubuntu 4.2.0-19-generic #23-Ubuntu SMP Wed Nov 11 11:39:30 UTC 2015 
x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/issue
Ubuntu 15.10 \n \l

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn > lspci-vnvn.usbstorage_usb3.0.log

  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn > lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb > lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb > lsusb3.0storage.log

  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of "Teclast 
CoolFlash USB3.0" )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 014: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-05-25 Thread 陈伟琪
It's very odd that other USB 3.0 device does not have this problem. My
roommate USB 3.0 hard disk works well on my computer.

But why My USB 3.0 flash storage and USB 3.0 hard disk cause this issue.
troller
Is this issue only happen with some specific  hardware : specific USB 3.0 
controller chip or USB 3.0 device that suppots USB Attached SCSI Protocol(UASP)

Because My Hard disk is ASMedia 2105 chip.

But Why My USB 3.0 flash occurs this problem too, I have no ieda...

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log

  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log

  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-05-08 Thread 陈伟琪
Now I do-release-upgrade to Ubuntu 14.10 ang do again :
This bug occur on Ubuntu 15.04.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log

  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log

  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 014: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  (You can see I did 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-05-08 Thread Christopher M. Penalver
** Tags added: vivid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log

  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log

  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 014: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  (You can see I did a mistake, I udisks --detach /dev/sdc ... I hopt that not 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-04-14 Thread 陈伟琪
I clone git:
git clone git://kernel.ubuntu.com/ubuntu/ubuntu-trusty.git
and I build my kernel :

git checkout -b mybisect remote/master
and 
git reset --hard 8bb495e3f0240
(I build before ,so i have to reset --hard and run git git clean -f -d )

commit 8bb495e3f02401ee6f76d1b1d77f3ac9f079e376
Author: Linus Torvalds torva...@linux-foundation.org
Date:   Sun Jun 30 15:13:29 2013 -0700

Linux 3.10

and following https://wiki.ubuntu.com/KernelTeam/GitKernelBuild build my
kernel

chen@chen-Server:~/Files/kernel/ubuntu-trusty$ ls ../
linux-firmware-image_3.10.0-custom-1_amd64.deb
linux-headers-3.10.0-custom_3.10.0-custom-1_amd64.deb
linux-image-3.10.0-custom_3.10.0-custom-1_amd64.deb
linux-libc-dev_3.10.0-custom-1_amd64.deb
old
ubuntu-trusty

And This bug still here.
I ran uname -a
Linux chen-Server 3.10.0-custom #1 SMP Tue Apr 14 21:46:54 CST 2015 x86_64 
x86_64 x86_64 GNU/Linux
Look, I boot the right kernel.
I must missing something...

I keep looking into it, by booting the live-cd ubuntu, another ways...


** Changed in: linux (Ubuntu)
   Status: Incomplete = Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log

  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log

  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-04-14 Thread 陈伟琪
I boot into ubuntu 14.04 LTS live-cd ,and I reproduced this issue successfully.
I am sorry, I probably confuse that the usb 3.0 work normally with ubuntu 
before, but  actually , with windows.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log

  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log

  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 014: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-04-09 Thread Christopher M. Penalver
陈伟琪, the next step is to fully commit bisect from kernel  3.13.0-24 to
3.13.0-48 in order to identify the last good kernel commit, followed
immediately by the first bad one. This will allow for a more expedited
analysis of the root cause of your issue. Could you please do this
following https://wiki.ubuntu.com/Kernel/KernelBisection ?

Please note, finding adjacent kernel versions is not fully commit
bisecting.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

** Tags added: needs-bisect regression-update

** Changed in: linux (Ubuntu)
   Status: Confirmed = Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log

  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log

  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-04-09 Thread 陈伟琪
As a supplement, I have no idea about the behavior of this issue on other 
ubuntu release.
Because I have not installed other version of ubuntu into my PC.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log

  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log

  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 014: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-04-09 Thread 陈伟琪
Yes, this earlier kernel (that this issue not occur)  is belong to 14.04
release.

** Changed in: linux (Ubuntu)
   Status: Incomplete = Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log

  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log

  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 014: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 001: 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-04-08 Thread 陈伟琪
Yes, Your are right!

This problem not occur in an earlier kernel (I only have ubuntu distribution ).
But I don't remember which version that the problem not occur.

Because I had not use my USB 3.0 device for a long time ...

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log

  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log

  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 014: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-04-08 Thread Christopher M. Penalver
陈伟琪, did this problem not occur in either an earlier kernel, or Ubuntu
release?

** Tags removed: kernel-bug-exists-upstream-4.0.0-rc7-generic
** Tags added: kernel-bug-exists-upstream-4.0-rc7

** Changed in: linux (Ubuntu)
   Status: Confirmed = Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log

  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log

  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 014: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-04-08 Thread 陈伟琪
By the way, What I referring is my USB 3.0 Flash storage, not my USB 3.0 Hard 
Disk.
That HD I just bought.

I hope I clearly expressed.
OK.

** Changed in: linux (Ubuntu)
   Status: Incomplete = Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log

  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log

  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 014: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-04-08 Thread Christopher M. Penalver
陈伟琪, just to clarify, which release was this earlier kernel regarding,
14.04?

** Changed in: linux (Ubuntu)
   Status: Confirmed = Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log

  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log

  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 014: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 001: ID 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-04-07 Thread 陈伟琪
apport information

** Tags added: apport-collected

** Description changed:

  I have an USB 3.0 Hard Disk and  an USB 3.0 Flash storage.
  And I have an 4GB micro sd with USB 2.0 sd card. But I do not have 2.0 USB 
storage or 2.0 usb hard disk.
  
  OK, let me describe this issue:
  
  (1) I plug in my USB 3.0 flash storage to my pc's USB 3.0 port.
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash
  
  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash
  
  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log
  
  
  
  The behavior of my USB 3.0 Hard disk is same.
  
  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜
  
  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜
  
  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log
  
  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log
  
  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log
  
  #It's so strange that lsusb show my usb storage Kingston Technology Company 
Inc., But
  #my usb storage is Teclast CoolFlash USB3.0. OK, that may not be important.
  
  
  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):
  
  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  
  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 014: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  (You can see I did a mistake, I 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-04-07 Thread 陈伟琪
Please see here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1401980

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have an USB 3.0 Hard Disk and  an USB 3.0 Flash storage.
  And I have an 4GB micro sd with USB 2.0 sd card. But I do not have 2.0 USB 
storage or 2.0 usb hard disk.

  OK, let me describe this issue:

  (1) I plug in my USB 3.0 flash storage to my pc's USB 3.0 port.
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log

  
  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log

  #It's so strange that lsusb show my usb storage Kingston Technology Company 
Inc., But
  #my usb storage is Teclast CoolFlash USB3.0. OK, that may not be important.

  
  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 014: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-04-07 Thread Christopher M. Penalver
陈伟琪, thank you for reporting this and helping make Ubuntu better. Could
you please test the latest upstream kernel available from the very top
line at the top of the page (the release names are irrelevant for
testing, and please do not test the daily folder) following
https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional
upstream developers to examine the issue.

If the test did not allow you to test to the issue (ex. you couldn't boot into 
the OS) please make a comment in your report about this, and continue to test 
the next most recent kernel version until you can test to the issue. Once 
you've tested the upstream kernel, please comment on which kernel version 
specifically you tested. If this bug is fixed in the mainline kernel, please 
add the following tags by clicking on the yellow circle with a black pencil 
icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-3.XY-rcZ

Where XY and Z are numbers corresponding to the kernel version.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-3.XY-rcZ

Once testing of the upstream kernel is complete, please mark this bug's
Status as Confirmed. Please let us know your results.

Thank you for your understanding.

** Description changed:

- I have an USB 3.0 Hard Disk and  an USB 3.0 Flash storage.
- And I have an 4GB micro sd with USB 2.0 sd card. But I do not have 2.0 USB 
storage or 2.0 usb hard disk.
- 
- OK, let me describe this issue:
- 
- (1) I plug in my USB 3.0 flash storage to my pc's USB 3.0 port.
- (2) My computer detect my storage soon and automatically mount it.
+ I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash
  
- (3) I ummount it and safely remove it, and run df -h, you will see it:
+ I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
- [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash
  
  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log
- 
  
  
  The behavior of my USB 3.0 Hard disk is same.
  
  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜
  
  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜
  
  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log
  
  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log
  
  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log
- 
- #It's so strange that lsusb show my usb storage Kingston Technology Company 
Inc., But
- #my usb storage is Teclast CoolFlash USB3.0. OK, that may not be important.
- 
  
  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):
  
  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  
  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd4

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-04-07 Thread 陈伟琪
Bad news.

I installed 3.14.1-031401-generic, which does not fix this issue.

http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.14.1-trusty/

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log

  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log

  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 014: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 001: ID 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-04-07 Thread 陈伟琪
chen@chen-Server:~/bug$ ls *.deb
linux-headers-3.14.1-031401_3.14.1-031401.201404141220_all.deb
linux-headers-3.14.1-031401-generic_3.14.1-031401.201404141220_amd64.deb
linux-image-3.14.1-031401-generic_3.14.1-031401.201404141220_amd64.deb

** Tags added: kernel-bug-exists-upstream kernel-bug-exists-
upstream-3.14.1-trusty

** Changed in: linux (Ubuntu)
   Status: Incomplete = Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log

  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log

  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 014: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-04-07 Thread 陈伟琪
** Also affects: udisks (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Confirmed
Status in udisks package in Ubuntu:
  New

Bug description:
  I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log

  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log

  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 014: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-04-07 Thread Christopher M. Penalver
陈伟琪, the latest mainline kernel is 4.0-rc7 (not 3.x).

** Changed in: linux (Ubuntu)
   Status: Confirmed = Incomplete

** No longer affects: udisks (Ubuntu)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log

  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log

  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 014: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-04-07 Thread 陈伟琪
Bad news again:

I installed 4.0.0-04rc7-generic, which does not fix this issue.

** Tags removed: kernel-bug-exists-upstream-3.14.1-trusty
** Tags added: kernel-bug-exists-upstream-4.0.0-rc7-generic

** Changed in: linux (Ubuntu)
   Status: Incomplete = Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log

  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log

  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 014: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 

[Kernel-packages] [Bug 1441104] Re: USB 3.0 storage safely remove issue: re-detect the device(that I have removed already) soon

2015-04-07 Thread 陈伟琪
Ooo.
I thought I may need to install the mainline kernel of the same series of 
ubuntu.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1441104

Title:
  USB 3.0 storage safely remove issue: re-detect the device(that I have
  removed already) soon

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I have a USB 3.0 Hard Disk, a USB 3.0 Flash storage, and a 4GB micro SD with 
USB 2.0 SD card. When I unmount devices, they still show up when I execute the 
command. For example, when I plug in my USB 3.0 flash storage to my PC's USB 
3.0 port:
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1 30G   17G   13G   57% /media/chen/MyFlash

  (4)Oops, The issue is an nightmare!!   :( Please see the log )
  $ sudo lspci -vnvn  lspci-vnvn.usbstorage_usb3.0.log

  
  The behavior of my USB 3.0 Hard disk is same.

  (1) I plug in my USB 3.0 Hard disk to my pc's USB 3.0 port( the same port ).
  (2) My computer detect my storage soon and automatically mount it.
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (3) I ummount it and safely remove it, and run df -h, you will see it:
  $ sudo umount /dev/sdc1
  [sudo] password for chen:
  ...
  $ sudo udisks --detach /dev/sdc
  $ df -h
  ...
  /dev/sdc1932G  205M  932G1% /media/chen/陈家胜

  (4) :( Please see the log:
  $ sudo lspci -vnvn  lspci-vnvn.usbharddisk_usb3.0.log

  
  (5)And I just realize lspci have no information usb storage, so:
  $ lsusb  lsusb3.0harddisk.log

  (6)I unplug my HD and plug in my storage.
  $ lsusb  lsusb3.0storage.log

  
=
  And Have a try that plug in my micro sd card with card reader to USB 3.0 
port( the same port ):

  (1) plug in my micro sd card , and :
  $ df -h
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius
  (2) lsusb:
  $ lsusb 
  ( because i plug in my USB Storage to another usb 3.0 port, so my sd card is 
/dev/sdd4 )
  ( Why i plug in my USB Storage is that i want get string of Teclast 
CoolFlash USB3.0 )
  ( from gnome-disks And I forgot unplug it...)
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  (3)And then unmount and safely remove my sd card and ... :
  chen@chen-Server:~/bug$ df -h
  文件系统 容量  已用  可用 已用% 挂载点
  ...
  /dev/sdd43.7G   38M  3.7G2% /media/chen/DiskGenius

  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 013: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 008: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash 
Card Reader
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  chen@chen-Server:~/bug$ sudo umount /dev/sdd4
  [sudo] password for chen: 
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdc
  chen@chen-Server:~/bug$ sudo udisks --detach /dev/sdd
  chen@chen-Server:~/bug$ lsusb
  Bus 002 Device 002: ID 8087:8000 Intel Corp. 
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8087:8008 Intel Corp. 
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 014: ID 13fe:5500 Kingston Technology Company Inc. 
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 003 Device 004: ID 8087:07dc Intel Corp. 
  Bus 003 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
  Bus 003 Device 002: ID 24ae:2000  
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  (You can see I