Re: [Scsirastools-developers] New user
Brought to you by:
arcress
|
From: Cress, A. R <and...@in...> - 2007-02-20 13:51:02
|
Ah, now we are getting somewhere. There is a later version of mdadm
that might compile better than the one I have copied in this tree. =20
But, the main issue:
It looks like we have functioning sg* tools, but there is an issue with
the devices on bus 5:
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
The next step would be some debug.
1) "cat /proc/scsi/scsi" to see if these devices show up there.
2) "sgsafte -x" and attach /var/log/sgsafte.log
3) "sgdiag -x" and attach /var/log/sgdiag.log
4) "tail /var/log/messages" to see if there is any detail around the bus
error.
This should tell me why a bus error is occurring. =20
It could be something physical, like termination, or it could be a
software bug of some sort. =20
Andy
-----Original Message-----
From: scs...@li...
[mailto:scs...@li...] On Behalf
Of Daniel Smolik
Sent: Friday, February 16, 2007 5:41 PM
Cc: scs...@li...
Subject: Re: [Scsirastools-developers] New user
Cress, Andrew R napsal(a):
> Daniel,
>=20
> 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.
>=20
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?: =20
> aclocal; autoconf; automake; configure; make=20
Before no. But now yes and result is the same.
>=20
>=20
Maybe you could attach a sample of the compile errors you get?
>=20
Yes there is :
cd . && automake-1.9 --gnu Makefile
cd . \
&& CONFIG_FILES=3DMakefile CONFIG_HEADERS=3D /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=3D\"/etc/mdadm.conf\"=20
-ggdb -DSen dmail=3D\""/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=20
'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#=20
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=20
failed
2 /dev/sg2 2:0:15:0 Proc SYMBIOS D1000 2 `'x=20
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=20
9949862528 ready
5 /dev/sg5 /dev/sde 5:0:1:0 Disk=20
failed
monitoring 4 scsi devices ...
e450:~/scsirastools-1.5.1/src# ./sg
sgdefects sgdiag sgdiskmon sgdskfl sgmode sgraidmon=20
sgsafte
e450:~/scsirastools-1.5.1/src# ./sgdiag
sgdiag utility v1.13 for SCSI disks
******************************************
Log file /var/log/sgdiag.log is open, debug=3D0
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
>=20
> -----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
>=20
> Hi all,
> I have get E450 (Sun Sprac) and 3 pcs. of D1000 diak cabinet with
SAF-TE
>=20
> support. I search for tool that can read some infos from SAF-TE. I
found
>=20
> this tool. I try it compile on Sparc but get lot off errors.
>=20
> sgsafte end with Buss error. I would like to help but I am not good=20
> programmer but good tester :-)
>=20
> Regards
> Dan
>=20
>=20
>=20
------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDE
V
_______________________________________________
Scsirastools-developers mailing list
Scs...@li...
https://lists.sourceforge.net/lists/listinfo/scsirastools-developers
|