diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2006-03-24 04:55:53 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2006-03-24 04:55:53 +0000 |
commit | b167333134ab84c39ca78dc1a7a6a7f7367e4575 (patch) | |
tree | 6766bac7eed30224e347894dae10de528b0f8266 /sys-apps/hotplug/files | |
parent | arm/hppa/ia64/s390/sh stabe (diff) | |
download | gentoo-2-b167333134ab84c39ca78dc1a7a6a7f7367e4575.tar.gz gentoo-2-b167333134ab84c39ca78dc1a7a6a7f7367e4575.tar.bz2 gentoo-2-b167333134ab84c39ca78dc1a7a6a7f7367e4575.zip |
Bug #126249, patch against scsi.agent. Affecte hardware is very rare, not bumping revision.
(Portage version: 2.1_pre6-r5)
Diffstat (limited to 'sys-apps/hotplug/files')
-rw-r--r-- | sys-apps/hotplug/files/hotplug-20040923-scsi-agent-timeout.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-apps/hotplug/files/hotplug-20040923-scsi-agent-timeout.patch b/sys-apps/hotplug/files/hotplug-20040923-scsi-agent-timeout.patch new file mode 100644 index 000000000000..47d81426c286 --- /dev/null +++ b/sys-apps/hotplug/files/hotplug-20040923-scsi-agent-timeout.patch @@ -0,0 +1,18 @@ +Increase the timeout while waiting for the type attribute. +This is needed for some fibre channel hardware (Sun StorEdge +A5000), that only begin to spin up the disk much later than +this. Patch has no side effects. + +Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> + +--- etc/hotplug/scsi.agent.orig 2004-09-20 14:29:54.000000000 -0700 ++++ etc/hotplug/scsi.agent 2006-03-14 18:37:43.000000000 -0800 +@@ -22,7 +22,7 @@ + + # Possibly sleep here to try and avoid races with scsi attributes and block + # devices +- count=10 ++ count=120 + while [ ! -f $TYPE_ATTR ] && [ $count -gt 0 ] + do + # We seem to always hit this now, so don't output any message. |