FreeBSD Bugzilla – Attachment 52104 Details for
Bug 78984
[umass] [patch] Creative MUVO umass failure
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
scsi_da.c.patch
scsi_da.c.patch (text/x-patch), 596 bytes, created by
Henrik Gulbrandsen
on 2006-09-25 19:27:44 UTC
(
hide
)
Description:
scsi_da.c.patch
Filename:
MIME Type:
Creator:
Henrik Gulbrandsen
Created:
2006-09-25 19:27:44 UTC
Size:
596 bytes
patch
obsolete
>--- sys/cam/scsi/scsi_da.c.orig Wed Jul 26 09:48:51 2006 >+++ sys/cam/scsi/scsi_da.c Mon Sep 25 13:26:07 2006 >@@ -1850,6 +1850,15 @@ > dp = &softc->params; > dp->secsize = block_len; > dp->sectors = maxsector + 1; >+ >+ /* >+ * An odd sector count is most likely an off-by-one error in the >+ * underlying SCSI device (returning sector count instead of the >+ * highest sector number); Let's decrease it here to avoid access >+ * outside the supported sector range. >+ */ >+ dp->sectors &= ~1; >+ > /* > * Have the controller provide us with a geometry > * for this disk. The only time the geometry
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 78984
: 52104