CentOS 6.9 doesn’t shutdown correctly
-
- Posts: 5
- Joined: 2017/08/03 15:14:57
CentOS 6.9 doesn’t shutdown correctly
Hi,
I try to use CentOS 6.9 (final) for our new PCs in the labratory. I'm facing some problems regarding the correct shutdown of CentOS. After shutdown the PCs staying in halt and don't switch off. In the following I have some information regarding the hardware and a snippet of the grub.conf. CentOS is booted in UEFI-mode. We use a dual-boot with Windows 10.
hardware:
OptiPlex 7050 Minitower
Intel Core i7-7700
grub.conf:
title CentOS (2.6.32-696.6.3.el6.x86_64)
root (hd0,5)
kernel /vmlinuz-2.6.32-696.6.3.el6.x86_64 ro root=/dev/mapper/vg_shockley-lv_root rd_NO_LUKS rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=de rd_LVM_LV=vg_shockley/lv_swap rd_LVM_LV=vg_shockley/lv_root LANG=de_DE.UTF-8 rd_NO_DM rhgb quiet
initrd /initramfs-2.6.32-696.6.3.el6.x86_64.img
I searched on the Internet before, but doesn't got a working solution. Can someone give me some information where the problem could be or on what I have to focus to fix this?
Thanks in advance,
Kind regards,
Andreas
I try to use CentOS 6.9 (final) for our new PCs in the labratory. I'm facing some problems regarding the correct shutdown of CentOS. After shutdown the PCs staying in halt and don't switch off. In the following I have some information regarding the hardware and a snippet of the grub.conf. CentOS is booted in UEFI-mode. We use a dual-boot with Windows 10.
hardware:
OptiPlex 7050 Minitower
Intel Core i7-7700
grub.conf:
title CentOS (2.6.32-696.6.3.el6.x86_64)
root (hd0,5)
kernel /vmlinuz-2.6.32-696.6.3.el6.x86_64 ro root=/dev/mapper/vg_shockley-lv_root rd_NO_LUKS rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=de rd_LVM_LV=vg_shockley/lv_swap rd_LVM_LV=vg_shockley/lv_root LANG=de_DE.UTF-8 rd_NO_DM rhgb quiet
initrd /initramfs-2.6.32-696.6.3.el6.x86_64.img
I searched on the Internet before, but doesn't got a working solution. Can someone give me some information where the problem could be or on what I have to focus to fix this?
Thanks in advance,
Kind regards,
Andreas
Re: CentOS 6.9 doesn’t shutdown correctly
Remove rhgb quiet from your kernel command line in /boot/grub/grub.conf
Check for BIOS updates from the vendor.
Check for BIOS updates from the vendor.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 5
- Joined: 2017/08/03 15:14:57
Re: CentOS 6.9 doesn’t shutdown correctly
Hi Trevor,
thanks for your reply. I already updated the BIOS. Regarding the console output everything seems to be ok, while 'rhgb quit' is removed . Any other hint I could try?
Thanks,
Andreas
thanks for your reply. I already updated the BIOS. Regarding the console output everything seems to be ok, while 'rhgb quit' is removed . Any other hint I could try?
Thanks,
Andreas
Re: CentOS 6.9 doesn’t shutdown correctly
If it works without rhgb quiet then I'd leave them off. It may be an intermittent problem too in which case maybe you didn't hit it when you tested this particular time.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 5
- Joined: 2017/08/03 15:14:57
Re: CentOS 6.9 doesn’t shutdown correctly
Sorry, I maybe expressed myself incorrect. The halt issue still remains.
Re: CentOS 6.9 doesn’t shutdown correctly
I wasn't expecting it to fix it, just to give you more diagnostic messages to enable you to work out where the problem lay. What is the last thing it says on the console without rhgb quiet?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 5
- Joined: 2017/08/03 15:14:57
Re: CentOS 6.9 doesn’t shutdown correctly
Code: Select all
Halting System...
sd 0:0:0:0: [sda] Synchronizing SCSI Cache
sd 0:0:0:0: [sda] Stopping disk
System halted.
_
Re: CentOS 6.9 doesn’t shutdown correctly
You could try experimenting with the various options that can be passed via reboot= on the kernel command line. From arch/x86/kernel/reboot.c that lists
/*
* reboot=b[ios] | s[mp] | t[riple] | k[bd] | e[fi] [, [w]arm | [c]old] | p[ci]
* warm Don't set the cold reboot flag
* cold Set the cold reboot flag
* bios Reboot by jumping through the BIOS
* smp Reboot by executing reset on BSP or other CPU
* triple Force a triple fault (init)
* kbd Use the keyboard controller. cold reset (default)
* acpi Use the RESET_REG in the FADT
* efi Use efi reset_system runtime service
* pci Use the so-called "PCI reset register", CF9
* force Avoid anything that could hang.
*/
/*
* reboot=b[ios] | s[mp] | t[riple] | k[bd] | e[fi] [, [w]arm | [c]old] | p[ci]
* warm Don't set the cold reboot flag
* cold Set the cold reboot flag
* bios Reboot by jumping through the BIOS
* smp Reboot by executing reset on BSP or other CPU
* triple Force a triple fault (init)
* kbd Use the keyboard controller. cold reset (default)
* acpi Use the RESET_REG in the FADT
* efi Use efi reset_system runtime service
* pci Use the so-called "PCI reset register", CF9
* force Avoid anything that could hang.
*/
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 5
- Joined: 2017/08/03 15:14:57
Re: CentOS 6.9 doesn’t shutdown correctly
I tried all of the options you mentioned. Sadly nothing helped to fix the problem. While using 'reboot=force' I got the following output:
The last line repeats in an infinite loop. After adding the suggested 'clocksource_failover' parameter I got this:
But still the PC stays in halt and doesn't shutdown. I think the error with the clocksource maybe corresponds to the force attribute and the different initialisation, doesn't it?
Code: Select all
Halting System...
sd 0:0:0:0: [sda] Synchronizing SCSI Cache
sd 0:0:0:0: [sda] Stopping disk
System halted.
Clocksource tsc unstable (Delta=500014485ns). Enable clocksource failover by adding clocksource_failover kernel parameter.
Code: Select all
Halting System...
sd 0:0:0:0: [sda] Synchronizing SCSI Cache
sd 0:0:0:0: [sda] Stopping disk
System halted.
Clocksource tsc unstable (delta=258660080ns).
Switching to clocksource hpet
_
Re: CentOS 6.9 doesn’t shutdown correctly
Sorry, no idea.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke