Re: [Linux-decnet-user] More RH7.1 / kernel 2.4 copying woes
Brought to you by:
chrissie_c,
ph3-der-loewe
|
From: Eduardo S. <ems...@ho...> - 2001-03-27 12:28:36
|
Hi, I am afraid the problem is related to the MTU (Max Transfer Unit) that Steve's Kernel implementation of DECnet uses. This was set to 230 Bytes so I had to issue a patch for DAPFS to work with it (BLOCK I/O would fail because it needs more that 230 bytes (????)). You can obtain it downloading the dapfs patch and applying it. Hope this helps, Eduardo Serrat >From: Paul Sherwin <psh...@st...> >To: lin...@li... >Subject: [Linux-decnet-user] More RH7.1 / kernel 2.4 copying woes >Date: Mon, 26 Mar 2001 17:13:36 +0100 > >I still haven't managed to copy a large file from a Linux system to a >uVaxII using linux-decnet under RH7.1 beta. I did the following: > >1. Obtained the source for kernel 2.4.2 and rebuilt it, specifying Decnet >support be included in the kernel. > >2. Rebuilt dnprogs2.07 against this kernel. > >This has made absolutely no difference. The Linux Decnet node is seen by, >and sees, the Vax node, and files can be copied from the Vax to the Linux >box with no obvious problems. Sethost also works. However, if the same file >is copied back to the Vax, the following happens: > >Red Hat Linux release 7.0.90 (Fisher) >Kernel 2.4.2 on an i486 >login: root >Password: >Last login: Mon Mar 26 16:34:16 from 192.168.0.214 >You have mail. >[root@OldTimer /root]# cd /tmp >[root@OldTimer /tmp]# dncopy -vvv -mblock -rfix /tmp/starlet.olb >'psc"system"::dua0:[paul]' >Sending message of type CONFIG >wrote 17 bytes >read: read 21 bytes >Got message of type CONFIG >Remote buffer size is 32767 >Using block size 32767 >Remote OS is 7 >in dap_send_attributes() >Blocked output is ON >Sending message of type ATTRIB >Sending message of type ALLOC >Blocked output is OFF, sending 14 bytes >wrote 14 bytes >Sending message of type ACCESS >wrote 32 bytes >in dap_get_file_entry() >read: read 63 bytes >Got message of type ATTRIB >Got message of type PROTECT >Got message of type NAME >Got message of type ACK >in dap_send_connect() >Sending message of type CONTROL >wrote 5 bytes >in dap_get_reply() >read: read 2 bytes >Got message of type ACK >in dap_send_get_or_put($PUT) >Sending message of type CONTROL >wrote 6 bytes >in dap_put_record(512 bytes) >Blocked output is ON >Sending message of type DATA >in dap_put_record(512 bytes) >Sending message of type DATA > /* REPEATED MANY TIMES */ >in dap_put_record(512 bytes) >Sending message of type DATA >block is over-full(33088), Sending 32571 bytes >Wrote 32571 bytes, buffer size is now 517 bytes >in dap_put_record(512 bytes) >Sending message of type DATA > /* REPEATED MANY TIMES */ >in dap_put_record(512 bytes) >Sending message of type DATA >block is over-full(33088), Sending 32571 bytes >Wrote 32571 bytes, buffer size is now 517 bytes >in dap_put_record(512 bytes) >Sending message of type DATA > /* REPEATED MANY TIMES */ >in dap_put_record(512 bytes) >Sending message of type DATA >block is over-full(33088), Sending 32571 bytes >Wrote 32571 bytes, buffer size is now 517 bytes >in dap_put_record(512 bytes) >Sending message of type DATA > /* REPEATED MANY TIMES */ >in dap_put_record(512 bytes) >Sending message of type DATA >block is over-full(33088), Sending 32571 bytes >Wrote 32571 bytes, buffer size is now 517 bytes >in dap_put_record(512 bytes) >Sending message of type DATA > /* REPEATED MANY TIMES */ >in dap_put_record(512 bytes) >Sending message of type DATA >block is over-full(33088), Sending 32571 bytes > /* LONG WAIT */ >Wrote 32571 bytes, buffer size is now 517 bytes >in dap_put_record(512 bytes) >Sending message of type DATA > /* REPEATED MANY TIMES */ >in dap_put_record(512 bytes) >Sending message of type DATA >block is over-full(33088), Sending 32571 bytes > /* LONG WAIT */ >Wrote 32571 bytes, buffer size is now 517 bytes >in dap_put_record(512 bytes) >Sending message of type DATA > /* REPEATED MANY TIMES */ >in dap_put_record(512 bytes) >Sending message of type DATA >block is over-full(33088), Sending 32571 bytes > /* LONG WAIT */ >Wrote 32571 bytes, buffer size is now 517 bytes >in dap_put_record(512 bytes) >Sending message of type DATA > /* REPEATED MANY TIMES */ >in dap_put_record(512 bytes) >Sending message of type DATA >block is over-full(33088), Sending 32571 bytes > /* HANGS (OR VERY LONG WAIT) */ > /* PRESS CTRL-C */ >[root@OldTimer /tmp]# > >It's also not possible to copy the file from the other end using fal -ag. > >I don't think there's anything very unusual about my setup, but I can't >believe nobody else has hit this problem since it's so easy to reproduce. >Help! > >TIA, Paul > >Paul Sherwin Consulting 22 Monmouth Road, Oxford OX1 4TD, UK >Phone +44 (0)1865 721438 http://www.psherwin.strayduck.com >Mobile +44 (0)7931 578334 mailto:psh...@st... >Pager +44 (0)7666 797228 > >_______________________________________________ >Linux-decnet-user mailing list >Lin...@li... >http://lists.sourceforge.net/lists/listinfo/linux-decnet-user _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. |