<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=FedericoMenaQuintero</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=FedericoMenaQuintero"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/FedericoMenaQuintero"/>
	<updated>2026-05-03T09:11:08Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=User:FedericoMenaQuintero&amp;diff=28070</id>
		<title>User:FedericoMenaQuintero</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=User:FedericoMenaQuintero&amp;diff=28070"/>
		<updated>2007-02-02T19:37:41Z</updated>

		<summary type="html">&lt;p&gt;FedericoMenaQuintero: Start this page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Federico Mena-Quintero&lt;br /&gt;
&lt;br /&gt;
Home page: http://primates.ximian.com/~federico/news.html&lt;br /&gt;
&lt;br /&gt;
Things I've done here:&lt;br /&gt;
&lt;br /&gt;
* [[Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T41p]]&lt;br /&gt;
* [[Problems with ACPI suspend-to-ram]] (the part about SectorIdNotFound errors)&lt;/div&gt;</summary>
		<author><name>FedericoMenaQuintero</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_SUSE_Linux_Enterprise_Desktop_10_on_a_ThinkPad_T41p&amp;diff=28069</id>
		<title>Installing SUSE Linux Enterprise Desktop 10 on a ThinkPad T41p</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_SUSE_Linux_Enterprise_Desktop_10_on_a_ThinkPad_T41p&amp;diff=28069"/>
		<updated>2007-02-02T19:35:57Z</updated>

		<summary type="html">&lt;p&gt;FedericoMenaQuintero: Start this page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Suse Linux Enterprise Desktop 10 (SLED 10) works out of the box:  video, networking, trackpad with scrolling, suspend to disk.&lt;br /&gt;
&lt;br /&gt;
My machine is a Thinkpad T41p, '''model 2373-GGS'''.&lt;br /&gt;
&lt;br /&gt;
Things that I needed to tweak to make them work:&lt;br /&gt;
* Suspend to RAM&lt;br /&gt;
&lt;br /&gt;
== Suspend to RAM ==&lt;br /&gt;
&lt;br /&gt;
Suspend to RAM (actually, resuming) '''does not work''' if you have the [[Hidden Protected Area]] (HPA) enabled in the BIOS (see the section &amp;quot;SectorIdNotFound disk errors when laptop is resumed&amp;quot; in the [[Problems with ACPI suspend-to-ram | list of problems]]).  This is because of a [http://bugzilla.kernel.org/show_bug.cgi?id=6840 kernel bug], which makes the kernel not re-read the hard disk's HPA parameters when resuming from suspend.&lt;br /&gt;
&lt;br /&gt;
I had to '''disable the Hidden Protected Area in the BIOS''', and then I installed SLED 10.  After that, I had to add&lt;br /&gt;
&lt;br /&gt;
  SUSPEND2RAM_ACPI_SLEEP=&amp;quot;1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
to &amp;lt;tt&amp;gt;/etc/powersave/sleep&amp;lt;/tt&amp;gt;.  After that, suspend to RAM worked correctly.&lt;br /&gt;
&lt;br /&gt;
(Doing the above in SLED 10 is the same as putting &amp;lt;tt&amp;gt;acpi_sleep=s3_bios&amp;lt;/tt&amp;gt; in the kernel command line in GRUB, but the kernel in SLED 10 allows this to be set at runtime - see [http://en.opensuse.org/S2ram the S2ram page on the openSUSE wiki].)&lt;br /&gt;
&lt;br /&gt;
I am using the free ATI Radeon driver that comes with xorg-x11.  I don't know or care if the proprietary drivers also work when suspending.&lt;br /&gt;
&lt;br /&gt;
== Suspend when the lid closes or with Fn-F4 ==&lt;br /&gt;
&lt;br /&gt;
I had to tweak some options in YaST's Power Management module.  Go to '''Power management settings''', click the '''Other settings...''' drop-down, and select '''ACPI Settings'''.  In the next dialog, change '''Sleep Button''' and '''Laptop Lid Closing''' to '''Suspend to RAM'''.&lt;/div&gt;</summary>
		<author><name>FedericoMenaQuintero</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installation_instructions_for_the_ThinkPad_T41p&amp;diff=28068</id>
		<title>Installation instructions for the ThinkPad T41p</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installation_instructions_for_the_ThinkPad_T41p&amp;diff=28068"/>
		<updated>2007-02-02T19:20:01Z</updated>

		<summary type="html">&lt;p&gt;FedericoMenaQuintero: /* Distro specific Instructions */ Link to SLED 10 on T41p&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Specific installation notes for the ThinkPad {{T41p}}.&lt;br /&gt;
&lt;br /&gt;
==General Notes==&lt;br /&gt;
&lt;br /&gt;
==Distro specific Instructions==&lt;br /&gt;
*{{Install|LFS||T41p}}&lt;br /&gt;
*{{Install|Fedora| Core 3|T41p|}}&lt;br /&gt;
*{{Install|SUSE| LINUX Professional 9|T41p}}&lt;br /&gt;
*{{Install|SUSE| Linux Enterprise Desktop 10|T41p}}&lt;br /&gt;
*{{Install|Debian|/Sarge|T41p}}&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;/div&gt;</summary>
		<author><name>FedericoMenaQuintero</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problems_with_ACPI_suspend-to-ram&amp;diff=25268</id>
		<title>Problems with ACPI suspend-to-ram</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problems_with_ACPI_suspend-to-ram&amp;diff=25268"/>
		<updated>2006-10-15T01:05:07Z</updated>

		<summary type="html">&lt;p&gt;FedericoMenaQuintero: /* Troubles on resume */ Link to the HPA page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following glitches may or may not occur in relation to suspending to RAM:&lt;br /&gt;
&lt;br /&gt;
==Troubles on suspend==&lt;br /&gt;
;Permissions:If your suspend is failing, and a {{cmdroot|tail /var/log/acpid}} shows &amp;quot;Permission denied&amp;quot; errors, be sure that your new ACPI event and action scripts have the appropriate permissions.&lt;br /&gt;
&lt;br /&gt;
;Broken sysfs interface:You may experience problems when using {{cmdroot|echo standby &amp;gt; /sys/power/state}} or {{cmdroot|echo mem &amp;gt; /sys/power/state}} (machine goes to sleep and wakes up immediately). This can be avoided by using {{cmdroot|echo -n 3 &amp;gt;/proc/acpi/sleep}} to get it to sleep. This can be also happen if hotplug daemon is still running.&lt;br /&gt;
&lt;br /&gt;
;Hangs on &amp;quot;switching to UP code&amp;quot;:You may be using a [[How to make use of Dynamic Frequency Scaling|frequency scaling governor]] such as &amp;quot;conservative&amp;quot; or &amp;quot;ondemand&amp;quot;, which sometimes have problems with suspending. Switching to a governor such as &amp;quot;powersave&amp;quot; or &amp;quot;performance&amp;quot; before suspending may solve this problem.&lt;br /&gt;
&lt;br /&gt;
;MySQL daemon running:If you're running MySQL, sleep may also not work, so stop MySQL first, then sleep. Remember to restart MySQL when you wakeup.&lt;br /&gt;
&lt;br /&gt;
;LCD backlight remains on during sleep:When your system is equiped with a Radeon Mobility graphic controller your [[Problem with LCD backlight remaining on during ACPI sleep|LCD backlight may not turn off automatically]]. Use [[radeontool]] to switch off your backlight prior suspend in your sleep action script.&lt;br /&gt;
&lt;br /&gt;
;High power drain during sleep:Also, you might want to take note of the [[Problem with high power drain in ACPI sleep]].&lt;br /&gt;
&lt;br /&gt;
;Built-in MMC reader:If you have an MMC reader, and the computer hangs when attempting suspend then remove sdhci, mmc_block, and mmc_core modules before suspending.&lt;br /&gt;
&lt;br /&gt;
==Troubles on resume==&lt;br /&gt;
;Blank display on resume:When resuming from a suspend-to-ram the display might remain black or might only show the pre-suspend output (the system is still rebootable via {{key|ctrl}}{{key|alt}}{{key|del}}). See [[Problem with display remaining black after resume]] for solutions.&lt;br /&gt;
;Garbage on text consoles on resume:When resuming from suspend-to-ram the text console displays may show garbage instead of actual text. The machine is otherwise still responsive and X displays fine. If all of this is true, then adding the kernel option '''acpi_sleep=s3_bios,s3_mode''' in your menu.lst or lilo.conf may solve the problem.&lt;br /&gt;
;Broken hardware support after resume:&lt;br /&gt;
:*The '''serial port''' of the port replicator might not work after resume.&lt;br /&gt;
:*The '''parallel port''' might not work after resume. A possible fix is to unload and reload the parallel port drivers: {{cmdroot|rmmod lp parport_pc parport; modprobe lp}}.&lt;br /&gt;
:*Problems with the '''CD-RW/DVD drive''' after wake up from ram have been experienced.&lt;br /&gt;
:*There is a known Problem regarding '''battery info''' after suspend to RAM. A [http://www.ussg.iu.edu/hypermail/linux/kernel/0511.0/2429.html small patch] exists for kernels 2.6.14/2.6.15.&lt;br /&gt;
:*On {{X20}} and {{X21}} (and possibly other) models, the '''sleep LED''' is not reset properly on resume and will keep blinking. If you have the [[ibm-acpi]] kernel module loaded with the &amp;lt;tt&amp;gt;experimental=1&amp;lt;/tt&amp;gt; option, you can switch it off on resume by appending the following line to your suspend script:&lt;br /&gt;
 echo 7 off &amp;gt; /proc/acpi/ibm/led&lt;br /&gt;
&lt;br /&gt;
;Crash on resume:&lt;br /&gt;
:*When using '''older ATI proprietary drivers''' a crash on resume can be solved by using [http://freshmeat.net/projects/vbetool/ vbetool]. See the example suspend script [[Problem with display remaining black after resume#Solution for ThinkPads with Intel I830 Chipset]]. This is no longer necessary with recent revisions of the ATI proprietary driver.&lt;br /&gt;
:*A crash could also be caused by having '''apic support''' enabled in the kernel config. Try disabling it (in the &amp;quot;Processor type and features&amp;quot; section).&lt;br /&gt;
:*On machines with Savage chipsets, the '''savagefb framebuffer driver''' might crash the machine on resume. Make sure it is disabled in your kernel config and use the standard vesafb driver instead.&lt;br /&gt;
:*Sonoma chipset based laptops ({{R52}}, {{T43}}, {{T43p}}, {{X41}}, {{X41T}}) utilize the '''SATA layer for disk access''' and SATA does not have power-management support yet. Suspend to RAM crashes these machines on resume. See the [[Problems with SATA and Linux#Hang on resume from suspend to RAM|relevant section]] on the [[Problems with SATA and Linux]] page.&lt;br /&gt;
:*When system resumes it hangs right after restarting tasks. This may be fixed by passing ec_intr=0 on kernel cmdline.&lt;br /&gt;
;Shutdown on resume:&lt;br /&gt;
:If your system immediately begins to shut down right after resume, make sure you don't have acpid running with the power button tied to shutdown. The system is simply sensing the power button event and shutting down.  This issue has been reported as a bug against the kernel ACPI subsystem, refer to [http://bugzilla.kernel.org/show_bug.cgi?id=6612 kernel.org bugzilla bug #6612].&lt;br /&gt;
&lt;br /&gt;
;Immediate suspend on resume:&lt;br /&gt;
:When running GNOME, sometimes gnome-power-manager will put the system back into suspend immediately after resuming.  This is caused by a known bug in HAL that causes some ACPI events to be reported incorrectly after a suspend-to-ram.  A simple workaround can be found [http://live.gnome.org/GnomePowerManager/Faq#head-b8b1280115b0a51c2cc27b13a57121130ebf36cb here].&lt;br /&gt;
:Note that suspend being triggered by unrelated ACPI events such as disconnecting the AC adapter may also be fixed by the above method.&lt;br /&gt;
&lt;br /&gt;
;Power Off when suspended laptop is docked&lt;br /&gt;
:When T60p is suspended, docking laptop into Advanced Dock immediately turns off laptop and crescent moon sleep indicator LED. Pressing power button initiates cold boot. Also reported by multiple people on thinkpads.com.&lt;br /&gt;
&lt;br /&gt;
;SectorIdNotFound disk errors when laptop is resumed&lt;br /&gt;
The errors look like this:&lt;br /&gt;
 Oct 14 17:35:02 cacharro kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }&lt;br /&gt;
 Oct 14 17:35:02 cacharro kernel: hda: dma_intr: error=0x10 { SectorIdNotFound }, LBAsect=115896900, sector=115896900&lt;br /&gt;
 Oct 14 17:35:02 cacharro kernel: ide: failed opcode was: unknown&lt;br /&gt;
&lt;br /&gt;
This happens when you have [[Hidden Protected Area]] (HPA) enabled on the hard drive.  There is a [http://bugzilla.kernel.org/show_bug.cgi?id=6840 kernel bug report with an unfinished patch] to fix this.  This is not fixed as of kernel 2.16.18.&lt;/div&gt;</summary>
		<author><name>FedericoMenaQuintero</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Hidden_Protected_Area&amp;diff=25267</id>
		<title>Hidden Protected Area</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Hidden_Protected_Area&amp;diff=25267"/>
		<updated>2006-10-15T01:03:54Z</updated>

		<summary type="html">&lt;p&gt;FedericoMenaQuintero: Point to the suspend problem caused by HPA&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== The Hidden Protected Area ===&lt;br /&gt;
The Hidden Protected Area (also known as the Host Protected Area and as the Predesktop Area) is a special area (usually a few gigabytes in size) located at the end of a hard disk. It is preinstalled on the harddisks of some ThinkPads. It is normally hidden to the software running on your ThinkPad. It includes all the software and data needed to recover the preloaded state of the ThinkPad. The HPA also includes some diagnostic tools and a (MS Windows only) backup tool.&lt;br /&gt;
&lt;br /&gt;
The HPA was introduced with the R/T/X 40 series of ThinkPads. It is refered to as the Predesktop Area in the BIOS Setup Utility. Recent ThinkPads can have a (hidden) partition that is also called [[Predesktop Area|Predesktop Area]] in the BIOS Setup Utility. That (hidden) partition is not an HPA. More information can be found in [[Rescue and Recovery | Rescue and Recovery]],&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:10px;width:10px;white-space:nowrap;&amp;quot; | [[Image:hpa.jpg|IBM PreDesktop Area]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==General information about the HPA==&lt;br /&gt;
As opposed to [[Rescue and Recovery|Recovery Partitions]], Protected Service Areas (PSAs) such as the HPA are (let's say) images of partitions written to the end of a harddisk. They are only accessible through their BEER. The general idea is that, under control of the BIOS, the PSAs are totally hidden from all ordinary software, including malware (viruses, trojans, spyware). They are only accessible when permitted by the BIOS, and even then only through special HPA-aware tools. Under GNU/Linux they are only accessible with low level tools like dd.&lt;br /&gt;
&lt;br /&gt;
The HPA is based on [http://www.phoenix.com/en/Products/Trusted+Applications/Phoenix+FirstWare/default.htm Phoenix FirstWare]. FirstWare is (in short) an implementation of two technologies: BEER and PARTIES. (Yes, those names are correct!) BEER (Boot Engineering Extension Record) and PARTIES (Protected Area Run Time Interface Extension Services) are described in [http://www.t13.org/project/d1367r3-PARTIES.pdf this T13 working draft]. There is a more general introduction to PARTIES on the [http://www-1.ibm.com/support/docview.wss?rs=0&amp;amp;uid=psg1MIGR-51248&amp;amp;loc=en_US IBM site]. FirstWare depends on certain [http://en.wikipedia.org/wiki/Advanced_Technology_Attachment#ATA_standards_versions.2C_transfer_rates.2C_and_features ATA-5] commands, so it won't work with lower ATA level (earlier) drives or even with all ATA-5 drives. Unfortunately, there is no public HPA compatibility tester or list of compatible drives.&lt;br /&gt;
&lt;br /&gt;
Basically, what's going on is that the Phoenix BIOS commands the drive to hide the last few gigabytes of the hard disk (the HPA). The to non-HPA aware software, the drive appears to have a smaller size. Note that this is just a setting in the BIOS and can be disabled. The HPA can be accessed by pressing {{ibmkey|Access IBM|#495988}} or {{key|Enter}} at boot time. The BIOS will then parse the BEER (128 bytes, situated in the last sector of 512 bytes of the harddisk) and the &amp;quot;Directory of Services&amp;quot; (consisting of directory entries of 64 bytes each, starting in the last sector and spilling over into the previous sectors) to see what part of the HPA should be launched. In (most?) ThinkPads the BEER tells the BIOS to launch the Access IBM Predesktop Area. The system will then actually be booting into a (minimal) DOS environment which is able to launch a graphical shell (called Phoenix FirstSight). IBM has simply rebranded this graphical shell to the Access IBM Predesktop Area. From this graphical shell one can launch several tools (BIOS Setup Utility, diagnostic tools, recovery tools).&lt;br /&gt;
&lt;br /&gt;
==Three BIOS options==&lt;br /&gt;
The BIOS has three settings for the &amp;quot;IBM Predesktop Area&amp;quot; (in the Security category):&lt;br /&gt;
*Secure: No user or SW-initiated changes; Contents hidden from OS&lt;br /&gt;
*Normal: Change allowed; Contents hidden from OS&lt;br /&gt;
*Disabled: Not Usable; Visible and Reclaimable&lt;br /&gt;
&lt;br /&gt;
Normal is the default setting. One can boot into the Predesktop Area when either Secure or Normal is set. When Disabled is set the Predesktop Area will not boot. According to the [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-46023 Predesktop Area white paper] the HPA is both &amp;quot;locked&amp;quot;{{footnote|1}} and &amp;quot;hidden&amp;quot; when Secure is set and only &amp;quot;hidden&amp;quot; when normal is set. In practice the result seems to be that the HPA is totally unavailable to the Linux kernel (and therefore all applications) when Secure is set. (The HPA should be unavailable in &amp;quot;Secure mode&amp;quot; for all operating systems, MS Windows included.) One would expect the HPA to be only accessable to HPA aware tools when Normal is set. However, recent kernels disable the HPA by default when Normal is set. Note that [http://marc.theaimsgroup.com/?l=linux-ide&amp;amp;w=2&amp;amp;r=1&amp;amp;s=Host+protected+area&amp;amp;q=b recent threads on linux-ide] suggest that the ThinkPad will reenable the HPA on resume and thus causing (possibly serious) conflicts with the GNU/Linux system (that assumes the HPA is still available).&lt;br /&gt;
&lt;br /&gt;
With Disabled you should be able to safely reclaim the area used by the HPA (to GNU/Linux it basically is unallocated space on the harddisk).&lt;br /&gt;
&lt;br /&gt;
==Details of the HPA==&lt;br /&gt;
Fabrice Bellet describes a [http://bellet.info/laptop/t40.html#the_predesktop_area technique he used] to explore the HPA of his ThinkPad T40, using GNU/Linux tools. This technique is only for the more curious or more careless people. It uses &amp;quot;dd&amp;quot; to copy the sectors on the harddisk containing the HPA from &amp;quot;/dev/hda&amp;quot; to a new file: when using &amp;quot;dd&amp;quot; on &amp;quot;/dev/hda&amp;quot; you are only one small typo away from an unrecoverable disaster!&lt;br /&gt;
&lt;br /&gt;
Here follows a more detailed description of the HPA on a ThinkPad T41 (60 GB harddisk) to contrast his findings.&lt;br /&gt;
&lt;br /&gt;
On this ThinkPad T41 the HPA is 3,4 GB in size. It contains 8 consecutive PSAs (Protected Service Areas). Six of those start with an x86 boot sector.&lt;br /&gt;
&lt;br /&gt;
* The first PSA is 3,2 GB in size. The OEM-ID of the boot sector is: &amp;quot;IBM  7.1&amp;quot;. It seems to hold a copy of the preloaded OS and everything needed to generate a bootable DVD-ROM for it, even an El Torito boot image and a boot catalog: see [[Backing up the preloaded OS]].&lt;br /&gt;
&lt;br /&gt;
* The second PSA is exactly 2 MB in size. According to its entry in the Directory of Service it's the &amp;quot;BIOSWORKAREA&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
* The third PSA is only 7,4 MB in size. The OEM-ID of the boot sector is: &amp;quot;MSWIN4.1&amp;quot;. It seems to be an image of a 1,44 MB bootable floppy disk (with MS DOS) and a directory containig 6 MB of FirstWare tools. It will be launched by the &amp;quot;Recover to factory contents&amp;quot; tool of the Predesktop Area. Those &amp;quot;factory contents&amp;quot; should be the data on the first PSA.&lt;br /&gt;
&lt;br /&gt;
* The fourth PSA is only 1,4 MB in size. The OEM-ID of the boot sector is: &amp;quot;IBM  7.1&amp;quot;. It too seems to be an image of a (sort of) 1,44 MB bootable floppy disk. It will be launched by the &amp;quot;Restore your backups&amp;quot; tool of the Predesktop Area.&lt;br /&gt;
&lt;br /&gt;
* The fifth PSA is again 7,4 MB in size. The OEM-ID of the boot sector is: &amp;quot;IBM  7.0&amp;quot;. It will be launched by the &amp;quot;Run diagnostics&amp;quot; tool of the Predesktop Area.&lt;br /&gt;
&lt;br /&gt;
* The sixth PSA is also 7,4 MB in size and the OEM-ID of the boot sector also is: &amp;quot;IBM  7.0&amp;quot;. It will be launched by the &amp;quot;Create diagnostic disks&amp;quot; tool of the Predesktop Area. It contains a copy of a (sort of) bootable 1,44 MB floppy disk, some tools and compressed copies of the diagnostic disks.&lt;br /&gt;
&lt;br /&gt;
* The seventh PSA is only 1,4 MB in size. The OEM-ID of the boot sector is &amp;quot;PHOENIX&amp;quot;. It seems to be a copy of a (sort of) 1.44 MB bootable floppy disk too and only contains a (minimal) DOS and the FirstSight application. Basically, this is the Access IBM Predesktop Area.&lt;br /&gt;
&lt;br /&gt;
* The eigth PSA is 101 MB in size. It doesn't have a boot sector. It contains the FirstWare Reserved Area. That probably is some sort of swap space for the FirstWare system.&lt;br /&gt;
&lt;br /&gt;
==How to reclaim the HPA==&lt;br /&gt;
After disabling the &amp;quot;IBM Predesktop Area&amp;quot; (with the BIOS option &amp;quot;Disabled&amp;quot;, see above) it's possible to reclaim the area used by the HPA. Then one can include that area in a partition with standard tools (i.e. fdisk, mkfs) as it will be treated just as regular free space of the hard disk.&lt;br /&gt;
&lt;br /&gt;
==Alternative uses?==&lt;br /&gt;
It might be possible to use the FirstWare tools included in the HPA to make the HPA more useful for GNU/Linux purposes. For instance, the copy of the preloaded OS could be replaced with an emergency backup of your GNU/Linux distribution. Maybe the Predesktop area could be even used to boot into a GNU/Linux rescue system. Whether the Phoenix proprietary tools really allow alternative uses and whether those tools do not make it too hard to accomplish those cannot yet be said. It seems realistic to assume that the benefits of those alternative uses aren't worth the effort to accomplish them. Still, it might be fun (altough possibly hazardous to your system) to try ...&lt;br /&gt;
&lt;br /&gt;
==Problems caused by the HPA==&lt;br /&gt;
As of Linux 2.6.18, having a HPA may cause errors when resuming the laptop from suspend-to-RAM or suspend-to-disk.  See the section called &amp;quot;SectorIdNotFound disk errors when laptop is resumed&amp;quot; in [[Problems with ACPI suspend-to-ram | ACPI suspend problems]].&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-46023 Predesktop Area white paper]&lt;br /&gt;
*[http://www-3.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-46025 Predesktop Aministrator Utility (DOS)]&lt;br /&gt;
*[http://webstore.ansi.org/ansidocstore/product.asp?sku=ANSI+INCITS+346-2001 Protected Area Run Time Interface Extension Services (PARTIES) ANSI INCITS 346-2001 ($18)]&lt;br /&gt;
*[http://www.phoenix.com/NR/rdonlyres/7465D3CF-B0E3-4F64-9122-47D9C83028D0/0/cme_firstware_wp.pdf Phoenix FirstWare White Paper]&lt;br /&gt;
*[http://www.win.tue.nl/~aeb/linux/Large-Disk-11.html Section 11 of the Large Disk HOWTO (Clipped disks)]&lt;br /&gt;
&lt;br /&gt;
==Models featuring this Technology==&lt;br /&gt;
*ThinkPad {{R40}}, {{R40e}}, {{R50}}, {{R50e}}, {{R50p}}, {{R51}}, {{R52}}&lt;br /&gt;
*ThinkPad {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}&lt;br /&gt;
*ThinkPad {{X31}}, {{X32}}, {{X40}}, {{X41}}, {{X41T}}&lt;br /&gt;
&lt;br /&gt;
{{footnotes|&lt;br /&gt;
# Presumably by having the BIOS use the SET MAX security extension. The BIOS seems to set a password for the HPA at boot (using the SETMAX-SET PASSWORD command) and after that use that password to issue a SETMAX-LOCK command. Since the password is unknown (and most likely changes at every Secure boot) the HPA is inaccessable to all programs running on the ThinkPad.&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;Something similar would be possible running in Normal mode. Then a program could issue the SETMAX-SET PASSWORD command. At the moment there's no program running under GNU/Linux capable of doing that. Of course this is possibly less secure: it's (theoretically) possible that other (rogue) programs get hold of that password.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>FedericoMenaQuintero</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problems_with_ACPI_suspend-to-ram&amp;diff=25266</id>
		<title>Problems with ACPI suspend-to-ram</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problems_with_ACPI_suspend-to-ram&amp;diff=25266"/>
		<updated>2006-10-15T00:53:30Z</updated>

		<summary type="html">&lt;p&gt;FedericoMenaQuintero: /* Troubles on resume */ Note the kernel version for the HPA bug.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following glitches may or may not occur in relation to suspending to RAM:&lt;br /&gt;
&lt;br /&gt;
==Troubles on suspend==&lt;br /&gt;
;Permissions:If your suspend is failing, and a {{cmdroot|tail /var/log/acpid}} shows &amp;quot;Permission denied&amp;quot; errors, be sure that your new ACPI event and action scripts have the appropriate permissions.&lt;br /&gt;
&lt;br /&gt;
;Broken sysfs interface:You may experience problems when using {{cmdroot|echo standby &amp;gt; /sys/power/state}} or {{cmdroot|echo mem &amp;gt; /sys/power/state}} (machine goes to sleep and wakes up immediately). This can be avoided by using {{cmdroot|echo -n 3 &amp;gt;/proc/acpi/sleep}} to get it to sleep. This can be also happen if hotplug daemon is still running.&lt;br /&gt;
&lt;br /&gt;
;Hangs on &amp;quot;switching to UP code&amp;quot;:You may be using a [[How to make use of Dynamic Frequency Scaling|frequency scaling governor]] such as &amp;quot;conservative&amp;quot; or &amp;quot;ondemand&amp;quot;, which sometimes have problems with suspending. Switching to a governor such as &amp;quot;powersave&amp;quot; or &amp;quot;performance&amp;quot; before suspending may solve this problem.&lt;br /&gt;
&lt;br /&gt;
;MySQL daemon running:If you're running MySQL, sleep may also not work, so stop MySQL first, then sleep. Remember to restart MySQL when you wakeup.&lt;br /&gt;
&lt;br /&gt;
;LCD backlight remains on during sleep:When your system is equiped with a Radeon Mobility graphic controller your [[Problem with LCD backlight remaining on during ACPI sleep|LCD backlight may not turn off automatically]]. Use [[radeontool]] to switch off your backlight prior suspend in your sleep action script.&lt;br /&gt;
&lt;br /&gt;
;High power drain during sleep:Also, you might want to take note of the [[Problem with high power drain in ACPI sleep]].&lt;br /&gt;
&lt;br /&gt;
;Built-in MMC reader:If you have an MMC reader, and the computer hangs when attempting suspend then remove sdhci, mmc_block, and mmc_core modules before suspending.&lt;br /&gt;
&lt;br /&gt;
==Troubles on resume==&lt;br /&gt;
;Blank display on resume:When resuming from a suspend-to-ram the display might remain black or might only show the pre-suspend output (the system is still rebootable via {{key|ctrl}}{{key|alt}}{{key|del}}). See [[Problem with display remaining black after resume]] for solutions.&lt;br /&gt;
;Garbage on text consoles on resume:When resuming from suspend-to-ram the text console displays may show garbage instead of actual text. The machine is otherwise still responsive and X displays fine. If all of this is true, then adding the kernel option '''acpi_sleep=s3_bios,s3_mode''' in your menu.lst or lilo.conf may solve the problem.&lt;br /&gt;
;Broken hardware support after resume:&lt;br /&gt;
:*The '''serial port''' of the port replicator might not work after resume.&lt;br /&gt;
:*The '''parallel port''' might not work after resume. A possible fix is to unload and reload the parallel port drivers: {{cmdroot|rmmod lp parport_pc parport; modprobe lp}}.&lt;br /&gt;
:*Problems with the '''CD-RW/DVD drive''' after wake up from ram have been experienced.&lt;br /&gt;
:*There is a known Problem regarding '''battery info''' after suspend to RAM. A [http://www.ussg.iu.edu/hypermail/linux/kernel/0511.0/2429.html small patch] exists for kernels 2.6.14/2.6.15.&lt;br /&gt;
:*On {{X20}} and {{X21}} (and possibly other) models, the '''sleep LED''' is not reset properly on resume and will keep blinking. If you have the [[ibm-acpi]] kernel module loaded with the &amp;lt;tt&amp;gt;experimental=1&amp;lt;/tt&amp;gt; option, you can switch it off on resume by appending the following line to your suspend script:&lt;br /&gt;
 echo 7 off &amp;gt; /proc/acpi/ibm/led&lt;br /&gt;
&lt;br /&gt;
;Crash on resume:&lt;br /&gt;
:*When using '''older ATI proprietary drivers''' a crash on resume can be solved by using [http://freshmeat.net/projects/vbetool/ vbetool]. See the example suspend script [[Problem with display remaining black after resume#Solution for ThinkPads with Intel I830 Chipset]]. This is no longer necessary with recent revisions of the ATI proprietary driver.&lt;br /&gt;
:*A crash could also be caused by having '''apic support''' enabled in the kernel config. Try disabling it (in the &amp;quot;Processor type and features&amp;quot; section).&lt;br /&gt;
:*On machines with Savage chipsets, the '''savagefb framebuffer driver''' might crash the machine on resume. Make sure it is disabled in your kernel config and use the standard vesafb driver instead.&lt;br /&gt;
:*Sonoma chipset based laptops ({{R52}}, {{T43}}, {{T43p}}, {{X41}}, {{X41T}}) utilize the '''SATA layer for disk access''' and SATA does not have power-management support yet. Suspend to RAM crashes these machines on resume. See the [[Problems with SATA and Linux#Hang on resume from suspend to RAM|relevant section]] on the [[Problems with SATA and Linux]] page.&lt;br /&gt;
:*When system resumes it hangs right after restarting tasks. This may be fixed by passing ec_intr=0 on kernel cmdline.&lt;br /&gt;
;Shutdown on resume:&lt;br /&gt;
:If your system immediately begins to shut down right after resume, make sure you don't have acpid running with the power button tied to shutdown. The system is simply sensing the power button event and shutting down.  This issue has been reported as a bug against the kernel ACPI subsystem, refer to [http://bugzilla.kernel.org/show_bug.cgi?id=6612 kernel.org bugzilla bug #6612].&lt;br /&gt;
&lt;br /&gt;
;Immediate suspend on resume:&lt;br /&gt;
:When running GNOME, sometimes gnome-power-manager will put the system back into suspend immediately after resuming.  This is caused by a known bug in HAL that causes some ACPI events to be reported incorrectly after a suspend-to-ram.  A simple workaround can be found [http://live.gnome.org/GnomePowerManager/Faq#head-b8b1280115b0a51c2cc27b13a57121130ebf36cb here].&lt;br /&gt;
:Note that suspend being triggered by unrelated ACPI events such as disconnecting the AC adapter may also be fixed by the above method.&lt;br /&gt;
&lt;br /&gt;
;Power Off when suspended laptop is docked&lt;br /&gt;
:When T60p is suspended, docking laptop into Advanced Dock immediately turns off laptop and crescent moon sleep indicator LED. Pressing power button initiates cold boot. Also reported by multiple people on thinkpads.com.&lt;br /&gt;
&lt;br /&gt;
;SectorIdNotFound disk errors when laptop is resumed&lt;br /&gt;
The errors look like this:&lt;br /&gt;
 Oct 14 17:35:02 cacharro kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }&lt;br /&gt;
 Oct 14 17:35:02 cacharro kernel: hda: dma_intr: error=0x10 { SectorIdNotFound }, LBAsect=115896900, sector=115896900&lt;br /&gt;
 Oct 14 17:35:02 cacharro kernel: ide: failed opcode was: unknown&lt;br /&gt;
&lt;br /&gt;
This happens when you have Host Protected Area (HPA) enabled on the hard drive.  There is a [http://bugzilla.kernel.org/show_bug.cgi?id=6840 kernel bug report with an unfinished patch] to fix this.  This is not fixed as of kernel 2.16.18.&lt;/div&gt;</summary>
		<author><name>FedericoMenaQuintero</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problems_with_ACPI_suspend-to-ram&amp;diff=25265</id>
		<title>Problems with ACPI suspend-to-ram</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problems_with_ACPI_suspend-to-ram&amp;diff=25265"/>
		<updated>2006-10-15T00:52:45Z</updated>

		<summary type="html">&lt;p&gt;FedericoMenaQuintero: /* Troubles on resume */ Note the kernel bug when resuming if HPA is enabled&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following glitches may or may not occur in relation to suspending to RAM:&lt;br /&gt;
&lt;br /&gt;
==Troubles on suspend==&lt;br /&gt;
;Permissions:If your suspend is failing, and a {{cmdroot|tail /var/log/acpid}} shows &amp;quot;Permission denied&amp;quot; errors, be sure that your new ACPI event and action scripts have the appropriate permissions.&lt;br /&gt;
&lt;br /&gt;
;Broken sysfs interface:You may experience problems when using {{cmdroot|echo standby &amp;gt; /sys/power/state}} or {{cmdroot|echo mem &amp;gt; /sys/power/state}} (machine goes to sleep and wakes up immediately). This can be avoided by using {{cmdroot|echo -n 3 &amp;gt;/proc/acpi/sleep}} to get it to sleep. This can be also happen if hotplug daemon is still running.&lt;br /&gt;
&lt;br /&gt;
;Hangs on &amp;quot;switching to UP code&amp;quot;:You may be using a [[How to make use of Dynamic Frequency Scaling|frequency scaling governor]] such as &amp;quot;conservative&amp;quot; or &amp;quot;ondemand&amp;quot;, which sometimes have problems with suspending. Switching to a governor such as &amp;quot;powersave&amp;quot; or &amp;quot;performance&amp;quot; before suspending may solve this problem.&lt;br /&gt;
&lt;br /&gt;
;MySQL daemon running:If you're running MySQL, sleep may also not work, so stop MySQL first, then sleep. Remember to restart MySQL when you wakeup.&lt;br /&gt;
&lt;br /&gt;
;LCD backlight remains on during sleep:When your system is equiped with a Radeon Mobility graphic controller your [[Problem with LCD backlight remaining on during ACPI sleep|LCD backlight may not turn off automatically]]. Use [[radeontool]] to switch off your backlight prior suspend in your sleep action script.&lt;br /&gt;
&lt;br /&gt;
;High power drain during sleep:Also, you might want to take note of the [[Problem with high power drain in ACPI sleep]].&lt;br /&gt;
&lt;br /&gt;
;Built-in MMC reader:If you have an MMC reader, and the computer hangs when attempting suspend then remove sdhci, mmc_block, and mmc_core modules before suspending.&lt;br /&gt;
&lt;br /&gt;
==Troubles on resume==&lt;br /&gt;
;Blank display on resume:When resuming from a suspend-to-ram the display might remain black or might only show the pre-suspend output (the system is still rebootable via {{key|ctrl}}{{key|alt}}{{key|del}}). See [[Problem with display remaining black after resume]] for solutions.&lt;br /&gt;
;Garbage on text consoles on resume:When resuming from suspend-to-ram the text console displays may show garbage instead of actual text. The machine is otherwise still responsive and X displays fine. If all of this is true, then adding the kernel option '''acpi_sleep=s3_bios,s3_mode''' in your menu.lst or lilo.conf may solve the problem.&lt;br /&gt;
;Broken hardware support after resume:&lt;br /&gt;
:*The '''serial port''' of the port replicator might not work after resume.&lt;br /&gt;
:*The '''parallel port''' might not work after resume. A possible fix is to unload and reload the parallel port drivers: {{cmdroot|rmmod lp parport_pc parport; modprobe lp}}.&lt;br /&gt;
:*Problems with the '''CD-RW/DVD drive''' after wake up from ram have been experienced.&lt;br /&gt;
:*There is a known Problem regarding '''battery info''' after suspend to RAM. A [http://www.ussg.iu.edu/hypermail/linux/kernel/0511.0/2429.html small patch] exists for kernels 2.6.14/2.6.15.&lt;br /&gt;
:*On {{X20}} and {{X21}} (and possibly other) models, the '''sleep LED''' is not reset properly on resume and will keep blinking. If you have the [[ibm-acpi]] kernel module loaded with the &amp;lt;tt&amp;gt;experimental=1&amp;lt;/tt&amp;gt; option, you can switch it off on resume by appending the following line to your suspend script:&lt;br /&gt;
 echo 7 off &amp;gt; /proc/acpi/ibm/led&lt;br /&gt;
&lt;br /&gt;
;Crash on resume:&lt;br /&gt;
:*When using '''older ATI proprietary drivers''' a crash on resume can be solved by using [http://freshmeat.net/projects/vbetool/ vbetool]. See the example suspend script [[Problem with display remaining black after resume#Solution for ThinkPads with Intel I830 Chipset]]. This is no longer necessary with recent revisions of the ATI proprietary driver.&lt;br /&gt;
:*A crash could also be caused by having '''apic support''' enabled in the kernel config. Try disabling it (in the &amp;quot;Processor type and features&amp;quot; section).&lt;br /&gt;
:*On machines with Savage chipsets, the '''savagefb framebuffer driver''' might crash the machine on resume. Make sure it is disabled in your kernel config and use the standard vesafb driver instead.&lt;br /&gt;
:*Sonoma chipset based laptops ({{R52}}, {{T43}}, {{T43p}}, {{X41}}, {{X41T}}) utilize the '''SATA layer for disk access''' and SATA does not have power-management support yet. Suspend to RAM crashes these machines on resume. See the [[Problems with SATA and Linux#Hang on resume from suspend to RAM|relevant section]] on the [[Problems with SATA and Linux]] page.&lt;br /&gt;
:*When system resumes it hangs right after restarting tasks. This may be fixed by passing ec_intr=0 on kernel cmdline.&lt;br /&gt;
;Shutdown on resume:&lt;br /&gt;
:If your system immediately begins to shut down right after resume, make sure you don't have acpid running with the power button tied to shutdown. The system is simply sensing the power button event and shutting down.  This issue has been reported as a bug against the kernel ACPI subsystem, refer to [http://bugzilla.kernel.org/show_bug.cgi?id=6612 kernel.org bugzilla bug #6612].&lt;br /&gt;
&lt;br /&gt;
;Immediate suspend on resume:&lt;br /&gt;
:When running GNOME, sometimes gnome-power-manager will put the system back into suspend immediately after resuming.  This is caused by a known bug in HAL that causes some ACPI events to be reported incorrectly after a suspend-to-ram.  A simple workaround can be found [http://live.gnome.org/GnomePowerManager/Faq#head-b8b1280115b0a51c2cc27b13a57121130ebf36cb here].&lt;br /&gt;
:Note that suspend being triggered by unrelated ACPI events such as disconnecting the AC adapter may also be fixed by the above method.&lt;br /&gt;
&lt;br /&gt;
;Power Off when suspended laptop is docked&lt;br /&gt;
:When T60p is suspended, docking laptop into Advanced Dock immediately turns off laptop and crescent moon sleep indicator LED. Pressing power button initiates cold boot. Also reported by multiple people on thinkpads.com.&lt;br /&gt;
&lt;br /&gt;
;SectorIdNotFound disk errors when laptop is resumed&lt;br /&gt;
The errors look like this:&lt;br /&gt;
 Oct 14 17:35:02 cacharro kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }&lt;br /&gt;
 Oct 14 17:35:02 cacharro kernel: hda: dma_intr: error=0x10 { SectorIdNotFound }, LBAsect=115896900, sector=115896900&lt;br /&gt;
 Oct 14 17:35:02 cacharro kernel: ide: failed opcode was: unknown&lt;br /&gt;
&lt;br /&gt;
This happens when you have Host Protected Area (HPA) enabled on the hard drive.  There is a [http://bugzilla.kernel.org/show_bug.cgi?id=6840 kernel bug report with an unfinished patch] to fix this.&lt;/div&gt;</summary>
		<author><name>FedericoMenaQuintero</name></author>
		
	</entry>
</feed>