public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Requesting module even when it's compiled in
@ 2000-12-08  9:31 David Vrabel
  2000-12-08 11:47 ` David Woodhouse
  0 siblings, 1 reply; 5+ messages in thread
From: David Vrabel @ 2000-12-08  9:31 UTC (permalink / raw)
  To: mtd

Hi,

I've patched a 2.2.17 kernel with the latest mtd-patch-2.2.17 however
the MTD code is from yesterday's CVS.

Compiled into the kernel
	MTD
	CFI support
	Intel Ext suport
	SBC-MediaGX
The SBC-MediaGX driver starts but fails with
	request_module[cfi_probe]: Root fs is not mounted

It shouldn't be looking for a module should it (since it is compiled
into the kernel)?

CONFIG_MODULES is defined. (don't know if this is relevant)

David Vrabel



To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

* Re: Requesting module even when it's compiled in
  2000-12-08  9:31 Requesting module even when it's compiled in David Vrabel
@ 2000-12-08 11:47 ` David Woodhouse
  2000-12-08 12:10   ` David Vrabel
  0 siblings, 1 reply; 5+ messages in thread
From: David Woodhouse @ 2000-12-08 11:47 UTC (permalink / raw)
  To: David Vrabel; +Cc: mtd


dvrabel@arcom.co.uk said:
> 	request_module[cfi_probe]: Root fs is not mounted
> It shouldn't be looking for a module should it (since it is compiled
> into the kernel)?

The new inter_module_xxx stuff means the command set drivers need 
initialisation - just exporting a symbol is no longer enough.

I've just added the necessary initcalls to mtdcore.c


--
dwmw2




To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

* Re: Requesting module even when it's compiled in
  2000-12-08 12:10   ` David Vrabel
@ 2000-12-08 12:10     ` David Woodhouse
  2000-12-08 15:18       ` Steven J. Hill
  0 siblings, 1 reply; 5+ messages in thread
From: David Woodhouse @ 2000-12-08 12:10 UTC (permalink / raw)
  To: David Vrabel; +Cc: mtd


dvrabel@arcom.co.uk said:
>  It works provided the init functions changed from static to extern. 

argh. Wanna commit that then?

--
dwmw2




To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

* Re: Requesting module even when it's compiled in
  2000-12-08 11:47 ` David Woodhouse
@ 2000-12-08 12:10   ` David Vrabel
  2000-12-08 12:10     ` David Woodhouse
  0 siblings, 1 reply; 5+ messages in thread
From: David Vrabel @ 2000-12-08 12:10 UTC (permalink / raw)
  To: David Woodhouse; +Cc: mtd

David Woodhouse wrote:
> 
> dvrabel@arcom.co.uk said:
> >       request_module[cfi_probe]: Root fs is not mounted
> > It shouldn't be looking for a module should it (since it is compiled
> > into the kernel)?
> 
> The new inter_module_xxx stuff means the command set drivers need
> initialisation - just exporting a symbol is no longer enough.
> 
> I've just added the necessary initcalls to mtdcore.c

It works provided the init functions changed from static to extern.

David Vrabel



To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

* Re: Requesting module even when it's compiled in
  2000-12-08 12:10     ` David Woodhouse
@ 2000-12-08 15:18       ` Steven J. Hill
  0 siblings, 0 replies; 5+ messages in thread
From: Steven J. Hill @ 2000-12-08 15:18 UTC (permalink / raw)
  To: David Woodhouse, David Vrabel; +Cc: mtd

David Woodhouse wrote:
> 
> dvrabel@arcom.co.uk said:
> >  It works provided the init functions changed from static to extern.
> 
> argh. Wanna commit that then?
> 
I will rebuild the patches for 2.2.17 and the latest 2.4.0-x after
you do that.

-Steve

-- 
 Steven J. Hill - Embedded SW Engineer
 Public Key: 'finger sjhill@mail.cotw.com'
 FPR1: E124 6E1C AF8E 7802 A815
 FPR2: 7D72 829C 3386 4C4A E17D


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

end of thread, other threads:[~2000-12-08 15:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-08  9:31 Requesting module even when it's compiled in David Vrabel
2000-12-08 11:47 ` David Woodhouse
2000-12-08 12:10   ` David Vrabel
2000-12-08 12:10     ` David Woodhouse
2000-12-08 15:18       ` Steven J. Hill

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