Hi everybody,
I have problem with udp-receiver, it is unable to store files
larger than 2GB.
I have read older post and found some work around (udp-receiver > image.gz)
but this did not work either.
my config is:
CPU P4 2,4GHz, RAM 512 DDR, HDD WD 120GB, NIC RTL8139 (8139too driver),
i run debian woody orignaly (2.2) kernel but i upgraded to 2.4.18-686,
i use udpcast 20030831,
partition where i store image i big enough and has reiserfs
i administer small lan, about 15 winxp boxes
any hints?
thanx,
der3k
--
I used a similar set at the sender-side ( $ udp-sender --pipe "dd
if=/dev/hda1/" ),
but I don't see why the way how you send stuff affects the maximum storage
size on the receivers end. Can anyone think of something?
- Guus
At 19:44 21-11-2003, Dylan Martin wrote:
>Oops. Sorry about the empty email... Achem!
>
>Anyway, I was going to say, we had the same problem, but we fixed it by
>piping through dd. Our problem seemed to be on the sender though...
>here's what we did...
>
>udp-sender --nokbd --max-bitrate 80m --pipe "dd if=/home/image/disk.img"
>
>The nokbd and max-bitrate are for unrelated problems...
>
>Maybe some simler dd trickery would help your problem.
>
>-Dylan
>
> > Hi everybody,
> > I have problem with udp-receiver, it is unable to store files
> > larger than 2GB.
> > I have read older post and found some work around (udp-receiver > image.gz)
> > but this did not work either.
> >
> > my config is:
> > CPU P4 2,4GHz, RAM 512 DDR, HDD WD 120GB, NIC RTL8139 (8139too driver),
> > i run debian woody orignaly (2.2) kernel but i upgraded to 2.4.18-686,
> > i use udpcast 20030831,
> > partition where i store image i big enough and has reiserfs
> >
> > i administer small lan, about 15 winxp boxes
> >
> > any hints?
> >
> > thanx,
> > der3k
> >
> >
>
>_______________________________________________
>Udpcast mailing list
>Udpcast(a)udpcast.linux.lu
>http://udpcast.linux.lu/mailman/listinfo/udpcast
A Help, Please!
I need to distribute an Image to 40 clients. The resolution of this
image is 1560x1024, and the Max refresh is 1 frame per second. This
Image is in my pc screen, so if I distribute my screen to the clients,
I´ll distribute this Image. This is possible with the software Udpcast??
The clients can be Win2000?? How can I see this image in the clients??
Rodrigo
First let me say that udpcast is a great tool. I use it in SystemImager
as a multicast transport option, and it works quite well.
I do have one conundrum, however, in that I'm trying to do a
--pipe 'tar -x' on a busybox system, and regardless of the exit status
of the --pipe program (tar in this case), I get an exit status of 141
from udp-receiver. The files, however, are untarred successfully.
If I issue the same commands on a non-busy box system, things work fine.
If I receive the stream to a file, --file /tmp/out, udp-receiver exits
with a zero.
A statically compiled udp-receiver exhibits the same behavior.
This is with udpcast-20011231.
I have even applied the patch below, which produces appropriate exit
codes when run on a non-busybox system.
Help!
Thanks, -Brian
diff -urN udpcast-20011231sis2.orig/udpr-negotiate.c udpcast-20011231sis2/udpr-negotiate.c
--- udpcast-20011231sis2.orig/udpr-negotiate.c 2001-12-30 18:07:02.000000000 -0600
+++ udpcast-20011231sis2/udpr-negotiate.c 2003-11-06 10:05:27.000000000 -0600
@@ -1,3 +1,9 @@
+/*
+ * 2003.11.06 Brian E. Finley <finley(a)mcs.anl.gov>
+ * - retrieve status returned by waitForProcess as "pipeStatus", then
+ * exit with status of failed pipe program if status is non-zero.
+ */
+
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
@@ -297,6 +303,8 @@
{
struct fifo fifo;
void *returnValue;
+ int pipeStatus;
+
receiver_stats_t stats = allocReadStats(origOutFile);
initFifo(&fifo, net_config->blockSize);
@@ -315,7 +323,11 @@
/* if we have a pipe, now wait for that too */
if(pipePid) {
- waitForProcess(pipePid, "Pipe");
+ pipeStatus = waitForProcess(pipePid, "Pipe");
+ if(pipeStatus != 0) {
+ fsync(origOutFile);
+ exit(pipeStatus);
+ }
}
fsync(origOutFile);
displayReceiverStats(stats);
--
---------------------------------------------------------
Brian Elliott Finley Argonne, MCS Division
Phone: 630.631.6621 http://thefinleys.com
GPG: 3FF8 D096 0E0C D3F3 29B7 6518 D20B 1931 10F8 EE52
---------------------------------------------------------