beta-tester
Posts: 1372
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE

Ejecter error message

Sat Mar 14, 2020 11:16 am

hello,
i have the newest Raspbian version installed on my RPi4B (4GB) and upgraded it.
when i attach an external USB HDD that is completely empty zeroed with no msdos nor gpt partitiontable,
that device will not shown up to the Ejecter.
so i have no chance to eject that device properly.

when i disconnect that device, the Ejecter pop-up an error message
Drive was removed without ejecting
Please use menu to eject before removal
but how to do, when the drive never was shown up in the Ejecter?

even when i do the folowing commands on the terminal console, just before i disconnect the drive...

Code: Select all

sync
sudo umount -f /dev/sdb*
sudo eject /dev/sdb
...i still get that error message above.

(i know sync and unmount makes no sense in this context, because that HDD never was mounted so no need to do that but anyhow)

here the syslog messages while connecting the device and the last at disconnecting:

Code: Select all

kernel: [  300.396173] usb 2-1: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
kernel: [  300.428053] usb 2-1: New USB device found, idVendor=152d, idProduct=0551, bcdDevice= 1.00
kernel: [  300.428072] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
kernel: [  300.428086] usb 2-1: Product: USB to ATA/ATAPI Bridge
kernel: [  300.428098] usb 2-1: Manufacturer: JMicron
kernel: [  300.428111] usb 2-1: SerialNumber: ...
kernel: [  300.439018] usb-storage 2-1:1.0: USB Mass Storage device detected
kernel: [  300.442969] scsi host1: usb-storage 2-1:1.0
mtp-probe: checking bus 2, device 3: "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1"
mtp-probe: bus: 2, device: 3 was not an MTP device
mtp-probe: checking bus 2, device 3: "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1"
mtp-probe: bus: 2, device: 3 was not an MTP device
kernel: [  301.456821] scsi 1:0:0:0: Direct-Access     ...            PQ: 0 ANSI: 5
kernel: [  301.457956] sd 1:0:0:0: Attached scsi generic sg1 type 0
kernel: [  301.461481] sd 1:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
kernel: [  301.462207] sd 1:0:0:0: [sdb] Sector size 0 reported, assuming 512.
kernel: [  301.462261] sd 1:0:0:0: [sdb] 5860533168 512-byte logical blocks: (3.00 TB/2.73 TiB)
kernel: [  301.462275] sd 1:0:0:0: [sdb] 0-byte physical blocks
kernel: [  301.464100] sd 1:0:0:0: [sdb] Write Protect is off
kernel: [  301.464118] sd 1:0:0:0: [sdb] Mode Sense: 28 00 00 00
kernel: [  301.465086] sd 1:0:0:0: [sdb] No Caching mode page found
kernel: [  301.465102] sd 1:0:0:0: [sdb] Assuming drive cache: write through
kernel: [  301.475631] sd 1:0:0:0: [sdb] Sector size 0 reported, assuming 512.
kernel: [  301.507408] sd 1:0:0:0: [sdb] Sector size 0 reported, assuming 512.
kernel: [  301.509080] sd 1:0:0:0: [sdb] Attached SCSI disk

kernel: [  578.910996] usb 2-1: USB disconnect, device number 3
{ I only give negative feedback }
RPi B (256MB), B (512MB), B+, ZeroW; 2B; 3B, 3B+; 4B (4GB)

User avatar
Botspot
Posts: 1240
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

Re: Ejecter error message

Mon Apr 27, 2020 6:52 pm

The ejector is not perfect. Others have noticed the same problem too.

Let's just hope the right RPi engineer will see this and fix it.
Until then, you'll have to ignore the annoying message. :(
Want to make your own Raspbian image?
  • Hard way: Mess with confusing terminal commands.
  • Easy way: Let Pi-Power-Tools do it all for you!
Boot your image in a VM, Flash from the Internet at top speed, Mount (to drop files in), Edit partitions, Shrink/Expand, Repair, and more. Enjoy! :)
https://github.com/Botspot/Pi-Power-Tools

Return to “Troubleshooting”