2017-04-16 04:52:04 |
David Lee |
bug |
|
|
added bug |
2017-04-16 04:52:59 |
David Lee |
affects |
linux (Ubuntu) |
dmraid (Ubuntu) |
|
2017-04-16 04:56:33 |
David Lee |
description |
This is related to bug 1313169, I have had a sudden bout of clarity on the cause of the issue.
I propose this modification to the dmraid installation script as it is a small but necessary enhancement.
When dmraid is installed, it adds all the necessary hooks to initramfs-tools. However, it has one oversight, that the required raid modules are not added to /etc/initramfs-tools/modules. Without these modules, dmraid will inevitably fail to initialize the array when started since the kernel would not be able to find the required modules in the image.
I propose that when dmraid is installed, during installation the script would check to see if the following items are already in /etc/initramfs-tools/modules, and append the required modules into the bottom of the file if it's not, and then rebuild the initramfs, update grub and if necessary reinstall grub. On uninstall of package, I propose that we should just warn the user but leave the lines in just in case they're using something else that also needs the modules.
The following modules should be appended to the /etc/inmitramfs-tools/modules file:
raid0
dm_raid
raid1
raid10
raid456
async_raid6_recov
async_memcpy
async_pq
async_tx
raid6_pq |
This is related to bug 1313169, I have had a sudden bout of clarity on the cause of the issue.
I propose this modification to the dmraid installation script as it is a small but necessary enhancement.
When dmraid is installed, it adds all the necessary hooks to initramfs-tools. However, it has one oversight, that the required raid modules are not added to /etc/initramfs-tools/modules. Without these modules, dmraid will inevitably fail to initialize the array when started since the kernel would not be able to find the required modules in the image.
I propose that when dmraid is installed, during installation the script would check to see if the following items are already in /etc/initramfs-tools/modules, and append the required modules into the bottom of the file if it's not, and then rebuild the initramfs, update grub and if necessary reinstall grub. On uninstall of package, I propose that we should just warn the user but leave the lines in just in case they're using something else that also needs the modules.
The following modules should be appended to the /etc/inmitramfs-tools/modules file:
raid0
dm_raid
raid1
raid10
raid456
async_raid6_recov
async_memcpy
async_pq
async_tx
raid6_pq
async_xor
xor |
|
2017-04-16 04:58:53 |
David Lee |
description |
This is related to bug 1313169, I have had a sudden bout of clarity on the cause of the issue.
I propose this modification to the dmraid installation script as it is a small but necessary enhancement.
When dmraid is installed, it adds all the necessary hooks to initramfs-tools. However, it has one oversight, that the required raid modules are not added to /etc/initramfs-tools/modules. Without these modules, dmraid will inevitably fail to initialize the array when started since the kernel would not be able to find the required modules in the image.
I propose that when dmraid is installed, during installation the script would check to see if the following items are already in /etc/initramfs-tools/modules, and append the required modules into the bottom of the file if it's not, and then rebuild the initramfs, update grub and if necessary reinstall grub. On uninstall of package, I propose that we should just warn the user but leave the lines in just in case they're using something else that also needs the modules.
The following modules should be appended to the /etc/inmitramfs-tools/modules file:
raid0
dm_raid
raid1
raid10
raid456
async_raid6_recov
async_memcpy
async_pq
async_tx
raid6_pq
async_xor
xor |
This is related to bug 1313169, I have had a sudden bout of clarity on the cause of the issue.
I propose this modification to the dmraid installation script as it is a small but necessary enhancement.
When dmraid is installed, it adds all the necessary hooks to initramfs-tools. However, it has one oversight, that the required raid modules are not added to /etc/initramfs-tools/modules. Without these modules, dmraid will inevitably fail to initialize the array when started since the kernel would not be able to find the required modules in the image.
I propose that when dmraid is installed, during installation the script would check to see if the following items are already in /etc/initramfs-tools/modules, and append the required modules into the bottom of the file if it's not, and then rebuild the initramfs, update grub and if necessary reinstall grub. On uninstall of package, I propose that we should just warn the user but leave the lines in just in case they're using something else that also needs the modules.
The following modules should be appended to the /etc/inmitramfs-tools/modules file:
raid0
dm_raid
raid1
raid10
raid456
async_raid6_recov
async_memcpy
async_pq
async_tx
raid6_pq
async_xor
xor
libcrc32c |
|
2017-04-21 16:18:50 |
David Lee |
attachment added |
|
Patch to fix issue (change dm_mod to dm_raid) https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/1683105/+attachment/4866107/+files/dmsetup_dmraid.patch |
|
2017-04-21 16:30:25 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2017-04-21 16:30:39 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2017-04-25 13:07:00 |
Phillip Susi |
dmraid (Ubuntu): status |
New |
Triaged |
|
2017-04-25 13:07:04 |
Phillip Susi |
dmraid (Ubuntu): importance |
Undecided |
Medium |
|
2017-04-25 13:07:07 |
Phillip Susi |
dmraid (Ubuntu): assignee |
|
Phillip Susi (psusi) |
|
2017-04-25 17:02:42 |
David Lee |
attachment added |
|
Makes dmraid's hook load dm-raid.ko instead of nonexistent module dm-mod.ko https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/1683105/+attachment/4867815/+files/dmraid-hook.patch |
|
2017-04-28 15:51:29 |
David Lee |
attachment added |
|
Adds dm-raid module to the required hook, without removing dm-mod. https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/1683105/+attachment/4869224/+files/dmraid_dmod.patch |
|
2017-04-28 15:51:50 |
David Lee |
attachment removed |
make dmsetup's hook load dm-raid instead of dm-mod https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/1683105/+attachment/4866107/+files/dmsetup_dmraid.patch |
|
|
2017-04-28 15:52:00 |
David Lee |
attachment removed |
Makes dmraid's hook load dm-raid.ko instead of nonexistent module dm-mod.ko https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/1683105/+attachment/4867815/+files/dmraid-hook.patch |
|
|
2017-07-21 08:45:47 |
Gao Shichao |
bug |
|
|
added subscriber Gao Shichao |
2017-12-05 14:47:41 |
Phillip Susi |
nominated for series |
|
Ubuntu Artful |
|
2017-12-05 17:43:47 |
Phillip Susi |
attachment added |
|
artful.debdiff https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/1683105/+attachment/5018846/+files/artful.debdiff |
|
2017-12-05 17:46:18 |
Phillip Susi |
attachment added |
|
bionic.debdiff https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/1683105/+attachment/5018847/+files/bionic.debdiff |
|
2017-12-05 17:47:19 |
Phillip Susi |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2017-12-05 17:53:56 |
Phillip Susi |
description |
This is related to bug 1313169, I have had a sudden bout of clarity on the cause of the issue.
I propose this modification to the dmraid installation script as it is a small but necessary enhancement.
When dmraid is installed, it adds all the necessary hooks to initramfs-tools. However, it has one oversight, that the required raid modules are not added to /etc/initramfs-tools/modules. Without these modules, dmraid will inevitably fail to initialize the array when started since the kernel would not be able to find the required modules in the image.
I propose that when dmraid is installed, during installation the script would check to see if the following items are already in /etc/initramfs-tools/modules, and append the required modules into the bottom of the file if it's not, and then rebuild the initramfs, update grub and if necessary reinstall grub. On uninstall of package, I propose that we should just warn the user but leave the lines in just in case they're using something else that also needs the modules.
The following modules should be appended to the /etc/inmitramfs-tools/modules file:
raid0
dm_raid
raid1
raid10
raid456
async_raid6_recov
async_memcpy
async_pq
async_tx
raid6_pq
async_xor
xor
libcrc32c |
[Impact]
Users of rake raid using raid 5 can not boot their systems because the required kernel module is not loaded by the initramfs. The hook script simply needs to request this module be loaded.
[Test Case]
Install on a fakeraid raid 5
[Regression Potential]
None. Seriously, the worst that can happen is that the requested module is not loaded anyway. |
|
2017-12-11 14:00:31 |
Jean-Baptiste Lallement |
bug task added |
|
dmraid (Ubuntu Artful) |
|
2018-03-05 06:08:37 |
Mathew Hodson |
dmraid (Ubuntu Artful): importance |
Undecided |
Medium |
|
2018-08-17 04:42:27 |
Simon Quigley |
dmraid (Ubuntu Artful): status |
New |
Won't Fix |
|
2018-08-17 04:43:54 |
Simon Quigley |
removed subscriber Ubuntu Review Team |
|
|
|
2018-08-17 04:43:55 |
Simon Quigley |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2018-08-21 19:55:40 |
Phillip Susi |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2019-04-20 18:02:30 |
Simon Quigley |
description |
[Impact]
Users of rake raid using raid 5 can not boot their systems because the required kernel module is not loaded by the initramfs. The hook script simply needs to request this module be loaded.
[Test Case]
Install on a fakeraid raid 5
[Regression Potential]
None. Seriously, the worst that can happen is that the requested module is not loaded anyway. |
[Impact]
Users of fakeraid using raid 5 can not boot their systems because the required kernel module is not loaded by the initramfs. The hook script simply needs to request this module be loaded.
[Test Case]
Install on a fakeraid raid 5
[Regression Potential]
None. Seriously, the worst that can happen is that the requested module is not loaded anyway. |
|
2019-04-20 18:03:35 |
Simon Quigley |
removed subscriber Ubuntu Sponsors Team |
|
|
|