From: samoutin@hotbox.ru (Alex Samoutin)
To: linux-mtd@lists.infradead.org
Subject: A couple of bugs in nand_write_ecc()
Date: Fri, 14 Feb 2003 17:05:46 -0800 [thread overview]
Message-ID: <006801c2d48e$626313a0$1a00a8c0@itc.intrinsyc.com> (raw)
In-Reply-To: 200302150001.23072.tglx@linutronix.de
From: "Thomas Gleixner" <tglx@linutronix.de>
> But it's no more relevant. I removed the possiblibity to write not page
> aligned data to NAND.
Ok, But what I have to do with this,
JFFS2 still trying to write not sector alligned data:
debian:~# rm /mnt/nand/a*
nand_read_ecc: from = 0x0000c800, len = 16
nand_read_ecc: from = 0x0000c834, len = 16
nand_read_ecc: from = 0x0000c868, len = 16
nand_read_ecc: from = 0x0000c89c, len = 16
nand_read_ecc: from = 0x0000c8d8, len = 16
nand_read_ecc: from = 0x0000c910, len = 16
nand_read_ecc: from = 0x00198000, len = 1052
nand_write_ecc: to = 0x0000c940, len = 1052
nand_write_ecc: Attempt to write not page aligned data
nand_write_ecc()
nand_write()
part_write()
call satck jffs2_flash_write()
jffs2_garbage_collect_pristine()
jffs2_garbage_collect_live()
jffs2_garbage_collect_pass()
jffs2_garbage_collect_thread ()
Write of 1052 bytes at 0x0000c940 failed. returned -22, retlen 1052
nand_read_ecc: from = 0x00198000, len = 1052
nand_write_ecc: to = 0x0000cd5c, len = 1052
nand_write_ecc: Attempt to write not page aligned data
Write of 1052 bytes at 0x0000cd5c failed. returned -22, retlen 1052
nand_read_ecc: from = 0x0000d178, len = 16
jffs2_flash_writev(): Non-contiguous write to 0000d178
wbuf was previously 0000c800-0000c93f
kernel BUG at wbuf.c:282!
Oops: Exception in kernel mode, sig: 4
Call backtrace:
jffs2_flash_writev
jffs2_write_dirent
jffs2_do_unlink
jffs2_unlink
vfs_unlink
ret_from_syscall_1
Alex
next prev parent reply other threads:[~2003-02-15 1:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-14 17:43 A couple of bugs in nand_write_ecc() Alex Samoutin
2003-02-14 23:01 ` Thomas Gleixner
2003-02-15 1:05 ` Alex Samoutin [this message]
2003-02-15 7:48 ` Thomas Gleixner
2003-02-15 11:30 ` Thomas Gleixner
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='006801c2d48e$626313a0$1a00a8c0@itc.intrinsyc.com' \
--to=samoutin@hotbox.ru \
--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