Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 191831 Details for
Bug 253538
Can't boot 2.6.9-56-smp with Vmware
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
upstream patch (rejected by Christoph Hellwig).
253538.patch (text/plain), 1.52 KB, created by
Chip Coldwell
on 2007-09-10 18:22:01 UTC
(
hide
)
Description:
upstream patch (rejected by Christoph Hellwig).
Filename:
MIME Type:
Creator:
Chip Coldwell
Created:
2007-09-10 18:22:01 UTC
Size:
1.52 KB
patch
obsolete
>[PATCH 1/2] fusion : shost max_id not set in VMWare guest os > >In vmware guest os with emulated LSI 53c1030, the port facts config page is >not having MaxDevices initialized to 16 devices. Instead its set to zero. >Thereforewhen driver loads, no devices are scanned for from scsi_scan_host. >Prior to the3.04.04 driver, shost max_id was set to hard coded value \ >MPT_MAX_SCSI_DEVICES. After that release, support for greater than 255 targets was \ >added, and the driver was taking the target count from the port facts instead. With \ >this patch we will restore the hard coded values for SPI, but at the same time use \ >the settingsneeded for SAS and Fibre Channel. > >Signed-off-by: Eric Moore <Eric.Moore@lsi.com> > > >diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c >index 55133e7..64d9542 100644 >--- a/drivers/message/fusion/mptbase.c >+++ b/drivers/message/fusion/mptbase.c >@@ -2914,8 +2914,19 @@ GetPortFacts(MPT_ADAPTER *ioc, int portnum, int sleepFlag) > pfacts->MaxDevices = le16_to_cpu(pfacts->MaxDevices); > pfacts->PortSCSIID = le16_to_cpu(pfacts->PortSCSIID); > >- max_id = (ioc->bus_type == SAS) ? pfacts->PortSCSIID : >- pfacts->MaxDevices; >+ switch (ioc->bus_type) { >+ case SAS: >+ max_id = pfacts->PortSCSIID; >+ break; >+ case FC: >+ max_id = pfacts->MaxDevices; >+ break; >+ case SPI: >+ default: >+ max_id = MPT_MAX_SCSI_DEVICES; >+ break; >+ } >+ > ioc->DevicesPerBus = (max_id > 255) ? 256 : max_id; > ioc->NumberOfBuses = (ioc->DevicesPerBus < 256) ? 1 : max_id/256; > if ( ioc->NumberOfBuses > MPT_MAX_BUSES ) {
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 253538
:
189101
| 191831 |
196621
|
207501