Re: geom_gate problems (RELENG_6 from today)



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

Attachment:pgpUNFL1uB2gt.pgp
Description: PGP signature



Relevant Pages

  • More geom trouble [Was: Re: geom_gate problems (RELENG_6 from today)]
    ... >> Hello, merry christmas to veryone, especially Pawel, since I hope he ... No dump device defined. ... > Unfortunately it's a CF-based server, no space for debug kernel, nor do ...
    (freebsd-stable)
  • Re: 5.4-dropping to debugger
    ... I find myself at a debugger prompt. ... I have a debug kernel, however I have no dump device (and cannot ... developers handbook does not say anything about what can be done ...
    (freebsd-stable)