From dab19b0221bf2eae78718d4d4705a4020aefb537 Mon Sep 17 00:00:00 2001 From: kyodev <> Date: Sun, 28 Jan 2018 19:54:59 +0100 Subject: [PATCH] getInfo 3.11.0 --- scripts/getInfo | 46 +- scripts/getInfo_changelog.md | 4 + scripts/getInfo_rapport_x230ini.md | 1116 ++++++++++++++++++++++++++++ 3 files changed, 1143 insertions(+), 23 deletions(-) create mode 100644 scripts/getInfo_rapport_x230ini.md diff --git a/scripts/getInfo b/scripts/getInfo index 15bccc2..5b7f220 100755 --- a/scripts/getInfo +++ b/scripts/getInfo @@ -1,7 +1,7 @@ #!/bin/bash -version=3.10.0 -date="27/01/2018" +version=3.11.0 +date="28/01/2018" projet="simpledeb" contact="IRC freenode ##sdeb ou https://framagit.org/kyodev/kyopages/issues/" script="getInfo" @@ -845,7 +845,7 @@ fi_conf(){ # 13/12/2017 f_dspl cmd "$confs" "grep -Ersv '^#|^$' " } -fi_cpu(){ # 26/01/2018 +fi_cpu(){ # 28/01/2018 local cpu_flags text iflag qte_flags text_flags="" pluriel local alert_microcode @@ -854,14 +854,13 @@ fi_cpu(){ # 26/01/2018 cpu_flags=$( sed -n 's/^flags.*: \(.*\)$/\1/p;' /proc/cpuinfo | sed -n '1p'| \ tr ' ' '\n' | sort | tr '\n' ' ' | xargs ) for iflag in $cpu_flags; do - text_flags+="$( - $c_awk -v motif="$iflag" -F '⟷' ' - BEGIN { IGNORECASE=1; pattern = "^"motif"[[:blank:]]" } - $0 ~ pattern { $1 = motif; exit } - END { if( $1 != motif ) {$1 = motif; $2 = "?"} - printf ("%-20s %s",$1,$2 ) #ligne - }' <<< $CPU_FLAGS - )"$'\n' + text_flags+=$( $c_awk -v motif="$iflag" -F '⟷' ' + BEGIN { pattern = "^"toupper(motif) } # recherche sur majuscule + $0 ~ pattern { $1 = motif; exit } # $1, flag, en minuscule + END { if( $1 != motif ) { $1 = motif; $2 = "?" } # si rien trouvé: ? + printf ("%-20s %s",$1,$2 ) + } + ' <<< $CPU_FLAGS )$'\n' done text_flags=${text_flags%[[:cntrl:]]} # suppression \n final [ "$cpu_flags" ] && qte_flags=$( f__wcv -w "$cpu_flags" flags ) @@ -1619,7 +1618,7 @@ fi_packagers(){ #v2 23/11/2017 fi } -fi_pkg_apt(){ #v3 27/01/2018 +fi_pkg_apt(){ #v3 28/01/2018 local dateMaj nb_packages ifile info_update text pluriel local sources cmt_sources cmd_sources result local apt_v apt_version apt_prefs cmt_apt_prefs cmd_apt_prefs alert_non_pref @@ -1639,7 +1638,7 @@ fi_pkg_apt(){ #v3 27/01/2018 # sources sources=$( f_grep_file "/etc/apt/sources.list /etc/apt/sources.list.d/*.list /etc/apt/sources.list.d/*.sources" "sources date" ) cmt_sources="dépôts" - cmd_sources="grep -Ersv '^#|^$' /etc/apt/sources.list /etc/apt/sources.list.d/*.list" + cmd_sources="grep -Ersv '^#|^$' /etc/apt/sources.list /etc/apt/sources.list.d/*.list /etc/apt/sources.list.d/*.sources" # sources ignorées result=$( f_policy "sources" ) if [ "$result" ] ; then @@ -1648,7 +1647,7 @@ fi_pkg_apt(){ #v3 27/01/2018 unset result # preferences apt_prefs=$( f_grep_file "/etc/apt/preferences /etc/apt/preferences.d/*" "lignevide date" ) - cmd_apt_prefs="grep -Erv '^#|^$' /etc/apt/preferences.d/" + cmd_apt_prefs="grep -Erv '^#|^$' /etc/apt/preferences /etc/apt/preferences.d/" cmt_apt_prefs="préférences apt" # preferences ignorées result=$( f_policy "preferences" ) @@ -1737,7 +1736,7 @@ fi_pkg_apt(){ #v3 27/01/2018 alert_upgrade="ces paquets peuvent être mis à jour avec: **apt upgrade**" elif [ "${qte_upgradable[0]}" -lt 0 ]; then upgrade="• erreur apt, les paquets à mettre à jour ne peuvent être déterminés" - alert_apt="Erreur apt, vérifier avec **apt update ; apt upgrade --simulate**" + alert_apt="Erreur apt, vérifier avec **apt update ; apt upgrade** et analyser les messages" fi # full-upgrade if [ "${qte_upgradable[1]}" -gt 0 ]; then @@ -1860,7 +1859,6 @@ fi_pkg_apt(){ #v3 27/01/2018 # kernel # metaPkg=$( dpkg -l | grep -i -E 'linux-(image|headers)-([0-9]{3}|amd)' ) metaPkg=$( $c_awk ' - BEGIN{IGNORECASE=1} /linux-(image|headers)-([0-9]{3}|amd)/ { printf "%-3s %-30s %s ",$1, $2, $3 $1=$2=$3=$4=""; print $0 }' <<< $( dpkg -l ) ) @@ -1868,7 +1866,6 @@ fi_pkg_apt(){ #v3 27/01/2018 cmt_metaPkg="métapaquet noyau" # kernel=$( dpkg -l | grep -i -E "linux-(headers|image)-$(uname -r)" ) kernel=$( $c_awk ' - BEGIN{IGNORECASE=1} /linux-(headers|image)-'$(uname -r)'/ { printf "%-3s %-30s %s ",$1, $2, $3 $1=$2=$3=$4=""; print $0 }' <<< $( dpkg -l ) ) @@ -3123,8 +3120,8 @@ figet_cpu_uarch(){ # 14/11/2017 } # assigne $fg_de, $fg_de_panel -figet_de(){ #v 26/01/2018 # thanks neofetch - local de="n/a" +figet_de(){ #v 28/01/2018 # thanks neofetch + local de="n/a" ps x_de=1 fg_de="n/a" @@ -3143,7 +3140,8 @@ figet_de(){ #v 26/01/2018 # thanks neofetch return 0 # fallback to using xprop elif [[ -z "$de" ]]; then - de=$( xprop -root | $c_awk 'BEGIN{IGNORECASE = 1};/KDE_SESSION_VERSION|^_MUFFIN/' ) + de=$( xprop -root ) + de=$( $c_awk '/KDE_SESSION_VERSION|^_MUFFIN/' <<< ${de^^} ) # critère en majuscule fi # Format strings if [[ "${de,,}" =~ kde ]]; then # test sur minuscules @@ -3158,10 +3156,11 @@ figet_de(){ #v 26/01/2018 # thanks neofetch fg_de=${fg_de^} # caractère 1 en majuscule ### # panel - fg_de_panel=$( $c_awk ' BEGIN { IGNORECASE=1 } + ps=$( ps -A ) + fg_de_panel=$( $c_awk ' #inclus lxpanel, mate-panel, gnome-panel, xfceX-panel /(gnome-shell|kicker|plasma-desktop|plasma-netbook|lxpanel|panel)$/ { print $NF; exit } - ' <<< $( ps -A ) ) + ' <<< ${ps,,} ) } @@ -4399,7 +4398,8 @@ for j in $options; do # deuxième passe options, actions # fi_efi fi_locale fi_conf fi_vrms fi_packagers # fi_reseau fi_nm # fi_system_analyse fi_log_xorg fi_journal - fi_cpu + fi_touchpad # à fixer sur x230 +# fi_bluez # long echo; f_prnt_md "$file_output" ;; # test -c* | all ) diff --git a/scripts/getInfo_changelog.md b/scripts/getInfo_changelog.md index 699edef..44838e9 100644 --- a/scripts/getInfo_changelog.md +++ b/scripts/getInfo_changelog.md @@ -2,6 +2,10 @@ * mawk en cours de test +## getInfo 3.11.0 28/01/2018 + +* fix: fonctionnement avec mawk, fi_pkg_apt, figet_de, fi_cpu + ## getInfo 3.10.0 27/01/2018 * révision: fi_pkg_apt, affichage awk , alerte erreur apt, affichage mineur diff --git a/scripts/getInfo_rapport_x230ini.md b/scripts/getInfo_rapport_x230ini.md new file mode 100644 index 0000000..165dd16 --- /dev/null +++ b/scripts/getInfo_rapport_x230ini.md @@ -0,0 +1,1116 @@ +* **getInfo** sur *X230* + +Rapport du 28/01/2018 19:51 +0100    ◇    ./getInfo     ◇    [getInfo 3.11.0](https://kyodev.frama.io/kyopages/scripts/getInfo/) + +--- + +# ▷ Système + +* **LENOVO 23252CG ThinkPad X230 • Notebook ** +* **LENOVO G2ETA8WW (2.68 ) 04/19/2017 ** + +* CPU + * **1 x IntelCorei5-3320M (2cores, 4threads) {1.20/2.59/3.30GHz} microcode:0x1c ** +* Vidéo + * **Intel 3rd Gen Core processor Graphics Controller ** +* Réseau + * **Ethernet:Intel 82579LM Gigabit Network Connection ** + * **Network :Intel Centrino Advanced-N 6205 [Taylor Peak] ** +* Audio + * **Intel 7 Series/C216 Chipset FamilyHDAudio Controller ** + +``` +Debian GNU/Linux buster/sid + 4.14.0-2-amd64 x86_64 GNU/Linux + boot: EFI + architecture système: 64bits, amd64 (x86_64) + date d'installation: 08/01/2018 + démon d'initialisation: Systemd v236 + shell actif: Bash 4.4.12 + shells installés: bash dash rbash sh + BOOT_IMAGE=/boot/vmlinuz-4.14.0-2-amd64 + root=UUID=579ab06e-724b-45c6-a19f-71809eeb78af + ro + quiet + +Environnement + serveur d'affichage: X11 + nombre d'écrans: 1 + résolution: 1366x768 pixels + display manager: Lightdm + desktop (DE): Xfce + panel: xfce4-panel + window manager: Xfwm4 + +Matériel + 1 processeur 64bits + 1 carte bluetooth (hci0) + 1 alimentation + 1 batterie présente: + BAT0: LGC (45N1025) Li-ion, 57.72Wh - 11.10V / 12.50V (mini/actuel) + **batterie en alarme** /sys/class/power_supply/BAT0: 1845000 + 1 pavé tactile: SynPS/2 Synaptics TouchPad" + N: Name="TPPS/2 IBM TrackPoint +``` + +* partitions fixes montées (total, utilisé, dispo): **83Go 31Go 51Go** +* dernier boot: **28/01/2018 07:36 +0100**, il y a **19 jours 22 h 28 mn** +* charge système depuis les 1, 5 et 15 dernières minutes: 0.20 0.12 0.10 +* soit avec 4 threads :10% 6% 5% d'occupation du système (en temps) + + + +## processeur + +`lscpu` +``` +1 x IntelCorei5-3320M (2cores, 4threads) {1.20/2.59/3.30GHz} microcode:0x1c +{fréq. min/nom/max}, Intel famille 6, modèle 58 {0x06|0x3A}, révision 9 +36b physique, 48b virtuel, bogomips: 5187, cache: 3072ko +``` + +**µarchitecture processeur** +``` +Intel Ivy Bridge 22nm {0x06|0x3A} +``` + +* microcode installé, flag Cpu: REP_GOOD + +**83 flags cpu** +``` +acpi aes aperfmperf apic arat arch_perfmon avx bts clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept erms est f16c flexpriority fpu fsgsbase fxsr ht ida lahf_lm lm mca mce mmx monitor msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pebs pge pln pni popcnt pse pse36 pts rdrand rdtscp rep_good sep smep smx ss sse sse2 sse4_1 sse4_2 ssse3 syscall tm tm2 tpr_shadow tsc tsc_deadline_timer vme vmx vnmi vpid x2apic xsave xsaveopt xtopology xtpr +``` + +``` +acpi ACPI via MSR +aes AES instructions +aperfmperf APERFMPERF +apic Onboard APIC +arat Always Running APIC Timer +arch_perfmon Intel Architectural PerfMon +avx Advanced Vector Extensions +bts Branch Trace Store +clflush CLFLUSH instruction +cmov CMOV instructions (plus FCMOVcc, FCOMI with FPU) +constant_tsc TSC ticks at a constant rate +cpuid CPU has CPUID instruction itself +cpuid_fault Intel CPUID faulting +cx16 CMPXCHG16B +cx8 CMPXCHG8 instruction +de Debugging Extensions +ds_cpl CPL Qual. Debug Store +dtes64 64-bit Debug Store +dtherm Digital Thermal Sensor +dts Debug Store +epb IA32_ENERGY_PERF_BIAS support +ept Intel Extended Page Table +erms Enhanced REP MOVSB/STOSB +est Enhanced SpeedStep +f16c 16-bit fp conversions +flexpriority Intel FlexPriority +fpu Onboard FPU +fsgsbase {RD/WR}{FS/GS}BASE instructions +fxsr FXSAVE/FXRSTOR, CR4.OSFXSR +ht Hyper-Threading +ida Intel Dynamic Acceleration +lahf_lm LAHF/SAHF in long mode +lm Long Mode (x86-64) +mca Machine Check Architecture +mce Machine Check Exception +mmx Multimedia Extensions +monitor Monitor/Mwait support +msr Model-Specific Registers +mtrr Memory Type Range Registers +nonstop_tsc TSC does not stop in C states +nopl instructions +nx Execute Disable +pae Physical Address Extensions +pat Page Attribute Table +pbe Pending Break Enable +pcid Process Context Identifiers +pclmulqdq PCLMULQDQ instruction +pdcm Performance Capabilities +pebs Precise-Event Based Sampling +pge Page Global Enable +pln Intel Power Limit Notification +pni SSE-3 +popcnt POPCNT instruction +pse Page Size Extensions +pse36 36-bit PSEs +pts performance time-stamp counter +rdrand The RDRAND instruction +rdtscp RDTSCP +rep_good rep microcode works well +sep SYSENTER/SYSEXIT +smep Supervisor Mode Execution Protection +smx Safer mode +ss sse +sse sse +sse2 sse2 +sse4_1 SSE-4.1 +sse4_2 SSE-4.2 +ssse3 Supplemental SSE-3 +syscall SYSCALL/SYSRET +tm Automatic clock control +tm2 Thermal Monitor 2 +tpr_shadow Intel TPR Shadow +tsc Time Stamp Counter +tsc_deadline_timer Tsc deadline timer +vme Virtual Mode Extensions +vmx Hardware virtualization +vnmi Intel Virtual NMI +vpid Intel Virtual Processor ID +x2apic x2APIC +xsave XSAVE/XRSTOR/XSETBV/XGETBV +xsaveopt XSAVEOPT +xtopology cpu topology enum extensions +xtpr Send Task Priority Messages +``` + + + +## mémoire + +`free -h` +``` +mémoire totale utilisée disponible +vive: 7.6Go 5.0Go 2.2Go +swap: 7.8Go 0ko 7.8Go +``` + +`cat /proc/sys/vm/swappiness`    ( Seuil bas de RAM libre où le swap est utilisé ) +``` +60 +``` + + + +## hardware monitor + + +``` +acpitz 48.0°C (crit: 103.0°C) +coretemp 55.0/51.0/55.0°C Package.id.0 Core.0 Core.1 (crit: 105.0°C) (maxi: 87.0°C) +``` + + + + +## batterie + +``` +BAT0: LGC (45N1025) Li-ion, 57.72Wh - 11.10V / 12.50V (mini/actuel) +pleine charge effective: 36.91Wh, pleine charge théorique: 57.72Wh => 63.9% (indicateur) +totalement chargée +**batterie en alarme** /sys/class/power_supply/BAT0: 1845000 +``` + + + +## vidéo + +* **Intel 3rd Gen Core processor Graphics Controller ** + +* nombre d'écrans: **1** +* résolution active: **1366x768 pixels** + +`lspci -nnv -s 00:02.0` +``` +00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) + Subsystem: Lenovo 3rd Gen Core processor Graphics Controller [17aa:21fa] + Flags: bus master, fast devsel, latency 0, IRQ 31 + Memory at f0000000 (64-bit, non-prefetchable) [size=4M] + Memory at e0000000 (64-bit, prefetchable) [size=256M] + I/O ports at 6000 [size=64] + [virtual] Expansion ROM at 000c0000 [disabled] [size=128K] + Kernel driver in use: i915 + Kernel modules: i915 +``` + +`glxinfo | grep -E 'rendering|Device: '`    ( devices OpenGl ) +``` +direct rendering: Yes +Device: Mesa DRI Intel(R) Ivybridge Mobile (0x166) +``` + +`glxinfo | grep -E 'OpenGL vendor|OpenGL renderer|OpenGL version|shading language|OpenGL extensions'`    ( OpenGl ) +``` +OpenGL vendor: Intel Open Source Technology Center +OpenGL renderer: Mesa DRI Intel(R) Ivybridge Mobile +OpenGL version: 3.0 Mesa 17.2.5 +OpenGL core profile shading language version: 4.20 +OpenGL shading language version: 1.30 +OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.00 +OpenGL extensions: +``` + +`xrandr --verbose | grep -EA2 'current|preferred'`    ( résolution courante et préférée ) +``` +Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192 +LVDS-1 connected primary 1366x768+0+0 (0x4b) normal (normal left inverted right x axis y axis) 277mm x 156mm + Identifier: 0x42 +-- + 1366x768 (0x4b) 69.300MHz -HSync -VSync *current +preferred + h: width 1366 start 1414 end 1446 total 1454 skew 0 clock 47.66KHz + v: height 768 start 771 end 777 total 793 clock 60.10Hz +``` + +`xrandr --listproviders` +``` +Providers: number : 1 +Provider 0: id: 0x4a cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 8 associated providers: 0 name:modesetting +``` + +`xrandr --query | grep -A11 'Screen [0-9]'`    ( 10 premières résolutions possibles ) +``` +Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192 +LVDS-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 277mm x 156mm + 1366x768 60.10*+ + 1360x768 59.80 59.96 + 1024x768 60.04 60.00 + 960x720 60.00 + 928x696 60.05 + 896x672 60.01 + 960x600 60.00 + 960x540 59.99 + 800x600 60.00 60.32 56.25 + 840x525 60.01 59.88 +``` + +`lsmod | grep -Ew 'i915'`    ( **Gpu:** 6 modules utilisés ) +``` +i915 1355776 7 +drm_kms_helper 163840 1 i915 +video 40960 2 thinkpad_acpi,i915 +button 16384 1 i915 +drm 376832 7 i915,drm_kms_helper +i2c_algo_bit 16384 1 i915 + + => /kernel/drivers/gpu/drm/i915/i915.ko +``` + +`Aucun fichier à afficher`    ( configuration Xorg ) +``` + => /etc/X11/xorg.conf: inexistant + + => /etc/X11/xorg.conf.d/*.conf: inexistant +``` + + ☛ les configurations par défaut de Xorg se trouve dans **/usr/share/X11/xorg.conf.d/**, non sorties ici. + + + +## réseau + +* **Ethernet:Intel 82579LM Gigabit Network Connection ** +* **Network :Intel Centrino Advanced-N 6205 [Taylor Peak] ** + +`lspci -nnv | grep -EiA 15 'network|ethernet'` +``` +00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 04) + Subsystem: Lenovo 82579LM Gigabit Network Connection (Lewisville) [17aa:21f3] + Flags: bus master, fast devsel, latency 0, IRQ 27 + Memory at f2500000 (32-bit, non-prefetchable) [size=128K] + Memory at f253b000 (32-bit, non-prefetchable) [size=4K] + I/O ports at 6080 [size=32] + Kernel driver in use: e1000e + Kernel modules: e1000e + +03:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] [8086:0085] (rev 34) + Subsystem: Intel Corporation Centrino Advanced-N 6205 AGN [8086:1311] + Flags: bus master, fast devsel, latency 0, IRQ 30 + Memory at f1c00000 (64-bit, non-prefetchable) [size=8K] + Kernel driver in use: iwlwifi + Kernel modules: iwlwifi +``` + +`lsmod | grep -Ew 'e1000e'`    ( **Ethernet:** 2 modules utilisés ) +``` +e1000e 245760 0 +ptp 20480 1 e1000e + + => /kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko +``` + +`lsmod | grep -Ew 'iwlwifi'`    ( **Wifi:** 2 modules utilisés ) +``` +iwlwifi 188416 1 iwldvm +cfg80211 610304 3 iwlwifi,mac80211,iwldvm + + => /kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko +``` + + + +## audio + +* **Intel 7 Series/C216 Chipset FamilyHDAudio Controller ** + +`lspci -nnv | grep -EiA6 'Audio device|Audio controller'` +``` +00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller [8086:1e20] (rev 04) + Subsystem: Lenovo 7 Series/C216 Chipset Family High Definition Audio Controller [17aa:21fa] + Flags: bus master, fast devsel, latency 0, IRQ 32 + Memory at f2530000 (64-bit, non-prefetchable) [size=16K] + Kernel driver in use: snd_hda_intel + Kernel modules: snd_hda_intel +``` + +`/proc/asound/version`    ( driver alsa (Advanced Linux Sound Architecture) ) +``` +k4.14.0-2-amd64 +``` + +`cat /proc/asound/cards`    ( carte enregistée ) +``` + 0 [PCH ]: HDA-Intel - HDA Intel PCH + HDA Intel PCH at 0xf2530000 irq 32 +``` + +`cat /proc/asound/cards`    ( carte enregistée ) +``` +snd_hda_intel +``` + +`lsmod | grep -Ew 'snd_hda_intel'`    ( 5 modules utilisés ) +``` +snd_hda_intel 40960 5 +snd_hda_codec 126976 4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek +snd_hda_core 81920 5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek +snd_pcm 98304 5 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi +snd 81920 18 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,thinkpad_acpi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm + + => /kernel/sound/pci/hda/snd-hda-intel.ko +``` + +* **SynPS/2 Synaptics TouchPad"** +* **N: Name="TPPS/2 IBM TrackPoint** + + + +## Touchpad + +`grep -Ei -B1 -A8 'synaptics|alps|etps|elan' /proc/bus/input/devices` +``` +I: Bus=0011 Vendor=0002 Product=0007 Version=01b1 +N: Name="SynPS/2 Synaptics TouchPad" +P: Phys=isa0060/serio1/input0 +S: Sysfs=/devices/platform/i8042/serio1/input/input2 +U: Uniq= +H: Handlers=mouse0 event1 +B: PROP=5 +B: EV=b +B: KEY=e520 10000 0 0 0 0 +B: ABS=660800011000003 +-- +N: Name="TPPS/2 IBM TrackPoint" +P: Phys=synaptics-pt/serio0/input0 +S: Sysfs=/devices/platform/i8042/serio1/serio2/input/input3 +U: Uniq= +H: Handlers=mouse2 event4 +B: PROP=21 +B: EV=7 +B: KEY=70000 0 0 0 0 +B: REL=3 +``` + +`dpkg -l *synaptics *libinput`    ( paquets installés ) +``` +libinput-bin input device management and event handling library - udev quirks +libinput10:amd64 input device management and event handling library - shared library +xserver-xorg-input-libinput X.Org X server -- libinput input driver +``` + + ☛ consulter d'éventuels fichiers *synaptics *libinput dans /etc/X11/xorg.conf.d/ pour voir les configurations personnalisées + + + +## Bluetooth + +`hciconfig -a`    ( état périphérique ) +``` +hci0: Type: Primary Bus: USB + BD Address: 7C:E9:D3:E8:8B:04 ACL MTU: 1021:8 SCO MTU: 64:1 + UP RUNNING + RX bytes:3328 acl:0 sco:0 events:105 errors:0 + TX bytes:2396 acl:0 sco:0 commands:89 errors:0 + Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87 + Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 + Link policy: RSWITCH SNIFF + Link mode: SLAVE ACCEPT + Name: 'X230' + Class: 0x00010c + Service Classes: Unspecified + Device Class: Computer, Laptop + HCI Version: 4.0 (0x6) Revision: 0x1000 + LMP Version: 4.0 (0x6) Subversion: 0x220e + Manufacturer: Broadcom Corporation (15) +``` + +`lsmod | grep -Ew 'btusb'`    ( 6 modules utilisés ) +``` +btusb 45056 0 +btrtl 16384 1 btusb +btbcm 16384 1 btusb +btintel 16384 1 btusb +bluetooth 548864 26 btrtl,btintel,bnep,btbcm,btusb +usbcore 249856 14 usbnet,uvcvideo,usbhid,usb_storage,cdc_mbim,ehci_hcd,cdc_acm,cdc_ncm,cdc_wdm,xhci_pci,btusb,uas,xhci_hcd,ehci_pci + + => /kernel/drivers/bluetooth/btusb.ko +``` + + + +## USB + +`lsusb + lsusb -t`    ( affichage modifié, ajout Class & Driver ) +``` +bus dev id périphérique class driver +001 001 1d6b:0002 Linux Foundation 2.0 root hub root_hub ehci pci/3p +001 002 8087:0024 Intel Integrated Rate Matching Hub Hub hub/6p +001 004 147e:2020 Upek TouchChip Fingerprint Coprocessor (WBF advanced mode) Vend. Specific +001 006 04f2:b2eb Chicony Electronics Video uvcvideo +001 007 046d:c52f Logitech Unifying Receiver HID usbhid +001 008 0a5c:21e6 Broadcom BCM20702 Bluetooth 4.0 [ThinkPad] Vend. Specific btusb +002 001 1d6b:0002 Linux Foundation 2.0 root hub root_hub ehci pci/3p +002 002 8087:0024 Intel Integrated Rate Matching Hub Hub hub/8p +003 001 1d6b:0002 Linux Foundation 2.0 root hub root_hub xhci_hcd/4p +003 003 0bdb:1926 Ericsson Business Mobile Networks BV Communications +004 001 1d6b:0003 Linux Foundation 3.0 root hub root_hub xhci_hcd/4p +``` + + + + +## disque + +* partitions fixes montées (total, utilisé, dispo): **83Go 31Go 51Go** + +``` +disque fixe : sda +disque amovible : - + +partitions fixes montées: sda1 sda2 sda4 +partition swap : sda3 +partition fixe non montée : - + +partition amovible montée : - +partition amovible non montée : - + +disk taille type vendeur modèle rév. +sda 298,1G Fixe ATA HITACHI HTS72323 B70B +``` + +* **types de disque** + +| sata | usb | mmc | nvme | +| :---: | :---: | :---: | :---: | +| sda | - | - | - | + +`df -h --total --output=source,target,fstype,size,used,avail,pcent /dev/sda1 /dev/sda2 /dev/sda4 `    ( utilisation disque ) +``` +Sys. de fichiers Monté sur Type Taille Utilisé Dispo Uti% +/dev/sda1 /boot/efi vfat 240M 121K 240M 1% +/dev/sda2 / ext4 28G 5,1G 21G 20% +/dev/sda4 /home ext4 55G 26G 30G 46% +total - - 83G 31G 51G 38% +``` + +`df -i /dev/sda1 /dev/sda2 /dev/sda4 `    ( utilisation inoeuds ) +``` +Sys. de fichiers Inœuds IUtil. ILibre IUti% Monté sur +/dev/sda1 0 0 0 - /boot/efi +/dev/sda2 1831424 131237 1700187 8% / +/dev/sda4 3662848 44895 3617953 2% /home +``` + +`lsblk -o NAME,FSTYPE,SIZE,LABEL,MOUNTPOINT,UUID`    ( disque & partitions ) +``` +NAME FSTYPE SIZE LABEL MOUNTPOINT UUID +sda 298,1G +├─sda1 vfat 243M /boot/efi AB94-9A93 +├─sda2 ext4 28G system / 579ab06e-724b-45c6-a19f-71809eeb78af +├─sda3 swap 7,8G [SWAP] 1ad51b4f-7128-4c2b-8145-6f5acc1b1df8 +└─sda4 ext4 55,9G data /home dae6618b-f3ce-44e7-9955-018fa7f7907a +``` + +`grep -Ev '^#|^$' /etc/fstab`    ( fstab ) +``` +UUID=579ab06e-724b-45c6-a19f-71809eeb78af / ext4 errors=remount-ro 0 1 +UUID=AB94-9A93 /boot/efi vfat umask=0077 0 1 +UUID=dae6618b-f3ce-44e7-9955-018fa7f7907a /home ext4 defaults 0 2 +UUID=1ad51b4f-7128-4c2b-8145-6f5acc1b1df8 none swap sw 0 0 +``` + +`grep -Evs '^#|^$' /etc/initramfs-tools/conf.d/resume`    ( resume ) +``` +RESUME=UUID=1ad51b4f-7128-4c2b-8145-6f5acc1b1df8 +``` + +# ▷ Configuration + + +## EFI boot + +`efibootmgr -v`    ( config EFI boot ) +``` +BootCurrent: 0018 +Timeout: 0 seconds +BootOrder: 0018,0000,0001,0002,0003,000A,000D,0008,0007,0009,000B,000C,000E,000F,0010,0011,0012 +Boot0000 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9) +Boot0001 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850) +Boot0002 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380) +Boot0003 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560) +Boot0004 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479) +Boot0005 ME Configuration Menu FvFile(82988420-7467-4490-9059-feb448dd1963) +Boot0006 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5) +Boot0007* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55) +Boot0008* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49) +Boot0009* ATAPI CD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35401) +Boot000A* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600) +Boot000B* ATA HDD1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601) +Boot000C* ATA HDD2 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f602) +Boot000D* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803) +Boot000E* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803) +Boot000F* ATAPI CD1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35404) +Boot0010 Other CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35406) +Boot0011* ATA HDD3 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f604) +Boot0012 Other HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f606) +Boot0013* IDER BOOT CDROM PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,1,0) +Boot0014* IDER BOOT Floppy PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,0,0) +Boot0015* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6) +Boot0016* ATAPI CD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354) +Boot0017* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803) +Boot0018* debian HD(1,GPT,a71c9840-bbde-438f-b943-26293372b711,0x800,0x79800)/File(\EFI\debian\grubx64.efi) +``` + + + +## localisation + +`grep -Esv '#|^$' /etc/default/locale* /etc/locale.conf` +``` + => /etc/default/locale +LANG="fr_FR.UTF-8" + + => /etc/locale.conf: inexistant +``` + +`localectl status` +``` + System Locale: LANG=fr_FR.UTF-8 + VC Keymap: n/a + X11 Layout: fr + X11 Model: pc105 + X11 Variant: latin9 +``` + +`locale` +``` +LANG=fr_FR.UTF-8 +LANGUAGE= +LC_CTYPE="fr_FR.UTF-8" +LC_NUMERIC="fr_FR.UTF-8" +LC_TIME="fr_FR.UTF-8" +LC_COLLATE="fr_FR.UTF-8" +LC_MONETARY="fr_FR.UTF-8" +LC_MESSAGES="fr_FR.UTF-8" +LC_PAPER="fr_FR.UTF-8" +LC_NAME="fr_FR.UTF-8" +LC_ADDRESS="fr_FR.UTF-8" +LC_TELEPHONE="fr_FR.UTF-8" +LC_MEASUREMENT="fr_FR.UTF-8" +LC_IDENTIFICATION="fr_FR.UTF-8" +LC_ALL= +``` + +`grep -EHsv '#|^$' /etc/timezone*` +``` + => /etc/timezone +Europe/Paris +``` + +`timedatectl status` +``` + Local time: Sun 2018-01-28 19:51:36 CET + Universal time: Sun 2018-01-28 18:51:36 UTC + RTC time: Sun 2018-01-28 18:51:10 + Time zone: Europe/Paris (CET, +0100) + System clock synchronized: yes +systemd-timesyncd.service active: no + RTC in local TZ: no +``` + +`grep -EHv '#|^$' /etc/default/keyboard*` +``` + => /etc/default/keyboard +XKBMODEL="pc105" +XKBLAYOUT="fr" +XKBVARIANT="latin9" +XKBOPTIONS="" +BACKSPACE="guess" +``` + +`setxkbmap -query` +``` +rules: evdev +model: pc105 +layout: fr +variant: oss +``` + + + +## fichiers configuration divers + +`grep -Ersv '^#|^$' ` +``` + => /etc/default/grub +GRUB_DEFAULT=0 +GRUB_TIMEOUT=5 +GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` +GRUB_CMDLINE_LINUX_DEFAULT="quiet" +GRUB_CMDLINE_LINUX="" + + => /etc/sysctl.conf + ‣ vide + + => /etc/sysctl.d/99-sysctl.conf + ‣ vide + + => /etc/hostname +X230 + + => /etc/modules-load.d/modules.conf + ‣ vide + + => /etc/modprobe.d/intel-microcode-blacklist.conf +blacklist microcode + + => /etc/discover-modprobe.conf +types="all" +``` + + + +## paquets non-libres + +`vrms`    ( détection des paquets non libres par RMS ) +``` + 2 paquets non libres installés: +firmware-iwlwifi Binary firmware for Intel Wireless cards +intel-microcode Processor microcode firmware for Intel CPUs + 1 paquet contrib installé: +iucode-tool Intel processor microcode tool +``` + + + + +## gestion de paquets apt/dpkg + +* nombre de paquets installés: **1710** +* dernière mise à jour apt: **28/01/2018 19:30 +0100** +* version apt: **1.6~alpha6** + + ☛ apt update n'a pas été lancé, vérifier que la date de mise à jour ne soit pas trop ancienne. + + +`grep -Ersv '^#|^$' /etc/apt/sources.list /etc/apt/sources.list.d/*.list /etc/apt/sources.list.d/*.sources`    ( dépôts ) +``` + => /etc/apt/sources.list: inexistant + + => /etc/apt/sources.list.d/*.list: inexistant + + => /etc/apt/sources.list.d/sources.sources, date de modification: 27/01/2018 17:52 +0100 +Description: buster stable & sid (pin -10) +Types: deb +URIs: https://deb.debian.org/debian/ +Suites: buster stable sid +Components: main contrib non-free + +Description: security +Types: deb +URIs: https://deb.debian.org/debian-security +Suites: buster/updates +Components: main contrib non-free + +Enabled: no +Description: sources +Types: deb-src +URIs: https://deb.debian.org/debian/ +Suites: stable testing sid +Components: main contrib non-free +``` + + ☛ ignoré: +/etc/apt/sources.list.d/sources.list.old + +`grep -Erv '^#|^$' /etc/apt/preferences /etc/apt/preferences.d/`    ( préférences apt ) +``` + => /etc/apt/preferences: inexistant + + => /etc/apt/preferences.d/paquets.pref, date de modification: 27/01/2018 18:50 +0100 +Package: geany* +Pin: version 1.32-2 +Pin-Priority: -10 + + => /etc/apt/preferences.d/preferences, date de modification: 27/01/2018 18:51 +0100 + +Explanation: SUIVI TESTING comme base +Package: * +Pin: release a=testing,n=buster +Pin-Priority: 500 + +Explanation: stable en fallback +Package: * +Pin: release a=stable,n=stretch +Pin-Priority: 400 + +Explanation: sid +Package: * +Pin: release a=unstable,n=sid +Pin-Priority: -10 +``` + +`apt list --upgradable`    ( -1 paquet à mettre à jour ) +``` +• erreur apt, les paquets à mettre à jour ne peuvent être déterminés +``` + +> ↯ Erreur apt, vérifier avec **apt update ; apt upgrade** et analyser les messages + +`apt autoremove`    ( 1 paquet inutile ) +``` +multiarch-support +``` + + ☛ les paquets peuvent être supprimés avec: **apt autoremove --purge** +vérifier que la liste ne contient pas des applications devenues importantes +au besoin, les marquer comme installées manuellement avec apt-mark manual +ou les installer manuellement avec apt install + +`apt autoclean`    ( aucune archive périmée ) + +* vide +`du -chS /var/cache/apt/archives/`    ( taille du cache des paquets ) +``` +4.0K /var/cache/apt/archives/partial +123M /var/cache/apt/archives/ +123M total +``` + + ☛ 219 archives dans le cache de téléchargement des paquets +123M pourraient être libérés en effaçant ce cache: **apt clean** + +`dpkg -l | grep -v '^ii'`    ( 7 paquets dans un état non standard (^ii) ) +``` +rc aspell-fr 0.50-3-8 French dictionary for aspell +rc gconf2-common 3.2.6-4 GNOME configuration database system (common files) +rc geoclue-2.0 2.4.7-1 geoinformation service +rc ifrench-gut 1:1.0-32 French dictionary for ispell (GUTenberg version) +rc iio-sensor-proxy 2.2-1 IIO sensors to D-Bus proxy +rc libhttp-parser2.1:amd64 2.1-2 parser for HTTP messages written in C +rc wfrench 1.2.3-11 French dictionary words for /usr/share/dict + + ‣ État souhaité / État du paquet / Drapeaux d'erreur + r: remove (à supprimer) c: config-files (fichiers de configuration) / . +``` + + ☛ les paquets dans un état 'rc' (fichiers de configuration orphelins) peuvent être purgés avec: +**dpkg --purge $(dpkg -l | awk '/^rc/{print $2}')** + +`apt-mark showhold`    ( aucun paquet figé ) + +* vide +`dpkg -l | grep -i -E 'linux-(image|headers)-([0-9]{3}|amd)'`    ( métapaquet noyau ) +``` +ii linux-image-amd64 4.14+89 Linux for 64-bit PCs (meta-package) +``` + +`dpkg -l | grep -i -E "linux-(headers|image)-4.14.0-2-amd64"`    ( noyau ) +``` +ii linux-image-4.14.0-2-amd64 4.14.7-1 Linux 4.14 for 64-bit PCs +``` + +# ▷ Réseau +# ▷ Analyse + + +## analyse boot systemd + +`systemd-analyze time`    ( durée du boot, avant interface graphique ) +``` +Durée de boot: 5.250s (firmware) + 3.651s (loader) + 4.023s (kernel) + 22.623s (espace utilisateur) = 35.549s +graphical.target reached after 22.617s in userspace +``` + +`systemctl --state=active,failed | grep -E 'error|not-found|failed'`    ( service en erreur ) +``` +Unit Load Active Sub Description +systemd-timesyncd.service loaded failed failed Network Time Synchronization +``` + + ☛ voir tous les services: **systemctl list-units --type=service | pager** + +> ↯ service en erreur, statut: + +`systemctl status systemd-timesyncd.service` +``` + systemd-timesyncd.service - Network Time Synchronization + Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled) + Active: failed (Result: exit-code) since Mon 2018-01-08 21:22:54 CET; 2 weeks 5 days ago + Docs: man:systemd-timesyncd.service(8) + Main PID: 538 (code=exited, status=1/FAILURE) + Status: "Shutting down..." +``` + + +`systemd-analyze blame | head -n 20`    ( détail par service ) +``` + 11.599s NetworkManager-wait-online.service + 4.508s apt-daily-upgrade.service + 3.704s dev-sda2.device + 2.815s NetworkManager.service + 2.701s ModemManager.service + 2.379s udisks2.service + 1.996s bluetooth.service + 1.029s speech-dispatcher.service + 992ms apt-daily.service + 925ms polkit.service + 791ms keyboard-setup.service + 751ms systemd-fsck@dev-disk-by-uuid-AB94-9A93.service + 684ms pppd-dns.service + 674ms upower.service + 558ms systemd-fsck@dev-disk-by-uuid-dae6618b-f3ce-44e7-9955-018fa7f7907a.service + 510ms lm-sensors.service + 503ms systemd-tmpfiles-setup-dev.service + 502ms wpa_supplicant.service + 455ms networking.service + 453ms systemd-remount-fs.service +``` + +`systemd-analyze critical-chain`    ( services critiques ralentisseurs ) +``` + @: temps auquel l'unité est active ou démarrée + +: temps que l'unité prend pour démarrer + +graphical.target @22.617s +`-multi-user.target @22.617s + `-hddtemp.service @22.597s +19ms + `-network-online.target @22.596s + `-NetworkManager-wait-online.service @10.996s +11.599s + `-NetworkManager.service @8.178s +2.815s + `-dbus.service @7.769s + `-basic.target @7.765s + `-sockets.target @7.765s + `-avahi-daemon.socket @7.765s + `-sysinit.target @7.763s + `-systemd-update-utmp.service @6.888s +34ms + `-systemd-tmpfiles-setup.service @6.624s +262ms + `-local-fs.target @6.622s + `-home.mount @6.292s +329ms + `-systemd-fsck@dev-disk-by-uuid-dae6618b-f3ce-44e7-9955-018fa7f7907a.service @5.703s +558ms + `-dev-disk-by-uuid-dae6618b-f3ce-44e7-9955-018fa7f7907a.device @5.702s +``` + +`systemd-analyze plot > /tmp/getInfo-graph.svg ; xdg-open graph.svg`    ( graph durées et ordre de chargement des services ) + +* en console: **xdg-open /tmp/getInfo-graph.svg** +* dans un navigateur: copier/coller ce lien dans la barre d'adresses file:////tmp/getInfo-graph.svg + + + +## journaux Xorg + +`grep -Es '\(WW\)|\(EE\)|\(\?\?\)' /var/log/Xorg.0.log`    ( Xorg.log ) +``` + /var/log/Xorg.0.log, date de modification: 28/01/2018 19:51 +0100 + + (WW) **warning**, (EE) **erreur**, (??) inconnu, 50 premières lignes +[112571.154] (EE) libinput: Logitech USB Receiver: Parent device not available +[ 15.742] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. +[ 15.922] (WW) Falling back to old probe method for fbdev +[ 15.923] (WW) Falling back to old probe method for vesa +[112571.172] (WW) Option "xkb_options" requires a string value +[1348897.976] (WW) Option "xkb_options" requires a string value +[1348898.013] (WW) Option "xkb_options" requires a string value + + + /home/kyodev/.local/share/xorg/Xorg.0.log : +``` + + ☛ voir les options appliquées par défaut: **cat /var/log/Xorg.0.log | grep '(\*\*)**' + + + +## journalctl kernel (emergency, alert, erreur, warning ou critique) + +* Début des log: **lundi 8 janvier 2018, 21:22:48 (UTC+0100)** + + + ☛ les journaux ne sont pas persistants, revoir les logs du précédent boot n'est donc pas possible pour investigation avec: +     **journalctl --no-hostname --boot -1** + +`journalctl --no-hostname -b0 -k -p1`    ( **kernel emergency 0 & alerte 1**, 25 premières lignes ) +``` + ‣ vide +``` + +`journalctl --no-hostname -b 0 -k -p 2..2`    ( **kernel critique**, 25 premières lignes ) +``` + ‣ vide +``` + +`journalctl --no-hostname -b0 -k -p 3..3`    ( **kernel erreur**, 25 premières lignes) ) +``` +Jan 08 21:22:48 : tpm tpm0: A TPM error (6) occurred attempting to read a pcr value +Jan 08 21:22:48 : tpm tpm0: A TPM error (6) occurred attempting to read a pcr value +Jan 08 21:22:48 : sd 6:0:0:0: [sdb] No Caching mode page found +Jan 08 21:22:48 : sd 6:0:0:0: [sdb] Assuming drive cache: write through +Jan 08 21:22:50 : bluetooth hci0: firmware: failed to load brcm/BCM20702A1-0a5c-21e6.hcd (-2) +Jan 24 12:03:47 : wlp3s0: failed to remove key (0, 14:0c:76:54:74:91) from hardware (-5) +Jan 24 12:03:47 : wlp3s0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-5) +Jan 24 12:03:47 : wlp3s0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-5) +Jan 24 12:03:59 : bluetooth hci0: firmware: failed to load brcm/BCM20702A1-0a5c-21e6.hcd (-2) +``` + +`journalctl --no-hostname -b0 -k -p 4..4`    ( **kernel warning**, 25 premières lignes ) +``` +Jan 08 21:22:48 : ENERGY_PERF_BIAS: Set to 'normal', was 'performance' +Jan 08 21:22:48 : ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8) +Jan 08 21:22:48 : (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info(). +Jan 08 21:22:49 : ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\_SB.PCI0.LPC.PMIO) (20170728/utaddress-247) +Jan 08 21:22:49 : ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x000000000000057F (\_SB.PCI0.LPC.LPIO) (20170728/utaddress-247) +Jan 08 21:22:49 : ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x000000000000057F (\_SB.PCI0.LPC.LPIO) (20170728/utaddress-247) +Jan 08 21:22:49 : ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x000000000000057F (\_SB.PCI0.LPC.LPIO) (20170728/utaddress-247) +Jan 08 21:22:49 : lpc_ich: Resource conflict(s) found affecting gpio_ich +Jan 08 21:22:49 : acpi PNP0C14:01: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00) +Jan 08 21:22:49 : acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00) +Jan 08 21:22:49 : iwlwifi 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control +Jan 08 21:22:50 : uvcvideo 1-1.6:1.0: Entity type for entity Extension 4 was not initialized! +Jan 08 21:22:50 : uvcvideo 1-1.6:1.0: Entity type for entity Extension 3 was not initialized! +Jan 08 21:22:50 : uvcvideo 1-1.6:1.0: Entity type for entity Processing 2 was not initialized! +Jan 08 21:22:50 : uvcvideo 1-1.6:1.0: Entity type for entity Camera 1 was not initialized! +Jan 08 21:22:50 : bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0a5c-21e6.hcd failed with error -2 +Jan 19 23:13:29 : systemd: 30 output lines suppressed due to ratelimiting +Jan 24 12:03:47 : iwlwifi 0000:03:00.0: RF_KILL bit toggled to disable radio. +Jan 24 12:03:47 : iwlwifi 0000:03:00.0: reporting RF_KILL (radio disabled) +Jan 24 12:03:47 : iwlwifi 0000:03:00.0: Not sending command - RF KILL +Jan 24 12:03:47 : iwlwifi 0000:03:00.0: Not sending command - RF KILL +Jan 24 12:03:47 : iwlwifi 0000:03:00.0: Not sending command - RF KILL +Jan 24 12:03:47 : iwlwifi 0000:03:00.0: Not sending command - RF KILL +Jan 24 12:03:47 : iwlwifi 0000:03:00.0: Not sending command - RF KILL +Jan 24 12:03:47 : iwlwifi 0000:03:00.0: Not sending command - RF KILL +``` + + + +## journalctl hors kernel (emergency, alert, erreur, warning ou critique) + +* Début des log: **lundi 8 janvier 2018, 21:22:48 (UTC+0100)** + +`journalctl --no-hostname -b0 -p 1 | grep -v kernel`    ( **hors kernel, emergency 0 & alerte 1**, 25 premières lignes ) +``` + ‣ vide +``` + +`journalctl --no-hostname -b0 -p 2..2 | grep -v kernel`    ( **hors kernel, critique**, 25 premières lignes ) +``` + ‣ vide +``` + +`journalctl --no-hostname -b0 -p 3..3 | grep -v kernel`    ( **hors kernel, erreur**, 25 premières lignes ) +``` +Jan 08 21:22:53 systemd-timesyncd[496]: Cannot resolve user name systemd-timesync: No such process +Jan 08 21:22:53 systemd[1]: Failed to start Network Time Synchronization. +Jan 08 21:22:53 systemd-timesyncd[529]: Cannot resolve user name systemd-timesync: No such process +Jan 08 21:22:53 systemd[1]: Failed to start Network Time Synchronization. +Jan 08 21:22:54 systemd-timesyncd[532]: Cannot resolve user name systemd-timesync: No such process +Jan 08 21:22:54 systemd[1]: Failed to start Network Time Synchronization. +Jan 08 21:22:54 systemd-timesyncd[535]: Cannot resolve user name systemd-timesync: No such process +Jan 08 21:22:54 systemd[1]: Failed to start Network Time Synchronization. +Jan 08 21:22:54 systemd-timesyncd[538]: Cannot resolve user name systemd-timesync: No such process +Jan 08 21:22:54 systemd[1]: Failed to start Network Time Synchronization. +Jan 08 21:22:54 systemd[1]: Failed to start Network Time Synchronization. +Jan 08 21:22:56 bluetoothd[548]: Sap driver initialization failed. +Jan 08 21:22:56 bluetoothd[548]: sap-server: Operation not permitted (1) +Jan 09 01:58:05 dhclient[686]: receive_packet failed on wlp3s0: Network is down +Jan 24 12:03:47 dhclient[2341]: receive_packet failed on wlp3s0: Network is down +Jan 24 12:03:48 systemd-rfkill[28910]: Failed to open device rfkill3: No such device +Jan 24 12:03:59 bluetoothd[548]: Sap driver initialization failed. +Jan 24 12:03:59 bluetoothd[548]: sap-server: Operation not permitted (1) +``` + +`journalctl --no-hostname -b0 -p 4..4 | grep -v kernel`    ( **hors kernel, warning**, 25 premières lignes ) +``` +Jan 08 21:22:48 systemd[1]: File /lib/systemd/system/systemd-journald.service:35 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling. +Jan 08 21:22:48 systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.) +Jan 08 21:22:53 systemd-udevd[287]: Process '/usr/sbin/alsactl -E HOME=/run/alsa restore 0' failed with exit code 99. +Jan 08 21:22:53 systemd[1]: systemd-timesyncd.service: Failed with result 'exit-code'. +Jan 08 21:22:53 systemd[1]: systemd-timesyncd.service: Failed with result 'exit-code'. +Jan 08 21:22:54 systemd[1]: systemd-timesyncd.service: Failed with result 'exit-code'. +Jan 08 21:22:54 systemd[1]: systemd-timesyncd.service: Failed with result 'exit-code'. +Jan 08 21:22:54 systemd[1]: systemd-timesyncd.service: Failed with result 'exit-code'. +Jan 08 21:22:54 systemd[1]: systemd-timesyncd.service: Start request repeated too quickly. +Jan 08 21:22:54 systemd[1]: systemd-timesyncd.service: Failed with result 'exit-code'. +Jan 08 21:22:56 udisksd[557]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory +Jan 08 21:22:56 udisksd[557]: Failed to load the 'mdraid' libblockdev plugin +Jan 08 21:22:57 NetworkManager[550]: [1515442977.7981] interfaces file /etc/network/interfaces.d/* doesn't exist +Jan 08 21:22:58 lightdm[597]: Could not enumerate user data directory /var/lib/lightdm/data: Error opening directory '/var/lib/lightdm/data': No such file or directory +Jan 08 21:23:00 lightdm[616]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files +Jan 08 21:23:00 lightdm[597]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files +Jan 08 21:23:08 ModemManager[549]: Could not grab port (usbmisc/cdc-wdm2): 'Cannot add port 'usbmisc/cdc-wdm2', unsupported' +Jan 08 21:23:08 ModemManager[549]: Could not grab port (usbmisc/cdc-wdm1): 'Cannot add port 'usbmisc/cdc-wdm1', unsupported' +Jan 08 21:23:08 ModemManager[549]: Modem couldn't be initialized: Couldn't check unlock status: SIM not inserted +Jan 08 21:23:14 lightdm[738]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files +Jan 08 21:23:14 lightdm[597]: g_dbus_connection_call_sync_internal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed +Jan 08 21:23:18 ModemManager[549]: Could not grab port (tty/ttyS0): 'Cannot add port 'tty/ttyS0', unhandled serial type' +Jan 08 21:23:18 ModemManager[549]: Couldn't create modem for device at '/sys/devices/pci0000:00/0000:00:16.3': Failed to find primary AT port +Jan 08 22:04:27 lightdm[1672]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files +Jan 09 01:30:36 lightdm[1719]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files +``` + +* les 25 premières lignes commencent à la date du dernier boot + +`journalctl --disk-usage `    ( taille des journaux ) +``` +41.7 Mo +``` + +`journalctl --no-hostname -b0 -p 4 -n25`    ( **toutes provenance, emergency-warning**, 25 lignes les plus **récentes** ) +``` +Jan 28 10:03:54 lightdm[597]: g_dbus_connection_call_sync_internal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed +Jan 28 10:03:54 lightdm[597]: Error using VT_WAITACTIVE 7 on /dev/tty0: Interrupted system call +Jan 28 10:17:07 lightdm[20824]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files +Jan 28 10:25:04 lightdm[20884]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files +Jan 28 10:25:04 lightdm[597]: g_dbus_connection_call_sync_internal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed +Jan 28 10:25:04 lightdm[597]: Error using VT_WAITACTIVE 7 on /dev/tty0: Interrupted system call +Jan 28 10:35:13 lightdm[20927]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files +Jan 28 11:45:12 lightdm[20980]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files +Jan 28 11:45:13 lightdm[597]: g_dbus_connection_call_sync_internal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed +Jan 28 11:57:58 lightdm[21084]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files +Jan 28 12:43:02 lightdm[21138]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files +Jan 28 12:43:02 lightdm[597]: g_dbus_connection_call_sync_internal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed +Jan 28 18:19:33 lightdm[28973]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files +Jan 28 18:36:43 lightdm[29027]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files +Jan 28 18:36:43 lightdm[597]: g_dbus_connection_call_sync_internal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed +Jan 28 18:36:43 lightdm[597]: Error using VT_WAITACTIVE 7 on /dev/tty0: Interrupted system call +Jan 28 19:30:25 Thunar[13862]: invalid unclassed pointer in cast to 'ThunarTreeView' +Jan 28 19:30:26 Thunar[13862]: invalid unclassed pointer in cast to 'ThunarTreeView' +Jan 28 19:45:42 Thunar[13862]: invalid unclassed pointer in cast to 'ThunarTreeView' +Jan 28 19:45:42 Thunar[13862]: invalid unclassed pointer in cast to 'ThunarTreeView' +Jan 28 19:51:36 Thunar[13862]: invalid unclassed pointer in cast to 'ThunarTreeView' +Jan 28 19:51:36 Thunar[13862]: invalid unclassed pointer in cast to 'ThunarTreeView' +Jan 28 19:51:36 Thunar[13862]: invalid unclassed pointer in cast to 'ThunarTreeView' +Jan 28 19:51:39 Thunar[13862]: invalid unclassed pointer in cast to 'ThunarTreeView' +Jan 28 19:51:39 Thunar[13862]: invalid unclassed pointer in cast to 'ThunarTreeView' +``` + +> ↯ [ +0,005932] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored +[ +0,000090] pnp 00:01: [Firmware Bug]: PNP resource [mem 0xfed10000-0xfed13fff] covers only part of 0000:00:00.0 Intel MCH; extending to [mem 0xfed10000-0xfed17fff] + +--- + +Rapport du 28/01/2018 19:51 +0100    ◇    ./getInfo     ◇    [getInfo 3.11.0](https://kyodev.frama.io/kyopages/scripts/getInfo/) +