• Mouse and keyboard doesn't work upon graphic boot


    My antergos installation freezes after boot. That is, everyting seems to be working (I have a graphic login windows and the clock is working) but the touchpad, mouse and keyboard are ignored.

    I can access the disk from a manjaro partition using arch-chroot, so I tried configuring a differente display manager but the same thing happen.

    From the logs I found this:

    feb 10 12:17:37 antergos kernel: Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
    feb 10 12:17:37 antergos kernel: Freeing SMP alternatives memory: 28K
    feb 10 12:17:37 antergos kernel: TSC deadline timer enabled
    feb 10 12:17:37 antergos kernel: smpboot: CPU0: Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz (family: 0x6, model: 0x45, stepping: 0x1)
    feb 10 12:17:37 antergos kernel: mce: [Hardware Error]: Machine check events logged
    feb 10 12:17:37 antergos kernel: mce: [Hardware Error]: CPU 0: Machine Check: 0 Bank 6: ae0000000040110a
    feb 10 12:17:37 antergos kernel: mce: [Hardware Error]: TSC 0 ADDR fef86f00 MISC 38a0000086 
    feb 10 12:17:37 antergos kernel: mce: [Hardware Error]: PROCESSOR 0:40651 TIME 1549811855 SOCKET 0 APIC 0 microcode 24
    feb 10 12:17:37 antergos kernel: Performance Events: PEBS fmt2+, Haswell events, 16-deep LBR, full-width counters, Intel PMU driver.
    feb 10 12:17:37 antergos kernel: ... version:                3
    feb 10 12:17:37 antergos kernel: ... bit width:              48
    

    and this

    feb 10 12:17:37 antergos audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lvm2-lvmetad comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
    feb 10 12:17:37 antergos audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-random-seed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
    feb 10 12:17:37 antergos systemd-modules-load[265]: Failed to lookup module alias 'crypto_user': Function not implemented
    feb 10 12:17:37 antergos systemd-modules-load[265]: Failed to lookup module alias 'sg': Function not implemented
    feb 10 12:17:37 antergos audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-sysusers comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
    feb 10 12:17:37 antergos systemd-modules-load[265]: Failed to lookup module alias 'loop': Function not implemented
    feb 10 12:17:37 antergos systemd-modules-load[265]: Failed to lookup module alias 'vboxdrv': Function not implemented
    feb 10 12:17:37 antergos systemd-modules-load[265]: Failed to lookup module alias 'vboxpci': Function not implemented
    feb 10 12:17:37 antergos audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
    feb 10 12:17:37 antergos systemd-modules-load[265]: Failed to lookup module alias 'vboxnetadp': Function not implemented
    feb 10 12:17:37 antergos systemd-modules-load[265]: Failed to lookup module alias 'vboxnetflt': Function not implemented
    feb 10 12:17:37 antergos kernel: audit: type=1130 audit(1549811857.540:7): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-sysusers comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
    feb 10 12:17:37 antergos kernel: audit: type=1130 audit(1549811857.540:8): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
    

    (Just tried looking for ‘error’ and ‘failed’)

    I don’t know how to post the full log here…

    Some more info:

    # inxi -Fxxxz
    12System:    12Host manjaro 12Kernel 4.19.20-1-MANJARO x86_64 12bits 64 12compiler gcc 12v 8.2.1 
               12Desktop Gnome 3.30.2 12wm gnome-shell 12dm N/A 12Distro Antergos Linux 
    12Machine:   12Type Portable 12System Dell 12product Inspiron 11 - 3148 12v 00h 12serial <filter> 
               12Mobo Dell 12model 0NKPM9 12v A00 12serial <filter> 12UEFI [Legacy] Dell 12v A00 12date 06/30/2014 
    12Battery:   12ID-1 BAT0 12charge 1.6 Wh 12condition 1.7/45.1 Wh (4%) 12volts 12.4/10.8 
               12model SANYO DELL 4K8YH481 12type Li-ion 12serial <filter> 12status Charging 
    12CPU:       12Topology Dual Core 12model Intel Core i3-4010U 12bits 64 12type MT MCP 12arch Haswell 12rev 1 
               12L2 cache 3072 KiB 
               12flags lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 12bogomips 13573 
               12Speed 798 MHz 12min/max 800/1700 MHz 12Core speeds (MHz) 121 798 122 798 123 798 124 798 
    12Graphics:  12Device-1 Intel Haswell-ULT Integrated Graphics 12vendor Dell 12driver i915 12v kernel 
               12bus ID 00:02.0 12chip ID 8086:0a16 
               12Display x11 12server X.Org 1.20.3 12driver none 12compositor gnome-shell 
               12resolution 1366x768~59Hz 
               12Message Unable to show advanced data. Required tool glxinfo missing. 
    12Audio:     12Device-1 Intel Haswell-ULT HD Audio 12vendor Dell 12driver snd_hda_intel 12v kernel 
               12bus ID 00:03.0 12chip ID 8086:0a0c 
               12Device-2 Intel 8 Series HD Audio 12vendor Dell 12driver snd_hda_intel 12v kernel 
               12bus ID 00:1b.0 12chip ID 8086:9c20 
               12Sound Server ALSA 12v k4.19.20-1-MANJARO 
    12Network:   12Device-1 Broadcom and subsidiaries BCM43142 802.11b/g/n 12vendor Dell 12driver wl 12v kernel 
               12port 3040 12bus ID 01:00.0 12chip ID 14e4:4365 
               12IF wlp1s0 12state up 12mac <filter> 
    12Drives:    12Local Storage 12total 447.13 GiB 12used 22.74 GiB (5.1%) 
               12ID-1 /dev/sda 12vendor Kingston 12model SV300S37A480G 12size 447.13 GiB 12speed 6.0 Gb/s 
               12serial <filter> 12rev BBF0 
    12Partition: 12ID-1 / 12size 19.10 GiB 12used 15.05 GiB (78.8%) 12fs ext4 12dev /dev/sda2 
    12Sensors:   12System Temperatures 12cpu 53.0 C 12mobo 52.0 C 12sodimm 43.0 C 
               12Fan Speeds (RPM) 12cpu 0 
    12Info:      12Processes 200 12Uptime 28m 12Memory 7.72 GiB 12used 1.68 GiB (21.7%) 12Init systemd 12v 240 
               12Compilers 12gcc 8.2.1 12Client Unknown Client: systemd 12inxi 3.0.30 
    
  • AUR package rasdaemon might provide more info.

  • mce errors could indicate hardware failure, but if this is not the same/similar on other OS and Antergos life, it could be the kernel… so try install and boot LTS kernel

  • @joekamprad said in Mouse and keyboard doesn't work upon graphic boot:

    if this is not the same/similar on other OS and Antergos life

    this is the kernel I’m successfully booting in manjaro

    $ uname -a
    Linux manjaro 4.19.20-1-MANJARO #1 SMP PREEMPT Wed Feb 6 21:33:34 UTC 2019 x86_64 GNU/Linux
    

    in ubuntu 18.04.1 lts

    $ uname -a
    Linux bionic 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
    

    and ubuntu 18.10

    $ uname -a
    Linux kubuntu 4.18.0-13-generic #14-Ubuntu SMP Wed Dec 5 09:04:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
    

    I’ll try to upload the logs and install another kernel

  • a few logs

    journalctl -b -0

    journalctl -b -1

    journalctl -b -2

    cat /var/log/lightdm/x-1.log

    dmseg

    cat /var/log/Xorg.1.log

    I hope this can help

    (BTW, @manuel developed a GREAT tool!!!, and thanks a lot to @joekamprad for pointing me in the right direction)

  • @joekamprad said in Mouse and keyboard doesn't work upon graphic boot:

    mce: [Hardware Error]

    I installed rasdaemon with yaourt -S rasdaemon but no mcelog command appears…

  • @joekamprad said in Mouse and keyboard doesn't work upon graphic boot:

    so try install and boot LTS kernel

    I booted my manajro partition, then chrooted with arch-chroot /media/antergos

    after that I changed to my regular user (seems I can’t install pacakges as root) and then I ran:

    $ yaourt -S linux-lts
    Password: 
    resolving dependencies...
    looking for conflicting packages...
    
    Packages (1) linux-lts-4.19.20-1
    
    Total Download Size:    75,05 MiB
    Total Installed Size:  126,39 MiB
    
    :: Proceed with installation? [Y/n] y
    :: Retrieving packages...
    error: failed retrieving file 'linux-lts-4.19.20-1-x86_64.pkg.tar.xz' from mirrors.lug.mtu.edu : The requested URL returned error: 404
     linux-lts-4.19.20-1...    75,1 MiB  3,09M/s 00:24 [##########################] 100%
    (1/1) checking keys in keyring                     [##########################] 100%
    (1/1) checking package integrity                   [##########################] 100%
    (1/1) loading package files                        [##########################] 100%
    (1/1) checking for file conflicts                  [##########################] 100%
    (1/1) checking available disk space                [##########################] 100%
    :: Processing package changes...
    (1/1) installing linux-lts                         [##########################] 100%
    Optional dependencies for linux-lts
        crda: to set the correct wireless channels of your country [installed]
    :: Running post-transaction hooks...
    (1/5) Updating linux-lts module dependencies...
    (2/5) Install DKMS modules
    ==> Unable to install module vboxhost/6.0.4_OSE for kernel 4.19.20-1-lts: Missing kernel headers.
    ==> Unable to install module broadcom-wl/6.30.223.271 for kernel 4.19.20-1-lts: Missing kernel headers.
    (3/5) Updating linux-lts initcpios...
    ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
      -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
    ==> Starting build: 4.19.20-1-lts
      -> Running build hook: [base]
      -> Running build hook: [udev]
      -> Running build hook: [autodetect]
      -> Running build hook: [modconf]
      -> Running build hook: [block]
      -> Running build hook: [keyboard]
      -> Running build hook: [keymap]
      -> Running build hook: [filesystems]
      -> Running build hook: [fsck]
    ==> Generating module dependencies
    ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts.img
    ==> Image generation successful
    ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
      -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
    ==> Starting build: 4.19.20-1-lts
      -> Running build hook: [base]
      -> Running build hook: [udev]
      -> Running build hook: [modconf]
      -> Running build hook: [block]
    ==> WARNING: Possibly missing firmware for module: aic94xx
    ==> WARNING: Possibly missing firmware for module: wd719x
      -> Running build hook: [keyboard]
      -> Running build hook: [keymap]
      -> Running build hook: [filesystems]
      -> Running build hook: [fsck]
    ==> Generating module dependencies
    ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
    ==> Image generation successful
    (4/5) Checking core system packages
    (5/5) Arming ConditionNeedsUpdate...
    No database errors have been found!
    

    After that I rebooted but I couldn’t find any new option in grub menu, I tried reinstalling grub loader from majaro with

    $ grub-mkconfig -o /boot/grub/grub.cfg
    $ grub-install --target=i386-pc /dev/sda
    

    Same result, I boot into antergos option and same thing happens.

    I think it’s not picking the lts kernel… any other idea?

  • linux-lts-headers are missing

    ==> Unable to install module vboxhost/6.0.4_OSE for kernel 4.19.20-1-lts: Missing kernel headers.
    ==> Unable to install module broadcom-wl/6.30.223.271 for kernel 4.19.20-1-lts: Missing kernel headers.
    

    It looks like you boot from Manjaro’s Grub/Boot system?
    As it was creating the images:

    ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts.img
    

    You will need to choose LTS from boot menu as it is not replacing the default kernel, there must be a second entry for Antergos linux-lts, on Antergos Grub Menu it is inside submenu under “Advanced Options”

  • @joekamprad You are awesome

    I installed the headers, then reinstalled the lts kernel, and then the DKMS modules were installed ok.

    then I run

    $ sudo grub-mkconfig -o /boot/grub/grub.cfg
    [sudo] password for sas: 
    Generating grub configuration file ...
    Found theme: /usr/share/grub/themes/manjaro/theme.txt
    Found linux image: /boot/vmlinuz-4.19-x86_64
    Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
    Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
    Found Antergos Linux on /dev/sda2
    Found Ubuntu 18.10 (18.10) on /dev/sda3
    Found Ubuntu 18.04.1 LTS (18.04) on /dev/sda5
    Found memtest86+ image: /boot/memtest86+/memtest.bin
    done
    

    (You are right, I installed grub from my manjaro partition)

    then I run

    grub-install --target=i386-pc /dev/sda
    

    and reboot…

    In the grub main menu I have the following entries for antergos:

    Antergos Linux (on /dev/sda2)
    Advanced options for Antergos Linux (on /dev/sda2)
    

    On Advanced options , I have the following

    Antergos Linux (on /dev/sda2)
    Antergos Linux (on /dev/sda2)
    Antergos Linux - Fallback (on /dev/sda2)
    

    I tried with them all (if I edit selection they all look the same to me) and they all hang up…

    I guess it’s not taking the lts kernel into account

  • @opensas

    sudo fdisk -l
    lsblk -fm
    
  • It is also a known Bug that grub do not generate working entries for arch based systems, special if you are doing this from one archdistro for another

  • @joekamprad said in Mouse and keyboard doesn't work upon graphic boot:

    It is also a known Bug that grub do not generate working entries for arch based systems, soecial if you are doing this from one archdistro for anotger

    So do you think I should boot with an antergos live usb, arch-chroot into the antergos partition and install grub from there???

  • @opensas yes … but can make your Manjaro not booting then… so you may need to chroot into manjaro then to recover manjaro grub…

  • @manuel

    $ sudo fdisk -l
    Disk /dev/sda: 447,1 GiB, 480103981056 bytes, 937703088 sectors
    Disk model: KINGSTON SV300S3
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x2c4b53f9
    
    Device     Boot     Start       End   Sectors   Size Id Type
    /dev/sda1            2048  40962047  40960000  19,5G 83 Linux
    /dev/sda2        40962048  81922047  40960000  19,5G 83 Linux
    /dev/sda3  *     81922048 122882985  40960938  19,5G 83 Linux
    /dev/sda4       122884094 937701612 814817519 388,5G  5 Extended
    /dev/sda5       122884096 163845033  40960938  19,5G 83 Linux
    /dev/sda6       163846144 937701612 773855469   369G 83 Linux
    [[email protected] ~]$ lsblk -fm
    NAME   FSTYPE LABEL    UUID                                 FSAVAIL FSUSE% MOUNTPOINT        SIZE OWNER GROUP MODE
    sda                                                                                        447,1G             brw-rw----
    ├─sda1 ext4   manjaro  d229df3d-45a8-42cd-b274-b6728907e33e   10,4G    40% /                19,5G             brw-rw----
    ├─sda2 ext4   antergos fbecd582-7e7a-4b6f-8460-09121400187c    3,6G    80% /media/antergos  19,5G             brw-rw----
    ├─sda3 ext4   kubuntu  6163b6c5-5305-4bae-b9f6-275fe8f01db4   10,5G    40% /media/kubuntu   19,5G             brw-rw----
    ├─sda4                                                                                         1K             brw-rw----
    ├─sda5 ext4   bionic   32016000-1376-4e32-9b86-abe47b11a65e    7,7G    55% /media/bionic    19,5G             brw-rw----
    └─sda6 ext4   data     a0f469f3-ffc4-4956-882f-0e058d9e7d86   48,2G    82% /media/data       369G             brw-rw----
    [[email protected] ~]$ 
    
  • @joekamprad ok I’ll try with this

    mount /dev/sda2 /mnt
    # arch-chroot /mnt
    # grub-mkconfig -o /boot/grub/grub.cfg
    # grub-install --target=i386-pc /dev/sda
    # exit
    

    I’ll keep my fingers crossed

    source: https://antergos.com/wiki/miscellaneous/how-to-fix-grub-with-bios-boot/

  • @opensas
    If you still have grub booting problems, check file /boot/grub/grub.cfg in the system that is in control of booting (manjaro or antergos?).
    In that file, check the lines that start with the word initrd.
    If you see lines like

    initrd	/boot/intel-ucode.img
    

    then those lines are missing the initramfs parameter. Instead they should look like

    initrd	/boot/intel-ucode.img /boot/initramfs-linux-lts.img
    

    depending on your kernels, of course.

    Note that you can write a new file /boot/grub/custom.cfg where you can simply copy some fixed menu entries from /boot/grub/grub.cfg. That may provide a permanent workaround/solution for grub boot problems.
    This thread provides some backgound: https://forum.antergos.com/topic/9039/grub-boot-examples-custom-cfg

  • @manuel @joekamprad

    That’s it! I’m writing this from my antergos box

    I installed grub after chrooting into my antergos partition from an antergos liveusb, and I could finally boot the lts kernel.

    It seems grub causes far too many troubles.

    Now I cannot boot my manjaro partition, the only option working is the fallback option:

            menuentry 'Manjaro Linux (Kernel 4.19.20-1-MANJARO x64 - fallback initramfs) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'ospro$
                    savedefault
                    insmod part_msdos
                    insmod ext2
                    set root='hd0,msdos1'
                    if [ x$feature_platform_search_hint = xy ]; then
                      search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//[email protected],msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,m$
                    else
                      search --no-floppy --fs-uuid --set=root d229df3d-45a8-42cd-b274-b6728907e33e
                    fi
                    linux /boot/vmlinuz-4.19-x86_64 root=UUID=d229df3d-45a8-42cd-b274-b6728907e33e rw quiet
                    initrd /boot/initramfs-4.19-x86_64-fallback.img
            }
    

    here’s my whole /boot/grub/grub.cfg file.

    (BTW, have I told you how great this little eat utility is?)

    I’ll read a bit more about initramfs

    I already uninstalled grub from my ubuntu boxes (sudo apt purge grub*) to prevent them from messing with my grub conf, do you know how should I do the same with manjaro???

    I’d like to tweak the grub config to come out with a working grub.cfg file and then making sure no one messes with it anymore

  • You can add a custom grub entry inside Antergos for manjaro reading by grub and added to grub.cfg when let grub cteate/recreate it…

boot320 mouse69 input15 keyboad2 Posts 23Views 176
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.