Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 126178 Details for
Bug 185272
[2.6.21 regression] MPT Fusion SCSI Driver can't mount root
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fusion_mptbase.patch
fusion_mptbase.patch (text/plain), 950 bytes, created by
Maarten Bressers (RETIRED)
on 2007-07-27 20:28:47 UTC
(
hide
)
Description:
fusion_mptbase.patch
Filename:
MIME Type:
Creator:
Maarten Bressers (RETIRED)
Created:
2007-07-27 20:28:47 UTC
Size:
950 bytes
patch
obsolete
>--- drivers/message/fusion/mptbase.c.orig 2007-07-27 22:17:41.000000000 +0200 >+++ drivers/message/fusion/mptbase.c 2007-07-27 22:24:54.000000000 +0200 >@@ -2567,6 +2567,16 @@ > pfacts->IOCStatus = le16_to_cpu(pfacts->IOCStatus); > pfacts->IOCLogInfo = le32_to_cpu(pfacts->IOCLogInfo); > pfacts->MaxDevices = le16_to_cpu(pfacts->MaxDevices); >+ /* >+ * VMware emulation is broken, its PortFact's MaxDevices reports value >+ * programmed by IOC Init, so if you program IOC Init to 256 (which is 0, >+ * as that field is only 8 bit), it reports back 0 in port facts, instead >+ * of 256... And unfortunately using 256 triggers another bug in the >+ * code (parallel SCSI can have only 16 devices). >+ */ >+ if (pfacts->MaxDevices == 0) { >+ pfacts->MaxDevices = 16; >+ } > pfacts->PortSCSIID = le16_to_cpu(pfacts->PortSCSIID); > pfacts->ProtocolFlags = le16_to_cpu(pfacts->ProtocolFlags); > pfacts->MaxPostedCmdBuffers = le16_to_cpu(pfacts->MaxPostedCmdBuffers);
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 185272
: 126178