diff options
author | mjacob <mjacob@FreeBSD.org> | 2001-04-04 18:24:35 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2001-04-04 18:24:35 +0000 |
commit | 12d95b20ac39c425c40acc47ab5af04c362d11d8 (patch) | |
tree | f19b6b427d719d5b55ff96b48d00d4f155175573 /sys | |
parent | 0bc8c703adf0c4d86f2873a27b0ed8ffaa987fd5 (diff) | |
download | FreeBSD-src-12d95b20ac39c425c40acc47ab5af04c362d11d8.zip FreeBSD-src-12d95b20ac39c425c40acc47ab5af04c362d11d8.tar.gz |
If we have and error and are booting verbosely, don't be complaining
if this was a non-retryable selection timeout- wading through 256 targets
worth of Fibre Channel 'selection timeouts' is tedious at best.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/cam/cam_periph.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/cam/cam_periph.c b/sys/cam/cam_periph.c index 2286a51..de42075 100644 --- a/sys/cam/cam_periph.c +++ b/sys/cam/cam_periph.c @@ -1639,7 +1639,13 @@ cam_periph_error(union ccb *ccb, cam_flags camflags, /*getcount_only*/0); } - if (error != 0 && bootverbose) { + /* + * If we have and error and are booting verbosely, whine + * *unless* this was a non-retryable selection timeout. + */ + if (error != 0 && bootverbose && + !(status == CAM_SEL_TIMEOUT && (camflags & CAM_RETRY_SELTO) == 0)) { + if (action_string == NULL) action_string = "Unretryable Error"; |