<?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=Wyzard</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=Wyzard"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Wyzard"/>
	<updated>2026-04-09T08:51:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Category_talk:Z60m&amp;diff=27365</id>
		<title>Category talk:Z60m</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Category_talk:Z60m&amp;diff=27365"/>
		<updated>2006-12-29T08:33:11Z</updated>

		<summary type="html">&lt;p&gt;Wyzard: Linux framebuffer console 1280x800&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;On a Z60m with 1280x800 screen and Intel graphics, I found that I can get the Linux framebuffer console to do full 1280x800 by passing &amp;quot;vga=874&amp;quot; on the kernel's options line.  (Mode 873 is 8bpp; 874 is 16bpp; 875 is 32bpp but for some reason it causes a corrupted display.)&lt;br /&gt;
&lt;br /&gt;
There's a good chance this'd work on a model with an ATI GPU instead of the Intel one, and there's probably an analogous fullscreen mode for the 1680x1050 screens too.&lt;/div&gt;</summary>
		<author><name>Wyzard</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Problems_with_SATA_and_Linux&amp;diff=24080</id>
		<title>Talk:Problems with SATA and Linux</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Problems_with_SATA_and_Linux&amp;diff=24080"/>
		<updated>2006-08-12T04:09:13Z</updated>

		<summary type="html">&lt;p&gt;Wyzard: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
I'm running gentoo on my T43; I had problems with X11 (opensource radeon driver) and a SATA-patched kernel (I tried both 2.6.14 and 2.6.15-gentoo). Suspend to RAM worked nicely, but starting X freezed the machine after a short time. I tried removing radeonfb from the kernel; with vesafb, everything seems to work.&lt;br /&gt;
&lt;br /&gt;
-- Stefan, 10 Jan 2006&lt;br /&gt;
&lt;br /&gt;
--------&lt;br /&gt;
That's strange - with the libata passthrough (IDE driver not in kernel) as set up in the text, my t43p DVD drive also will not record as hinted in the wikipage...  DMA works fine, so DVD playing / ripping is smooth and quick.  CD record functions also are absent.  I have PATA enabled, and the suspend + SMART patches applied over 2.6.14.2.&lt;br /&gt;
--------&lt;br /&gt;
I can confirm this with 2.6.14.4, however with 2.6.15/15.1 with sata_pm patch it works.&lt;br /&gt;
&lt;br /&gt;
-- Rasto, 24 Jan 2006&lt;br /&gt;
&lt;br /&gt;
--------&lt;br /&gt;
regarding the &amp;quot;BIOS error 2010 on user-installed hard disk&amp;quot;:&lt;br /&gt;
the text says that corruption occurs if you use a harddisk without the specific ibm bios. would be interesting if it is possible to fix this problem in the kernel so that you can use any disk and the kernel doesn't use specific ATA commands which are known to cause problems.&lt;br /&gt;
&lt;br /&gt;
in the tabook i didn't find any specification of the SATA bridge. it would be interesting:&lt;br /&gt;
1) what type it is&lt;br /&gt;
2) if it is fixed on the mainboard or if it is possible to solder in a new one&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Another interesting question is whether these ThinkPads can be hacked to accept a real SATA system disk, by bypassing the SATA-to-PATA bridge (this would probably involve some soldering and cutting). If the BIOS can also handle that then it may come in handy, since some new high-capacity 2.5&amp;quot; disks have only SATA versions.&lt;br /&gt;
--[[User:Thinker|Thinker]] 02:56, 8 Oct 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Z series'''&lt;br /&gt;
&lt;br /&gt;
Since the Z series uses a SATA controller and disk, without the bridge, would it be possible to make SATA ATAPI support as a module that you could load only when using the optical drive?  Then, for everyday use, the experimental options of PATA and ATAPI with ata_piix would not be needed, moving you one step further in the direction of stability.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I have an R52 with Ubuntu Breezy and no problems with SATA (I personally asked the developers to include the needed patches).&lt;br /&gt;
&lt;br /&gt;
However, I'd like to know wheter there are any advantages with this configuration. Future proof? Power saving? Speed?&lt;br /&gt;
&lt;br /&gt;
Anybody cares to comment?&lt;br /&gt;
&lt;br /&gt;
-- [[User:Micampe|Michele]]&lt;br /&gt;
&lt;br /&gt;
Straight SATA, like in the Z60m/t, will provide better upgrade options in the long run (the hard disk industry is slowly but surely moving to SATA), and maybe a small performance increase if your drive, controller and OS support command queueing (they probably don't). However, with the hybrid ThinkPad models that use a SATA-to-PATA bridge, like your R52, you get all the drawbacks and none of the benefits; plus there's the horrible issue with [[Problem with non-ThinkPad hard disks|drive compatibility]]. My impression is that Lenovo did this just as a convenient (for them!) transition path, in order to use new chipsets without comitting to (temporarily) scarcer and more expensive drives. In any case, they didn't even have the decency to make the UltraBay Slim accept SATA drives. &lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 18:10, 3 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
There is a [[UltraBay Slim SATA HDD Adapter]], but only compatible with the Z series (at least for the moment).&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 03:12, 4 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Is it possible to enable AHCI on the Z60m?  There doesn't seem to be an option for it in the BIOS, even after updating to the latest BIOS version (1.19).  I don't think it's enabled by default since the &amp;quot;ata_piix&amp;quot; driver finds my controller and the &amp;quot;ahci&amp;quot; driver doesn't.&lt;br /&gt;
&lt;br /&gt;
--[[User:Wyzard|Wyzard]] 06:06, 12 August 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
== updated libata_passthru.patch ==&lt;br /&gt;
&lt;br /&gt;
FYI: when using the Suspend-to-RAM patch from http://lkml.org/lkml/2005/9/23/97 against 2.6.14 the libata_passthru.patch from the article doesn't apply any more, so I've put up an updated version at http://linux.spiney.org/system/files?file=02_libata_passthru.fixed.patch&lt;br /&gt;
&lt;br /&gt;
I give no warranties whatsoever whether it works or kills your hardware, but since I just removed duplicate parts already in the Suspend-to-RAM patch it should be ok.&lt;br /&gt;
&lt;br /&gt;
--[[User:spiney|spiney]] 19:04, 4 Nov 2005 (CET)&lt;br /&gt;
&lt;br /&gt;
Hi&lt;br /&gt;
&lt;br /&gt;
Running 2.6.16-rc4 and I'm running into scsci errors and Input/output&lt;br /&gt;
errrors when resuming from suspend to ram.  The suspend patch is&lt;br /&gt;
supposed to be in 2.6.16-rc1 and I'm booting with&lt;br /&gt;
&lt;br /&gt;
title= 2.6.16-rc4&lt;br /&gt;
root (hd0,0)&lt;br /&gt;
kernel /boot/kernel-2.6.16-rc4  root=/dev/sda3 ro combined_mode=libata&lt;br /&gt;
libata.atapi_enabled=1 acpi_sleep=s3_bios processor.max_cstate=2&lt;br /&gt;
elevator=cfq ide1=noprobe&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Don't know about -rc4, but -rc3 worked without problems, could you try that one instead? Maybe there was some bug introduced between these two versions. What's combined_mode=libata BTW?&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 08:28, 23 February 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
== ATA_ENABLE_PATA PCI IDs ==&lt;br /&gt;
&lt;br /&gt;
Spiney, could you extend the article to explain what and why are the PCI IDs in the footnote about ATA_ENABLE_PATA?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 21:59, 4 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Ok, done, feel free to fix the table because I'm a bit struggling with Wiki-style editing. ;) As for the why, those PCI IDs are the only ones affected by the ATA_ENABLE_PATA, as seen in {{path|drivers/scsi/ata_piix.c}} in the kernel source.&lt;br /&gt;
&lt;br /&gt;
--[[User:spiney|spiney]] 11:19, 5 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Will other cards work without ATA_ENABLE_PATA, or just fail? In the former case your instructions are right, but in the latter case we should tell the user to check the list of IDs in his ''current'' kernel and, if there's no match, to give up in the first place instead of following the rest of the instructions.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 12:48, 5 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
AFAICT if the chipset is supported by libata it will work, regardless of what low-level driver is used. Of course if there is no low-level driver for the chipset then even using the harddisk via libata will fail, but that's a different story. At least ATA_ENABLE_PATA will then make no difference since it's Intel PIIX (and compatible) only.&lt;br /&gt;
&lt;br /&gt;
--[[User:spiney|spiney]] 13:24, 5 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Not sure I got you. Is there any case where the instructions will work without ATA_ENABLE_PATA, given that all ThinkPad optical drives are PATA?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 13:41, 5 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The instructions will work without ATA_ENABLE_PATA unless the Thinkpad uses one of the three chipsets listed in the article, as long as libata works at all, i.e. the system drive shows up as /dev/sda. The #define doesn't change the behaviour of libata for any other chipset, it's [http://linux.yyz.us/sata/sata-status.html#ich5 ata_piix] only.&lt;br /&gt;
&lt;br /&gt;
Since I don't have a machine with one of the three chipsets (anyone?), I can't tell whether those work at all with libata, but I guess there's a reason why they're not enabled by default. It's just that defining ATA_ENABLE_PATA is only making sense for these three chipsets.&lt;br /&gt;
&lt;br /&gt;
Any clearer now? If not, just run {{cmd|grep -r ATA_ENABLE_PATA /path/to/kernelsource|}} and see how seldom and where the #define is used.&lt;br /&gt;
&lt;br /&gt;
--[[User:spiney|spiney]] 14:55, 5 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
All clear now. I thought it will work only if you have these chipsets ''and'' ATA_ENABLE_PATA=1. Thanks for the explanation!&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 15:12, 5 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Does any of the relevant ThinkPad models (listed in the article) use these chips? They look too old to be found on the SATA models.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 23:35, 9 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I don't think so, I was about to add &amp;quot;in the unlikely event that you own one of these chipsets&amp;quot; or something.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 07:56, 10 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== DVD DMA with ide/sata as module ==&lt;br /&gt;
&lt;br /&gt;
Did anyone get DVD DMA to work with either the IDE or SATA drivers compiled as modules? If so, please fill in the missing details in that section. I have it working only with both IDE and SATA built-in.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 17:58, 16 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Basically using a Live-CD with a recent kernel (is there one with 2.6.14 already?) would be sufficient, since they usually use an initrd or something similar, don't they? I'll give the Debian distribution kernel a try when I get around to it  (bit busy atm), after all there's 2.6.14 in sid.&lt;br /&gt;
&lt;br /&gt;
But for people using their own kernel compiled from source I see no point in doing the module+initrd thing anyway, unless you want LVM for the root filesystem or other funky stuff.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 19:22, 16 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hi&lt;br /&gt;
&lt;br /&gt;
Can anyone tell me how those modules are called?&lt;br /&gt;
&lt;br /&gt;
Thomas&lt;br /&gt;
--[[User:Thomas|thomas]] 19:48, 23 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Where the hell do I find the libata module? &lt;br /&gt;
&lt;br /&gt;
--[[User:squashball|squashball]] 09:09, 11 June 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
The relevant driver is called ata_piix. The ata_piix driver uses a chunk of shared kernel code called libata.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 09:33, 11 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Ok, Thanks. Nevertheless I am not able to get my drive working. It's a T60...&lt;br /&gt;
&lt;br /&gt;
--[[User:squashball|squashball]] 12:29, 12 June 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
Your T60 uses AHCI by default. You have to change the BIOS settings to &amp;quot;compatibility mode&amp;quot; to use the HDD and DVD drive with ata_piix. Then, you're also able to hotswap your ultrabay. But for this, a patch for ibm_acpi is needed.&lt;br /&gt;
&lt;br /&gt;
--[[User:Whoopie|Whoopie]] 14:57, 12 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Yeah, thanks, it's working now! Where was I supposed to find this info?&lt;br /&gt;
EDIT: But DMA is still off and can't be enabled.&lt;br /&gt;
&lt;br /&gt;
--[[User:squashball|squashball]] 07:58, 13 June 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
DMA is enabled by default with libata. Do a &amp;quot;dmesg |grep DMA&amp;quot; and you'll see. You can't use hdparm to see the settings for your hdd. BTW, if you have more questions, you could join IRC ##ibmthinkpad.&lt;br /&gt;
&lt;br /&gt;
--[[User:Whoopie|Whoopie]] 11:04, 13 June 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== occasional hang upon resume with various kernels ==&lt;br /&gt;
&lt;br /&gt;
I keep having trouble with resume after suspend to ram. Occasionally, it takes longer to wake up and then is in a semi-hanged &lt;br /&gt;
state, i.e. nothing having to do with actual reading from the disk works. (what was running, as aterm &lt;br /&gt;
is still running, ls works, when the listing is buffered, but hangs if it is not). &lt;br /&gt;
Kernel is 2.6.15 with sata-pm patch. Later 2.6.15 kernels hang always and it's the same with 2.6.16. &lt;br /&gt;
Could perhaps somebody, for whom it works without problems post his .config somewhere? &lt;br /&gt;
I'm out of ideas. &lt;br /&gt;
&lt;br /&gt;
--[[User:Rasto|Rasto]] 14:46, 20 March 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
I have the same problem with my x41 and 2.6.16 or 2.6.16-r1 running on Gentoo. Sometimes resume is ok and sometimes the disk doesn't resume. I can't see any log because the disk is unwritable after resume. The logs on F12 is full of io error.&lt;br /&gt;
I tested many different kernel configs, unloading modules before suspend, stopping services...&lt;br /&gt;
Like Rasto, I'm out of ideas...&lt;br /&gt;
&lt;br /&gt;
--[[User:Pplr|Pplr]] 19:21, 8 April 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
You could try http://rtr.ca/dell_i9300/kernel/kernel-2.6.16/02_libata_resume_fix.patch&lt;br /&gt;
This patch worked for me.&lt;br /&gt;
&lt;br /&gt;
--[[User:Whoopie|Whoopie]] 21:21, 8 April 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Hello, according to the first lines of the article, resume does not work prior to kernel 2.6.16, i.e. the computer hangs up just a second after it comes back. I just switched from 2.6.15 to 2.6.16 but the problem still remains. I have a Z60M thinkpad. So this has obviously the same problem as the T60.&lt;br /&gt;
&lt;br /&gt;
-- [[User:Bjoern.thalheim|BjÃ¶rn]] 14:37, 10 April 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Increasing the timeouts seems to do the trick. I applied it about two weeks ago, and it works since. &lt;br /&gt;
&lt;br /&gt;
-- [[User:Rasto|Rasto]] 09:59, 11 April 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Ubuntu Dapper with 2.6.15-23 is also exhibiting this problem even though the sata_pm patch is applied.  Bjorn, which timeout are you referring to?&lt;br /&gt;
&lt;br /&gt;
-- [[User:nmuntz|nmuntz]] 09:08, 13 June 2006 (MDT)&lt;br /&gt;
&lt;br /&gt;
== Suspend to RAM on X41 not working with Debian-packaged 2.6.16 ==&lt;br /&gt;
&lt;br /&gt;
I just tried the Debian package of the Linux 2.6.16 kernel on my [[X41]] to see if suspend-to-RAM would work. Unfortunately, it didn't. The laptop suspends just fine, but when it's turned back on, the backlight remains off, there is a lot of disk activity for a while, and then the computer just shuts off. When turned on again, it boots normally. Suspend-to-disk works fine, just like before.&lt;br /&gt;
&lt;br /&gt;
On a different note, CPU throttling broke on my system with the new kernel. I can no longer modprobe acpi-cpufreq. [[User:Ehn|Ehn]] 04:28, 22 March 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
:The latter issue was solved by using speedstep-centrino instead of acpi-cpufreq. [[User:Ehn|Ehn]] 23:25, 9 April 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Neither problem is related to this article, so it's unlikely to be answered here.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 17:37, 22 March 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hm. It seems to be a problem with sata power management for me, so I guess this could be one of the places. &lt;br /&gt;
&lt;br /&gt;
[[User:Rasto|Rasto]] 17:45, 22 March 2006 (CET)&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
Ehn, by &amp;quot;disk activity&amp;quot; do you mean a constantly on HDD LED and no disk movement noises, or ''real'' disk activity with the LED flashing and disk noise? The former is likely to be the SATA problem, the latter rules out the SATA problem.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 18:44, 22 March 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
:The latter. There is real disk activity, indicated by LED flashing &amp;lt;em&amp;gt;and&amp;lt;/em&amp;gt; disk movement noise, for about 30 seconds, before the machine gives up and shuts down. If this is not SATA-related, what might it be? [[User:Ehn|Ehn]] 23:23, 9 April 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Sorry, I didn't realize Ehn has two problems, and I considered your post as aimed at my and Ehn's. Never mind then.&lt;br /&gt;
&lt;br /&gt;
[[User:Rasto|Rasto]] 10:47, 23 March 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
== Problem with 2.6.16 ==&lt;br /&gt;
&lt;br /&gt;
ok, seems like we have a new problem:&lt;br /&gt;
After upgrading from 2.6.15 to 2.6.16 my DVD device is not recognised anymore by libsata.&lt;br /&gt;
The only way to get working is by using the ide layer - without DMA of course.&lt;br /&gt;
Can anyone confirm this?&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Erik]] 17:49, 23 Mar 2006 (CET)&lt;br /&gt;
--------&lt;br /&gt;
&lt;br /&gt;
Try the kernel parameter '''combined_mode=libata''', does this help? Also, have you enabled libata's ATAPI support as described in the article?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 20:31, 23 March 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Yes, I'm using the command line parameter libata.atapi_enable=1 - up to 2.6.15 it works fine.&lt;br /&gt;
About the combined_mode parameter: Also tried it, though the Author of this patch mentioned that the default behavior did not changed.&lt;br /&gt;
I will continue hungting this problem when I find some time.&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Erik]] 7:12, 24 Mar 2006 (CET)&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
I can confirm Eriks problem.  After updating to 2.6.16 I have it, too.  libata.atapi_enable=1 is still on kernel command line.  With some help of Michael Ott I figured out that this only happens if you have the current suspend2 patches applied.&lt;br /&gt;
Using a vanilla 2.6.16 works as expected. &lt;br /&gt;
&lt;br /&gt;
--[[User:Mobst|mobst]]  14:30, 24 Mar 2006 (CET)&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Ahh thanks. Finding the problem in the suspend2 patch should be an easy task.&lt;br /&gt;
I just hope for some free time this weekend!&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Erik]] 18:31, 24 Mar 2006 (CET)&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Uhm, looks like [[ZolnOtt|ZolnOtt]] was faster, he added the note to&lt;br /&gt;
http://thinkwiki.org/wiki/Problems_with_SATA_and_Linux#No_DMA_on_DVD_drive&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Erik]] 20:02, 24 Mar 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
== Patch against SATA-resume problem with T60 ==&lt;br /&gt;
&lt;br /&gt;
I only have a Fujitsu-Siemens C1320, but I had the same problem with resuming from suspend with a SATA disk and kernel 2.6.16 as mentioned for the T60.  I solved the problem for me by merging several patches (patches.fixes/libata-increase-timeout-for-resume, patches.fixes/ahci-suspend, patches.fixes/ahci-atapi-sense-request, patches.drivers/libata-acpi-suspend, patches.fixes/libata-resume-drive_port-mode, patches.fixes/ahci-init-on-resume, patches.drivers/libata-device-spindown)&lt;br /&gt;
from the OpenSuSE kernel 2.6.16-12 to vanilla 2.6.16.5. You'll find my patch at http://www.spinnaker.de/linux/c1320/sata-resume-2.6.16.5.patch.  I expect this to solve the T60 problem, so I provide the patch here, as this wiki helped me so much with my laptop.&lt;br /&gt;
&lt;br /&gt;
--[[User:Rrosenfeld|Rrosenfeld]] 23:12, 16 April 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
I just want to let you know that I managed to get Suspend-to-RAM working on the T60. I'm using Gentoo's suspend2-sources-2.6.16-r2 as base and applied the above patches from Rrosenfeld (thanks!) and additionally this [https://bugzilla.novell.com/attachment.cgi?id=75844&amp;amp;action=view one] (here the corresponding [https://bugzilla.novell.com/show_bug.cgi?id=162090 bug]).&lt;br /&gt;
&lt;br /&gt;
--[[User:Sts|sts]] 22:52, 17 April 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
same here. applied both patches to gentoo suspend-sources-2.6.16-r5 --- working. sweet.&lt;br /&gt;
&lt;br /&gt;
--[[User:Husemann|dr who]] 21:51, 3 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
however: powersave (powersaved) is a spoiler: it will cause the resume operation to get stuck at &amp;quot;reading back caches&amp;quot; and eventually result in a kernel panic. stopping powersaved before hibernating does not prevent it: it seems that running powersaved just once will screw things up. interesting and nasty. but not a show stopper (IMHO).&lt;br /&gt;
&lt;br /&gt;
--[[User:Husemann|dr who]] 17:14, 10 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
that's not powersaved's fault. kernel panics are always kernel (or hardware) bugs. i experienced this kind of lockups when using different cpufreq governors at once (that's probaly something one shoudln't do?). i'm now using only cpufreq_userspace and don't have any problems.&lt;br /&gt;
&lt;br /&gt;
--[[User:Sts|sts]] 15:11, 11 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Having exactly the same SATA wakeup problem on my Z60t, using FC5. Can the patch from rosenfeld be applied also to the FC5 kernelsource?&lt;br /&gt;
&lt;br /&gt;
--[[User:SzentivÃ¡nyi|szenti]] 21:29, 11 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Latest fedora (FC5) 2.6.17-1.2139_FC5smp kernel solved the problem on my T60p. I have successfully resumed a number of times now.&lt;br /&gt;
&lt;br /&gt;
--[[User:Gfbarros|Guil]] 20:38, 27 June 2006 (CEST)&lt;/div&gt;</summary>
		<author><name>Wyzard</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Problems_with_SATA_and_Linux&amp;diff=24079</id>
		<title>Talk:Problems with SATA and Linux</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Problems_with_SATA_and_Linux&amp;diff=24079"/>
		<updated>2006-08-12T04:06:25Z</updated>

		<summary type="html">&lt;p&gt;Wyzard: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
I'm running gentoo on my T43; I had problems with X11 (opensource radeon driver) and a SATA-patched kernel (I tried both 2.6.14 and 2.6.15-gentoo). Suspend to RAM worked nicely, but starting X freezed the machine after a short time. I tried removing radeonfb from the kernel; with vesafb, everything seems to work.&lt;br /&gt;
&lt;br /&gt;
-- Stefan, 10 Jan 2006&lt;br /&gt;
&lt;br /&gt;
--------&lt;br /&gt;
That's strange - with the libata passthrough (IDE driver not in kernel) as set up in the text, my t43p DVD drive also will not record as hinted in the wikipage...  DMA works fine, so DVD playing / ripping is smooth and quick.  CD record functions also are absent.  I have PATA enabled, and the suspend + SMART patches applied over 2.6.14.2.&lt;br /&gt;
--------&lt;br /&gt;
I can confirm this with 2.6.14.4, however with 2.6.15/15.1 with sata_pm patch it works.&lt;br /&gt;
&lt;br /&gt;
-- Rasto, 24 Jan 2006&lt;br /&gt;
&lt;br /&gt;
--------&lt;br /&gt;
regarding the &amp;quot;BIOS error 2010 on user-installed hard disk&amp;quot;:&lt;br /&gt;
the text says that corruption occurs if you use a harddisk without the specific ibm bios. would be interesting if it is possible to fix this problem in the kernel so that you can use any disk and the kernel doesn't use specific ATA commands which are known to cause problems.&lt;br /&gt;
&lt;br /&gt;
in the tabook i didn't find any specification of the SATA bridge. it would be interesting:&lt;br /&gt;
1) what type it is&lt;br /&gt;
2) if it is fixed on the mainboard or if it is possible to solder in a new one&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Another interesting question is whether these ThinkPads can be hacked to accept a real SATA system disk, by bypassing the SATA-to-PATA bridge (this would probably involve some soldering and cutting). If the BIOS can also handle that then it may come in handy, since some new high-capacity 2.5&amp;quot; disks have only SATA versions.&lt;br /&gt;
--[[User:Thinker|Thinker]] 02:56, 8 Oct 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Z series'''&lt;br /&gt;
&lt;br /&gt;
Since the Z series uses a SATA controller and disk, without the bridge, would it be possible to make SATA ATAPI support as a module that you could load only when using the optical drive?  Then, for everyday use, the experimental options of PATA and ATAPI with ata_piix would not be needed, moving you one step further in the direction of stability.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I have an R52 with Ubuntu Breezy and no problems with SATA (I personally asked the developers to include the needed patches).&lt;br /&gt;
&lt;br /&gt;
However, I'd like to know wheter there are any advantages with this configuration. Future proof? Power saving? Speed?&lt;br /&gt;
&lt;br /&gt;
Anybody cares to comment?&lt;br /&gt;
&lt;br /&gt;
-- [[User:Micampe|Michele]]&lt;br /&gt;
&lt;br /&gt;
Straight SATA, like in the Z60m/t, will provide better upgrade options in the long run (the hard disk industry is slowly but surely moving to SATA), and maybe a small performance increase if your drive, controller and OS support command queueing (they probably don't). However, with the hybrid ThinkPad models that use a SATA-to-PATA bridge, like your R52, you get all the drawbacks and none of the benefits; plus there's the horrible issue with [[Problem with non-ThinkPad hard disks|drive compatibility]]. My impression is that Lenovo did this just as a convenient (for them!) transition path, in order to use new chipsets without comitting to (temporarily) scarcer and more expensive drives. In any case, they didn't even have the decency to make the UltraBay Slim accept SATA drives. &lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 18:10, 3 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
There is a [[UltraBay Slim SATA HDD Adapter]], but only compatible with the Z series (at least for the moment).&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 03:12, 4 Nov 2005 (CET)&lt;br /&gt;
&lt;br /&gt;
== updated libata_passthru.patch ==&lt;br /&gt;
&lt;br /&gt;
FYI: when using the Suspend-to-RAM patch from http://lkml.org/lkml/2005/9/23/97 against 2.6.14 the libata_passthru.patch from the article doesn't apply any more, so I've put up an updated version at http://linux.spiney.org/system/files?file=02_libata_passthru.fixed.patch&lt;br /&gt;
&lt;br /&gt;
I give no warranties whatsoever whether it works or kills your hardware, but since I just removed duplicate parts already in the Suspend-to-RAM patch it should be ok.&lt;br /&gt;
&lt;br /&gt;
--[[User:spiney|spiney]] 19:04, 4 Nov 2005 (CET)&lt;br /&gt;
&lt;br /&gt;
Hi&lt;br /&gt;
&lt;br /&gt;
Running 2.6.16-rc4 and I'm running into scsci errors and Input/output&lt;br /&gt;
errrors when resuming from suspend to ram.  The suspend patch is&lt;br /&gt;
supposed to be in 2.6.16-rc1 and I'm booting with&lt;br /&gt;
&lt;br /&gt;
title= 2.6.16-rc4&lt;br /&gt;
root (hd0,0)&lt;br /&gt;
kernel /boot/kernel-2.6.16-rc4  root=/dev/sda3 ro combined_mode=libata&lt;br /&gt;
libata.atapi_enabled=1 acpi_sleep=s3_bios processor.max_cstate=2&lt;br /&gt;
elevator=cfq ide1=noprobe&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Don't know about -rc4, but -rc3 worked without problems, could you try that one instead? Maybe there was some bug introduced between these two versions. What's combined_mode=libata BTW?&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 08:28, 23 February 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Is it possible to enable AHCI on the Z60m?  There doesn't seem to be an option for it in the BIOS, even after updating to the latest BIOS version (1.19).  I don't think it's enabled by default since the &amp;quot;ata_piix&amp;quot; driver finds my controller and the &amp;quot;ahci&amp;quot; driver doesn't.&lt;br /&gt;
&lt;br /&gt;
--[[User:Wyzard|Wyzard]] 06:06, 12 August 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
== ATA_ENABLE_PATA PCI IDs ==&lt;br /&gt;
&lt;br /&gt;
Spiney, could you extend the article to explain what and why are the PCI IDs in the footnote about ATA_ENABLE_PATA?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 21:59, 4 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Ok, done, feel free to fix the table because I'm a bit struggling with Wiki-style editing. ;) As for the why, those PCI IDs are the only ones affected by the ATA_ENABLE_PATA, as seen in {{path|drivers/scsi/ata_piix.c}} in the kernel source.&lt;br /&gt;
&lt;br /&gt;
--[[User:spiney|spiney]] 11:19, 5 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Will other cards work without ATA_ENABLE_PATA, or just fail? In the former case your instructions are right, but in the latter case we should tell the user to check the list of IDs in his ''current'' kernel and, if there's no match, to give up in the first place instead of following the rest of the instructions.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 12:48, 5 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
AFAICT if the chipset is supported by libata it will work, regardless of what low-level driver is used. Of course if there is no low-level driver for the chipset then even using the harddisk via libata will fail, but that's a different story. At least ATA_ENABLE_PATA will then make no difference since it's Intel PIIX (and compatible) only.&lt;br /&gt;
&lt;br /&gt;
--[[User:spiney|spiney]] 13:24, 5 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Not sure I got you. Is there any case where the instructions will work without ATA_ENABLE_PATA, given that all ThinkPad optical drives are PATA?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 13:41, 5 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The instructions will work without ATA_ENABLE_PATA unless the Thinkpad uses one of the three chipsets listed in the article, as long as libata works at all, i.e. the system drive shows up as /dev/sda. The #define doesn't change the behaviour of libata for any other chipset, it's [http://linux.yyz.us/sata/sata-status.html#ich5 ata_piix] only.&lt;br /&gt;
&lt;br /&gt;
Since I don't have a machine with one of the three chipsets (anyone?), I can't tell whether those work at all with libata, but I guess there's a reason why they're not enabled by default. It's just that defining ATA_ENABLE_PATA is only making sense for these three chipsets.&lt;br /&gt;
&lt;br /&gt;
Any clearer now? If not, just run {{cmd|grep -r ATA_ENABLE_PATA /path/to/kernelsource|}} and see how seldom and where the #define is used.&lt;br /&gt;
&lt;br /&gt;
--[[User:spiney|spiney]] 14:55, 5 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
All clear now. I thought it will work only if you have these chipsets ''and'' ATA_ENABLE_PATA=1. Thanks for the explanation!&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 15:12, 5 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Does any of the relevant ThinkPad models (listed in the article) use these chips? They look too old to be found on the SATA models.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 23:35, 9 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I don't think so, I was about to add &amp;quot;in the unlikely event that you own one of these chipsets&amp;quot; or something.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 07:56, 10 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== DVD DMA with ide/sata as module ==&lt;br /&gt;
&lt;br /&gt;
Did anyone get DVD DMA to work with either the IDE or SATA drivers compiled as modules? If so, please fill in the missing details in that section. I have it working only with both IDE and SATA built-in.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 17:58, 16 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Basically using a Live-CD with a recent kernel (is there one with 2.6.14 already?) would be sufficient, since they usually use an initrd or something similar, don't they? I'll give the Debian distribution kernel a try when I get around to it  (bit busy atm), after all there's 2.6.14 in sid.&lt;br /&gt;
&lt;br /&gt;
But for people using their own kernel compiled from source I see no point in doing the module+initrd thing anyway, unless you want LVM for the root filesystem or other funky stuff.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 19:22, 16 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hi&lt;br /&gt;
&lt;br /&gt;
Can anyone tell me how those modules are called?&lt;br /&gt;
&lt;br /&gt;
Thomas&lt;br /&gt;
--[[User:Thomas|thomas]] 19:48, 23 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Where the hell do I find the libata module? &lt;br /&gt;
&lt;br /&gt;
--[[User:squashball|squashball]] 09:09, 11 June 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
The relevant driver is called ata_piix. The ata_piix driver uses a chunk of shared kernel code called libata.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 09:33, 11 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Ok, Thanks. Nevertheless I am not able to get my drive working. It's a T60...&lt;br /&gt;
&lt;br /&gt;
--[[User:squashball|squashball]] 12:29, 12 June 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
Your T60 uses AHCI by default. You have to change the BIOS settings to &amp;quot;compatibility mode&amp;quot; to use the HDD and DVD drive with ata_piix. Then, you're also able to hotswap your ultrabay. But for this, a patch for ibm_acpi is needed.&lt;br /&gt;
&lt;br /&gt;
--[[User:Whoopie|Whoopie]] 14:57, 12 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Yeah, thanks, it's working now! Where was I supposed to find this info?&lt;br /&gt;
EDIT: But DMA is still off and can't be enabled.&lt;br /&gt;
&lt;br /&gt;
--[[User:squashball|squashball]] 07:58, 13 June 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
DMA is enabled by default with libata. Do a &amp;quot;dmesg |grep DMA&amp;quot; and you'll see. You can't use hdparm to see the settings for your hdd. BTW, if you have more questions, you could join IRC ##ibmthinkpad.&lt;br /&gt;
&lt;br /&gt;
--[[User:Whoopie|Whoopie]] 11:04, 13 June 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== occasional hang upon resume with various kernels ==&lt;br /&gt;
&lt;br /&gt;
I keep having trouble with resume after suspend to ram. Occasionally, it takes longer to wake up and then is in a semi-hanged &lt;br /&gt;
state, i.e. nothing having to do with actual reading from the disk works. (what was running, as aterm &lt;br /&gt;
is still running, ls works, when the listing is buffered, but hangs if it is not). &lt;br /&gt;
Kernel is 2.6.15 with sata-pm patch. Later 2.6.15 kernels hang always and it's the same with 2.6.16. &lt;br /&gt;
Could perhaps somebody, for whom it works without problems post his .config somewhere? &lt;br /&gt;
I'm out of ideas. &lt;br /&gt;
&lt;br /&gt;
--[[User:Rasto|Rasto]] 14:46, 20 March 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
I have the same problem with my x41 and 2.6.16 or 2.6.16-r1 running on Gentoo. Sometimes resume is ok and sometimes the disk doesn't resume. I can't see any log because the disk is unwritable after resume. The logs on F12 is full of io error.&lt;br /&gt;
I tested many different kernel configs, unloading modules before suspend, stopping services...&lt;br /&gt;
Like Rasto, I'm out of ideas...&lt;br /&gt;
&lt;br /&gt;
--[[User:Pplr|Pplr]] 19:21, 8 April 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
You could try http://rtr.ca/dell_i9300/kernel/kernel-2.6.16/02_libata_resume_fix.patch&lt;br /&gt;
This patch worked for me.&lt;br /&gt;
&lt;br /&gt;
--[[User:Whoopie|Whoopie]] 21:21, 8 April 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Hello, according to the first lines of the article, resume does not work prior to kernel 2.6.16, i.e. the computer hangs up just a second after it comes back. I just switched from 2.6.15 to 2.6.16 but the problem still remains. I have a Z60M thinkpad. So this has obviously the same problem as the T60.&lt;br /&gt;
&lt;br /&gt;
-- [[User:Bjoern.thalheim|BjÃ¶rn]] 14:37, 10 April 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Increasing the timeouts seems to do the trick. I applied it about two weeks ago, and it works since. &lt;br /&gt;
&lt;br /&gt;
-- [[User:Rasto|Rasto]] 09:59, 11 April 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Ubuntu Dapper with 2.6.15-23 is also exhibiting this problem even though the sata_pm patch is applied.  Bjorn, which timeout are you referring to?&lt;br /&gt;
&lt;br /&gt;
-- [[User:nmuntz|nmuntz]] 09:08, 13 June 2006 (MDT)&lt;br /&gt;
&lt;br /&gt;
== Suspend to RAM on X41 not working with Debian-packaged 2.6.16 ==&lt;br /&gt;
&lt;br /&gt;
I just tried the Debian package of the Linux 2.6.16 kernel on my [[X41]] to see if suspend-to-RAM would work. Unfortunately, it didn't. The laptop suspends just fine, but when it's turned back on, the backlight remains off, there is a lot of disk activity for a while, and then the computer just shuts off. When turned on again, it boots normally. Suspend-to-disk works fine, just like before.&lt;br /&gt;
&lt;br /&gt;
On a different note, CPU throttling broke on my system with the new kernel. I can no longer modprobe acpi-cpufreq. [[User:Ehn|Ehn]] 04:28, 22 March 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
:The latter issue was solved by using speedstep-centrino instead of acpi-cpufreq. [[User:Ehn|Ehn]] 23:25, 9 April 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Neither problem is related to this article, so it's unlikely to be answered here.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 17:37, 22 March 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hm. It seems to be a problem with sata power management for me, so I guess this could be one of the places. &lt;br /&gt;
&lt;br /&gt;
[[User:Rasto|Rasto]] 17:45, 22 March 2006 (CET)&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
Ehn, by &amp;quot;disk activity&amp;quot; do you mean a constantly on HDD LED and no disk movement noises, or ''real'' disk activity with the LED flashing and disk noise? The former is likely to be the SATA problem, the latter rules out the SATA problem.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 18:44, 22 March 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
:The latter. There is real disk activity, indicated by LED flashing &amp;lt;em&amp;gt;and&amp;lt;/em&amp;gt; disk movement noise, for about 30 seconds, before the machine gives up and shuts down. If this is not SATA-related, what might it be? [[User:Ehn|Ehn]] 23:23, 9 April 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Sorry, I didn't realize Ehn has two problems, and I considered your post as aimed at my and Ehn's. Never mind then.&lt;br /&gt;
&lt;br /&gt;
[[User:Rasto|Rasto]] 10:47, 23 March 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
== Problem with 2.6.16 ==&lt;br /&gt;
&lt;br /&gt;
ok, seems like we have a new problem:&lt;br /&gt;
After upgrading from 2.6.15 to 2.6.16 my DVD device is not recognised anymore by libsata.&lt;br /&gt;
The only way to get working is by using the ide layer - without DMA of course.&lt;br /&gt;
Can anyone confirm this?&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Erik]] 17:49, 23 Mar 2006 (CET)&lt;br /&gt;
--------&lt;br /&gt;
&lt;br /&gt;
Try the kernel parameter '''combined_mode=libata''', does this help? Also, have you enabled libata's ATAPI support as described in the article?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 20:31, 23 March 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Yes, I'm using the command line parameter libata.atapi_enable=1 - up to 2.6.15 it works fine.&lt;br /&gt;
About the combined_mode parameter: Also tried it, though the Author of this patch mentioned that the default behavior did not changed.&lt;br /&gt;
I will continue hungting this problem when I find some time.&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Erik]] 7:12, 24 Mar 2006 (CET)&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
I can confirm Eriks problem.  After updating to 2.6.16 I have it, too.  libata.atapi_enable=1 is still on kernel command line.  With some help of Michael Ott I figured out that this only happens if you have the current suspend2 patches applied.&lt;br /&gt;
Using a vanilla 2.6.16 works as expected. &lt;br /&gt;
&lt;br /&gt;
--[[User:Mobst|mobst]]  14:30, 24 Mar 2006 (CET)&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Ahh thanks. Finding the problem in the suspend2 patch should be an easy task.&lt;br /&gt;
I just hope for some free time this weekend!&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Erik]] 18:31, 24 Mar 2006 (CET)&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Uhm, looks like [[ZolnOtt|ZolnOtt]] was faster, he added the note to&lt;br /&gt;
http://thinkwiki.org/wiki/Problems_with_SATA_and_Linux#No_DMA_on_DVD_drive&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Erik]] 20:02, 24 Mar 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
== Patch against SATA-resume problem with T60 ==&lt;br /&gt;
&lt;br /&gt;
I only have a Fujitsu-Siemens C1320, but I had the same problem with resuming from suspend with a SATA disk and kernel 2.6.16 as mentioned for the T60.  I solved the problem for me by merging several patches (patches.fixes/libata-increase-timeout-for-resume, patches.fixes/ahci-suspend, patches.fixes/ahci-atapi-sense-request, patches.drivers/libata-acpi-suspend, patches.fixes/libata-resume-drive_port-mode, patches.fixes/ahci-init-on-resume, patches.drivers/libata-device-spindown)&lt;br /&gt;
from the OpenSuSE kernel 2.6.16-12 to vanilla 2.6.16.5. You'll find my patch at http://www.spinnaker.de/linux/c1320/sata-resume-2.6.16.5.patch.  I expect this to solve the T60 problem, so I provide the patch here, as this wiki helped me so much with my laptop.&lt;br /&gt;
&lt;br /&gt;
--[[User:Rrosenfeld|Rrosenfeld]] 23:12, 16 April 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
I just want to let you know that I managed to get Suspend-to-RAM working on the T60. I'm using Gentoo's suspend2-sources-2.6.16-r2 as base and applied the above patches from Rrosenfeld (thanks!) and additionally this [https://bugzilla.novell.com/attachment.cgi?id=75844&amp;amp;action=view one] (here the corresponding [https://bugzilla.novell.com/show_bug.cgi?id=162090 bug]).&lt;br /&gt;
&lt;br /&gt;
--[[User:Sts|sts]] 22:52, 17 April 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
same here. applied both patches to gentoo suspend-sources-2.6.16-r5 --- working. sweet.&lt;br /&gt;
&lt;br /&gt;
--[[User:Husemann|dr who]] 21:51, 3 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
however: powersave (powersaved) is a spoiler: it will cause the resume operation to get stuck at &amp;quot;reading back caches&amp;quot; and eventually result in a kernel panic. stopping powersaved before hibernating does not prevent it: it seems that running powersaved just once will screw things up. interesting and nasty. but not a show stopper (IMHO).&lt;br /&gt;
&lt;br /&gt;
--[[User:Husemann|dr who]] 17:14, 10 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
that's not powersaved's fault. kernel panics are always kernel (or hardware) bugs. i experienced this kind of lockups when using different cpufreq governors at once (that's probaly something one shoudln't do?). i'm now using only cpufreq_userspace and don't have any problems.&lt;br /&gt;
&lt;br /&gt;
--[[User:Sts|sts]] 15:11, 11 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Having exactly the same SATA wakeup problem on my Z60t, using FC5. Can the patch from rosenfeld be applied also to the FC5 kernelsource?&lt;br /&gt;
&lt;br /&gt;
--[[User:SzentivÃ¡nyi|szenti]] 21:29, 11 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Latest fedora (FC5) 2.6.17-1.2139_FC5smp kernel solved the problem on my T60p. I have successfully resumed a number of times now.&lt;br /&gt;
&lt;br /&gt;
--[[User:Gfbarros|Guil]] 20:38, 27 June 2006 (CEST)&lt;/div&gt;</summary>
		<author><name>Wyzard</name></author>
		
	</entry>
</feed>