Matthew Garrett | 7 Jun 2010 16:11
Favicon

Re: ThinkPad T400 : should kernel option "reboot=pci" be hard coded ?

On Mon, Jun 07, 2010 at 11:22:21AM +0200, Toralf Förster wrote:
> Since some kernel version (IIRC since 2.6.31) it is necessary to boot the 
> linux kernel with that option to prevent an extra 9 seconds delay during 
> reboot.
> I found this tip on the LKML -and now I'm wondering whether this option should 
> be hard coded in the kernel sources b/c it seems to be necessary for current 
> kernels too.

No, the best thing to do would be to figure out what changed to require 
the extra 9 seconds. Are you able to work out which the last kernel 
release without this timeout was?

--

-- 
Matthew Garrett | mjg59@...

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
sebib | 8 Jun 2010 20:28
Picon

LenovoThinkPad T510 report

Hello.

As I tried to get all my notebooks acpi-capabilities working I consulted the kernels documentation of the
'thinkpad-acpi'-kernel-module, which asks me to report to this mailinglist if I need the
'force_load=1' module-parameter to load it.

I am using Gentoo Linux with kernel 2.6.32-gentoo-r7 (sys-kernel/gentoo-sources, not vanilla) on an
Lenovo ThinkPad T510 (NTH4JGE). I dont know if it matters, but here is the output of lspci:

00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:16.3 Serial controller: Intel Corporation 5 Series/3400 Series Chipset KT Controller (rev 06)
00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
(rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
(rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal
Subsystem (rev 06)
01:00.0 VGA compatible controller: nVidia Corporation NVIDIA NVS 3100M (rev a2)
(Continue reading)

Jacob Appelbaum | 8 Jun 2010 02:53

thinkpad_acpi

Hello,

I'm testing a newish Thinkpad T410 and I had a really odd lockup moments
ago. This is with Ubuntu 10.4. The laptop is currently using the
following kernel: 2.6.32-22-server #36-Ubuntu SMP Thu Jun 3 20:38:33 UTC
2010 x86_64 GNU/Linux

I had some music playing with light network activity; I was engaged in a
little light bedtime C programming. Suddenly, my entire X session locked
up. The screen froze and I was unable to change to a virtual console or
anything useful. The music continued to play until I forced a shutdown.

While perusing the logs on disk after a reboot, I noticed the following:

kernel: [ 7982.108732] thinkpad_acpi: temperatures (Celsius): 50 0 0 0 0
0 0 0
kernel: [ 7982.108744] thinkpad_acpi: unhandled HKEY event 0x6000
kernel: [ 7982.108747] thinkpad_acpi: please report the conditions when
this event happened to ibm-acpi-devel@...
kernel: [ 7982.846291] thinkpad_acpi: temperatures (Celsius): 50 0 0 0 0
0 0 0
kernel: [ 7982.846302] thinkpad_acpi: unhandled HKEY event 0x6000
kernel: [ 7982.846305] thinkpad_acpi: please report the conditions when
this event happened to ibm-acpi-devel@...
kernel: [ 7983.147429] thinkpad_acpi: temperatures (Celsius): 50 0 0 0 0
0 0 0
kernel: [ 7983.147444] thinkpad_acpi: unhandled HKEY event 0x6000
kernel: [ 7983.147449] thinkpad_acpi: please report the conditions when
this event happened to ibm-acpi-devel@...
kernel: [ 7983.551485] thinkpad_acpi: temperatures (Celsius): 50 0 0 0 0
(Continue reading)

Picon
Favicon

Re: thinkpad_acpi

On Tue, 08 Jun 2010, Jacob Appelbaum wrote:
> I'm testing a newish Thinkpad T410 and I had a really odd lockup moments
> ago. This is with Ubuntu 10.4. The laptop is currently using the

Yeah, people are complaining that it happens on Ubuntu.  I have seen
fglrx do it, and I have also seen KDE4 do it (Debian).  I don't know
what could be causing it on Ubuntu 10.4.

> kernel: [ 7982.108744] thinkpad_acpi: unhandled HKEY event 0x6000
> kernel: [ 7982.108747] thinkpad_acpi: please report the conditions when
> this event happened to ibm-acpi-devel@...

I have to ask Lenovo about it, but it is not likely to be the reason for
the lockup moments.

--

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
Picon
Favicon

Re: LenovoThinkPad T510 report

On Tue, 08 Jun 2010, sebib@... wrote:
> As I tried to get all my notebooks acpi-capabilities working I consulted the kernels documentation of the
'thinkpad-acpi'-kernel-module, which asks me to report to this mailinglist if I need the
'force_load=1' module-parameter to load it.

Please get the latest patch in ibm-acpi.sf.net, it should work with the
T510, and report back what works :-)

> /proc/acpi/ibm/video:
> {lcd,crt,dvi}_enable, {lcd,crt,dvi}_disable, video_switch and expand_toggle do nothing
> auto_enable and disable changes the value but i can not see that anything happens

Might be fixed in the ibm-acpi.sf.net release.  Not needed in your thinkpad
anyway, you should use RandR functionality in the X server.

> /etc/acpi/ibm/volume:
> 'mute' is reported correctly and i am able to mute by 'echo mute...'

Does it really honestly mutes, or does it just look like it muted?

> 'up'/'down'/'level <x>' take affect on the reported volume-level but not on the volume itself

Your thinkpad doesn't have up/down/level support, so that's expected.  The
driver is a bit confused because of the force_load thing :p

> /proc/acpi/ibm/cmos: nothing happens...
> /proc/acpi/ibm/beep seems not to work
> /proc/acpi/ibm/thermal: not present
> /proc/acpi/ibm/ecdump: not present

(Continue reading)

Markus Malkusch | 9 Jun 2010 18:38
X-Face
Picon

unhandled HKEY event 0x6000

My kernel tells me to write this mail to you:

thinkpad_acpi: THERMAL ALERT: unknown thermal alarm received
thinkpad_acpi: temperatures (Celsius): 43 0 0 0 0 0 0 0
thinkpad_acpi: unhandled HKEY event 0x6000
thinkpad_acpi: please report the conditions when this event happened to ibm-
acpi-devel@...

The conditions are pressing the NumLk-button on a Lenovo ThinkPad W701.

malkusch <at> woodstock ~ $ uname -a
Linux woodstock 2.6.34-gentoo #6 SMP PREEMPT Tue Jun 8 18:31:57 CEST 2010 
x86_64 Intel(R) Core(TM) i7 CPU Q 720  <at>  1.60GHz GenuineIntel GNU/Linux

Markus Malkusch

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
Jacob Appelbaum | 9 Jun 2010 03:11

Re: thinkpad_acpi

On 06/09/2010 12:01 AM, Henrique de Moraes Holschuh wrote:
> On Tue, 08 Jun 2010, Jacob Appelbaum wrote:
>> I'm testing a newish Thinkpad T410 and I had a really odd lockup moments
>> ago. This is with Ubuntu 10.4. The laptop is currently using the
> 
> Yeah, people are complaining that it happens on Ubuntu.  I have seen
> fglrx do it, and I have also seen KDE4 do it (Debian).  I don't know
> what could be causing it on Ubuntu 10.4.
> 

I believe that it was compiz. I've since removed compiz and I've not had
a single issue.

>> kernel: [ 7982.108744] thinkpad_acpi: unhandled HKEY event 0x6000
>> kernel: [ 7982.108747] thinkpad_acpi: please report the conditions when
>> this event happened to ibm-acpi-devel@...
> 
> I have to ask Lenovo about it, but it is not likely to be the reason for
> the lockup moments.
> 

It may be related but it does seem unlikely. Though since the removal of
compiz, I've not seen another thinkpad_acpi error message in my kernel
message buffer.

All the best,
Jacob

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
(Continue reading)

sebib | 9 Jun 2010 19:50
Picon

Re: LenovoThinkPad T510 report

hi.

i was not able to apply the patch (thinkpad-acpi-0.24-20100516_v2.6.34.patch) to the 2.6.32 kernel with
the gentoo-patches without getting errors - i think it is not meant to be applied on 2.6.32 as the filename
suggests :)

nevertheless.. patching 2.6.34 vanilla kernel succeeded, but the module fails to load, the same happens
when patching the 2.6.34 gentoo-patched kernel. 

i tried the linux-2.6.34 without your patch and it loads without force_load. here is what works:

fn-combinations trigger acpi-events as in the prior version,
including the THERMAL-ALERT-0x6000-thing on pressing
Fn-Scroll

echo enable/disable > bluetooth
seems to work

/proc/acpi/ibm/volume is gone

/proc/acpi/ibm/beep works with some values (i think 1,9,10,15 )

/proc/acpi/ibm/driver gives
driver:
ThinkPad ACPI Extras
version:        0.24

/proc/acpi/ibm/fan
level 0-7, full-speed, auto and disengaged seem to have influence on the fans speed

(Continue reading)

sebib | 9 Jun 2010 11:01
Picon

Re: LenovoThinkPad T510 report

Hi.

Sorry.. i just realized that i did not send the answer to the mailinglist. Just for completeness:

> Please get the latest patch in ibm-acpi.sf.net, it should work with the
> T510, and report back what works :-)
> 

I will give it a try tomorrow, but for now i have to sleep a bit. Here is what I could get so far:

> > /etc/acpi/ibm/volume:
> > 'mute' is reported correctly and i am able to mute by 'echo mute...'
> 
> Does it really honestly mutes, or does it just look like it muted?

the sound stops after echo 'mute' to 'volume' and the led on the 'mute'-button lights up

> > Fn-Scroll
> which event?
ibm/hotkey HKEY 00000080 00006000

... i think this comes with it:

[ 3370.746675] thinkpad_acpi: THERMAL ALERT: unknown thermal alarm received
[ 3370.746681] thinkpad_acpi: unhandled HKEY event 0x6000
[ 3370.746685] thinkpad_acpi: please report the conditions when this event happened to ibm-acpi-devel@...

> 
> > mute-microphone-button
> which event?
(Continue reading)

Picon
Favicon

Re: LenovoThinkPad T510 report

On Wed, 09 Jun 2010, sebib@... wrote:
> i was not able to apply the patch (thinkpad-acpi-0.24-20100516_v2.6.34.patch) to the 2.6.32 kernel
with the gentoo-patches without getting errors - i think it is not meant to be applied on 2.6.32 as the
filename suggests :)

There is one for 2.6.32 too... Ask sourceforge to show you all files.

> nevertheless.. patching 2.6.34 vanilla kernel succeeded, but the module
> fails to load, the same happens when patching the 2.6.34 gentoo-patched
> kernel. 

Can you give me the output if you try to load the patched driver with the
debug=0xffff parameter, please?

> fn-combinations trigger acpi-events as in the prior version, including the
> THERMAL-ALERT-0x6000-thing on pressing Fn-Scroll

What is the label on Fn-Scroll?  Does it happen if you press NumLock?

--

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
(Continue reading)


Gmane