[ENBD] (no subject)

HUDZIA Bertrand enbd@lists.community.tummy.com
Mon, 22 Apr 2002 15:31:47 +0200


On Fri, 19 Apr 2002 11:47:15 +0200 (MET DST)
"Peter T. Breuer" <ptb@it.uc3m.es> wrote:

> "A month of sundays ago HUDZIA Bertrand wrote:"
> > I still manage to crash my system even with aa's kernel patch.
> 
> Turn off the "sync" limit in bdflush, or get more memory! 
> 
Does a 
	update -s 0 
Make it ? (it set 0 as time between flush)


> it appears that ioctls were perhaps changing around during the 2.4.*
> development.
> 
> 
Ok, I've notice that in the source, there is a link :

	linux -> linux-2.2.10

that is done when i "make" enbd.
Is it normal that it always point to linux-2.2.10, with every kernel source
 tree i gave in the Makefile ?? (2.4.9, 2.4.18 or 2.4.19-pre6-aa1)

In the Makefile : 
	linux:
	ifeq ($(KERNELMAJOR),2.4)
	        ln -s linux-2.2.10 $@
	else
	  ifeq ($(KERNELMAJOR),2.2)
	        ln -s linux-2.2.10 $@
	  else
	        ln -s linux-2.0.36 $@
	  endif
	endif

The linux-2.4.18 tree isn't used yet ?

I've modify the nbd/nbd-client and the linux-2.2.10/drivers/block/nbd.c
(nothing to change in this one) as you told me but i still have the same
errors :

	nbd-client   763: setdeviceblksize set blksize (1024) failed in kernel
	nbd-client   763: setkernel Failed set blksize 1024 on fd 4: Invalid argument


		Bd.