[PATCH RESEND] SCSI: sd: don't fail if the device doesn't recognize SYNCHRONIZE CACHE

2014-03-03 Thread Daniel Mack
from going into suspend. Therefore sd_sync_cache() shouldn't return an error if the device replies with an Invalid Command ASC. Signed-off-by: Alan Stern st...@rowland.harvard.edu Reported-by: Sven Neumann s.neum...@raumfeld.com Tested-by: Daniel Mack zon...@gmail.com CC: Oliver Neukum oli

Re: [PATCH] SCSI: sd: don't fail if the device doesn't recognize SYNCHRONIZE CACHE

2014-02-17 Thread Daniel Mack
On 02/05/2014 12:04 PM, Daniel Mack wrote: On 01/15/2014 09:37 PM, Alan Stern wrote: Evidently some wacky USB-ATA bridges don't recognize the SYNCHRONIZE CACHE command, as shown in this email thread: http://marc.info/?t=13897835622r=1w=2 The fact that we can't tell them to drain

Re: [PATCH] SCSI: sd: don't fail if the device doesn't recognize SYNCHRONIZE CACHE

2014-02-05 Thread Daniel Mack
from going into suspend. Therefore sd_sync_cache() shouldn't return an error if the device replies with an Invalid Command ASC. Signed-off-by: Alan Stern st...@rowland.harvard.edu Reported-by: Sven Neumann s.neum...@raumfeld.com Tested-by: Daniel Mack zon...@gmail.com CC: Oliver Neukum oli

Re: Suspend issues with a LaCie USB hard disk connected

2014-01-15 Thread Daniel Mack
Hi, Sorry for the long, primarily holiday-related delay on this. On 12/18/2013 09:46 PM, Alan Stern wrote: On Wed, 18 Dec 2013, Daniel Mack wrote: I'm facing an issue putting an embedded system to sleep while a Lacie external USB hard disk is connected. Relevant kernel messages that occur

Re: Suspend issues with a LaCie USB hard disk connected

2014-01-15 Thread Daniel Mack
Hi Alan, On 01/15/2014 06:19 PM, Alan Stern wrote: On Wed, 15 Jan 2014, Daniel Mack wrote: Hi, Sorry for the long, primarily holiday-related delay on this. On 12/18/2013 09:46 PM, Alan Stern wrote: On Wed, 18 Dec 2013, Daniel Mack wrote: I'm facing an issue putting an embedded system

Suspend issues with a LaCie USB hard disk connected

2013-12-18 Thread Daniel Mack
Hi, I'm facing an issue putting an embedded system to sleep while a Lacie external USB hard disk is connected. Relevant kernel messages that occur at the attempt are: [ 13.834731] PM: Sending message for entering DeepSleep mode [ 13.846575] sd 0:0:0:0: [sda] Synchronizing SCSI cache [