Problèmes et questions concernant le noyau et le support matériel.
Répondre

installation d'un noyau compilé

#1Messageil y a 2 ans

Bonjour à tout le monde
j'ai un chromebook asus c302c avec une manjaro toute fraiche
pour une meilleure prise en charge du système (et entre autre du son) j'ai installé via aur un noyau adapté (linux-nitrous-fire) mais lors du boot, écran noir et pis c'est tout.
comme je suis vieux je suis allé voir dans /var/log/messages mais il n'existe pas ?

du coup comment puis-je vérifier les messages d'erreur ?
il y a t'il une manipulation à faire après l'installation que je n'aurai pas suivie ? (le noyau est bien dans grub et je peux booter dessus)

installation d'un noyau compilé

#2Messageil y a 2 ans

bonjour

les logs sont bien dans /var/log mais dans un format binaire, il faut donc utiliser un utilitaire

dmesg -T -l err,warn --nopager
journalctl -b0 -p3 --no-pager

installation d'un noyau compilé

#3Messageil y a 2 ans

merci pour l'astuce mais je ne retrouve pas les messages concernant le boot ou les erreurs système

en regardant la doc j'ai bien "besoin du intel microcode" mais ça c'est à partir du noyau 5.10.49 de manjaro.
et dans mes options de boot j'ai bien, pour tous les noyaux, la ligne initrd qui semble correcte avec le bon module initramfs

c'est pourquoi je voudrai booter sur le noyau defectueux pour ensuite voir dans les log ce qui coince

installation d'un noyau compilé

#4Messageil y a 2 ans

dmesg c'est le boot courant donc tu ne verras pas le boot de ton noyau aur ;)
avec jounalctl, c'est à toi de spécifier le boot : -b0 c'est le boot courant (donc manjaro), -b-1 c'est le boot précédent ... Existe aussi --since
A voir le man:wink:

-------
ps: pas compris l’intérêt de ce noyau et surtout le rapport avec le son :saispas: si c'est pour de la mao alors manjaro propose les kernels rt (temps réel) :wink:

installation d'un noyau compilé

#5Messageil y a 2 ans

je vais lire le man ça faisait longtemps ;)

pour le son c'est simplement que le chipset n'est pas pris en compte par le noyau depuis les noyaux 5.x
il y a d'autres petits éléments semblent nécessiter une compilation spécifique (GalliumOS utilise un noyau spécifique)

installation d'un noyau compilé

#6Messageil y a 2 ans

les messages me parlent peu

ceux concernant exclusivement le noyau, différence entre ke boot sur le noyau compilé (le premier) et celui de manjaro:

# journalctl -k -b-1 -p3 --no-pager
-- Journal begins at Wed 2021-06-30 22:09:09 CEST, ends at Tue 2021-07-20 09:42:07 CEST. --
juil. 20 08:57:26 mathieu-cave kernel: elan_i2c i2c-ELAN0000:00: invalid report id data (ff)
juil. 20 08:57:26 mathieu-cave kernel: HDMI HDA Codec ehdaudio0D2: hdac_hdmi_present_sense: disconnect for pin:port 5:0
juil. 20 08:57:26 mathieu-cave kernel: HDMI HDA Codec ehdaudio0D2: hdac_hdmi_present_sense: disconnect for pin:port 6:0
juil. 20 08:57:26 mathieu-cave kernel: HDMI HDA Codec ehdaudio0D2: hdac_hdmi_present_sense: disconnect for pin:port 7:0
# journalctl -k -b-0 -p3 --no-pager
-- Journal begins at Wed 2021-06-30 22:09:09 CEST, ends at Tue 2021-07-20 09:46:27 CEST. --
juil. 20 09:40:56 mathieu-cave kernel: tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead
juil. 20 09:40:59 mathieu-cave kernel: snd_soc_skl 0000:00:1f.3: Fallback tplg fw dfw_sst.bin load failed with -2
juil. 20 09:40:59 mathieu-cave kernel: snd_soc_skl 0000:00:1f.3: Failed to init topology!
juil. 20 09:40:59 mathieu-cave kernel: snd_soc_skl 0000:00:1f.3: ASoC: error at snd_soc_component_probe on 0000:00:1f.3: -2
juil. 20 09:40:59 mathieu-cave kernel: snd_soc_skl 0000:00:1f.3: ASoC: failed to probe component -2
juil. 20 09:40:59 mathieu-cave kernel: skl_n88l25_m98357a skl_n88l25_m98357a: ASoC: failed to instantiate card -2
Pour aller plus loin

# journalctl -k -b-1 -p5 --no-pager
juil. 20 08:57:26 pasmoi-cave kernel: elan_i2c i2c-ELAN0000:00: invalid report id data (ff)
juil. 20 08:57:26 pasmoi-cave kernel: HDMI HDA Codec ehdaudio0D2: hdac_hdmi_present_sense: disconnect for pin:port 5:0
juil. 20 08:57:26 pasmoi-cave kernel: HDMI HDA Codec ehdaudio0D2: hdac_hdmi_present_sense: disconnect for pin:port 6:0
juil. 20 08:57:26 pasmoi-cave kernel: HDMI HDA Codec ehdaudio0D2: hdac_hdmi_present_sense: disconnect for pin:port 7:0
juil. 20 08:57:26 pasmoi-cave kernel: audit: type=1131 audit(1626764246.280:339): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
juil. 20 08:57:26 pasmoi-cave kernel: audit: type=1130 audit(1626764246.760:340): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
juil. 20 08:57:26 pasmoi-cave kernel: audit: type=1131 audit(1626764246.760:341): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
juil. 20 08:57:28 pasmoi-cave kernel: audit: type=1334 audit(1626764248.960:342): prog-id=65 op=LOAD
juil. 20 08:57:29 pasmoi-cave kernel: audit: type=1130 audit(1626764249.140:343): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
juil. 20 08:57:36 pasmoi-cave kernel: audit: type=1100 audit(1626764256.586:344): pid=16350 uid=0 auid=1000 ses=3 subj==unconfined msg='op=PAM:authentication grantors=? acct="pasmoi" exe="/usr/lib/gdm-session-worker" hostname=pasmoi-cave addr=? terminal=/dev/tty1 res=failed'
juil. 20 08:57:38 pasmoi-cave kernel: audit: type=1130 audit(1626764258.133:345): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
juil. 20 08:57:48 pasmoi-cave kernel: audit: type=1131 audit(1626764268.530:346): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
juil. 20 08:57:52 pasmoi-cave kernel: audit: type=1100 audit(1626764272.380:347): pid=16365 uid=0 auid=1000 ses=3 subj==unconfined msg='op=PAM:authentication grantors=pam_shells,pam_faillock,pam_permit,pam_faillock,pam_gnome_keyring acct="pasmoi" exe="/usr/lib/gdm-session-worker" hostname=pasmoi-cave addr=? terminal=/dev/tty1 res=success'
juil. 20 08:57:52 pasmoi-cave kernel: audit: type=1101 audit(1626764272.383:348): pid=16365 uid=0 auid=1000 ses=3 subj==unconfined msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="pasmoi" exe="/usr/lib/gdm-session-worker" hostname=pasmoi-cave addr=? terminal=/dev/tty1 res=success'
juil. 20 08:57:52 pasmoi-cave kernel: audit: type=1110 audit(1626764272.383:349): pid=16365 uid=0 auid=1000 ses=3 subj==unconfined msg='op=PAM:setcred grantors=pam_shells,pam_faillock,pam_permit,pam_faillock,pam_gnome_keyring acct="pasmoi" exe="/usr/lib/gdm-session-worker" hostname=pasmoi-cave addr=? terminal=/dev/tty1 res=success'
juil. 20 08:57:59 pasmoi-cave kernel: audit: type=1131 audit(1626764279.563:350): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
juil. 20 08:57:59 pasmoi-cave kernel: audit: type=1334 audit(1626764279.763:351): prog-id=65 op=UNLOAD
juil. 20 09:00:23 pasmoi-cave kernel: audit: type=1100 audit(1626764423.850:352): pid=16751 uid=1000 auid=1000 ses=4 subj==unconfined msg='op=PAM:authentication grantors=pam_unix acct="root" exe="/usr/bin/su" hostname=? addr=? terminal=/dev/pts/0 res=success'
juil. 20 09:00:23 pasmoi-cave kernel: audit: type=1101 audit(1626764423.850:353): pid=16751 uid=1000 auid=1000 ses=4 subj==unconfined msg='op=PAM:accounting grantors=pam_unix acct="root" exe="/usr/bin/su" hostname=? addr=? terminal=/dev/pts/0 res=success'
juil. 20 09:00:23 pasmoi-cave kernel: audit: type=1103 audit(1626764423.853:354): pid=16751 uid=1000 auid=1000 ses=4 subj==unconfined msg='op=PAM:setcred grantors=pam_unix acct="root" exe="/usr/bin/su" hostname=? addr=? terminal=/dev/pts/0 res=success'
juil. 20 09:00:23 pasmoi-cave kernel: audit: type=1105 audit(1626764423.853:355): pid=16751 uid=1000 auid=1000 ses=4 subj==unconfined msg='op=PAM:session_open grantors=pam_unix acct="root" exe="/usr/bin/su" hostname=? addr=? terminal=/dev/pts/0 res=success'
juil. 20 09:01:28 pasmoi-cave kernel: audit: type=1106 audit(1626764488.870:356): pid=16751 uid=1000 auid=1000 ses=4 subj==unconfined msg='op=PAM:session_close grantors=pam_unix acct="root" exe="/usr/bin/su" hostname=? addr=? terminal=/dev/pts/0 res=success'
juil. 20 09:01:28 pasmoi-cave kernel: audit: type=1104 audit(1626764488.870:357): pid=16751 uid=1000 auid=1000 ses=4 subj==unconfined msg='op=PAM:setcred grantors=pam_unix acct="root" exe="/usr/bin/su" hostname=? addr=? terminal=/dev/pts/0 res=success'
juil. 20 09:01:42 pasmoi-cave kernel: audit: type=1131 audit(1626764502.603:358): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-wait-online comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
juil. 20 09:01:42 pasmoi-cave kernel: audit: type=1131 audit(1626764502.636:359): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=cups comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
juil. 20 09:01:42 pasmoi-cave kernel: audit: type=1131 audit(1626764502.640:360): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=accounts-daemon comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
juil. 20 09:01:42 pasmoi-cave kernel: audit: type=1131 audit(1626764502.643:361): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=rtkit-daemon comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
juil. 20 09:01:42 pasmoi-cave kernel: audit: type=1131 audit(1626764502.716:362): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=colord comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
juil. 20 09:01:42 pasmoi-cave kernel: audit: type=1131 audit(1626764502.720:363): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=upower comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
juil. 20 09:01:42 pasmoi-cave kernel: audit: type=1334 audit(1626764502.796:364): prog-id=21 op=UNLOAD
juil. 20 09:01:42 pasmoi-cave kernel: audit: type=1334 audit(1626764502.796:365): prog-id=20 op=UNLOAD
juil. 20 09:01:43 pasmoi-cave kernel: audit: type=1131 audit(1626764503.070:366): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=bluetooth comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
juil. 20 09:01:43 pasmoi-cave kernel: audit: type=1131 audit(1626764503.073:367): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=udisks2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Là ce qui m'intrique c'est qu'on dirait que la machine ne s'est pas bloquée au démarrage mais que je ne peux simplement pas y accéder (j'ai essayé tty sans succès)

et le dmesg de manjaro

# dmesg -T -l err,warn --nopager
[mar. juil. 20 09:40:52 2021] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.
[mar. juil. 20 09:40:52 2021]  #2 #3
[mar. juil. 20 09:40:52 2021] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[mar. juil. 20 09:40:52 2021] i8042: Warning: Keylock active
[mar. juil. 20 09:40:55 2021] cros-usbpd-notify-acpi GOOG0003:00: Couldn't get Chrome EC device pointer.
[mar. juil. 20 09:40:55 2021] elan_i2c i2c-ELAN0000:00: supply vcc not found, using dummy regulator
[mar. juil. 20 09:40:55 2021] elants_i2c i2c-ELAN0001:00: supply vcc33 not found, using dummy regulator
[mar. juil. 20 09:40:55 2021] elants_i2c i2c-ELAN0001:00: supply vccio not found, using dummy regulator
[mar. juil. 20 09:40:56 2021] tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead
[mar. juil. 20 09:40:57 2021] kauditd_printk_skb: 3 callbacks suppressed
[mar. juil. 20 09:40:57 2021] thermal thermal_zone8: failed to read out thermal zone (-61)
[mar. juil. 20 09:40:58 2021] HDMI HDA Codec ehdaudio0D2: Max dais supported: 3
[mar. juil. 20 09:40:58 2021] snd_soc_skl 0000:00:1f.3: Direct firmware load for 9d70-CORE-COREBOOT-0-tplg.bin failed with error -2
[mar. juil. 20 09:40:58 2021] snd_soc_skl 0000:00:1f.3: Direct firmware load for skl_n88l25_m98357a-tplg.bin failed with error -2
[mar. juil. 20 09:40:58 2021] snd_soc_skl 0000:00:1f.3: Direct firmware load for dfw_sst.bin failed with error -2
[mar. juil. 20 09:40:58 2021] snd_soc_skl 0000:00:1f.3: Fallback tplg fw dfw_sst.bin load failed with -2
[mar. juil. 20 09:40:58 2021] snd_soc_skl 0000:00:1f.3: Failed to init topology!
[mar. juil. 20 09:40:58 2021] snd_soc_skl 0000:00:1f.3: ASoC: error at snd_soc_component_probe on 0000:00:1f.3: -2
[mar. juil. 20 09:40:58 2021] snd_soc_skl 0000:00:1f.3: ASoC: failed to probe component -2
[mar. juil. 20 09:40:58 2021] skl_n88l25_m98357a skl_n88l25_m98357a: ASoC: failed to instantiate card -2
[mar. juil. 20 09:40:58 2021] skl_n88l25_m98357a: probe of skl_n88l25_m98357a failed with error -2
[mar. juil. 20 09:41:02 2021] kauditd_printk_skb: 30 callbacks suppressed
[mar. juil. 20 09:41:07 2021] kauditd_printk_skb: 11 callbacks suppressed
[mar. juil. 20 09:41:24 2021] kauditd_printk_skb: 4 callbacks suppressed
[mar. juil. 20 09:42:07 2021] kauditd_printk_skb: 2 callbacks suppressed
du coup je vois bien le pb avec le son sur les deux sorties mais pas pourquoi le noyau compilé ne boote pas
Répondre