Summary: | sysinstall(8): write failure on transfer (wrote -1 bytes of 1425408 bytes) | ||
---|---|---|---|
Product: | Base System | Reporter: | Juan Fco Rodriguez <juan.fco.rodriguez> |
Component: | bin | Assignee: | freebsd-sysinstall (Nobody) <sysinstall> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Unspecified | ||
Hardware: | Any | ||
OS: | Any |
Description
Juan Fco Rodriguez
2006-05-10 23:30:17 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-qa Over to maintainer(s). Responsible Changed From-To: freebsd-bugs->freebsd-sysinstall Over to maintainer(s) It might help if we actually captured the error and displayed it... Thanks, -Garrett Index: dist.c =================================================================== --- dist.c (revision 206173) +++ dist.c (working copy) @@ -40,7 +40,9 @@ #include <sys/time.h> #include <sys/uio.h> #include <ctype.h> +#include <errno.h> #include <signal.h> +#include <string.h> #include <libutil.h> unsigned int Dists; @@ -658,6 +660,7 @@ /* No substitution necessary */ retval = write(fd2, buf, realsize); if (retval != realsize) { + msgDebug("Write failure on transfer: %s", strerror(errno)); fclose(fp); dialog_clear_norefresh(); msgConfirm("Write failure on transfer! (wrote %d bytes of %d bytes)", retval, realsize); @@ -669,6 +672,7 @@ if ((buf[j] != 0x0d) || (j == total - 1) || (buf[j + 1] != 0x0a)) { retval = write(fd2, buf + j, 1); if (retval != 1) { + msgDebug("Write failure on transfer: %s", strerror(errno)); fclose(fp); dialog_clear_norefresh(); msgConfirm("Write failure on transfer! (wrote %d bytes of %d bytes)", j, chunksize); sysinstall has been replaced by bsdinstall in FreeBSD 9.x. Closing. sysinstall has been replaced by bsdinstall in FreeBSD 9.x. Closing. |