I went through the kernel code path about how the shost->max_id is set. Function mptspi_probe sets it to ioc->devices_per_bus. The ioc->devices_per_bus comes from the pfacts->MaxDevices in GetPortFacts(). And GetPortFacts() uses MPI_FUNCTION_PORT_FACTS as the function to get the pfacts->MaxDevices. The ESX Lsilogic emulation sets MaxDevices to 16 for MPI_FUNCTION_PORT_FACTS. So it should be 16.
I have tried the kernel source 2.6.22.6 downloaded from kernel.org. It does not have this problem. -- Ubuntu 7.10 Alpha Gust OS does not recognize a lun with non zero target id on Vmware ESX Server https://bugs.launchpad.net/bugs/140761 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs