First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 126249
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Greg Kroah-Hartman <gregkh@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Robin Johnson <robbat2@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
scsi.agent-timeout.patch Increases timeout to 60 seconds. patch Robin Johnson 2006-03-14 19:05 0000 667 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 126249 depends on: Show dependency tree
Show dependency graph
Bug 126249 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-14 19:00 0000
On some fibre-channel hardware (my case is a Sun StorEdge A5000 with a
Qlogic2100 controller), there is a very long delay between the kernel informing
udev that the device is coming online, and the device actually being ready to
probe.

The ioerr_cnt check is only part of the problem, as the drive has not yet spun
up then even.

In hotplug's scsi.agent, there is a check for the type attribute with a 10
second timeout. It needs to be greatly extended to pick up my hardware.

If not extended, scsi.agent times out, and then scsi_id fails to get data,
followed by path_id not running because ID_TYPE is not set - a wonderful
cascading failure.

I've produced a patch for this (attached), and I'll apply it in the tree if
there is no response by the end of the week.

I did 100 passes of testing, and found that it took an average of 30 seconds to
come online, with a worst case of 45 seconds. To have some margin, I've set the
timeout 30% higher, 60 seconds.

This change does not cause delays for other hardware, as their type attribute
exists long before the existing 10 second timeout anyway.

------- Comment #1 From Robin Johnson 2006-03-14 19:05:55 0000 -------
Created an attachment (id=82182) [edit]
Increases timeout to 60 seconds.

------- Comment #2 From Robin Johnson 2006-03-23 20:52:57 0000 -------
commited now after ACK by gregkh.

First Last Prev Next    No search results available      Search page      Enter new bug