** Description changed:

  The user upgrade Ubuntu server to linux-
  image-4.10.0-26-generic_4.10.0-26.30_amd64.deb and it use a SSD of
  ES3000 V2 SSD which the correspond module driver of hio.ko is include in
  this kernel. The data write to disk seems was incorrect.
  
  To format this sdd disk with xfs get error of "meta data corruption" and
  to use dd write data to this ssd disk and read out again, the sha256
  chuksum is also mismatched.
  
  It was tested for 4.8.0-34-generic, 4.10.0-26-generic and 4.12, this
  problem was not found on 4.8.0-34-generic, but both 4.10.0-26-generic
  and 4.12 have same issues.
  
  This hio source can be download from
  
http://support.huawei.com/enterprise/zh/server/es3000-v2-pid-21242728/software/22305278?idAbsPath=fixnode01%7C7919749%7C9856522%7C9856629%7C21462722%7C21242728.
  It is also include in Ubuntu kernel tree of linux-source-4.10.0.
  
+ Huawei reports that they get similar problem when upgrading from linux4.4 to 
linux4.8 and they fix it at the hio driver in 2.1.0.28 version as:
+ The modification for 4.8 is as below:
+         if (!test_bit(SSD_ONLINE, &dev->state)) {
+                 ssd_bio_endio(bio, -ENODEV);
+                 goto out;
+         }
  
- Huawei reports that they get similar problem when upgrading from linux4.4 to 
linux4.8 and they fix it at the hio driver in 2.1.0.28 version as:
- 为适配4.8内核修改代码如下:
-         if (!test_bit(SSD_ONLINE, &dev->state)) {
-                 ssd_bio_endio(bio, -ENODEV);
-                 goto out;
-         }
-  
  #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0))
-         blk_queue_split(q, &bio, q->bio_split);
+         blk_queue_split(q, &bio, q->bio_split);
  #endif

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1702253

Title:
  hio.ko driver from  linux-
  image-4.10.0-26-generic_4.10.0-26.30_amd64.deb  will corrupt data on
  SSD disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1702253/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to