From: David Woodhouse <dwmw2@infradead.org>
To: Svenning Sorensen <sss@sss.dnsalias.net>
Cc: linux-mtd@lists.infradead.org
Subject: Re: [BUG] Oops in nftl driver
Date: Tue, 08 Oct 2002 13:32:39 +0100 [thread overview]
Message-ID: <29399.1034080359@passion.cambridge.redhat.com> (raw)
In-Reply-To: <5.1.0.14.0.20021008132754.00b9b3d0@sss.dnsalias.net>
sss@sss.dnsalias.net said:
> I don't know if it will be triggered under "normal" circumstances. In
> my case, it happened after I had switched from using the M-Systems
> driver to the linux-mtd driver, without reformatting the DOC in
> between, and with an ext2-compressed file system on it. I would say
> that the kernel should not oops, no matter the state and content of
> the DOC, so I believe the bug is real.
> I'm using the linux-2.4.19 driver, but the bug still appears to exist
> in the cvs version.
> I wrote down the oops info and handed it to ksymoops:
Thanks for the useful report. Does this help?
--- drivers/mtd/nftlmount.c 13 Sep 2002 14:35:33 -0000 1.29
+++ drivers/mtd/nftlmount.c 8 Oct 2002 12:32:24 -0000
@@ -740,7 +740,7 @@ int NFTL_mount(struct NFTLrecord *s)
/* second pass to format unreferenced blocks and init free block count */
s->numfreeEUNs = 0;
- s->LastFreeEUN = BLOCK_NIL;
+ s->LastFreeEUN = le16_to_cpu(s->MediaHdr.FirstPhysicalEUN);
for (block = 0; block < s->nb_blocks; block++) {
if (s->ReplUnitTable[block] == BLOCK_NOTEXPLORED) {
--
dwmw2
next prev parent reply other threads:[~2002-10-08 12:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-08 12:10 [BUG] Oops in nftl driver Svenning Sorensen
2002-10-08 12:32 ` David Woodhouse [this message]
2002-10-08 13:59 ` Svenning Sorensen
2002-10-08 14:15 ` David Woodhouse
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=29399.1034080359@passion.cambridge.redhat.com \
--to=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=sss@sss.dnsalias.net \
/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.