Hello everyone:
I am stumped on this one, I don't want to go pointing fingers screaming that
this a bug, but I have exhausted all resources I can to try to figure out
this problem.
I am running amanda 2.4.2p2 on a Dell Dimension XPS with 512MB of Ram and 2
30gig IDE Hard Drives.
The operating systems is Red Hat 7.1 with kernel 2.3.4-6
The Tape Changer is a Qualstar TLS 4210 with an AIT Tape Drive.
When I run amcheck or do any manipulation with the changer I get the
following error:
amcheck-server: fatal slot <error>: <error> could not read result from
"/usr/local/libexec/chg-scsi" (got signal 11)
Then it core dumps in the amanda configuration file directory.
Here is some output:
# gdb -n -c core /usr/local/libexec/chg-scsi
GNU gdb 5.0rh-5 Red Hat Linux 7.1
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `/usr/local/libexec/chg-scsi -slot next'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /usr/lib/libreadline.so.4.1...done.
Loaded symbols for /usr/lib/libreadline.so.4.1
Reading symbols from /lib/libtermcap.so.2...done.
Loaded symbols for /lib/libtermcap.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0 GenericMove (DeviceFD=5, from=217, to=63000) at
scsi-changer-driver.c:2557
2557 if (pfrom->status == 'E')
(gdb) bt
#0 GenericMove (DeviceFD=5, from=217, to=63000) at
scsi-changer-driver.c:2557
#1 0x0804c1db in load (fd=5, drive=0, slot=12) at scsi-changer-driver.c:652
#2 0x0804b686 in main (argc=3, argv=0xbfffff24) at chg-scsi.c:1107
#3 0x400a1177 in __libc_start_main (main=0x804ad3c <main>, argc=3,
ubp_av=0xbfffff24, init=0x80491f8 <_init>, fini=0x805bad0 <_fini>,
rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbfffff1c)
at ../sysdeps/generic/libc-start.c:129
(gdb) list
2552 if ((pto = LookupElement(to)) == NULL)
2553 {
2554 dbprintf(("GenericMove : ElementInfo for %d not found\n",
to));
2555 }
2556
2557 if (pfrom->status == 'E')
2558 {
2559 dbprintf(("GenericMove : from %d is empty\n", from));
2560 }
2561
(gdb) quit
Are there any patches I might be missing or is this fixed in a BETA version
of Amanda?
Thank you in advance for your help with this matter.
Warm Regards,
Brian