[opensuse-factory] dracut tests
Starting a new thread - it's my last day at work before two weeks holiday, I felt like playing with dracut a bit. Per Jessen wrote:
On a test-system running 12.3:
1st attempt: Running dracut with the default options produced an initrd of 27Mb, more than 4 times bigger than the initrd made by mkinitrd. It took 50 seconds (mkinitrd took 10seconds). 2nd attempt: omitting a few modules created an initrd only 2.5times bigger and in only 35seconds.
I'm working on figuring out what else to omit.
Ah, "--hostonly" helps a lot - that got me a 4.4Mb initrd in 13seconds, about 30% smaller than with mkinitrd. The next thing is to see if works. This build seemed to include a lot less stuff/modules than mkinitrd. I guess I need to add some modules. Problem - I need 'iscsi', which is supposedly a dracut module, but when I try to build it, I get E: dracut module 'iscsi' cannot be found or installed. -- Per Jessen, Zürich (20.0°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Per Jessen wrote:
Starting a new thread - it's my last day at work before two weeks holiday, I felt like playing with dracut a bit.
Per Jessen wrote:
On a test-system running 12.3:
1st attempt: Running dracut with the default options produced an initrd of 27Mb, more than 4 times bigger than the initrd made by mkinitrd. It took 50 seconds (mkinitrd took 10seconds). 2nd attempt: omitting a few modules created an initrd only 2.5times bigger and in only 35seconds.
I'm working on figuring out what else to omit.
Ah, "--hostonly" helps a lot - that got me a 4.4Mb initrd in 13seconds, about 30% smaller than with mkinitrd. The next thing is to see if works. This build seemed to include a lot less stuff/modules than mkinitrd. I guess I need to add some modules.
Problem - I need 'iscsi', which is supposedly a dracut module, but when I try to build it, I get
E: dracut module 'iscsi' cannot be found or installed.
Instead I tried using --add-drivers with the list of modules reported by mnkinitrd: --add-drivers="thermal_sys thermal processor fan scsi_dh scsi_dh_emc scsi_dh_rdac scsi_dh_hp_sw scsi_dh_alua xgifb scsi_transport_iscsi libiscsi libiscsi_tcp iscsi_tcp usb-common usbcore ohci-hcd uhci-hcd ehci-hcd xhci-hcd usbhid hid-logitech-dj hid-generic af_packet e1000e crc32c-intel" I also used the --mount option to specify my root device/filesystem. It didn't seem to care that it is an iSCSI device. Although I've included the right modules, I don't feel certain that dracut has included the necessary iscsi config? -- Per Jessen, Zürich (20.2°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 07/12/2013 05:46 AM, Per Jessen wrote:
--add-drivers="thermal_sys thermal processor fan scsi_dh scsi_dh_emc scsi_dh_rdac scsi_dh_hp_sw scsi_dh_alua xgifb scsi_transport_iscsi libiscsi libiscsi_tcp iscsi_tcp usb-common usbcore ohci-hcd uhci-hcd ehci-hcd xhci-hcd usbhid hid-logitech-dj hid-generic af_packet e1000e crc32c-intel"
that does not make any sense, whatsoever. the needed drivers for your system are automatically determined with the help of udev.
I also used the --mount option to specify my root device/filesystem. It didn't seem to care that it is an iSCSI device. Although I've included the right modules, I don't feel certain that dracut has included the necessary iscsi config?
You are confusing "dracut modules" with "kernel modules". -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Cristian Rodríguez wrote:
On 07/12/2013 05:46 AM, Per Jessen wrote:
--add-drivers="thermal_sys thermal processor fan scsi_dh scsi_dh_emc scsi_dh_rdac scsi_dh_hp_sw scsi_dh_alua xgifb scsi_transport_iscsi libiscsi libiscsi_tcp iscsi_tcp usb-common usbcore ohci-hcd uhci-hcd ehci-hcd xhci-hcd usbhid hid-logitech-dj hid-generic af_packet e1000e crc32c-intel"
that does not make any sense, whatsoever. the needed drivers for your system are automatically determined with the help of udev.
Okay. I won't have time to try it out now, but I'm back beginning of August. -- Per Jessen, Zürich (20.1°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 07/12/2013 05:18 AM, Per Jessen wrote:
E: dracut module 'iscsi' cannot be found or installed.
You need package dracut-network installed which provides the module in question, it is not installed by default. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Cristian Rodríguez wrote:
On 07/12/2013 05:18 AM, Per Jessen wrote:
E: dracut module 'iscsi' cannot be found or installed.
You need package dracut-network installed which provides the module in question, it is not installed by default.
It is already installed. -- Per Jessen, Zürich (20.1°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Cristian Rodríguez
-
Per Jessen