按照make SUBDIRS=xx/xx后编出来的模块为什么载入的时候提示格式不对阿
modinfo比较了一下发现主要是最后一条不一样阿
//////////////////////////////////////////////////////////////////////
modinfo scsi_mod
filename: /lib/modules/2.6.15-rc1/kernel/drivers/scsi/scsi_mod.ko
description: SCSI core
license: GPL
parmtype: scsi_logging_level:int
parm: scsi_logging_level:a bit mask of logging levels
parmtype: max_luns:int
parm: max_luns:last scsi LUN (should be between 1 and 2^32-1)
parmtype: max_report_luns:int
parm: max_report_luns:REPORT LUNS maximum number of LUNS received (should be between 1 and 16384)
parmtype: inq_timeout:int
parm: inq_timeout:Timeout (in seconds) waiting for devices to answer INQUIRY. Default is 5. Some non-compliant devices need more.
parmtype: dev_flags:string
parm: dev_flags:Given scsi_dev_flags=vendor:model:flags[,v:m] add black/white list entries for vendor and model with an integer value of flags to the scsi device info list
parmtype: default_dev_flags:int
parm: default_dev_flags:scsi default device flag integer value
vermagic: 2.6.15-rc1 686 REGPARM gcc-3.4
depends:
/////////////////////////////////////////////////////////////////////////////////////////////////
[root@localhost 2.6.15-rc1]# modinfo /lib/modules/2.6.9-11.EL/kernel/drivers/scsi/scsi_mod
modinfo: could not find module /lib/modules/2.6.9-11.EL/kernel/drivers/scsi/scsi_mod
[root@localhost 2.6.15-rc1]# modinfo /lib/modules/2.6.9-11.EL/kernel/drivers/scsi/scsi_mod.ko
filename: /lib/modules/2.6.9-11.EL/kernel/drivers/scsi/scsi_mod.ko
description: SCSI core
license: GPL
parm: scsi_logging_level:a bit mask of logging levels
parm: max_luns:last scsi LUN (should be between 1 and 2^32-1)
parm: max_report_luns:REPORT LUNS maximum number of LUNS received (should be between 1 and 16384)
parm: inq_timeout:Timeout (in seconds) waiting for devices to answer INQUIRY. Default is 5. Some non-compliant devices need more.
parm: dev_flags:Given scsi_dev_flags=vendor:model:flags[,v:m] add black/white list entries for vendor and model with an integer value of flags to the scsi device info list
parm: default_dev_flags:scsi default device flag integer value
vermagic: 2.6.9-11.EL 686 REGPARM 4KSTACKS gcc-3.4
depends:
/////////////////////////////////////
vermagic: 2.6.9-11.EL 686 REGPARM 4KSTACKS gcc-3.4
这个是什么意思阿高手指教一下多谢