View previous topic :: View next topic |
Author |
Message |
MrCirca n00b
Joined: 17 Jul 2014 Posts: 5 Location: Greece
|
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Mon Oct 20, 2014 9:32 am Post subject: |
|
|
Hi,
A good request starts with a detailed explanation on what is not working.
Whats your isse? What is the desired behaviour? What is the expected behaviour?
I think you need to check gentoo handbook / wiki / any linux help source for the following keywords: ACPI, kernel, kernel-configuration.
It may help when you can provide what you did so far! Which init system do you use? Which desctop envirionment? |
|
Back to top |
|
|
MrCirca n00b
Joined: 17 Jul 2014 Posts: 5 Location: Greece
|
Posted: Mon Oct 20, 2014 9:42 am Post subject: |
|
|
The issue is that when i do reboot / shutdown , grub freeze and keyboard doesnt work! On ubuntu this issue has solved i am looking on Gentoo! _________________ If you are searching you will learn |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Mon Oct 20, 2014 9:44 am Post subject: |
|
|
MrCirca wrote: | The issue is that when i do reboot / shutdown , grub freeze and keyboard doesnt work! On ubuntu this issue has solved i am looking on Gentoo! |
grub does not have anything to do with freezing your box when shutdown your box. Grub is a bootloader.
well assume your input devices do not work properly! Which kind of input devices are they?
Last edited by Roman_Gruber on Mon Oct 20, 2014 9:45 am; edited 1 time in total |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Mon Oct 20, 2014 9:44 am Post subject: |
|
|
So, did you install Gentoo and this is happening when booting your Gentoo instalation? Or does this happen when booting the livecd to install Gentoo? |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Mon Oct 20, 2014 9:47 am Post subject: |
|
|
AS written on previous post.
Configure your kernel properly with ACPI / support for your input devices.
It is not grub, it is bash which may freeze and thats not correct as you may did not add ACPI support to your kernel at all.
Reading between your lines I assume the following behaviour. Your box shutdowns and everything is shutdown but did not turn off your box because the acpi event is never triggered to fire the poweroff. which could be wrong configured kernel / userspace or buggy bios (which i doubt as of now) Because everything is shutdown the keyboard is also dead but the last step to turn off power never is triggered. also when you write reboot also does not work, it is the same as the reboot event is never handed over because of lack of ACPI support.
Check gentoo wiki / handbook about using genkernel or build your own kernel from scratch. |
|
Back to top |
|
|
MrCirca n00b
Joined: 17 Jul 2014 Posts: 5 Location: Greece
|
Posted: Mon Oct 20, 2014 11:56 am Post subject: |
|
|
Hmmmm....don't know.....What i need show you to tell me what i need to edit ? _________________ If you are searching you will learn |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
|
Back to top |
|
|
MrCirca n00b
Joined: 17 Jul 2014 Posts: 5 Location: Greece
|
Posted: Mon Oct 20, 2014 3:10 pm Post subject: |
|
|
I have installed gentoo and i haven't built kernel with genkernel. I have found all drivers in kernel and work. But i dont know what happens exactly with acpi problem ... _________________ If you are searching you will learn |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Wed Oct 22, 2014 7:26 am Post subject: |
|
|
The kernel thing is a very complicated thing. You have to try around until it works or read the docs.
You may try this and check
Code: | grep ACPI /usr/src/linux/.config |
if you get something similar as myself
** Every kernel paramater has an explanation and therefore you may read about what it does before changing it **
Quote: |
# Power management and ACPI options
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_PROCFS=y
CONFIG_ACPI_PROCFS_POWER=y
# CONFIG_ACPI_EC_DEBUGFS is not set
CONFIG_ACPI_PROC_EVENT=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
# CONFIG_ACPI_FAN is not set
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_I2C=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_PROCESSOR_AGGREGATOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_CUSTOM_DSDT is not set
# CONFIG_ACPI_INITRD_TABLE_OVERRIDE is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_PCI_SLOT is not set
CONFIG_ACPI_CONTAINER=y
# CONFIG_ACPI_SBS is not set
# CONFIG_ACPI_HED is not set
# CONFIG_ACPI_APEI is not set
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_PNPACPI=y
CONFIG_ATA_ACPI=y
CONFIG_PATA_ACPI=y
# ACPI drivers
CONFIG_GPIO_ACPI=y
# ACPI drivers
CONFIG_SENSORS_ACPI_POWER=y
# CONFIG_MMC_SDHCI_ACPI is not set
CONFIG_DMA_ACPI=y
# CONFIG_ACPI_QUICKSTART is not set
# CONFIG_THINKPAD_ACPI is not set
CONFIG_ACPI_WMI=y
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_CMPC is not set
|
Please note the kernel has so many options and it is just a recommendation. every kernel option has an explanation.
should you find a difference, you need to adapt your config first and than rebuild your kernel, and use/boot in that newly build kernel.
I just recommend you upload your kernel.config to a pastebin but it does not change the fact that you have to check your kernel for the ACPI settings if they are correct
e.g. search engine result
http://cateee.net/lkddb/web-lkddb/ACPI_BUTTON.html
Quote: | CONFIG_ACPI_BUTTON: Button >>>
This driver handles events on the power, sleep, and lid buttons. A daemon reads events from input devices or via netlink and performs user-defined actions such as shutting down the system. This is necessary for software-controlled poweroff.
To compile this driver as a module, choose M here: the module will be called button. |
|
|
Back to top |
|
|
|