geom_gate problems (RELENG_6 from today)

Harald Schmalzbauer harry at schmalzbauer.de
Mon Dec 26 05:15:43 PST 2005


Hello, merry christmas to veryone, especially Pawel, since I hope he can 
fix my problem ;)

When I create /dev/ggate2 I can successfully dd to it (the raw device), but 
as soon as I newfs ggate2 and mount it I cannot write a file onto the 
filesystem, like "dd if=/dev/zero of=/mnt/testfile bs=32k".

Same problem when using /dev/ggateX as geom_mirror consumer.
I tried different physical lines for ggate (fwe and em), no difference. I 
also recompiled my kernel without ipfw but also no difference.

Here are some error messages I got:

korso:~#34: ggatec create -u 2 -t 30 172.21.2.1 /dev/ad4p3
korso:~#35: mount /dev/ggate2 /mnt
korso:~#36: dd if=/dev/zero of=/mnt/testfile bs=32k
^Cg_vfs_done():ggate2[WRITE(offset=7733248, length=131072)]error = 5
g_vfs_done():ggate2[WRITE(offset=7864320, length=131072)]error = 5
g_vfs_done():ggate2[WRITE(offset=7995392, length=131072)]error = 5
o_vfs_d60+0 records in
 59+0 records ount
e1933312 bytes tr(ansferred in 19.)828540 secs (975:01 bytes/sec)
ggate2[WRITE(offset=8126464, length=131072)]error = 5
g_vfs_done():ggate2[WRITE(offset=7340032, length=131072)]error = 5
g_vfs_done():ggate2[WRITE(offset=7471104, length=131072)]error = 5
g_vfs_done():ggate2[WRITE(offset=7602176, length=131072)]error = 5
korso:~#37: umount /mnt
g_vfs_done():ggate2[WRITE(offset=114688, length=16384)]error = 5
g_vfs_done():ggate2[WRITE(offset=6144000, length=2048)]error = 5
g_vfs_done():ggate2[WRITE(offset=65536, length=2048)]error = 5
g_vfs_done():ggate2[WRITE(offset=7995392, length=131072)]error = 5
g_vfs_done():ggate2[WRITE(offset=8126464, length=131072)]error = 5
g_vfs_done():ggate2[WRITE(offset=98304, length=16384)]error = 5
fsync: giving up on dirty
0xc3e72110: tag devfs, type VCHR
    usecount 1, writecount 0, refcount 6 mountedhere 0xc400f700
    flags ()
    v_object 0xc18284a4 ref 0 pages 10
     lock type devfs: EXCL (count 1) by thread 0xc3b33000 (pid 1451)
        dev ggate2
umount: unmount of /mnt failed: Resource temporarily unavailable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20051226/2ab58f0e/attachment.bin


More information about the freebsd-stable mailing list