make test failed

edward mzj <[email protected]>
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
hi, peter
now i can successfully build the enbd outside the kernel, except a few warnings.
but new problems arose when running 'make test'. here is the result

[root@debA:/usr/src/nbd]#make test
export OPTASYNC="" OPTBLK="-b 1024" OPTCLISSL="" OPTJRNL="" OPTLOCK="" OPTMD5SUM="" OPTORDER="-w
500" OPTRAID="-l" OPTRCACHE="-h 10000 " OPTRO="" OPTSASYNC="" OPTSIG="-i "NBDabcdefNBD""
OPTSOCK="-n 4" OPTSRVSSL="" OPTTIME="-t 120" OPT_REQ_TIMEO="-p 5" BUILD="/tmp" VPATH="/tmp"
DEVICE="/dev/ndb" SERVER="localhost" CLIENT="localhost" EXPORT="/tmp/core0 /tmp/core1"
BLKSIZ="1024" SRVSIZ="4194304" RAHEAD="20" MERGE_REQS="0" CHK_PART="0" ; 
/usr/src/nbd-2.4.32/nbd/enbd-maketest --noreload
grep: /proc/nbdinfo: No such file or directory
enbd-server
delay 5senbd-server  3122: server: will open resources in mode linear
file  3122: looking for size of fd 4 with seek SEEK_END...
file  3122: set size of fd 4 to 4194304
file  3122: looking for size of fd 5 with seek SEEK_END...
file  3122: set size of fd 5 to 4194304
enbd-server  3122: size of exported file/device is 8388608B (8192 blocks)
nbd/pidfile  3123: <# 144> lockpidfile returning err 0 for lock attempt
        |-enbd-server(3123)
enbd-server  3123: server (-2) locked /var/state/nbd/server-NBDabcdefNBD.client_ips
enbd-server  3123: server (-2) unlocked /var/state/nbd/server-NBDabcdefNBD.client_ips
enbd-server  3123: server (-2) set new signal handlers
.....
enbd-client
enbd-client  3132: client says target 0 is localhost:3033
enbd-client  3132: <#4187> main Cannot open NBD device /dev/nda: No such device or address
nbd-test  3152: <# 803> main cannot open /dev/nda rw: No such device or address
make: *** [test] Error 234

[root@debA:/usr/src/nbd]#lsmod
Module                  Size  Used by
enbd_ioctl              4756  0 
enbd                  193908  1 enbd_ioctl

[root@debA:/usr/src]#ls /dev/nda*
/dev/nda   /dev/nda10  /dev/nda12  /dev/nda14  /dev/nda2  /dev/nda4  /dev/nda6  /dev/nda8
/dev/nda1  /dev/nda11  /dev/nda13  /dev/nda15  /dev/nda3  /dev/nda5  /dev/nda7  /dev/nda9

[root@debA:/usr/src/nbd]#grep "SERVER " Makefile   
SERVER       = localhost

[root@debA:/usr/src/nbd]#grep "CLIENT " Makefile            
CLIENT       = localhost

[root@debA:/usr/src/nbd]#uname -a
Linux debA 2.6.8.1-EJ_1 #3 Wed Mar 23 21:13:30 CST 2005 i686 unknown

[root@debA:/usr/src/nbd]#dmesg | grep enbd
enbd: no version magic, tainting kernel.
enbd: module license 'unspecified' taints kernel.
enbd_ioctl: no version magic, tainting kernel.



_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://cn.rd.yahoo.com/mail_cn/tag/yisou/music/*http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://cn.rd.yahoo.com/mail_cn/tag/yisou/image/*http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
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.