Hello.

I've found deadlock in gbde(4) and/or md(4).

Here is a complete procedure hot to repeat it:

        # touch /mnt/test.file
        # mdconfig -a -t vnode -f /mnt/test.file -s 512M -u 1
        # mkdir /etc/gbde
        # gbde init /dev/md1 -L /etc/gbde/md1
        Enter new passphrase:
        Reenter new passphrase:
        Wrote key 0 at 25444352
        # gbde attach md1 -l /etc/gbde/md1
        Enter passphrase:
        # newfs -U -O2 /dev/md1.bde
        /dev/md1.bde: 496.5MB (1016768 sectors) block size 16384, fragment size 2048
                using 4 cylinder groups of 124.12MB, 7944 blks, 15936 inodes.
                with soft updates
        super-block backups (for fsck -b #) at:
         160, 254368, 508576, 762784
        # mkdir /mnt/test
        # mount /dev/md1.bde /mnt/test
        # cp -R /usr/src /mnt/test &
        [ wait about 10 seconds ]
        # ls /mnt/te[TAB]
        or
        # sync;sync

-- 
Pawel Jakub Dawidek                       [EMAIL PROTECTED]
UNIX Systems Programmer/Administrator     http://garage.freebsd.pl
Am I Evil? Yes, I Am!                     http://cerber.sourceforge.net

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to