[ENBD] enbd on vmware
Peter T. Breuer
enbd@lists.community.tummy.com
Sun, 9 Feb 2003 21:43:07 +0100 (MET)
"A month of sundays ago Simon Edwards wrote:"
> I've successfully compiled and inserted the enbd module (version
> 2.4.30) into the kernel manually, but the "make test" gets as far as the
> main loop and then hangs (output below) - apparently in a busy loop.
What's the evidence for the loop? The code below never finished the
initial handshake. You'd have to strace something to show a loop ...
> server 278
> enbd-client 275: client (-1) got session port 3034 ok
> enbd-client 275: client (-1) introduction sequence ends ok
> enbd-client 275: client (-1) set device size 8388608
> enbd-client 275: client (-1) sets session slots to 0-3
> enbd-client 284: client (0) found device /dev/ndb1 ok
> enbd-server 280: server (0) opened port 3034 (socket 4) for client
> 127.0.0.1
> enbd-client 284: client (0) opened socket 5 to port 3034
> enbd-client 284: client (0) read passwd ok from port 3034
> enbd-client 284: client (0) got cliserv magic ok from port 3034
> enbd-client 284: client (0) got a signature ok from port 3034
> enbd-client 284:
If you get a hang half way through a syslog/stderr output line, something
is wrong! But not in enbd.
You shoudl run with more channels, anyway. There's no point in only one
(it's like running a bicycle with one wheel).
Peter