Skip to contentSkip to conversation

reiser4 ; regressions in 2.6.14-rc1-mm1

DISCUSSION Laurent Riffard 5 participants 7 messages Sep 20, 2005 – Sep 30, 2005

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

In kernel 2.6.14-rc1-mm1, Reiser4 present 2 regressions with regard to 2.6.13-mm1 :

A) Suspend-to-disk does not work because the process "[ent:hda8]" can't be stopped.

$ mount | grep hda8
/dev/hda8 on /home/laurent/kernel type reiser4 (rw,nosuid,nodev)

Extract of the log :
Restarting tasks...<6> Strange, ent:hda8. not stopped

I have already mentioned this in another mail to this list, it was done with a modified 2.6.14-rc1-mm1 kernel from Andrew Morton (without the input subsystem changes) plus vm-swap_prefetch-8.patch. I can now confirm the regression on a plain 2.6.14-rc1-mm1 without any additional patch.

B) Can't mount a loop file on reiser4 :

[root@antares ~]# mount /mnt/diske
[root@antares ~]# mount | grep diske
/dev/hdb8 on /mnt/diske type reiser4 (rw,noexec,nosuid,nodev)
[root@antares ~]# cd /mnt/diske/laurent/download/Mandriva-Linux-2006-0.5/
[root@antares Mandriva-Linux-2006-0.5]# mount -t iso9660 -oloop,ro Mandriva-Linux-Free-2006-0.5-CD1.i586.iso /mnt/disk
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

If I copy this file to a reiser filesystem, I can mount it without any problem.

Feel free to ask for more details.
~~
laurent

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDMFvXUqUFrirTu6IRAn2yAKCIyNEC4o2rAsdDhEbCosr0nYBuxQCgtegr kkxLaVKu5LgZTNvqFVzi/eM=
=DgH+
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 1 line · Laurent Riffard

A) Suspend-to-disk does not work because the process "[ent:hda8]" can't be stopped.

Strange, this used to work. Haven't had occasion to try it again lately, though.

Quoted 1 line

B) Can't mount a loop file on reiser4 :

I do this all the time, though not on the mm kernel. ext3 loop file on a reiser4 disk, reiser4 loop file on a reiser4 disk. Haven't tried reiser4 loop file on an ext3 fs.

Can anyone else confirm this?

#2 lore raw

Dnia Tue, 20 Sep 2005 21:27:42 +0200, David Masover <[email protected]> napisa³:

Quoted 7 lines
Quoted 1 line · Laurent Riffard

A) Suspend-to-disk does not work because the process "[ent:hda8]" can't be stopped.

Strange, this used to work. Haven't had occasion to try it again lately, though.

Quoted 8 lines
Quoted 1 line

B) Can't mount a loop file on reiser4 :

I do this all the time, though not on the mm kernel. ext3 loop file on a reiser4 disk, reiser4 loop file on a reiser4 disk. Haven't tried reiser4 loop file on an ext3 fs.

Can anyone else confirm this?

ent:hda5 started to use 100% of cpu time on my system making it pretty ususable (under 2.6.14-rc1-mm1), reiser4 from 2.6.13-mm1 and 2.6.13-mm3 gave me kernel bugs on dcache. I went back to 2.6.12 + patch from namesys ftp (reiser4-for-2.6.12-3.patch.gz).

#3 lore raw
In reply to Laurent Riffard
Quoted 34 lines · Laurent Riffard

Hello,

In kernel 2.6.14-rc1-mm1, Reiser4 present 2 regressions with regard to 2.6.13-mm1 :

A) Suspend-to-disk does not work because the process "[ent:hda8]" can't be stopped.

$ mount | grep hda8
/dev/hda8 on /home/laurent/kernel type reiser4 (rw,nosuid,nodev)

Extract of the log :
Restarting tasks...<6> Strange, ent:hda8. not stopped

I have already mentioned this in another mail to this list, it was done with a modified 2.6.14-rc1-mm1 kernel from Andrew Morton (without the input subsystem changes) plus vm-swap_prefetch-8.patch. I can now confirm the regression on a plain 2.6.14-rc1-mm1 without any additional patch.

B) Can't mount a loop file on reiser4 :

[root@antares ~]# mount /mnt/diske
[root@antares ~]# mount | grep diske
/dev/hdb8 on /mnt/diske type reiser4 (rw,noexec,nosuid,nodev) [root@antares ~]# cd /mnt/diske/laurent/download/Mandriva-Linux-2006-0.5/ [root@antares Mandriva-Linux-2006-0.5]# mount -t iso9660 -oloop,ro Mandriva-Linux-Free-2006-0.5-CD1.i586.iso /mnt/disk
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or other error
In some cases useful info is found in syslog - try dmesg | tail or so

Quoted 8 lines

If I copy this file to a reiser filesystem, I can mount it without any problem.

Feel free to ask for more details.
~~
laurent

Thanks laurent. This latest reiser4 looks to be a bit of a turkey, sorry for that. It is slower also....

We will fix and......

Hans

#4 lore raw
In reply to Laurent Riffard
Quoted 5 lines · Laurent Riffard

Hello,

In kernel 2.6.14-rc1-mm1, Reiser4 present 2 regressions with regard to 2.6.13-mm1 :

Quoted 8 lines

A) Suspend-to-disk does not work because the process "[ent:hda8]" can't be stopped.

$ mount | grep hda8
/dev/hda8 on /home/laurent/kernel type reiser4 (rw,nosuid,nodev)

Extract of the log :
Restarting tasks...<6> Strange, ent:hda8. not stopped

would you please try to change fs/reiser4/entd.c:
----------------------------------------------

entd.c +2 -2
@@ -173,7 +173,7 @@ static int entd(void *arg)
 		{
 			DEFINE_WAIT(__wait);
 
-			for (;;) {
+			do {
 				prepare_to_wait(&ent->wait, &__wait, TASK_INTERRUPTIBLE);
 				if (kthread_should_stop()) {
 					done = 1;
@@ -182,7 +182,7 @@ static int entd(void *arg)
 				if (ent->nr_all_requests != 0)
 					break;
 				schedule();
-			}
+			} while (0);
 			finish_wait(&ent->wait, &__wait);
 		}
 	}

----------------------------------------------

Quoted 25 lines

I have already mentioned this in another mail to this list, it was done with a modified 2.6.14-rc1-mm1 kernel from Andrew Morton (without the input subsystem changes) plus vm-swap_prefetch-8.patch. I can now confirm the regression on a plain 2.6.14-rc1-mm1 without any additional patch.

B) Can't mount a loop file on reiser4 :

[root@antares ~]# mount /mnt/diske
[root@antares ~]# mount | grep diske
/dev/hdb8 on /mnt/diske type reiser4 (rw,noexec,nosuid,nodev) [root@antares ~]# cd /mnt/diske/laurent/download/Mandriva-Linux-2006-0.5/ [root@antares Mandriva-Linux-2006-0.5]# mount -t iso9660 -oloop,ro Mandriva-Linux-Free-2006-0.5-CD1.i586.iso /mnt/disk mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or other error
In some cases useful info is found in syslog - try dmesg | tail or so

If I copy this file to a reiser filesystem, I can mount it without any problem.

Feel free to ask for more details.
~~
laurent

#5 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 32 lines · Alexander Zarochentsev
Quoted 5 lines · Laurent Riffard

Hello,

In kernel 2.6.14-rc1-mm1, Reiser4 present 2 regressions with regard to 2.6.13-mm1 :

Quoted 8 lines

A) Suspend-to-disk does not work because the process "[ent:hda8]" can't be stopped.

$ mount | grep hda8
/dev/hda8 on /home/laurent/kernel type reiser4 (rw,nosuid,nodev)

Extract of the log :
Restarting tasks...<6> Strange, ent:hda8. not stopped

would you please try to change fs/reiser4/entd.c:
----------------------------------------------

entd.c +1 -1
@@ -173,7 +173,7 @@ static int entd(void *arg)
 		{
 			DEFINE_WAIT(__wait);
 
-			for (;;) {
+			do {
 				prepare_to_wait(&ent->wait, &__wait, TASK_INTERRUPTIBLE);
 				if (kthread_should_stop()) {
 					done = 1;

entd.c static int entd(void *arg)

Quoted 9 lines
entd.c +1 -2
@@ -182,7 +182,7 @@ static int entd(void *arg)
 				if (ent->nr_all_requests != 0)
 					break;
 				schedule();
-			}
+			} while (0);
 			finish_wait(&ent->wait, &__wait);
 		}
 	}
----------------------------------------------

No luck, 2.6.14-rc2-mm1 with the above patch still does not work.

Extract from the log:
Stopping tasks: ===============
stopping tasks failed (1 tasks remaining)
Restarting tasks...<6> Strange, ent:hda8. not stopped
done

Quoted 18 lines
Quoted 18 lines

I have already mentioned this in another mail to this list, it was done with a modified 2.6.14-rc1-mm1 kernel from Andrew Morton (without the input subsystem changes) plus vm-swap_prefetch-8.patch. I can now confirm the regression on a plain 2.6.14-rc1-mm1 without any additional patch.

B) Can't mount a loop file on reiser4 :

[root@antares ~]# mount /mnt/diske
[root@antares ~]# mount | grep diske
/dev/hdb8 on /mnt/diske type reiser4 (rw,noexec,nosuid,nodev) [root@antares ~]# cd /mnt/diske/laurent/download/Mandriva-Linux-2006-0.5/ [root@antares Mandriva-Linux-2006-0.5]# mount -t iso9660 -oloop,ro Mandriva-Linux-Free-2006-0.5-CD1.i586.iso /mnt/disk mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or other error
In some cases useful info is found in syslog - try dmesg | tail or so

Quoted 2 lines
Quoted 2 lines

If I copy this file to a reiser filesystem, I can mount it without any problem.

BTW, this one still occurs in 2.6.14-rc2-mm1.

~~
laurent

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDNp8tUqUFrirTu6IRAvA4AJ9vu6d1/Q03ZDjXHhHKOVayhZuOXwCdFsBj Ps5yyF1VnJYTFB7HL4LkK8U=
=x6/A
-----END PGP SIGNATURE-----

#6 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 14 lines · Laurent Riffard
Quoted 11 lines · Alexander Zarochentsev
Quoted 11 lines · Laurent Riffard
Quoted 10 lines

Hello,

In kernel 2.6.14-rc1-mm1, Reiser4 present 2 regressions with regard to 2.6.13-mm1 :

A) Suspend-to-disk does not work because the process "[ent:hda8]" can't be stopped.

[snip]

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

B) Can't mount a loop file on reiser4 :

[snip]

Good news : these 2 regressions are fixed in 2.6.14-rc2-mm2.

thanks, reiserfs team
~~
laurent
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDPQ6pUqUFrirTu6IRAmOVAJ9mloROdy6SfLS1L2CECVhgkdAlWwCeJQmP 1K+SwdCaWpZhIBP2XW8mnqc=
=/hV+
-----END PGP SIGNATURE-----