All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Scholz <steven.scholz@imc-berlin.de>
To: tglx@linutronix.de
Cc: Joakim Tjernlund <Joakim.Tjernlund@lumentis.se>,
	linux-mtd@lists.infradead.org
Subject: Re: undefined reference to 'crc32' ?
Date: Wed, 04 Dec 2002 10:48:36 +0100	[thread overview]
Message-ID: <3DEDCF74.E77757DC@imc-berlin.de> (raw)
In-Reply-To: 200212010046.59435.tglx@linutronix.de


Thomas Gleixner wrote:
> 
> On Saturday 30 November 2002 23:43, Joakim Tjernlund wrote:
> > CVS JFFS2 assumes that  crc32()  is avialable as a generic function. You
> > need my crc32 backport from 2.5 to 2.4. It's somewhere in the MTD
> > archives(I think). I don't have it handy ATM.
> I had no 2.4.20 kernel available, when I overhauled patchin.sh. I did not
> realize that 2.4.19 had include/linux/crc32.h also available.
> 
> I changed patchin.sh so it supports those kernels too.

Hi, 

I updated to the latest CVS this morning.

The problem with include/linux/crc32.h is solved. Thanks very much!

But, now I am having trouble with the new (rebuilt) mkfs.jffs2!!! It looks like
a endian problem:

I invoked mkfs.jffs2 as usual from within a script with:

mkfs.jffs2 -d $TMP -o flashdisk.jffs2 -b -p

But now I get loads of

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010000: 0x8519
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010004: 0x0709
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010008: 0x4137
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001000c: 0x1600
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010010: 0x1c00
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010014: 0xed81
instead

So "-b" seems not to be working... ???

My old version of mkfs.jffs2 is still wotking correctly!!!

Any ideas?

Thanks,

Steven

      reply	other threads:[~2002-12-04  9:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-29 20:16 undefined reference to 'crc32' ? Steven Scholz
2002-11-30  7:47 ` Thomas Gleixner
2002-12-04  7:32   ` Steven Scholz
2002-11-30 22:43 ` Joakim Tjernlund
2002-11-30 23:20   ` Joakim Tjernlund
2002-11-30 23:46   ` Thomas Gleixner
2002-12-04  9:48     ` Steven Scholz [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=3DEDCF74.E77757DC@imc-berlin.de \
    --to=steven.scholz@imc-berlin.de \
    --cc=Joakim.Tjernlund@lumentis.se \
    --cc=linux-mtd@lists.infradead.org \
    --cc=tglx@linutronix.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.