(In reply to vpi from comment #579) > (In reply to Mark York from comment #578) > > (In reply to vpi from comment #577) > > > (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- > > > > sbind...@opensource.cirrus.com/ > > > > > > > > * 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 > > > > > > Hi guys, > > > > > > This is my first time compiling a kernel (Legion 7 16ACHg6/Ubuntu 20.04). > I > > > followed these steps (checked out the v5.17-rc8 branch on git) but at the > > > end I am getting this error at the last step, just before running sudo > make > > > install: > > > > > > arch/x86/Makefile:154: CONFIG_X86_X32 enabled but no binutils support > > > sh ./arch/x86/boot/install.sh 5.17.0-rc8+ \ > > > arch/x86/boot/bzImage System.map "/boot" > > > > > > *** Missing file: arch/x86/boot/bzImage > > > *** You need to run "make" before "make install". > > > > > > make: *** [arch/x86/Makefile:278: install] Error 1 > > > > > > Any help would be appreciated > > > > > > Hello @vpi > > > > Before running "make install" you need to compile the kernel with "make". > > "make install" will install the compiled kernel, so you need to compile it > > first. > > Hi Mark, > > I should've been clearer in my last comment. I followed the instructions > stepwise, which means I ran "make -j 16" before running "make install". And > yet I was getting this error.
Hi vpi, I would recommend to start fresh. What I would do is: 1. Get into the kernel config with "make menuconfig", load the .config file from the "Load" button at the bottom. 2. Exit the menu, this will save the and accommodate the config. 3. Compile the kernel with "make" and whatever options you want. 3. Compile the kernel modules (if you have chosen to build drivers as modules) with "make modules_install". 5. Install the kernel image in /boot with "make install". Try this and let me know of the results. I'm really interested in fixing this problem myself as well. I have a Legion 7 16ACHg6 (AMD) and speakers don't work on Arch Linux. 4. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/1958019 Title: [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No sound at all Status in sound-2.6 (alsa-kernel): Confirmed Status in alsa-driver package in Ubuntu: Confirmed Bug description: On my Lenovo Legion-7-16ACHg6 laptop I can't hear any sound by internal speakers, but it work by headphones connected to standard jack aux. uname -r 5.11.0-44-generic ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: alsa-base 1.0.25+dfsg-0ubuntu5 ProcVersionSignature: Ubuntu 5.11.0-44.48~20.04.2-generic 5.11.22 Uname: Linux 5.11.0-44-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu27.21 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC2: i3draven 1266 F.... pulseaudio /dev/snd/controlC0: i3draven 1266 F.... pulseaudio /dev/snd/controlC1: i3draven 1266 F.... pulseaudio /dev/snd/pcmC1D0p: i3draven 1266 F...m pulseaudio CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Sat Jan 15 15:10:53 2022 InstallationDate: Installed on 2021-10-11 (96 days ago) InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819) PackageArchitecture: all SourcePackage: alsa-driver Symptom: audio Symptom_AlsaPlaybackTest: ALSA playback test through plughw:Generic failed Symptom_Card: Family 17h (Models 10h-1fh) HD Audio Controller - HD-Audio Generic Symptom_DevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC2: i3draven 1266 F.... pulseaudio /dev/snd/controlC0: i3draven 1266 F.... pulseaudio /dev/snd/controlC1: i3draven 1266 F.... pulseaudio /dev/snd/pcmC1D0p: i3draven 1266 F...m pulseaudio Symptom_Jack: Speaker, Internal Symptom_Type: No sound at all Title: [82N6, Realtek ALC287, Speaker, Internal] No sound at all UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 11/08/2021 dmi.bios.release: 1.49 dmi.bios.vendor: LENOVO dmi.bios.version: GKCN49WW dmi.board.asset.tag: NO Asset Tag dmi.board.name: LNVNB161216 dmi.board.vendor: LENOVO dmi.board.version: SDK0R32862 WIN dmi.chassis.asset.tag: NO Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Legion 7 16ACHg6 dmi.ec.firmware.release: 1.49 dmi.modalias: dmi:bvnLENOVO:bvrGKCN49WW:bd11/08/2021:br1.49:efr1.49:svnLENOVO:pn82N6:pvrLegion716ACHg6:skuLENOVO_MT_82N6_BU_idea_FM_Legion716ACHg6:rvnLENOVO:rnLNVNB161216:rvrSDK0R32862WIN:cvnLENOVO:ct10:cvrLegion716ACHg6: dmi.product.family: Legion 7 16ACHg6 dmi.product.name: 82N6 dmi.product.sku: LENOVO_MT_82N6_BU_idea_FM_Legion 7 16ACHg6 dmi.product.version: Legion 7 16ACHg6 dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp