Your message dated Fri, 23 Apr 2021 18:56:41 +0200
with message-id <[email protected]>
and subject line Re: Bug#647789: mount: System Crashed after hitting "Safely
Remove Drive" on external usb hard drive
has caused the Debian Bug report #647789,
regarding mount: System Crashed after hitting "Safely Remove Drive" on external
usb hard drive
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
647789: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647789
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mount
Version: 2.17.2-9
Severity: important
I have an external USB hard disk. This is the dmesg output when the drive is
attached to my notebook:
[ 1178.268720] reportbug[2649]: segfault at d74 ip b7853a80 sp bfcdbcc0 error 4
in ld-2.11.2.so[b7842000+1b000]
[ 1243.112109] usb 1-6: USB disconnect, address 4
[ 1560.933139] usb 1-6: new high speed USB device using ehci_hcd and address 5
[ 1561.065525] usb 1-6: New USB device found, idVendor=1058, idProduct=0740
[ 1561.065533] usb 1-6: New USB device strings: Mfr=1, Product=2,
SerialNumber=5
[ 1561.065539] usb 1-6: Product: My Passport 0740
[ 1561.065543] usb 1-6: Manufacturer: Western Digital
[ 1561.065548] usb 1-6: SerialNumber: 575839314137315534393038
[ 1561.065749] usb 1-6: configuration #1 chosen from 1 choice
[ 1561.066449] scsi3 : SCSI emulation for USB Mass Storage devices
[ 1561.066742] usb-storage: device found at 5
[ 1561.066746] usb-storage: waiting for device to settle before scanning
[ 1566.064442] usb-storage: device scan complete
[ 1566.064960] scsi 3:0:0:0: Direct-Access WD My Passport 0740 1003
PQ: 0 ANSI: 6
[ 1566.065704] scsi 3:0:0:1: Enclosure WD SES Device 1003
PQ: 0 ANSI: 6
[ 1566.066792] sd 3:0:0:0: Attached scsi generic sg2 type 0
[ 1566.066940] ses 3:0:0:1: Attached Enclosure device
[ 1566.067040] ses 3:0:0:1: Attached scsi generic sg3 type 13
[ 1566.256922] sd 3:0:0:0: [sdb] 976707584 512-byte logical blocks: (500 GB/465
GiB)
[ 1566.258660] sd 3:0:0:0: [sdb] Write Protect is off
[ 1566.258667] sd 3:0:0:0: [sdb] Mode Sense: 47 00 10 08
[ 1566.258673] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[ 1566.261914] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[ 1566.261922] sdb: sdb1 sdb2
[ 1566.282548] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[ 1566.282557] sd 3:0:0:0: [sdb] Attached SCSI disk
[ 1567.075556] kjournald starting. Commit interval 5 seconds
[ 1567.075581] EXT3-fs warning: maximal mount count reached, running e2fsck is
recommended
[ 1567.076300] EXT3 FS on sdb2, internal journal
[ 1567.076309] EXT3-fs: mounted filesystem with ordered data mode.
On this drive I have two partitions. The first is EXT3-formatted and it's
labeled "backup" while the second one is FAT32-formatted for Windows
compatibility
and it's labeled "My Passport":
root@produzione:/home/daniele# fdisk -l /dev/sdb
Disk /dev/sdb: 500.1 GB, 500074283008 bytes
255 heads, 63 sectors/track, 60797 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00038a56
Device Boot Start End Blocks Id System
/dev/sdb1 1 30521 245152768 7 HPFS/NTFS
/dev/sdb2 30521 60798 243200000 83 Linux
I can use them without problems but sometimes when I umount them hitting the
"Safely Remove Drive" option in the right-click menu on the drive icons, the
system completly crashes. The screen turns black and all is freezed. The only
option I have is to reboot my notebook.
This is my /etc/fstab:
root@produzione:/home/daniele# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/mapper/volumegrp01-rootfs / ext3 errors=remount-ro 0
1
# /boot was on /dev/sda1 during installation
UUID=7279adbc-99e1-432b-870a-df13f13957b0 /boot ext3 defaults
0 2
/dev/mapper/volumegrp01-home /home ext3 defaults,user_xattr
0 2
/dev/mapper/volumegrp01-swap none swap sw 0 0
UUID=9812-0845 /media/usb0 vfat,iso9660 user,noauto 0 0
#UUID=9C64D17064D14DA0 /media/ntfs ntfs
/dev/scd0 /media/cdrom1 udf,iso9660 user,noauto 0 0
I was forced to manually modify it in order to fix some mounting problems I
had. In particular, the system was not able to auto mount my usb pen drive so I
put its UUID in fstab to fix this issue.
Now the output of blkid:
root@produzione:/home/daniele# blkid
/dev/sda5: UUID="cf301262-9b5a-40ca-89c4-bc92f2b8a393" TYPE="crypto_LUKS"
/dev/sda1: UUID="7279adbc-99e1-432b-870a-df13f13957b0" TYPE="ext3"
SEC_TYPE="ext2"
/dev/mapper/sda5_crypt: UUID="S06RiO-pShS-YJok-TS7I-ViRA-YTGT-K66fV2"
TYPE="LVM2_member"
/dev/mapper/volumegrp01-swap: UUID="73f27b9c-341e-4834-aa74-4c591b9b332a"
TYPE="swap"
/dev/mapper/volumegrp01-rootfs: UUID="906dc4bf-08c4-4fb8-ba04-6a612c850281"
TYPE="ext3"
/dev/mapper/volumegrp01-home: UUID="165100d7-91ba-4f06-9f14-b5174254f8e3"
TYPE="ext3" SEC_TYPE="ext2"
/dev/sdb1: LABEL="My Passport" UUID="9C64D17064D14DA0" TYPE="ntfs"
/dev/sdb2: LABEL="Backup" UUID="caaf4f6e-d2a8-4765-8fe1-885cd90892a2"
TYPE="ext3"
root@produzione:/home/daniele#
I don't know if this is useful but my disk is almost completly ciphered, except
the boot partition. On top of that I have an LVM setup for swap, home and root
file system.
In summary:
root@produzione:/home/daniele# fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000367c5
Device Boot Start End Blocks Id System
/dev/sda1 1 61 487424 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 61 14594 116730881 5 Extended
/dev/sda5 61 14594 116730880 83 Linux
Disk /dev/dm-0: 119.5 GB, 119531368448 bytes
255 heads, 63 sectors/track, 14532 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 4093 MB, 4093640704 bytes
255 heads, 63 sectors/track, 497 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 30.0 GB, 29997662208 bytes
255 heads, 63 sectors/track, 3647 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-2 doesn't contain a valid partition table
Disk /dev/dm-3: 85.4 GB, 85437972480 bytes
255 heads, 63 sectors/track, 10387 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-3 doesn't contain a valid partition table
And
root@produzione:/home/daniele# pvdisplay
--- Physical volume ---
PV Name /dev/dm-0
VG Name volumegrp01
PV Size 111.32 GiB / not usable 2.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 28498
Free PE 0
Allocated PE 28498
PV UUID S06RiO-pShS-YJok-TS7I-ViRA-YTGT-K66fV2
root@produzione:/home/daniele#
root@produzione:/home/daniele#
root@produzione:/home/daniele#
root@produzione:/home/daniele# vgdisplay
--- Volume group ---
VG Name volumegrp01
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 3
Max PV 0
Cur PV 1
Act PV 1
VG Size 111.32 GiB
PE Size 4.00 MiB
Total PE 28498
Alloc PE / Size 28498 / 111.32 GiB
Free PE / Size 0 / 0
VG UUID 0D4IQR-269Y-2y0k-uGKR-wHRg-WiSJ-K1UWpS
root@produzione:/home/daniele#
root@produzione:/home/daniele# lvdisplay
--- Logical volume ---
LV Name /dev/volumegrp01/swap
VG Name volumegrp01
LV UUID Upx9gn-pjSc-vxKz-twaq-jzOG-GBT8-3XoVnS
LV Write Access read/write
LV Status available
# open 1
LV Size 3.81 GiB
Current LE 976
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:1
--- Logical volume ---
LV Name /dev/volumegrp01/rootfs
VG Name volumegrp01
LV UUID HBW0lc-JDcw-QhA3-fCFW-d0P4-ZOgy-ZZJ3M2
LV Write Access read/write
LV Status available
# open 1
LV Size 27.94 GiB
Current LE 7152
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:2
--- Logical volume ---
LV Name /dev/volumegrp01/home
VG Name volumegrp01
LV UUID wbCzrf-cSrE-xy3I-KtfI-m06J-QkuR-E4WYHo
LV Write Access read/write
LV Status available
# open 1
LV Size 79.57 GiB
Current LE 20370
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:3
root@produzione:/home/daniele#
Thank you in advance,
Daniele Visaggio
-- System Information:
Debian Release: 6.0.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages mount depends on:
ii libblkid1 2.17.2-9 block device id library
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libselinux1 2.0.96-1 SELinux runtime shared libraries
ii libsepol1 2.0.41-1 SELinux library for manipulating b
ii libuuid1 2.17.2-9 Universally Unique ID library
mount recommends no packages.
Versions of packages mount suggests:
ii nfs-common 1:1.2.2-4 NFS support files common to client
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi
Assuming the issue is not anymore reproducible on recent kernels I'm
going to close this bugreport by now to clean up the list of src:linux
bugs from very old issues. In case you can reproduce the issue feel
free to reopen the bug.
Regards,
Salvatore
--- End Message ---