Re: file locking BUG

From: Jan Kara
Date: Wed Mar 03 2004 - 09:57:08 EST


Hello!

> Got a BUG today. Happened while playing with user-mode-linux, which
> uses locks for the image files presenting the virtual hard disks.
>
> The UML kernel complained that it can't lock the disk:
>
> F_SETLK failed, file already locked by pid 24612
> Failed to lock '/work/uml/yast2/harddisk.img', err = 11
>
> There is no process (any more) with pid 24612 through. Checked the
> kernel log on the host and found the BUG message below ...
I was also hitting the bug - host kernel 2.4.23-skas3. It was almost
100% reproducible by running uml under GDB and after it boots let GDB
kill it. I didn't see any Ooops in my case.

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