Re: [Scsirastools-developers] New user
Brought to you by:
arcress
From: Daniel S. <ma...@my...> - 2007-02-16 22:41:06
|
Cress, Andrew R napsal(a): > Daniel, > > Hmmm. It compiles fine here on 32-bit or 64-bit. > Can you tell me if your Sun system is 32-bit or 64-bit? (uname -a) > There would be byte-order differences too, but that wouldn't cause any > compile errors. > Linux e450 2.6.17.14 #2 SMP Thu Feb 15 22:22:11 CET 2007 sparc64 GNU/Linux > Did you do these steps after unpacking the tarball?: > aclocal; autoconf; automake; configure; make Before no. But now yes and result is the same. > > Maybe you could attach a sample of the compile errors you get? > Yes there is : cd . && automake-1.9 --gnu Makefile cd . \ && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status config.status: creating Makefile config.status: executing depfiles commands cd . && autoheader rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive make[1]: Entering directory `/root/scsirastools-1.5.1' Making all in mdadm.d make[2]: Entering directory `/root/scsirastools-1.5.1/mdadm.d' cd mdadm-1.3.0; make make[3]: Entering directory `/root/scsirastools-1.5.1/mdadm.d/mdadm-1.3.0' gcc -Wall -Werror -Wstrict-prototypes -DCONFFILE=\"/etc/mdadm.conf\" -ggdb -DSen dmail=\""/usr/sbin/sendmail -t"\" -c -o mdadm.o mdadm.c cc1: warnings being treated as errors mdadm.c: In function 'main': mdadm.c:365: warning: pointer targets in passing argument 2 of 'parse_uuid' diff er in signedness make[3]: *** [mdadm.o] Error 1 make[3]: Leaving directory `/root/scsirastools-1.5.1/mdadm.d/mdadm-1.3.0' make[2]: *** [mdadm] Error 2 make[2]: Leaving directory `/root/scsirastools-1.5.1/mdadm.d' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/scsirastools-1.5.1' make: *** [all] Error 2 I cd to src/ and copile only sg*. /sgsafte sgsafte utility v1.20 for SCSI SAF-TE testing Num Name bus:ch:id:lun Type Vendor Device_Model FRev Serial# Status 0 /dev/sg0 /dev/sda 2:0:8:0 Disk FUJITSU MAG3091L SUN9.0G 1111 99444 ready 1 /dev/sg1 /dev/sdb 2:0:9:0 Disk failed 2 /dev/sg2 2:0:15:0 Proc SYMBIOS D1000 2 `'x ready 3 /dev/sg3 /dev/sdc 4:0:6:0 CDRM TOSHIBA XM6201TASUN32XCD 1103 12/12/97 ready 4 /dev/sg4 /dev/sdd 5:0:0:0 Disk SEAGATE ST39103LCSUN9.0G 034A 9949862528 ready 5 /dev/sg5 /dev/sde 5:0:1:0 Disk failed monitoring 4 scsi devices ... e450:~/scsirastools-1.5.1/src# ./sg sgdefects sgdiag sgdiskmon sgdskfl sgmode sgraidmon sgsafte e450:~/scsirastools-1.5.1/src# ./sgdiag sgdiag utility v1.13 for SCSI disks ****************************************** Log file /var/log/sgdiag.log is open, debug=0 Num Name [bus:ch:id:lun] Type Vendor Device_Model FW Serial# Size 0 /dev/sg0 [2:0:8:0] Disk FUJITSU MAG3091L SUN9.0G 1111 8637MB 1 /dev/sg1 [2:0:9:0] Disk FUJITSU MAG3091L SUN9.0G 1111 8637MB 2 /dev/sg2 [2:0:15:0] Proc SYMBIOS D1000 2 `'x 3 /dev/sg3 [4:0:6:0] CDROM TOSHIBA XM6201TASUN32XCD 1103 12/12/97 Bus error Thanks for your help Dan > Andy > > -----Original Message----- > From: scs...@li... > [mailto:scs...@li...] On Behalf > Of Daniel Smolik > Sent: Friday, February 16, 2007 4:36 PM > To: scs...@li... > Subject: [Scsirastools-developers] New user > > Hi all, > I have get E450 (Sun Sprac) and 3 pcs. of D1000 diak cabinet with SAF-TE > > support. I search for tool that can read some infos from SAF-TE. I found > > this tool. I try it compile on Sparc but get lot off errors. > > sgsafte end with Buss error. I would like to help but I am not good > programmer but good tester :-) > > Regards > Dan > > > |