From: Daniel Phillips <phillips@arcor.de>
To: "David Luyer" <david@luyer.net>, <linux-kernel@vger.kernel.org>
Subject: Re: Linux-2.4.18-rc3-ac3: bug with using whole disks as filesystems
Date: Fri, 26 Jul 2002 07:33:59 +0200 [thread overview]
Message-ID: <E17Xxjj-0005XT-00@starship> (raw)
In-Reply-To: <004a01c233ba$1a764f50$638317d2@pacific.net.au>
On Thursday 25 July 2002 11:03, David Luyer wrote:
> Followup to my own post:
> > I attempted to mkfs and use a whole disk rather than a partition
> > with reiserfs. It failed (not a major problem, I'll just make a
> > partition), but it failed with a "kernel BUG" message, so here 'tis.
It was this BUG no doubt (buffer.c):
2398 /* Size must be within 512 bytes and PAGE_SIZE */
2399 if (size < 512 || size > PAGE_SIZE)
2400 BUG();
> > Original commands to cause failure:
> > mkfs -b 8192 /dev/sdb -f
> > mount /dev/sdb /cache
>
> Actually looks like the -b 8192 was the problem, the same happened
> on /dev/sdb1. Had to reboot again after that as mount was hanging
> in the same way as cfdisk had previously. Similar 'kernel BUG'
> message resulted.
It's Reiserfs's fault all right, for not recognizing the fact that
the kernel can't handle blocksize larger than the hard PAGE_SIZE.
Good thing the BUG is there now, it used to fail silently.
There is no fundamental reason why we can't handled the larger
blocksizes. It just didn't make it to the top of the list of things
to do for this cycle. For now, all the mkfs's have to accomodate
this shortcoming.
--
Daniel
next prev parent reply other threads:[~2002-07-26 5:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-25 9:03 Linux-2.4.18-rc3-ac3: bug with using whole disks as filesystems David Luyer
2002-07-26 5:33 ` Daniel Phillips [this message]
2002-07-26 8:31 ` Daniel Phillips
2002-07-26 9:47 ` Oleg Drokin
-- strict thread matches above, loose matches on Subject: below --
2002-07-25 8:58 David Luyer
2002-07-25 10:59 ` Alan Cox
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=E17Xxjj-0005XT-00@starship \
--to=phillips@arcor.de \
--cc=david@luyer.net \
--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