From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Peter Hicks <Peter.Hicks@POGGS.CO.UK>
Cc: linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: kernel BUG in buffer.c
Date: 21 Aug 2002 20:10:01 +0100 [thread overview]
Message-ID: <1029957001.26845.120.camel@irongate.swansea.linux.org.uk> (raw)
In-Reply-To: <3D63E0E8.1080202@POGGS.CO.UK>
On Wed, 2002-08-21 at 19:50, Peter Hicks wrote:
> Hi everyone
>
> I've come across a BUG() in buffer.c, line 2497. I'm running 2.4.19 on a
> Pentium III, with no other problems. I'd finished making a backup of an
> IRIX installation CD, was mounting the freshly burnt CD, and was greeted
> with a hung 'mount' and the following in dmesg:
Well its definitely a kernel bug. We should never crash given a bad CD.
In this case I think the problem is a little deeper. Our efs code
doesn't appear to consider and error the case when its block size is
below 2048 bytes.
An EFS block is 512 bytes so we tell a 2K sectored device to use 512byte
sectors. At this point the kernel rightfully realises that something
deeply wrong is happening and aborted.
I believe the fix is as follows
Make EFS check its not asking for stupid block sizes
You can then use a loopback mount to buffer the device and mount the CD
that way. I'll fix the EFS code tomorrow
prev parent reply other threads:[~2002-08-21 19:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-21 18:50 Peter Hicks
2002-08-21 19:10 ` Alan Cox [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=1029957001.26845.120.camel@irongate.swansea.linux.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=Peter.Hicks@POGGS.CO.UK \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®