From: Konstantin Kletschke <lists@ku-gbr.de>
To: linux-mtd@lists.infradead.org
Subject: Re: jffs2 with sync burst mode
Date: Thu, 10 Mar 2005 19:53:57 +0100 [thread overview]
Message-ID: <20050310185356.GA12205@synertronixx3> (raw)
In-Reply-To: <Pine.LNX.4.58.0503101717100.5506@phoenix.infradead.org>
Look at this quick, dirty hack:
printk("rd->nsize before memcpy: %x\n", rd->nsize);
printk("rd->name: %c %x\n", rd->name[0], rd->name[0]);
printk("rd->name: %c %x\n", rd->name[11], rd->name[11]);
printk("rd->name: %c %x\n", rd->name[12], rd->name[12]);
printk("rd->name: %c %x\n", rd->name[13], rd->name[13]);
memcpy(&fd->name, rd->name, rd->nsize);
printk("rd->nsize after memcpy: %x\n", rd->nsize);
printk("rd->name: %c %x\n", rd->name[0], rd->name[0]);
printk("rd->name: %c %x\n", rd->name[11], rd->name[11]);
printk("rd->name: %c %x\n", rd->name[12], rd->name[12]);
printk("rd->name: %c %x\n", rd->name[13], rd->name[13]);
rd->nsize before memcpy: 14
rd->name: l 6c
rd->name: n 6e
rd->name: g 67
rd->name: - 2d
rd->nsize after memcpy: 14
rd->name: l 6c
rd->name: n 6e
rd->name: g 67
rd->name: - 2d
fd->name: linux-wlan-nÒ
jffs2_scan_dirent_node(): Name CRC failed on node at 0x0047aa4c: Read 0xb9570647, calculated 0x6ac2e146
Name for which CRC failed is (now) 'linux-wlan-nÒ', ino #210
printk("rd->nsize before memcpy: %x\n", rd->nsize);
printk("rd->name: %c %x\n", rd->name[0], rd->name[0]);
printk("rd->name: %c %x\n", rd->name[14], rd->name[14]);
printk("rd->name: %c %x\n", rd->name[15], rd->name[15]);
printk("rd->name: %c %x\n", rd->name[16], rd->name[16]);
printk("rd->name: %c %x\n", rd->name[17], rd->name[17]);
memcpy(&fd->name, rd->name, rd->nsize);
printk("rd->nsize after memcpy: %x\n", rd->nsize);
printk("rd->name: %c %x\n", rd->name[0], rd->name[0]);
printk("rd->name: %c %x\n", rd->name[14], rd->name[14]);
printk("rd->name: %c %x\n", rd->name[15], rd->name[15]);
printk("rd->name: %c %x\n", rd->name[16], rd->name[16]);
printk("rd->name: %c %x\n", rd->name[17], rd->name[17]);
rd->nsize before memcpy: 16
rd->name: o 6f
rd->name: e 65
rd->name: y 79
rd->name: g 67
rd->name: e 65
rd->nsize after memcpy: 16
rd->name: o 6f
rd->name: e 65
rd->name: y 79
rd->name: g 67
rd->name: e 65
fd->name: openssh-host-key
jffs2_scan_dirent_node(): Name CRC failed on node at 0x003a52c8: Read 0x839452cb, calculated 0x262752af
Name for which CRC failed is (now) 'openssh-host-key', ino #350
So rd->name and rd->size seems to be both ok just before and after memcpy.
Weird...
Konsti
--
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
next prev parent reply other threads:[~2005-03-10 18:53 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-09 13:14 jffs2 with sync burst mode Konstantin Kletschke
2005-03-10 13:15 ` Artem B. Bityuckiy
2005-03-10 15:22 ` Konstantin Kletschke
2005-03-10 15:54 ` Artem B. Bityuckiy
2005-03-10 16:40 ` Konstantin Kletschke
2005-03-10 19:25 ` Steve Wahl
2005-03-10 23:24 ` Konstantin Kletschke
2005-03-10 15:46 ` Konstantin Kletschke
2005-03-10 16:21 ` Artem B. Bityuckiy
2005-03-10 16:48 ` Konstantin Kletschke
2005-03-10 17:08 ` Artem B. Bityuckiy
[not found] ` <JPEALJAFNGDDLOPNDIEECEJFDBAA.joakim.tjernlund@lumentis.se>
2005-03-10 23:18 ` Konstantin Kletschke
[not found] ` <BCEFJBPJCGFCNMMMIDBHEEPKCKAA.Joakim.Tjernlund@lumentis.se>
2005-03-11 0:03 ` Konstantin Kletschke
2005-03-10 17:02 ` Konstantin Kletschke
2005-03-10 17:17 ` Artem B. Bityuckiy
2005-03-10 18:27 ` Konstantin Kletschke
2005-03-10 18:53 ` Konstantin Kletschke [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-03-11 10:44 Konstantin Kletschke
2005-03-11 11:15 ` Artem B. Bityuckiy
2005-03-11 11:27 ` Konstantin Kletschke
2005-03-11 11:59 ` Artem B. Bityuckiy
2005-03-11 11:57 ` Konstantin Kletschke
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=20050310185356.GA12205@synertronixx3 \
--to=lists@ku-gbr.de \
--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