public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* RE: Invalid ioctl answer + another question
@ 2001-05-07 12:34 Williams, Kevin M.
  2001-05-11  3:29 ` Errors getting JFFS to work Edmund Troche
  0 siblings, 1 reply; 3+ messages in thread
From: Williams, Kevin M. @ 2001-05-07 12:34 UTC (permalink / raw)
  To: 'edmund@troche.org', linux-mtd

Edmund, 

I just posted a similar problem last week and David's suggestion fixed my
problem....

I was running a 2.4.4 kernel, but using the utilities built from an older
kernel (2.4.3-pre-3).  I rebuilt everything in the 'util' directory with the
new kernel headers from 2.4.4 and my ioctl error went away.  Try rebuilding
the mkfs.jffs binary with the new kernel headers.

However, I now have the following timeout error and question:

bash#>sbin/erase /dev/mtd2 0 6
MTD_open
Erase Total 6 Units
MTD_ioctlMTD_ioctl
Erase Unit Size MTD_ioctl
Performing Flash Erase of length 131072 at offset 0x0waiting for erase to
complete timed out.
MTD Erase failure: Input/output error<6>MTD_close

Can anyone give me any ideas on why I am getting this?  I just
double-checked, and the old 'erase' utility works with this same hardware
and my 2.4.3-pre-3 kernel (with the 5 April mtd snapsnot).

Thank you in advance for any help!

Kevin

-----Original Message-----
From: Edmund Troche [mailto:edmund@troche.org]
Sent: Sunday, May 06, 2001 3:23 PM
To: MTD Mailing List
Subject: Re: Invalid ioctl


I have  the same results with a 48MB DoC 2000 also.


Edmund

Edmund Troche wrote:

> I created a 8MB partition (nftla1) on a 8MB DoC 2000, and tried to cp a
jffs
> image that was created with mkfs.jffs, and got the following message:
>     Invalid ioctl 5401 (MEMGETINFO = 80204d01)
>     ECC needs a full sector write (adr: 9de00 size 134)
>
> The DiskOnChip is being found @ address 0xD6000 and it correctly detects
it as
> 8MB. JFFS and MTD support is compiled in, no modules in this case.
>
> Anyone familiar with what may be the problem? Thanks in advance for any
help.
>
> Edmund Troche
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

end of thread, other threads:[~2001-05-11 16:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-07 12:34 Invalid ioctl answer + another question Williams, Kevin M.
2001-05-11  3:29 ` Errors getting JFFS to work Edmund Troche
2001-05-11 16:37   ` David Woodhouse

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