Legacy bootIng KLV extremely slow

Kennel Linux Void-based


Moderator: Forum moderators

User avatar
rockedge
Site Admin
Posts: 6551
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2757 times
Been thanked: 2627 times
Contact:

Re: Legacy bootIng KLV extremely slow

Post by rockedge »

@wiak yes, fuse was in originally and has to be added in again.

This is what I am about to use in the init and compress the initrd again.

Code: Select all

### The following modules load code not needed if huge kernel contains enough drivers
### This uses DebianDog old Porteus boot method, may also change per
### forum member 'gumanzoy' DebianDog thread comment https://forum.puppylinux.com/viewtopic.php?p=24488#p24488
### to use similar (but modified) method to https://github.com/Tomas-M/linux-live/b ... mfs_create. We will see...
### For smaller initrd I found leaving modules uncompressed prior to initrd compression worked best in tests
# Modules need loaded by initrd when using kernel from Void Linux
modp=0 # boolean true
for m in cb710 cb710_mmc cdrom ehci_hcd ehci_pci ext4 fat exfat libata ata_generic hid hid_generic isofs libahci loop mbcache mmc_block mmc_core nfs nfsv3 nfsv4 nls_ascii nls_cp437 nls_iso8859_1 nls_utf8 nvme nvme_core ohci_hcd scsi_mod sdhci sdhci_acpi sdhci_pci sdio_uart sd_mod sdricoh_cs sg squashfs sr_mod sunrpc tg3 tifm_core tifm_sd ahci ata_piix uas uhci_hcd uio usb_common usbcore usbhid usb_storage vfat via_sdmmc vub300 wbsd xhci_hcd xhci_pci xor xts pata_ali pata_amd pata_artop pata_atiixp pata_atp867x pata_cmd64x pata_efar pata_hpt366 pata_hpt37x pata_it8213 pata_it821x pata_jmicron pata_marvell pata_mpiix pata_netcell pata_ns87410 pata_ns87415 pata_oldpiix pata_pcmcia pata_pdc2027x pata_pdc202xx_old pata_rdc pata_rz1000 pata_sch pata_serverworks pata_sil680 pata_sis pata_triflex pata_via pcmcia pcmcia_core pdc_adma raid6_pq reiserfs sata_mv sata_nv sata_promise sata_qstor sata_sil sata_sil24 sata_sis sata_svw sata_sx4 sata_uli sata_via sata_vsc btrfs fuse;do
#for m in mbcache exportfs ext4 fat vfat exfat ntfs3 btrfs f2fs 9p fuse isofs nls_cp437 nls_iso8859-1 nls_utf8 reiserfs squashfs xfs libata ahci libahci sata_sil24 pdc_adma sata_qstor sata_sx4 ata_piix sata_mv sata_nv sata_promise sata_sil sata_sis sata_svw sata_uli sata_via sata_vsc pata_ali pata_amd pata_artop pata_atiixp pata_atp867x pata_cmd64x pata_cs5520 pata_cs5530 pata_cs5535 pata_cs5536 pata_efar pata_hpt366 pata_hpt37x pata_it8213 pata_it821x pata_jmicron pata_marvell pata_netcell pata_ns87415 pata_oldpiix pata_pdc2027x pata_pdc202xx_old pata_rdc pata_sc1200 pata_sch pata_serverworks pata_sil680 pata_sis pata_triflex pata_via pata_isapnp pata_mpiix pata_ns87410 pata_opti pata_rz1000 ata_generic loop cdrom hid hid_generic usbhid mptscsih mptspi mptsas tifm_core cb710 mmc_block mmc_core sdhci sdhci-pci wbsd tifm_sd cb710-mmc via-sdmmc vub300 sdhci-pltfm scsi_mod scsi_transport_spi scsi_transport_sas sd_mod sr_mod usb-common usbcore ehci-hcd ehci-pci ohci-hcd uhci-hcd xhci-pci xhci-hcd usb-storage xts uas nvme;do
#	[ "$m" != "$w_rmmodule" ] && modprobe $m 2>/dev/null
	for r in $w_rmmodule; do [ "$m" = "$r" ] && modp=1; done
	if [ $modp -eq 0 ]; then [ $w_debug -eq 0 ] && echo "loading module $m"; modprobe $m 2>/dev/null; fi
	modp=0 # reset back to boolean true
done
User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: Legacy bootIng KLV extremely slow

Post by fredx181 »

rockedge wrote: Sat Jul 13, 2024 5:46 pm

@fredx181 So what should I do? I am in the middle of adjusting the init in the initrd.gz to include fuse, which was originally included in the previous version.

Step by step where and what I should be modifying if anything please Fred, I am unsure what I am supposed to do. Details and locations please.

For now best to edit the init script with fuse added to the modprobe list viewtopic.php?p=124377#p124377, the other thing (code to create a list) can wait, possibly implement it in the future if you and/or wiak like it.

User avatar
wiak
Posts: 4082
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1208 times
Contact:

Re: Legacy bootIng KLV extremely slow

Post by wiak »

Im lost. Is fuse included in gitlab FR initrd-latest?. Thought it was. Other stuff presumably about Tomas M code for official void linux kernel using? Such that loop list only uses actual initrd installed modules?

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
rockedge
Site Admin
Posts: 6551
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2757 times
Been thanked: 2627 times
Contact:

Re: Legacy bootIng KLV extremely slow

Post by rockedge »

wiak wrote:

Is fuse included in gitlab FR initrd-latest?

Yes it is.

The new modification slimmed down the list in the init contained in the initrd-latest (initrd.gz in sr14) and fixes the slow boot speeds. Posting from the newly modified sr14 that includes the added fuse module for a test. I already repackaged everything so just need an OK.....

These are the 2 lines. the commented line is the original FR initrd init

Code: Select all

# Modules need loaded by initrd when using kernel from Void Linux
modp=0 # boolean true
for m in cb710 cb710_mmc cdrom ehci_hcd ehci_pci ext4 fat exfat libata ata_generic hid hid_generic isofs libahci loop mbcache mmc_block mmc_core nfs nfsv3 nfsv4 nls_ascii nls_cp437 nls_iso8859_1 nls_utf8 nvme nvme_core ohci_hcd scsi_mod sdhci sdhci_acpi sdhci_pci sdio_uart sd_mod sdricoh_cs sg squashfs sr_mod sunrpc tg3 tifm_core tifm_sd ahci ata_piix uas uhci_hcd uio usb_common usbcore usbhid usb_storage vfat via_sdmmc vub300 wbsd xhci_hcd xhci_pci xor xts pata_ali pata_amd pata_artop pata_atiixp pata_atp867x pata_cmd64x pata_efar pata_hpt366 pata_hpt37x pata_it8213 pata_it821x pata_jmicron pata_marvell pata_mpiix pata_netcell pata_ns87410 pata_ns87415 pata_oldpiix pata_pcmcia pata_pdc2027x pata_pdc202xx_old pata_rdc pata_rz1000 pata_sch pata_serverworks pata_sil680 pata_sis pata_triflex pata_via pcmcia pcmcia_core pdc_adma raid6_pq reiserfs sata_mv sata_nv sata_promise sata_qstor sata_sil sata_sil24 sata_sis sata_svw sata_sx4 sata_uli sata_via sata_vsc btrfs fuse;do
#for m in mbcache exportfs ext4 fat vfat exfat ntfs3 btrfs f2fs 9p fuse isofs nls_cp437 nls_iso8859-1 nls_utf8 reiserfs squashfs xfs libata ahci libahci sata_sil24 pdc_adma sata_qstor sata_sx4 ata_piix sata_mv sata_nv sata_promise sata_sil sata_sis sata_svw sata_uli sata_via sata_vsc pata_ali pata_amd pata_artop pata_atiixp pata_atp867x pata_cmd64x pata_cs5520 pata_cs5530 pata_cs5535 pata_cs5536 pata_efar pata_hpt366 pata_hpt37x pata_it8213 pata_it821x pata_jmicron pata_marvell pata_netcell pata_ns87415 pata_oldpiix pata_pdc2027x pata_pdc202xx_old pata_rdc pata_sc1200 pata_sch pata_serverworks pata_sil680 pata_sis pata_triflex pata_via pata_isapnp pata_mpiix pata_ns87410 pata_opti pata_rz1000 ata_generic loop cdrom hid hid_generic usbhid mptscsih mptspi mptsas tifm_core cb710 mmc_block mmc_core sdhci sdhci-pci wbsd tifm_sd cb710-mmc via-sdmmc vub300 sdhci-pltfm scsi_mod scsi_transport_spi scsi_transport_sas sd_mod sr_mod usb-common usbcore ehci-hcd ehci-pci ohci-hcd uhci-hcd xhci-pci xhci-hcd usb-storage xts uas nvme;do

User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: Legacy bootIng KLV extremely slow

Post by fredx181 »

Don't know what's the confusion exactly. Perhaps that @rockedge adjusts things (proposal from me for init script) in the KLVA build that are not officially in the firstrib build scripts. ? :?:
@wiak get some sleep ;)

User avatar
rockedge
Site Admin
Posts: 6551
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2757 times
Been thanked: 2627 times
Contact:

Re: Legacy bootIng KLV extremely slow

Post by rockedge »

@fredx181 @wiak
I've only modified the init in the initrd.gz in KLV-Airedale-sr14.

User avatar
wiak
Posts: 4082
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1208 times
Contact:

Re: Legacy bootIng KLV extremely slow

Post by wiak »

fredx181 wrote: Sat Jul 13, 2024 6:18 pm

Don't know what's the confusion exactly. Perhaps that @rockedge adjusts things (proposal from me for init script) in the KLVA build that are not officially in the firstrib build scripts. ? :?:
@wiak get some sleep ;)

He can adjust to whatever works ;-) Personally, I have no idea really what above conversations were really about. Sometimes I am slow on the uptake, but whatever ... :thumbup2:

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: Legacy bootIng KLV extremely slow

Post by fredx181 »

wiak wrote: Sat Jul 13, 2024 6:22 pm
fredx181 wrote: Sat Jul 13, 2024 6:18 pm

Don't know what's the confusion exactly. Perhaps that @rockedge adjusts things (proposal from me for init script) in the KLVA build that are not officially in the firstrib build scripts. ? :?:
@wiak get some sleep ;)

Personally, I have no idea really what above conversations were really about.

Yes, me too, but specially it went wrong at the point where you jumped in :D
Get some sleep !

User avatar
rockedge
Site Admin
Posts: 6551
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2757 times
Been thanked: 2627 times
Contact:

Re: Legacy bootIng KLV extremely slow

Post by rockedge »

@wiak quick summary: there are reports of really slow boot speeds. @fredx181 addressed the problem and I tried it out in KLV-Airedale-sr14 by manually modifying the initrd.gz only in sr14

We found out the fuse module was missing in the new line. I added back in and repacked the entire sr14 to a new ISO

possible we could use the wd_init feature for this :ugeek: :thumbup:

Update: I tested the new ISO if it boots.....it does so I uploaded it to the usual place.

Post Reply

Return to “KLV-Airedale”