John,

Sorry for the lack of detail. Here is some clarification.

I currently use amanda-2.4.1p1. I wanted to upgrade to v2.4.2 and in the process 
switch to using chg-scsi. So, I compiled 2.4.2 and attempted to figure out how to 
control the changer. I didn't get very far.

> Are you using the 64 bit kernel?  What does "isainfo -v" say?
Valen% isainfo -v
64-bit sparcv9 applications
32-bit sparc applications


> Which chg-scsi?  The one from 2.4.1p1, 2.4.2 or 2.5.0?
2.4.2

> Why would you think you would?  If you use sst, the device name will be 
> (e.g.) /dev/rsst0.  That's the only way on Sol7 to get raw SCSI that I 
> know of.
I saw it referenced on the list and naively thought that's what I needed. I don't have 
/dev/rsst0 either so I have no idea what I'm supposed to use.


> Did you read contrib/sst/README.Amanda?
yes, just now.


> How did you compile it?  How did you try to get it to attach?  Where did 
> you store it (/usr/kernel/drv/sparcv9?)? 
Originally with make from the source directory. I just learned from README.Amanda that 
it is in the wrong place anyway.

When I compile using the 64bit instructions, I get:
# cc -D_KERNEL -D_SYSCALL32 -xarch=v9 -c sst.c
cc: Warning: illegal option -xarch=v9
"sst.c", line 2108: warning: argument #1 is incompatible with prototype:
        prototype: pointer to function(pointer to void) returning void : 
"/usr/include/sys/systm.h", line 114
        argument : pointer to function(pointer to char) returning void
"sst.c", line 2163: warning: argument #1 is incompatible with prototype:
        prototype: pointer to function(pointer to void) returning void : 
"/usr/include/sys/systm.h", line 114
        argument : pointer to function(pointer to char) returning void
"sst.c", line 2283: warning: argument #1 is incompatible with prototype:
        prototype: pointer to function(pointer to void) returning void : 
"/usr/include/sys/systm.h", line 114
        argument : pointer to function(pointer to char) returning void
"sst.c", line 2371: warning: argument #1 is incompatible with prototype:
        prototype: pointer to function(pointer to void) returning void : 
"/usr/include/sys/systm.h", line 114
        argument : pointer to function(pointer to char) returning void
# 

>  
> What happens if you take the machine down and do a "probe-scsi-all" at 
> the boot prompt?  Does the system see the changer?  What does it have 
> to say about it? 
I'll check into this tonight.




Chris Stone     
The Johns Hopkins University
Applied Physics Laboratory
Laurel, MD

Reply via email to