geom_gate problems (RELENG_6 from today)

Emanuel Strobl Emanuel.strobl at gmx.net
Mon Dec 26 05:30:01 PST 2005


Am Montag, 26. Dezember 2005 14:15 CEST schrieb Harald Schmalzbauer:
> 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:

While playing arround I got a panic:

GEOM_GATE[0]: Device ggate2 destroyed.
korso:~#65: ggatec create -u 2 10.0.0.1 /dev/ad4p3
korso:~#66: mount /dev/ggate2 /mnt
korso:~#67: dd if=/dev/zero of=/mnt/testfile bs=32k
dev = ggate2, block = 3704, fs = /mnt
panic: ffs_blkfree: freeing free block
Uptime: 1h6m55s
GEOM_RAID3: Device BIGVOL: provider raid3/BIGVOL destroyed.
GEOM_RAID3: Device BIGVOL destroyed.
Cannot dump. No dump device defined.
Automatic reboot in 15 seconds - press a key on the console to abort

Unfortunately it's a CF-based server, no space for debug kernel, nor do I 
have a HD as dumpdev. But I guess this is easily reproducable

-Harry

>
> 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/381dc051/attachment.bin


More information about the freebsd-stable mailing list