Bug 42845 - [SiS chipset] Freeze during resume from suspend and high CPU usage
Summary: [SiS chipset] Freeze during resume from suspend and high CPU usage
Status: RESOLVED CODE_FIX
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: Serial ATA (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Alan
URL: https://bugs.gentoo.org/show_bug.cgi?...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-01 22:28 UTC by Štěpán Dalecký
Modified: 2014-01-15 11:55 UTC (History)
2 users (show)

See Also:
Kernel Version: all
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg (54.06 KB, text/plain)
2012-03-01 22:28 UTC, Štěpán Dalecký
Details
.config (71.36 KB, text/plain)
2012-03-01 22:31 UTC, Štěpán Dalecký
Details
lspci (1.09 KB, text/plain)
2012-03-01 22:31 UTC, Štěpán Dalecký
Details

Description Štěpán Dalecký 2012-03-01 22:28:46 UTC
Created attachment 72511 [details]
dmesg

Hi, i have two problems with my notebook (ASUS F5VL)

a) after resume CPU usage is 100%. 
b) during resume it freezes for 30 seconds

Steps to Reproduce:
1) Suspend(from Xfce or pm-suspend) - OK 
2) Ntb is shutdown - OK 
3) Press a key and ntb start to resume - OK 
4) 30 second freeze - PROBLEM 
5) Continue resume normally - OK 
6) Resume is successfully done and desktop is normally usuable - OK 

How freeze looks? 
Black screen with gray cursor blinking in the upper left corner. 

Expected Results:  
No CPU usage after resume and resume in a few seconds.

My progress:
Problem a) I solved by removing sr_mod module. So I have no CD-ROM support but no CPU usage :( But it is not solution I preffer.

Problem b) I solved by patching sata_sis driver. It looks completely solved for me by this patch. Goal is to add CONFIG_PM, suspend and resume function to sata_sis driver.

static struct pci_driver sis_pci_driver = {
         .name                   = DRV_NAME,
         .id_table               = sis_pci_tbl,
         .probe                  = sis_init_one,
         .remove                 = ata_pci_remove_one,
#ifdef CONFIG_PM
         .suspend                = ata_pci_device_suspend,
         .resume                 = ata_pci_device_resume,
#endif
 };
Comment 1 Štěpán Dalecký 2012-03-01 22:31:10 UTC
Created attachment 72512 [details]
.config
Comment 2 Štěpán Dalecký 2012-03-01 22:31:24 UTC
Created attachment 72513 [details]
lspci

Note You need to log in before you can comment on or make changes to this bug.