K43SA hangs on suspend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi
K43SA hangs while suspending with
Linux K43SA 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
The hdd light comes up, but system never goes into suspend and seems busy writing to disk.
-------
Suspending system by force works
$ cat suspend.c
#include <unistd.h>
#include <sys/io.h>
#include <stdint.h>
#include <stdio.h>
/* PM1 Sleep types */
#define SLP_ON 0
#define SLP_ST_PCLK 1
#define SLP_S3 5
#define SLP_S5 6
#define SLP_SOFT_OFF 7
#define PM1a 0x0404
//cat /proc/ioports | grep PM1a_CNT_BLK
// 0404-0405 : ACPI PM1a_CNT_BLK
int main(int argc, char **argv)
{
uint16_t val;
if (ioperm(PM1a, 2, 1) < 0) {
}
val = inw(PM1a);
val &= ~(7 << 10); /* Clear SLP_TYPE */
//val |= (SLP_SOFT_OFF << 10); /* Soft power off */
//val |= (SLP_S5 << 10); /* Soft power off */
val |= (SLP_S3 << 10); /* Soft power off */
val |= (1 << 13); /* Trigger SLP_EN */
outw(val, PM1a);
}
-------
Using pmdebug the below o/p is seen ( git://kernel.
[pmdebug/
Looking for function that matches hash from the Magic Number from the kernel log.
Magic: 12:64:42 maps to hash: a3d2c
Hash matches: acpi_hw_
The kernel probably wrote to the southbridge the magic to put the machine
into suspend or hibernate and then the machine hung. Generally this means
that the machine did not wake up and get back to the kernel resume successfully
which normally indicates a BIOS issue.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.25.
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'PCH'/'HDA Intel PCH at 0xdff00000 irq 56'
Mixer name : 'Realtek ALC269VB'
Components : 'HDA:10ec0269,
Controls : 18
Simple ctrls : 10
Card1.Amixer.info:
Card hw:1 'Generic'/'HD-Audio Generic at 0xdfe40000 irq 57'
Mixer name : 'ATI R6xx HDMI'
Components : 'HDA:1002aa01,
Controls : 6
Simple ctrls : 1
Card1.Amixer.
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
DistroRelease: Ubuntu 12.10
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.2)
MachineType: ASUSTeK Computer Inc. K43SA
Package: linux (not installed)
ProcEnviron:
LANGUAGE=en_IN:en
TERM=xterm
PATH=(custom, no user)
LANG=en_IN
SHELL=/bin/bash
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.80
SourcePackage: linux
StagingDrivers: rts5139 mei
Tags: quantal running-unity staging quantal staging
Uname: Linux 3.4.0-2-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirtd lpadmin plugdev sambashare sudo
dmi.bios.date: 08/18/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: K43SA.208
dmi.board.
dmi.board.name: K43SA
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: K43SA
dmi.product.
dmi.sys.vendor: ASUSTeK Computer Inc.
Changed in linux (Ubuntu): | |
assignee: | nobody → Chris J Arges (christopherarges) |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: bot-stop-nagging |
tags: | removed: quantal |
Changed in linux (Ubuntu Precise): | |
assignee: | Chris J Arges (arges) → nobody |
status: | Confirmed → Incomplete |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1000913
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.