Re: make test failed

[email protected] (Peter T. Breuer)
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
In article <[email protected]> you wrote:
> --- "Peter T. Breuer" <[email protected]> wrote:
> > In article <[email protected]> you wrote:
> > This cannot be the case. What does /proc/devices show? What do your
> > kernel messages (dmesg) say about it?
> > 
> total 97
> -rwxr-xr-x    1 root        91385 Mar 25 16:04 enbd.ko*
> -rwxr-xr-x    1 root         5635 Mar 25 16:04 enbd_ioctl.ko*

Good. Now load them. "insmod ./enbd.ko"

> 147 drbd
> [root@debA:/lib/modules/2.6.8.1-EJ_2/misc]#insmod enbd.ko
> [root@debA:/lib/modules/2.6.8.1-EJ_2/misc]#insmod enbd_ioctl.ko 

And what does /proc/devices say? And what does the kernel say?

> [root@debA:/lib/modules/2.6.8.1-EJ_2/misc]#dir /proc/nbd*

Just what the device and kernel says, please ..

> ls: /proc/nbd*: No such file or directory
> [root@debA:/lib/modules/2.6.8.1-EJ_2/misc]#cat /proc/devices
> ... Omitted, exactly same as above ...

Then the driver is not loaded. But please _show_ it.


> [root@debA:/lib/modules/2.6.8.1-EJ_2/misc]#dmesg
> enbd: no version magic, tainting kernel.

This is not true. It has been miscompiled. I would guess that you have
not compiled your kernel. Please check that you can compile it.

Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.