Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernelupdate zu gentoo-sources 6.6.47 fehlerhaft
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Sabaton
Apprentice
Apprentice


Joined: 02 Mar 2019
Posts: 185

PostPosted: Sat Sep 14, 2024 8:31 am    Post subject: Kernelupdate zu gentoo-sources 6.6.47 fehlerhaft Reply with quote

Hallo zusammen,

ich nutze Gentoo als Gastsystem in VirtualBox.
Das heutige Kernelupdate auf 6.6.47 bringt Fehler.

Folgende Meldungen sind dabei gekommen:


Code:
* Messages for package app-emulation/virtualbox-guest-additions-7.0.20:

 *   DRM_VMWGFX is the recommended driver for VMSVGA.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.


Code:

* initramfs: >> Initializing ...
*         >> Appending devices cpio data ...
*         >> Appending base_layout cpio data ...
*         >> Appending util-linux cpio data ...
*         >> Appending eudev cpio data ...
*         >> Appending auxiliary cpio data ...
*         >> Appending busybox cpio data ...
*         >> Appending modprobed cpio data ...
*         >> Appending modules cpio data ...
*         >> Deduping cpio ...
*         >> Pre-generating initramfs' /etc/ld.so.cache ...
*         >> Compressing cpio data (.xz) ...
*
* You will find the initramfs in '/boot/initramfs-6.6.47-gentoo.img'.

* WARNING... WARNING... WARNING...
* Additional kernel parameters that *may* be required to boot properly:

* Do NOT report kernel bugs as genkernel bugs unless your bug
* is about the default genkernel configuration...
*
* Make sure you have the latest ~arch genkernel before reporting bugs.


Handelt es sich um eine Bug bei sys-kernel/gentoo-sources 6.6.47 ?

Mfg;
Sabaton
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2625
Location: Heidelberg - Germany

PostPosted: Sat Sep 14, 2024 8:40 am    Post subject: Reply with quote

Da der Kern auf 2 baremetal Systemen bei mir problemlos läuft, vermute ich in den Quellen keinen Fehler. Irgendetwas stimmt mit Deiner Virtualisierung nicht.
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 445

PostPosted: Sat Sep 14, 2024 8:55 am    Post subject: Reply with quote

Was zeigt

Code:
eselect kernel list
grep VMWGFX /usr/src/linux/.config
?
Back to top
View user's profile Send private message
Sabaton
Apprentice
Apprentice


Joined: 02 Mar 2019
Posts: 185

PostPosted: Sat Sep 14, 2024 9:33 am    Post subject: Reply with quote

Kernel 6.6.38 bootet und läuft korrekt.

Code:
gentoo /home/peter # eselect kernel list
Available kernel symlink targets:
  [1]   linux-6.6.38-gentoo *
  [2]   linux-6.6.47-gentoo
 
gentoo /home/peter # grep VMWGFX /usr/src/linux/.config
CONFIG_DRM_VMWGFX=y
# CONFIG_DRM_VMWGFX_MKSSTATS is not set


Mfg,
Sabaton
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5281

PostPosted: Sat Sep 14, 2024 1:01 pm    Post subject: Reply with quote

sMueggli wrote:
Was zeigt

Code:
eselect kernel list
grep VMWGFX /usr/src/linux/.config
?

Das ist AFAIK nicht relevant, da es nur eine message des ebuilds ist.

Und ich sehe bis jetzt auch nur Warnungen und keine Fehlermeldungen @Sabaton.
Also was bringt denn jetzt genau Fehler? Und wie wirken sie sich aus?
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Sabaton
Apprentice
Apprentice


Joined: 02 Mar 2019
Posts: 185

PostPosted: Sat Sep 14, 2024 3:40 pm    Post subject: Reply with quote

Das Gentoo-Gastsystem bootet mit Kernel 6.6.47 verzögert mit komischen Verhalten, das Autologin in Plasma 6 bringt ein fehlerhaftes Desktop mit Scrollbalken unten und rechts im VirtualBox-Fenster.
Getestet unter Windows 11 Host zuerst mit VirtualBox 7.0.20, jetzt auch das gleiche nach Majorupdate auf VirtualBox 7.1.0.

Mfg,
Sabaton
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1634
Location: Germany

PostPosted: Sat Sep 14, 2024 6:55 pm    Post subject: Reply with quote

Muss man nicht die virtualbox packages mit dem neuen Kernel neu bauen?
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
Sabaton
Apprentice
Apprentice


Joined: 02 Mar 2019
Posts: 185

PostPosted: Sun Sep 15, 2024 2:36 am    Post subject: Reply with quote

Hier ein Auszug vom Kernelupdate:

Code:
make -j6 && make modules_install

emerge --ask @module-rebuild

make install

genkernel --install initramfs

grub-mkconfig -o /boot/grub/grub.cfg

umount /boot

reboot


Dabei wird bei "emerge --ask @module-rebuild" virtualbox-guest-additions-7.0.20 neu gebaut.

Mfg,
Sabaton
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5281

PostPosted: Sun Sep 15, 2024 2:58 am    Post subject: Reply with quote

Banana wrote:
Muss man nicht die virtualbox packages mit dem neuen Kernel neu bauen?

Da hier es um eine gentoo system in einer virtualbox instanz handelt, müssen die app-emulation/virtualbox-guest-additions neu gebaut werden, was angeblich laut seiner aussage getan wurde.

@Sabaton: Welchen "Graphics Controller" hast du für die VM eingestellt?
Falls es die VirtualBox eigene ist dann felt dir der passende Treiber im neuen kernel.
AFAIK wird von VirtualBox selbst VMSVGA für Linux Guests empfohlen. Und diese emuliert eine "VMware SVGA 3D" GPU.
Daher auch der hinweis mit DRM_VMWGFX vom ebuild app-emulation/virtualbox-guest-additions.
Sicher das du im neuen kernel diese option auch wirklich aktiv hast? Denn das ebuild gibt diese Warnung nur aus, wenn die entsprechende Option in der kernel config, welche zum zeitpunkt als das ebuild installiert wurde, unter /usr/src/linux verfügbar war.

Du du hast bisher nur gezeigt das es für den alten kernel aktiv ist, da eselect kernel list auf den alten kernel zeigte als du den check gemacht hast den sMueggli angefragt hat.
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Sabaton
Apprentice
Apprentice


Joined: 02 Mar 2019
Posts: 185

PostPosted: Sun Sep 15, 2024 3:16 am    Post subject: Reply with quote

Gentoo-Gastsytem:

CPU: 6 Kerne
RAM: 16384 MB
Grafikadapter: VMSVGA

Nächste Woche habe ich mehr Zeit und da wird es auch einen neuen Kernel geben, ich lass den 6.6.47 jetzt mal aus!

Da schau ich dann nochmal genauer nach bei .config

Code:
CONFIG_DRM_VMWGFX=y


wenn ich den neuen Kernel baue.

Mfg,
Sabaton
Back to top
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 445

PostPosted: Sun Sep 15, 2024 8:27 am    Post subject: Reply with quote

Bei deinem Auszug fehlen die Schritte der Kernelkonfiguration. Entweder hast du die Schritte hier einfach nicht gezeigt oder dein Kernel hat nicht die gewünschte Konfiguration.

Ausserdem solltest du in /etc/portage/make.conf noch die Variable VIDEO_CARDS="vmware" setzen, damit Kernel, Grafiktreiber und virtualisierte Hardware übereinstimmen.
Back to top
View user's profile Send private message
Sabaton
Apprentice
Apprentice


Joined: 02 Mar 2019
Posts: 185

PostPosted: Sun Sep 15, 2024 9:26 am    Post subject: Reply with quote

/etc/portage/make.conf
Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CPU_FLAGS_X86="aes avx mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j6"

# NOTE: This stage was built with the bindist Use flag enabled
USE="-systemd elogind nls dbus udev branding icu X acpi display-manager sddm gtk libkms wallpapers handbook alsa legacy-systray gtk2 gtk3 bluetooth plymouth pango"
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

VIDEO_CARDS="vmware"
INPUT_DEVICES="libinput"
ACCEPT_LICENSE="* @EULA"
LINGUAS="de en"
L10N="de en"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C


Kernel-Update
Code:
emerge --sync

emerge --ask --update --deep --with-bdeps=y --newuse sys-kernel/gentoo-sources

mount /dev/sda2 /boot

cd /usr/src/linux

cp .config ~/kernel-config-`uname -r`

eselect kernel list

   [1] linux-4.4.3-gentoo
   [2] linux-4.4.21-gentoo
   [3] linux-4.9.72-gentoo *
   [4] linux-4.19.72-gentoo

ls -lsa /usr/src

eselect kernel set 4

ls -lsa /usr/src

cp /usr/src/linux-4.9.72-gentoo/.config /usr/src/linux

cd ..

cd linux

ls -lsa

make olddefconfig

make menuconfig

[Kernel kontrollieren -> Seite 9 (VirtualBox-Guest)

[<EXIT> bzw. bei Änderung <SAVE> <EXIT>]

make -j6 && make modules_install

emerge --ask @module-rebuild

make install

genkernel --install initramfs

grub-mkconfig -o /boot/grub/grub.cfg

umount /boot

reboot

[Neuen Kernel beim Booten auswählen]

Alter Kernel entfernen:

emerge --ask --depclean gentoo-sources

mount /dev/sda2 /boot

cd /usr/src

ls -lsa

rm -r linux-4.19.82-gentoo

cd /lib/modules

ls -lsa

rm -r 4.19.82-gentoo

cd /boot

ls -lsa

rm config-4.19.82-gentoo
rm initramfs-4.19.82-gentoo.img
rm System.map-4.19.82-gentoo
rm vmlinuz-4.19.82-gentoo

grub-mkconfig -o /boot/grub/grub.cfg

cd /

umount /boot

reboot


Kernelkonfiguration für VirtualBox:
Code:
File systems --->   <*> Kernel automounter version 4 support (also supports v3)
Device Drivers --->   <*> USB Support --->       [*] USB LED Triggers
Device Drivers  -->
     Firmware Drivers  --->
         [*] Mark VGA/VBE/EFI FB as generic system framebuffer
Device Drivers  --->
    <*> Serial ATA and Parallel ATA drivers (libata)  --->
        [*] AHCI SATA support
        [*] ATA SFF support (for legacy IDE and PATA)
        [*]   ATA BMDMA support
        [*]     Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
    <*> Network device support  --->
        <*> Ethernet driver support  --->
            [*] Intel devices
            [*]   Intel(R) PRO/1000 Gigabit Ethernet support
    Input device support  --->
        <*> Keyboards  --->
            [*] AT keyboard
        <*> Mice  --->
            [*] PS/2 mouse
    <*> Virtio drivers  --->
        <*> PCI driver for virtio devices
    Graphics support  --->
       <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
            [*] Enable legacy fbdev support for your modesetting driver
       <*> DRM driver for VMware Virtual GPU
       <*> Enable framebuffer console under vmwgfx by default
        Frame buffer Devices  --->
           <*> Support for frame buffer devices  --->
                [*] Enable Firmware EDID
                [*] Simple framebuffer support
        <*> Console display driver support  --->
            [*] Framebuffer Console support
            [*]   Map the console to the primary display device
    <*> Sound card support  --->
        <*> Advanced Linux Sound Architecture  --->
            <*> PCI sound devices  --->
                [*] Intel/SiS/nVidia/AMD/ALi AC97 Controller
    <*> USB support  --->
        [*] xHCI HCD (USB 3.0) support
        [*] EHCI HCD (USB 2.0) support


Mfg,
Sabaton
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum