* Serious flash problems - bad inodes?
@ 2001-10-15 14:42 Luke
2001-10-18 13:07 ` David Woodhouse
0 siblings, 1 reply; 5+ messages in thread
From: Luke @ 2001-10-15 14:42 UTC (permalink / raw)
To: linux-mtd, jffs-dev
Hello,
I have been successfully using (or so I thought) MTD/JFFS2 (cvs from around 15 Sep 01) on my flash
device on my embedded system (ZFMicro cpu, kernel 2.4.8-ac21) but had a fatal error last night. I
have only been using the mounted flash device as a backup for some particular data files that are
in my tmpfs filesystem so it hasn't had a lot of use. My guess is that I have copied and deleted
say 100 files from flash all of which were around 128kBytes of size. I have had no problems until
yesterday when I tried to copy a file over to flash. So, here is some copied test from my system
that says it all. I begin with the relevant lines from dmesg concerning mtd/jffs2.
from dmesg:
physmap flash device: 800000 at 10000000
Physically mapped flash: Found 1 x8 devices at 0x0 in 8-bit mode
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
ftl_cs: FTL header not found.
RAMDISK: Compressed image found at block 0
Uncompressing.................................................................done.
Freeing initrd memory: 1159k freed
VFS: Mounted root (ext2 filesystem).
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0000: 0x079d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0004: 0xbc00 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0008: 0x7b80 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f000c: 0xb780 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0010: 0xcc2f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0014: 0xc0fe instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0018: 0x14c7 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f001c: 0xf069 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0020: 0x6bc2 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0024: 0x040d instead
Further such events for this erase block will not be printed
Old JFFS2 bitmask found at 0x000f93c0
You cannot use older JFFS2 filesystems with newer kernels
JFFS2: Erase block at 0x000f0000 is not formatted. It will be erased
Waiting for chip to read, status = 4
Newly-erased block contained word 0x580b079d at offset 0x000f0000
*************
This is a similar dmesg to the usual one for me. The only difference is on the lines ... Magic
bitmask 0x1985 not found at 0xblah: hexvalue in the past have had different hex values than above.
I don't understand the warnings/errors but it has worked fine so I didn't look at the closer.
Are these typical?
*************
I have the flash device mounted on /flash here is what happens....
# cd /flash
# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/ram0 3963 3073 890 78% /
/dev/mtdblock0 8192 420 7772 5% /flash
tmpfs 24576 0 24576 0% /sdram
Now my panic begins when I see the following:
#
# ls
Unknown INCOMPAT nodetype FFFF at 0076CC3C
Unknown INCOMPAT nodetype FFFF at 0076CAC0
Unknown INCOMPAT nodetype FFFF at 0076C9BC
Unknown INCOMPAT nodetype FFFF at 0076C8F4
Unknown INCOMPAT nodetype FFFF at 0076C830
Unknown INCOMPAT nodetype FFFF at 0076C778
Unknown INCOMPAT nodetype FFFF at 0076C6C8
Unknown INCOMPAT nodetype FFFF at 0076C5F0
Unknown INCOMPAT nodetype FFFF at 0076C524
Unknown INCOMPAT nodetype FFFF at 0076C460
Unknown INCOMPAT nodetype FFFF at 0076C3A8
Unknown INCOMPAT nodetype FFFF at 0076C2F8
Unknown INCOMPAT nodetype FFFF at 0076C228
Unknown INCOMPAT nodetype FFFF at 0076C160
Unknown INCOMPAT nodetype FFFF at 0076C07C
Unknown INCOMPAT nodetype FFFF at 0076BF88
Unknown INCOMPAT nodetype FFFF at 0076BE0C
Unknown INCOMPAT nodetype FFFF at 0076BCE4
Unknown INCOMPAT nodetype FFFF at 0076BC2C
Unknown INCOMPAT nodetype FFFF at 0076BB44
Unknown INCOMPAT nodetype FFFF at 0076BA8C
Unknown INCOMPAT nodetype FFFF at 0076B9DC
Unknown INCOMPAT nodetype FFFF at 0076B92C
Unknown INCOMPAT nodetype FFFF at 0076B870
Unknown INCOMPAT nodetype FFFF at 0076B7CC
Unknown INCOMPAT nodetype FFFF at 0076B6FC
Unknown INCOMPAT nodetype FFFF at 0076B590
Unknown INCOMPAT nodetype FFFF at 0076B3B8
Unknown INCOMPAT nodetype FFFF at 0076B1C0
Unknown INCOMPAT nodetype FFFF at 0076AFD8
Unknown INCOMPAT nodetype FFFF at 0076AE50
Unknown INCOMPAT nodetype FFFF at 0076AD24
jffs2_read_inode(): No data nodes found for ino #53
ls: ./runGenerator.rbf: Input/outputUnknown INCOMPAT nodetype FFFF at 007FE350
error
Unknown INCOMPAT nodetype FFFF at 007FDCA4
Unknown INCOMPAT nodetype FFFF at 007FD60C
Unknown INCOMPAT nodetype FFFF at 007FCDD0
jffs2_read_inode(): No data nodes found for ino #6
ls: ./FPGAconfigurator: Input/outputUnknown INCOMPAT nodetype FFFF at 007FFD44
error
Unknown INCOMPAT nodetype FFFF at 007FF688
Unknown INCOMPAT nodetype FFFF at 007FF02C
Unknown INCOMPAT nodetype FFFF at 007FE838
Unknown INCOMPAT nodetype FFFF at 007E000C
jffs2_read_inode(): No data nodes found for ino #2
ls: ./fpgaCron: Input/output error
fpga.log fpga.rbf
#
#
#
I seem to have lost the files FPGAconfigurator,fpgaCron, and runGenerator.rbf??
I then try to copy something (namely /etc/issue) over to flash):
#
# cp /etc/issue .
Last[2] is ff, datum is 85
Write of 68 bytes at 0x0076ecec failed. returned 0, retlen 0
Not marking the space at 0x0076ecec as dirty because the flash driver returned retlen zero
cp: unable to open `./issue': Input/output error
Is the flash dead at this moment?
# cd
# umount -a
VFS: Busy inodes after unmount. Self-destruct in 5 seconds. Have a nice day...
#
# df -k
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/ram0 3963 3073 890 78% /
#
#
# mount -a
JFFS2: Erase block at 0x00000000 is not formatted. It will be erased
JFFS2: Erase block at 0x00010000 is not formatted. It will be erased
JFFS2: Erase block at 0x00020000 is not formatted. It will be erased
JFFS2: Erase block at 0x00030000 is not formatted. It will be erased
JFFS2: Erase block at 0x00040000 is not formatted. It will be erased
JFFS2: Erase block at 0x00050000 is not formatted. It will be erased
JFFS2: Erase block at 0x00060000 is not formatted. It will be erased
JFFS2: Erase block at 0x00070000 is not formatted. It will be erased
JFFS2: Erase block at 0x00080000 is not formatted. It will be erased
JFFS2: Erase block at 0x00090000 is not formatted. It will be erased
JFFS2: Erase block at 0x000a0000 is not formatted. It will be erased
JFFS2: Erase block at 0x000b0000 is not formatted. It will be erased
JFFS2: Erase block at 0x000c0000 is not formatted. It will be erased
JFFS2: Erase block at 0x000d0000 is not formatted. It will be erased
JFFS2: Erase block at 0x000e0000 is not formatted. It will be erased
JFFS2: Erase block at 0x000f0000 is not formatted. It will be erased
JFFS2: Erase block at 0x00100000 is not formatted. It will be erased
JFFS2: Erase block at 0x00110000 is not formatted. It will be erased
[.... STUFF DELETED FOR SAKE OF REDUNDANCY ....]
JFFS2: Erase block at 0x00720000 is not formatted. It will be erased
JFFS2: Erase block at 0x00730000 is not formatted. It will be erased
JFFS2: Erase block at 0x00740000 is not formatted. It will be erased
JFFS2: Erase block at 0x00750000 is not formatted. It will be erased
JFFS2: Erase block at 0x00760000 is not formatted. It will be erased
JFFS2: Erase block at 0x00770000 is not formatted. It will be erased
JFFS2: Erase block at 0x00780000 is not formatted. It will be erased
JFFS2: Erase block at 0x00790000 is not formatted. It will be erased
JFFS2: Erase block at 0x007a0000 is not formatted. It will be erased
JFFS2: Erase block at 0x007b0000 is not formatted. It will be erased
JFFS2: Erase block at 0x007c0000 is not formatted. It will be erased
JFFS2: Erase block at 0x007d0000 is not formatted. It will be erased
JFFS2: Erase block at 0x007e0000 is not formatted. It will be erased
JFFS2: Erase block at 0x007f0000 is not formatted. It will be erased
Last[2] is ff, datum is 85
Write clean marker to block at 0x007f0000 failed: -5
# Last[2] is ff, datum is 85
Write clean marker to block at 0x007e0000 failed: -5
#
# cd /flash
# ls
(nothing)
so if I unmount and mount it reformats.... Yikes.
Any suggestions on something to try would be greatly appreciated!
Thanks,
Luke
ps.
The flash chip is a Am29LV065D:
- 64 Megabit (8M x 8-bit)
- uniform sector flash memory
- 128 64 Kbyte sectors
- CFI compliant
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Serious flash problems - bad inodes?
2001-10-15 14:42 Serious flash problems - bad inodes? Luke
@ 2001-10-18 13:07 ` David Woodhouse
2001-10-19 3:54 ` Luke
0 siblings, 1 reply; 5+ messages in thread
From: David Woodhouse @ 2001-10-18 13:07 UTC (permalink / raw)
To: Luke; +Cc: linux-mtd, jffs-dev
luke_epsilon@yahoo.com said:
> # ls
> Unknown INCOMPAT nodetype FFFF at 0076CC3C
> Unknown INCOMPAT nodetype FFFF at 0076CAC0
Odd. Looks like something may have erased that flash block while it was
mounted. Can you reproduce it?
> Last[2] is ff, datum is 85
> Write of 68 bytes at 0x0076ecec failed. returned 0, retlen 0
That's a flash driver playing silly buggers. Check you can write to the
whole device.
--
dwmw2
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Serious flash problems - bad inodes?
2001-10-18 13:07 ` David Woodhouse
@ 2001-10-19 3:54 ` Luke
0 siblings, 0 replies; 5+ messages in thread
From: Luke @ 2001-10-19 3:54 UTC (permalink / raw)
To: David Woodhouse; +Cc: linux-mtd, jffs-dev
Hello all,
I have some rather confusing things to say about my flash situation. As it stands now every time
I reboot I have the same flash failure as stated in my original post. If I try to ls or cp or mv
anything to flash I get INCOMPAT nodetype errors - and the net result is that the flash is
unaccessible. Here is the bizarre kicker. I should have said that I HAD the same problems stated
above and in my original post up until 10 minutes ago......now if I can figure out WHY?
A little about my system, my ttyS0 that I am using as a console (at least for now to configure my
system) is being routed through an FPGA before I get to see it through my serial cable. As such,
since it is an FPGA, it needs to be configured after power up of the system. The FPGA is being
configured over the parallel I/O lines (0x378 etc). I made some minor modifications in the
verilog that is going on my FPGA (that has nothing to do with the computer or ttyS0 per se, but
instead on some behavior of an exterior peripheral being controlled by the FPGA). The bad INCOMPAT
nodetype behavior is now fixed - and I have no clue why.
Another strange thing is that even though I have had many messages about the flash being
unformatted and then see every block seemingly being erased --now that the flash is working again,
all of my original files from last week (when the flash first failed) are intact in the flash.
weird...
I am using the standard physmap.c as my driver by the way - with no modifications - I just have
the appropriate mem_chip selects set in bios corresponding to the configuration of mtd in
compiling the kernel.
Thanks,
Luke
ps. I just thought of one thing that probably is important. On boot up, I (or rather the init.d
startup script) looks on either the flash or in /etc (in that order) for the file, fpga.rbf, to
download to the FPGA. This is what it looks like when I manually mount the flash (this happens
every time on a successful mount)
$mount /flash
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0000: 0x079d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0004: 0xbc00 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0008: 0x7b80 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f000c: 0xb780 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0010: 0xcc2f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0014: 0xc0fe instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0018: 0x14c7 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f001c: 0xf069 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0020: 0x6bc2 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0024: 0x040d instead
Further such events for this erase block will not be printed
Old JFFS2 bitmask found at 0x000f93c0
You cannot use older JFFS2 filesystems with newer kernels
JFFS2: Erase block at 0x000f0000 is not formatted. It will be erased
$
$ (prompts here - mount has completed)
$
and then I get a message that appears 1 to 20 seconds later:
Newly-erased block contained word 0x580b079d at offset 0x000f0000
Is it possible that I am trying to access the file in flash for my FPGA before the flash has
completely mounted and as such I mess up the flash somehow? If so, I still am not sure why it is
different now - maybe the timing has changed with my new fpga.rbf????
Hmmmmmmmmmmmmmmmmmmmmm
Any suggestions would be greatly appreciated!
--- David Woodhouse <dwmw2@infradead.org> wrote:
>
> luke_epsilon@yahoo.com said:
> > # ls
> > Unknown INCOMPAT nodetype FFFF at 0076CC3C
> > Unknown INCOMPAT nodetype FFFF at 0076CAC0
>
> Odd. Looks like something may have erased that flash block while it was
> mounted. Can you reproduce it?
> > Last[2] is ff, datum is 85
> > Write of 68 bytes at 0x0076ecec failed. returned 0, retlen 0
>
> That's a flash driver playing silly buggers. Check you can write to the
> whole device.
>
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Serious flash problems - bad inodes?
@ 2001-10-19 7:32 Darryl Green
0 siblings, 0 replies; 5+ messages in thread
From: Darryl Green @ 2001-10-19 7:32 UTC (permalink / raw)
To: 'Luke'; +Cc: linux-mtd, jffs-dev
I assume your fpga is in some way connected to the/a bus, as is your flash.
Are your SURE your fpga logic isn't/wasn't somehow messing up your flash
access? Your problems have sounded like a hardware problem (or a flash
driver problem) all along. Are you sure you can trust the hardware?
> -----Original Message-----
> From: Luke [mailto:luke_epsilon@yahoo.com]
> Sent: Friday, 19 October 2001 1:54 PM
> To: David Woodhouse
> Cc: linux-mtd@lists.infradead.org; jffs-dev@axis.com
> Subject: Re: Serious flash problems - bad inodes?
>
>
> Hello all,
>
> I have some rather confusing things to say about my flash
> situation. As it stands now every time
> I reboot I have the same flash failure as stated in my
> original post. If I try to ls or cp or mv
> anything to flash I get INCOMPAT nodetype errors - and the
> net result is that the flash is
> unaccessible. Here is the bizarre kicker. I should have
> said that I HAD the same problems stated
> above and in my original post up until 10 minutes
> ago......now if I can figure out WHY?
>
> A little about my system, my ttyS0 that I am using as a
> console (at least for now to configure my
> system) is being routed through an FPGA before I get to see
> it through my serial cable. As such,
> since it is an FPGA, it needs to be configured after power up
> of the system. The FPGA is being
> configured over the parallel I/O lines (0x378 etc). I made
> some minor modifications in the
> verilog that is going on my FPGA (that has nothing to do with
> the computer or ttyS0 per se, but
> instead on some behavior of an exterior peripheral being
> controlled by the FPGA). The bad INCOMPAT
> nodetype behavior is now fixed - and I have no clue why.
>
> Another strange thing is that even though I have had many
> messages about the flash being
> unformatted and then see every block seemingly being erased
> --now that the flash is working again,
> all of my original files from last week (when the flash first
> failed) are intact in the flash.
> weird...
>
> I am using the standard physmap.c as my driver by the way -
> with no modifications - I just have
> the appropriate mem_chip selects set in bios corresponding to
> the configuration of mtd in
> compiling the kernel.
>
> Thanks,
> Luke
>
> ps. I just thought of one thing that probably is important.
> On boot up, I (or rather the init.d
> startup script) looks on either the flash or in /etc (in that
> order) for the file, fpga.rbf, to
> download to the FPGA. This is what it looks like when I
> manually mount the flash (this happens
> every time on a successful mount)
>
> $mount /flash
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
> 0x000f0000: 0x079d instead
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
> 0x000f0004: 0xbc00 instead
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
> 0x000f0008: 0x7b80 instead
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
> 0x000f000c: 0xb780 instead
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
> 0x000f0010: 0xcc2f instead
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
> 0x000f0014: 0xc0fe instead
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
> 0x000f0018: 0x14c7 instead
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
> 0x000f001c: 0xf069 instead
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
> 0x000f0020: 0x6bc2 instead
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
> 0x000f0024: 0x040d instead
> Further such events for this erase block will not be printed
> Old JFFS2 bitmask found at 0x000f93c0
> You cannot use older JFFS2 filesystems with newer kernels
> JFFS2: Erase block at 0x000f0000 is not formatted. It will be erased
> $
> $ (prompts here - mount has completed)
> $
> and then I get a message that appears 1 to 20 seconds later:
>
> Newly-erased block contained word 0x580b079d at offset 0x000f0000
>
> Is it possible that I am trying to access the file in flash
> for my FPGA before the flash has
> completely mounted and as such I mess up the flash somehow?
> If so, I still am not sure why it is
> different now - maybe the timing has changed with my new fpga.rbf????
>
> Hmmmmmmmmmmmmmmmmmmmmm
>
> Any suggestions would be greatly appreciated!
>
>
> --- David Woodhouse <dwmw2@infradead.org> wrote:
> >
> > luke_epsilon@yahoo.com said:
> > > # ls
> > > Unknown INCOMPAT nodetype FFFF at 0076CC3C
> > > Unknown INCOMPAT nodetype FFFF at 0076CAC0
> >
> > Odd. Looks like something may have erased that flash block
> while it was
> > mounted. Can you reproduce it?
>
> > > Last[2] is ff, datum is 85
> > > Write of 68 bytes at 0x0076ecec failed. returned 0, retlen 0
> >
> > That's a flash driver playing silly buggers. Check you can
> write to the
> > whole device.
> >
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
>
> To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
> the body of a message to majordomo@axis.com
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Serious flash problems - bad inodes?
@ 2001-10-19 13:18 Greene Graham-FGG050
0 siblings, 0 replies; 5+ messages in thread
From: Greene Graham-FGG050 @ 2001-10-19 13:18 UTC (permalink / raw)
To: linux-mtd, jffs-dev
Just a wild guess (I'm not very familiar with the code), but could this caused by the flash part
being worn out?
Graham Greene
Motorola
-----Original Message-----
From: Luke [mailto:luke_epsilon@yahoo.com]
Sent: Thursday, October 18, 2001 11:54 PM
To: David Woodhouse
Cc: linux-mtd@lists.infradead.org; jffs-dev@axis.com
Subject: Re: Serious flash problems - bad inodes?
Hello all,
I have some rather confusing things to say about my flash situation. As it stands now every time
I reboot I have the same flash failure as stated in my original post. If I try to ls or cp or mv
anything to flash I get INCOMPAT nodetype errors - and the net result is that the flash is
unaccessible. Here is the bizarre kicker. I should have said that I HAD the same problems stated
above and in my original post up until 10 minutes ago......now if I can figure out WHY?
A little about my system, my ttyS0 that I am using as a console (at least for now to configure my
system) is being routed through an FPGA before I get to see it through my serial cable. As such,
since it is an FPGA, it needs to be configured after power up of the system. The FPGA is being
configured over the parallel I/O lines (0x378 etc). I made some minor modifications in the
verilog that is going on my FPGA (that has nothing to do with the computer or ttyS0 per se, but
instead on some behavior of an exterior peripheral being controlled by the FPGA). The bad INCOMPAT
nodetype behavior is now fixed - and I have no clue why.
Another strange thing is that even though I have had many messages about the flash being
unformatted and then see every block seemingly being erased --now that the flash is working again,
all of my original files from last week (when the flash first failed) are intact in the flash.
weird...
I am using the standard physmap.c as my driver by the way - with no modifications - I just have
the appropriate mem_chip selects set in bios corresponding to the configuration of mtd in
compiling the kernel.
Thanks,
Luke
ps. I just thought of one thing that probably is important. On boot up, I (or rather the init.d
startup script) looks on either the flash or in /etc (in that order) for the file, fpga.rbf, to
download to the FPGA. This is what it looks like when I manually mount the flash (this happens
every time on a successful mount)
$mount /flash
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0000: 0x079d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0004: 0xbc00 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0008: 0x7b80 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f000c: 0xb780 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0010: 0xcc2f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0014: 0xc0fe instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0018: 0x14c7 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f001c: 0xf069 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0020: 0x6bc2 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0024: 0x040d instead
Further such events for this erase block will not be printed
Old JFFS2 bitmask found at 0x000f93c0
You cannot use older JFFS2 filesystems with newer kernels
JFFS2: Erase block at 0x000f0000 is not formatted. It will be erased
$
$ (prompts here - mount has completed)
$
and then I get a message that appears 1 to 20 seconds later:
Newly-erased block contained word 0x580b079d at offset 0x000f0000
Is it possible that I am trying to access the file in flash for my FPGA before the flash has
completely mounted and as such I mess up the flash somehow? If so, I still am not sure why it is
different now - maybe the timing has changed with my new fpga.rbf????
Hmmmmmmmmmmmmmmmmmmmmm
Any suggestions would be greatly appreciated!
--- David Woodhouse <dwmw2@infradead.org> wrote:
>
> luke_epsilon@yahoo.com said:
> > # ls
> > Unknown INCOMPAT nodetype FFFF at 0076CC3C
> > Unknown INCOMPAT nodetype FFFF at 0076CAC0
>
> Odd. Looks like something may have erased that flash block while it was
> mounted. Can you reproduce it?
> > Last[2] is ff, datum is 85
> > Write of 68 bytes at 0x0076ecec failed. returned 0, retlen 0
>
> That's a flash driver playing silly buggers. Check you can write to the
> whole device.
>
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@axis.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-10-19 13:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-15 14:42 Serious flash problems - bad inodes? Luke
2001-10-18 13:07 ` David Woodhouse
2001-10-19 3:54 ` Luke
-- strict thread matches above, loose matches on Subject: below --
2001-10-19 7:32 Darryl Green
2001-10-19 13:18 Greene Graham-FGG050
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox