System beeped when Debian wants boot.

Everything about X, Gnome, KDE, ... and everything running on it

System beeped when Debian wants boot.

Postby hack3rcon » 2019-07-20 04:36

Hello.
I installed "NVIDIA binary kernel module DKMS", but when I reboot my system and grub menu showed and Debian want to boot then my system beeped like when it is rebooted and the monitor turned off for 1 minute then the logging windows showed. Is it normal?

Thank you.
hack3rcon
 
Posts: 312
Joined: 2015-02-16 09:54

Re: System beeped when Debian wants boot.

Postby ruwolf » 2019-07-20 07:47

Look here, if it can help you first: wiki.debian.org: NvidiaGraphicsDrivers: Troubleshooting
User avatar
ruwolf
 
Posts: 392
Joined: 2008-02-18 05:04
Location: Slovakia, Banovce nad Bebravou, Matice slovenskej 1260/4-7

Re: System beeped when Debian wants boot.

Postby hack3rcon » 2019-07-20 10:19

ruwolf wrote:Look here, if it can help you first: wiki.debian.org: NvidiaGraphicsDrivers: Troubleshooting

Thank you.
It is my "grub.cfg" content:
Code: Select all
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  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_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  81f957de-2a93-4b9c-a07e-49f0fda0848b
else
  search --no-floppy --fs-uuid --set=root 81f957de-2a93-4b9c-a07e-49f0fda0848b
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  81f957de-2a93-4b9c-a07e-49f0fda0848b
else
  search --no-floppy --fs-uuid --set=root 81f957de-2a93-4b9c-a07e-49f0fda0848b
fi
insmod png
if background_image /usr/share/desktop-base/futureprototype-theme/grub/grub-4x3.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
   set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-81f957de-2a93-4b9c-a07e-49f0fda0848b' {
   load_video
   insmod gzio
   if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
   insmod part_gpt
   insmod ext2
   set root='hd0,gpt2'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  81f957de-2a93-4b9c-a07e-49f0fda0848b
   else
     search --no-floppy --fs-uuid --set=root 81f957de-2a93-4b9c-a07e-49f0fda0848b
   fi
   echo   'Loading Linux 4.19.0-5-amd64 ...'
   linux   /boot/vmlinuz-4.19.0-5-amd64 root=UUID=81f957de-2a93-4b9c-a07e-49f0fda0848b ro  quiet
   echo   'Loading initial ramdisk ...'
   initrd   /boot/initrd.img-4.19.0-5-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-81f957de-2a93-4b9c-a07e-49f0fda0848b' {
   menuentry 'Debian GNU/Linux, with Linux 4.19.0-5-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-5-amd64-advanced-81f957de-2a93-4b9c-a07e-49f0fda0848b' {
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_gpt
      insmod ext2
      set root='hd0,gpt2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  81f957de-2a93-4b9c-a07e-49f0fda0848b
      else
        search --no-floppy --fs-uuid --set=root 81f957de-2a93-4b9c-a07e-49f0fda0848b
      fi
      echo   'Loading Linux 4.19.0-5-amd64 ...'
      linux   /boot/vmlinuz-4.19.0-5-amd64 root=UUID=81f957de-2a93-4b9c-a07e-49f0fda0848b ro  quiet
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-4.19.0-5-amd64
   }
   menuentry 'Debian GNU/Linux, with Linux 4.19.0-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-5-amd64-recovery-81f957de-2a93-4b9c-a07e-49f0fda0848b' {
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_gpt
      insmod ext2
      set root='hd0,gpt2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  81f957de-2a93-4b9c-a07e-49f0fda0848b
      else
        search --no-floppy --fs-uuid --set=root 81f957de-2a93-4b9c-a07e-49f0fda0848b
      fi
      echo   'Loading Linux 4.19.0-5-amd64 ...'
      linux   /boot/vmlinuz-4.19.0-5-amd64 root=UUID=81f957de-2a93-4b9c-a07e-49f0fda0848b ro single
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-4.19.0-5-amd64
   }
   menuentry 'Debian GNU/Linux, with Linux 4.9.0-9-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-9-amd64-advanced-81f957de-2a93-4b9c-a07e-49f0fda0848b' {
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_gpt
      insmod ext2
      set root='hd0,gpt2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  81f957de-2a93-4b9c-a07e-49f0fda0848b
      else
        search --no-floppy --fs-uuid --set=root 81f957de-2a93-4b9c-a07e-49f0fda0848b
      fi
      echo   'Loading Linux 4.9.0-9-amd64 ...'
      linux   /boot/vmlinuz-4.9.0-9-amd64 root=UUID=81f957de-2a93-4b9c-a07e-49f0fda0848b ro  quiet
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-4.9.0-9-amd64
   }
   menuentry 'Debian GNU/Linux, with Linux 4.9.0-9-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-9-amd64-recovery-81f957de-2a93-4b9c-a07e-49f0fda0848b' {
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_gpt
      insmod ext2
      set root='hd0,gpt2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  81f957de-2a93-4b9c-a07e-49f0fda0848b
      else
        search --no-floppy --fs-uuid --set=root 81f957de-2a93-4b9c-a07e-49f0fda0848b
      fi
      echo   'Loading Linux 4.9.0-9-amd64 ...'
      linux   /boot/vmlinuz-4.9.0-9-amd64 root=UUID=81f957de-2a93-4b9c-a07e-49f0fda0848b ro single
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-4.9.0-9-amd64
   }
}

### 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/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### 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 ###

As you see it said "DO NOT EDIT THIS FILE"!!!!
In which section I should add "GRUB_CMDLINE_LINUX_DEFAULT="quiet enable_mtrr_cleanup mtrr_spare_reg_nr=4"" line?
An the content of "nvidia-common-kernel.conf" file is:
Code: Select all
$ cat /etc/modprobe.d/nvidia-kernel-common.conf
alias char-major-195* nvidia
#options nvidia NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=44 NVreg_DeviceFileMode=0660
# To enable FastWrites and Sidebus addressing, uncomment these lines
# options nvidia NVreg_EnableAGPSBA=1
# options nvidia NVreg_EnableAGPFW=1


Thanks.
hack3rcon
 
Posts: 312
Joined: 2015-02-16 09:54

Re: System beeped when Debian wants boot.

Postby Head_on_a_Stick » 2019-07-20 10:31

hack3rcon wrote:In which section I should add "GRUB_CMDLINE_LINUX_DEFAULT="quiet enable_mtrr_cleanup mtrr_spare_reg_nr=4"" line?

That line should be added to /etc/default/grub, remember to update grub.cfg afterwards.
Don't break DebianHow to report bugs

SharpBang GNU/Linux® — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10695
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: System beeped when Debian wants boot.

Postby hack3rcon » 2019-07-20 11:43

Not matter. My grub is:
Code: Select all
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

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=""
GRUB_CMDLINE_LINUX_DEFAULT="quiet enable_mtrr_cleanup mtrr_spare_reg_nr=4"


# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# 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=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

After added that line, I did "update-grub" and rebooted my system, but not matter and system after showed the Grub menu beeped and monitor turned off about 1 minute then the login windows showed.
The "boot.log" file show me:
Code: Select all
/dev/sda2: clean, 379173/5521408 files, 6472175/22070272 blocks
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Preprocess NFS configuration.
[  OK  ] Reached target NFS client services.
[  OK  ] Started Set console font and keymap.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
         Starting RPC bind portmap service...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Load AppArmor profiles.
         Starting Raise network interfaces...
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on UUID daemon activation socket.
[  OK  ] Started Trigger anacron every hour.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started ACPI Events Check.
[  OK  ] Reached target Paths.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on ACPID Listen Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Modem Manager...
[  OK  ] Started D-Bus System Message Bus.
         Starting Disk Manager...
[  OK  ] Started Manage Sound Card State (restore and store).
         Starting Login Service...
         Starting Resets System Activity Data Collector...
         Starting WPA supplicant...
[  OK  ] Started Passive Realtime Asset Detection System.
         Starting VirtualBox Linux kernel module...
         Starting Restore /etc/reso… the ppp link was shut down...
         Starting Network Manager...
         Starting System Logging Service...
         Starting RealtimeKit Scheduling Policy Service...
         Starting NVIDIA Persistence Daemon...
         Starting Save/Restore Sound Card State...
[  OK  ] Started Run anacron jobs.
[  OK  ] Started irqbalance daemon.
         Starting Accounts Service...
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started ACPI event daemon.
[  OK  ] Started Self Monitoring an…ing Technology (SMART) Daemon.
[  OK  ] Started RPC bind portmap service.
[  OK  ] Started Resets System Activity Data Collector.
[  OK  ] Started Restore /etc/resol…re the ppp link was shut down.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Reached target Sound Card.
[  OK  ] Reached target RPC Port Mapper.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting LSB: Jitsi conference Focus...
         Starting Deferred execution scheduler...
         Starting LSB: Load kernel …d to enable cpufreq scaling...
[  OK  ] Started Regular background program processing daemon.
         Starting LSB: init script for tcpspy...
[  OK  ] Started System Logging Service.
[  OK  ] Started VirtualBox Linux kernel module.
[  OK  ] Started NVIDIA Persistence Daemon.
[  OK  ] Started Deferred execution scheduler.
[  OK  ] Started Login Service.
[  OK  ] Started RealtimeKit Scheduling Policy Service.
[  OK  ] Started WPA supplicant.
[  OK  ] Started LSB: init script for tcpspy.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
         Starting Authorization Manager...
         Starting vboxweb-service.service...
         Starting vboxautostart-service.service...
         Starting vboxballoonctrl-service.service...
[FAILED] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details.
[  OK  ] Started vboxautostart-service.service.
[  OK  ] Started vboxballoonctrl-service.service.
[  OK  ] Started vboxweb-service.service.
[  OK  ] Started LSB: Jitsi conference Focus.
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
[  OK  ] Started Authorization Manager.
[  OK  ] Started Network Manager.
[  OK  ] Reached target Network.
         Starting PostgreSQL Cluster 9.4-main...
         Starting Network Time Service...
         Starting PostgreSQL Cluster 9.6-main...
         Starting Jitsi Videobridge...
         Starting PostgreSQL Cluster 11-main...
         Starting Permit User Sessions...
         Starting Network Manager Wait Online...
[  OK  ] Started Permit User Sessions.
         Starting Light Display Manager...
[  OK  ] Started Accounts Service.
         Starting Hostname Service...
[  OK  ] Started Hostname Service.
[  OK  ] Started LSB: Load kernel m…ded to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Jitsi Videobridge.
[  OK  ] Started Network Time Service.
[  OK  ] Started Network Manager Script Dispatcher Service.

And "dmesg" show me:
Code: Select all
$ sudo dmesg -l warn
[    0.275584] 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.
[    0.275584]  #5 #6 #7
[    0.280271] pmd_set_huge: Cannot satisfy [mem 0xf8000000-0xf8200000] with a huge-page mapping due to MTRR override.
[    0.955359] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[    1.267384] r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[    1.268853] ACPI Warning: SystemIO range 0x0000000000001828-0x000000000000182F conflicts with OpRegion 0x0000000000001800-0x000000000000187F (\PMIO) (20180810/utaddress-213)
[    1.268860] ACPI Warning: SystemIO range 0x0000000000001C40-0x0000000000001C4F conflicts with OpRegion 0x0000000000001C00-0x0000000000001FFF (\GPR) (20180810/utaddress-213)
[    1.268864] ACPI Warning: SystemIO range 0x0000000000001C30-0x0000000000001C3F conflicts with OpRegion 0x0000000000001C00-0x0000000000001C3F (\GPRL) (20180810/utaddress-213)
[    1.268866] ACPI Warning: SystemIO range 0x0000000000001C30-0x0000000000001C3F conflicts with OpRegion 0x0000000000001C00-0x0000000000001FFF (\GPR) (20180810/utaddress-213)
[    1.268869] ACPI Warning: SystemIO range 0x0000000000001C00-0x0000000000001C2F conflicts with OpRegion 0x0000000000001C00-0x0000000000001C3F (\GPRL) (20180810/utaddress-213)
[    1.268871] ACPI Warning: SystemIO range 0x0000000000001C00-0x0000000000001C2F conflicts with OpRegion 0x0000000000001C00-0x0000000000001FFF (\GPR) (20180810/utaddress-213)
[    1.268874] lpc_ich: Resource conflict(s) found affecting gpio_ich
[    8.988449] nvidia: loading out-of-tree module taints kernel.
[    8.988455] nvidia: module license 'NVIDIA' taints kernel.
[    8.988456] Disabling lock debugging due to kernel taint
[    9.001575] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  390.116  Sun Jan 27 07:21:36 PST 2019 (using threaded interrupts)
[   17.650244] resource sanity check: requesting [mem 0x000e0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000e0000-0x000e3fff window]
[   17.650440] caller _nv029937rm+0x57/0x90 [nvidia] mapping multiple BARs
[   17.750369] resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000d0000-0x000d3fff window]
[   17.750547] caller _nv001168rm+0xe3/0x1d0 [nvidia] mapping multiple BARs
[   19.170849] VBoxNetFlt: Successfully started.
[   19.443768] VBoxNetAdp: Successfully started.
[   19.764731] VBoxPciLinuxInit
[   33.622685] resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000d0000-0x000d3fff window]
[   33.622871] caller _nv001168rm+0xe3/0x1d0 [nvidia] mapping multiple BARs
hack3rcon
 
Posts: 312
Joined: 2015-02-16 09:54

Re: System beeped when Debian wants boot.

Postby Head_on_a_Stick » 2019-07-20 19:20

Check /proc/cmdline to see if your parameters have been applied and note that the mtrr_spare_reg_nr number is hardware-dependent. Also try the other tips listed on the Debian wiki page. I can't spoon feed you the solution here because I would never buy hardware from those NVIDIA bastards so my only other suggestion would be to try nouveau instead.
Don't break DebianHow to report bugs

SharpBang GNU/Linux® — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10695
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: System beeped when Debian wants boot.

Postby theblueplll » 2019-07-21 03:26

Why are people still answering this fool.

It's bviously a bot or a really bored troll.
theblueplll
 
Posts: 154
Joined: 2019-04-29 01:17

Re: System beeped when Debian wants boot.

Postby hack3rcon » 2019-07-21 05:02

Head_on_a_Stick wrote:Check /proc/cmdline to see if your parameters have been applied and note that the mtrr_spare_reg_nr number is hardware-dependent. Also try the other tips listed on the Debian wiki page. I can't spoon feed you the solution here because I would never buy hardware from those NVIDIA bastards so my only other suggestion would be to try nouveau instead.

I did:
Code: Select all
$ cat /proc/mtrr
reg00: base=0x000000000 (    0MB), size=16384MB, count=1: write-back
reg01: base=0x400000000 (16384MB), size=  512MB, count=1: write-back
reg02: base=0x420000000 (16896MB), size=  256MB, count=1: write-back
reg03: base=0x0e0000000 ( 3584MB), size=  512MB, count=1: uncachable
reg04: base=0x0d0000000 ( 3328MB), size=  256MB, count=1: uncachable
reg05: base=0x0cc000000 ( 3264MB), size=   64MB, count=1: uncachable
reg06: base=0x0cb800000 ( 3256MB), size=    8MB, count=1: uncachable
reg07: base=0x42f000000 (17136MB), size=   16MB, count=1: uncachable
reg08: base=0x42e800000 (17128MB), size=    8MB, count=1: uncachable
reg09: base=0x42e600000 (17126MB), size=    2MB, count=1: uncachable

And:
Code: Select all
$ sudo dmesg -f kern | grep chunk_size:
[    0.002557]  gran_size: 64K    chunk_size: 64K    num_reg: 10     lose cover RAM: 102M
[    0.002559]  gran_size: 64K    chunk_size: 128K    num_reg: 10     lose cover RAM: 102M
[    0.002559]  gran_size: 64K    chunk_size: 256K    num_reg: 10     lose cover RAM: 102M
[    0.002560]  gran_size: 64K    chunk_size: 512K    num_reg: 10     lose cover RAM: 102M
[    0.002561]  gran_size: 64K    chunk_size: 1M    num_reg: 10     lose cover RAM: 102M
[    0.002561]  gran_size: 64K    chunk_size: 2M    num_reg: 10     lose cover RAM: 102M
[    0.002562]  gran_size: 64K    chunk_size: 4M    num_reg: 10     lose cover RAM: 102M
[    0.002562]  gran_size: 64K    chunk_size: 8M    num_reg: 10     lose cover RAM: 102M
[    0.002563]  gran_size: 64K    chunk_size: 16M    num_reg: 10     lose cover RAM: 38M
[    0.002564] *BAD*gran_size: 64K    chunk_size: 32M    num_reg: 10     lose cover RAM: -24M
[    0.002565] *BAD*gran_size: 64K    chunk_size: 64M    num_reg: 10     lose cover RAM: -24M
[    0.002565] *BAD*gran_size: 64K    chunk_size: 128M    num_reg: 10     lose cover RAM: -24M
[    0.002566] *BAD*gran_size: 64K    chunk_size: 256M    num_reg: 10     lose cover RAM: -24M
[    0.002566] *BAD*gran_size: 64K    chunk_size: 512M    num_reg: 10     lose cover RAM: -280M
[    0.002567] *BAD*gran_size: 64K    chunk_size: 1G    num_reg: 10     lose cover RAM: -272M
[    0.002568] *BAD*gran_size: 64K    chunk_size: 2G    num_reg: 10     lose cover RAM: -1296M
[    0.002568]  gran_size: 128K    chunk_size: 128K    num_reg: 10     lose cover RAM: 102M
[    0.002569]  gran_size: 128K    chunk_size: 256K    num_reg: 10     lose cover RAM: 102M
[    0.002570]  gran_size: 128K    chunk_size: 512K    num_reg: 10     lose cover RAM: 102M
[    0.002570]  gran_size: 128K    chunk_size: 1M    num_reg: 10     lose cover RAM: 102M
[    0.002571]  gran_size: 128K    chunk_size: 2M    num_reg: 10     lose cover RAM: 102M
[    0.002572]  gran_size: 128K    chunk_size: 4M    num_reg: 10     lose cover RAM: 102M
[    0.002572]  gran_size: 128K    chunk_size: 8M    num_reg: 10     lose cover RAM: 102M
[    0.002573]  gran_size: 128K    chunk_size: 16M    num_reg: 10     lose cover RAM: 38M
[    0.002573] *BAD*gran_size: 128K    chunk_size: 32M    num_reg: 10     lose cover RAM: -24M
[    0.002574] *BAD*gran_size: 128K    chunk_size: 64M    num_reg: 10     lose cover RAM: -24M
[    0.002575] *BAD*gran_size: 128K    chunk_size: 128M    num_reg: 10     lose cover RAM: -24M
[    0.002575] *BAD*gran_size: 128K    chunk_size: 256M    num_reg: 10     lose cover RAM: -24M
[    0.002576] *BAD*gran_size: 128K    chunk_size: 512M    num_reg: 10     lose cover RAM: -280M
[    0.002577] *BAD*gran_size: 128K    chunk_size: 1G    num_reg: 10     lose cover RAM: -272M
[    0.002577] *BAD*gran_size: 128K    chunk_size: 2G    num_reg: 10     lose cover RAM: -1296M
[    0.002578]  gran_size: 256K    chunk_size: 256K    num_reg: 10     lose cover RAM: 102M
[    0.002578]  gran_size: 256K    chunk_size: 512K    num_reg: 10     lose cover RAM: 102M
[    0.002579]  gran_size: 256K    chunk_size: 1M    num_reg: 10     lose cover RAM: 102M
[    0.002580]  gran_size: 256K    chunk_size: 2M    num_reg: 10     lose cover RAM: 102M
[    0.002580]  gran_size: 256K    chunk_size: 4M    num_reg: 10     lose cover RAM: 102M
[    0.002581]  gran_size: 256K    chunk_size: 8M    num_reg: 10     lose cover RAM: 102M
[    0.002582]  gran_size: 256K    chunk_size: 16M    num_reg: 10     lose cover RAM: 38M
[    0.002582] *BAD*gran_size: 256K    chunk_size: 32M    num_reg: 10     lose cover RAM: -24M
[    0.002583] *BAD*gran_size: 256K    chunk_size: 64M    num_reg: 10     lose cover RAM: -24M
[    0.002583] *BAD*gran_size: 256K    chunk_size: 128M    num_reg: 10     lose cover RAM: -24M
[    0.002584] *BAD*gran_size: 256K    chunk_size: 256M    num_reg: 10     lose cover RAM: -24M
[    0.002585] *BAD*gran_size: 256K    chunk_size: 512M    num_reg: 10     lose cover RAM: -280M
[    0.002585] *BAD*gran_size: 256K    chunk_size: 1G    num_reg: 10     lose cover RAM: -272M
[    0.002586] *BAD*gran_size: 256K    chunk_size: 2G    num_reg: 10     lose cover RAM: -1296M
[    0.002587]  gran_size: 512K    chunk_size: 512K    num_reg: 10     lose cover RAM: 102M
[    0.002587]  gran_size: 512K    chunk_size: 1M    num_reg: 10     lose cover RAM: 102M
[    0.002588]  gran_size: 512K    chunk_size: 2M    num_reg: 10     lose cover RAM: 102M
[    0.002588]  gran_size: 512K    chunk_size: 4M    num_reg: 10     lose cover RAM: 102M
[    0.002589]  gran_size: 512K    chunk_size: 8M    num_reg: 10     lose cover RAM: 102M
[    0.002590]  gran_size: 512K    chunk_size: 16M    num_reg: 10     lose cover RAM: 38M
[    0.002590] *BAD*gran_size: 512K    chunk_size: 32M    num_reg: 10     lose cover RAM: -24M
[    0.002591] *BAD*gran_size: 512K    chunk_size: 64M    num_reg: 10     lose cover RAM: -24M
[    0.002592] *BAD*gran_size: 512K    chunk_size: 128M    num_reg: 10     lose cover RAM: -24M
[    0.002592] *BAD*gran_size: 512K    chunk_size: 256M    num_reg: 10     lose cover RAM: -24M
[    0.002593] *BAD*gran_size: 512K    chunk_size: 512M    num_reg: 10     lose cover RAM: -280M
[    0.002593] *BAD*gran_size: 512K    chunk_size: 1G    num_reg: 10     lose cover RAM: -272M
[    0.002594] *BAD*gran_size: 512K    chunk_size: 2G    num_reg: 10     lose cover RAM: -1296M
[    0.002595]  gran_size: 1M    chunk_size: 1M    num_reg: 10     lose cover RAM: 102M
[    0.002595]  gran_size: 1M    chunk_size: 2M    num_reg: 10     lose cover RAM: 102M
[    0.002596]  gran_size: 1M    chunk_size: 4M    num_reg: 10     lose cover RAM: 102M
[    0.002597]  gran_size: 1M    chunk_size: 8M    num_reg: 10     lose cover RAM: 102M
[    0.002597]  gran_size: 1M    chunk_size: 16M    num_reg: 10     lose cover RAM: 38M
[    0.002598] *BAD*gran_size: 1M    chunk_size: 32M    num_reg: 10     lose cover RAM: -24M
[    0.002598] *BAD*gran_size: 1M    chunk_size: 64M    num_reg: 10     lose cover RAM: -24M
[    0.002599] *BAD*gran_size: 1M    chunk_size: 128M    num_reg: 10     lose cover RAM: -24M
[    0.002600] *BAD*gran_size: 1M    chunk_size: 256M    num_reg: 10     lose cover RAM: -24M
[    0.002600] *BAD*gran_size: 1M    chunk_size: 512M    num_reg: 10     lose cover RAM: -280M
[    0.002601] *BAD*gran_size: 1M    chunk_size: 1G    num_reg: 10     lose cover RAM: -272M
[    0.002601] *BAD*gran_size: 1M    chunk_size: 2G    num_reg: 10     lose cover RAM: -1296M
[    0.002602]  gran_size: 2M    chunk_size: 2M    num_reg: 10     lose cover RAM: 102M
[    0.002603]  gran_size: 2M    chunk_size: 4M    num_reg: 10     lose cover RAM: 102M
[    0.002603]  gran_size: 2M    chunk_size: 8M    num_reg: 10     lose cover RAM: 102M
[    0.002604]  gran_size: 2M    chunk_size: 16M    num_reg: 10     lose cover RAM: 38M
[    0.002605] *BAD*gran_size: 2M    chunk_size: 32M    num_reg: 10     lose cover RAM: -24M
[    0.002605] *BAD*gran_size: 2M    chunk_size: 64M    num_reg: 10     lose cover RAM: -24M
[    0.002606] *BAD*gran_size: 2M    chunk_size: 128M    num_reg: 10     lose cover RAM: -24M
[    0.002606] *BAD*gran_size: 2M    chunk_size: 256M    num_reg: 10     lose cover RAM: -24M
[    0.002607] *BAD*gran_size: 2M    chunk_size: 512M    num_reg: 10     lose cover RAM: -280M
[    0.002608] *BAD*gran_size: 2M    chunk_size: 1G    num_reg: 10     lose cover RAM: -272M
[    0.002608] *BAD*gran_size: 2M    chunk_size: 2G    num_reg: 10     lose cover RAM: -1296M
[    0.002609]  gran_size: 4M    chunk_size: 4M    num_reg: 10     lose cover RAM: 102M
[    0.002610]  gran_size: 4M    chunk_size: 8M    num_reg: 10     lose cover RAM: 102M
[    0.002610]  gran_size: 4M    chunk_size: 16M    num_reg: 10     lose cover RAM: 38M
[    0.002611] *BAD*gran_size: 4M    chunk_size: 32M    num_reg: 10     lose cover RAM: -22M
[    0.002611] *BAD*gran_size: 4M    chunk_size: 64M    num_reg: 10     lose cover RAM: -22M
[    0.002612] *BAD*gran_size: 4M    chunk_size: 128M    num_reg: 10     lose cover RAM: -22M
[    0.002613] *BAD*gran_size: 4M    chunk_size: 256M    num_reg: 10     lose cover RAM: -22M
[    0.002613] *BAD*gran_size: 4M    chunk_size: 512M    num_reg: 10     lose cover RAM: -278M
[    0.002614] *BAD*gran_size: 4M    chunk_size: 1G    num_reg: 10     lose cover RAM: -270M
[    0.002615] *BAD*gran_size: 4M    chunk_size: 2G    num_reg: 10     lose cover RAM: -1294M
[    0.002615]  gran_size: 8M    chunk_size: 8M    num_reg: 10     lose cover RAM: 102M
[    0.002616]  gran_size: 8M    chunk_size: 16M    num_reg: 10     lose cover RAM: 38M
[    0.002616]  gran_size: 8M    chunk_size: 32M    num_reg: 10     lose cover RAM: 38M
[    0.002617]  gran_size: 8M    chunk_size: 64M    num_reg: 10     lose cover RAM: 6M
[    0.002618]  gran_size: 8M    chunk_size: 128M    num_reg: 10     lose cover RAM: 6M
[    0.002618]  gran_size: 8M    chunk_size: 256M    num_reg: 10     lose cover RAM: 6M
[    0.002619] *BAD*gran_size: 8M    chunk_size: 512M    num_reg: 10     lose cover RAM: -250M
[    0.002620]  gran_size: 8M    chunk_size: 1G    num_reg: 10     lose cover RAM: 6M
[    0.002620] *BAD*gran_size: 8M    chunk_size: 2G    num_reg: 10     lose cover RAM: -1018M
[    0.002621]  gran_size: 16M    chunk_size: 16M    num_reg: 10     lose cover RAM: 46M
[    0.002622]  gran_size: 16M    chunk_size: 32M    num_reg: 10     lose cover RAM: 46M
[    0.002622]  gran_size: 16M    chunk_size: 64M    num_reg: 10     lose cover RAM: 14M
[    0.002623]  gran_size: 16M    chunk_size: 128M    num_reg: 10     lose cover RAM: 14M
[    0.002623]  gran_size: 16M    chunk_size: 256M    num_reg: 10     lose cover RAM: 14M
[    0.002624] *BAD*gran_size: 16M    chunk_size: 512M    num_reg: 10     lose cover RAM: -242M
[    0.002625]  gran_size: 16M    chunk_size: 1G    num_reg: 10     lose cover RAM: 14M
[    0.002625] *BAD*gran_size: 16M    chunk_size: 2G    num_reg: 10     lose cover RAM: -1010M
[    0.002626]  gran_size: 32M    chunk_size: 32M    num_reg: 10     lose cover RAM: 30M
[    0.002627]  gran_size: 32M    chunk_size: 64M    num_reg: 10     lose cover RAM: 30M
[    0.002627]  gran_size: 32M    chunk_size: 128M    num_reg: 10     lose cover RAM: 30M
[    0.002628]  gran_size: 32M    chunk_size: 256M    num_reg: 10     lose cover RAM: 30M
[    0.002628] *BAD*gran_size: 32M    chunk_size: 512M    num_reg: 10     lose cover RAM: -226M
[    0.002629]  gran_size: 32M    chunk_size: 1G    num_reg: 10     lose cover RAM: 30M
[    0.002630] *BAD*gran_size: 32M    chunk_size: 2G    num_reg: 10     lose cover RAM: -994M
[    0.002630]  gran_size: 64M    chunk_size: 64M    num_reg: 8     lose cover RAM: 94M
[    0.002631]  gran_size: 64M    chunk_size: 128M    num_reg: 8     lose cover RAM: 94M
[    0.002631]  gran_size: 64M    chunk_size: 256M    num_reg: 9     lose cover RAM: 94M
[    0.002632]  gran_size: 64M    chunk_size: 512M    num_reg: 10     lose cover RAM: 94M
[    0.002633]  gran_size: 64M    chunk_size: 1G    num_reg: 9     lose cover RAM: 94M
[    0.002633]  gran_size: 64M    chunk_size: 2G    num_reg: 10     lose cover RAM: 94M
[    0.002634]  gran_size: 128M    chunk_size: 128M    num_reg: 7     lose cover RAM: 158M
[    0.002635]  gran_size: 128M    chunk_size: 256M    num_reg: 9     lose cover RAM: 158M
[    0.002635]  gran_size: 128M    chunk_size: 512M    num_reg: 10     lose cover RAM: 158M
[    0.002636]  gran_size: 128M    chunk_size: 1G    num_reg: 9     lose cover RAM: 158M
[    0.002637]  gran_size: 128M    chunk_size: 2G    num_reg: 10     lose cover RAM: 158M
[    0.002637]  gran_size: 256M    chunk_size: 256M    num_reg: 5     lose cover RAM: 414M
[    0.002638]  gran_size: 256M    chunk_size: 512M    num_reg: 5     lose cover RAM: 414M
[    0.002638]  gran_size: 256M    chunk_size: 1G    num_reg: 6     lose cover RAM: 414M
[    0.002639]  gran_size: 256M    chunk_size: 2G    num_reg: 7     lose cover RAM: 414M
[    0.002640]  gran_size: 512M    chunk_size: 512M    num_reg: 5     lose cover RAM: 414M
[    0.002640]  gran_size: 512M    chunk_size: 1G    num_reg: 6     lose cover RAM: 414M
[    0.002641]  gran_size: 512M    chunk_size: 2G    num_reg: 7     lose cover RAM: 414M
[    0.002641]  gran_size: 1G    chunk_size: 1G    num_reg: 4     lose cover RAM: 926M
[    0.002642]  gran_size: 1G    chunk_size: 2G    num_reg: 4     lose cover RAM: 926M
[    0.002643]  gran_size: 2G    chunk_size: 2G    num_reg: 3     lose cover RAM: 1950M

Then I edit grub menu and added below line and updated the grub:
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet enable_mtrr_cleanup mtrr_gran_size= 2G chunk_size= 2G"

But I got the same error:
Code: Select all
$ sudo dmesg -f kern | grep mtrr
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-5-amd64 root=UUID=81f957de-2a93-4b9c-a07e-49f0fda0848b ro quiet enable_mtrr_cleanup mtrr_gran_size= 2G chunk_size= 2G
[    0.002633] mtrr_cleanup: can not find optimal value
[    0.002633] please specify mtrr_gran_size/mtrr_chunk_size
[    0.160106] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-5-amd64 root=UUID=81f957de-2a93-4b9c-a07e-49f0fda0848b ro quiet enable_mtrr_cleanup mtrr_gran_size= 2G chunk_size= 2G
hack3rcon
 
Posts: 312
Joined: 2015-02-16 09:54

Re: System beeped when Debian wants boot.

Postby hack3rcon » 2019-07-21 11:34

theblueplll wrote:Why are people still answering this fool.

It's bviously a bot or a really bored troll.

Please be polite.
hack3rcon
 
Posts: 312
Joined: 2015-02-16 09:54


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable