Probe #a1e9bd74fd of HP Pavilion Notebook

Log: grub

# Copyright F972-505C Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # # To populate all changes in this file you need to regenerate your # grub configuration file afterwards: # 'grub-mkconfig -o /boot/grub/grub.cfg' # # See the grub info page for documentation on possible variables and # their associated values. GRUB_DISTRIBUTOR="Gentoo" # Default menu entry GRUB_DEFAULT=0 # Boot the default entry this many seconds after the menu is displayed GRUB_TIMEOUT=0 GRUB_TIMEOUT_STYLE=countdown # Append parameters to the linux kernel command line # GRUB_CMDLINE_LINUX="clocksource=hpet hpet=enable net.ifnames=0 rd.luks.uuid=luks-17fa1ff7-98a9-4f18-b6b7/6942d91a5dc0 XXXX=/dev/sda5 XXXXfstype=ext4 XXXXflags=rw,noatime" # graphics hang (solution) :: # GRUB_CMDLINE_LINUX="clocksource=hpet hpet=enable i915.alpha_support=0 net.ifnames=0 rd.luks.uuid=luks-17fa1ff7-98a9-4f18-b6b7/6942d91a5dc0 XXXX=/dev/sda4 XXXXfstype=ext4 XXXXflags=noatime nmi_watchdog=0 intel_iommu=off ro" # - # Re-enabling it. Seems ok with linux-5.0.5. # - # GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} intel_iommu=off" # Testing. Search for INTEL_IOMMU_DEFAULT_ON in kernel. # - # GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} intel_iommu=on" # Disabling. Already set in kernel. # --------------------------------- # GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} iommu.passthrough=on" # Disabling since firefox overflows with texture at some point. # - # GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} intel_iommu=off" # Re-enabling, didn't fix it (NVIDIA). # ------------------------------------ # Disabled. Already set in kernel. # -------------------------------- # GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} intel_iommu=on" # Testing: TearFree drops at some point. # - # GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} intel_iommu=off" # ^Getting dmesg DMAR errors about Intel VGA.. # - # Testing: Xorg is blank when first started. # - # GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} intel_iommu=off" # Failure. # - # good configuration : # GRUB_CMDLINE_LINUX="clocksource=hpet hpet=enable i915.alpha_support=0 net.ifnames=0 rd.luks.uuid=luks-17fa1ff7-98a9-4f18-b6b7/6942d91a5dc0 XXXX=/dev/sda4 XXXXfstype=ext4 XXXXflags=noatime nmi_watchdog=0 ro" # For BFQ do : # elevator=bfq # and include the appropriate module in the initrd # - # orig GRUB_CMDLINE_LINUX="clocksource=hpet hpet=enable net.ifnames=0 nmi_watchdog=0 XXXX=UUID=HASH_B2F-E33D-FFCE-F42A-2E891014D728 XXXXfstype=btrfs ro" # Testing various io schedulers (noop deadline cfq bfq). # - # Disabled since a message in dmesg calling it obsolete. # ------------------------------------------------------ # GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} elevator=bfq" # GENERAL # /dev/sda2: UUID="HASH_131-BF78-9990-2C5D-CEF5D4B78D9E" TYPE="ext4" PARTLABEL="ROOT" PARTUUID="HASH_CB3-E62E-D13B-A12A-EBBE24236FD7" # - # clocksource : /usr/src/linux/Documentation/admin-guide/kernel-parameters.txt # - GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} clocksource=hpet hpet=enable net.ifnames=0 nmi_watchdog=0 XXXX=PARTLABEL=ROOT XXXXfstype=btrfs ro" # Testing. # /usr/src/linux/Documentation/admin-guide/kernel-parameters.txt. # | GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} boot_delay=0 consoleblank=156 vt.cur_default=0x080000" GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} cpuidle.governor=teo panic=-1" # https://kernelnewbies.org/LinuxChanges#Linux_5.7.Split_lock_detection. # | GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} split_lock_detect" # -------- # Video. # 'acpid' replacement ('acpi_backlight=native' did not work). # ------ #GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} acpi_backlight=video" # Fix blocked wifi after suspend. # ------------------------------- GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} acpi_osi=! acpi_osi=Windows" # Test. # Try not to control brightness but send the event anyway. # ----- GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} video.brightness_switch_enabled=0" # from dmesg: DMAR-IR: x2apic is disabled because BIOS sets x2apic opt out bit. # - GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} intremap=no_x2apic_optout" # Trying to display a background image while logged in. # - # GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} quiet splash" # VULNERABILITIES (turn protection off) # GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} pti=off spectre_v2=off" # driver options ant_sel=2 since 4.13.2, ant_sel=1 before 4.11.*, trying ant_sel=1 in 4.16.0 # GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} rtl8723be.ant_sel=2" # rtl8723be.swenc=1 rtl8723be.fwlps=0 rtl8723be.ips=0" # zswap : https://www.kernel.org/doc/Documentation/vm/zswap.txt # later : test zswap.zpool=zsmalloc : success : success with lz4hc + zsmalloc : WARNING lz4hc panics!!! (lz4 is good, though) # ^cmd used: $ stress-ng --class memory -v --vm 8 --vm-bytes 16G # suggestion: $ stress-ng --class memory -v --vm 3 --vm-bytes 32G # options : # zpool = zbud/z3fold/zsmalloc # compressor = lzo/lz4/lz4hc # checked with 4.9.148 ( $ stress-ng --class memory --vm 3 -v --vm-bytes 16G ) # :: lzo, 842 # - # Good. # - # lz4 # - # Zstd seems quicker than lz4 as tested using data from /dev/urandom. # - # Replacing zsmalloc with z3fold as the former might not release data. # - # GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} zswap.compressor=zstd zswap.enabled=1 zswap.max_pool_percent=100 zswap.zpool=zsmalloc" # Disabling: already set in kernel. # | # GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} zswap.compressor=zstd zswap.enabled=1 zswap.zpool=zsmalloc" GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} zswap.enabled=1" # bootchart2 # GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} linux initcall_debug printk.time=y init=/sbin/bootchartd" # i'm afraid of some errors # GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} linux initcall_debug printk.time=y" # re-testing, without changes # konica minolta 1680mf printer # trying to fix # GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} usbcore.autosuspend=-1" # didn't do a thing. In fact, ArchLinux has the same settings, i think. # mtrr # example : enable_mtrr_cleanup mtrr_spare_reg_nr=1 mtrr_gran_size=32M mtrr_chunk_size=128M # gran_size: 16M chunk_size: 16M num_reg: 6 lose cover RAM: 16380K # gran_size: 16M chunk_size: 32M num_reg: 6 lose cover RAM: 16380K # gran_size: 16M chunk_size: 64M num_reg: 6 lose cover RAM: 16380K # gran_size: 16M chunk_size: 1G num_reg: 6 lose cover RAM: 16380K # gran_size: 16M chunk_size: 2G num_reg: 6 lose cover RAM: 16380K # gran_size: 32M chunk_size: 32M num_reg: 6 lose cover RAM: 16380K # gran_size: 32M chunk_size: 64M num_reg: 6 lose cover RAM: 16380K # gran_size: 32M chunk_size: 1G num_reg: 6 lose cover RAM: 16380K # gran_size: 32M chunk_size: 2G num_reg: 6 lose cover RAM: 16380K # gran_size: 64M chunk_size: 64M num_reg: 6 lose cover RAM: 16380K # gran_size: 64M chunk_size: 1G num_reg: 6 lose cover RAM: 16380K # gran_size: 64M chunk_size: 2G num_reg: 6 lose cover RAM: 16380K # gran_size: 128M chunk_size: 1G num_reg: 6 lose cover RAM: 81916K # gran_size: 128M chunk_size: 2G num_reg: 6 lose cover RAM: 81916K # gran_size: 256M chunk_size: 1G num_reg: 6 lose cover RAM: 212988K # gran_size: 256M chunk_size: 2G num_reg: 6 lose cover RAM: 212988K # - # GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} mtrr_spare_reg_nr=1 mtrr_gran_size=16M mtrr_chunk_size=16M" GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} enable_mtrr_cleanup mtrr_spare_reg_nr=10 mtrr_gran_size=1M mtrr_chunk_size=1M" # resume=/dev/dm-1" # GRUB_CMDLINE_LINUX="clocksource=hpet crypt_XXXX=UUID="HASH_28D-4268-1A23-930F-69442B35E6DA" hpet=enable net.ifnames=0 mtrr_spare_reg_nr=5 rd.luks.uuid=luks-HASH_28D-4268-1A23-930F-69442B35E6DA XXXX=/dev/mapper/XXXX XXXXfstype=nilfs2 XXXXflags=rw,noatime i915.fastboot=1 i915.preliminary_hw_support=1" ## nohz_full=4 rcu_nocbs=0,1,2,3" # for laptop_mode # pcie_aspm=force # #GRUB_CMDLINE_LINUX="clocksource=hpet hpet=enable net.ifnames=0 rd.luks.uuid=luks-HASH_28D-4268-1A23-930F-69442B35E6DA XXXX=/dev/mapper/XXXX XXXXfstype=nilfs2 XXXXflags=rw,noatime" # splash=silent" #GRUB_CMDLINE_LINUX="clocksource=hpet crypt_XXXX=UUID="HASH_28D-4268-1A23-930F-69442B35E6DA" dobtrfs hpet=enable net.ifnames=0 XXXX=/dev/mapper/XXXX vga=791 splash=silent,theme:KillBillTux-Yellow console=tty1 quiet" #" intel_idle.max_cstate=0" # # Examples: # # Boot with network interface renaming disabled # GRUB_CMDLINE_LINUX="net.ifnames=0" # # Boot with systemd instead of sysvinit (openrc) # GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd" # Append parameters to the linux kernel command line for non-recovery entries #GRUB_CMDLINE_LINUX_DEFAULT="" # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console # The resolution used on graphical terminal. # Note that you can use only modes which your graphic card supports via VBE. # You can see them in real GRUB with the command `vbeinfo'. GRUB_GFXMODE=1366x768x24 # Set to 'text' to force the Linux kernel to boot in normal text # mode, 'keep' to preserve the graphics mode set using # 'GRUB_GFXMODE', 'WIDTHxHEIGHT'['xDEPTH'] to set a particular # graphics mode, or a sequence of these separated by commas or # semicolons to try several modes in sequence. GRUB_GFXPAYLOAD_LINUX=keep # Path to theme spec txt file. # The starfield is by default provided with use truetype. # NOTE: when enabling custom theme, ensure you have required font/etc. #GRUB_THEME="/boot/grub/themes/starfield/theme.txt" # Background image used on graphical terminal. # Can be in various bitmap formats. #GRUB_BACKGROUND="/boot/grub/mybackground.png" # Uncomment if you don't want GRUB to pass "XXXX=UUID=xxx" parameter to kernel GRUB_DISABLE_LINUX_UUID=true # Uncomment to disable generation of recovery mode menu entries GRUB_DISABLE_RECOVERY=true # Uncomment to disable generation of the submenu and put all choices on # the top-level menu. # Besides the visual affect of no sub menu, this makes navigation of the # menu easier for a user who can't see the screen. GRUB_DISABLE_SUBMENU=y # Uncomment to play a tone when the main menu is displayed. # This is useful, for example, to allow users who can't see the screen # to know when they can make a choice on the menu. # GRUB_INIT_TUNE="350 294 1 349 1 392 1 415 1" GRUB_INIT_TUNE="350 3520 1"


Hardware for Linux and BSD

GitHub