[2.4.1] mkreiserfs on loopdevice freezes 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
Signature · 8 lines
(OO) -- [email protected] -- ( .. ) 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 [email protected] Please read the FAQ at http://www.tux.org/lkml/
reiserfs min size (was: [2.4.1] mkreiserfs on loopdevice freezes kernel)
Quoted 1 line · James Sutherland
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
Quoted 2 lines
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
Signature · 8 lines
(OO) -- [email protected] -- ( .. ) 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 [email protected] Please read the FAQ at http://www.tux.org/lkml/
Re: reiserfs min size (was: [2.4.1] mkreiserfs on loopdevice freezes kernel)
Quoted 7 lines · Bernd Eckenfels
Quoted 1 line · James Sutherland
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"??
Quoted 4 lines
Quoted 2 lines
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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Re: reiserfs min size (was: [2.4.1] mkreiserfs on loopdevice freezes kernel)
In reply to Bernd EckenfelsQuoted 4 lines · James Sutherland
Quoted 1 line
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.
Quoted 3 lines
Quoted 1 line
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
Signature · 8 lines
(OO) -- [email protected] -- ( .. ) 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 [email protected] Please read the FAQ at http://www.tux.org/lkml/
Re: reiserfs min size (was: [2.4.1] mkreiserfs on loopdevice freezes kernel)
In reply to Bernd EckenfelsQuoted 6 lines · On Wednesday, January 31, 2001 11:27:57 PM +0100 Bernd Eckenfels…
Quoted 1 line · James Sutherland
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
Quoted 6 lines
dd if=/dev/zero of=/var/loop.img count=32768 size=4096
Quoted 2 lines
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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/