On Saturday 14 October 2006 01:33, Michael Brennen wrote: > Hello again Kern, > > Sorry to be a pest, but current CVS as of this morning, after your post, is > still failing the same way it was before. > > I have a totally different autochanger in place now to run the regress tests. > It is a two drive unit, a different brand than the previous tests I have run. > I can duplicate with this unit exactly what I was seeing before. These tests > are run against CVS as of this morning. I did a cold rebuild of the regress > tests to be sure and get the new code in place.
OK, this is good, it sounds like you have nailed it down to be reproducible. > > The problem again is that Bacula does the following: > > * loads slot 2 into drive 1 > * unloads slot 1 from drive 0 > * tries to load slot 2 into drive 0 > > The problem is that there is no unload of slot 2 from drive 1 prior to > attempting to load slot 2 into drive 0. I do not see how this can be related > to mtx-changer, as mtx-changer only does what it is told. In this case > mtx-changer was never told to unload slot 2 from drive 1. > > The mtx-changer log segments are below. These are contiguous lines in the > original file; I have interleaved a few comments to try and make it easy to > read. Can you email me as an attachment a regression script that does the above? Or are you saying that one of my current scripts already does this? If so, which one? I understand what you are saying happens, and it certainly is a bug. What I need now is to be able to reproduce it here. By the way, yes, I can read your attachments, but it is a real pain. I have to download them first. This takes time (and I have been particularly busy lately). It also makes it very hard to keep track of what is going on since it makes it hard with several attachments to have them all on the screen at the same time displayed in different tabs. Regards, Kern > > -- Michael > > > 20061013-17:32:23 Parms: /dev/sg14 loaded 1 /dev/nst8 0 > 20061013-17:32:23 Doing mtx -f /dev/sg14 0 -- to find what is loaded > 20061013-17:32:34 Parms: /dev/sg14 loaded 0 /dev/nst8 0 > 20061013-17:32:35 Doing mtx -f /dev/sg14 0 -- to find what is loaded > 20061013-17:32:44 Parms: /dev/sg14 loaded 2 /dev/nst9 1 > 20061013-17:32:44 Doing mtx -f /dev/sg14 1 -- to find what is loaded > 20061013-17:32:44 Parms: /dev/sg14 load 2 /dev/nst9 1 > 20061013-17:32:44 Doing mtx -f /dev/sg14 load 2 1 > 20061013-17:33:03 Device /dev/nst9 - not ready, retrying 0... > 20061013-17:33:04 Device /dev/nst9 - not ready, retrying 1... > ... > 20061013-17:33:34 Device /dev/nst9 - not ready, retrying 30... > 20061013-17:33:35 Device /dev/nst9 - not ready, retrying 31... > 20061013-17:33:36 Parms: /dev/sg14 loaded 2 /dev/nst9 1 > > *** Slot 2 successfully loaded into drive 1. > > 20061013-17:33:36 Doing mtx -f /dev/sg14 1 -- to find what is loaded > 20061013-17:33:47 Parms: /dev/sg14 loaded 0 /dev/nst9 1 > 20061013-17:33:47 Doing mtx -f /dev/sg14 1 -- to find what is loaded > 20061013-17:33:58 Parms: /dev/sg14 loaded 1 /dev/nst8 0 > 20061013-17:33:58 Doing mtx -f /dev/sg14 0 -- to find what is loaded > 20061013-17:34:00 Parms: /dev/sg14 loaded 2 /dev/nst9 1 > 20061013-17:34:00 Doing mtx -f /dev/sg14 1 -- to find what is loaded > 20061013-17:34:05 Parms: /dev/sg14 loaded 2 /dev/nst8 0 > 20061013-17:34:05 Doing mtx -f /dev/sg14 0 -- to find what is loaded > 20061013-17:34:05 Parms: /dev/sg14 unload 1 /dev/nst8 0 > 20061013-17:34:05 Doing mtx -f /dev/sg14 unload 1 0 > > *** Slot 1 successfully unloaded from drive 0. > > 20061013-17:34:58 Parms: /dev/sg14 loaded 1 /dev/nst9 1 > 20061013-17:34:58 Doing mtx -f /dev/sg14 1 -- to find what is loaded > 20061013-17:34:58 Parms: /dev/sg14 load 2 /dev/nst8 0 > 20061013-17:34:58 Doing mtx -f /dev/sg14 load 2 0 > > *** And now there is an attempt to load slot 2 into drive 0, > without an intervening unload of slot 2 from drive 1. > > 20061013-17:34:58 Device /dev/nst8 - not ready, retrying 0... > 20061013-17:34:59 Device /dev/nst8 - not ready, retrying 1... > 20061013-17:35:00 Device /dev/nst8 - not ready, retrying 2... > ... eventually times out ... > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users