Re: diskless enbd-client/enbd on initrd

"Peter T. Breuer" <[email protected]> Mon, 10 Apr 2006 12:35:08 +0200 (MET DST)
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
The error return from

> enbd-client   592: client (-1) opened NBD device /dev/nda (2b00)
...

> enbd-client   593: client (-1) set sig or passed sigchk OK
> ENBD #4424[0]: enbd_ioctl unauthorized ioctl 0xc008ab30

indicates that you are not running an appropriate enbd kernel module,
because enbd.h defines:

    #define ENBD_SET_SECTORS64    _IOWR(0xab, 0x30, __u64)

as you can see, that is an enbd ioctl. Your kernel module does not
have that ioctl in it, therefore it is not a 2.4.33 module (the client
tried to use it). It might be a 2.4.32 module. The client tries to use
that ioctl and expects the kernel module to support it.

Sigh .. I'll get it to fall back to the other rather than
compiling in one or the other. It makes sense. Then you can retry.

I've placed the recompiled static client on the ftp site.



Peter