(In reply to Fer Korol from comment #568)
> I can confirm (In reply to Darin Miller from comment #563)
> > *Ubuntu version:
> >
> > 1) install kernel build tools:
> > (https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel):
> >
> > * sudo apt install libncurses-dev gawk flex bison openssl libssl-dev dkms
> > libelf-dev libudev-dev libpci-dev libiberty-dev autoconf git
> >
> > 2) clone the kernel from github and checkout to v5.17 branch (Rather large,
> > multiple GB's):
> >
> > * git clone https://github.com/torvalds/linux.git
> > * cd linux
> > * git checkout v5.17-rc4
> >
> > 3) get the patch and install it:
> >
> > get the patch form this site and save to "linux" directory: (top right
> > corner "series" button) and use the following "git am ..." line to apply
> the
> > patch:
> >
> https://patchwork.kernel.org/project/linux-acpi/patch/20220121172431.6876-4-
> > <email address hidden>/
> >
> > * git am Support-Spi-in-i2c-multi-instantiate-driver.patch
> >
> > 4) load current kernel config and change configuration then run the
> > following scripts/config commands:
> >
> > * make olddefconfig
> > * ./scripts/config --enable CONFIG_SERIAL_MULTI_INSTANTIATE
> > * ./scripts/config --enable CONFIG_SND_HDA_SCODEC_CS35L41_I2C
> > * ./scripts/config --enable CONFIG_SND_HDA_SCODEC_CS35L41_SPI
> > * ./scripts/config --disable CONFIG_DEBUG_INFO
> > * ./scripts/config --set-str CONFIG_SYSTEM_TRUSTED_KEYS ""
> > * ./scripts/config --set-str CONFIG_SYSTEM_REVOCATION_KEYS ""
> >
> > 6) build the kernel
> >
> > * make -j 16
> >
> > 7) install the kernel
> >
> > * sudo make module_install
> > * sudo make install
>
> I confirm this guide works flawless on ubuntu 21.10 with this considerations:
> * The steps 3) and above, i run as root user (sudo su or su)
> * In the 7) step, as have been comented, the correct command is:
> sudo make modules_install
>
> With this tweaks no more freezes at the boot.
>
> Regards!
(In reply to Fer Korol from comment #568) /wiki.ubuntu. com/Kernel/ BuildYourOwnKer nel): /github. com/torvalds/ linux.git /patchwork. kernel. org/project/ linux-acpi/ patch/202201211 72431.6876- 4- Spi-in- i2c-multi- instantiate- driver. patch SERIAL_ MULTI_INSTANTIA TE SND_HDA_ SCODEC_ CS35L41_ I2C SND_HDA_ SCODEC_ CS35L41_ SPI SYSTEM_ TRUSTED_ KEYS "" SYSTEM_ REVOCATION_ KEYS ""
> I can confirm (In reply to Darin Miller from comment #563)
> > *Ubuntu version:
> >
> > 1) install kernel build tools:
> > (https:/
> >
> > * sudo apt install libncurses-dev gawk flex bison openssl libssl-dev dkms
> > libelf-dev libudev-dev libpci-dev libiberty-dev autoconf git
> >
> > 2) clone the kernel from github and checkout to v5.17 branch (Rather large,
> > multiple GB's):
> >
> > * git clone https:/
> > * cd linux
> > * git checkout v5.17-rc4
> >
> > 3) get the patch and install it:
> >
> > get the patch form this site and save to "linux" directory: (top right
> > corner "series" button) and use the following "git am ..." line to apply
> the
> > patch:
> >
> https:/
> > <email address hidden>/
> >
> > * git am Support-
> >
> > 4) load current kernel config and change configuration then run the
> > following scripts/config commands:
> >
> > * make olddefconfig
> > * ./scripts/config --enable CONFIG_
> > * ./scripts/config --enable CONFIG_
> > * ./scripts/config --enable CONFIG_
> > * ./scripts/config --disable CONFIG_DEBUG_INFO
> > * ./scripts/config --set-str CONFIG_
> > * ./scripts/config --set-str CONFIG_
> >
> > 6) build the kernel
> >
> > * make -j 16
> >
> > 7) install the kernel
> >
> > * sudo make module_install
> > * sudo make install
>
> I confirm this guide works flawless on ubuntu 21.10 with this considerations:
> * The steps 3) and above, i run as root user (sudo su or su)
> * In the 7) step, as have been comented, the correct command is:
> sudo make modules_install
>
> With this tweaks no more freezes at the boot.
>
> Regards!
What pc model?