Quale Kernel Linux-Sabayon?

Se sei un utente alle prime armi con Linux o Sabayon, questo è il posto che fa per te :)

Moderator: Moderators

User avatar
fiorello
Sagely Hen
Posts: 1498
Joined: Mon Aug 13, 2007 14:06
Location: Bourg En Bresse - France

Quale Kernel Linux-Sabayon?

Post by fiorello » Wed Jan 29, 2020 9:56

In questo topic parliamo di kernel, e degli eventuali problemi riscontrati.

Questi sono i Kernel disponibili con il Repositorio standard - 29/01/2020:

Code: Select all

╠       @@ Paquet: sys-kernel/linux-sabayon-4.14.160 branche: 5, [sabayonlinux.org] 
╠          Disponible:       version: 4.14.160 ~ tag: NoTag ~ révision: 0
╠          Installé:         version: Pas installé ~ tag: n/a ~ révision: n/a
╠          entaille: 4.14
╠       @@ Paquet: sys-kernel/linux-sabayon-4.19.93 branche: 5, [sabayonlinux.org] 
╠          Disponible:       version: 4.19.93 ~ tag: NoTag ~ révision: 0
╠          Installé:         version: Pas installé ~ tag: n/a ~ révision: n/a
╠          entaille: 4.19
╠       @@ Paquet: sys-kernel/linux-sabayon-4.20.17 branche: 5, [sabayonlinux.org] 
╠          Disponible:       version: 4.20.17 ~ tag: NoTag ~ révision: 1
╠          Installé:         version: Pas installé ~ tag: n/a ~ révision: n/a
╠          entaille: 4.20
╠       @@ Paquet: sys-kernel/linux-sabayon-4.4.197 branche: 5, [sabayonlinux.org] 
╠          Disponible:       version: 4.4.197 ~ tag: NoTag ~ révision: 0
╠          Installé:         version: Pas installé ~ tag: n/a ~ révision: n/a
╠          entaille: 4.4
╠       @@ Paquet: sys-kernel/linux-sabayon-4.9.197 branche: 5, [sabayonlinux.org] 
╠          Disponible:       version: 4.9.197 ~ tag: NoTag ~ révision: 0
╠          Installé:         version: Pas installé ~ tag: n/a ~ révision: n/a
╠          entaille: 4.9
╠       @@ Paquet: sys-kernel/linux-sabayon-5.4.10 branche: 5, [sabayonlinux.org] 
╠          Disponible:       version: 5.4.10 ~ tag: NoTag ~ révision: 0
╠          Installé:         version: Pas installé ~ tag: n/a ~ révision: n/a
╠          entaille: 5.4
Per maggiori informazioni sui Kenel supportati: Packages.Gentoo.Org.

Per sapere quali sono i kernel disponibili a secondo del repositorio in uso:

Code: Select all

$ equo s --available -qv linux-sabayon
Per sapere quale è il kernel in uso:

Code: Select all

$ equo q installed linux-sabayon -qv
Per sapere quale è il kernel alla major-release:

Code: Select all

$ equo m linux-sabayon -qv
Per sapere quali moduli VBox e drivers nvidia sono disponibili:

Code: Select all

equo s virtualbox-modules nvidia-drivers -qv
Grazie Niko, post iniziale modificato. 8)
Last edited by fiorello on Fri Apr 24, 2020 12:15, edited 4 times in total.
ASRock-Z68 Professional Gen3 *_* Intel(R) i7-2600K CPU @ 3.40GHz *_* MSI GeForce® GTX 1050 Ti 4GT OC *_* AR5416 Wireless Network {AR5008802.11(a) bgn} *_* Mémoire totale 8 Gio *_* linux-4.19.0 *_* Sabayon KDE-5 *_*
Image
# && fotoabc.it &&

User avatar
fiorello
Sagely Hen
Posts: 1498
Joined: Mon Aug 13, 2007 14:06
Location: Bourg En Bresse - France

Re: Quale Kernel Linux-Sabayon?

Post by fiorello » Wed Jan 29, 2020 10:33

Il kernel 5.3 è stato tolto dai repository, me ne sono accorto dopo aver aggiornato il sistema con il repositorio standard:

Code: Select all

╠  @@ Il y a des paquets dans le système qui ne sont plus disponibles dans les dépôts en ligne.
╠  @@ Voici les paquets qui seraient supprimés:
╠  ## [sabayonlinux.org] sys-kernel/sabayon-sources-5.3.11 [864.6MB]
╠  ## [sabayonlinux.org] x11-drivers/nvidia-drivers-440.44#5.3.0-sabayon#5.3.0-sabayon
Ho notato che abbiamo un problema usando il comando kernel-switcher:

Code: Select all

# kernel-switcher switch linux-sabayon-5.4.10
☢ Not a kernel: linux-sabayon-5.4.10

# kernel-switcher switch linux-sabayon-4.20.17
☢ Not a kernel: linux-sabayon-4.20.17
Se installo il kernel 5.4.10 ricevo un log non rassicurante:

Code: Select all

# equo install linux-sabayon
╠  @@ Calcul des dépendances...
╠  ## [N] [sabayonlinux.org] sys-kernel/linux-sabayon-5.4.10|0
╠  @@ Paquets qui ont besoin d'être installés/mis à jour/rétrogradés: 1
╠    ## Téléchargement: 1 paquet
╠    ## ( mirror #1 ) [sys-kernel:linux-sabayon-5.4.10.f15ef7b76396f8a97c6c8c98591c56519d9123b2~0.tbz2] @ http://www.dyingmuppet.nl
╠   ## Aggregated download: 1 item
╠    # [1] www.dyingmuppet.nl => sys-kernel:linux-sabayon-5.4.10.f15ef7b76396f8a97c6c8c98591c56519d9123b2~0.tbz2
╠    ## Vérification du contrôle de somme du paquet...
╠       : [sys-kernel:linux-sabayon-5.4.10.f15ef7b76396f8a97c6c8c98591c56519d9123b2~0.tbz2] GPG validé
╠       : SHA1 Désactivé
╠       : [sys-kernel:linux-sabayon-5.4.10.f15ef7b76396f8a97c6c8c98591c56519d9123b2~0.tbz2] SHA256 validé
╠       : SHA512 Désactivé
╠    ## ( mirror #1 ) [sys-kernel:linux-sabayon-5.4.10.f15ef7b76396f8a97c6c8c98591c56519d9123b2~0.tbz2] succès @ http:/www.dyingmuppet.nl
╠    ##  Taux de transfert groupé: 13.7MB/seconde
╠  +++ >>>  (1/1) sys-kernel/linux-sabayon-5.4.10
╠    ## Dépaquettage: sys-kernel:linux-sabayon-5.4.10.f15ef7b76396f8a97c6c8c98591c56519d9123b2~0.tbz2
╠    ## Package phase: setup
╠    ## Package phase: preinstall
╠    ## Installation du paquet: sys-kernel/linux-sabayon-5.4.10
╠    ## [Official Sabayon Linux Standard kernel image]
╠    ## Updating installed packages repository: sys-kernel/linux-sabayon-5.4.10
╠    ## Package phase: postinstall
 * Removing extents option for ext4 drives from /etc/fstab
 * Creating dracut initramfs for 5.4.0-sabayon arch: x86_64
 
No image with version 5.4 found.

Building /boot/initramfs-genkernel-x86_64-5.4.0-sabayon
libkmod: kmod_module_parse_depline: ctx=0x562f4acf8290 path=/lib/modules/5.4.0-sabayon//video/nvidia-modeset.ko error=No such file or directory
libkmod: kmod_module_parse_depline: ctx=0x562f4acf8290 path=/lib/modules/5.4.0-sabayon//video/nvidia.ko error=No such file or directory
libkmod: kmod_module_parse_depline: ctx=0x562ce74d4420 path=/lib/modules/5.4.0-sabayon//video/nvidia-modeset.ko error=No such file or directory
Generating grub configuration file ...
Found background: /boot/grub/default-splash.png
Found linux image: /boot/kernel-genkernel-x86_64-5.4.0-sabayon
Found initrd image: /boot/initramfs-genkernel-x86_64-5.4.0-sabayon
Found linux image: /boot/kernel-genkernel-x86_64-5.3.0-sabayon
Found initrd image: /boot/initramfs-genkernel-x86_64-5.3.0-sabayon
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
done

 * You are currently booting with kernel:
 * kernel-genkernel-x86_64-5.3.0-sabayon
 * 
 * Use 'eselect bzimage' in order to switch between the available ones


 * If you are upgrading from a previous kernel, you may be interested
 * in the following document:
 *   - General upgrade guide: https://wiki.gentoo.org/wiki/Kernel/Upgrade

 * Updating module dependencies for 5.4.0-sabayon ...
depmod: WARNING: Ignored deprecated option -r                                                                                                                                                              [ ok ]
 * Please report kernel bugs at:
 * http://bugs.sabayon.org
 * The source code of this kernel is located at
 * =sys-kernel/sabayon-sources-5.4.10.
 * Sabayon Linux recommends that portage users install
 * sys-kernel/sabayon-sources-5.4.10 if you want
 * to build any packages that install kernel modules
 * (such as ati-drivers, nvidia-drivers, virtualbox, etc...).
╠    ## Nettoyage: sys-kernel/linux-sabayon-5.4.10
╠  @@ Installation terminée.
╠  @@ No configuration files to update.
Ho scelto di andare sul sicuro, rimosso il kernel 5.4 installando il Kernel 4.20.17, anche se questo kernel è stato spazzato via sui repo Manjaro, e noi abbiamo una revisione che incomincia a datare.
ASRock-Z68 Professional Gen3 *_* Intel(R) i7-2600K CPU @ 3.40GHz *_* MSI GeForce® GTX 1050 Ti 4GT OC *_* AR5416 Wireless Network {AR5008802.11(a) bgn} *_* Mémoire totale 8 Gio *_* linux-4.19.0 *_* Sabayon KDE-5 *_*
Image
# && fotoabc.it &&

User avatar
sabayonino
Sagely Hen
Posts: 3538
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: Quale Kernel Linux-Sabayon?

Post by sabayonino » Wed Jan 29, 2020 10:38

C'è una discussione in merito : viewtopic.php?f=57&t=35663

Sabayon segue in linea di amssima l'andamento dei kernel di gentoo , ha un suo livello di patching e con manjaro non ha nulla a che fare :D

[sabayon-weekly]

Code: Select all

equo s --available -qv linux-sabayon 
sys-kernel/linux-sabayon-4.14.160
sys-kernel/linux-sabayon-4.19.93
sys-kernel/linux-sabayon-4.20.17
sys-kernel/linux-sabayon-4.4.197
sys-kernel/linux-sabayon-4.9.197
sys-kernel/linux-sabayon-5.3.11
sys-kernel/linux-sabayon-5.4.10
kernel-switcher ha un bug in discussione nel link precedente

Code: Select all

 kernel-switcher list -qv
[sabayon-weekly] sys-kernel/linux-sabayon-4.4.197
Il messaggio che ottieni è un refuso di portage ...puoi ignorarlo felicemnete

User avatar
fiorello
Sagely Hen
Posts: 1498
Joined: Mon Aug 13, 2007 14:06
Location: Bourg En Bresse - France

Re: Quale Kernel Linux-Sabayon?

Post by fiorello » Wed Jan 29, 2020 10:47

Dopo avere installato il kernel e aggiornato GRUB, noto che al boot nel Grub non ci sono gli altri SO:

Code: Select all

# grub2-mkconfig -o /boot/grub/grub.cfg
Création du fichier de configuration GRUB…
Arrière-plan trouvé : /boot/grub/default-splash.png
Image Linux trouvée : /boot/kernel-genkernel-x86_64-4.20.0-sabayon
Image mémoire initiale trouvée : /boot/initramfs-genkernel-x86_64-4.20.0-sabayon
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
fait
Mi tocca usare il boot Manjaro per avere tutti i SO:

Code: Select all

# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found background: /usr/share/grub/background.png
Found linux image: /boot/vmlinuz-4.14-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.14-x86_64.img
Found initrd fallback image: /boot/initramfs-4.14-x86_64-fallback.img
Found Sabayon/Linux on /dev/sda1
Found Windows 10 on /dev/sdd1
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
Ho bisogno di una bottarella per risolvere. :lol:
ASRock-Z68 Professional Gen3 *_* Intel(R) i7-2600K CPU @ 3.40GHz *_* MSI GeForce® GTX 1050 Ti 4GT OC *_* AR5416 Wireless Network {AR5008802.11(a) bgn} *_* Mémoire totale 8 Gio *_* linux-4.19.0 *_* Sabayon KDE-5 *_*
Image
# && fotoabc.it &&

User avatar
fiorello
Sagely Hen
Posts: 1498
Joined: Mon Aug 13, 2007 14:06
Location: Bourg En Bresse - France

Re: Quale Kernel Linux-Sabayon?

Post by fiorello » Wed Jan 29, 2020 10:50

sabayonino wrote:
Wed Jan 29, 2020 10:38
C'è una discussione in merito : viewtopic.php?f=57&t=35663
Sabayon segue in linea di amssima l'andamento dei kernel di gentoo , ha un suo livello di patching e con manjaro non ha nulla a che fare :D
Grazie Niko, sai dove si possono avere informazioni sull'evoluzione dei vari Kernel.
ASRock-Z68 Professional Gen3 *_* Intel(R) i7-2600K CPU @ 3.40GHz *_* MSI GeForce® GTX 1050 Ti 4GT OC *_* AR5416 Wireless Network {AR5008802.11(a) bgn} *_* Mémoire totale 8 Gio *_* linux-4.19.0 *_* Sabayon KDE-5 *_*
Image
# && fotoabc.it &&

User avatar
sabayonino
Sagely Hen
Posts: 3538
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: Quale Kernel Linux-Sabayon?

Post by sabayonino » Wed Jan 29, 2020 10:52

Code: Select all

equo i sys-boot/os-prober

User avatar
sabayonino
Sagely Hen
Posts: 3538
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: Quale Kernel Linux-Sabayon?

Post by sabayonino » Wed Jan 29, 2020 10:54

fiorello wrote:
Wed Jan 29, 2020 10:50
sabayonino wrote:
Wed Jan 29, 2020 10:38
C'è una discussione in merito : viewtopic.php?f=57&t=35663
Sabayon segue in linea di amssima l'andamento dei kernel di gentoo , ha un suo livello di patching e con manjaro non ha nulla a che fare :D
Grazie Niko, sai dove si possono avere informazioni sull'evoluzione dei vari Kernel.
In linea di massima
https://www.kernel.org :mrgreen:

o meglio ancora
https://packages.gentoo.org/packages/sy ... oo-sources

User avatar
fiorello
Sagely Hen
Posts: 1498
Joined: Mon Aug 13, 2007 14:06
Location: Bourg En Bresse - France

Re: Quale Kernel Linux-Sabayon?

Post by fiorello » Wed Jan 29, 2020 11:00

Tanks. 8)
ASRock-Z68 Professional Gen3 *_* Intel(R) i7-2600K CPU @ 3.40GHz *_* MSI GeForce® GTX 1050 Ti 4GT OC *_* AR5416 Wireless Network {AR5008802.11(a) bgn} *_* Mémoire totale 8 Gio *_* linux-4.19.0 *_* Sabayon KDE-5 *_*
Image
# && fotoabc.it &&

User avatar
fiorello
Sagely Hen
Posts: 1498
Joined: Mon Aug 13, 2007 14:06
Location: Bourg En Bresse - France

Re: Quale Kernel Linux-Sabayon?

Post by fiorello » Thu Jan 30, 2020 13:05

Niente ho installato os-prober, rigenerato grub, da live implementato il bootloader, ma grub non rileva gli altri SO, posto il file grub.cfg nel caso fosse da modificare:

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 ###
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="0"
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_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  a67184a0-a915-4f4b-84f7-f95eba18042d
else
  search --no-floppy --fs-uuid --set=root a67184a0-a915-4f4b-84f7-f95eba18042d
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=1024x768
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
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-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  a67184a0-a915-4f4b-84f7-f95eba18042d
else
  search --no-floppy --fs-uuid --set=root a67184a0-a915-4f4b-84f7-f95eba18042d
fi
insmod png
background_image -m stretch /boot/grub/default-splash.png
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=3
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=3
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Sabayon GNU/Linux' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a67184a0-a915-4f4b-84f7-f95eba18042d' {
	load_video
	insmod gzio
	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-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  a67184a0-a915-4f4b-84f7-f95eba18042d
	else
	  search --no-floppy --fs-uuid --set=root a67184a0-a915-4f4b-84f7-f95eba18042d
	fi
	echo	'Chargement de Linux x86_64-4.19.0-sabayon…'
	linux	/boot/kernel-genkernel-x86_64-4.19.0-sabayon root=UUID=a67184a0-a915-4f4b-84f7-f95eba18042d ro  
	echo	'Chargement du disque mémoire initial…'
	initrd	/boot/initramfs-genkernel-x86_64-4.19.0-sabayon
}
submenu 'Options avancées pour Sabayon GNU/Linux' $menuentry_id_option 'gnulinux-advanced-a67184a0-a915-4f4b-84f7-f95eba18042d' {
	menuentry 'Sabayon GNU/Linux, avec Linux x86_64-4.19.0-sabayon' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.19.0-sabayon-advanced-a67184a0-a915-4f4b-84f7-f95eba18042d' {
		load_video
		insmod gzio
		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-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  a67184a0-a915-4f4b-84f7-f95eba18042d
		else
		  search --no-floppy --fs-uuid --set=root a67184a0-a915-4f4b-84f7-f95eba18042d
		fi
		echo	'Chargement de Linux x86_64-4.19.0-sabayon…'
		linux	/boot/kernel-genkernel-x86_64-4.19.0-sabayon root=UUID=a67184a0-a915-4f4b-84f7-f95eba18042d ro  
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initramfs-genkernel-x86_64-4.19.0-sabayon
	}
	menuentry 'Sabayon GNU/Linux, avec Linux x86_64-4.19.0-sabayon (mode de dépannage)' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.19.0-sabayon-recovery-a67184a0-a915-4f4b-84f7-f95eba18042d' {
		load_video
		insmod gzio
		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-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  a67184a0-a915-4f4b-84f7-f95eba18042d
		else
		  search --no-floppy --fs-uuid --set=root a67184a0-a915-4f4b-84f7-f95eba18042d
		fi
		echo	'Chargement de Linux x86_64-4.19.0-sabayon…'
		linux	/boot/kernel-genkernel-x86_64-4.19.0-sabayon root=UUID=a67184a0-a915-4f4b-84f7-f95eba18042d ro single 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initramfs-genkernel-x86_64-4.19.0-sabayon
	}
}

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

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

### 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 ###
:|
ASRock-Z68 Professional Gen3 *_* Intel(R) i7-2600K CPU @ 3.40GHz *_* MSI GeForce® GTX 1050 Ti 4GT OC *_* AR5416 Wireless Network {AR5008802.11(a) bgn} *_* Mémoire totale 8 Gio *_* linux-4.19.0 *_* Sabayon KDE-5 *_*
Image
# && fotoabc.it &&

User avatar
sabayonino
Sagely Hen
Posts: 3538
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: Quale Kernel Linux-Sabayon?

Post by sabayonino » Thu Jan 30, 2020 15:31

Domanda : visto che hai anche manjaro , quale bootloader utilizzi ? o meglio ... hai installato il bootloader di ?

Se è quello di mangiaro , su Sabayon basta aggiornare il grub per rilevare eventuli nuovi kernel

Poi aggiorni quello di manjaro che deve leggersi quelli di Sabayon (o rilevare il cfg di Sabayon)

Post Reply