You are not logged in.

#1 2020-12-27 18:08:25

Jakkins
Member
Registered: 2020-12-27
Posts: 2

Vanilla compiled kernel 5.3.18 black screen on boot

Hi all!

Updates:
Problem 1 [SOLVED]: driver for adapter usb (thank to loqs)
Problem 2: still exist

I have bought this Wireless AC1300 MU‑MIMO Wi‑Fi USB Adapter.
On bottom I can select the hardware version (Revision D) to find driver up to Linux 5.3.
I was able to compile the kernel (5.3.18)[I should try with 5.3] without errors but on startup systemd-boot stuck with a black screen and GRUB freeze on " loading initial ramdisk" (no blinking underscore).

I suspect I made some error configuring .config file.

  • now I'm using systemd-boot on an EFI System, FAT32 partition for /boot

    • I made systemd-boot to detect 2 launch option

      • title   arch
        linux    /vmlinuz-linux
        initrd   /initramfs-linux.img
        options  root=/dev/sda2 rw
      • title   arch
        version 5318
        linux    /vmlinuz-linux5318
        initrd   /initramfs-linux5318.img
        options  root=/dev/sda2 rw
  • An ext4 30GB Linux Filesystem for root (/)

  • An ext4 130GB Linux Filesystem for /home

  • my pc: ASUS X556UJ-XO015T has

    • i5-6200U

    • Intel HD Graphics 520

    • NVIDIA GeForce 920M (I know that there were some problems with nvidia driver

I'll try to log something out of  systemd-boot, I need help sad

Updates:

I do not enter directly on my WM (Qtile) after login meaning I have to start Xorg manually (startx) but I tried to blacklist my Intel driver as said  here resulting:

  • linux 5.3.18 still black

  • 5.9.14-arch1-1 couldn't load Xserver

This is how I compile:

wget -c https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/linux-5.3.18.tar.xz
wget https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.3.18.tar.sign
gpg --list-packets linux-5.3.18.tar.sign
gpg --recv-keys <fingerprint-from-previous-step>
unxz linux-5.3.18.tar.xz
gpg --verify linux-5.3.18.tar.sign linux-5.3.18.tar
tar -xvf linux-5.3.18.tar
cd linux-5.3.18

sudo pacman -S base-devel xmlto kmod inetutils bc libelf git cpio
make mrproper
make localmodconfig (Mmmmmmmmh)
make -j 4 (should change to 3)
make bzImage
make modules
make modules_install
cp -v ./arch/x86_64/boot/bzImage /boot/vmlinuz-linux5318
cp /etc/mkinitcpio.d/linux.preset /etc/mkinitcpio.d/linux5318.preset
nano /etc/mkinitcpio.d/linux5318.preset
# ALL_kver="/boot/vmlinuz-linux5318"
# default_image="/boot/initramfs-linux5318.img"
# fallback_image="/boot/initramfs-linux5318-fallback.img"
mkinitcpio -p linux5318

Last edited by Jakkins (2020-12-27 20:01:02)

Offline

#2 2020-12-27 18:45:51

loqs
Member
Registered: 2014-03-06
Posts: 18,920

Re: Vanilla compiled kernel 5.3.18 black screen on boot

This would seem like an X-Y problem where you really want a kernel module for the wireless adapter that works with 5.9.Y and 5.10.Y.
What is the VID:PID of the wireless NIC and what driver are you currently using for it?

Offline

#3 2020-12-27 18:57:32

Jakkins
Member
Registered: 2020-12-27
Posts: 2

Re: Vanilla compiled kernel 5.3.18 black screen on boot

lsusb -v
...
idVendor           0x2001 D-Link Corp.
idProduct          0x331c

But the vendor's site specifies that the driver is up to Linux 5.3.

Anyway I'd like to do both, understand the problem with the kernel and make the adaptor works xD
I'm open to all the solution.

The adaptor never worked actually.
The driver is rtl8723be

lspci -k
...
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
	Subsystem: Lite-On Communications Inc Device 1724
	Kernel driver in use: rtl8723be
	Kernel modules: rtl8723be

Last edited by Jakkins (2020-12-27 19:05:35)

Offline

#4 2020-12-27 19:15:18

loqs
Member
Registered: 2014-03-06
Posts: 18,920

Re: Vanilla compiled kernel 5.3.18 black screen on boot

Try https://aur.archlinux.org/packages/rtl88x2bu-dkms-git/
Edit:
I found https://deviwiki.com/wiki/D-Link_DWA-182_rev_D1 from 2001:331c which lead me to the package above.

Last edited by loqs (2020-12-27 19:19:58)

Offline

Board footer

Powered by FluxBB