https://www.thinkwiki.org/w/api.php?action=feedcontributions&user=Etnoy&feedformat=atomThinkWiki - User contributions [en]2024-03-29T09:45:17ZUser contributionsMediaWiki 1.31.12https://www.thinkwiki.org/w/index.php?title=Problem_with_failing_memory_slot&diff=31222Problem with failing memory slot2007-07-13T11:22:14Z<p>Etnoy: </p>
<hr />
<div>Information about the failing memory slot on the T30 model.<br />
<br />
==Problem description==<br />
One of the two memory expansion slots in the T30s fails after some time.<br />
Hot weather seems to induce the failure.<br />
<br />
==Affected Models==<br />
*ThinkPad {{T30}}<br />
<br />
==Solutions==<br />
IBM will replace motherboards of machines under warranty.<br />
<br />
The problem seems to be associated with the RAM module not making contact with the pins on the slot. This also can happen to the primary slot. To fix this, you need to apply pressure to the modules. One way to do ths is to cut a small strip of metal and fold it in half. Then tape it to the inside of the memory panel so that when the panel closes, it places pressure on the middle of the affected module. Close the door (may not shut all the way), and boot the system. The computer should regcognize all RAM again. If the primary slot fails, the computer will fail to POST, or lock up during boot.<br />
<br />
==See also==<br />
http://www.omskakas.se/2007/07/thinkpad-t30-memory-slot-failure.html</div>Etnoyhttps://www.thinkwiki.org/w/index.php?title=High-pitch_noise_from_AC-Adapter&diff=28113High-pitch noise from AC-Adapter2007-02-04T21:20:36Z<p>Etnoy: </p>
<hr />
<div>== High-pitch noise from AC-Adapter ==<br />
<br />
This appears in some AC adapters shipped with some {{T60}}, {{T60p}}, {{Z61m}}, {{T30}} (they're possibly shipped with others, too)<br />
So far, Lenovo did not offer any feedback for this problem.</div>Etnoyhttps://www.thinkwiki.org/w/index.php?title=Problem_with_high_power_drain_in_ACPI_sleep&diff=26293Problem with high power drain in ACPI sleep2006-11-09T15:27:05Z<p>Etnoy: /* Backlight staying on */ Added info about gnome-power-manager</p>
<hr />
<div>{| width="100%"<br />
|style="vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;" | __TOC__<br />
|style="vertical-align:top" |<br />
==Problem description==<br />
Several people realized that their ThinkPads eat up too much power while suspended to ram via ACPI. Compared to APM suspend to ram the power drain is experienced to be about 10 times as high, 2-5 Watts. This empties the battery within one or two days.<br />
|}<br />
<br />
==Affected Models==<br />
{| border="1" cellspacing="0" cellpadding="2" style="float:right;margin-left:20px;"<br />
|-<br />
! style="vertical-align:top;background-color:#ffcfbc;" | affected models<br />
! style="vertical-align:top;background-color:#cfefcf;" | unaffected models <br />
|-<br />
| style="vertical-align:top;background-color:#fff0e0;" |<br />
* {{R32}}<br />
** 2658-BQG<br />
* {{R40}}<br />
** 2722-3GG<br />
** 2722-5MG<br />
** 2722-B3G<br />
** 2722-CDG<br />
** 2897-GWU<br />
** 2722-6YU<br />
** 2722-CDG<br />
* {{R50}}<br />
** 1829-7RG<br />
** 1829-6DM<br />
** 1836-3SU<br />
* {{R51}}<br />
** 1829-9MG<br />
** 1829-EHG<br />
** 1829-R6G<br />
** 1830-DG4<br />
** 1836-Q6U<br />
* {{T23}}<br />
**2647-???<br />
* {{T30}}<br />
** 2366-81A<br />
** 2366-97U<br />
** 2366-FBU<br />
** 2366-96G<br />
*{{T40}}<br />
**2373-19G<br />
**2373-22G<br />
**2373-42G<br />
**2373-75G <br />
**2373-82U<br />
**2373-92U<br />
**2373-A1U<br />
**2373-MU3<br />
*{{T40p}}<br />
**2373-G1U <br />
**2373-G3U<br />
**2373-G3G<br />
**2373-G1G<br />
**2373-G5G<br />
* {{T41}}<br />
**2379-DJU<br />
**2373-3KG<br />
**2373-9HU<br />
**2373-4FG<br />
**2373-4PG<br />
**2373-1FG<br />
**2373-2FG<br />
**2373-2GG<br />
**2373-6U4<br />
**2373-7JU<br />
**2373-CY0<br />
**2373-TG5<br />
**2373-3HM<br />
**2373-4GU<br />
* {{T41p}}<br />
**2373-9FU<br />
* {{T42}}<br />
**2373-C19<br />
**2373-CTO<br />
**2378-DTU<br />
**2378-DUU<br />
**2378-XXE<br />
**2378-R4U<br />
**2373-FWG<br />
**2374-ZEP<br />
**2373-F2G<br />
**2373-JTU<br />
**2373-VUW<br />
**[[2373-6ZG]]<br />
* {{X21}}<br />
**2662-BSG<br />
* {{X32}}<br />
**2884-A3U<br />
*{{X41T}}<br />
** 1869-5CU<br />
| style="vertical-align:top;background-color:#e9f9e9;" |<br />
*[[:Category:A22m | A22m]]<br />
**2628<br />
*[[:Category:A31 | A31]]<br />
**2652-D5G<br />
*[[:Category:R50p | R50p]]<br />
*[[:Category:R52 | R52]]<br />
**1858-6MM<br />
*[[:Category:T41 | T41]]<br />
**2373-GEU<br />
*[[:Category:T41p | T41p]]<br />
**2373-GKG<br />
**2373-GGG<br />
**[[2373-GHG]]<br />
*[[:Category:T42 | T42]]<br />
**[[2373-M1G]]<br />
**[[2373-WBZ]]<br />
**[[2373-F7G]]<br />
**[[2378-DXU]]<br />
**[[2378-FVU]]<br />
**[[2378-RTU]]<br />
**[[2378-RRU]]<br />
*[[:Category:T42p | T42p]]<br />
**[[2373-HTG]]<br />
**[[2373-W6M]]<br />
**[[2373-GTG]]<br />
**[[2373-GXG]]<br />
**2373-KXM<br />
*[[:Category:T43 | T43]]<br />
**[[2668-W12]]<br />
*[[:Category:T43p | T43p]]<br />
**[[2668-G2G]]<br />
*[[:Category:X40 | X40]]<br />
**2371<br />
|}<br />
*Different symptoms have been reported for different models. In some models the origin of the power drain is obvious ([[Problem with LCD backlight remaining on during ACPI sleep|backlight on during suspend]]), in other models there is no obvious reason.<br />
<br />
*On some models/configurations the higher power drain couldn't even be realized or was at least significantly lower.<br />
<br />
*The T4x ThinkPad series and other Radeon based models suspend to ram just fine, and there are no components that are obviously left powered up. The [[UltraBay]] and network light is on, but that is the same under windows (but under APM sleep to RAM those lights are OFF). For these models the higher power drain is caused by a driver problem and can be fixed in software. Starting with linux 2.6.18 this fix is in the official kernel.<br />
<br />
The table on the right gives an overview of the models suffering from the mysterious power drain. To find out about your model, you may use the following [[ACPI sleep power drain test script | script]]. It creates a file {{path|/var/log/battery.log}} which will tell you if you are affected or not.<br />
<br />
==Affected Operating Systems==<br />
*Linux, all flavours.<br />
*Windows, for some models as well (only when using non-IBM drivers).<br />
*FreeBSD (on the A22M)<br />
<br />
==Radeon GPU not powered off==<br />
A frequent cause of the mysterious power drain is the Radeon GPU, which requires extra steps to suspend properly. We identified affected thinkpads, and [[radeonfb]] activates the workaround on those models automatically (starting with linux kernel 2.6.18).<br />
<br />
===Status===<br />
*The official bugzilla entry for the radeon suspend issue is in the [http://bugme.osdl.org/show_bug.cgi?id=3022 OSDL Bugzilla]. There you can find the above-mentioned patch for older kernel versions. The patch removes the CONFIG_PPC_PMAC condition for enabling D2 sleep in {{path|drivers/video/aty/radeon_pm.c}}. If you suspect that this patch makes things worse, you can disable it by the kernel parameter {{bootparm|video|radeonfb:ignore_devlist|1}}. Similarly, if the patch is not automatically activated on your notebook you can force it by {{bootparm|video|radeonfb:force_sleep|1}}. In case that improves your sleep, please leave a note in the bugzilla including the output of {{cmdroot|lspci -d "1002:*" -vn}}. See also [http://thread.gmane.org/gmane.linux.hardware.thinkpad/25355 the linux-thinkpad ML post requesting this information] for more information. <br />
<br />
*Most certainly, the DSDT is not at fault. (Interesting to note: The DSDT from BIOS 3.13 (Nov 04) for the T42p compiles without bugs.)<br />
<br />
===Solutions===<br />
You must use a recent (or patched) version of the [[radeonfb]] driver, even if you are only interested in using the X window system. The radeon frame buffer suspends the radeon chip correctly during ACPI sleep. Starting with linux 2.6.18, this patch is in the official (kernel.org) kernels.<br />
<br />
If the patch is known to work on your notebook, it is automatically enabled. If you think that your computer would profit from the patch as well, you can force it by including the module parameter {{bootparm|video|radeonfb:force_sleep|1}}. If it does not work this can result in system hangs.<br />
<br />
Alas, in many cases [[radeonfb]] cannot coexist with the [[radeon]] X.org driver (causing corrupted rendering and hangs). Using the <tt>Option "UseFBDev" "True"</tt> of [[radeon]] may help, but this is incompatible with [[radeon]]'s mergedfb mode. A "GPU device layer" architecture which may, one day, resolve this was proposed by Dave Airlie [http://airlied.livejournal.com/#item30632 here] and [http://lkml.org/lkml/2006/7/22/45 here].<br />
{{HELP|Is there ''any'' fully working solution?}}<br />
<br />
====Fedora Core====<br />
* Fedora Core 6: Ships with kernel >= 2.6.18, only needs initrd (see below).<br />
* Fedora Core 5: The latest kernel from updates (2.6.18-1.2200.fc5) seems to actually fix this issue, you only have to make custom initrd because the default one does not contain radeonfb.<br />
* Fedora Core 4: Fedora ships a patched radeon frame buffer (radeonfb.ko), but you must enable it yourself. {{Fedora}} compiles it as a module rather than including it in the kernel, therefore you cannot activate it at boot time without a custom initrd. You must arrange for the module to be loaded before X starts (for example, using an init script).<br />
* Fedora Core 3: this is also true for updated kernels (at least for kernel-2.6.12-1.1376_FC3) but '''not''' for the initially shipped version.<br />
<br />
====testing radeonfb without changing initrd====<br />
If you want to try the radeon frame buffer, you can enable it as follows:<br />
*First, switch to a console ({{key|Ctrl}}{{key|Alt}}{{key|F1}}) and log in as root.<br />
*Stop X: {{cmdroot|init 3}}<br />
*Now you can load the module: {{cmdroot|1=modprobe radeonfb force_sleep=1}}<br />
*Finally, resume X: {{cmdroot|init 5}}<br />
<br />
====Gentoo====<br />
After installing the patch on {{Gentoo}} (it works fine with gentoo-sources: {{cmdroot|cd /usr/src/linux/drivers/video/aty}}, and execute {{cmdroot|patch -p4 < <patchname>}}, then recompile the kernel), one needs to add {{bootparm|video|radeonfb:force_sleep}} to the kernel parameters.<br />
<br />
====including radeonfb into your initrd====<br />
As an alternative you can build your customized initrd. This is as simple as running<br />
:{{cmdroot|1=mkinitrd --with=radeonfb /boot/<name-of-your-new-initrd> `uname -r`}}<br />
and replacing the initrd in {{path|/boot/grub/grub.conf}} with your new one. You also need to add the kernel command line argument {{bootparm|video|2=radeonfb:force_sleep}}.<br />
<br />
==Backlight staying on==<br />
It is possible that [[radeontool]] will help some people if the backlight stays on.<br />
(simply run "radeontool light off" before suspend and "radeontool light on" after resume).<br />
A radeontool patch for freebsd is here: http://www.init-main.com/radeontool.patch (by Takanori Watanabe).<br />
<br />
===Notes for gnome-power-manager===<br />
If you suspend from Gnome and need to run radeontool to turn the backlight off you need to find the suspend script for HAL. In Ubuntu, the scripts are located in /usr/share/hal/scripts/. Add the following the script "hal-system-power-suspend":<br />
chvt 1<br />
radeontool light off<br />
And in the resume script ("restore-after-standby"):<br />
radeontool light on<br />
chvt 7<br />
<br />
This worked for me. YMMV. [[User:Etnoy|Etnoy]] 16:27, 9 November 2006 (CET)<br />
<br />
===For models without Radeon graphics===<br />
The Problem seems to be solved when you use the [http://www.srcf.ucam.org/~mjg59/vbetool/ vbetool] to turn the LCD off before suspending ...<br />
:{{cmdroot|vbetool dpms off}}<br />
and turning it on afterwards again...<br />
:{{cmdroot|vbetool dpms on}}<br />
You have to change to a normal console before turning the LCD off.<br />
Additionally you have to deactivate the Wake-On-Lan feature like mentioned above ...<br />
:{{cmdroot|ethtool -s eth0 wol d}}<br />
With these commands used together the "testing script" reports no high power drain while suspending.<br />
<br />
==Other problems causing the power drain==<br />
On my [[R51]] using Gentoo Linux, the high power drain was not caused by the graphics adaptor but by several components not powered down properly before putting the Thinkpad into S3.<br />
<br />
If the above did not help you, this might do:<br />
<br />
Walk through<br />
/sys/devices/*/*/power/state<br />
and try to disable each of it, every time checking the power drain. (See linux/Documentation/power/devices.txt for values to write into the state-files. 3 should be the value you want to try)<br />
Do the same for other components (Like the Ultrabay, etc.). Please add your experiences here.<br />
<br />
===R51: Ultrabay and networking===<br />
On my system, ultrabay and networking light were still on while in S3. So were the devices theirselves.<br />
echo -n eject > /proc/acpi/ibm/bay # Disable ultrabay<br />
ethtool -s eth0 wol d # Disable Wake-On-Lan (And so the eth-adaptor)<br />
echo mem > /sys/power/state # Sleep<br />
<br />
For me, this lowered the power drain from >700mW to 338 mW.<br />
<br />
===USB===<br />
My initial testing of a [[T43]] (2669-model) revealed no power drain issues. However, after several rounds of BIOS and kernel upgrades I have discovered that the power drain has risen to >700mWh. Having tested things a bit, I have discoved that removing ehci_hcd module solved the high power drain. This is a [[T43]] laptop, with kernel 2.6.17-r5 and BIOS 1.28/EC 1.06. For me, issuing {{cmdroot|modprobe -r ehci_hcd}} before going to sleep and reloading the module ({{cmdroot|modprobe ehci_hcd}}) after waking up dropped the power drain down to 277mWh in suspend2ram, which seems fair. The unloading/reloading can be put into the suitable ACPI script called to suspend the laptop.<br />
<br />
===Wake-on-LAN===<br />
Some additional power savings can be achieved by turning off the wake-on-lan ({{cmdroot|ethtool -s eth0 wol d}}). The power drain of the wol feature is far smaller than the radeon bug, but can be noticeable.</div>Etnoy