-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CONFIG_X86_X32 enabled but no binutils support #10849
Comments
i meet the same problem. |
@eimfach this might help https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/x86/Kconfig?h=v5.15.140#n2911
|
@zcobol As I understand it I just reuse the currenct kernel config and just set the option for "USB Mass Storage" and that's it. |
Greetings, I have a similar problem to this. Has this been resolved? |
no influence about this remind. So just let it go |
I am having the exact same problem when following this youtube. How many issues do I need to resolve before I can use USB via WSL. edit: I set the CONFIG_X86_32 = Y to N in the .config file then make again the warning is gone. But it won't be able to use 32bit bin with this kernel. |
Do you use Windows 10 or 11 ? |
Win11 with Ubuntu wsl (no version flag)
update: I delete the no flag Ubuntu and install fresh the Ubuntu 20 LTS, no need to make the kernel by yourself, usb storage just works. what a surprise.
|
Windows Version
Microsoft Windows [Version 10.0.19045.3693]
WSL Version
2.0.9.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.133.1
Distro Version
22.04
Other Software
No response
Repro Steps
VERSION=5.15.133.1
sudo apt update && sudo apt upgrade -y && sudo apt install -y build-essential flex bison libgtk2.0-dev libelf-dev libncurses-dev autoconf libudev-dev libtool zip unzip v4l-utils libssl-dev python3-pip cmake git iputils-ping net-tools dwarves
sudo mkdir /usr/src
cd /usr/src
sudo git clone -b linux-msft-wsl-${VERSION} https://github.com/microsoft/WSL2-Linux-Kernel.git ${VERSION}-microsoft-standard && cd ${VERSION}-microsoft-standard
sudo cp /proc/config.gz config.gz
sudo gunzip config.gz
sudo mv config .config
sudo make menuconfig
sudo make -j$(nproc)
sudo make modules_install -j$(nproc)
sudo make install -j$(nproc)
Expected Behavior
Install the compiled kernel ?
Actual Behavior
arch/x86/Makefile:142: CONFIG_X86_X32 enabled but no binutils support
sh ./arch/x86/boot/install.sh 5.15.133.1-microsoft-standard-WSL2+
arch/x86/boot/bzImage System.map "/boot"
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 5.15.133.1-microsoft-standard-WSL2+ /boot/vmlinuz-5.15.133.1-microsoft-standard-WSL2+
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: