Re: lk 4.20.0 sd: 'Unaligned partial completion (resid=3584, sector_sz=4096)' forever

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ping ....

If these types of disks (ones that can fast format between 512 and
4096 bytes) are not out in the field yet, they soon will be. This
problem requires a hard reboot (i.e. hold you finger on the power
button for 5-10 seconds). Sad ....

Doug Gilbert


On 2018-12-24 9:19 p.m., Douglas Gilbert wrote:
The kernel first saw this disk as having 4096 logical block size:

   # lsscs -gs
[6:0:2:0]  disk  HGST  HUS726T4TAL4204  C430 /dev/sdd  /dev/sg3 4.00TB

Then about a minute later it had a logical block size of 512 bytes after:

   # sg_format --format --ffmt=1 --size=512 /dev/sg3

[The '--ffmt=1' option means fast format and it obviously doesn't visit
every block.] The sd driver was not amused and when I did:

  # fdisk /dev/sdd

That xterm froze in an uninterruptible state and from another xterm I could
see the log being filled with:

 [ 1004.409881] sd 6:0:2:0: [sdd] Unaligned partial completion (resid=3584, sector_sz=4096)

Rebooted but that locked up the machine, power cycle ...

Doug Gilbert




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux