I sent a patch that I would like you to test. It adds some additional
sanity checking to the block limits handling. Given the VPD output you
sent earlier, I am hoping it will work around the issue.
I still can't explain how the physical block size can be unset given
that it is reported by the device and the capacity is > 0xffffffff. I
even tried to tweak scsi_debug to see if somehow the no_read_capacity_16
flag for card readers happened to be set in your case and caused us to
go down the wrong path. But no. I'm stumped.
Do you have any READ CAPACITY errors or messages in your log? There were
none in the output you sent.
Currently compiling...
# dmesg | grep -i capacity
... returns empty. Are there other tests I should run?
Meanwhile, this is everything dmesg gives me when plugging in the drive,
running lsblk and launching gparted:
# dmesg -wH
[Mar22 22:18] usb 3-2: new SuperSpeed Gen 1 USB device number 8 using
xhci_hcd
[ +0.033073] usb 3-2: New USB device found, idVendor=0bc2,
idProduct=ab45, bcdDevice=48.85
[ +0.000004] usb 3-2: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[ +0.000001] usb 3-2: Product: Backup+ Hub
[ +0.000001] usb 3-2: Manufacturer: Seagate
[ +0.000001] usb 3-2: SerialNumber: 01CB8213B6KJ
[ +0.002245] hub 3-2:1.0: USB hub found
[ +0.000314] hub 3-2:1.0: 3 ports detected
[ +0.334402] usb 3-2.1: new SuperSpeed Gen 1 USB device number 9 using
xhci_hcd
[ +0.030705] usb 3-2.1: New USB device found, idVendor=0bc2,
idProduct=ab38, bcdDevice= 1.00
[ +0.000003] usb 3-2.1: New USB device strings: Mfr=2, Product=3,
SerialNumber=1
[ +0.000001] usb 3-2.1: Product: Backup+ Hub BK
[ +0.000001] usb 3-2.1: Manufacturer: Seagate
[ +0.000001] usb 3-2.1: SerialNumber: NA9Q19AM
[ +0.003609] scsi host6: uas
[ +0.000551] scsi 6:0:0:0: Direct-Access Seagate Backup+ Hub BK
D781 PQ: 0 ANSI: 6
[ +0.000554] sd 6:0:0:0: Attached scsi generic sg3 type 0
[ +0.000177] sd 6:0:0:0: [sdc] Spinning up disk...
[ +1.054179] ...........ready
[ +10.400840] sd 6:0:0:0: [sdc] 15628053167 512-byte logical blocks:
(8.00 TB/7.28 TiB)
[ +0.038524] sd 6:0:0:0: [sdc] Write Protect is off
[ +0.000002] sd 6:0:0:0: [sdc] Mode Sense: 4f 00 00 00
[ +0.000156] sd 6:0:0:0: [sdc] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ +0.000243] sd 6:0:0:0: [sdc] Optimal transfer size 33553920 bytes
[ +0.086311] sd 6:0:0:0: [sdc] Attached SCSI disk
[ +0.235116] audit: type=1130 audit(1584911910.652:444): pid=1 uid=0
auid=4294967295 ses=4294967295 msg='unit=lvm2-pvscan@8:32 comm="systemd"
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ +20.268639] audit: type=1100 audit(1584911930.923:445): pid=17078
uid=1000 auid=1000 ses=3 msg='op=PAM:authentication
grantors=pam_unix,pam_permit acct="bernhard"
exe="/usr/lib/polkit-1/polkit-agent-helper-1" hostname=? addr=?
terminal=? res=success'
[ +0.000213] audit: type=1101 audit(1584911930.923:446): pid=17078
uid=1000 auid=1000 ses=3 msg='op=PAM:accounting
grantors=pam_unix,pam_permit,pam_time acct="bernhard"
exe="/usr/lib/polkit-1/polkit-agent-helper-1" hostname=? addr=?
terminal=? res=success'
[ +0.019962] audit: type=1105 audit(1584911930.943:447): pid=17071
uid=1000 auid=1000 ses=3 msg='op=PAM:session_open
grantors=pam_limits,pam_unix,pam_permit acct="root"
exe="/usr/bin/pkexec" hostname=? addr=? terminal=? res=success'
[ +0.418886] JFS: nTxBlock = 8192, nTxLock = 65536
[ +0.120146] SGI XFS with ACLs, security attributes, realtime, scrub,
repair, no debug enabled