[SOLVED] Upgraded to Mageia 7, cannot use any 5 kernel

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Upgraded to Mageia 7, cannot use any 5 kernel

Postby canadaist » Sep 4th, '19, 19:42

To upgrade, I changed repositories to 7, upgraded the system, all went well, but new kernel fails moments after the first text to screen, even in failsafe, it wont even go to a CLI. I am assuming it is not loading the kernel, but I dont know where to look.
AMD Ryzen 1500, AMD radeon rx 460 using amdgpu

My legacy 4. kernels work fine, but this has gone on too long. I waited for new kernels as if it might help.

I've tried four "5." kernels, all failing at the same point, very early, and so it is probably, maybe, something in grub2 which I know nothing about.

I am again grateful for any assistance, I've watched and searched amd see no other similar outcomes.

\My first thought is the writing of grub might be different in 7, and it configures the new grub lines wrong...
What can I offer as information to this problem?
Last edited by canadaist on Oct 7th, '19, 22:24, edited 1 time in total.
canadaist
 
Posts: 127
Joined: May 7th, '11, 17:28

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby doktor5000 » Sep 4th, '19, 22:53

It would help if you could post the output of the following

Code: Select all
lspcidrake -v
ls -al /boot
rpm -qa|grep -iE "kernel|grub"|sort
cat /boot/grub2/grub.cfg
cat /etc/default/grub


and also a screenshot (with a camera or smartphone or so) of what it looks like when you boot one of the 5.x kernels.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 15140
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby canadaist » Sep 5th, '19, 20:02

Thanks Dok.




lspcidrake -v
Code: Select all
r8169           : Realtek Semiconductor Co., Ltd.|RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [NETWORK_ETHERNET] (vendor:10ec device:8168 subv:1043 subd:8677) (rev: 15)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5 [BRIDGE_HOST] (vendor:1022 device:1465)
shpchp          : Advanced Micro Devices, Inc. [AMD]|300 Series Chipset PCIe Port [BRIDGE_PCI] (vendor:1022 device:43b4) (rev: 02)
i2c_piix4       : Advanced Micro Devices, Inc. [AMD]|FCH SMBus Controller [SERIAL_SMBUS] (vendor:1022 device:790b subv:1043 subd:8747) (rev: 59)
xhci_pci        : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-0fh) USB 3.0 Host Controller [SERIAL_USB] (vendor:1022 device:145c subv:1043 subd:8747)
shpchp          : Advanced Micro Devices, Inc. [AMD]|Device 43b2 [BRIDGE_PCI] (vendor:1022 device:43b2) (rev: 02)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7 [BRIDGE_HOST] (vendor:1022 device:1467)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [BRIDGE_HOST] (vendor:1022 device:1452)
shpchp          : Advanced Micro Devices, Inc. [AMD]|300 Series Chipset PCIe Port [BRIDGE_PCI] (vendor:1022 device:43b4) (rev: 02)
shpchp          : ASMedia Technology Inc.|ASM1083/1085 PCIe to PCI Bridge [BRIDGE_PCI] (vendor:1b21 device:1080) (rev: 04)
shpchp          : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B [BRIDGE_PCI] (vendor:1022 device:1454)
snd_hda_intel   : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-0fh) HD Audio Controller [MULTIMEDIA_AUDIO_DEV] (vendor:1022 device:1457 subv:1043 subd:86c7)
Card:ATI Volcanic Islands and later (amdgpu/fglrx): Advanced Micro Devices, Inc. [AMD/ATI]|Baffin [Radeon RX 460/560D / Pro 450/455/460/555/555X/560/560X] [DISPLAY_VGA] (vendor:1002 device:67ef subv:174b subd:e348) (rev: cf)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0 [BRIDGE_HOST] (vendor:1022 device:1460)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2 [BRIDGE_HOST] (vendor:1022 device:1462)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [BRIDGE_HOST] (vendor:1022 device:1452)
unknown         : Advanced Micro Devices, Inc. [AMD]|Zeppelin/Raven/Raven2 PCIe Dummy Function (vendor:1022 device:145a)
shpchp          : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-0fh) PCIe GPP Bridge [BRIDGE_PCI] (vendor:1022 device:1453)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4 [BRIDGE_HOST] (vendor:1022 device:1464)
shpchp          : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B [BRIDGE_PCI] (vendor:1022 device:1454)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-0fh) Root Complex [BRIDGE_HOST] (vendor:1022 device:1450 subv:1043 subd:8719)
ccp             : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-0fh) Platform Security Processor [CRYPT_OTHER] (vendor:1022 device:1456)
unknown         : Advanced Micro Devices, Inc. [AMD]|300 Series Chipset SATA Controller [STORAGE_SATA] (vendor:1022 device:43b7 subv:1b21 subd:1062) (rev: 02)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6 [BRIDGE_HOST] (vendor:1022 device:1466)
unknown         : Advanced Micro Devices, Inc. [AMD]|Zeppelin/Renoir PCIe Dummy Function (vendor:1022 device:1455)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [BRIDGE_HOST] (vendor:1022 device:1452)
unknown         : Advanced Micro Devices, Inc. [AMD]|FCH SATA Controller [AHCI mode] [STORAGE_SATA] (vendor:1022 device:7901 subv:1043 subd:8747) (rev: 51)
unknown         : Advanced Micro Devices, Inc. [AMD]|FCH LPC Bridge [BRIDGE_ISA] (vendor:1022 device:790e subv:1043 subd:8747) (rev: 51)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [BRIDGE_HOST] (vendor:1022 device:1452)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [BRIDGE_HOST] (vendor:1022 device:1452)
snd_hda_intel   : Advanced Micro Devices, Inc. [AMD/ATI]|Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] [MULTIMEDIA_AUDIO_DEV] (vendor:1002 device:aae0 subv:174b subd:aae0)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1 [BRIDGE_HOST] (vendor:1022 device:1461)
shpchp          : Advanced Micro Devices, Inc. [AMD]|300 Series Chipset PCIe Port [BRIDGE_PCI] (vendor:1022 device:43b4) (rev: 02)
k10temp         : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3 [BRIDGE_HOST] (vendor:1022 device:1463)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [BRIDGE_HOST] (vendor:1022 device:1452)
shpchp          : Advanced Micro Devices, Inc. [AMD]|Family 17h (Models 00h-0fh) PCIe GPP Bridge [BRIDGE_PCI] (vendor:1022 device:1453)
xhci_pci        : Advanced Micro Devices, Inc. [AMD]|300 Series Chipset USB 3.1 xHCI Controller [SERIAL_USB] (vendor:1022 device:43bb subv:1b21 subd:1142) (rev: 02)
hub             : Linux 4.14.131-desktop-1.mga6 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
usbhid          : Logitech|USB Receiver [Human Interface Device|Boot Interface Subclass|Keyboard] (vendor:046d device:c52b)
hub             : Linux 4.14.131-desktop-1.mga6 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0003)
hub             : Linux 4.14.131-desktop-1.mga6 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
usbhid          : MOSART Semi.|2.4G Wireless Mouse [Human Interface Device|Boot Interface Subclass|Mouse] (vendor:062a device:4102)
hub             : Linux 4.14.131-desktop-1.mga6 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0003)
hid_generic     : Logitech M215 2nd Gen
hid_generic     : Logitech USB Receiver
hid_generic     : Logitech K330
hid_generic     : Logitech USB Receiver
hid_generic     : MOSART Semi. 2.4G Wireless Mouse
hid_generic     : Logitech USB Receiver


ls -al /boot
Code: Select all
total 213180
drwxr-xr-x  5 root root     4096 Sep  4 13:26 ./
drwxr-xr-x 28 root root     4096 Jul 21 14:50 ../
-rw-r--r--  1 root root   208406 May 14 16:27 config-4.14.119-desktop-1.mga6
-rw-r--r--  1 root root   208406 May 22 09:31 config-4.14.121-desktop-1.mga6
-rw-r--r--  1 root root   208442 Jun 27 08:25 config-4.14.131-desktop-1.mga6
-rw-r--r--  1 root root   218212 Jul 14 07:35 config-5.1.18-desktop-1.mga7
-rw-r--r--  1 root root   218292 Jul 26 22:20 config-5.1.20-desktop-2.mga7
-rw-r--r--  1 root root   227073 Aug 25 16:30 config-5.2.10-desktop-1.mga7
-rw-r--r--  1 root root   227072 Aug  7 09:12 config-5.2.7-desktop-1.mga7
drwxr-xr-x  2 root root     4096 Mar 26 17:33 dracut/
drwxrwxrwx  3 root root     4096 Dec 31  1969 EFI/
-rwxr-xr-x  1 root root   581120 Jul 21 14:54 gfxmenu*
drwxr-xr-x  6 root root     4096 Sep  4 13:26 grub2/
-rw-------  1 root root 15950522 May 16 07:56 initrd-4.14.119-desktop-1.mga6.img
-rw-------  1 root root 15982730 Jul 19 16:33 initrd-4.14.121-desktop-1.mga6.img
-rw-------  1 root root 19978115 Jul 21 15:10 initrd-4.14.131-desktop-1.mga6.img
-rw-------  1 root root 23037670 Jul 21 14:53 initrd-5.1.18-desktop-1.mga7.img
-rw-------  1 root root 23778719 Aug  3 22:51 initrd-5.1.20-desktop-2.mga7.img
-rw-------  1 root root 23832133 Sep  4 13:26 initrd-5.2.10-desktop-1.mga7.img
-rw-------  1 root root 23831501 Aug 15 16:16 initrd-5.2.7-desktop-1.mga7.img
lrwxrwxrwx  1 root root       32 Sep  4 13:26 initrd-desktop.img -> initrd-5.2.10-desktop-1.mga7.img
lrwxrwxrwx  1 root root       32 Sep  4 13:26 initrd.img -> initrd-5.2.10-desktop-1.mga7.img
-rw-r--r--  1 root root   181640 May 14 16:27 symvers-4.14.119-desktop-1.mga6.xz
-rw-r--r--  1 root root   181636 May 22 09:31 symvers-4.14.121-desktop-1.mga6.xz
-rw-r--r--  1 root root   181628 Jun 27 08:25 symvers-4.14.131-desktop-1.mga6.xz
-rw-r--r--  1 root root   186088 Jul 14 07:35 symvers-5.1.18-desktop-1.mga7.xz
-rw-r--r--  1 root root   186192 Jul 26 22:20 symvers-5.1.20-desktop-2.mga7.xz
-rw-r--r--  1 root root   189236 Aug 25 16:30 symvers-5.2.10-desktop-1.mga7.xz
-rw-r--r--  1 root root   189212 Aug  7 09:12 symvers-5.2.7-desktop-1.mga7.xz
-rw-r--r--  1 root root  3477817 May 14 16:27 System.map-4.14.119-desktop-1.mga6
-rw-r--r--  1 root root  3477685 May 22 09:31 System.map-4.14.121-desktop-1.mga6
-rw-r--r--  1 root root  3478251 Jun 27 08:25 System.map-4.14.131-desktop-1.mga6
-rw-r--r--  1 root root  3979062 Jul 14 07:35 System.map-5.1.18-desktop-1.mga7
-rw-r--r--  1 root root  4030778 Jul 26 22:20 System.map-5.1.20-desktop-2.mga7
-rw-r--r--  1 root root  4091457 Aug 25 16:30 System.map-5.2.10-desktop-1.mga7
-rw-r--r--  1 root root  4090537 Aug  7 09:12 System.map-5.2.7-desktop-1.mga7
lrwxrwxrwx  1 root root       29 Sep  4 13:26 vmlinuz -> vmlinuz-5.2.10-desktop-1.mga7
-rw-r--r--  1 root root  5505856 May 14 16:27 vmlinuz-4.14.119-desktop-1.mga6
-rw-r--r--  1 root root  5507200 May 22 09:31 vmlinuz-4.14.121-desktop-1.mga6
-rw-r--r--  1 root root  5507232 Jun 27 08:25 vmlinuz-4.14.131-desktop-1.mga6
-rw-r--r--  1 root root  6257024 Jul 14 07:35 vmlinuz-5.1.18-desktop-1.mga7
-rw-r--r--  1 root root  6285696 Jul 26 22:20 vmlinuz-5.1.20-desktop-2.mga7
-rw-r--r--  1 root root  6359424 Aug 25 16:30 vmlinuz-5.2.10-desktop-1.mga7
-rw-r--r--  1 root root  6359424 Aug  7 09:12 vmlinuz-5.2.7-desktop-1.mga7
lrwxrwxrwx  1 root root       29 Sep  4 13:26 vmlinuz-desktop -> vmlinuz-5.2.10-desktop-1.mga7


rpm -qa|grep -iE "kernel|grub"|sort
Code: Select all
grub2-common-2.02.0-15.mga7
grub2-efi-2.02.0-15.mga7
grub2-mageia-theme-2.02.0-15.mga7
kernel-desktop-4.14.119-1.mga6-1-1.mga6
kernel-desktop-4.14.121-1.mga6-1-1.mga6
kernel-desktop-4.14.131-1.mga6-1-1.mga6
kernel-desktop-5.1.18-1.mga7-1-1.mga7
kernel-desktop-5.1.20-2.mga7-1-1.mga7
kernel-desktop-5.2.10-1.mga7-1-1.mga7
kernel-desktop-5.2.7-1.mga7-1-1.mga7
kernel-desktop-latest-5.2.10-1.mga7
kernel-firmware-20190603-1.mga7
kernel-firmware-nonfree-20190709-1.mga7.nonfree


cat /boot/grub2/grub.cfg
Code: Select all
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set pager=1

if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  af3d58ff-5108-4468-bcb0-49abb4c0326b
else
  search --no-floppy --fs-uuid --set=root af3d58ff-5108-4468-bcb0-49abb4c0326b
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=1024x768x32
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_CA
  insmod gettext
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  af3d58ff-5108-4468-bcb0-49abb4c0326b
else
  search --no-floppy --fs-uuid --set=root af3d58ff-5108-4468-bcb0-49abb4c0326b
fi
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/maggy/MageiaLogo-Bold-16.pf2
loadfont ($root)/boot/grub2/themes/maggy/MageiaLogo-Bold-20.pf2
loadfont ($root)/boot/grub2/themes/maggy/MageiaLogo-Bold-28.pf2
loadfont ($root)/boot/grub2/themes/maggy/MageiaLogo-Regular-20.pf2
insmod png
set theme=($root)/boot/grub2/themes/maggy/theme.txt
export theme
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/01_users ###
if [ -f ${prefix}/user.cfg ]; then
  source ${prefix}/user.cfg
  if [ -n "${GRUB2_PASSWORD}" ]; then
    set superusers="root"
    export superusers
    password_pbkdf2 root ${GRUB2_PASSWORD}
  fi
fi
### END /etc/grub.d/01_users ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Mageia' --class mageia --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-simple-af3d58ff-5108-4468-bcb0-49abb4c0326b' {
        savedefault
        load_video
        set gfxpayload=auto
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  af3d58ff-5108-4468-bcb0-49abb4c0326b
        else
          search --no-floppy --fs-uuid --set=root af3d58ff-5108-4468-bcb0-49abb4c0326b
        fi
        linuxefi /boot/vmlinuz-5.2.10-desktop-1.mga7 root=UUID=af3d58ff-5108-4468-bcb0-49abb4c0326b ro  splash quiet noiswmd resume=UUID=b80a76b4-5442-4ba5-b667-d3d7747d0c78 audit=0
        initrdefi /boot/initrd-5.2.10-desktop-1.mga7.img
}
submenu 'Advanced options for Mageia' $menuentry_id_option 'gnulinux-advanced-af3d58ff-5108-4468-bcb0-49abb4c0326b' {
        menuentry 'Mageia (5.2.10-desktop-1.mga7) 7' --class mageia --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-5.2.10-desktop-1.mga7-advanced-af3d58ff-5108-4468-bcb0-49abb4c0326b' {
        savedefault
                load_video
                set gfxpayload=auto
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  af3d58ff-5108-4468-bcb0-49abb4c0326b
                else
                  search --no-floppy --fs-uuid --set=root af3d58ff-5108-4468-bcb0-49abb4c0326b
                fi
                linuxefi /boot/vmlinuz-5.2.10-desktop-1.mga7 root=UUID=af3d58ff-5108-4468-bcb0-49abb4c0326b ro  splash quiet noiswmd resume=UUID=b80a76b4-5442-4ba5-b667-d3d7747d0c78 audit=0
                initrdefi /boot/initrd-5.2.10-desktop-1.mga7.img
        }
        menuentry 'Mageia (5.2.10-desktop-1.mga7) 7 (recovery mode)' --class mageia --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-5.2.10-desktop-1.mga7-recovery-af3d58ff-5108-4468-bcb0-49abb4c0326b' {
                load_video
                set gfxpayload=auto
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  af3d58ff-5108-4468-bcb0-49abb4c0326b
                else
                  search --no-floppy --fs-uuid --set=root af3d58ff-5108-4468-bcb0-49abb4c0326b
                fi
                linuxefi /boot/vmlinuz-5.2.10-desktop-1.mga7 root=UUID=af3d58ff-5108-4468-bcb0-49abb4c0326b ro failsafe
                initrdefi /boot/initrd-5.2.10-desktop-1.mga7.img
        }
        menuentry 'Mageia (5.2.7-desktop-1.mga7) 7' --class mageia --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-5.2.7-desktop-1.mga7-advanced-af3d58ff-5108-4468-bcb0-49abb4c0326b' {
        savedefault
                load_video
                set gfxpayload=auto
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  af3d58ff-5108-4468-bcb0-49abb4c0326b
                else
                  search --no-floppy --fs-uuid --set=root af3d58ff-5108-4468-bcb0-49abb4c0326b
                fi
                linuxefi /boot/vmlinuz-5.2.7-desktop-1.mga7 root=UUID=af3d58ff-5108-4468-bcb0-49abb4c0326b ro  splash quiet noiswmd resume=UUID=b80a76b4-5442-4ba5-b667-d3d7747d0c78 audit=0
                initrdefi /boot/initrd-5.2.7-desktop-1.mga7.img
        }
        menuentry 'Mageia (5.2.7-desktop-1.mga7) 7 (recovery mode)' --class mageia --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-5.2.7-desktop-1.mga7-recovery-af3d58ff-5108-4468-bcb0-49abb4c0326b' {
                load_video
                set gfxpayload=auto
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  af3d58ff-5108-4468-bcb0-49abb4c0326b
                else
                  search --no-floppy --fs-uuid --set=root af3d58ff-5108-4468-bcb0-49abb4c0326b
                fi
                linuxefi /boot/vmlinuz-5.2.7-desktop-1.mga7 root=UUID=af3d58ff-5108-4468-bcb0-49abb4c0326b ro failsafe
                initrdefi /boot/initrd-5.2.7-desktop-1.mga7.img
        }
        menuentry 'Mageia (5.1.20-desktop-2.mga7) 7' --class mageia --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-5.1.20-desktop-2.mga7-advanced-af3d58ff-5108-4468-bcb0-49abb4c0326b' {
        savedefault
                load_video
                set gfxpayload=auto
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  af3d58ff-5108-4468-bcb0-49abb4c0326b
                else
                  search --no-floppy --fs-uuid --set=root af3d58ff-5108-4468-bcb0-49abb4c0326b
                fi
                linuxefi /boot/vmlinuz-5.1.20-desktop-2.mga7 root=UUID=af3d58ff-5108-4468-bcb0-49abb4c0326b ro  splash quiet noiswmd resume=UUID=b80a76b4-5442-4ba5-b667-d3d7747d0c78 audit=0
                initrdefi /boot/initrd-5.1.20-desktop-2.mga7.img
        }
        menuentry 'Mageia (5.1.20-desktop-2.mga7) 7 (recovery mode)' --class mageia --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-5.1.20-desktop-2.mga7-recovery-af3d58ff-5108-4468-bcb0-49abb4c0326b' {
                load_video
                set gfxpayload=auto
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  af3d58ff-5108-4468-bcb0-49abb4c0326b
                else
                  search --no-floppy --fs-uuid --set=root af3d58ff-5108-4468-bcb0-49abb4c0326b
                fi
                linuxefi /boot/vmlinuz-5.1.20-desktop-2.mga7 root=UUID=af3d58ff-5108-4468-bcb0-49abb4c0326b ro failsafe
                initrdefi /boot/initrd-5.1.20-desktop-2.mga7.img
        }
        menuentry 'Mageia (5.1.18-desktop-1.mga7) 7' --class mageia --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-5.1.18-desktop-1.mga7-advanced-af3d58ff-5108-4468-bcb0-49abb4c0326b' {
        savedefault
                load_video
                set gfxpayload=auto
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  af3d58ff-5108-4468-bcb0-49abb4c0326b
                else
                  search --no-floppy --fs-uuid --set=root af3d58ff-5108-4468-bcb0-49abb4c0326b
                fi
                linuxefi /boot/vmlinuz-5.1.18-desktop-1.mga7 root=UUID=af3d58ff-5108-4468-bcb0-49abb4c0326b ro  splash quiet noiswmd resume=UUID=b80a76b4-5442-4ba5-b667-d3d7747d0c78 audit=0
                initrdefi /boot/initrd-5.1.18-desktop-1.mga7.img
        }
        menuentry 'Mageia (5.1.18-desktop-1.mga7) 7 (recovery mode)' --class mageia --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-5.1.18-desktop-1.mga7-recovery-af3d58ff-5108-4468-bcb0-49abb4c0326b' {
                load_video
                set gfxpayload=auto
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  af3d58ff-5108-4468-bcb0-49abb4c0326b
                else
                  search --no-floppy --fs-uuid --set=root af3d58ff-5108-4468-bcb0-49abb4c0326b
                fi
                linuxefi /boot/vmlinuz-5.1.18-desktop-1.mga7 root=UUID=af3d58ff-5108-4468-bcb0-49abb4c0326b ro failsafe
                initrdefi /boot/initrd-5.1.18-desktop-1.mga7.img
        }
        menuentry 'Mageia (4.14.131-desktop-1.mga6) 7' --class mageia --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.14.131-desktop-1.mga6-advanced-af3d58ff-5108-4468-bcb0-49abb4c0326b' {
        savedefault
                load_video
                set gfxpayload=auto
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  af3d58ff-5108-4468-bcb0-49abb4c0326b
                else
                  search --no-floppy --fs-uuid --set=root af3d58ff-5108-4468-bcb0-49abb4c0326b
                fi
                linuxefi /boot/vmlinuz-4.14.131-desktop-1.mga6 root=UUID=af3d58ff-5108-4468-bcb0-49abb4c0326b ro  splash quiet noiswmd resume=UUID=b80a76b4-5442-4ba5-b667-d3d7747d0c78 audit=0
                initrdefi /boot/initrd-4.14.131-desktop-1.mga6.img
        }
        menuentry 'Mageia (4.14.131-desktop-1.mga6) 7 (recovery mode)' --class mageia --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.14.131-desktop-1.mga6-recovery-af3d58ff-5108-4468-bcb0-49abb4c0326b' {
                load_video
                set gfxpayload=auto
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  af3d58ff-5108-4468-bcb0-49abb4c0326b
                else
                  search --no-floppy --fs-uuid --set=root af3d58ff-5108-4468-bcb0-49abb4c0326b
                fi
                linuxefi /boot/vmlinuz-4.14.131-desktop-1.mga6 root=UUID=af3d58ff-5108-4468-bcb0-49abb4c0326b ro failsafe
                initrdefi /boot/initrd-4.14.131-desktop-1.mga6.img
        }
        menuentry 'Mageia (4.14.121-desktop-1.mga6) 7' --class mageia --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.14.121-desktop-1.mga6-advanced-af3d58ff-5108-4468-bcb0-49abb4c0326b' {
        savedefault
                load_video
                set gfxpayload=auto
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  af3d58ff-5108-4468-bcb0-49abb4c0326b
                else
                  search --no-floppy --fs-uuid --set=root af3d58ff-5108-4468-bcb0-49abb4c0326b
                fi
                linuxefi /boot/vmlinuz-4.14.121-desktop-1.mga6 root=UUID=af3d58ff-5108-4468-bcb0-49abb4c0326b ro  splash quiet noiswmd resume=UUID=b80a76b4-5442-4ba5-b667-d3d7747d0c78 audit=0
                initrdefi /boot/initrd-4.14.121-desktop-1.mga6.img
        }
        menuentry 'Mageia (4.14.121-desktop-1.mga6) 7 (recovery mode)' --class mageia --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.14.121-desktop-1.mga6-recovery-af3d58ff-5108-4468-bcb0-49abb4c0326b' {
                load_video
                set gfxpayload=auto
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  af3d58ff-5108-4468-bcb0-49abb4c0326b
                else
                  search --no-floppy --fs-uuid --set=root af3d58ff-5108-4468-bcb0-49abb4c0326b
                fi
                linuxefi /boot/vmlinuz-4.14.121-desktop-1.mga6 root=UUID=af3d58ff-5108-4468-bcb0-49abb4c0326b ro failsafe
                initrdefi /boot/initrd-4.14.121-desktop-1.mga6.img
        }
        menuentry 'Mageia (4.14.119-desktop-1.mga6) 7' --class mageia --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.14.119-desktop-1.mga6-advanced-af3d58ff-5108-4468-bcb0-49abb4c0326b' {
        savedefault
                load_video
                set gfxpayload=auto
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  af3d58ff-5108-4468-bcb0-49abb4c0326b
                else
                  search --no-floppy --fs-uuid --set=root af3d58ff-5108-4468-bcb0-49abb4c0326b
                fi
                linuxefi /boot/vmlinuz-4.14.119-desktop-1.mga6 root=UUID=af3d58ff-5108-4468-bcb0-49abb4c0326b ro  splash quiet noiswmd resume=UUID=b80a76b4-5442-4ba5-b667-d3d7747d0c78 audit=0
                initrdefi /boot/initrd-4.14.119-desktop-1.mga6.img
        }
        menuentry 'Mageia (4.14.119-desktop-1.mga6) 7 (recovery mode)' --class mageia --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.14.119-desktop-1.mga6-recovery-af3d58ff-5108-4468-bcb0-49abb4c0326b' {
                load_video
                set gfxpayload=auto
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  af3d58ff-5108-4468-bcb0-49abb4c0326b
                else
                  search --no-floppy --fs-uuid --set=root af3d58ff-5108-4468-bcb0-49abb4c0326b
                fi
                linuxefi /boot/vmlinuz-4.14.119-desktop-1.mga6 root=UUID=af3d58ff-5108-4468-bcb0-49abb4c0326b ro failsafe
                initrdefi /boot/initrd-4.14.119-desktop-1.mga6.img
        }
        menuentry 'Mageia (desktop) 7' --class mageia --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-desktop-advanced-af3d58ff-5108-4468-bcb0-49abb4c0326b' {
        savedefault
                load_video
                set gfxpayload=auto
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  af3d58ff-5108-4468-bcb0-49abb4c0326b
                else
                  search --no-floppy --fs-uuid --set=root af3d58ff-5108-4468-bcb0-49abb4c0326b
                fi
                linuxefi /boot/vmlinuz-desktop root=UUID=af3d58ff-5108-4468-bcb0-49abb4c0326b ro  splash quiet noiswmd resume=UUID=b80a76b4-5442-4ba5-b667-d3d7747d0c78 audit=0
                initrdefi /boot/initrd-desktop.img
        }
        menuentry 'Mageia (desktop) 7 (recovery mode)' --class mageia --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-desktop-recovery-af3d58ff-5108-4468-bcb0-49abb4c0326b' {
                load_video
                set gfxpayload=auto
                insmod gzio
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  af3d58ff-5108-4468-bcb0-49abb4c0326b
                else
                  search --no-floppy --fs-uuid --set=root af3d58ff-5108-4468-bcb0-49abb4c0326b
                fi
                linuxefi /boot/vmlinuz-desktop root=UUID=af3d58ff-5108-4468-bcb0-49abb4c0326b ro failsafe
                initrdefi /boot/initrd-desktop.img
        }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###


cat /etc/default/grub
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="splash quiet noiswmd resume=UUID=b80a76b4-5442-4ba5-b667-d3d7747d0c78 audit=0"
GRUB_DEFAULT=saved
GRUB_DISABLE_OS_PROBER=false
GRUB_DISABLE_RECOVERY=false
GRUB_DISABLE_SUBMENU=n
GRUB_DISTRIBUTOR=Mageia
GRUB_ENABLE_CRYPTODISK=y
GRUB_GFXMODE=1024x768x32
GRUB_GFXPAYLOAD_LINUX=auto
GRUB_SAVEDEFAULT=true
GRUB_TERMINAL_OUTPUT=gfxterm
GRUB_THEME=/boot/grub2/themes/maggy/theme.txt
GRUB_TIMEOUT=10
canadaist
 
Posts: 127
Joined: May 7th, '11, 17:28

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby canadaist » Sep 5th, '19, 20:37

This is the screenshot. Hard time getting it uplaoded
Screenshot_20190905-151340.jpg
This is the screenshot. Hard time getting it uplaoded
Screenshot_20190905-151340.jpg (191.69 KiB) Viewed 700 times
canadaist
 
Posts: 127
Joined: May 7th, '11, 17:28

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby doktor5000 » Sep 6th, '19, 12:09

Have a look at https://superuser.com/questions/1052023 ... ivrs-table or https://ubuntuforums.org/showthread.php?t=2254677 and see if there's a BIOS upgrade for your mainboard. Those links also describes how to workaround the broken BIOS and how to enable iommu. You can also try disabling IOMMU in BIOS / UEFI temporarily as described there to see if that helps.

You can also try various kernel boot options like iommu=soft as described in viewtopic.php?f=26&t=12446
Also have a look at viewtopic.php?f=41&t=6936
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 15140
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby canadaist » Sep 6th, '19, 16:06

Thanks Dok, lots of reading to do.
canadaist
 
Posts: 127
Joined: May 7th, '11, 17:28

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby canadaist » Sep 6th, '19, 17:51

I find little on whether a bios flash will do anything.
I turned IOMMU on in bios, did nothing to help boot a "5." kernel. Also it has not in this short time seemed to affect the "4." kernels from operating fine.

I think that unless or until I replace the motherboard my best bet from reading (and watching videos) is turning iommu off again, and altering grub to read iommu=soft at some point in the file (?? never done this before) logging out, ctl-alt f2, logging in as root as doing a "grub-update" before rebooting.

Does this sound right?

The syntax of adding the
Code: Select all
 iommu=soft
to which grub (grub2?) file, is not in my wheelhouse yet. Would love some detailed help doing that.
canadaist
 
Posts: 127
Joined: May 7th, '11, 17:28

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby doktor5000 » Sep 7th, '19, 15:30

It's not necessary to put it in some file yet, you just need to try it out to see if it improves anything at all.
This and also the permanent part is briefly described here: https://wiki.mageia.org/en/How_to_set_u ... t_Loader_2
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 15140
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby canadaist » Sep 17th, '19, 19:29

OK, I flashed the bios, and it is clear that the 4point kernel uses iommum and dmseg -k says (among many other things)
Code: Select all
[    0.497228] AMD-Vi: IOMMU performance counters supported
[    0.497637] iommu: Adding device 0000:00:01.0 to group 0
[    0.497832] iommu: Adding device 0000:00:01.3 to group 1
[    0.498031] iommu: Adding device 0000:00:02.0 to group 2
[    0.498203] iommu: Adding device 0000:00:03.0 to group 3
[    0.498365] iommu: Adding device 0000:00:03.1 to group 4
[    0.498541] iommu: Adding device 0000:00:04.0 to group 5
[    0.498701] iommu: Adding device 0000:00:07.0 to group 6
[    0.498878] iommu: Adding device 0000:00:07.1 to group 7
[    0.499050] iommu: Adding device 0000:00:08.0 to group 8
[    0.499220] iommu: Adding device 0000:00:08.1 to group 9
[    0.499380] iommu: Adding device 0000:00:14.0 to group 10
[    0.499392] iommu: Adding device 0000:00:14.3 to group 10
[    0.499587] iommu: Adding device 0000:00:18.0 to group 11
[    0.499597] iommu: Adding device 0000:00:18.1 to group 11
[    0.499607] iommu: Adding device 0000:00:18.2 to group 11
[    0.499616] iommu: Adding device 0000:00:18.3 to group 11
[    0.499627] iommu: Adding device 0000:00:18.4 to group 11
[    0.499637] iommu: Adding device 0000:00:18.5 to group 11
[    0.499648] iommu: Adding device 0000:00:18.6 to group 11
[    0.499659] iommu: Adding device 0000:00:18.7 to group 11
[    0.499832] iommu: Adding device 0000:01:00.0 to group 12
[    0.499851] iommu: Adding device 0000:01:00.1 to group 12
[    0.499869] iommu: Adding device 0000:01:00.2 to group 12
[    0.499879] iommu: Adding device 0000:02:00.0 to group 12
[    0.499888] iommu: Adding device 0000:02:01.0 to group 12
[    0.499898] iommu: Adding device 0000:02:04.0 to group 12
[    0.499916] iommu: Adding device 0000:03:00.0 to group 12
[    0.499926] iommu: Adding device 0000:04:00.0 to group 12
[    0.500142] iommu: Adding device 0000:07:00.0 to group 13
[    0.500173] iommu: Using direct mapping for device 0000:07:00.0
[    0.500197] iommu: Adding device 0000:07:00.1 to group 13
[    0.500275] iommu: Adding device 0000:08:00.0 to group 14
[    0.500400] iommu: Adding device 0000:08:00.2 to group 15
[    0.500579] iommu: Adding device 0000:08:00.3 to group 16
[    0.500742] iommu: Adding device 0000:09:00.0 to group 17
[    0.500927] iommu: Adding device 0000:09:00.2 to group 18
[    0.501120] iommu: Adding device 0000:09:00.3 to group 19
[    0.501364] AMD-Vi: Found IOMMU at 0000:00:00.2 cap 0x40
[    0.501365] AMD-Vi: Extended features (0xf77ef22294ada):
[    0.501366]  PPR NX GT IA GA PC GA_vAPIC
[    0.501368] AMD-Vi: Interrupt remapping enabled
[    0.501368] AMD-Vi: virtual APIC enabled
[    0.501507] AMD-Vi: Lazy IO/TLB flushing enabled

But 5point kernels still won't boot, with no changes to grub
HOWEVER
it now produces a very quick splash of text before the screen goes dark, and a hard drive does appear, or sound like, to spin up (boot/os is on an ssd)
I dont know how to find out if iommu is being picked up by 5point kernels. Or if that is, or even was, the problem.
I cant ctl alt F4 to see a prompt, etc.
I did however "boot enough" that as I remember ctl alt del del does force a reboot from the stopped position.
Hints, ways to find hints?

Is here a way to get just the messages of the previous 5point kernel that failed, to read where it failed? For example.
Last edited by isadora on Sep 17th, '19, 21:35, edited 1 time in total.
Reason: Placed command-output in between [CODE]-tags for better readability ;)
canadaist
 
Posts: 127
Joined: May 7th, '11, 17:28

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby doktor5000 » Sep 17th, '19, 22:33

canadaist wrote:Is here a way to get just the messages of the previous 5point kernel that failed, to read where it failed? For example.

You can use journalctl to read logs from previous boots. E.g. to see the logs from previous boot (-1)
Code: Select all
journalctl -ab-1
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 15140
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby canadaist » Sep 18th, '19, 00:17

Thanks Dok, still reading elsewhere, trying disentangle my problems from others problems, so as to avoid solutions for problems i dont have, thank you again for the clue.
canadaist
 
Posts: 127
Joined: May 7th, '11, 17:28

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby canadaist » Sep 18th, '19, 00:40

I used journalctl. Read lines.

Up to line 659 of
Code: Select all
 journalctl -ab-1
and we have iommu working on kernel 5.2 (latest)

Code: Select all
Sep 17 14:05:10 localhost kernel: pci 0000:00:18.7: Adding to iommu group 11
Sep 17 14:05:10 localhost kernel: pci 0000:01:00.0: Adding to iommu group 12
Sep 17 14:05:10 localhost kernel: pci 0000:01:00.1: Adding to iommu group 12
Sep 17 14:05:10 localhost kernel: pci 0000:01:00.2: Adding to iommu group 12
Sep 17 14:05:10 localhost kernel: pci 0000:02:00.0: Adding to iommu group 12
Sep 17 14:05:10 localhost kernel: pci 0000:02:01.0: Adding to iommu group 12
Sep 17 14:05:10 localhost kernel: pci 0000:02:04.0: Adding to iommu group 12
Sep 17 14:05:10 localhost kernel: pci 0000:03:00.0: Adding to iommu group 12
Sep 17 14:05:10 localhost kernel: pci 0000:04:00.0: Adding to iommu group 12
Sep 17 14:05:10 localhost kernel: pci 0000:07:00.0: Adding to iommu group 13
Sep 17 14:05:10 localhost kernel: pci 0000:07:00.0: Using iommu direct mapping
Sep 17 14:05:10 localhost kernel: pci 0000:07:00.1: Adding to iommu group 13
Sep 17 14:05:10 localhost kernel: pci 0000:08:00.0: Adding to iommu group 14
Sep 17 14:05:10 localhost kernel: pci 0000:08:00.2: Adding to iommu group 15
Sep 17 14:05:10 localhost kernel: pci 0000:08:00.3: Adding to iommu group 16
Sep 17 14:05:10 localhost kernel: pci 0000:09:00.0: Adding to iommu group 17
Sep 17 14:05:10 localhost kernel: pci 0000:09:00.2: Adding to iommu group 18
Sep 17 14:05:10 localhost kernel: pci 0000:09:00.3: Adding to iommu group 19
Sep 17 14:05:10 localhost kernel: pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
Sep 17 14:05:10 localhost kernel: pci 0000:00:00.2: AMD-Vi: Extended features (0xf77ef22294ada):
Sep 17 14:05:10 localhost kernel:  PPR NX GT IA GA PC GA_vAPIC
Sep 17 14:05:10 localhost kernel: AMD-Vi: Interrupt remapping enabled
Sep 17 14:05:10 localhost kernel: AMD-Vi: Virtual APIC enabled
Sep 17 14:05:10 localhost kernel: AMD-Vi: Lazy IO/TLB flushing enabled
Sep 17 14:05:10 localhost kernel: amd_uncore: AMD NB counters detected
Sep 17 14:05:10 localhost kernel: amd_uncore: AMD LLC counters detected
Sep 17 14:05:10 localhost kernel: perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).

Now its into the weeds for the failure notices

I rebooted into 5.2, and got a blank screen with occasional flashes of the HD light on the front of the boxen. I waited four or five times as long as a normal (4point) boot and then hit the power button, to rerun journalctl
This is up in lines post 1600, it was still booting apparently, though the screen shows nothing, it even handles the press of the power button well (the screen was blank for minutes, never showed anything after a quick flash of text. So maybe this is sending the video badly, or wrong destination output? Interestingly the monitor never says "input not found" as it does when the system sleeps, or has blanked the screen. See below after the system loads 1 client rule then there is a two minute wait until I hit the power button.
Code: Select all
Sep 17 20:01:12 localhost systemd[1]: Started Getty on tty6.
Sep 17 20:01:13 localhost systemd[1]: Started Getty on tty5.
Sep 17 20:01:14 localhost systemd[1]: Started Getty on tty4.
Sep 17 20:01:15 localhost systemd[1]: Started Getty on tty3.
Sep 17 20:01:16 localhost systemd[1]: Started Getty on tty2.
Sep 17 20:01:17 localhost acpid[1004]: client connected from 3610[0:0]
Sep 17 20:01:17 localhost acpid[1004]: 1 client rule loaded
Sep 17 20:03:36 localhost systemd-logind[1045]: Power key pressed.
Sep 17 20:03:36 localhost systemd-logind[1045]: Powering Off...
Last edited by isadora on Sep 18th, '19, 08:35, edited 1 time in total.
Reason: Placed command-output in between [CODE]-tags for better readability ;)
canadaist
 
Posts: 127
Joined: May 7th, '11, 17:28

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby doktor5000 » Sep 18th, '19, 10:27

What happens if you boot one of the 5.x kernels in Recovery mode ?

Also, seems you didn't try yet to disable iommu with the boot option iommu=soft or iommu=off as mentioned before, or try disabling it in your BIOS/UEFI.
You can also try amdgpu.runpm=0
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 15140
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby canadaist » Sep 18th, '19, 15:14

Yes, I am going to draw up a testing plan, with all the variables included, to test each in isolation. But I am going to have to find more clues. Its a joy to see iommu working, and picked up by both 4 & 5 kernels after the flash. There are noted "lock-up" problems on Ryzen (kernel 4 and 5) but none yet I can find with these errors, or this error.
canadaist
 
Posts: 127
Joined: May 7th, '11, 17:28

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby canadaist » Sep 18th, '19, 16:53

Ill test the power management command, but it seems to apply to lock ups and kernel panic, 5. kernel appears to be booting, I havent checked the journalctl in 4point kernel to check, but by sound, hd light and the unchanging blank screen that doesnt cause an "input not supported" complaint from the monitor. iommu on or off, iommu= soft or off in grub, recovery mode or not.
I feel like the boot is sending something wrong to the screen. I also cant get to tty2 tty3 etc, by using ctl alt F2 etc, but again the monitor doesnt complain about input.
Ill rerun some with a wired keyboard, but it picks up the mouse immediately, and i dont know why it would, keyboard works in grub.
canadaist
 
Posts: 127
Joined: May 7th, '11, 17:28

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby canadaist » Sep 18th, '19, 21:58

So, iommu on (in bios), with iommu=soft and =off, (in grub)
both 5.2 and 5.2 recovery,
iommu off (in bios) both without iommu command in grub, and with iommu=soft and =off,(grub)
and with amdgpu.runpm=0, (grub) both 5.2 and 5.2 recovery.

Also these lines from a 5.2 boot seem to suggest the boot process thinks its sending stuff to the screen
Sep 18 11:03:32 localhost systemd[1]: plymouth-start.service: Succeeded.
Sep 18 11:03:32 localhost systemd[1]: Started Show Plymouth Boot Screen.


So is this marked as a bug? Is there any chance i can be assured of 4.point kernal upgrades on security if needed. Is there a path from here to anywhere?
canadaist
 
Posts: 127
Joined: May 7th, '11, 17:28

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby canadaist » Sep 23rd, '19, 17:51

IMG_20190923_104530.jpg
Grub edit during boot
IMG_20190923_104530.jpg (687.58 KiB) Viewed 372 times
OK, more info, more hopes oir hints on a way past this.

I tried the new kernel 5.2.16, same results. Using journalctl -ab -1 > showme.txt It is apparent the system is booting, and booting completely with few errors (ECC is not being picked up, probably a bios problem, ECC is on in bios for example) but boot sends nothing to the screen. The monitor does not report an error, the power button doesnt blink, the monitor does not report "input not supported," nor "Imput not found" the monitor thinks its gettimg a signal, and not just a signal, but a supported one.

Second, I know little to nothing of grub, but it appears to to have three? Possible boot commands using an "if then else" and I wonder if any change I have ever made was ever picked up.
Code: Select all
If [ x$feature_platform_search_hint = xy ]; then....
etcetcetc with another if then else....

Should i be adding the iommu= setting in three places?

So mostly: I dont understand the computer booting but sending nothing to screen.
And, iommu is being reported as working during boot.

I dont think ECC matters a lot to this problem, but it is also turned on in bios
canadaist
 
Posts: 127
Joined: May 7th, '11, 17:28

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby doktor5000 » Sep 23rd, '19, 23:19

canadaist wrote:Should i be adding the iommu= setting in three places?

No, only to the longest line that starts with linuxefi, which contains all other currently configured boot options. This is shown in the second screenshot at the link I posted previously:

https://wiki.mageia.org/en/How_to_set_u ... t_Loader_2

Image
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 15140
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby canadaist » Sep 24th, '19, 15:34

It was a hope.
canadaist
 
Posts: 127
Joined: May 7th, '11, 17:28

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby doktor5000 » Sep 26th, '19, 00:16

Sorry, I don't understand what you're trying to say.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 15140
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby canadaist » Sep 26th, '19, 17:46

I meant, and should have said, that I was hoping that the "if then" collection was a potential mixup, and the iommu commands would work, but I was always using the correct edit point.

I am not sure that iommu is the break point anymore, I cant understand why it actually boots up, but boots without sending anything to the screen, and to a point were it's unusable. More confusing is that the monitor doesnt complain its getting the wrong, or any, input. The monitor is perfectly happy to show me a black coloured screen, lit.

Journalctl shows boot starting and ending "plymouth" for example
Started Terminate Plymouth Boot Screen
Started Simple Desktop Display Manager

and slightly later (less than a second)
Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/etcetcetc

Then sets up Shorewall etc.
I am confused.
canadaist
 
Posts: 127
Joined: May 7th, '11, 17:28

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby doktor5000 » Sep 26th, '19, 18:12

Did you try the boot option amdgpu.runpm=0 as suggested previously ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 15140
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby canadaist » Sep 30th, '19, 21:59

Yeah I did, up above
So, iommu on (in bios), with iommu=soft and =off, (in grub)
both 5.2 and 5.2 recovery,
iommu off (in bios) both without iommu command in grub, and with iommu=soft and =off,(grub)
and with amdgpu.runpm=0, (grub) both 5.2 and 5.2 recovery.

Also these lines from a 5.2 boot seem to suggest the boot process thinks its sending stuff to the screen

It is still booting without sending anything to the screen. I do not recognize any fatal error messages in journalctl for those boots, just no working interface.
Can I use the latest kernels for Mageia6 as they come out, i still have two machines on 6.
canadaist
 
Posts: 127
Joined: May 7th, '11, 17:28

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby doktor5000 » Oct 1st, '19, 17:59

Sure you can.

But you should probably write a bugreport for this, maybe our kernel maintainer has an idea what the issue could be. See https://wiki.mageia.org/en/How_to_report_a_bug_properly
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 15140
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Upgraded to Mageia 7, cannot use any 5 kernel

Postby canadaist » Oct 7th, '19, 22:23

I am using the new 5.3 kernel.

And well... nice.

Here is what I did.
I installed today's (yesterdays?) new kernel 5.3.2, did a reboot as I have done for each iteration, and got the same result. Blank screen and an apparent actual boot.

I have, in previous reports about my trouble with the 5.x kernels, reported that journalctl did not seem to be reporting any fatal problem booting, and reported that Plymouth was started and stopped.

Today, as I moved to ctl - alt - del > del a reboot, I instead reached behind my boxen, unplugged my hdmi cable and plugged it back in.
My screen did this (mock up)
screen_mageia.jpg
big black screen, three reverse colour "? icon"
screen_mageia.jpg (15.77 KiB) Viewed 184 times


That was replaced in half a second with a kde login screen. (Ta Da!! and other warm celebratory exclamations)

I have NO IDEA why I thought of that or why it would work as a kludge.*
Kernel 4.x boots to a login screen without this [[ pull the hdmi cable out and replace it ]] secret handshake.

But for now, while I celebrate, I will mark the problem as closed, and in the coming days try and find more understanding, or at least more evidence for a report.

Thanks Dok and all for ideas an encouragement, I learned much, I'm very grateful.
But how weird.

*hack
canadaist
 
Posts: 127
Joined: May 7th, '11, 17:28

Next

Return to Basic support

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron