FreeBSD Bugzilla – Attachment 7864 Details for
Bug 16803
Newer Adaptec controllers make system hang with slices ending 1023/255/63
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 772 bytes, created by
Andre Albsmeier
on 2000-02-18 12:00:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Andre Albsmeier
Created:
2000-02-18 12:00:01 UTC
Size:
772 bytes
patch
obsolete
>--- diskslice_machdep.c.ORI Fri Feb 18 12:35:21 2000 >+++ diskslice_machdep.c Fri Feb 18 12:38:27 2000 >@@ -121,13 +121,13 @@ > + mbr_offset; > esector1 = ssector1 + dp->dp_size - 1; > >- /* Allow certain bogus C/H/S values for esector, as above. */ >+ /* Allow certain bogus C/H/S values for esector, as above and 1023/254/63. */ > if (esector < esector1 > && ((chs_esect == nsectors && dp->dp_ehd == ntracks - 1 > && chs_ecyl == 1023) > || (secpercyl != 0 > && (esector1 - esector) % (1024 * secpercyl) == 0)) >- || (dp->dp_ecyl == 255 && dp->dp_ehd == 255 >+ || (dp->dp_ecyl == 255 && dp->dp_ehd | 1 == 255 > && dp->dp_esect == 255)) { > TRACE(("%s: C/H/S end %d/%d/%d, end %lu: allow\n", > sname, chs_ecyl, dp->dp_ehd, chs_esect, esector1));
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 16803
: 7864