Bug 14633 - Thermal, sbs ACPI modules conflict (?) on Acer TravelMate 4001WLCi laptop.
Summary: Thermal, sbs ACPI modules conflict (?) on Acer TravelMate 4001WLCi laptop.
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: ACPI
Classification: Unclassified
Component: EC (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Alexey Starikovskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-17 17:14 UTC by Alexander Kaltsas
Modified: 2010-09-28 22:09 UTC (History)
5 users (show)

See Also:
Kernel Version: 2.6.30 and 2.6.31
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
acpidump command output. (109.35 KB, text/plain)
2009-11-18 10:11 UTC, Alexander Kaltsas
Details
dmesg output (32.74 KB, text/plain)
2009-11-20 16:20 UTC, Alexander Kaltsas
Details
The log produced by "git bisect log" command. (2.20 KB, text/plain)
2009-11-23 15:38 UTC, Alexander Kaltsas
Details
The custom log with the steps. (4.43 KB, application/octet-stream)
2009-11-23 15:39 UTC, Alexander Kaltsas
Details

Description Alexander Kaltsas 2009-11-17 17:14:04 UTC
I installed ArchLinux on a Acer TravelMate 4001WLCi laptop. I have an issue with sbs and thermal ACPI modules:

When both sbs (Smart Battery System ACPI interface driver) and thermal (ACPI Thermal Zone Driver) modules are loaded, thermal does not work. It produces an oops message some times.

acpi -t command just hangs with out returning something. The exactly same thing happens with the cat /proc/acpi/thermal_zone/THRM/temperature command. If I remove sbs then thermal (acpi -t, cat /proc/....) works as it should.

sbs always work as it should. Removing sbs module, thermal starts to work normaly and imediatelly reports the temperature.


With kernel 2.6.29.6 it work just fine. With 2.6.30.1 and bigger it doesn't.


Steps to reproduce:

Try to acpi -t on a Acer TravelMate 4001WLCi laptop with kernel 2.6.30.1 and above.


It seems to me  like a Race Condition / DeadLock.


The Ooops message (dmesg output):

INFO: task acpi:4164 blocked for more than 120 seconds. 
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
 
acpi          D cb9c5cc4     0  4164   4019 0x00000000 
 dfb4e520 00200086 c120affb cb9c5cc4 cb9c5d2e 00000000 00000000 00000000 
 00000000 dfb7b1c0 00000042 c1489140 c1489140 dfb4e6c8 c1484744 3937a1d0  
 00000042 dfb4e6c8 c1489140 c1489140 00000000 00000000 00000000 00000000                               
Call Trace:   
 [<c120affb>] ? extract_buf+0x7b/0x100
 [<c1306d62>] ? __mutex_lock_slowpath+0x112/0x2e0 
 [<c1306f48>] ? mutex_lock+0x18/0x40       
 [<c11e1c44>] ? acpi_ec_transaction+0x79/0x46b 
 [<c120affb>] ? extract_buf+0x7b/0x100        
 [<c11e244b>] ? acpi_ec_space_handler+0x8e/0x19d      
 [<c11e23bd>] ? acpi_ec_space_handler+0x0/0x19d    
 [<c11ebfd5>] ? acpi_ev_address_space_dispatch+0x149/0x19b 
 [<c11f0c99>] ? acpi_ex_access_region+0x1c5/0x1dc
 [<c11f0dc3>] ? acpi_ex_field_datum_io+0x113/0x1b9 
 [<c11f0f08>] ? acpi_ex_extract_from_field+0x9f/0x217
 [<c1201548>] ? acpi_ut_allocate_object_desc_dbg+0x3e/0x7e 
 [<c12015b2>] ? acpi_ut_create_internal_object_dbg+0x2a/0x94
 [<c11ef9e0>] ? acpi_ex_read_data_from_field+0x117/0x153 
 [<c11f4e61>] ? acpi_ex_resolve_node_to_value+0x159/0x1e0 
 [<c11f03cf>] ? acpi_ex_resolve_to_value+0x1bc/0x1d9    
 [<c11ea469>] ? acpi_ds_evaluate_name_path+0x77/0xf9  
 [<c11e9116>] ? acpi_ds_exec_end_op+0x82/0x36c 
 [<c11fb18e>] ? acpi_ps_parse_loop+0x5ff/0x76d  
 [<c11fa51c>] ? acpi_ps_parse_aml+0x8b/0x28f  
 [<c11fbae6>] ? acpi_ps_execute_method+0x1a0/0x266 
 [<c11f78da>] ? acpi_ns_evaluate+0xce/0x190
 [<c11f7347>] ? acpi_evaluate_object+0x180/0x27b
 [<c1249a60>] ? temp_show+0x0/0x70
 [<c11dde0c>] ? acpi_evaluate_integer+0x34/0x6e
 [<e096e263>] ? acpi_thermal_get_temperature+0x34/0x5f [thermal]
 [<e096e2b7>] ? thermal_get_temp+0x29/0x50 [thermal] 
 [<e096e28e>] ? thermal_get_temp+0x0/0x50 [thermal]
 [<c1249a91>] ? temp_show+0x31/0x70
 [<c1230ad0>] ? dev_attr_show+0x30/0x70  
 [<c114fc15>] ? sysfs_read_file+0xa5/0x160  
 [<c116663b>] ? security_file_permission+0x1b/0x40 
 [<c10f35f5>] ? vfs_read+0xc5/0x1b0    
 [<c114fb70>] ? sysfs_read_file+0x0/0x160   
 [<c10f37ff>] ? sys_read+0x5f/0xb0          
 [<c1003cb3>] ? sysenter_do_call+0x12/0x28
Comment 1 Alexander Kaltsas 2009-11-17 17:15:39 UTC
Additional system information:

##############################
## ver_linux script output: ##
##############################

If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
 
Linux laptop 2.6.31-ARCH #1 SMP PREEMPT Tue Nov 10 19:48:17 CET 2009 i686 Intel(R) Pentium(R) M processor 1500MHz GenuineIntel GNU/Linux
 
Gnu C                  4.4.2
Gnu make               3.81
binutils               2.20.0.20091101
util-linux             2.16
mount                  support
module-init-tools      3.11.1
e2fsprogs              1.41.9
jfsutils               1.1.14
reiserfsprogs          3.6.21
xfsprogs               3.0.5
pcmciautils            015
PPP                    2.4.4
Linux C Library        2.11
Dynamic linker (ldd)   2.11
Linux C++ Library      6.0.13
Procps                 3.2.8
Net-tools              1.60
Kbd                    1.15
Sh-utils               7.6
wireless-tools         29
Modules Loaded         michael_mic arc4 ecb lib80211_crypt_tkip aes_i586 aes_generic lib80211_crypt_ccmp ext2 snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss b44 ssb irda crc_ccitt joydev pcmcia mii radeon ttm yenta_socket rsrc_nonstatic usbhid hid pcmcia_core tifm_7xx1 drm i2c_algo_bit tifm_core ohci1394 ipw2200 snd_intel8x0m libipw lib80211 snd_intel8x0 snd_ac97_codec ac97_bus ieee1394 snd_pcm snd_timer iTCO_wdt iTCO_vendor_support container video output thermal snd soundcore snd_page_alloc sbshc i2c_i801 psmouse intel_agp agpgart rfkill fan i2c_core led_class wmi sg pcspkr serio_raw shpchp uhci_hcd button ehci_hcd pci_hotplug battery evdev usbcore ac cpufreq_ondemand acpi_cpufreq freq_table processor rtc_cmos rtc_core rtc_lib ext4 mbcache jbd2 crc16 sr_mod cdrom sd_mod pata_acpi ata_generic ata_piix libata scsi_mod


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


##############################
##      /proc/cpuinfo:      ##
##############################

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 9
model name	: Intel(R) Pentium(R) M processor 1500MHz
stepping	: 5
cpu MHz		: 1600.000
cache size	: 1024 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 2
wp		: yes
flags		: fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 tm pbe up bts est tm2
bogomips	: 3427.37
clflush size	: 64
power management:



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


##############################
##      /proc/ioports:      ##
##############################

0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-0060 : keyboard
0064-0064 : keyboard
0070-0077 : rtc0
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : 0000:00:1f.1
  0170-0177 : ata_piix
01c0-01cf : pnp 00:04
01f0-01f7 : 0000:00:1f.1
  01f0-01f7 : ata_piix
02f8-02ff : serial
0376-0376 : 0000:00:1f.1
  0376-0376 : ata_piix
03c0-03df : vesafb
03f6-03f6 : 0000:00:1f.1
  03f6-03f6 : ata_piix
04d0-04d1 : pnp 00:04
0600-060f : pnp 00:04
0610-061f : pnp 00:04
0700-070f : pnp 00:04
0800-080f : pnp 00:04
0cf8-0cff : PCI conf1
1000-107f : 0000:00:1f.0
  1000-107f : pnp 00:04
    1000-1003 : ACPI PM1a_EVT_BLK
    1004-1005 : ACPI PM1a_CNT_BLK
    1008-100b : ACPI PM_TMR
    1010-1015 : ACPI CPU throttle
    1020-1020 : ACPI PM2_CNT_BLK
    1028-102f : ACPI GPE0_BLK
    1030-1033 : iTCO_wdt
    1060-107f : iTCO_wdt
1180-11bf : 0000:00:1f.0
  1180-11bf : pnp 00:04
164e-164f : pnp 00:04
1800-181f : 0000:00:1d.0
  1800-181f : uhci_hcd
1820-183f : 0000:00:1d.1
  1820-183f : uhci_hcd
1840-185f : 0000:00:1d.2
  1840-185f : uhci_hcd
1860-186f : 0000:00:1f.1
  1860-186f : ata_piix
1880-189f : 0000:00:1f.3
  1880-189f : i801_smbus
18c0-18ff : 0000:00:1f.5
  18c0-18ff : Intel 82801DB-ICH4
1c00-1cff : 0000:00:1f.5
  1c00-1cff : Intel 82801DB-ICH4
2000-207f : 0000:00:1f.6
  2000-207f : Intel 82801DB-ICH4 Modem
2400-24ff : 0000:00:1f.6
  2400-24ff : Intel 82801DB-ICH4 Modem
3000-3fff : PCI Bus 0000:01
  3000-30ff : 0000:01:00.0
4000-4fff : PCI Bus 0000:02
  4000-40ff : PCI CardBus 0000:03
  4400-44ff : PCI CardBus 0000:03
fe00-fe00 : pnp 00:04


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


##############################
##       /proc/iomems:      ##
##############################

00000000-00001fff : System RAM
00002000-00005fff : reserved
00006000-0009f7ff : System RAM
0009f800-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000cffff : Video ROM
000d0000-000d17ff : Adapter ROM
000dc000-000fffff : reserved
  000f0000-000fffff : System ROM
00100000-1fedffff : System RAM
  01000000-01309ddc : Kernel code
  01309ddd-01421ea7 : Kernel data
  0148d000-0156da43 : Kernel bss
1fee0000-1feebfff : ACPI Tables
1feec000-1fefffff : ACPI Non-volatile Storage
1ff00000-1fffffff : reserved
20000000-25ffffff : PCI Bus 0000:02
  20000000-23ffffff : PCI CardBus 0000:03
  24000000-24003fff : 0000:02:02.0
26000000-260003ff : 0000:00:1f.1
28000000-2bffffff : PCI CardBus 0000:03
d0000000-d00003ff : 0000:00:1d.7
  d0000000-d00003ff : ehci_hcd
d0000800-d00008ff : 0000:00:1f.5
  d0000800-d00008ff : Intel 82801DB-ICH4
d0000c00-d0000dff : 0000:00:1f.5
  d0000c00-d0000dff : Intel 82801DB-ICH4
d0100000-d01fffff : PCI Bus 0000:01
  d0100000-d010ffff : 0000:01:00.0
  d0120000-d013ffff : 0000:01:00.0
d0200000-d05fffff : PCI Bus 0000:02
  d0200000-d0203fff : 0000:02:06.2
  d0204000-d0205fff : 0000:02:02.0
    d0204000-d0205fff : 0000:02:02.0
  d0206000-d0207fff : 0000:02:06.3
    d0206000-d0207fff : tifm_7xx1
  d0208000-d0208fff : 0000:02:04.0
    d0208000-d0208fff : ipw2200
  d0209000-d0209fff : 0000:02:06.0
    d0209000-d0209fff : yenta_socket
  d020a000-d020a7ff : 0000:02:06.2
    d020a000-d020a7ff : ohci1394
d8000000-dfffffff : PCI Bus 0000:01
  d8000000-dfffffff : 0000:01:00.0
    d8000000-dbffffff : vesafb
e0000000-efffffff : 0000:00:00.0
fec10000-fec1ffff : reserved
  fec10000-fec1ffff : pnp 00:04
ff800000-ffbfffff : reserved
  ff800000-ffbfffff : pnp 00:04
fffffc00-ffffffff : reserved


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


##############################
##    lspci -vvv output:    ##
##############################

00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
	Subsystem: Acer Incorporated [ALI] Device 0064
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort+ <MAbort+ >SERR- <PERR- INTx-
	Latency: 0
	Region 0: Memory at e0000000 (32-bit, prefetchable) [size=256M]
	Capabilities: [40] Vendor Specific Information <?>
	Capabilities: [a0] AGP version 2.0
		Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
		Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=x1
	Kernel driver in use: agpgart-intel
	Kernel modules: intel-agp

00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
	Subsystem: Acer Incorporated [ALI] Device 0064
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0

00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
	Subsystem: Acer Incorporated [ALI] Device 0064
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0

00:01.0 PCI bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to AGP Controller (rev 02) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 96
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
	I/O behind bridge: 00003000-00003fff
	Memory behind bridge: d0100000-d01fffff
	Prefetchable memory behind bridge: d8000000-dfffffff
	Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Kernel modules: shpchp

00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03) (prog-if 00 [UHCI])
	Subsystem: Acer Incorporated [ALI] Device 0064
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 6
	Region 4: I/O ports at 1800 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03) (prog-if 00 [UHCI])
	Subsystem: Acer Incorporated [ALI] Device 0064
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin B routed to IRQ 6
	Region 4: I/O ports at 1820 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03) (prog-if 00 [UHCI])
	Subsystem: Acer Incorporated [ALI] Device 0064
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin C routed to IRQ 6
	Region 4: I/O ports at 1840 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI])
	Subsystem: Acer Incorporated [ALI] Device 0064
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin D routed to IRQ 10
	Region 0: Memory at d0000000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [58] Debug port: BAR=1 offset=0080
	Kernel driver in use: ehci_hcd
	Kernel modules: ehci-hcd

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort+ <TAbort- <MAbort- >SERR- <PERR+ INTx-
	Latency: 0
	Bus: primary=00, secondary=02, subordinate=06, sec-latency=64
	I/O behind bridge: 00004000-00004fff
	Memory behind bridge: d0200000-d05fffff
	Prefetchable memory behind bridge: 20000000-25ffffff
	Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Kernel modules: shpchp

00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Kernel modules: iTCO_wdt, intel-rng

00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03) (prog-if 8a [Master SecP PriP])
	Subsystem: Acer Incorporated [ALI] Device 0064
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 6
	Region 0: I/O ports at 01f0 [size=8]
	Region 1: I/O ports at 03f4 [size=1]
	Region 2: I/O ports at 0170 [size=8]
	Region 3: I/O ports at 0374 [size=1]
	Region 4: I/O ports at 1860 [size=16]
	Region 5: Memory at 26000000 (32-bit, non-prefetchable) [size=1K]
	Kernel driver in use: ata_piix
	Kernel modules: ata_piix, piix

00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 0064
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin B routed to IRQ 10
	Region 4: I/O ports at 1880 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c-i801

00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 0064
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin B routed to IRQ 10
	Region 0: I/O ports at 1c00 [size=256]
	Region 1: I/O ports at 18c0 [size=64]
	Region 2: Memory at d0000c00 (32-bit, non-prefetchable) [size=512]
	Region 3: Memory at d0000800 (32-bit, non-prefetchable) [size=256]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Kernel driver in use: Intel ICH
	Kernel modules: snd-intel8x0

00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03) (prog-if 00 [Generic])
	Subsystem: Acer Incorporated [ALI] Device 0064
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin B routed to IRQ 10
	Region 0: I/O ports at 2400 [size=256]
	Region 1: I/O ports at 2000 [size=128]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Kernel driver in use: Intel ICH Modem
	Kernel modules: snd-intel8x0m

01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] (prog-if 00 [VGA controller])
	Subsystem: Acer Incorporated [ALI] Device 0064
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B+ DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 66 (2000ns min), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 6
	Region 0: Memory at d8000000 (32-bit, prefetchable) [size=128M]
	Region 1: I/O ports at 3000 [size=256]
	Region 2: Memory at d0100000 (32-bit, non-prefetchable) [size=64K]
	[virtual] Expansion ROM at d0120000 [disabled] [size=128K]
	Capabilities: [58] AGP version 2.0
		Status: RQ=80 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
		Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP- GART64- 64bit- FW- Rate=<none>
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Kernel modules: radeon, radeonfb

02:02.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
	Subsystem: Acer Incorporated [ALI] Device 0064
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort+ <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64
	Interrupt: pin A routed to IRQ 6
	Region 0: Memory at d0204000 (32-bit, non-prefetchable) [size=8K]
	[virtual] Expansion ROM at 24000000 [disabled] [size=16K]
	Capabilities: [40] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=2 PME-
	Kernel driver in use: b44
	Kernel modules: b44

02:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
	Subsystem: Intel Corporation Device 2701
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64 (750ns min, 6000ns max), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at d0208000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
	Kernel driver in use: ipw2200
	Kernel modules: ipw2200

02:06.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
	Subsystem: Acer Incorporated [ALI] Device 0064
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 168, Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at d0209000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
	Memory window 0: 20000000-23fff000 (prefetchable)
	Memory window 1: 28000000-2bfff000
	I/O window 0: 00004000-000040ff
	I/O window 1: 00004400-000044ff
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
	16-bit legacy interface ports at 0001
	Kernel driver in use: yenta_cardbus
	Kernel modules: yenta_socket

02:06.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller (prog-if 10 [OHCI])
	Subsystem: Acer Incorporated [ALI] Device 0064
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64 (750ns min, 1000ns max), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at d020a000 (32-bit, non-prefetchable) [size=2K]
	Region 1: Memory at d0200000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [44] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME+
	Kernel driver in use: ohci1394
	Kernel modules: ohci1394

02:06.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
	Subsystem: Acer Incorporated [ALI] Device 0064
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64 (1750ns min, 1000ns max), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at d0206000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: [44] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Kernel driver in use: tifm_7xx1
	Kernel modules: tifm_7xx1



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


##############################
##    lspci -vvv output:    ##
##############################


Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.31-ARCH uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:1d.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0108 power oc
   Port 2: 0000.0108 power oc
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.31-ARCH ehci_hcd
  iProduct                2 EHCI Host Controller
  iSerial                 1 0000:00:1d.7
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             6
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0108 power oc
   Port 2: 0000.0108 power oc
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
   Port 5: 0000.0100 power
   Port 6: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 004 Device 002: ID 15d9:0a33 Unknown 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x15d9 Unknown
  idProduct          0x0a33 
  bcdDevice            1.00
  iManufacturer           0 
  iProduct                1 USB Mouse
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      64
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0005  1x 5 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.31-ARCH uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:1d.2
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0303 lowspeed power enable connect
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.31-ARCH uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:1d.1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comment 2 Zhang Rui 2009-11-18 00:54:19 UTC
please attach the acpidump output
Comment 3 Alexander Kaltsas 2009-11-18 10:11:11 UTC
Created attachment 23823 [details]
acpidump command output.
Comment 4 ykzhao 2009-11-20 05:52:54 UTC
Will you please enable "CONFIG_ACPI_DEBUG" in kernel configuration and attach the output of dmesg? Please add the boot option of "acpi.debug_layer=0x80 acpi.debug_leve=0x02". (This had better be tested on the latest upstream kernel. 2.6.32-rc7).
Comment 5 Alexander Kaltsas 2009-11-20 16:20:32 UTC
Created attachment 23844 [details]
dmesg output

kernel 2.6.32-rc7 dmesg output with "CONFIG_ACPI_DEBUG" enabled and"acpi.debug_layer=0x80", "acpi.debug_level=0x02" on boot.
Comment 6 Alexander Kaltsas 2009-11-20 16:21:16 UTC
The Oops message.

"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
acpi          D df286a0c     0  4407   4253 0x00000000
 df2869e0 00000082 c1038cd1 df286a0c c1448260 00000000 0000004d c102b200
 c1c08260 df82d4f0 dfbe3c40 c1448260 c1448260 00000082 c1035ebd df286b8c
 c1443724 df286b8c c1448260 c1448260 00002748 00000006 af71d813 df2869e0
Call Trace:
 [<c1038cd1>] ? check_preempt_wakeup+0x41/0x210
 [<c102b200>] ? sd_init_MC+0x40/0xc0
 [<c1035ebd>] ? try_to_wake_up+0x29d/0x2c0
 [<c116e440>] ? rb_insert_color+0x80/0x100
 [<c12b645a>] ? __mutex_lock_slowpath+0x10a/0x2c0
 [<c12b6618>] ? mutex_lock+0x8/0x20
 [<c11abe18>] ? acpi_ec_transaction+0x67/0x39b
 [<c1035ebd>] ? try_to_wake_up+0x29d/0x2c0
 [<c104d5e0>] ? process_timeout+0x0/0x10
 [<c11ac287>] ? acpi_ec_read+0x40/0x4d
 [<c11ac452>] ? acpi_ec_space_handler+0x9f/0x18f
 [<c105dcdb>] ? up+0xb/0x40
 [<c11ac3b3>] ? acpi_ec_space_handler+0x0/0x18f
 [<c11b5ea2>] ? acpi_ev_address_space_dispatch+0x165/0x1a5
 [<c11ba998>] ? acpi_ex_access_region+0x1fc/0x271
 [<c11bab22>] ? acpi_ex_field_datum_io+0x115/0x29d
 [<c11bad3d>] ? acpi_ex_extract_from_field+0x93/0x1f9
 [<c11b9599>] ? acpi_ex_read_data_from_field+0x188/0x1b3
 [<c11bf59f>] ? acpi_ex_resolve_node_to_value+0x1b3/0x228
 [<c11ba094>] ? acpi_ex_resolve_to_value+0x20c/0x244
 [<c11b3fb2>] ? acpi_ds_evaluate_name_path+0x6b/0xda
 [<c11b29e6>] ? acpi_ds_exec_end_op+0x76/0x470
 [<c11c64fb>] ? acpi_ps_parse_loop+0x782/0x8ff
 [<c11c56f9>] ? acpi_ps_parse_aml+0xc6/0x30d
 [<c11c6c70>] ? acpi_ps_execute_method+0x1cd/0x2ad
 [<c11c2245>] ? acpi_ns_evaluate+0x135/0x237
 [<c11c1c54>] ? acpi_evaluate_object+0x1b2/0x2e1
 [<c11a8aef>] ? acpi_evaluate_integer+0x30/0x9c
 [<c120d620>] ? temp_show+0x0/0x70
 [<e08821b3>] ? acpi_thermal_get_temperature+0x29/0x65 [thermal]
 [<e0882209>] ? thermal_get_temp+0x1a/0x2f [thermal]
 [<e08821ef>] ? thermal_get_temp+0x0/0x2f [thermal]
 [<c120d64a>] ? temp_show+0x2a/0x70
 [<c11f7341>] ? dev_attr_show+0x21/0x50
 [<c112f699>] ? sysfs_read_file+0x99/0x140
 [<c114275c>] ? security_file_permission+0xc/0x10
 [<c112f600>] ? sysfs_read_file+0x0/0x140
 [<c10ddb2d>] ? vfs_read+0x9d/0x190
 [<c10ddce1>] ? sys_read+0x41/0x70
 [<c1003913>] ? sysenter_do_call+0x12/0x28
Comment 7 Alexander Kaltsas 2009-11-23 15:35:37 UTC
Update: 

I did a git bisect:

The log:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
git bisect start
# bad: [07a2039b8eb0af4ff464efd3dfd95de5c02648c6] Linux 2.6.30
git bisect bad 07a2039b8eb0af4ff464efd3dfd95de5c02648c6
# good: [8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84] Linux 2.6.29
git bisect good 8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84
# good: [3c6fae67d026d57f64eb3da9c0d0e76983e39ae3] Merge branch 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6
git bisect good 3c6fae67d026d57f64eb3da9c0d0e76983e39ae3
# bad: [22ae77bc7ac115b9d518d5cbc13d39317079b2b0] Merge git://git.infradead.org/mtd-2.6
git bisect bad 22ae77bc7ac115b9d518d5cbc13d39317079b2b0
# good: [ea6d0d4cab4f4f2d6a88f3bce4707fe92696fd3f] Staging: comedi: Remove comedi_cmd typedef
git bisect good ea6d0d4cab4f4f2d6a88f3bce4707fe92696fd3f
# good: [714f83d5d9f7c785f622259dad1f4fad12d64664] Merge branch 'tracing-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
git bisect good 714f83d5d9f7c785f622259dad1f4fad12d64664
# bad: [32fb6c17566ec66de87324a834c7776f40e35e78] Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6
git bisect bad 32fb6c17566ec66de87324a834c7776f40e35e78
# good: [d52b3d9c720a88d9268c92060740ed0cf87795d5] Staging: add heci driver
git bisect good d52b3d9c720a88d9268c92060740ed0cf87795d5
# good: [7c27fd19b6d985957424348361afa066ff4c74d8] Merge branch 'sony-laptop' into release
git bisect good 7c27fd19b6d985957424348361afa066ff4c74d8
# good: [87fc94d54b639d8c39fc4a11db0e142f84096e13] Merge branch 'avr32-arch' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6
git bisect good 87fc94d54b639d8c39fc4a11db0e142f84096e13
# good: [8a3f257c704e02aee9869decd069a806b45be3f1] Merge branch 'misc' into release
git bisect good 8a3f257c704e02aee9869decd069a806b45be3f1
# good: [0935ade0bf6baf9c5f23024102737bdaf7075abc] input: migor_ts: add wakeup support
git bisect good 0935ade0bf6baf9c5f23024102737bdaf7075abc
# good: [a27873cd234b4248dda342721d6262943e5fa235] sh: Fix up number of on-chip DMA channels on SH7091.
git bisect good a27873cd234b4248dda342721d6262943e5fa235
# bad: [7ec0a7290797f57b780f792d12f4bcc19c83aa4f] ACPI: processor: use .notify method instead of installing handler directly
git bisect bad 7ec0a7290797f57b780f792d12f4bcc19c83aa4f
# good: [6bb597507f9839b13498781e481f5458aea33620] Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
git bisect good 6bb597507f9839b13498781e481f5458aea33620
# bad: [46ec8598fde74ba59703575c22a6fb0b6b151bb6] ACPI: support acpi_device_ops .notify methods
git bisect bad 46ec8598fde74ba59703575c22a6fb0b6b151bb6
# bad: [478c6a43fcbc6c11609f8cee7c7b57223907754f] Merge branch 'linus' into release
git bisect bad 478c6a43fcbc6c11609f8cee7c7b57223907754f

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comment 8 Alexander Kaltsas 2009-11-23 15:38:19 UTC
Created attachment 23891 [details]
The log produced by "git bisect log" command.

The log produced by "git bisect log" command.
Comment 9 Alexander Kaltsas 2009-11-23 15:39:30 UTC
Created attachment 23892 [details]
The custom log with the steps.

The custom log with the steps.
Comment 10 Alexander Kaltsas 2009-11-23 15:42:10 UTC
As I can understund ithe problem has something to do with 

[7ec0a7290797f57b780f792d12f4bcc19c83aa4f] ACPI: processor: use .notify method instead of installing handler directly

Or

[46ec8598fde74ba59703575c22a6fb0b6b151bb6] ACPI: support acpi_device_ops .notify methods


How can I revert those changes on the last 2.6.31.6 kernel?
Comment 11 ykzhao 2009-11-30 13:37:35 UTC
From the log in comment #5 it seems that this issue is related with the mutex lock of SBS and EC.

Hi, Alexey
   Do you have an opportunity to look at this issue?

Thanks.
Comment 12 Alexander Kaltsas 2009-11-30 14:33:17 UTC
What should I do? Was there a patch that was merged on 2.6.3x? Is the "lock" related with the git bisect results?
Comment 13 Alexey Starikovskiy 2009-11-30 15:15:15 UTC
Alexander,
yes, git bisect results look relevant.
please give me some time for analysis.
Comment 14 Alexander Kaltsas 2010-01-07 17:23:43 UTC
Hello! Happy new Year!!!

Is the any progress on this issue?
Comment 15 Alexander Kaltsas 2010-02-01 14:29:32 UTC
Any news???
Comment 16 Zhang Rui 2010-03-12 03:14:55 UTC
ping alexey...

Alexander, the problem still exists in the latest kernel release, say 2.6.33 or 2.6.34-rc1, right?
Comment 17 Alexander Kaltsas 2010-03-12 08:34:53 UTC
I have tested 2.6.32.9 and it still exists. I will test the newer kernels and will report back.
Comment 18 Alexander Kaltsas 2010-03-12 11:44:34 UTC
I just tested it with 2.6.33 and it WORKS! With some delay but it works. 

Without sbs module loaded the command acpi -t report the temperature in just a fraction of a second. Having sbs loaded acpi -t reports the temperature with a delay of 2~4 seconds. 

I will also test 2.6.34-rc1.
Comment 19 Alexander Kaltsas 2010-03-14 19:42:41 UTC
Kernel 2.6.34-rc1 has the same behavior as kernel 2.6.33.
Comment 20 Alexey Starikovskiy 2010-03-29 12:19:39 UTC
Thanks for report and testing, marking it resolved.
Comment 21 Len Brown 2010-04-16 21:33:33 UTC
if I read the comments above correctly...

fails:
2.6.29.9
2.6.30
2.6.31
2.6.32.9

works:
2.6.33
2.6.34-rc1

So the question is what needs to be backported from 2.6.33
to 2.6.32.stable to make 2.6.32.stable work
Comment 22 Len Brown 2010-09-28 22:09:12 UTC
Well, 2.6.32 is now old enough that I'm not going to worry about this,
run .33, .34, or .35...:-)

closed.

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