> I have seen cases on recent kernels where it helps to remove:
> -               printk(KERN_ERR "%s: Attempted send on closed socket\n",
> -                      lo->disk->disk_name);

At the end I compiled the whole kernel.
Then I applied the patch, compiled and load the module successfuly.

I have a laptop exporting a file with the latest nbd-server version
and my laptop connets to it by nbd-client.
When I try to use cfdisk on nbd0 it hangs up till I insert the cable
backup but it should disconnect after 5 seconds.

# nbd-client -timeout 5 -N prova 192.168.1.56 /dev/nbd0
Negotiation: ..size = 512MB
bs=1024, sz=536870912 bytes
timeout=5

If I try to use cfdisk on /dev/nbd1 (that is not connected to anything) I get
  FATAL ERROR: Cannot read disk drive
  Press any key to exit cfdisk

Should nbd module behave different on a new (3.x) kernel?

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general

Reply via email to