lkml.org 
[lkml]   [2002]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: PROBLEM: kernel BUG in buffer.c
From
Date
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.054 / U:1.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site