Skip to contentSkip to conversation

rename system call kernel lockup

DISCUSSION Matthias Lange 2 participants 2 messages May 8, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

My system: Linux hobbes 2.4.4-64GB-SMP #1 SMP
(SuSE Distribution 7.2)

The following c program locks up in kernel mode and a reboot is required to access the directory /tmp/b again:

$ mkdir -p /tmp/b/a

--------------------
#include <stdio.h>
int main (void) {
int ret;

ret = rename("/tmp/b/a","/tmp/b"); /* <--- locks up here */

printf("Return Code: %d\n",ret);
perror("main");
return 0
}
--------------------

The partition is reiserfs, created with 3.5 and running with the -o conv option to enable 32Bit uids.

I have not found any references to this problem on the mailing list, is this a known bug? Possibly fixed in current versions?

Any help or advice is appreciated.

Greetings

Matthias Lange

Please cc: me since I am not on the list

Signature · 3 lines
Matthias Lange, Dipl.-Ing. (FH)                 e:   [email protected]
NetUSE AG               Dr.-Hell-Straße         Fon: +49 431 38643500
http://www.netuse.de/   D-24107 Kiel, Germany   Fax: +49 431 38643599
#1 lore raw

Hello!

Quoted 2 lines · Matthias Lange

My system: Linux hobbes 2.4.4-64GB-SMP #1 SMP
(SuSE Distribution 7.2)

Consider upgrading your kernel to 2.4.18+ or to whatever the latest kernel upgrade kernel from SuSE is available now.

Also check your filesystem with latest reiserfsprogs package.

Bye,
Oleg