NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/52232: MacBook Air reboots upon waking from sleep



>Number:         52232
>Category:       kern
>Synopsis:       MacBook Air reboots upon waking from sleep
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 13 20:40:00 +0000 2017
>Originator:     Sevan Janiyan
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
On a mid-2012 MacBook Air, system reboots upon wake from sleep.

System is put to sleep with sysctl  -w hw.acpi.sleep.state=3

The crash is logged in /var/log/messages
May 13 11:55:42  root: /etc/powerd/scripts/sensor_battery: (charge state) capacity reached normal state [acpibat0]
May 13 11:59:21  syslogd[190]: restart
May 13 11:59:21  /netbsd: uvm_fault(0xfffffe82656d4178, 0x0, 1) -> e
May 13 11:59:21  /netbsd: fatal page fault in supervisor mode
May 13 11:59:21  /netbsd: trap type 6 code 0 rip 0xffffffff806316d1 cs 0x8 rflags 0x10202 cr2 0 ilevel 0 rsp 0xfffffe810f991aa0
May 13 11:59:21  /netbsd: curlwp 0xfffffe826c2188a0 pid 40.1 lowest kstack 0xfffffe810f98e2c0
May 13 11:59:21  /netbsd: panic: trap
May 13 11:59:21  /netbsd: cpu0: Begin traceback...
May 13 11:59:21  /netbsd: vpanic() at netbsd:vpanic+0x140
May 13 11:59:21  /netbsd: snprintf() at netbsd:snprintf
May 13 11:59:21  /netbsd: trap() at netbsd:trap+0xc6b
May 13 11:59:21  /netbsd: --- trap (number 6) ---
May 13 11:59:21  /netbsd: drm_pci_irq_install() at netbsd:drm_pci_irq_install+0x99
May 13 11:59:21  /netbsd: drm_irq_install() at netbsd:drm_irq_install+0xb7
May 13 11:59:21  /netbsd: __i915_drm_thaw() at netbsd:__i915_drm_thaw+0xc9
May 13 11:59:21  /netbsd: i915drmkms_resume() at netbsd:i915drmkms_resume+0x34
May 13 11:59:21  /netbsd: device_pmf_driver_resume() at netbsd:device_pmf_driver_resume+0x46
May 13 11:59:21  /netbsd: pmf_device_resume_locked() at netbsd:pmf_device_resume_locked+0xd3
May 13 11:59:21  /netbsd: pmf_device_resume() at netbsd:pmf_device_resume+0x41
May 13 11:59:21  /netbsd: pmf_system_resume() at netbsd:pmf_system_resume+0xc7
May 13 11:59:21  /netbsd: acpi_enter_sleep_state() at netbsd:acpi_enter_sleep_state+0x182
May 13 11:59:21  /netbsd: sysctl_hw_acpi_sleepstate() at netbsd:sysctl_hw_acpi_sleepstate+0xfe
May 13 11:59:21  /netbsd: sysctl_dispatch() at netbsd:sysctl_dispatch+0xc1
May 13 11:59:21  /netbsd: sys___sysctl() at netbsd:sys___sysctl+0xd8
May 13 11:59:21  /netbsd: syscall() at netbsd:syscall+0x1d8
May 13 11:59:21  /netbsd: --- syscall (number 202) ---
May 13 11:59:21  /netbsd: 76e0b4b0d03a:
May 13 11:59:21  /netbsd: cpu0: End traceback...
May 13 11:59:21  /netbsd: 
May 13 11:59:21  /netbsd: dumping to dev 0,1 (offset=1758, size=2073286):
May 13 11:59:21  /netbsd: dump ACPI Error: Mutex [0x1] is not acquired, cannot release (20170303/utmutex-368)
May 13 11:59:21  /netbsd: ACPI Error: Could not release AML Namespace mutex (20170303/exutils-152)
May 13 11:59:21  /netbsd: ACPI Error: Mutex [0x0] is not acquired, cannot release (20170303/utmutex-368)
May 13 11:59:21  /netbsd: ACPI Error: Could not release AML Interpreter mutex (20170303/exutils-157)
May 13 11:59:21  /netbsd: ahcisata0 channel 0: setting WDCTL_RST failed for drive 0
May 13 11:59:21  /netbsd: Skipping crash dump on recursive panic
May 13 11:59:21  /netbsd: panic: wddump: polled command has been queued
May 13 11:59:21  /netbsd: cpu0: Begin traceback...
May 13 11:59:21  /netbsd: vpanic() at netbsd:vpanic+0x140
May 13 11:59:21  /netbsd: snprintf() at netbsd:snprintf
May 13 11:59:21  /netbsd: wddump() at netbsd:wddump+0x295
May 13 11:59:21  /netbsd: dump_header_flush() at netbsd:dump_header_flush+0x53
May 13 11:59:21  /netbsd: dump_header_addbytes() at netbsd:dump_header_addbytes+0x40
May 13 11:59:21  /netbsd: dump_header_addseg() at netbsd:dump_header_addseg+0x1e
May 13 11:59:21  /netbsd: dump_seg_iter() at netbsd:dump_seg_iter+0xd2
May 13 11:59:21  /netbsd: cpu_dump() at netbsd:cpu_dump+0x6a
May 13 11:59:21  /netbsd: dodumpsys() at netbsd:dodumpsys+0xfb
May 13 11:59:21  /netbsd: dumpsys() at netbsd:dumpsys+0x1d
May 13 11:59:21  /netbsd: vpanic() at netbsd:vpanic+0x149
May 13 11:59:21  /netbsd: snprintf() at netbsd:snprintf
May 13 11:59:21  /netbsd: trap() at netbsd:trap+0xc6b
May 13 11:59:21  /netbsd: --- trap (number 6) ---
May 13 11:59:21  /netbsd: drm_pci_irq_install() at netbsd:drm_pci_irq_install+0x99
May 13 11:59:21  /netbsd: drm_irq_install() at netbsd:drm_irq_install+0xb7
May 13 11:59:21  /netbsd: __i915_drm_thaw() at netbsd:__i915_drm_thaw+0xc9
May 13 11:59:21  /netbsd: i915drmkms_resume() at netbsd:i915drmkms_resume+0x34
May 13 11:59:21  /netbsd: device_pmf_driver_resume() at netbsd:device_pmf_driver_resume+0x46
May 13 11:59:21  /netbsd: pmf_device_resume_locked() at netbsd:pmf_device_resume_locked+0xd3
May 13 11:59:21  /netbsd: pmf_device_resume() at netbsd:pmf_device_resume+0x41
May 13 11:59:21  /netbsd: pmf_system_resume() at netbsd:pmf_system_resume+0xc7
May 13 11:59:21  /netbsd: acpi_enter_sleep_state() at netbsd:acpi_enter_sleep_state+0x182
May 13 11:59:21  /netbsd: sysctl_hw_acpi_sleepstate() at netbsd:sysctl_hw_acpi_sleepstate+0xfe
May 13 11:59:21  /netbsd: sysctl_dispatch() at netbsd:sysctl_dispatch+0xc1
May 13 11:59:21  /netbsd: sys___sysctl() at netbsd:sys___sysctl+0xd8
May 13 11:59:21  /netbsd: syscall() at netbsd:syscall+0x1d8
May 13 11:59:21  /netbsd: --- syscall (number 202) ---
May 13 11:59:21  /netbsd: 76e0b4b0d03a:
May 13 11:59:21  /netbsd: cpu0: End traceback...
May 13 11:59:21  /netbsd: rebooting...
>How-To-Repeat:
1) run sysctl  -w hw.acpi.sleep.state=3
2) Press power button to wake
>Fix:



Home | Main Index | Thread Index | Old Index