> On May 20, 2015, at 3:37 AM, Kern Sibbald <k...@sibbald.com> wrote: > > Hello Dan, > > We recently discussed a problem with logical end of tape markers on the > newest FreeBSD system. That reminded me of the previous time we had > problems, and it took us a very long time to find the problem 3-4 months > if I remember right. > > Anyway, here is your email on the subject and the source of the file > that we used to diagnose the problem. I would be a bit surprised if the > current problem is the same thing, but it is probably worth trying. I > haven't tried compiling the program recently so let me know if you have > problems. > > Best regards, > Kern > > PS: It took me a long time to find these attachments because I thought > they were in the test environment, but it looks like I committed them to > the bacula/platforms/freebsd directory.
Compiling on FreeBSD 9.3: $ c++ -g -O2 -Wall -c tapetest.c tapetest.c: In function 'void rrcmd()': tapetest.c:327: warning: deprecated conversion from string constant to 'char*' tapetest.c: At global scope: tapetest.c:526: warning: deprecated conversion from string constant to 'char*' tapetest.c:526: warning: deprecated conversion from string constant to 'char*' tapetest.c:526: warning: deprecated conversion from string constant to 'char*' tapetest.c:526: warning: deprecated conversion from string constant to 'char*' tapetest.c:526: warning: deprecated conversion from string constant to 'char*' tapetest.c:526: warning: deprecated conversion from string constant to 'char*' tapetest.c:526: warning: deprecated conversion from string constant to 'char*' tapetest.c:526: warning: deprecated conversion from string constant to 'char*' tapetest.c:526: warning: deprecated conversion from string constant to 'char*' tapetest.c:526: warning: deprecated conversion from string constant to 'char*' tapetest.c:526: warning: deprecated conversion from string constant to 'char*' tapetest.c:526: warning: deprecated conversion from string constant to 'char*' tapetest.c:526: warning: deprecated conversion from string constant to 'char*' tapetest.c:526: warning: deprecated conversion from string constant to 'char*' tapetest.c:526: warning: deprecated conversion from string constant to 'char*' tapetest.c:526: warning: deprecated conversion from string constant to 'char*' tapetest.c: In function 'void do_tape_cmds()': tapetest.c:535: warning: deprecated conversion from string constant to 'char*' $ c++ -g -O2 -Wall tapetest.o -o tapetest $ $ sudo ./tapetest /dev/sa0 *rewind Rewound /dev/sa0 *rawfill Begin writing blocks of 64512 bytes. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ weof_dev ioctl MTWEOF error on /dev/sa0. ERR=Input/output error. Bad status from weof -1. ERR=Input/output error Write failed. Last block written=52274. stat=24576 ERR=No such file or directory * From /var/log/messages: May 24 18:17:57 knew kernel: (sa0:sym0:0:1:0): WRITE FILEMARKS(6). CDB: 10 00 00 00 01 00 May 24 18:17:57 knew kernel: (sa0:sym0:0:1:0): CAM status: SCSI Status Error May 24 18:17:57 knew kernel: (sa0:sym0:0:1:0): SCSI status: Check Condition May 24 18:17:57 knew kernel: (sa0:sym0:0:1:0): SCSI sense: MEDIUM ERROR asc:c,0 (Write error) May 24 18:17:57 knew kernel: (sa0:sym0:0:1:0): Command Specific Info: 0xca7b May 24 18:17:57 knew kernel: (sa0:sym0:0:1:0): Error 5, Retries exhausted — Dan Langille http://langille.org/ ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel