Re: enbd_ioctl 2.6.9 kernel fails to modprobe enbd - seg fault
scunacc <[email protected]> Thu, 02 Mar 2006 17:30:49 -0500
| Newsgroups | gmane.linux.enbd.general |
|---|---|
| Message-ID | <1141338649.4432.104.camel@scuna-gate> |
Dear Peter, How do I do just the userspace compile? I did: make config all as per the instructions. What do you want me to do differently? > But you showed me it NOT compiling. No - I showed you it compiling. Completely. The only thing I showed you *today* was the changes I made to make gcc shut up and make it compile completely. That's all. It just needed to make gcc shut up. I did *very* little to make that happen. See the diff I sent previously. All I did was to move the declarations and add the #ifdef . That's it. Nothing else. Didn't touch the code apart from that. Having done that it compiles *perfectly* (only inconsequential warnings left AFAICS). Both kernel and user space. But doesn't install the modules in the kernel. > Could you show me the end of the > userspace compile trace, please? Gladly. Please tell me how I do just the userspace compile. Both user and kernel compilation worked after I patched as above. Very minor changes, just to get gcc to shut up, really! But when I modprobe the kernel module it doesn't work. Here is an ls -l of my /usr/local/sbin: ls -l /usr/local/sbin total 456 -rwxr-xr-x 1 root root 138506 Mar 2 14:26 enbd-client -rwxr-xr-x 1 root root 23270 Mar 2 14:26 enbd-cstatd -rwxr-xr-x 1 root root 8959 Mar 2 14:26 enbd-maketest -rwxr-xr-x 1 root root 144752 Mar 2 14:26 enbd-server -rwxr-xr-x 1 root root 18205 Mar 2 14:26 enbd-sstatd -rwxr-xr-x 1 root root 23963 Mar 2 14:26 enbd-test > Then we'll move on to the kernelspace > compile. Here is: ls -l /lib/modules/2.6.9-cm46customVM/misc/ total 152 -rwxr-xr-x 1 root root 7874 Mar 2 14:26 enbd_ioctl.ko -rwxr-xr-x 1 root root 95266 Mar 2 14:26 enbd.ko Compiling and installing both the user and kernel portions *really* isn't the problem. All the other stuff that remains after that are warnings, and I didn't see anything that wasn't more or less benign in those. I will look again for sure and send that too. Kind regards Derek.