summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-03-24 04:55:53 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-03-24 04:55:53 +0000
commit98d86308a533d6a7b1c0564803e47ba4ceeaebdc (patch)
tree340423caf1e5101ead242fc740de727c1638189b /sys-apps/hotplug/files
parentarm/hppa/ia64/s390/sh stabe (diff)
downloadhistorical-98d86308a533d6a7b1c0564803e47ba4ceeaebdc.tar.gz
historical-98d86308a533d6a7b1c0564803e47ba4ceeaebdc.tar.bz2
historical-98d86308a533d6a7b1c0564803e47ba4ceeaebdc.zip
Bug #126249, patch against scsi.agent. Affecte hardware is very rare, not bumping revision.
Package-Manager: portage-2.1_pre6-r5
Diffstat (limited to 'sys-apps/hotplug/files')
-rw-r--r--sys-apps/hotplug/files/hotplug-20040923-scsi-agent-timeout.patch18
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.