![]() tmp/megaraid_sas-00.00.04.17/megaraid_sas.c: In function ‘megasas tmp/megaraid_sas-00.00.04.17/megaraid_sas.c:747: error: ‘struct scsi_cmnd’ has no member named ‘use_sg’ tmp/megaraid_sas-00.00.04.17/megaraid_sas.c:746: error: ‘struct scsi_cmnd’ has no member named ‘request_buffer’ tmp/megaraid_sas-00.00.04.17/megaraid_sas.c:741: error: ‘struct scsi_cmnd’ has no member named ‘request_bufflen’ tmp/megaraid_sas-00.00.04.17/megaraid_sas.c:737: error: ‘struct scsi_cmnd’ has no member named ‘request_bufflen’ tmp/megaraid_sas-00.00.04.17/megaraid_sas.c:735: error: ‘struct scsi_cmnd’ has no member named ‘request_buffer’ tmp/megaraid_sas-00.00.04.17/megaraid_sas.c:732: error: ‘struct scsi_cmnd’ has no member named ‘use_sg’ tmp/megaraid_sas-00.00.04.17/megaraid_sas.c:729: error: ‘struct scsi_cmnd’ has no member named ‘request_bufflen’ tmp/megaraid_sas-00.00.04.17/megaraid_sas.c:729: error: ‘struct scsi_cmnd’ has no member named ‘request_buffer’ tmp/megaraid_sas-00.00.04.17/megaraid_sas.c: In function ‘megasas_make_sgl_skinny’: I also tried compiling source file downloaded from IBM website for my ServeRAID M1015 card. Make: Leaving directory `/usr/src/linux-headers-2.6.32-25-generic'ĭoes anybody know how to solve the problem? tmp/mpt2sas/mpt2sas_scsih.c:8496: warning: initialization from incompatible pointer type tmp/mpt2sas/mpt2sas_scsih.c: At top level: tmp/mpt2sas/mpt2sas_scsih.c:2083: error: ‘SCSI_QDEPTH_DEFAULT’ undeclared (first use in this function) tmp/mpt2sas/mpt2sas_scsih.c: In function ‘_scsih_slave_configure’: tmp/mpt2sas/mpt2sas_scsih.c:1438: error: ‘SCSI_QDEPTH_DEFAULT’ undeclared (first use in this function) tmp/mpt2sas/mpt2sas_scsih.c: In function ‘_scsih_set_sdev_queue_depth’: tmp/mpt2sas/mpt2sas_scsih.c:1320: error: ‘SCSI_QDEPTH_QFULL’ undeclared (first use in this function) tmp/mpt2sas/mpt2sas_scsih.c:1318: error: ‘SCSI_QDEPTH_RAMP_UP’ undeclared (first use in this function) tmp/mpt2sas/mpt2sas_scsih.c:1318: error: for each function it appears in.) tmp/mpt2sas/mpt2sas_scsih.c:1318: error: (Each undeclared identifier is reported only once tmp/mpt2sas/mpt2sas_scsih.c:1318: error: ‘SCSI_QDEPTH_DEFAULT’ undeclared (first use in this function) tmp/mpt2sas/mpt2sas_scsih.c: In function ‘_scsih_change_queue_depth’: PD: I think the driver should work on either 32 or 64 bit, but don't take my word on that, because of the architecture it was compiled on.I downloaded LSISAS2008 source file for RHEL5 from LSI website, unpack and compiled with the commandĬode: make -C /lib/modules/$(uname -r)/build M=`pwd`However, I encountered the following error log ![]() PD: I think the driver should work on either 32 or 64 bit, but don't take my word on that, because of the architecture it was compiled on. I believe this post should be Pinned or something because there was a lot of people asking the same question. Now I did not try to compile the newest driver that they provide for RHLE, but is my guess that is should not give you any troubles and work just fine. as well for the other models people are asking around. The only thing it will change is the fact you are doing in an ubuntu machine. The following link I used to compile the driver If you have any questions, just check the source file documentation from LSI It took me several hours to get to that point, since the compiled driver they have on their website is for 9.10 only. Then go ahead and do the disk detection and it should work like Magic. I am adding the attached 64 bit driver for your convenience so you can download it, and simply copy it over in a console via a fresh install to /lib/modules/kernelversion/kernel/drivers/scsi/megaraid The easiest solution at this time, specially with MegaRAID 9240-8i which is the M1015 is to compile the driver they have at their website from source on ubuntu 10.04.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |