I had the core dump problem with chg-scsi as well. I am on NetBSD/i386 V2.0.2. I did a couple of things, of the two I am not sure if both were required but:
I am running a HP SureStore DAT24x6 changer. The first was: I set my changerident to: "C1553A". (The closest value defined in chg-scsi to my changer/drive). I see "FastStor DLT" is defined. Have you tried that in your chg-scsi.conf ? I looked through changer-src\sense.c and I see the following special entries for changers. ADIC DAT AutoChanger L500 ATL HP 1553A HP 1537A Tandberg TDS 1420 DLT8000 DLT7000 AIT VLS DLT Library AIT VLS SDX Library Exabyte 85058 Exabyte 10e Library Exabyte 210 Library Exabyte 230D Library Spectra Treefrog Library It would appear that the sense.c structure is defining inquiry results and defining how to interpret them. Your changer may require some entries in there. Here is the chg-scsi.conf that I use that works for me on my HP changer. My changer device on NetBSD is "/dev/ch0". "dev /dev/nrst0" is my no-rewind tape drive device, "scsitapedev /dev/rst0" I added so that my "tapestatus /usr/pkg/etc/amanda/st0-status" file gets update with error status values after a run. My changer did not seem to require the "eject" value to be set so I left it at 0. "scsitapedev" may also be key as I think it changes how it talks to the drive/changer. With "debug 9:0" I get lots of detail in chg-scsi* files I find in /tmp/amanda. number_configs 1 eject 0 # Tapedrives need an eject command sleep 5 # Seconds to wait until the tape gets ready cleanmax 50 # How many times could a cleaning tape get used changerident C1553A changerdev /dev/ch0 debug 9:0 # # Next comes the data for drive 0 # config 0 drivenum 0 dev /dev/nrst0 # the device that is used for the tapedrive 0 scsitapedev /dev/rst0 startuse 0 # The slots associated with the drive 0 enduse 4 # statfile /usr/pkg/etc/amanda/st0-slot # The file where the actual slot is stored cleancart 5 # the slot where the cleaningcartridge for drive 0 is located cleanfile /usr/pkg/etc/amanda/st0-clean # The file where the cleanings are recorded usagecount /usr/pkg/etc/amanda/totaltime tapestatus /usr/pkg/etc/amanda/st0-status # This is the end There is a command documented as: "chg-scsi -genconf". What does that do in your case ? I have never tried it on my machine. Can you make some of those available after performing some of the commands that work and ones that don't ? Under chgscsi.txt in the docs directory of 2.4.5 there are lots of notes on chg-scsi. Scott... Scott R. Burns NETCON Technologies Inc. Suite 135 - 4474 Blakie Road London, Ontario, Canada N6L 1G7 Voice: +1.519.652.0401 Fax: +1.519.652.9275 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Marcus Sent: Saturday, August 13, 2005 2:34 PM To: amanda-users@amanda.org Subject: Questions re: the chg-scsi documentation I was going through those pages a bit this morning and had a few questions..; Firstly, at the Configuration Notes it says I should be able to get the changer value with modprobe sg. That command returns nothing; which doesn't seem right? But if I do a modprobe sg -l then I get: /lib/modules/2.6.8-24-default/kernel/drivers/scsi/sg.ko So have I got the right module loaded for sg devices? Secondly, what does -status do? what is the param you have to pass it? Thirdly, around the changerident section, it lists Faststor DLT which is what I run. It's listed as an "other value". Does that mean chg-scsi supports my drive w/o the changerident argument? Whenever I try to add it, chg-scsi just gets cross at me. Thanks for any help. I'm getting so close to this tape drive working that I'm almost sick; chg-scsi will now pick a tape and load it! :} But it still segfaults on -scan, and it will "eject" the tape but doesn't know how to unload it (I have to follow up with mtx -f /dev/sg1 unload) Good weekend to everyone..! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com