Applying MTD to 2.2.x kernel, with more info

Patrick Allaire pallaire at
Tue Aug 14 09:16:58 EDT 2001

I am not sure I understand what you are telling me ... I am currently
compiling on 2.2.18 so I dont need the patch to call init_mtd ? So whot do I
need to change in mtdcore.c ?

here is the process I followed to compile the kernel :

-untar-unzip kernel 2.2.18
-made asm symbolic link
-applied the MTD patch : mtd-patch-2.2.18-20001218-2230GMT.bz2
-downloaded CVS version on MTD
-updated MTD with script : ./ /usr/src/linux
-added your patch for the request_module
-now it hang on init_mtd ...

those problems I am having seem related to modules, but I am compiling in
the kernel.

once again thank you for your time.

Patrick Allaire
mailto:pallaire at
If you can see it, but it's not there, it's virtual. 
If you can't see it, but it is there, it's hidden. 
It you can't see it and it isn't there, it's gone.

> -----Original Message-----
> From: David Woodhouse [mailto:dwmw2 at]
> Sent: August 14, 2001 9:12 AM
> To: Patrick Allaire
> Cc: Vipin Malik; linux-mtd at
> Subject: Re: Applying MTD to 2.2.x kernel, with more info 
> pallaire at said:
> > init/main.o: In function `do_basic_setup': 
> init/main.o(.text.init+0xdc9
> > ): undefined reference to `init_mtd' make: *** [vmlinux] Error 1 
> 2.2.18 has the sane initcalls backported from 2.4, so you 
> don't need the 
> patch to call init_mtd(). Which is actually called init_mtd_devices() 
> afaict.
> --
> dwmw2

More information about the linux-mtd mailing list