public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* help installing MTD
@ 2003-07-15  6:17 Mike G
  2003-07-15  6:36 ` David Woodhouse
  0 siblings, 1 reply; 4+ messages in thread
From: Mike G @ 2003-07-15  6:17 UTC (permalink / raw)
  To: linux-mtd



Hi there,

I am a Linux newbies, an idiot basically.  My task is to install the MTD
to the kernel linux-2.4.4 .. to run for MPC 857 for AM29DL322. Somehow,
since i m an idiot, i cannot install it. Anyone has any slightest idea
how to do this.
This is the error msg.. of course there is some wrong file association i
can see.

make[2]: Entering directory
`/usr/src/linux-2.4.4-2001-05-12.patchedkc-850DSL/drivers/mtd2/drivers/mtd'
Makefile:11: /Makefile.inc: No such file or directory
make[2]: *** No rule to make target `/Makefile.inc'.  Stop.
make[2]: Leaving directory
`/usr/src/linux-2.4.4-2001-05-12.patchedkc-850DSL/drivers/mtd2/drivers/mtd'
make[1]: *** [_subdir_mtd] Error 2
make[1]: Leaving directory
`/usr/src/linux-2.4.4-2001-05-12.patchedkc-850DSL/drivers'
make: *** [_dir_drivers] Error 2


Thank a mil.

regards,
mike

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

* Re: help installing MTD
  2003-07-15  6:17 help installing MTD Mike G
@ 2003-07-15  6:36 ` David Woodhouse
  2003-07-15  9:18   ` Mike G.
  0 siblings, 1 reply; 4+ messages in thread
From: David Woodhouse @ 2003-07-15  6:36 UTC (permalink / raw)
  To: Mike G; +Cc: linux-mtd

On Tue, 2003-07-15 at 07:17, Mike G wrote:
> Hi there,
> 
> I am a Linux newbies, an idiot basically.  My task is to install the MTD
> to the kernel linux-2.4.4 .. to run for MPC 857 for AM29DL322. 

2.4.4 is very old. You really should consider upgrading to a vaguely
recent kernel which isn't full of known holes.

> This is the error msg.. of course there is some wrong file association i
> can see.

You've copied files in manually rather than using the 'patchin' script
from the patches/ directory. Which means you've got the 'Makefile' files
instead of the 'Makefile.common' files which you should have copied and
renamed to 'Makefile' in each subdirectory.

If you really do stay with 2.4.4 you'll probably need some surgery on
linux/mtd/compatmac.h to make it support kernels that ancient again.

-- 
dwmw2

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

* Re: help installing MTD
  2003-07-15  6:36 ` David Woodhouse
@ 2003-07-15  9:18   ` Mike G.
  2003-07-15  9:21     ` David Woodhouse
  0 siblings, 1 reply; 4+ messages in thread
From: Mike G. @ 2003-07-15  9:18 UTC (permalink / raw)
  To: dwmw2; +Cc: linux-mtd

hi there, 


On Tue, 2003-07-15 at 14:36, David Woodhouse wrote: 
> On Tue, 2003-07-15 at 07:17, Mike G wrote:
> > Hi there,
> > 
> > I am a Linux newbies, an idiot basically.  My task is to install the MTD
> > to the kernel linux-2.4.4 .. to run for MPC 857 for AM29DL322. 
> 
> 2.4.4 is very old. You really should consider upgrading to a vaguely
> recent kernel which isn't full of known holes.
I have try to use the new kernel 2.4.20 .. Somehow it doesn't work on
the custom board. So i m back to the ancient kernel. 
> 
> > This is the error msg.. of course there is some wrong file association i
> > can see.
> 
> You've copied files in manually rather than using the 'patchin' script
> from the patches/ directory. Which means you've got the 'Makefile' files
> instead of the 'Makefile.common' files which you should have copied and
> renamed to 'Makefile' in each subdirectory.
I did used the patch now the compling complaint the exactly as you said
"kernel too old" *sigh* 
> 
> If you really do stay with 2.4.4 you'll probably need some surgery on
> linux/mtd/compatmac.h to make it support kernels that ancient again.
ok ok  if i were to do surgery, wat changes i hav to do. 

> 
> -- 
> dwmw2
> 
> 
thanks for prompt help .. 

Mike G.

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

* Re: help installing MTD
  2003-07-15  9:18   ` Mike G.
@ 2003-07-15  9:21     ` David Woodhouse
  0 siblings, 0 replies; 4+ messages in thread
From: David Woodhouse @ 2003-07-15  9:21 UTC (permalink / raw)
  To: Mike G.; +Cc: linux-mtd

On Tue, 2003-07-15 at 10:18, Mike G. wrote:
> I have try to use the new kernel 2.4.20 .. Somehow it doesn't work on
> the custom board. So i m back to the ancient kernel. 

Find out why. Fix it. Seriously. Using 2.4.4 is likely to cause you more
trouble in the long term.

> I did used the patch now the compling complaint the exactly as you said
> "kernel too old" *sigh* 
> > 
> > If you really do stay with 2.4.4 you'll probably need some surgery on
> > linux/mtd/compatmac.h to make it support kernels that ancient again.
> ok ok  if i were to do surgery, wat changes i hav to do. 

If you really must do this, then start by taking an older copy of
compatmac.h from CVS, from before I removed all the support for ancient
kernels. Drop that in place of the current one and then fix up the stuff
that still breaks. 

-- 
dwmw2

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

end of thread, other threads:[~2003-07-15  9:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-15  6:17 help installing MTD Mike G
2003-07-15  6:36 ` David Woodhouse
2003-07-15  9:18   ` Mike G.
2003-07-15  9:21     ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox