Re: fixup_slot failed to find slot....
Bas van Schaik <[email protected]> Fri, 10 Mar 2006 11:34:20 +0100
| Newsgroups | gmane.linux.enbd.general |
|---|---|
| Message-ID | <[email protected]> |
Peter T. Breuer wrote:
>"Also sprach scunacc:"
>
>
>>It always segfaults on the 5th process.
>>
>>
>
>I suspect you are missing /dev/nde and the segfault is from the
>message printout in enbd-client line 4218
>
> if (client->open (client) < 0) {
> PERR ("client (%d) cannot open NBD device %s: %m\n", self->i,
> client->name);
> exit (1);
>
>
>Change "self->i" to "client->i". But it was about to exit anyway.
>
>
OK, so this segfault is solved! I found this one too and fired strace on
it with the result that the specified device didn't exist in /dev,
exactly what you mention here. Until now, I didn't have the time to
debug this one good, so I'm glad you did it yourself ;).
--Bas