All of lore.kernel.org
 help / color / mirror / Atom feed
* JFFS2/mtdsuper modprobe "unknown symbol" in 2.6.23-rc1
@ 2007-08-10  2:38 Erez Zadok
  2007-08-10  2:44 ` Adrian Bunk
  0 siblings, 1 reply; 3+ messages in thread
From: Erez Zadok @ 2007-08-10  2:38 UTC (permalink / raw)
  To: linux-kernel, linux-fsdevel; +Cc: dwmw2

I'm getting an error modprobing jffs2 due to mtdsuper failing to insmod:

# modprobe jffs2
WARNING: Error inserting mtdsuper
(/lib/modules/2.6.23-rc1/kernel/drivers/mtd/mtdsuper.ko):
Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting jffs2
(/lib/modules/2.6.23-rc1/kernel/fs/jffs2/jffs2.ko): Unknown
symbol in module, or unknown parameter (see dmesg)

# dmesg | tail
mtdsuper: Unknown symbol get_mtd_device
mtdsuper: Unknown symbol put_mtd_device
jffs2: Unknown symbol get_sb_mtd
jffs2: Unknown symbol kill_mtd_super

My relevant .config is:

CONFIG_MTD=m
CONFIG_MTD_BLKDEVS=m
CONFIG_MTD_BLOCK=m
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
CONFIG_MTD_BLOCK2MTD=m
CONFIG_JFFS2_FS=m
CONFIG_JFFS2_FS_DEBUG=0
CONFIG_JFFS2_FS_WRITEBUFFER=y
CONFIG_JFFS2_SUMMARY=y
CONFIG_JFFS2_FS_XATTR=y
CONFIG_JFFS2_FS_POSIX_ACL=y
CONFIG_JFFS2_FS_SECURITY=y
CONFIG_JFFS2_COMPRESSION_OPTIONS=y
CONFIG_JFFS2_ZLIB=y
CONFIG_JFFS2_RTIME=y
CONFIG_JFFS2_CMODE_PRIORITY=y

A "quick hack" around this which I found is to add

  MODULE_LICENSE("GPL");

to the end of drivers/mtd/mtdsuper.c, but that doesn't sound like the right
fix.

Does anyone know what am I missing?

Thanks,
Erez.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: JFFS2/mtdsuper modprobe "unknown symbol" in 2.6.23-rc1
  2007-08-10  2:38 JFFS2/mtdsuper modprobe "unknown symbol" in 2.6.23-rc1 Erez Zadok
@ 2007-08-10  2:44 ` Adrian Bunk
  2007-08-10  2:53   ` Erez Zadok
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2007-08-10  2:44 UTC (permalink / raw)
  To: Erez Zadok; +Cc: linux-kernel, linux-fsdevel, dwmw2

On Thu, Aug 09, 2007 at 10:38:18PM -0400, Erez Zadok wrote:
> I'm getting an error modprobing jffs2 due to mtdsuper failing to insmod:
>...
> Does anyone know what am I missing?

You miss that 2.6.23-rc2 with this bug fixed has already been released.

> Thanks,
> Erez.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: JFFS2/mtdsuper modprobe "unknown symbol" in 2.6.23-rc1
  2007-08-10  2:44 ` Adrian Bunk
@ 2007-08-10  2:53   ` Erez Zadok
  0 siblings, 0 replies; 3+ messages in thread
From: Erez Zadok @ 2007-08-10  2:53 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Erez Zadok, linux-kernel, linux-fsdevel, dwmw2

In message <20070810024422.GF18938@stusta.de>, Adrian Bunk writes:
> On Thu, Aug 09, 2007 at 10:38:18PM -0400, Erez Zadok wrote:
> > I'm getting an error modprobing jffs2 due to mtdsuper failing to insmod:
> >...
> > Does anyone know what am I missing?
> 
> You miss that 2.6.23-rc2 with this bug fixed has already been released.

Great, I'll upgrade to rc2 (I've had this problem since .22-rc).  Thanks for
the quick response.

Erez.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-10  2:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-10  2:38 JFFS2/mtdsuper modprobe "unknown symbol" in 2.6.23-rc1 Erez Zadok
2007-08-10  2:44 ` Adrian Bunk
2007-08-10  2:53   ` Erez Zadok

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.