GEOM Gate: sparc64/i386 compatibility issues?

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Dec 18 03:40:22 PST 2006


On Sun, Dec 17, 2006 at 10:00:46PM +0100, Andrea Montemaggio wrote:
> Hi there,
> I've two machines with a 6.1-RELEASE installed on: one is a sparc64 and the another is an i386 machine
> with a little (and I think not relevant) kernel configuration differences.
> If I run ggated on the i386 and I try to connect through ggatec from the sparc, ggated exits telling me
> it has created ggate0 device but the device does not exist in /dev con the sparc machine; moreover,
> when I run ggatec list (or ggatel list) the machine freezes (not an hard freeze, but there is inability to do anything).
> Conversely, if I try to export from the sparc and connect from the i386,
> i get this error from 'ggatec -v':
> - error: ggatec: ioctl(/dev/ggctl): Invalid argument.
> From another i386 machine running a 6.1-RELEAS too, everything is ok.
> All this seems to be a little strange.. Has anybody any ideas?

I committed a fix for this problem, I think few days ago.
Could you try those revisions (on sparc64):

	src/sbin/ggate/ggated/ggated.c	rev. 1.8
	src/sbin/ggate/shared/ggate.c	rev. 1.7
	src/sbin/ggate/shared/ggate.h	rev. 1.4

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- 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-geom/attachments/20061218/f8f369de/attachment.pgp


More information about the freebsd-geom mailing list