Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Не выключается ноутбук
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
SimonLitt
n00b
n00b


Joined: 11 Dec 2013
Posts: 7

PostPosted: Thu Dec 12, 2013 4:10 pm    Post subject: Не выключается ноутбук Reply with quote

Командой shutdown -h -P now не удаётся выключить ноутбук.
После отключения файловой системы пишет "Power Down" и всё больше ничего не происходит, выключаю зажатием на несколько секунд кнопки питания.
Проблеме уже месяц проявилась сразу после установки Gentoo. Уже много чего перепробовал и экспериментировал с настройками ядра и параметры ядру передавал, всего не вспомнить, но проблему решить так и не смог.
Пожалуйста помогите.

О системе:
[list][*]Aspire E1-522

Quote:
# uname -a
Linux nlin 3.10.17-gentoo #1 SMP Sat Dec 7 15:23:17 FET 2013 x86_64 AMD E1-2500 APU with Radeon(TM) HD Graphics AuthenticAMD GNU/Linux


В BIOS режим загрузки Legacy http://img.pixs.ru/storage/9/1/6/Foto0062jp_5004740_10066916.jpg Я не хочу ставить UEFI так как при этом намного сложнее настроить GRUB а я в Linux ещё новичок, но если нет выхода буду стараться, в крайнем случае создам ещё одну тему :D

Скриншот проблемы:


Quote:
# dmesg |grep ACPI
[ 18.784875] ACPI: Power Button [PWRB]
[ 18.829093] ACPI: Lid Switch [LID0]
[ 18.829317] ACPI: acpi_idle registered with cpuidle
[ 18.831457] ACPI: Sleep Button [SLPB]
[ 18.831628] ACPI: Power Button [PWRF]
[ 18.885326] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[ 18.885512] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
[ 18.911726] ACPI: Battery Slot [BAT0] (battery present)
[ 19.114040] ACPI: AC Adapter [ADP1] (off-line)
[ 19.118790] ACPI: Thermal Zone [TZS0] (43 C)
[ 19.119351] ACPI: Thermal Zone [TZS1] (25 C)
[ 19.542237] ACPI Warning: 0x0000000000000b00-0x0000000000000b07 SystemIO conflicts with Region \_SB_.PCI0.SMBS.SMB0 1 (20130328/utaddress-251)
[ 19.542251] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver


Quote:
# lspci -k
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Root Complex
Subsystem: Acer Incorporated [ALI] Device 076b
k00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kabini [Radeon HD 8240]
Subsystem: Acer Incorporated [ALI] Device 076b
Kernel driver in use: fglrx_pci
Kernel modules: fglrx
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 9840
Subsystem: Acer Incorporated [ALI] Device 076b
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 0
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
Kernel driver in use: pcieport
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
Kernel driver in use: pcieport
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 01)
Subsystem: Acer Incorporated [ALI] Device 076b
Kernel driver in use: xhci_hcd
Kernel modules: xhci_hcd
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 40)
Subsystem: Acer Incorporated [ALI] Device 076b
Kernel driver in use: ahci
Kernel modules: ahci
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 39)
Subsystem: Acer Incorporated [ALI] Device 076b
Kernel driver in use: ohci_hcd
Kernel modules: ohci_hcd
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39)
Subsystem: Acer Incorporated [ALI] Device 076b
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 39)
Subsystem: Acer Incorporated [ALI] Device 076b
Kernel driver in use: ohci_hcd
Kernel modules: ohci_hcd
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39)
Subsystem: Acer Incorporated [ALI] Device 076b
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 3a)
Subsystem: Acer Incorporated [ALI] Device 076b
Kernel modules: i2c_piix4
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 02)
Subsystem: Acer Incorporated [ALI] Device 076b
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
Subsystem: Acer Incorporated [ALI] Device 076b
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 5
01:00.0 Ethernet controller: Qualcomm Atheros QCA8171 Gigabit Ethernet (rev 13)
Subsystem: Acer Incorporated [ALI] Device 076b
Kernel driver in use: alx
Kernel modules: alx
01:00.1 SD Host controller: Qualcomm Atheros Device 3010 (rev 13)
Subsystem: Acer Incorporated [ALI] Device 076b
05:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
Subsystem: Foxconn International, Inc. Device e068
Kernel driver in use: ath9k
Kernel modules: ath9k
Back to top
View user's profile Send private message
Pinkbyte
Developer
Developer


Joined: 01 Jun 2012
Posts: 94
Location: Rostov-on-Don, Russia

PostPosted: Mon Dec 16, 2013 6:08 pm    Post subject: Reply with quote

Конфиг ядра предоставить не помешало бы - по нему проще судить. Пока что судя по всему - проблема с ACPI - либо оно не вкомпилено, либо отсутствует какой-то важный параметр, либо багнутый DSDT в ноутбуке(бывает и такое, да). И полный выхлоп dmesg сразу после загрузки тоже может помочь.
Back to top
View user's profile Send private message
SimonLitt
n00b
n00b


Joined: 11 Dec 2013
Posts: 7

PostPosted: Thu Dec 19, 2013 1:54 pm    Post subject: Reply with quote

Пытаясь решить эту проблему, обновился до ядра 3.12.5, изменений нет.

Pinkbyte wrote:
Конфиг ядра предоставить не помешало бы - по нему проще судить. Пока что судя по всему - проблема с ACPI - либо оно не вкомпилено, либо отсутствует какой-то важный параметр, либо багнутый DSDT в ноутбуке(бывает и такое, да). И полный выхлоп dmesg сразу после загрузки тоже может помочь.


Code:
# cat /etc/kernels/kernel-config-x86_64-3.12.5-gentoo | grep ACPI
# Power management and ACPI options
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS is not set
# CONFIG_ACPI_PROCFS_POWER is not set
# CONFIG_ACPI_EC_DEBUGFS is not set
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=m
# CONFIG_ACPI_DOCK is not set
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_HOTPLUG_CPU=y
# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set
CONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_CUSTOM_DSDT is not set
# CONFIG_ACPI_INITRD_TABLE_OVERRIDE is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
CONFIG_ACPI_DEBUG=y
# 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_BGRT is not set
# CONFIG_ACPI_APEI is not set
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_PNPACPI=y
CONFIG_ATA_ACPI=y
CONFIG_PATA_ACPI=m
# ACPI drivers
# ACPI drivers
# CONFIG_SENSORS_ACPI_POWER is not set
# CONFIG_MMC_SDHCI_ACPI is not set
CONFIG_DMA_ACPI=y
CONFIG_THINKPAD_ACPI=m
CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
# CONFIG_THINKPAD_ACPI_DEBUGFACILITIES is not set
# CONFIG_THINKPAD_ACPI_DEBUG is not set
# CONFIG_THINKPAD_ACPI_UNSAFE_LEDS is not set
CONFIG_THINKPAD_ACPI_VIDEO=y
CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y
# CONFIG_ACPI_WMI is not set
# CONFIG_ACPI_CMPC is not set


Весь конфиг: http://paste.org.ru/?urfk8g

Pinkbyte wrote:
И полный выхлоп dmesg сразу после загрузки тоже может помочь.


Вот: http://paste.org.ru/?g6xcwa

Pinkbyte wrote:
либо багнутый DSDT в ноутбуке.

Это что ли?
Code:
cat /sys/firmware/acpi/tables/DSDT > dsdt.dat
iasl -d dsdt.dat

http://paste.org.ru/?iem61w
Back to top
View user's profile Send private message
Pinkbyte
Developer
Developer


Joined: 01 Jun 2012
Posts: 94
Location: Rostov-on-Don, Russia

PostPosted: Thu Dec 19, 2013 3:44 pm    Post subject: Reply with quote

Code:
CONFIG_ACPI_BUTTON=m


Если lsmod | grep button ничего не показывает - загрузите этот модуль с помощью modprobe button и попробуйте сделать shutdown еще раз.

Если поможет - вкомпилить ACPI_BUTTON в ядро или прописать его на постоянную загрузку в /etc/conf.d/modules
Back to top
View user's profile Send private message
SimonLitt
n00b
n00b


Joined: 11 Dec 2013
Posts: 7

PostPosted: Fri Dec 20, 2013 6:07 pm    Post subject: Reply with quote

Pinkbyte wrote:
Code:
CONFIG_ACPI_BUTTON=m


Если lsmod | grep button ничего не показывает - загрузите этот модуль с помощью modprobe button и попробуйте сделать shutdown еще раз.

Если поможет - вкомпилить ACPI_BUTTON в ядро или прописать его на постоянную загрузку в /etc/conf.d/modules


lsmod | grep button как раз показывает, что модуль загружается и без моего вмешательства:
Code:
# lsmod | grep butt
button                  4605  1 fglrx

Code:
# modinfo button
filename:       /lib/modules/3.12.5-gentoo/kernel/drivers/acpi/button.ko
license:        GPL
description:    ACPI Button Driver
author:         Paul Diefenbaugh
alias:          acpi*:LNXPWRBN:*
alias:          acpi*:PNP0C0C:*
alias:          acpi*:LNXSLPBN:*
alias:          acpi*:PNP0C0E:*
alias:          acpi*:PNP0C0D:*
depends:       
intree:         Y
vermagic:       3.12.5-gentoo SMP mod_unload modversion
Back to top
View user's profile Send private message
Pinkbyte
Developer
Developer


Joined: 01 Jun 2012
Posts: 94
Location: Rostov-on-Don, Russia

PostPosted: Mon Dec 23, 2013 5:13 pm    Post subject: Reply with quote

А что в cat /proc/cmdline ?
Back to top
View user's profile Send private message
SimonLitt
n00b
n00b


Joined: 11 Dec 2013
Posts: 7

PostPosted: Thu Jan 09, 2014 1:08 pm    Post subject: Reply with quote

Pinkbyte wrote:
А что в cat /proc/cmdline ?

Code:
cat /proc/cmdline
BOOT_IMAGE=/kernel-genkernel-x86_64-3.12.5-gentoo root=UUID=92c6770c-acd1-48c4-a871-cb35cee0503b ro  video=uvesafb:1366x768-32,mtrr:3,ywrap splash=silent,theme:natural_gentoo snd_hda_intel.enable=0,1


Очень многими ACPI параметрами баловался, но ни один не помог.
Back to top
View user's profile Send private message
seokane
n00b
n00b


Joined: 29 May 2013
Posts: 3

PostPosted: Tue Jul 15, 2014 9:51 am    Post subject: Reply with quote

Похожая проблема на ноутбуке у меня решилась откатом ядра на 3.10.41-gentoo-r1
_________________
linuxpro.ru
Back to top
View user's profile Send private message
TigerJr
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2007
Posts: 78
Location: /dev/spb7

PostPosted: Thu Sep 11, 2014 6:59 pm    Post subject: Reply with quote

HALT OR POWEROFF
The -H option just sets the init environment variable INIT_HALT to HALT, and the -P option just sets that variable to POWEROFF. The shutdown
script that calls halt(8) as the last thing in the shutdown sequence should check these environment variables and call halt(8) with the right
options for these options to actually have any effect. Debian 3.1 (sarge) supports this.

Попробуйте:

/sbin/shutdown -P now
_________________

gentoway or not gentoway?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum