public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Martin Chan <martinc@milliontech.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd@lists.infradead.org
Subject: Re: can't mount DOC2000 with jffs2
Date: Wed, 10 Dec 2003 18:52:12 +0800	[thread overview]
Message-ID: <3FD6FADC.5030601@milliontech.com> (raw)
In-Reply-To: <1071048770.5712.19.camel@hades.cambridge.redhat.com>

David Woodhouse wrote:

>On Wed, 2003-12-10 at 16:13 +0800, Martin Chan wrote:
>  
>
>>I have tried a whole day but still can't mount the DOC2000 "MD2202-D64"
>>with jffs2. Please advise.
>>    
>>
>
>Use drivers/mtd/nand/diskonchip.c not drivers/mtd/devices/doc2000.c
>
>  
>
How can I use drivers/mtd/nand/diskonchip.c instead of 
drivers/mtd/devices/doc2000.c?

I have patched it to linux-2.6.0-test11,  however, I get the following 
errors when compling the kernel. Does it support linux-2.6.0? I'll try 
Linux-2.4.23 later. Thanks,

  CC      drivers/mtd/devices/blkmtd.o
drivers/mtd/devices/blkmtd.c:30:25: linux/iobuf.h: No such file or directory
drivers/mtd/devices/blkmtd.c: In function `read_pages':
drivers/mtd/devices/blkmtd.c:107: `kdev_t' undeclared (first use in this 
function)
drivers/mtd/devices/blkmtd.c:107: (Each undeclared identifier is 
reported only once
drivers/mtd/devices/blkmtd.c:107: for each function it appears in.)
drivers/mtd/devices/blkmtd.c:107: parse error before "kdev"
drivers/mtd/devices/blkmtd.c:117: `kdev' undeclared (first use in this 
function)
drivers/mtd/devices/blkmtd.c:117: warning: implicit declaration of 
function `to_kdev_t'
drivers/mtd/devices/blkmtd.c:121: warning: implicit declaration of 
function `alloc_kiovec'
drivers/mtd/devices/blkmtd.c:138: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:139: dereferencing pointer to incomplete type
.....
....
snip
.....
.....
drivers/mtd/devices/blkmtd.c:1012: parse error before string constant
drivers/mtd/devices/blkmtd.c:1012: warning: type defaults to `int' in 
declaration of `__setup'
drivers/mtd/devices/blkmtd.c:1012: warning: function declaration isn't a 
prototype
drivers/mtd/devices/blkmtd.c:1012: warning: data definition has no type 
or storage class
drivers/mtd/devices/blkmtd.c:1013: parse error before string constant
drivers/mtd/devices/blkmtd.c:1013: warning: type defaults to `int' in 
declaration of `__setup'
drivers/mtd/devices/blkmtd.c:1013: warning: function declaration isn't a 
prototype
drivers/mtd/devices/blkmtd.c:1013: warning: data definition has no type 
or storage class
drivers/mtd/devices/blkmtd.c:1019: parse error before "init_blkmtd"
drivers/mtd/devices/blkmtd.c:1020: warning: return type defaults to `int'
drivers/mtd/devices/blkmtd.c:1057: warning: type defaults to `int' in 
declaration of `module_init'
drivers/mtd/devices/blkmtd.c:1057: warning: parameter names (without 
types) in function declaration
drivers/mtd/devices/blkmtd.c:1057: warning: data definition has no type 
or storage class
drivers/mtd/devices/blkmtd.c:1058: warning: type defaults to `int' in 
declaration of `module_exit'
drivers/mtd/devices/blkmtd.c:1058: warning: parameter names (without 
types) in function declaration
drivers/mtd/devices/blkmtd.c:1058: warning: data definition has no type 
or storage class
make[3]: *** [drivers/mtd/devices/blkmtd.o] Error 1
make[2]: *** [drivers/mtd/devices] Error 2
make[1]: *** [drivers/mtd] Error 2
make: *** [drivers] Error 2

      reply	other threads:[~2003-12-10 10:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-10  8:13 can't mount DOC2000 with jffs2 Martin Chan
2003-12-10  9:32 ` David Woodhouse
2003-12-10 10:52   ` Martin Chan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FD6FADC.5030601@milliontech.com \
    --to=martinc@milliontech.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox