[ENBD] (no subject)

HUDZIA Bertrand enbd@lists.community.tummy.com
Fri, 19 Apr 2002 11:04:03 +0200


	Hello, it's me again ..

I still manage to crash my system even with aa's kernel patch.
So i decided to try the kernel 2.4.9, the one before vm change.

First , can a client run a 2.4.9 and server 2.4.18 , with their own enbd binaries  ?

Now, i've tried that :
	- servers : single processor kernel 2.4.18 with enbd-2.4.28 compiled against 2.4.18
	- client : single processor kernel 2.4.9 with enbd-2.4.28 compiled against 2.4.9

I got this message on the client :

	[root@bd1 heho-2.4.9]# ./nbd-client bd2:1592 -n 1 -s -i "bd2" /devfs/nd/a/0
	nbd-client  5367: client (-1) manager opened NBD device /devfs/nd/a/0 (2b00)
	nbd-client  5367: client (-1) left kernel bdflush sync boundary at 90%
	nbd-client  5367: client (-1) left kernel bdflush async boundary at 10%
	nbd-client  5368: client (-1) starts introduction sequence on port 1592
	nbd-client  5368: client (-1) got session port 1594 ok
	nbd-client  5368: client (-1) introduction sequence ends ok
Up to here, no problem.

	nbd-client  5368: setkernel Failed set blksize 1024 on fd 4: Invalid argument
	nbd-client  5368: introduction Failed/5: Invalid argument

Arf , what does that mean ?

	nbd-client  5368: introduction client (-1) introduction bails out on port 1592
	nbd-client  5368: client (-1) manager waits 10s after 0s before retry 


On the client's console i catch tis one :
	NBD #3763[53]: nbd_ioctl unauthorized ioctl


Err .. Is there a special option to the kernel for enbd that I may have forgoten ?

Note that i used the right nbd.o and nbd-client, didn't mess up with files :
	[root@bd1 heho-2.4.9]# mod_nbd   
	Using /lib/modules/2.4.9/nbd.o
and
	[root@bd1 heho-2.4.9]# ./nbd-client bd2:1592 -n 1 -s -i "bd2" /devfs/nd/a/0


Any sugestions ?

		Bd.