SRU request submitted: https://lists.ubuntu.com/archives/kernel-team/2018-February/089837.html
** Description changed: - Some SSD drives made by LiteOn can crash the kernel due to bad drivers. - A fix for this issue has been submitted upstream: - https://git.kernel.org/pub/scm/linux/kernel/git/tj/libata.git/commit/?h=for-4.15-fixes + == SRU Justification == + Some SSD drives made by LiteOn can crash the kernel due to bad drivers. This is a + regression introduced by commit e0edc8c54646. This regression is fixed by mainline + commit db5ff909798, which was added to mailine in v4.15-rc9. + + This commit has already been added to Bionic via upstream stable udpates. Xenial + also needs this fix because it recieved the regression introducing commit e0edc8c54646 + via the 4.4.48 stable updates(See bug lp1663657). + + + == Fix == + commit db5ff909798ef0099004ad50a0ff5fde92426fd1 + Author: Xinyu Lin <xinyu0...@gmail.com> + Date: Sun Dec 17 20:13:39 2017 +0800 + + libata: apply MAX_SEC_1024 to all LITEON EP1 series devices + + == Regression Potential == + Low. This commit was also cc'd to upstream stable to fix a regression, so it + received extra upstream review. + + == Test Case == + A test kernel was built with this patch and tested by the original bug reporter. + The bug reporter states the test kernel resolved the bug. + + + == Original Bug Description == + Some SSD drives made by LiteOn can crash the kernel due to bad drivers. A fix for this issue has been submitted upstream: https://git.kernel.org/pub/scm/linux/kernel/git/tj/libata.git/commit/?h=for-4.15-fixes LITEON EP1 has the same timeout issues as CX1 series devices. Revert max_sectors to the value of 1024. 'e0edc8c54646 ("libata: apply MAX_SEC_1024 to all CX1-JB*-HP devices")' Signed-off-by: Xinyu Lin <xinyu0...@gmail.com> Signed-off-by: Tejun Heo <t...@kernel.org> Cc: sta...@vger.kernel.org - - At a high level the root cause of this problem is that the device only supports commands with a transfer size up to 512KB. This worked fine with older versions of Linux but newer versions are attempting commands with a transfer size of 1280KB which is problematic for this device (LITEON EP1-KB480) + At a high level the root cause of this problem is that the device only + supports commands with a transfer size up to 512KB. This worked fine + with older versions of Linux but newer versions are attempting commands + with a transfer size of 1280KB which is problematic for this device + (LITEON EP1-KB480) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1743053 Title: libata: apply MAX_SEC_1024 to all LITEON EP1 series devices Status in linux package in Ubuntu: Fix Committed Status in linux-azure package in Ubuntu: New Status in linux source package in Xenial: In Progress Status in linux-azure source package in Xenial: Fix Committed Status in linux source package in Artful: In Progress Status in linux-azure source package in Artful: New Status in linux source package in Bionic: Fix Committed Status in linux-azure source package in Bionic: New Bug description: == SRU Justification == Some SSD drives made by LiteOn can crash the kernel due to bad drivers. This is a regression introduced by commit e0edc8c54646. This regression is fixed by mainline commit db5ff909798, which was added to mailine in v4.15-rc9. This commit has already been added to Bionic via upstream stable udpates. Xenial also needs this fix because it recieved the regression introducing commit e0edc8c54646 via the 4.4.48 stable updates(See bug lp1663657). == Fix == commit db5ff909798ef0099004ad50a0ff5fde92426fd1 Author: Xinyu Lin <xinyu0...@gmail.com> Date: Sun Dec 17 20:13:39 2017 +0800 libata: apply MAX_SEC_1024 to all LITEON EP1 series devices == Regression Potential == Low. This commit was also cc'd to upstream stable to fix a regression, so it received extra upstream review. == Test Case == A test kernel was built with this patch and tested by the original bug reporter. The bug reporter states the test kernel resolved the bug. == Original Bug Description == Some SSD drives made by LiteOn can crash the kernel due to bad drivers. A fix for this issue has been submitted upstream: https://git.kernel.org/pub/scm/linux/kernel/git/tj/libata.git/commit/?h=for-4.15-fixes LITEON EP1 has the same timeout issues as CX1 series devices. Revert max_sectors to the value of 1024. 'e0edc8c54646 ("libata: apply MAX_SEC_1024 to all CX1-JB*-HP devices")' Signed-off-by: Xinyu Lin <xinyu0...@gmail.com> Signed-off-by: Tejun Heo <t...@kernel.org> Cc: sta...@vger.kernel.org At a high level the root cause of this problem is that the device only supports commands with a transfer size up to 512KB. This worked fine with older versions of Linux but newer versions are attempting commands with a transfer size of 1280KB which is problematic for this device (LITEON EP1-KB480) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1743053/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp