Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 3104

econet in all its guises • Re: PiEconetBridge and RISC-OS AUN Clients

$
0
0
I've just tried copying !Boot, Apps, and some other directories over to both v2.1-release and v2.2-dev and can't replicate this problem - will wait for the debug and see what turns up in case I've not managed to replicate it properly.

C.
Hmm, so I can replicate it. I just created a 1.4Mb file (by concatting 3 smaller files).

Code:

-rw-r--r-- 1 sweh sweh 1398966 Mar 10 17:21 largefile
Then on RiscOS I did

Code:

*copy hostfs::hostfs.$.tmp.largefile net::system.$.groot.largefile ~C
On the server I can see a file of the right size appearing pretty quickly, but it's full of zeros. And RiscOS has frozen with the hourglass.

Looking at the debug logs, I see the initial allocation being done...

Code:

42 Set file pointer on channel 04 to 010000, current extent 000000 which is beyond EOF[+      47.647999] tid  217895 FS      :                              from  10.142  - tried to write 001000 bytes, actually wrote 00100042  - tried to write 001000 bytes, actually wrote 001000[+      47.647999] tid  217895 FS      :                              from  10.142  - tried to write 001000 bytes, actually wrote 001000[+      47.647999] tid  217895 FS      :                              from  10.142  - tried to write 001000 bytes, actually wrote 001000...42 Set file pointer on channel 04 to 1558B6, current extent 150000 which is beyond EOF[+      47.712002] tid  217895 FS      :                              from  10.142  - tried to write 001000 bytes, actually wrote 001000[+      47.712002] tid  217895 FS      :                              from  10.142  - tried to write 001000 bytes, actually wrote 001000[+      47.712002] tid  217895 FS      :                              from  10.142  - tried to write 001000 bytes, actually wrote 001000[+      47.712002] tid  217895 FS      :                              from  10.142  - tried to write 001000 bytes, actually wrote 001000[+      47.712002] tid  217895 FS      :                              from  10.142  - tried to write 001000 bytes, actually wrote 001000[+      47.712002] tid  217895 FS      :                              from  10.142  - tried to write 0008B6 bytes, actually wrote 0008B6
So that's good, so far and explains why the file gets created with all zeros.

We continue

Code:

[+      47.712002] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&99 C:&00 (O) Type ACK Seq 0x00000096 Length 0x0000 addr 0x7f90137a60[+      47.712002] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&25 C:&00 (O) Type DAT Seq 0x00004098 Length 0x0002 addr 0x7f84000c40                   00000000: 00 00                                           ..[+      47.713001] tid  217895 PACKET  : Local      0.254 from  10.142 P:&00 C:&80 (O) Type ACK Seq 0x00004098 Length 0x0000 addr 0x7f84000c40[+      47.713001] tid  217895 PACKET  : Local      0.254 from  10.142 P:&99 C:&80 (O) Type DAT Seq 0x0000009A Length 0x000A addr 0x7f84000c40                   00000000: 26 0D 01 02 04 08 00 B6 58 15                   &.......X.
And then things break. We have a continuous repetitive sequence

Code:

[+      47.714001] tid  217895 FS      :                              from  10.142 Set file pointer on channel 04 to 1558B6, current extent 1558B6[+      47.714001] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&99 C:&00 (O) Type ACK Seq 0x0000009A Length 0x0000 addr 0x7f90137a60[+      47.714001] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&26 C:&00 (O) Type DAT Seq 0x0000409C Length 0x0002 addr 0x7f840010c0                   00000000: 00 00                                           ..[+      47.715000] tid  217895 PACKET  : Local      0.254 from  10.142 P:&00 C:&80 (O) Type ACK Seq 0x0000409C Length 0x0000 addr 0x7f840010c0[+      47.715000] tid  217895 PACKET  : Local      0.254 from  10.142 P:&99 C:&80 (O) Type DAT Seq 0x0000009E Length 0x000A addr 0x7f840010c0                   00000000: 27 0D 01 02 04 08 00 B6 58 15                   '.......X.[+      47.715000] tid  217895 FS      :                              from  10.142 Set file pointer on channel 04 to 1558B6, current extent 1558B6[+      47.715000] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&99 C:&00 (O) Type ACK Seq 0x0000009E Length 0x0000 addr 0x7f90137a60[+      47.715000] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&27 C:&00 (O) Type DAT Seq 0x000040A0 Length 0x0002 addr 0x7f84000c40                   00000000: 00 00                                           ..[+      47.716000] tid  217895 PACKET  : Local      0.254 from  10.142 P:&00 C:&80 (O) Type ACK Seq 0x000040A0 Length 0x0000 addr 0x7f84000c40[+      47.716000] tid  217895 PACKET  : Local      0.254 from  10.142 P:&99 C:&80 (O) Type DAT Seq 0x000000A2 Length 0x000A addr 0x7f84000c40                   00000000: 28 0D 01 02 04 08 00 B6 58 15                   (.......X.[+      47.716000] tid  217895 FS      :                              from  10.142 Set file pointer on channel 04 to 1558B6, current extent 1558B6[+      47.716000] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&99 C:&00 (O) Type ACK Seq 0x000000A2 Length 0x0000 addr 0x7f90137a60[+      47.716000] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&28 C:&00 (O) Type DAT Seq 0x000040A4 Length 0x0002 addr 0x7f840010c0                   00000000: 00 00                                           ..[+      47.716999] tid  217895 PACKET  : Local      0.254 from  10.142 P:&00 C:&80 (O) Type ACK Seq 0x000040A4 Length 0x0000 addr 0x7f840010c0[+      47.716999] tid  217895 PACKET  : Local      0.254 from  10.142 P:&99 C:&80 (O) Type DAT Seq 0x000000A6 Length 0x000A addr 0x7f840010c0                   00000000: 29 0D 01 02 04 08 00 B6 58 15                   ).......X.[+      47.716999] tid  217895 FS      :                              from  10.142 Set file pointer on channel 04 to 1558B6, current extent 1558B6[+      47.716999] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&99 C:&00 (O) Type ACK Seq 0x000000A6 Length 0x0000 addr 0x7f90137a60[+      47.716999] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&29 C:&00 (O) Type DAT Seq 0x000040A8 Length 0x0002 addr 0x7f84000c40                   00000000: 00 00                                           ..[+      47.717999] tid  217895 PACKET  : Local      0.254 from  10.142 P:&00 C:&80 (O) Type ACK Seq 0x000040A8 Length 0x0000 addr 0x7f84000c40[+      47.717999] tid  217895 PACKET  : Local      0.254 from  10.142 P:&99 C:&80 (O) Type DAT Seq 0x000000AA Length 0x000A addr 0x7f84000c40                   00000000: 2A 0D 01 02 04 08 00 B6 58 15                   *.......X.[+      47.717999] tid  217895 FS      :                              from  10.142 Set file pointer on channel 04 to 1558B6, current extent 1558B6[+      47.717999] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&99 C:&00 (O) Type ACK Seq 0x000000AA Length 0x0000 addr 0x7f90137a60[+      47.719002] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&2A C:&00 (O) Type DAT Seq 0x000040AC Length 0x0002 addr 0x7f840010c0                   00000000: 00 00                                           ..[+      47.719002] tid  217895 PACKET  : Local      0.254 from  10.142 P:&00 C:&80 (O) Type ACK Seq 0x000040AC Length 0x0000 addr 0x7f840010c0[+      47.719002] tid  217895 PACKET  : Local      0.254 from  10.142 P:&99 C:&80 (O) Type DAT Seq 0x000000AE Length 0x000A addr 0x7f840010c0                   00000000: 2B 0D 01 02 04 08 00 B6 58 15                   +.......X.............+     131.419998] tid  217895 FS      :                              from  10.142 Set file pointer on channel 04 to 1558B6, current extent 1558B6[+     131.421005] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&99 C:&00 (O) Type ACK Seq 0x00047722 Length 0x0000 addr 0x7f84000c40[+     131.421005] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&57 C:&00 (O) Type DAT Seq 0x0004B724 Length 0x0002 addr 0x7f84000ea0                   00000000: 00 00                                           ..[+     131.421005] tid  217895 PACKET  : Local      0.254 from  10.142 P:&00 C:&80 (O) Type ACK Seq 0x0004B724 Length 0x0000 addr 0x7f84000ea0[+     131.421997] tid  217895 PACKET  : Local      0.254 from  10.142 P:&99 C:&80 (O) Type DAT Seq 0x00047726 Length 0x000A addr 0x7f840010c0                   00000000: 58 0D 01 02 04 08 00 B6 58 15                   X.......X.[+     131.421997] tid  217895 FS      :                              from  10.142 Set file pointer on channel 04 to 1558B6, current extent 1558B6[+     131.421997] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&99 C:&00 (O) Type ACK Seq 0x00047726 Length 0x0000 addr 0x7f84000c40[+     131.421997] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&58 C:&00 (O) Type DAT Seq 0x0004B728 Length 0x0002 addr 0x7f84000e80                   00000000: 00 00                                           ..[+     131.421997] tid  217895 PACKET  : Local      0.254 from  10.142 P:&00 C:&80 (O) Type ACK Seq 0x0004B728 Length 0x0000 addr 0x7f84000e80[+     131.423004] tid  217895 PACKET  : Local      0.254 from  10.142 P:&99 C:&80 (O) Type DAT Seq 0x0004772A Length 0x000A addr 0x7f84000e80                   00000000: 59 0D 01 02 04 08 00 B6 58 15                   Y.......X.[+     131.423004] tid  217895 FS      :                              from  10.142 Set file pointer on channel 04 to 1558B6, current extent 1558B6[+     131.423004] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&99 C:&00 (O) Type ACK Seq 0x0004772A Length 0x0000 addr 0x7f84000c40[+     131.423004] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&59 C:&00 (O) Type DAT Seq 0x0004B72C Length 0x0002 addr 0x7f840010c0                   00000000: 00 00                                           ..[+     131.423004] tid  217895 PACKET  : Local      0.254 from  10.142 P:&00 C:&80 (O) Type ACK Seq 0x0004B72C Length 0x0000 addr 0x7f840010c0[+     131.423996] tid  217895 PACKET  : Local      0.254 from  10.142 P:&99 C:&80 (O) Type DAT Seq 0x0004772E Length 0x000A addr 0x7f84000ea0                   00000000: 5A 0D 01 02 04 08 00 B6 58 15                   Z.......X......X.[+     131.423996] tid  217895 FS      :                              from  10.142 Set file pointer on channel 04 to 1558B6, current extent 1558B6[+     131.423996] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&99 C:&00 (O) Type ACK Seq 0x0004772E Length 0x0000 addr 0x7f84000c40[+     131.423996] tid  217895 PACKET  : AUN       10.142 from   1.254 P:&5A C:&00 (O) Type DAT Seq 0x0004B730 Length 0x0002 addr 0x7f84000e80                   00000000: 00 00                                           ..[+     131.425003] tid  217895 PACKET  : Local      0.254 from  10.142 P:&00 C:&80 (O) Type ACK Seq 0x0004B730 Length 0x0000 addr 0x7f84000e80^C[+     131.425003] tid  217895 PACKET  : Local      0.254 from  10.142 P:&99 C:&80 (O) Type DAT Seq 0x00047732 Length 0x000A addr 0x7f84000e80                   00000000: 5B 0D 01 02 04 08 00 B6 58 15                   [.......X.
And at that point I killed the server :-)

The whole log is at http://sweh.spuddy.org/tmp/pibridge-largefile-freeze.gz if it helps

Statistics: Posted by sweh — Mon Mar 10, 2025 9:48 pm



Viewing all articles
Browse latest Browse all 3104

Trending Articles