Re: [PATCH] Re: 2.6.17-rc5-git1: regression: resume from suspend(RAM) fails: libata issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sat, 27 May 2006, Mark Lord wrote:
> 
> I got rid of the 500msec delay (not needed on my machine anyway),
> and then added the above code *in front of* the ata_busy_wait().
> 
> Resume worked, with this output:
> 
> May 27 18:03:33 localhost kernel: ATA status 80

Ok, we already knew you had ATA_BUSY set, so bit 7 being set isn't 
surprising at all.

> May 27 18:03:33 localhost kernel: ATA status 00
> 
> Note that the second set are for the DVD-RW drive,
> which (being ATAPI) doesn't assert ATA_DRDY.

Neither of them do. 80 is just your old ATA_BUSY (that you needed to wait 
a long time for to disappear).

Can you move the two new lines to *after* the ata_busy_wait? I'd like to 
see if ATA_DRDY ever comes on (it quite possibly will not, just humor me)

			Linus
-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux