2014beta无法关机了
Tofloor
poster avatar
airpumpkin
deepin
2014-05-19 18:00
Author
刚装好的时候还能关机的,但是弄了一下bbache用SSD给机械硬盘当缓存,把/tmp挂载为tmpfs后就无法关机了,点关机之后,deepin从蓝色变成灰色就停住了。
机器的配置是:
I7 4770
gigabyte B85N
16G RAM
Sandisk Extreme 120G SSD
Seagate 3T
SSD分了三个区,分别装Win7、Deepin、Bcache,机械硬盘分了两个区,一个Win7用,一个挂/home上了,Bcache给/home做缓存。
Reply Favorite View the author
All Replies
能吃善睡
deepin
2014-05-20 05:50
#1
可能设备驱动出了问题,参考一下这篇的解决思路
http://www.linuxdeepin.com/forum/25/21723
刚装好的时候还能关机的,但是弄了一下bbache用SSD给机械硬盘当缓存,把/tmp挂载为tmpfs后就无法关机了,点关机之后,deepin从蓝色变成灰色就停住了。
机器的配置是:
I7 4770
gigabyte B85N
16G RAM
Sandisk Extreme 120G SSD
Seagate 3T
SSD分了三个区,分别装Win7、Deepin、Bcache,机械硬盘分了两个区,一个Win7用,一个挂/home上了,Bcache给/home做缓存。
Reply View the author
airpumpkin
deepin
2014-05-20 07:42
#2
dmesg的内容,找到这个:
[    2.965052] Btrfs loaded
[    3.079503] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[    3.288207] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    3.306568] systemd-udevd[487]: starting version 204
[    3.327308] lp: driver loaded but no devices found
[    3.331200] ppdev: user-space parallel port driver
[    3.345870] ACPI Warning: 0x0000000000001828-0x000000000000182f SystemIO conflicts with Region \PMIO 1 (20131115/utaddress-251)
[    3.345876] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    3.345879] ACPI Warning: 0x0000000000001c30-0x0000000000001c3f SystemIO conflicts with Region \GPRL 1 (20131115/utaddress-251)
[    3.345882] ACPI Warning: 0x0000000000001c30-0x0000000000001c3f SystemIO conflicts with Region \GPR_ 2 (20131115/utaddress-251)
[    3.345885] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    3.345886] ACPI Warning: 0x0000000000001c00-0x0000000000001c2f SystemIO conflicts with Region \GPRL 1 (20131115/utaddress-251)
[    3.345888] ACPI Warning: 0x0000000000001c00-0x0000000000001c2f SystemIO conflicts with Region \GPR_ 2 (20131115/utaddress-251)
[    3.345891] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    3.345892] lpc_ich: Resource conflict(s) found affecting gpio_ich
[    3.350653] mei_me 0000:00:16.0: irq 46 for MSI/MSI-X
[    3.387691] HDA driver get symbol successfully from i915 module
[    3.387719] snd_hda_intel 0000:00:03.0: irq 47 for MSI/MSI-X
[    3.388218] snd_hda_intel 0000:00:1b.0: irq 48 for MSI/MSI-X
[    3.392872] device-mapper: multipath: version 1.6.0 loaded
Reply View the author
能吃善睡
deepin
2014-05-20 20:55
#3
根据:
https://bugs.launchpad.net/ubuntu/+sour ... ug/1280467
你机器的现象可能是由一个内核bug引起的

根据
https://bbs.archlinux.org/viewtopic.php?id=179139
他遇到的现象是看不到电池的状态,最后帮助他的人所给出的解决办法是把
acpi_osi=Linux acpi_backlight=vendor
加入到内核启动参数中
因此你遇到的问题可能也是类似的解决方法,要找出合适的acpi参数。

查看内核参数文档
https://www.kernel.org/doc/Documentatio ... meters.txt
只需要关注acpi相关的内容:

        acpi=                [HW,ACPI,X86]
                        Advanced Configuration and Power Interface
                        Format: { force | off | strict | noirq | rsdt }
                        force -- enable ACPI if default was off
                        off -- disable ACPI if default was on
                        noirq -- do not use ACPI for IRQ routing
                        strict -- Be less tolerant of platforms that are not
                                strictly ACPI specification compliant.
                        rsdt -- prefer RSDT over (default) XSDT
                        copy_dsdt -- copy DSDT to memory

                        See also Documentation/power/runtime_pm.txt, pci=noacpi

        acpi_rsdp=        [ACPI,EFI,KEXEC]
                        Pass the RSDP address to the kernel, mostly used
                        on machines running EFI runtime service to boot the
                        second kernel for kdump.

        acpi_apic_instance=        [ACPI, IOAPIC]
                        Format:
                        2: use 2nd APIC table, if available
                        1,0: use 1st APIC table
                        default: 0

        acpi_backlight=        [HW,ACPI]
                        acpi_backlight=vendor
                        acpi_backlight=video
                        If set to vendor, prefer vendor specific driver
                        (e.g. thinkpad_acpi, sony_acpi, etc.) instead
                        of the ACPI video.ko driver.

        acpi.debug_layer=        [HW,ACPI,ACPI_DEBUG]
        acpi.debug_level=        [HW,ACPI,ACPI_DEBUG]
                        Format:
                        CONFIG_ACPI_DEBUG must be enabled to produce any ACPI
                        debug output.  Bits in debug_layer correspond to a
                        _COMPONENT in an ACPI source file, e.g.,
                            #define _COMPONENT ACPI_PCI_COMPONENT
                        Bits in debug_level correspond to a level in
                        ACPI_DEBUG_PRINT statements, e.g.,
                            ACPI_DEBUG_PRINT((ACPI_DB_INFO, ...
                        The debug_level mask defaults to "info".  See
                        Documentation/acpi/debug.txt for more information about
                        debug layers and levels.

                        Enable processor driver info messages:
                            acpi.debug_layer=0x20000000
                        Enable PCI/PCI interrupt routing info messages:
                            acpi.debug_layer=0x400000
                        Enable AML "Debug" output, i.e., stores to the Debug
                        object while interpreting AML:
                            acpi.debug_layer=0xffffffff acpi.debug_level=0x2
                        Enable all messages related to ACPI hardware:
                            acpi.debug_layer=0x2 acpi.debug_level=0xffffffff

                        Some values produce so much output that the system is
                        unusable.  The "log_buf_len" parameter may be useful
                        if you need to capture more output.

        acpi_irq_balance [HW,ACPI]
                        ACPI will balance active IRQs
                        default in APIC mode

        acpi_irq_nobalance [HW,ACPI]
                        ACPI will not move active IRQs (default)
                        default in PIC mode

        acpi_irq_isa=        [HW,ACPI] If irq_balance, mark listed IRQs used by ISA
                        Format: ,...

        acpi_irq_pci=        [HW,ACPI] If irq_balance, clear listed IRQs for
                        use by PCI
                        Format: ,...

        acpi_no_auto_serialize        [HW,ACPI]
                        Disable auto-serialization of AML methods
                        AML control methods that contain the opcodes to create
                        named objects will be marked as "Serialized" by the
                        auto-serialization feature.
                        This feature is enabled by default.
                        This option allows to turn off the feature.

        acpi_no_auto_ssdt        [HW,ACPI] Disable automatic loading of SSDT

        acpica_no_return_repair [HW, ACPI]
                        Disable AML predefined validation mechanism
                        This mechanism can repair the evaluation result to make
                        the return objects more ACPI specification compliant.
                        This option is useful for developers to identify the
                        root cause of an AML interpreter issue when the issue
                        has something to do with the repair mechanism.

        acpi_os_name=        [HW,ACPI] Tell ACPI BIOS the name of the OS
                        Format: To spoof as Windows 98: ="Microsoft Windows"

        acpi_osi=        [HW,ACPI] Modify list of supported OS interface strings
                        acpi_osi="string1"        # add string1
                        acpi_osi="!string2"        # remove string2
                        acpi_osi=!*                # remove all strings
                        acpi_osi=!                # disable all built-in OS vendor
                                                  strings
                        acpi_osi=                # disable all strings

                        'acpi_osi=!' can be used in combination with single or
                        multiple 'acpi_osi="string1"' to support specific OS
                        vendor string(s).  Note that such command can only
                        affect the default state of the OS vendor strings, thus
                        it cannot affect the default state of the feature group
                        strings and the current state of the OS vendor strings,
                        specifying it multiple times through kernel command line
                        is meaningless.  This command is useful when one do not
                        care about the state of the feature group strings which
                        should be controlled by the OSPM.
                        Examples:
                          1. 'acpi_osi=! acpi_osi="Windows 2000"' is equivalent
                             to 'acpi_osi="Windows 2000" acpi_osi=!', they all
                             can make '_OSI("Windows 2000")' TRUE.

                        'acpi_osi=' cannot be used in combination with other
                        'acpi_osi=' command lines, the _OSI method will not
                        exist in the ACPI namespace.  NOTE that such command can
                        only affect the _OSI support state, thus specifying it
                        multiple times through kernel command line is also
                        meaningless.
                        Examples:
                          1. 'acpi_osi=' can make 'CondRefOf(_OSI, Local1)'
                             FALSE.

                        'acpi_osi=!*' can be used in combination with single or
                        multiple 'acpi_osi="string1"' to support specific
                        string(s).  Note that such command can affect the
                        current state of both the OS vendor strings and the
                        feature group strings, thus specifying it multiple times
                        through kernel command line is meaningful.  But it may
                        still not able to affect the final state of a string if
                        there are quirks related to this string.  This command
                        is useful when one want to control the state of the
                        feature group strings to debug BIOS issues related to
                        the OSPM features.
                        Examples:
                          1. 'acpi_osi="Module Device" acpi_osi=!*' can make
                             '_OSI("Module Device")' FALSE.
                          2. 'acpi_osi=!* acpi_osi="Module Device"' can make
                             '_OSI("Module Device")' TRUE.
                          3. 'acpi_osi=! acpi_osi=!* acpi_osi="Windows 2000"' is
                             equivalent to
                             'acpi_osi=!* acpi_osi=! acpi_osi="Windows 2000"'
                             and
                             'acpi_osi=!* acpi_osi="Windows 2000" acpi_osi=!',
                             they all will make '_OSI("Windows 2000")' TRUE.

        acpi_pm_good        [X86]
                        Override the pmtimer bug detection: force the kernel
                        to assume that this machine's pmtimer latches its value
                        and always returns good values.

        acpi_sci=        [HW,ACPI] ACPI System Control Interrupt trigger mode
                        Format: { level | edge | high | low }

        acpi_skip_timer_override [HW,ACPI]
                        Recognize and ignore IRQ0/pin2 Interrupt Override.
                        For broken nForce2 BIOS resulting in XT-PIC timer.

        acpi_sleep=        [HW,ACPI] Sleep options
                        Format: { s3_bios, s3_mode, s3_beep, s4_nohwsig,
                                  old_ordering, nonvs, sci_force_enable }
                        See Documentation/power/video.txt for information on
                        s3_bios and s3_mode.
                        s3_beep is for debugging; it makes the PC's speaker beep
                        as soon as the kernel's real-mode entry point is called.
                        s4_nohwsig prevents ACPI hardware signature from being
                        used during resume from hibernation.
                        old_ordering causes the ACPI 1.0 ordering of the _PTS
                        control method, with respect to putting devices into
                        low power states, to be enforced (the ACPI 2.0 ordering
                        of _PTS is used by default).
                        nonvs prevents the kernel from saving/restoring the
                        ACPI NVS memory during suspend/hibernation and resume.
                        sci_force_enable causes the kernel to set SCI_EN directly
                        on resume from S1/S3 (which is against the ACPI spec,
                        but some broken systems don't work without it).

        acpi_use_timer_override [HW,ACPI]
                        Use timer override. For some broken Nvidia NF5 boards
                        that require a timer override, but don't have HPET

        acpi_enforce_resources=        [ACPI]
                        { strict | lax | no }
                        Check for resource conflicts between native drivers
                        and ACPI OperationRegions (SystemIO and SystemMemory
                        only). IO ports and memory declared in ACPI might be
                        used by the ACPI subsystem in arbitrary AML code and
                        can interfere with legacy drivers.
                        strict (default): access to resources claimed by ACPI
                        is denied; legacy drivers trying to access reserved
                        resources will fail to bind to device using them.
                        lax: access to resources claimed by ACPI is allowed;
                        legacy drivers trying to access reserved resources
                        will bind successfully but a warning message is logged.
                        no: ACPI OperationRegions are not marked as reserved,
                        no further checks are performed.

        acpi_no_memhotplug [ACPI] Disable memory hotplug.  Useful for kdump
                           kernels.


所以你先把acpi有关的信息全部打印出来看看。
开机出现grub菜单时按e键进入grub的编辑状态,
然后把  
acpi.debug_layer=0x2 acpi.debug_level=0xffffffff
加入  /linux/boot/vmlinuz- 开始的那一行的末尾,
然后按Ctrl X即可。

类似于
http://apexu.com/apexu/tw/modules/publi ... ?itemid=14

然后再dmesg看看新的log有什么变化不
Reply View the author
sniper2006
deepin
2014-05-21 02:51
#4
我的昨天晚上升级到Beta版本后也关不了机!后来用命令关机成功
打开终端
输入:sudo -i 回车
会提示你输入密码:
输入密码后取得root权限
输入shutdown -h now 回车

成功关机
Reply View the author
airpumpkin
deepin
2014-05-21 04:57
#5
加了之后的dmesg,看起来应该也是需要调一个合适的osi参数
[    0.170378] ACPI: Added _OSI(Module Device)
[    0.170379] ACPI: Added _OSI(Processor Device)
[    0.170379] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.170380] ACPI: Added _OSI(Processor Aggregator Device)
[    0.173172] ACPI: Executed 1 blocks of module-level executable AML code
[    0.174705] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    0.175454] ACPI: SSDT 00000000ce13bc18 0003D3 (v01  PmRef  Cpu0Cst 00003001 INTL 20051117)
[    0.175780] ACPI: Dynamic OEM Table Load:
[    0.175781] ACPI: SSDT           (null) 0003D3 (v01  PmRef  Cpu0Cst 00003001 INTL 20051117)
[    0.179546] ACPI: SSDT 00000000ce13b618 0005AA (v01  PmRef    ApIst 00003000 INTL 20051117)
[    0.179915] ACPI: Dynamic OEM Table Load:
[    0.179916] ACPI: SSDT           (null) 0005AA (v01  PmRef    ApIst 00003000 INTL 20051117)
[    0.183449] ACPI: SSDT 00000000ce13ad98 000119 (v01  PmRef    ApCst 00003000 INTL 20051117)
[    0.183774] ACPI: Dynamic OEM Table Load:
[    0.183775] ACPI: SSDT           (null) 000119 (v01  PmRef    ApCst 00003000 INTL 20051117)
[    0.188136] ACPI: Interpreter enabled
[    0.188141] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20131115/hwxface-580)
[    0.188144] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20131115/hwxface-580)
[    0.188153] ACPI: (supports S0 S3 S4 S5)
[    0.188154] ACPI: Using IOAPIC for interrupt routing
[    0.188170] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.188288] ACPI: No dock devices found.
[    0.192809] ACPI: Power Resource [FN00] (off)
[    0.192849] ACPI: Power Resource [FN01] (off)
[    0.192888] ACPI: Power Resource [FN02] (off)
[    0.192927] ACPI: Power Resource [FN03] (off)
[    0.192966] ACPI: Power Resource [FN04] (off)


[    3.467226] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[    3.681664] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    3.698779] systemd-udevd[487]: starting version 204
[    3.724506] lp: driver loaded but no devices found
[    3.729620] ppdev: user-space parallel port driver
[    3.737334] mei_me 0000:00:16.0: irq 46 for MSI/MSI-X
[    3.739866] ACPI Warning: 0x0000000000001828-0x000000000000182f SystemIO conflicts with Region \PMIO 1 (20131115/utaddress-251)
[    3.739871] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    3.739874] ACPI Warning: 0x0000000000001c30-0x0000000000001c3f SystemIO conflicts with Region \GPRL 1 (20131115/utaddress-251)
[    3.739877] ACPI Warning: 0x0000000000001c30-0x0000000000001c3f SystemIO conflicts with Region \GPR_ 2 (20131115/utaddress-251)
[    3.739880] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    3.739881] ACPI Warning: 0x0000000000001c00-0x0000000000001c2f SystemIO conflicts with Region \GPRL 1 (20131115/utaddress-251)
[    3.739883] ACPI Warning: 0x0000000000001c00-0x0000000000001c2f SystemIO conflicts with Region \GPR_ 2 (20131115/utaddress-251)
[    3.739886] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    3.739887] lpc_ich: Resource conflict(s) found affecting gpio_ich
[    3.765866] HDA driver get symbol successfully from i915 module
Reply View the author
cxbii
deepin
2014-05-22 01:20
#6
对于这个,一般是内核的acpi问题,升级内核可以解决
还有是否安装比原先卡
Reply View the author
airpumpkin
deepin
2014-05-22 04:40
#7
I7 4770内置显卡,安装好deepin之后没有再装过驱动
Reply View the author