building mmc_core.ko - invalid module format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to build mmc_core.ko with a modified sdio_cis.c  in order to
add more debug to see what our card is doing.

I have the following setup:
1.	Ubuntu 10.04 - 2.6.32-27-generic.
2.	I have downloaded the source for this via 
	a.	sudo apt-get build-dep --no-install-recommends
linux-image-$(uname -r)
	b.	apt-get source linux-image-$(uname -r)

In the top level source directory I run "make menuconfig".  Under the
device driver option I set MMC/SDIO to M - produce modules. So
MMC_CONFIG=m in the .config file.

I then run "make modules"

All builds OK. I get a mmc_core.ko produced. However, if I then insmod
this .ko then I see the "invalid module format".

Any ideas of what I'm doing wrong ?

Thanks,

Mark


--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux