Re: [PATCH] libata: Handle bay devices in dock stations

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Holger Macht <hmacht@...>
Cc: <linux-kernel@...>, Tejun Heo <htejun@...>, <linux-ide@...>, Jeff Garzik <jeff@...>, <linux-acpi@...>, Matthew Garrett <mjg59@...>, <akpm@...>
Date: Friday, May 30, 2008 - 7:07 am

Quoting Holger Macht <hmacht@suse.de>:


Will this patch or the other bay/dock related patches you send in the  
past days allow me to undock my laptop and still be able to  
suspend/resume without locking the laptop up? And without having to  
run any userspace scripts?

My dock is not a simple port replicator, it has an USB hub and an ATA  
bay in it. My tests showed that I need to 'echo 1 >  
/sys/.../scsi/.../eject' or something like that before I can take the  
laptop out of the docking station. If I don't do that and try to  
access the cdrom in the bay (or even rescaning the scsi bus) after I  
have taken the laptop out of the dock it results in a hard lockup.  
That in itself would not be a problem, because it's just a simple  
command that I can do in an acpid script. But far worse is that even  
if I do that, the computer locks up when I resume from suspend. I run  
2.6.24.7 which locks up every time I resume. In recent versions from  
git it has somehow improved, there are situations where it doesn't  
lock up, but there are still a few left where it does (I don't  
remember the exact actions/commands I have to take).

tom


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] libata: Handle bay devices in dock stations, Holger Macht, (Wed May 28, 10:38 am)
Re: [PATCH] libata: Handle bay devices in dock stations, Matthew Garrett, (Tue Jun 3, 2:29 pm)
Re: [PATCH] libata: Handle bay devices in dock stations, Matthew Garrett, (Tue Jun 3, 2:13 pm)
Re: [PATCH] libata: Handle bay devices in dock stations, Matthew Garrett, (Sun Jun 8, 9:48 pm)
Re: [PATCH] libata: Handle bay devices in dock stations, , (Fri May 30, 7:07 am)
Re: [PATCH] libata: Handle bay devices in dock stations, Holger Macht, (Sun Jun 1, 12:06 pm)
Re: [PATCH] libata: Handle bay devices in dock stations, Matthew Garrett, (Thu May 29, 9:22 am)
Re: [PATCH] libata: Handle bay devices in dock stations, Matthew Garrett, (Thu May 29, 10:02 am)
Re: [PATCH] libata: Handle bay devices in dock stations, Holger Macht, (Thu May 29, 10:14 am)
Re: [PATCH] libata: Handle bay devices in dock stations, Matthew Garrett, (Thu May 29, 10:35 am)
Re: [PATCH] libata: Handle bay devices in dock stations, Matthew Garrett, (Thu May 29, 10:49 am)
Re: [PATCH] libata: Handle bay devices in dock stations, Holger Macht, (Thu May 29, 12:32 pm)
Re: [PATCH] libata: Handle bay devices in dock stations, Henrique de Moraes Holschuh..., (Thu May 29, 1:51 pm)
Re: [PATCH] libata: Handle bay devices in dock stations, Holger Macht, (Thu May 29, 12:46 pm)
Re: [PATCH] libata: Handle bay devices in dock stations, Holger Macht, (Sun Jun 1, 12:05 pm)
Re: [PATCH] libata: Handle bay devices in dock stations, Holger Macht, (Thu May 29, 9:33 am)
Re: [PATCH] libata: Handle bay devices in dock stations, Matthew Garrett, (Thu May 29, 9:32 am)
Re: [PATCH] libata: Handle bay devices in dock stations, Holger Macht, (Thu May 29, 9:39 am)
Re: [PATCH] libata: Handle bay devices in dock stations, Matthew Garrett, (Thu May 29, 9:40 am)
Re: [PATCH] libata: Handle bay devices in dock stations, Andrew Morton, (Wed May 28, 11:02 pm)