FedoraForum.org - Fedora Support Forums and Community
Results 1 to 1 of 1
  1. #1
    Join Date
    Jul 2015
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Samsung SSD Errors During Fed23 AND Fed24 Boot ONLY When BitLocker is Enabled On SSD

    Hi Guys,

    Note: My original post concerned only Fedora 23. However, the same errors I have reported below are also being replicated on a CLEAN install of Fedora 24. I've changed the Fed23 references below to Fed24 to keep this post relevant, but note, this problem impacts, and can be reproduced, on either of Fedora's two most recent releases.

    I know not everyone here runs both Windows 10 Professional and Fedora 24, both encrypted, and both residing on the same primary system SSD (i.e. /dev/sda), but I'm seeing multiple, persistent, SSD errors during the Fed 24 boot sequence ONLY when BitLocker encryption is ENABLED on Win 10.

    The SSD errors I have documented below have me concerned.

    I'm using a Samsung EVO 850 SSD (500 Gb) as my primary system drive in an Asus laptop.

    However, given the vastness of the Samsung SSD and Windows user bases, perhaps I am not alone.

    The first 4 SSD partitions contain the standard Win 10 (Build 1511, fully updated) partitions holding system and user data. Win 10 was released in July 2015, and Build 1511 was released in Nov 2015 by Microsoft as the first major (stable) 3+ Gb update to Win 10.

    I see no errors involving my SSD while running Win 10 with BitLocker ENABLED. Samsung's SSD software, Magician, reports my SSD is in 'Good' health, and all performance tests show normal results with BitLocker ENABLED.

    The next 3 SSD partitions (/dev/sda5-7) contain fully updated Fed 24 (/boot, /boot/efi, and LUKS encrypted root and swap).

    The final SSD partition, /dev/sda8, contains a LUKS encrypted ext4 filesystem and is written to the end of the SSD.

    UEFI, secure, GPT-based booting is important to me, as is system-level encryption, in all my computing activities. As far as Win 10 is concerned, that eliminates every alternative to BitLocker.

    As some of you know, the Samsung EVO 850 series natively supports AES-XTS-256 bit hardware-based encryption. BitLocker on Win 10 (Build 1511) also supports this hardware encryption standard.

    The practical application of employing the Samsung/BitLocker joint support of this hardware encryption standard is I can fully encypt, or decrypt, a 200+ Gb Windows 10 OS and user data, in less than 3 seconds on my SSD (irrespective of choosing Used-Only-Space encryption or Full System encryption). In sharp contrast, normal BitLocker software-based encryption (the default method) would require hours to either encrypt, or decrypt, a similarly-sized Win 10 installation.

    When BitLocker is correctly enabled, my Samsung SED SSD will report a 'manage-bde -status' of:

    BitLocker Version: 2.0
    Conversion Status: Fully Encrypted
    Percentage Encrypted: 100.0%
    Encryption Method: Hardware Encryption - 1.3.111.2.1619.0.1.2

    Note: The numeric string beginning with 1.3.111 is OID code and represents AES-XTS-256 bit hardware encryption.

    However, ONLY when BitLocker encryption is ENABLED on my Windows 10 OS, do I see hundreds of these types of SSD errors when booting Fed 24. Also note these errors begin showing up immediately following power-on, and continue after I enter my Fed 24 LUKS passphrase, then seem to dissipate after <USER> login, when the SSD appears to operate normally until the next power cycle, where the same types of errors are again repeated.

    The SSD errors during the Fed 24 boot sequence, which begin immediately after power on, in general, look like:

    6/8/16 2:40 PM res 51/04:08:d8:ff:ff/00:00:00:00:00/ef Emask 0x1 (device error)
    6/8/16 2:40 PM res 51/04:08:d8:ff:ff/00:00:00:00:00/ef Emask 0x1 (device error)
    6/8/16 2:41 PM sd 0 :0:0: [sda] tag#16 Add. Sense: Unaligned write command
    6/8/16 2:41 PM sd 0 :0:0: [sda] tag#16 CDB: Read(10) 28 00 00 11 b8 08 00 00 08 00
    6/8/16 2:41 PM blk_update_request I/O error, dev sda, sector 1161224
    6/8/16 2:41 PM ata1 EH complete
    6/8/16 2:41 PM ata1.00 exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
    6/8/16 2:41 PM ata1.00 irq_stat 0x40000001
    6/8/16 2:41 PM ata1.00 failed command: READ DMA
    6/8/16 2:41 PM ata1.00 cmd c8/00:08:00:b8:11/00:00:00:00:00/e0 tag 7 dma 4096 in
    6/8/16 2:41 PM ata1.00 status: { DRDY ERR }
    6/8/16 2:41 PM ata1.00 error: { ABRT }
    6/8/16 2:41 PM ata1.00 supports DRM functions and may not be fully accessible
    6/8/16 2:41 PM ata1.00 disabling queued TRIM support
    6/8/16 2:41 PM ata1.00 supports DRM functions and may not be fully accessible
    6/8/16 2:41 PM ata1.00 disabling queued TRIM support
    6/8/16 2:41 PM ata1.00 configured for UDMA/33
    6/8/16 2:41 PM ata1 EH complete
    6/8/16 2:41 PM ata1.00 exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
    6/8/16 2:41 PM ata1.00 irq_stat 0x40000001
    6/8/16 2:41 PM ata1.00 failed command: READ DMA
    6/8/16 2:41 PM ata1.00 cmd c8/00:08:00:b8:11/00:00:00:00:00/e0 tag 19 dma 4096 in
    6/8/16 2:41 PM ata1.00 status: { DRDY ERR }
    6/8/16 2:41 PM ata1.00 error: { ABRT }
    6/8/16 2:41 PM ata1.00 supports DRM functions and may not be fully accessible
    6/8/16 2:41 PM ata1.00 disabling queued TRIM support
    6/8/16 2:41 PM ata1.00 supports DRM functions and may not be fully accessible
    6/8/16 2:41 PM ata1.00 disabling queued TRIM support
    6/8/16 2:41 PM ata1.00 configured for UDMA/33
    6/8/16 2:41 PM ata1 EH complete
    6/8/16 2:41 PM ata1.00 exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
    6/8/16 2:41 PM ata1.00 irq_stat 0x40000001
    6/8/16 2:41 PM ata1.00 failed command: READ DMA
    6/8/16 2:41 PM ata1.00 cmd c8/00:08:00:b8:11/00:00:00:00:00/e0 tag 23 dma 4096 in
    6/8/16 2:41 PM ata1.00 status: { DRDY ERR }
    6/8/16 2:41 PM ata1.00 error: { ABRT }
    6/8/16 2:41 PM ata1.00 supports DRM functions and may not be fully accessible
    6/8/16 2:41 PM ata1.00 disabling queued TRIM support
    6/8/16 2:41 PM ata1.00 supports DRM functions and may not be fully accessible
    6/8/16 2:41 PM ata1.00 disabling queued TRIM support
    6/8/16 2:41 PM ata1.00 configured for UDMA/33
    6/8/16 2:41 PM sd 0 :0:0: [sda] tag#23 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    6/8/16 2:41 PM sd 0 :0:0: [sda] tag#23 Sense Key : Illegal Request [current] [descriptor]
    6/8/16 2:41 PM sd 0 :0:0: [sda] tag#23 Add. Sense: Unaligned write command
    6/8/16 2:41 PM sd 0 :0:0: [sda] tag#23 CDB: Read(10) 28 00 00 11 b8 00 00 00 08 00
    6/8/16 2:41 PM blk_update_request I/O error, dev sda, sector 1161216
    6/8/16 2:41 PM ata1 EH complete
    6/8/16 2:41 PM ata1.00 exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
    6/8/16 2:41 PM ata1.00 irq_stat 0x40000001
    6/8/16 2:41 PM ata1.00 failed command: READ DMA EXT
    6/8/16 2:41 PM ata1.00 cmd 25/00:08:80:87:4f/00:00:12:00:00/e0 tag 4 dma 4096 in
    6/8/16 2:41 PM ata1.00 status: { DRDY ERR }
    6/8/16 2:41 PM ata1.00 error: { ABRT }
    6/8/16 2:41 PM ata1.00 supports DRM functions and may not be fully accessible
    6/8/16 2:41 PM ata1.00 disabling queued TRIM support
    6/8/16 2:41 PM ata1.00 supports DRM functions and may not be fully accessible
    6/8/16 2:41 PM ata1.00 disabling queued TRIM support
    6/8/16 2:41 PM ata1.00 configured for UDMA/33
    6/8/16 2:41 PM ata1 EH complete
    6/8/16 2:41 PM ata1.00 exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
    6/8/16 2:41 PM ata1.00 irq_stat 0x40000001
    6/8/16 2:41 PM ata1.00 failed command: READ DMA EXT
    6/8/16 2:41 PM ata1.00 cmd 25/00:08:80:87:4f/00:00:12:00:00/e0 tag 8 dma 4096 in
    6/8/16 2:41 PM ata1.00 status: { DRDY ERR }
    6/8/16 2:41 PM ata1.00 error: { ABRT }
    6/8/16 2:41 PM ata1.00 supports DRM functions and may not be fully accessible
    6/8/16 2:41 PM ata1.00 disabling queued TRIM support
    6/8/16 2:41 PM ata1.00 supports DRM functions and may not be fully accessible
    6/8/16 2:41 PM ata1.00 disabling queued TRIM support
    6/8/16 2:41 PM ata1.00 configured for UDMA/33
    6/8/16 2:41 PM sd 0 :0:0: [sda] tag#8 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    6/8/16 2:41 PM sd 0 :0:0: [sda] tag#8 Sense Key : Illegal Request [current] [descriptor]
    6/8/16 2:41 PM sd 0 :0:0: [sda] tag#8 Add. Sense: Unaligned write command
    6/8/16 2:41 PM sd 0 :0:0: [sda] tag#8 CDB: Read(10) 28 00 12 4f 87 80 00 00 08 00
    6/8/16 2:41 PM blk_update_request I/O error, dev sda, sector 307201920
    6/8/16 2:41 PM ata1 EH complete

    Despite the presence of these errors, and with BitLocker ENABLED:

    smartctl -H /dev/sda reports:

    === START OF READ SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED

    Furthermore, I do not see anything in the output of:

    smartctl -a /dev/sda

    to be concerned about.

    Also, with BitLocker ENABLED, Samsung's Magician SSD (Windows-based) software reports that my SSD is in 'Good' health.

    I have run both short and long smartctl tests, within Linux, and smartctl reports No Errors, even with BitLocker ENABLED, and my SSD actively reporting the same errors I documented above while Fed 24 is booting.

    Note on this SSD, a short smartctl test completes in about 2 minutes, while an extended test requires more than 4 hours.

    Smartctl logs show:

    Test Number: Description >> Test Result (Test Conditions)

    # 1: Extended offline >> Completed without error (with BitLocker ENABLED and SSD reporting errors)
    # 2: Short offline >> Completed without error (with BitLocker ENABLED and SSD reporting errors)

    # 3: Short offline >> Completed without error (with BitLocker DISABLED and SSD reporting NO errors)
    # 4: Extended offline >> Completed without error (with BitLocker DISABLED and SSD reporting NO errors)


    I do fully understand that this 'problem' can be made to 'go away' by simply disabling BitLocker and rebooting into Fed 24, but from my perspective, that is a horrible, dangerous, non-optimal, non-solution.

    I am hoping someone knowledgeable about HDDs/SSDs (or BitLocker) can tell me why these errors are occurring, whether these errors are in fact serious, or if they could reduce the lifespan of my excellent, but relatively expensive, SSD.

    Inputs welcome - experienced insights most appreciated.
    Last edited by Unable2Continue; 28th June 2016 at 04:50 PM.

Similar Threads

  1. flash bios sc1425 fed23 installed
    By lexonight in forum Servers & Networking
    Replies: 0
    Last Post: 11th November 2015, 09:24 PM
  2. Secure Boot not Enabled on an Acer Aspire with Windows 7 [USB Live Boot]
    By czechmate in forum Installation, Upgrades and Live Media
    Replies: 7
    Last Post: 28th October 2013, 06:59 AM
  3. every boot, bug reporting kernal crash
    By geeve420 in forum Using Fedora
    Replies: 7
    Last Post: 6th March 2010, 03:01 PM
  4. Reporting two yum ERRORS.
    By joe.pelayo in forum Using Fedora
    Replies: 5
    Last Post: 16th March 2007, 10:38 PM
  5. Problems with Yum, Reporting Garbage Errors
    By Ug in forum Using Fedora
    Replies: 11
    Last Post: 27th April 2005, 03:14 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •