public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.4.1] mkreiserfs on loopdevice freezes kernel
@ 2001-01-31  4:23 Bernd Eckenfels
       [not found] ` <Pine.SOL.4.21.0101310923480.29972-100000@green.csi.cam.ac.uk>
  0 siblings, 1 reply; 5+ messages in thread
From: Bernd Eckenfels @ 2001-01-31  4:23 UTC (permalink / raw)
  To: linux-kernel

Hello,

if I run mkreiserfs on a 32megablocks /dev/loop0 it will lock up while
generating the journaling information. Sometimes at 20% sometimes at 60%.
Since mkreiserfs is not using the kernel module i guess this is a loop
device problem in 2.4.1 kernels.

There is no dmesg message at the lookup. mkreiserfs is in state 'D'. The
system issomewhat useable (X) but some programs just lock in syscalls (no su
or login possible).

If I run losetup -d /dev/loop0 on that device i will get a message that it
is busy, but the program will not return enymore. It is in 'D' also.

This is an unecncrypted loop device on a ext2 filesystem on a AIC-7861. Loop
is autoloaded as a module.

Wanted to try reiserfs with some verbose debugging for some time. Well,
perhaps md is my friend...

Greetings
Bernd
-- 
  (OO)      -- Bernd_Eckenfels@Wendelinusstrasse39.76646Bruchsal.de --
 ( .. )  ecki@{inka.de,linux.de,debian.org} http://home.pages.de/~eckes/
  o--o     *plush*  2048/93600EFD  eckes@irc  +497257930613  BE5-RIPE
(O____O)  When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* reiserfs min size (was: [2.4.1] mkreiserfs on loopdevice freezes kernel)
       [not found] ` <Pine.SOL.4.21.0101310923480.29972-100000@green.csi.cam.ac.uk>
@ 2001-01-31 22:27   ` Bernd Eckenfels
  2001-01-31 23:15     ` James Sutherland
  2001-02-01 16:49     ` Chris Mason
  0 siblings, 2 replies; 5+ messages in thread
From: Bernd Eckenfels @ 2001-01-31 22:27 UTC (permalink / raw)
  To: linux-kernel

On Wed, Jan 31, 2001 at 09:24:39AM +0000, James Sutherland wrote:
> 32 megaBLOCK?? How big is it in Mbytes?

Blocksize is 4k, mkreiserfs in my version is telling me it can not generate
partitions smaller than 32M but it is not true, i have to do

dd if=/dev/zero of=/var/loop.img count=32768 size=4096

> You do know reiserfs defaults to
> building a 32 Mbyte journal on the device, I take it?

Yes, I wonder if it is a Error in mkreiserfs to require 128MB.

Greetings
Bernd
-- 
  (OO)      -- Bernd_Eckenfels@Wendelinusstrasse39.76646Bruchsal.de --
 ( .. )  ecki@{inka.de,linux.de,debian.org} http://home.pages.de/~eckes/
  o--o     *plush*  2048/93600EFD  eckes@irc  +497257930613  BE5-RIPE
(O____O)  When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: reiserfs min size (was: [2.4.1] mkreiserfs on loopdevice freezes kernel)
  2001-01-31 22:27   ` reiserfs min size (was: [2.4.1] mkreiserfs on loopdevice freezes kernel) Bernd Eckenfels
@ 2001-01-31 23:15     ` James Sutherland
  2001-01-31 23:31       ` Bernd Eckenfels
  2001-02-01 16:49     ` Chris Mason
  1 sibling, 1 reply; 5+ messages in thread
From: James Sutherland @ 2001-01-31 23:15 UTC (permalink / raw)
  To: Bernd Eckenfels; +Cc: linux-kernel

On Wed, 31 Jan 2001, Bernd Eckenfels wrote:

> On Wed, Jan 31, 2001 at 09:24:39AM +0000, James Sutherland wrote:
> > 32 megaBLOCK?? How big is it in Mbytes?
> 
> Blocksize is 4k, mkreiserfs in my version is telling me it can not generate
> partitions smaller than 32M but it is not true, i have to do
> 
> dd if=/dev/zero of=/var/loop.img count=32768 size=4096

That just creates a 128Mb file of zeros... This sounds a bit small. Why
"size=4096"??

> > You do know reiserfs defaults to
> > building a 32 Mbyte journal on the device, I take it?
> 
> Yes, I wonder if it is a Error in mkreiserfs to require 128MB.

Have you tried using a smaller blocksize to mkreiserfs?


James.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: reiserfs min size (was: [2.4.1] mkreiserfs on loopdevice freezes kernel)
  2001-01-31 23:15     ` James Sutherland
@ 2001-01-31 23:31       ` Bernd Eckenfels
  0 siblings, 0 replies; 5+ messages in thread
From: Bernd Eckenfels @ 2001-01-31 23:31 UTC (permalink / raw)
  To: James Sutherland; +Cc: linux-kernel

On Wed, Jan 31, 2001 at 11:15:56PM +0000, James Sutherland wrote:
> > dd if=/dev/zero of=/var/loop.img count=32768 size=4096
> 
> That just creates a 128Mb file of zeros... This sounds a bit small. Why
> "size=4096"??

because i am too tired to calculate. mkreiserfs wants 32768 (32*1024) blocks
with a size of 4k. I created the smallest possible image to test reiserfs.

> > Yes, I wonder if it is a Error in mkreiserfs to require 128MB.
> 
> Have you tried using a smaller blocksize to mkreiserfs?

Sure I have.

Greetings
Bernd
-- 
  (OO)      -- Bernd_Eckenfels@Wendelinusstrasse39.76646Bruchsal.de --
 ( .. )  ecki@{inka.de,linux.de,debian.org} http://home.pages.de/~eckes/
  o--o     *plush*  2048/93600EFD  eckes@irc  +497257930613  BE5-RIPE
(O____O)  When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: reiserfs min size (was: [2.4.1] mkreiserfs on loopdevice freezes kernel)
  2001-01-31 22:27   ` reiserfs min size (was: [2.4.1] mkreiserfs on loopdevice freezes kernel) Bernd Eckenfels
  2001-01-31 23:15     ` James Sutherland
@ 2001-02-01 16:49     ` Chris Mason
  1 sibling, 0 replies; 5+ messages in thread
From: Chris Mason @ 2001-02-01 16:49 UTC (permalink / raw)
  To: Bernd Eckenfels, linux-kernel



On Wednesday, January 31, 2001 11:27:57 PM +0100 Bernd Eckenfels <ecki@lina.inka.de> wrote:

> On Wed, Jan 31, 2001 at 09:24:39AM +0000, James Sutherland wrote:
>> 32 megaBLOCK?? How big is it in Mbytes?
> 
> Blocksize is 4k, mkreiserfs in my version is telling me it can not generate
> partitions smaller than 32M but it is not true, i have to do
> 
> dd if=/dev/zero of=/var/loop.img count=32768 size=4096
> 
>> You do know reiserfs defaults to
>> building a 32 Mbyte journal on the device, I take it?
> 
> Yes, I wonder if it is a Error in mkreiserfs to require 128MB.

It is.  The actual min is around 40MB (with 32MB used by the journal.  Next version of mkreiserfs will be fixed.

-chris

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-02-01 16:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-31  4:23 [2.4.1] mkreiserfs on loopdevice freezes kernel Bernd Eckenfels
     [not found] ` <Pine.SOL.4.21.0101310923480.29972-100000@green.csi.cam.ac.uk>
2001-01-31 22:27   ` reiserfs min size (was: [2.4.1] mkreiserfs on loopdevice freezes kernel) Bernd Eckenfels
2001-01-31 23:15     ` James Sutherland
2001-01-31 23:31       ` Bernd Eckenfels
2001-02-01 16:49     ` Chris Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox