scsirastools-developers Mailing List for scsirastools
Brought to you by:
arcress
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(3) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2004 |
Jan
|
Feb
(1) |
Mar
|
Apr
(1) |
May
(3) |
Jun
(1) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2005 |
Jan
|
Feb
(3) |
Mar
|
Apr
(1) |
May
(6) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2007 |
Jan
(1) |
Feb
(16) |
Mar
(27) |
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(4) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(6) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(7) |
2014 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Andy C. <and...@gm...> - 2014-01-16 20:46:38
|
Rick, The source tarball is the download file from the Project Overview. See http://scsirastools.sourceforge.net for pre-built 32-bit and 64-bit rpm packages. # uname -a Will show whether you have 32-bit (i686) or 64-bit (x86_64). If you have Debian or Ubuntu Linux, it uses deb package format (not pre-built). If you have Red Hat, CentOS, SuSE Linux, the binary packages are in rpm format. Assuming you have 64-bit Linux, download the rpm, and do: # rpm -i scsirastools-1.6.4-1.x86_64.rpm<http://scsirastools.sourceforge.net/FILES/scsirastools-1.6.4-1.x86_64.rpm> After that, sgdskfl will be in the path, and you can use its man page: # man sgdskfl Andy On Thu, Jan 16, 2014 at 2:02 PM, Rick Anderson <ric...@si...>wrote: > I see that you show files such as sgdskfl, sgdiskmon and others on the > Project Overview page. I downloaded the scsirastools- > > 1.6.4.tar.gz file but when I unzipped it I did not see these files. > > > > Sorry I do not know Linux very well yet. How do I get these utils? > > > > Thank you for any help you can provide, > > Rick Anderson > > Sigma Mfg > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > Scsirastools-developers mailing list > Scs...@li... > https://lists.sourceforge.net/lists/listinfo/scsirastools-developers > > |
From: Larry B. <lar...@gm...> - 2014-01-16 20:31:05
|
The tarball that you downloaded is just the source code. You will need to compile the source to get the utilities or find a suitable binary package that is compatible with the Linux distribution that you are using. On Thu, Jan 16, 2014 at 11:02 AM, Rick Anderson <ric...@si...>wrote: > I see that you show files such as sgdskfl, sgdiskmon and others on the > Project Overview page. I downloaded the scsirastools- > > 1.6.4.tar.gz file but when I unzipped it I did not see these files. > > > > Sorry I do not know Linux very well yet. How do I get these utils? > > > > Thank you for any help you can provide, > > Rick Anderson > > Sigma Mfg > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > Scsirastools-developers mailing list > Scs...@li... > https://lists.sourceforge.net/lists/listinfo/scsirastools-developers > > |
From: Rick A. <ric...@si...> - 2014-01-16 19:17:46
|
I see that you show files such as sgdskfl, sgdiskmon and others on the Project Overview page. I downloaded the scsirastools- 1.6.4.tar.gz file but when I unzipped it I did not see these files. Sorry I do not know Linux very well yet. How do I get these utils? Thank you for any help you can provide, Rick Anderson Sigma Mfg |
From: Andy C. <and...@us...> - 2011-12-09 17:44:46
|
Yannick, That helps. There was a max_data limit of 50 bytes in sgsubs.c:mode_select(). I bumped that to 64 bytes, and added a debug message if the limit truncation occurs. These changes have been submitted to the SVN head, so you can download them from: http://scsirastools.svn.sourceforge.net/viewvc/scsirastools/trunk/src/sgsub.c?revision=33 http://scsirastools.svn.sourceforge.net/viewvc/scsirastools/trunk/src/sgmode.c?revision=33 Andy From: Yannick Guedon [mailto:Yan...@EM...] Sent: Friday, December 09, 2011 3:55 AM To: Yannick Guedon; Andy Cress Cc: scs...@li... Subject: RE: scsirastools-1.6.4 problem with new SEAGATE HDDD family SAvvio 15K3 / 10K5 / impossible to write page mode 1a which contain 38Bytes Dear Andy, It's better but it's not the final sgmode.c, it's better because the page mode after 1a is now updated however the page mode 1a has still a problem to be modified. Please find in attached the sgmode.log with page mode 1a set to 0x26 from the file ST9900805SS_PM1a_0x26.mdf: 1a 26 00 00 00 00 00 0a 00 00 8c a0 00 00 17 70 00 00 46 50 00 00 46 50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Result is: sense error, key=05 asc=1a ascq=00 Illegal Request, PARAMETER LIST LENGTH ERROR Error in CDB: Byte #?, Bit #7 is in error. Info valid=0, Current [0]: Error -2 setting Mode Page 1a Based on the error found previously, I have created a page mode 1a with 0x24 instead of 0x26 (ST9900805SS_PM1a_0x24.mdf) with same length (38 values and not 36 values): 1a 24 00 06 00 00 00 0a 00 00 8c a0 00 00 17 70 00 00 46 50 00 00 46 50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Result is pass in this case. In attached: sgmode.log, ST9900805SS_PM1a_0x24.mdf, ST9900805SS_PM1a_0x26.mdf Does it help you to find where the problem is? If you have other *.c scripts to try don't worry it's a pleasure to find the root cause and solve the problem. In any case thank a lot for your help on this. Thanks and best regards, Yannick GUEDON From: Yannick Guedon Sent: vendredi 9 décembre 2011 08:52 To: 'Andy Cress' Cc: scs...@li... Subject: RE: scsirastools-1.6.4 problem with new SEAGATE HDDD family SAvvio 15K3 / 10K5 / impossible to write page mode 1a which contain 38Bytes Dear Andy, Thanks a lot for your quick answer and reply, I will try your new sgmode.c and let you know the test result. In any case , I would like to thanks you for your help. Best regards Yannick From: Andy Cress [mailto:and...@us...] Sent: jeudi 8 décembre 2011 23:10 To: Yannick Guedon Cc: scs...@li... Subject: RE: scsirastools-1.6.4 problem with new SEAGATE HDDD family SAvvio 15K3 / 10K5 / impossible to write page mode 1a which contain 38Bytes Yannick, I built an mdf here with extra bytes, and found the issue. The maxl did have to be increased. It used that to allow wrapping one mode page across multiple lines, but that needs to be expanded in this case. Andy From: Yannick Guedon [mailto:Yan...@EM...] Sent: Thursday, December 08, 2011 11:08 AM To: Andy Cress; ar...@us... Cc: scs...@li... Subject: RE: scsirastools-1.6.4 problem with new SEAGATE HDDD family SAvvio 15K3 / 10K5 / impossible to write page mode 1a which contain 38Bytes Dear Andy, I tried your sgmode.c in debug mode, unfortunately I have the same problem with page mode 1a, please find in attached the sgmode.log The difference with the version 1.64 is now the page mode after (1c in my case) is skipped also. Is there any additional parameters to change? Thanks in advance for your help and support. Thanks and best regards, Yannick GUEDON From: Andy Cress [mailto:and...@us...] Sent: jeudi 8 décembre 2011 16:02 To: Yannick Guedon; ar...@us... Cc: scs...@li... Subject: RE: scsirastools-1.6.4 problem with new SEAGATE HDDD family SAvvio 15K3 / 10K5 / impossible to write page mode 1a which contain 38Bytes Yannick, Thanks for your input. I see what the problem is. The problem is not the 38-byte data buffer itself (max_data for that is 50 bytes), but the fact that sgmode.c only reads 80 bytes per line from the mdf file. Attached is a fix for that, increasing the line size to 160 characters. Can you build with this and try it? Andy From: Yannick Guedon [mailto:Yan...@EM...] Sent: Thursday, December 08, 2011 7:47 AM To: ar...@us... Subject: scsirastools-1.6.4 problem with new SEAGATE HDDD family SAvvio 15K3 / 10K5 / impossible to write page mode 1a which contain 38Bytes Dear Andy CRESS, I am an user of your tool call "scsirastools" and thank you for this useful tool, however I notice a problem with new SEAGATE HDD family Savvio 15K3 and 10K5 (product manual in attached). In the new Savvio family, the page mode 1a length increase and the value now is 0x26, I notice a limitation in your program to 0x24, if you write more than 36Bytes, the page mode is jumped, I would like to remove this limitation and also avoid side effect. Could you please teach to change which values in sgmode.c, sgsub.c and other if needed, in order to have this scsirastools which run well. In attached: sgmode.log, ST9900805SS_N003_YG.mdf page mode file Thanks in advance for your help and support. Yannick GUEDON WARNING - This e-mail or its attachments may contain controlled technical data or controlled technology within the definition of the International Traffic in Arms Regulations (ITAR) or Export Administration Regulations (EAR), and are subject to the export control laws of the U.S. Government. Transfer of this data or technology by any means to a foreign person, whether in the United States or abroad, without an export license or other approval from the U.S. Government, is prohibited. The information contained in this document is CONFIDENTIAL and property of Kontron. Any unauthorized review, use, disclosure or distribution is prohibited without express written consent of Kontron. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and enclosed attachments. Click here <https://www.mailcontrol.com/sr/Mul61njn5qDTndxI!oX7Uo9cpkuWnNqkCvAxYJc8K2XA2crxNzjscPP9U7BY3q+!BwDJSzu2ANteTFI5G433hQ==> to report this email as spam. WARNING - This e-mail or its attachments may contain controlled technical data or controlled technology within the definition of the International Traffic in Arms Regulations (ITAR) or Export Administration Regulations (EAR), and are subject to the export control laws of the U.S. Government. Transfer of this data or technology by any means to a foreign person, whether in the United States or abroad, without an export license or other approval from the U.S. Government, is prohibited. The information contained in this document is CONFIDENTIAL and property of Kontron. Any unauthorized review, use, disclosure or distribution is prohibited without express written consent of Kontron. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and enclosed attachments. |
From: Yannick G. <Yan...@EM...> - 2011-12-09 08:54:37
|
Dear Andy, Thanks a lot for your quick answer and reply, I will try your new sgmode.c and let you know the test result. In any case , I would like to thanks you for your help. Best regards Yannick From: Andy Cress [mailto:and...@us...] Sent: jeudi 8 décembre 2011 23:10 To: Yannick Guedon Cc: scs...@li... Subject: RE: scsirastools-1.6.4 problem with new SEAGATE HDDD family SAvvio 15K3 / 10K5 / impossible to write page mode 1a which contain 38Bytes Yannick, I built an mdf here with extra bytes, and found the issue. The maxl did have to be increased. It used that to allow wrapping one mode page across multiple lines, but that needs to be expanded in this case. Andy From: Yannick Guedon [mailto:Yan...@EM...] Sent: Thursday, December 08, 2011 11:08 AM To: Andy Cress; ar...@us... Cc: scs...@li... Subject: RE: scsirastools-1.6.4 problem with new SEAGATE HDDD family SAvvio 15K3 / 10K5 / impossible to write page mode 1a which contain 38Bytes Dear Andy, I tried your sgmode.c in debug mode, unfortunately I have the same problem with page mode 1a, please find in attached the sgmode.log The difference with the version 1.64 is now the page mode after (1c in my case) is skipped also. Is there any additional parameters to change? Thanks in advance for your help and support. Thanks and best regards, Yannick GUEDON From: Andy Cress [mailto:and...@us...] Sent: jeudi 8 décembre 2011 16:02 To: Yannick Guedon; ar...@us... Cc: scs...@li... Subject: RE: scsirastools-1.6.4 problem with new SEAGATE HDDD family SAvvio 15K3 / 10K5 / impossible to write page mode 1a which contain 38Bytes Yannick, Thanks for your input. I see what the problem is. The problem is not the 38-byte data buffer itself (max_data for that is 50 bytes), but the fact that sgmode.c only reads 80 bytes per line from the mdf file. Attached is a fix for that, increasing the line size to 160 characters. Can you build with this and try it? Andy From: Yannick Guedon [mailto:Yan...@EM...] Sent: Thursday, December 08, 2011 7:47 AM To: ar...@us... Subject: scsirastools-1.6.4 problem with new SEAGATE HDDD family SAvvio 15K3 / 10K5 / impossible to write page mode 1a which contain 38Bytes Dear Andy CRESS, I am an user of your tool call "scsirastools" and thank you for this useful tool, however I notice a problem with new SEAGATE HDD family Savvio 15K3 and 10K5 (product manual in attached). In the new Savvio family, the page mode 1a length increase and the value now is 0x26, I notice a limitation in your program to 0x24, if you write more than 36Bytes, the page mode is jumped, I would like to remove this limitation and also avoid side effect. Could you please teach to change which values in sgmode.c, sgsub.c and other if needed, in order to have this scsirastools which run well. In attached: sgmode.log, ST9900805SS_N003_YG.mdf page mode file Thanks in advance for your help and support. Yannick GUEDON WARNING - This e-mail or its attachments may contain controlled technical data or controlled technology within the definition of the International Traffic in Arms Regulations (ITAR) or Export Administration Regulations (EAR), and are subject to the export control laws of the U.S. Government. Transfer of this data or technology by any means to a foreign person, whether in the United States or abroad, without an export license or other approval from the U.S. Government, is prohibited. The information contained in this document is CONFIDENTIAL and property of Kontron. Any unauthorized review, use, disclosure or distribution is prohibited without express written consent of Kontron. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and enclosed attachments. Click here<https://www.mailcontrol.com/sr/Mul61njn5qDTndxI!oX7Uo9cpkuWnNqkCvAxYJc8K2XA2crxNzjscPP9U7BY3q+!BwDJSzu2ANteTFI5G433hQ==> to report this email as spam. WARNING - This e-mail or its attachments may contain controlled technical data or controlled technology within the definition of the International Traffic in Arms Regulations (ITAR) or Export Administration Regulations (EAR), and are subject to the export control laws of the U.S. Government. Transfer of this data or technology by any means to a foreign person, whether in the United States or abroad, without an export license or other approval from the U.S. Government, is prohibited. The information contained in this document is CONFIDENTIAL and property of Kontron. Any unauthorized review, use, disclosure or distribution is prohibited without express written consent of Kontron. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and enclosed attachments. |
From: Andy C. <and...@us...> - 2011-08-23 14:17:43
|
Folks, A new scsirastools-1.6.4 release has been posted to sourceforge. See http://scsirastools.sourceforge.net for source, rpms, docs, etc. The main changes in this release were - updating the sense decoding to include more recent updates from the t10 spec, - including the -y option to force update for firmware images that should contain a model string but do not, - some cleanup and removing the alarms binary from the install. 1.6.4 = ARCress updated 08/03/11, released 08/23/11 src/scsierr.h - updated SCSI asc,ascq table from www.t10.org src/sgdskfl.c - added -y to force match src/getmd.c - renamed getline to get_line src/sgraidmon.c - renamed getline to get_line src/sgsafte.c - renamed getline to get_line src/sgsubmon.c - renamed getline to get_line src/sgsubmon.h - renamed getline to get_line src/sgsub.c - removed uchar/ushort/ulong redefs (in sgsub.h) files/alarms - removed files/ialarms - added as sample binary files/ialarms.64 - added as sample binary files/Makefile.am - do not install ialarms files/mdevt - alarms -> ialarms files/sgevt - alarms -> ialarms src/sgdskfl.8 - added -y option description doc/scsirastools.spec - removed alarms/ialarms, refer to ipmiutil scsirastools-1.6.4 contains: sgdefects.c ver 1.64 sgdiag.c ver 1.64 sgdiskmon.c ver 1.64 sgdskfl.c ver 1.64 sgmode.c ver 1.64 sgraidmon.c ver 1.64 sgsafte.c ver 1.64 |
From: Daniel S. <ma...@my...> - 2011-06-13 19:04:21
|
Andy Cress napsal(a): > Dan, > > The resolution for the compile error is to add this line in sgsubmon.h, near the top: > #define ushort unsigned short > Thanks it helps. But I must use -D_POSIX_C_SOURCE=200112L, to sgsubmon.c add on the top #define _BSD_SOURCE. > About the alignment on SPARC, can you identify where it crashed? Now it looks that on stable it works with this modification OK. But on old stable system it crashes. But I can't identify where because gdb crashed too :-(. It looks like there is some missaligned structure. I only strace. fstat64(0, {st_mode=S_IFREG|0644, st_size=806, ...}) = 4 fstat64(0, {st_mode=S_IFREG|0644, st_size=806, ...}) = 0 mmap(0xf7fc6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4 read(806, "TZif", 4096) = 4 close(0) = -134455296 munmap(0, 8192) = 3 fstat64(0, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 mmap(0xf7fc6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x1 fstat64(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0 mmap(0xf7fc4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x1 write(1, "\n", 1) = 1 sgdefects utility v1.63 for SCSI disks write(55, " sgdefects utilit"..., 55) = 1 ****************************************** write(57, " ******************"..., 57) = 1 Log file /var/log/sgdefects.log is open write(40, "Log file /var/log/sgdefects.log "..., 40) = 1 Num Name [bus:ch:id:lun] Type Vendor Device_Model FW Serial# Size write(74, "\nNum Name [bus:ch:id:lun] Type V"..., 74) = 103872 stat64(umovestr: Input/output error 0x2, {st_mode=S_IFCHR|01200750, st_rdev=makedev(4158962875, 2144305148), ...}) = 103888 stat64(umovestr: Input/output error 0x2, {st_mode=S_IFCHR|01200750, st_rdev=makedev(4158962875, 2144305148), ...}) = -6767412 open(umovestr: Input/output error 0x4, O_RDWR|O_NONBLOCK) = 4 ioctl(0, 0x5382, 0xff98bbfc) = 4 ioctl(0, 0x5386, 0xff98bc0c) = 4 ioctl(0, 0x2203, 0xff98bc08) = 4 ioctl(0, 0x2276, 0xff98bbdc) = 4 fcntl64(16386, F_GETFL) = 0x4 (flags O_RDONLY|0x4) fcntl64(0, F_SETFL, O_RDWR) = 4 fcntl64(2, F_GETFL) = 0x4 (flags O_RDONLY|0x4) fcntl64(0, F_SETFL, O_RDWR) = 4 write(42, "\0\0\0\0\0\0\0\204\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 42) = 4 read(132, "\0\0\0\204", 132) = 4 write(46, "\0\0\0\204\0\0\0,\0\0\4\322\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 46) = 4 read(44, <unfinished ...> --- SIGBUS (Bus error) @ 0 (0) --- +++ killed by SIGBUS +++ > > Andy > > -----Original Message----- > From: Daniel Smolik [mailto:ma...@my...] > Sent: Monday, June 13, 2011 1:40 PM > To: scs...@li... > Subject: [Scsirastools-developers] scsirastools-1.6.3 > > Hi all, > I can't compile on any my box. On my i386 with squeeze and SPARC with squeeze failed with the same output. > On SPARC with debian etch compile OK . But sgdefect crash with SIGBUS. On SPARC this mean access to unaligned address. > > Dan > > > > > > sgdskfl.c:1089: warning: implicit declaration of function ‘sync’ > gcc -D_POSIX_C_SOURCE=200112L -Wall -o sgdskfl sgdskfl.o sgsub.o sgerr.o sgcommon.o > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" > -D_POSIX_C_SOURCE=200112L -Wall -MT sgmode.o -MD -MP -MF ".deps/sgmode.Tpo" -c -o sgmode.o sgmode.c; \ > then mv -f ".deps/sgmode.Tpo" ".deps/sgmode.Po"; else rm -f ".deps/sgmode.Tpo"; exit 1; fi > sgmode.c: In function ‘beforemd’: > sgmode.c:1020: warning: pointer targets in assignment differ in signedness > gcc -D_POSIX_C_SOURCE=200112L -Wall -o sgmode sgmode.o sgsub.o sgerr.o sgcommon.o > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" > -D_POSIX_C_SOURCE=200112L -Wall -MT sgraidmon.o -MD -MP -MF ".deps/sgraidmon.Tpo" -c -o sgraidmon.o sgraidmon.c; \ > then mv -f ".deps/sgraidmon.Tpo" ".deps/sgraidmon.Po"; else rm -f ".deps/sgraidmon.Tpo"; exit 1; fi > In file included from sgraidmon.c:148: > sgsubmon.h:117: error: expected specifier-qualifier-list before ‘ushort’ > sgraidmon.c: In function ‘device_there’: > sgraidmon.c:589: warning: pointer targets in passing argument 1 of ‘open’ differ in signedness > /usr/include/fcntl.h:73: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c: In function ‘check_proc’: > sgraidmon.c:730: error: ‘SLOT_LIST’ has no member named ‘ins’ > sgraidmon.c:764: error: ‘SLOT_LIST’ has no member named ‘stat’ > sgraidmon.c:782: error: ‘SLOT_LIST’ has no member named ‘ins’ > sgraidmon.c:805: error: ‘ushort’ undeclared (first use in this function) > sgraidmon.c:805: error: (Each undeclared identifier is reported only once > sgraidmon.c:805: error: for each function it appears in.) > sgraidmon.c:805: error: expected ‘;’ before ‘tmpins’ > sgraidmon.c:826: error: ‘SLOT_LIST’ has no member named ‘stat’ > sgraidmon.c:829: error: ‘SLOT_LIST’ has no member named ‘stat’ > sgraidmon.c:831: error: ‘SLOT_LIST’ has no member named ‘stat’ > sgraidmon.c:833: error: ‘SLOT_LIST’ has no member named ‘stat’ > sgraidmon.c:839: error: ‘tmpins’ undeclared (first use in this function) > sgraidmon.c:847: error: ‘SLOT_LIST’ has no member named ‘ins’ > sgraidmon.c:849: error: ‘SLOT_LIST’ has no member named ‘ins’ > sgraidmon.c: In function ‘scandev’: > sgraidmon.c:939: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness > /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:979: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness > /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1051: warning: pointer targets in passing argument 1 of ‘fillstr’ differ in signedness > sgsubmon.h:130: note: expected ‘char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1084: warning: pointer targets in passing argument 1 of ‘fillstr’ differ in signedness > sgsubmon.h:130: note: expected ‘char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1085: warning: pointer targets in passing argument 1 of ‘fillstr’ differ in signedness > sgsubmon.h:130: note: expected ‘char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1086: warning: pointer targets in passing argument 1 of ‘fillstr’ differ in signedness > sgsubmon.h:130: note: expected ‘char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1090: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness > /usr/include/string.h:145: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1096: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness > /usr/include/string.h:130: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1096: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness > /usr/include/string.h:130: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1100: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness > /usr/include/string.h:130: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1100: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness > /usr/include/string.h:130: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1115: warning: pointer targets in passing argument 1 of ‘getmd’ differ in signedness > sgraidmon.c:291: note: expected ‘char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1117: warning: pointer targets in passing argument 1 of ‘mdstat’ differ in signedness > sgraidmon.c:449: note: expected ‘char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1139: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness > /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c: In function ‘do_insert’: > sgraidmon.c:1213: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness > /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1213: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness > /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1264: warning: pointer targets in passing argument 1 of ‘getmd’ differ in signedness > sgraidmon.c:291: note: expected ‘char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c: In function ‘do_remove’: > sgraidmon.c:1340: warning: pointer targets in passing argument 1 of ‘getmd’ differ in signedness > sgraidmon.c:291: note: expected ‘char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c: In function ‘check_devstatus’: > sgraidmon.c:1388: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness > /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1388: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness > /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1439: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness > /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1439: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness > /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1440: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness > /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1440: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness > /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1457: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness > /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1457: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness > /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1459: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness > /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1459: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness > /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1475: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness > /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1475: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness > /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1476: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness > /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1476: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness > /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1477: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness > /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1477: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness > /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1478: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness > /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1478: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness > /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c: In function ‘main’: > sgraidmon.c:1694: warning: pointer targets in assignment differ in signedness > sgraidmon.c:1696: warning: pointer targets in assignment differ in signedness > sgraidmon.c:1698: warning: pointer targets in assignment differ in signedness > sgraidmon.c:1700: warning: pointer targets in assignment differ in signedness > sgraidmon.c:1703: warning: pointer targets in assignment differ in signedness > sgraidmon.c:1776: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness > /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1776: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness > /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1777: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness > /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1777: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness > /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1778: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness > /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1778: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness > /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1779: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness > /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ > sgraidmon.c:1779: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness > /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ > make[2]: *** [sgraidmon.o] Error 1 > make[2]: Leaving directory `/tmp/scsirastools-1.6.3/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/tmp/scsirastools-1.6.3' > make: *** [all] Error 2 > marvin@marvin:/tmp/scsirastools-1.6.3$ > -- Mydatex s r.o. http://www.mydatex.cz email: sm...@my... mob: 604200362 tel: 226210085 |
From: Andy C. <and...@us...> - 2011-06-13 18:04:15
|
Dan, The resolution for the compile error is to add this line in sgsubmon.h, near the top: #define ushort unsigned short About the alignment on SPARC, can you identify where it crashed? Andy -----Original Message----- From: Daniel Smolik [mailto:ma...@my...] Sent: Monday, June 13, 2011 1:40 PM To: scs...@li... Subject: [Scsirastools-developers] scsirastools-1.6.3 Hi all, I can't compile on any my box. On my i386 with squeeze and SPARC with squeeze failed with the same output. On SPARC with debian etch compile OK . But sgdefect crash with SIGBUS. On SPARC this mean access to unaligned address. Dan sgdskfl.c:1089: warning: implicit declaration of function ‘sync’ gcc -D_POSIX_C_SOURCE=200112L -Wall -o sgdskfl sgdskfl.o sgsub.o sgerr.o sgcommon.o if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -D_POSIX_C_SOURCE=200112L -Wall -MT sgmode.o -MD -MP -MF ".deps/sgmode.Tpo" -c -o sgmode.o sgmode.c; \ then mv -f ".deps/sgmode.Tpo" ".deps/sgmode.Po"; else rm -f ".deps/sgmode.Tpo"; exit 1; fi sgmode.c: In function ‘beforemd’: sgmode.c:1020: warning: pointer targets in assignment differ in signedness gcc -D_POSIX_C_SOURCE=200112L -Wall -o sgmode sgmode.o sgsub.o sgerr.o sgcommon.o if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -D_POSIX_C_SOURCE=200112L -Wall -MT sgraidmon.o -MD -MP -MF ".deps/sgraidmon.Tpo" -c -o sgraidmon.o sgraidmon.c; \ then mv -f ".deps/sgraidmon.Tpo" ".deps/sgraidmon.Po"; else rm -f ".deps/sgraidmon.Tpo"; exit 1; fi In file included from sgraidmon.c:148: sgsubmon.h:117: error: expected specifier-qualifier-list before ‘ushort’ sgraidmon.c: In function ‘device_there’: sgraidmon.c:589: warning: pointer targets in passing argument 1 of ‘open’ differ in signedness /usr/include/fcntl.h:73: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c: In function ‘check_proc’: sgraidmon.c:730: error: ‘SLOT_LIST’ has no member named ‘ins’ sgraidmon.c:764: error: ‘SLOT_LIST’ has no member named ‘stat’ sgraidmon.c:782: error: ‘SLOT_LIST’ has no member named ‘ins’ sgraidmon.c:805: error: ‘ushort’ undeclared (first use in this function) sgraidmon.c:805: error: (Each undeclared identifier is reported only once sgraidmon.c:805: error: for each function it appears in.) sgraidmon.c:805: error: expected ‘;’ before ‘tmpins’ sgraidmon.c:826: error: ‘SLOT_LIST’ has no member named ‘stat’ sgraidmon.c:829: error: ‘SLOT_LIST’ has no member named ‘stat’ sgraidmon.c:831: error: ‘SLOT_LIST’ has no member named ‘stat’ sgraidmon.c:833: error: ‘SLOT_LIST’ has no member named ‘stat’ sgraidmon.c:839: error: ‘tmpins’ undeclared (first use in this function) sgraidmon.c:847: error: ‘SLOT_LIST’ has no member named ‘ins’ sgraidmon.c:849: error: ‘SLOT_LIST’ has no member named ‘ins’ sgraidmon.c: In function ‘scandev’: sgraidmon.c:939: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:979: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1051: warning: pointer targets in passing argument 1 of ‘fillstr’ differ in signedness sgsubmon.h:130: note: expected ‘char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1084: warning: pointer targets in passing argument 1 of ‘fillstr’ differ in signedness sgsubmon.h:130: note: expected ‘char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1085: warning: pointer targets in passing argument 1 of ‘fillstr’ differ in signedness sgsubmon.h:130: note: expected ‘char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1086: warning: pointer targets in passing argument 1 of ‘fillstr’ differ in signedness sgsubmon.h:130: note: expected ‘char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1090: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness /usr/include/string.h:145: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1096: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness /usr/include/string.h:130: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1096: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness /usr/include/string.h:130: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1100: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness /usr/include/string.h:130: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1100: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness /usr/include/string.h:130: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1115: warning: pointer targets in passing argument 1 of ‘getmd’ differ in signedness sgraidmon.c:291: note: expected ‘char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1117: warning: pointer targets in passing argument 1 of ‘mdstat’ differ in signedness sgraidmon.c:449: note: expected ‘char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1139: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c: In function ‘do_insert’: sgraidmon.c:1213: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1213: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1264: warning: pointer targets in passing argument 1 of ‘getmd’ differ in signedness sgraidmon.c:291: note: expected ‘char *’ but argument is of type ‘unsigned char *’ sgraidmon.c: In function ‘do_remove’: sgraidmon.c:1340: warning: pointer targets in passing argument 1 of ‘getmd’ differ in signedness sgraidmon.c:291: note: expected ‘char *’ but argument is of type ‘unsigned char *’ sgraidmon.c: In function ‘check_devstatus’: sgraidmon.c:1388: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1388: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1439: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1439: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1440: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1440: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1457: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1457: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1459: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1459: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1475: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1475: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1476: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1476: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1477: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1477: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1478: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1478: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c: In function ‘main’: sgraidmon.c:1694: warning: pointer targets in assignment differ in signedness sgraidmon.c:1696: warning: pointer targets in assignment differ in signedness sgraidmon.c:1698: warning: pointer targets in assignment differ in signedness sgraidmon.c:1700: warning: pointer targets in assignment differ in signedness sgraidmon.c:1703: warning: pointer targets in assignment differ in signedness sgraidmon.c:1776: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1776: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1777: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1777: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1778: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1778: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1779: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1779: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ make[2]: *** [sgraidmon.o] Error 1 make[2]: Leaving directory `/tmp/scsirastools-1.6.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/scsirastools-1.6.3' make: *** [all] Error 2 marvin@marvin:/tmp/scsirastools-1.6.3$ -- Mydatex s r.o. http://www.mydatex.cz email: sm...@my... mob: 604200362 tel: 226210085 ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Scsirastools-developers mailing list Scs...@li... https://lists.sourceforge.net/lists/listinfo/scsirastools-developers |
From: Daniel S. <ma...@my...> - 2011-06-13 17:40:36
|
Hi all, I can't compile on any my box. On my i386 with squeeze and SPARC with squeeze failed with the same output. On SPARC with debian etch compile OK . But sgdefect crash with SIGBUS. On SPARC this mean access to unaligned address. Dan sgdskfl.c:1089: warning: implicit declaration of function ‘sync’ gcc -D_POSIX_C_SOURCE=200112L -Wall -o sgdskfl sgdskfl.o sgsub.o sgerr.o sgcommon.o if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -D_POSIX_C_SOURCE=200112L -Wall -MT sgmode.o -MD -MP -MF ".deps/sgmode.Tpo" -c -o sgmode.o sgmode.c; \ then mv -f ".deps/sgmode.Tpo" ".deps/sgmode.Po"; else rm -f ".deps/sgmode.Tpo"; exit 1; fi sgmode.c: In function ‘beforemd’: sgmode.c:1020: warning: pointer targets in assignment differ in signedness gcc -D_POSIX_C_SOURCE=200112L -Wall -o sgmode sgmode.o sgsub.o sgerr.o sgcommon.o if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -D_POSIX_C_SOURCE=200112L -Wall -MT sgraidmon.o -MD -MP -MF ".deps/sgraidmon.Tpo" -c -o sgraidmon.o sgraidmon.c; \ then mv -f ".deps/sgraidmon.Tpo" ".deps/sgraidmon.Po"; else rm -f ".deps/sgraidmon.Tpo"; exit 1; fi In file included from sgraidmon.c:148: sgsubmon.h:117: error: expected specifier-qualifier-list before ‘ushort’ sgraidmon.c: In function ‘device_there’: sgraidmon.c:589: warning: pointer targets in passing argument 1 of ‘open’ differ in signedness /usr/include/fcntl.h:73: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c: In function ‘check_proc’: sgraidmon.c:730: error: ‘SLOT_LIST’ has no member named ‘ins’ sgraidmon.c:764: error: ‘SLOT_LIST’ has no member named ‘stat’ sgraidmon.c:782: error: ‘SLOT_LIST’ has no member named ‘ins’ sgraidmon.c:805: error: ‘ushort’ undeclared (first use in this function) sgraidmon.c:805: error: (Each undeclared identifier is reported only once sgraidmon.c:805: error: for each function it appears in.) sgraidmon.c:805: error: expected ‘;’ before ‘tmpins’ sgraidmon.c:826: error: ‘SLOT_LIST’ has no member named ‘stat’ sgraidmon.c:829: error: ‘SLOT_LIST’ has no member named ‘stat’ sgraidmon.c:831: error: ‘SLOT_LIST’ has no member named ‘stat’ sgraidmon.c:833: error: ‘SLOT_LIST’ has no member named ‘stat’ sgraidmon.c:839: error: ‘tmpins’ undeclared (first use in this function) sgraidmon.c:847: error: ‘SLOT_LIST’ has no member named ‘ins’ sgraidmon.c:849: error: ‘SLOT_LIST’ has no member named ‘ins’ sgraidmon.c: In function ‘scandev’: sgraidmon.c:939: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:979: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1051: warning: pointer targets in passing argument 1 of ‘fillstr’ differ in signedness sgsubmon.h:130: note: expected ‘char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1084: warning: pointer targets in passing argument 1 of ‘fillstr’ differ in signedness sgsubmon.h:130: note: expected ‘char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1085: warning: pointer targets in passing argument 1 of ‘fillstr’ differ in signedness sgsubmon.h:130: note: expected ‘char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1086: warning: pointer targets in passing argument 1 of ‘fillstr’ differ in signedness sgsubmon.h:130: note: expected ‘char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1090: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness /usr/include/string.h:145: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1096: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness /usr/include/string.h:130: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1096: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness /usr/include/string.h:130: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1100: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness /usr/include/string.h:130: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1100: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness /usr/include/string.h:130: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1115: warning: pointer targets in passing argument 1 of ‘getmd’ differ in signedness sgraidmon.c:291: note: expected ‘char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1117: warning: pointer targets in passing argument 1 of ‘mdstat’ differ in signedness sgraidmon.c:449: note: expected ‘char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1139: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c: In function ‘do_insert’: sgraidmon.c:1213: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1213: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1264: warning: pointer targets in passing argument 1 of ‘getmd’ differ in signedness sgraidmon.c:291: note: expected ‘char *’ but argument is of type ‘unsigned char *’ sgraidmon.c: In function ‘do_remove’: sgraidmon.c:1340: warning: pointer targets in passing argument 1 of ‘getmd’ differ in signedness sgraidmon.c:291: note: expected ‘char *’ but argument is of type ‘unsigned char *’ sgraidmon.c: In function ‘check_devstatus’: sgraidmon.c:1388: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1388: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1439: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1439: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1440: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1440: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1457: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1457: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1459: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1459: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness /usr/include/string.h:142: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ sgraidmon.c:1475: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1475: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1476: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1476: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1477: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1477: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1478: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1478: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c: In function ‘main’: sgraidmon.c:1694: warning: pointer targets in assignment differ in signedness sgraidmon.c:1696: warning: pointer targets in assignment differ in signedness sgraidmon.c:1698: warning: pointer targets in assignment differ in signedness sgraidmon.c:1700: warning: pointer targets in assignment differ in signedness sgraidmon.c:1703: warning: pointer targets in assignment differ in signedness sgraidmon.c:1776: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1776: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1777: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1777: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1778: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1778: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1779: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ sgraidmon.c:1779: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness /usr/include/string.h:127: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ make[2]: *** [sgraidmon.o] Error 1 make[2]: Leaving directory `/tmp/scsirastools-1.6.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/scsirastools-1.6.3' make: *** [all] Error 2 marvin@marvin:/tmp/scsirastools-1.6.3$ -- Mydatex s r.o. http://www.mydatex.cz email: sm...@my... mob: 604200362 tel: 226210085 |
From: Daniel S. <ma...@my...> - 2011-06-13 17:20:41
|
Hi all, I try compile new version on my SPARC box but failed. getmd.c:85: error: conflicting types for ‘getline’ /usr/include/stdio.h:651: note: previous declaration of ‘getline’ was here I looks like that getline is function in glibc. On my old box with etch installed it works. But with squeeze it don't work. Regards Dan Andy Cress napsal(a): > The scsirastools-1.6.3 release is posted to sourceforge. > > See http://scsirastools.sourceforge.net for source, binaries, docs, etc. > > Changes: > > 1.6.3 = ARCress updated 05/24/11, released 06/09/11 > > src/sgdefects.c - change response messages for clarity > > src/sgmode.c - change response messages for clarity, > > length checking for optarg strings > > src/sgdskfl.c - fix bug 3303535 with -d looping, add -d to usage, > > change response=d message to 'Download ...', > > fix bug 3307773 for -f filename > 20 chars > > src/sgdiskmon.c - do not check for dups if -r > > doc/sgdskfl.8 - change -n description for clarity > > scsirastools-1.6.3 contains: > > sgdefects.c ver 1.63 > > sgdiag.c ver 1.63 > > sgdiskmon.c ver 1.63 > > sgdskfl.c ver 1.63 > > sgmode.c ver 1.63 > > sgraidmon.c ver 1.63 > > sgsafte.c ver 1.63 > > > WARNING - This e-mail or its attachments may contain controlled technical data or controlled technology within the > definition of the International Traffic in Arms Regulations (ITAR) or Export Administration Regulations (EAR), and are > subject to the export control laws of the U.S. Government. Transfer of this data or technology by any means to a foreign > person, whether in the United States or abroad, without an export license or other approval from the U.S. Government, is > prohibited. The information contained in this document is CONFIDENTIAL and property of Kontron. Any unauthorized review, > use, disclosure or distribution is prohibited without express written consent of Kontron. If you are not the intended > recipient, please contact the sender and destroy all copies of the original message and enclosed attachments. > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > > > > _______________________________________________ > Scsirastools-developers mailing list > Scs...@li... > https://lists.sourceforge.net/lists/listinfo/scsirastools-developers -- Mydatex s r.o. http://www.mydatex.cz email: sm...@my... mob: 604200362 tel: 226210085 |
From: Daniel S. <ma...@my...> - 2011-06-13 17:15:59
|
On SPARC a must add -D_POSIX_C_SOURCE=200112L to avoid getline problem. Dan Andy Cress napsal(a): > The scsirastools-1.6.3 release is posted to sourceforge. > > See http://scsirastools.sourceforge.net for source, binaries, docs, etc. > > Changes: > > 1.6.3 = ARCress updated 05/24/11, released 06/09/11 > > src/sgdefects.c - change response messages for clarity > > src/sgmode.c - change response messages for clarity, > > length checking for optarg strings > > src/sgdskfl.c - fix bug 3303535 with -d looping, add -d to usage, > > change response=d message to 'Download ...', > > fix bug 3307773 for -f filename > 20 chars > > src/sgdiskmon.c - do not check for dups if -r > > doc/sgdskfl.8 - change -n description for clarity > > scsirastools-1.6.3 contains: > > sgdefects.c ver 1.63 > > sgdiag.c ver 1.63 > > sgdiskmon.c ver 1.63 > > sgdskfl.c ver 1.63 > > sgmode.c ver 1.63 > > sgraidmon.c ver 1.63 > > sgsafte.c ver 1.63 > > > WARNING - This e-mail or its attachments may contain controlled technical data or controlled technology within the > definition of the International Traffic in Arms Regulations (ITAR) or Export Administration Regulations (EAR), and are > subject to the export control laws of the U.S. Government. Transfer of this data or technology by any means to a foreign > person, whether in the United States or abroad, without an export license or other approval from the U.S. Government, is > prohibited. The information contained in this document is CONFIDENTIAL and property of Kontron. Any unauthorized review, > use, disclosure or distribution is prohibited without express written consent of Kontron. If you are not the intended > recipient, please contact the sender and destroy all copies of the original message and enclosed attachments. > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > > > > _______________________________________________ > Scsirastools-developers mailing list > Scs...@li... > https://lists.sourceforge.net/lists/listinfo/scsirastools-developers -- Mydatex s r.o. http://www.mydatex.cz email: sm...@my... mob: 604200362 tel: 226210085 |
From: Andy C. <and...@us...> - 2011-06-09 15:45:33
|
The scsirastools-1.6.3 release is posted to sourceforge. See http://scsirastools.sourceforge.net for source, binaries, docs, etc. Changes: 1.6.3 = ARCress updated 05/24/11, released 06/09/11 src/sgdefects.c - change response messages for clarity src/sgmode.c - change response messages for clarity, length checking for optarg strings src/sgdskfl.c - fix bug 3303535 with -d looping, add -d to usage, change response=d message to 'Download ...', fix bug 3307773 for -f filename > 20 chars src/sgdiskmon.c - do not check for dups if -r doc/sgdskfl.8 - change -n description for clarity scsirastools-1.6.3 contains: sgdefects.c ver 1.63 sgdiag.c ver 1.63 sgdiskmon.c ver 1.63 sgdskfl.c ver 1.63 sgmode.c ver 1.63 sgraidmon.c ver 1.63 sgsafte.c ver 1.63 |
From: Andy C. <and...@us...> - 2010-12-13 15:12:20
|
The scsirastools-1.6.2 release is now posted on sourceforge. See http://scsirastools.sf.net for source, binaries and documentation. The main change is to add the -s option to sgmode, so that disabling SMART is easier. 1.6.2 = updated 12/09/10, released 12/13/10 src/sgmode.c - add -s to turn off SMART, fixup for -o if no block desc src/sgdiskmon.c - if sernum is zero length, do not mark as failed doc/sgmode.8 - added -s, -w, -o, -I descriptions to man page doc/UserGuide - updated sgmode section scsirastools-1.6.2 contains: sgdefects.c ver 1.62 sgdiag.c ver 1.62 sgdiskmon.c ver 1.62 sgdskfl.c ver 1.62 sgmode.c ver 1.62 sgraidmon.c ver 1.62 sgsafte.c ver 1.62 |
From: Andy C. <and...@us...> - 2010-06-25 20:12:25
|
The scsirastools-1.6.1 has been released to sourceforge. See http://scsirastools.sf.net for source, binaries, etc. Includes one bug fix and a change to add -a for sgdskfl. The scsirastools-1.6.1 package has been released to sourceforge. See http://scsirastools.sf.net for source, binaries, etc. Includes one bug fix and a change to add -a for sgdskfl. Changes: 1.6.1 = updated 06/25/10, released 06/25/10 src/sgdskfl.c - patch from Josef Moellers to fix bad free for more than one disk download (bug 3016442). added -a option to auto-download any devices with *.lod files in /usr/share/scsirastools/. src/sgcommon.c - added get_nextdev() for -a src/sgcommon.h - added get_nextdev() for -a doc/sgdskfl.8 - changes for -a scsirastools-1.6.1 contains: sgdefects.c ver 1.61 sgdiag.c ver 1.61 sgdiskmon.c ver 1.61 sgdskfl.c ver 1.61 sgmode.c ver 1.61 sgraidmon.c ver 1.61 sgsafte.c ver 1.61 |
From: Andy C. <and...@us...> - 2009-10-14 18:20:42
|
See http://scsirastools.sourceforge.net for binaries and more information. 1.6.0 = updated 10/14/09, released 10/14/09 The default of each utility is no longer interactive. src/sgdefects.c - added -I for interactive mode src/sgdiag.c - added -I for interactive mode src/sgdskfl.c - added -I for interactive mode, added -s option to specify chunk size src/sgmode.c - added -I for interactive mode doc/scsirastools.spec - updated header fields, use %buildroot instead of $RPM_BUILD_ROOT, added map3147n.mdf, st318406.mdf, st336605.mdf, st336607.mdf, st373405.mdf scsirastools-1.6.0 contains: sgdefects.c ver 1.60 sgdiag.c ver 1.60 sgdiskmon.c ver 1.60 sgdskfl.c ver 1.60 sgmode.c ver 1.60 sgraidmon.c ver 1.60 sgsafte.c ver 1.60 |
From: Daniel S. <ma...@my...> - 2008-08-23 18:37:39
|
Cress, Andrew R napsal(a): > The scsirastools-1.5.8 release is now posted to sourceforge.net. > See http://scsirastools.sf.net for rpms and more info. > This release includes some cosmetic changes and a fix for an infinite > loop found when using sgmode -a -m and the specified model was not found. > > 1.5.8 = released 08/22/08, updated 08/12/08 > src/sgmode.c - fixed infinite loop with -a if device not found > src/sgdefects.c > src/sgdiag.c > src/sgdskfl.c > src/sg*.c - move to dump_buf/dump_log instead of dumpbufr > scsirastools-1.5.8 contains: > sgdefects.c ver 1.13 > sgdiag.c ver 1.20 > sgdiskmon.c ver 1.7 > sgdskfl.c ver 1.16 > sgmode.c ver 1.18 > sgraidmon.c ver 1.36 > sgsafte.c ver 1.27 > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Scsirastools-developers mailing list > Scs...@li... > https://lists.sourceforge.net/lists/listinfo/scsirastools-developers Thanks Andy, this release solve problem with SATA :-). Look to this: e450:/home/marvin/tmp/scsirastools-1.5.8/src# ./sgsafte sgsafte utility v1.27 for SCSI SAF-TE testing Num Name bus:ch:id:lun Type Vendor Device_Model FRev Serial# Status 0 /dev/sg0 /dev/sda 0:0:8:0 Disk SEAGATE ST373207LC 0005 3KT625QJ ready 1 /dev/sg1 0:0:15:0 Proc SYMBIOS D1000 2 `'x ready 2 /dev/sg2 /dev/sdb 2:0:8:0 Disk SEAGATE ST373207LC 0005 3KT63KN1 ready 3 /dev/sg3 2:0:15:0 Proc SYMBIOS D1000 2 `'x ready 4 /dev/sg4 /dev/sdc 4:0:0:0 Disk SEAGATE ST39103LCSUN9.0G 034A 9949862528 ready 5 /dev/sg5 /dev/sdd 4:0:1:0 Disk FUJITSU MAG3091L SUN9.0G 1111 9944499149 ready 6 /dev/sg6 /dev/sde 4:0:2:0 Disk FUJITSU MAG3091L SUN9.0G 1111 9944499100 ready 7 /dev/sg7 /dev/sdf 4:0:3:0 Disk FUJITSU MAG3091L SUN9.0G 1111 9944498794 ready 8 /dev/sg8 /dev/sdg 5:0:6:0 CDRM TOSHIBA XM6201TASUN32XCD 1103 12/12/97 ready 9 /dev/sg9 /dev/sdh 8:0:0:0 Emul ATA WDC WD7500AYPS-0 02.0 ready 10 /dev/sg10 /dev/sdi 10:0:0:0 Emul ATA WDC WD7500AYPS-0 02.0 ready 11 /dev/sg11 /dev/sdj 12:0:0:0 Emul ATA WDC WD7500AYPS-0 02.0 ready monitoring 12 scsi devices ... Regards Dan -- Mydatex s r.o. http://www.mydatex.cz email: sm...@my... mob: 604200362 tel: 226210085 |
From: Cress, A. R <and...@in...> - 2008-08-22 15:12:50
|
The scsirastools-1.5.8 release is now posted to sourceforge.net. See http://scsirastools.sf.net for rpms and more info. This release includes some cosmetic changes and a fix for an infinite loop found when using sgmode -a -m and the specified model was not found. 1.5.8 = released 08/22/08, updated 08/12/08 src/sgmode.c - fixed infinite loop with -a if device not found src/sgdefects.c src/sgdiag.c src/sgdskfl.c src/sg*.c - move to dump_buf/dump_log instead of dumpbufr scsirastools-1.5.8 contains: sgdefects.c ver 1.13 sgdiag.c ver 1.20 sgdiskmon.c ver 1.7 sgdskfl.c ver 1.16 sgmode.c ver 1.18 sgraidmon.c ver 1.36 sgsafte.c ver 1.27 |
From: Daniel S. <ma...@my...> - 2008-07-24 17:58:06
|
Cress, Andrew R napsal(a): > Daniel, > > The key is the messages: > device 6 is duplicate > device 7 is duplicate > > There are 3 ATA devices showing up that are identical, and they have no > serial number, since they are emulated devices. > When Linux disks are hot-removed, Linux has trouble with reporting the > missing device correctly and frequently will report the removed device > as a duplicate of the device before it in the scan order. Hence the > need for duplicate checking. > > Was this output produced with sgraidmon or sgdiskmon? It looks like > sgraidmon. > > Hmmm. There is already code to avoid treating Emulated non-SATA drives > as hotplug devices. > In sgsubmon.c:IsSATA(), it checks for vendor=ATA and a valid serial > number, but apparently this is being defeated by this particular disk. > > Can you try it with this changed sgsubmon.c? It has debug that will > show exactly what the serial number contains. > > Andy Yes understand, I test it and let you know. Dan > > -----Original Message----- > From: scs...@li... > [mailto:scs...@li...] On Behalf > Of Daniel Smolik > Sent: Wednesday, July 23, 2008 4:47 PM > To: scs...@li... > Subject: Re: [Scsirastools-developers] New scsirastools-1.5.7 release > > Cress, Andrew R napsal(a): >> >> See http://scsirastools.sf.net for rpms, etc. >> This version fixes a few minor bugs, esp. when running on read-only >> filesystems, and >> one bug in sgmode when interpreting bogus mode pages returned by some >> raid devices. >> >> Andy >> >> 1.5.7 = released 07/23/08, updated 07/23/08 >> src/sgdiag.c - fixed error with -f option to do unattended > format >> src/sgcommon.c - added showlog(), cleanup of fdlog >> src/sgcommon.h - added showlog(), dump_buf() >> src/sgsub.c - make dumpbuf() static >> src/sgmode.c - fixed segfault if bogus mode pages returned, >> replace fprintf(fdlog) with showlog(), > dump_buf(). >> src/sg*.c - use showlog() throughout for safety >> files/st373455.mdf - new, for ST373455 disks >> doc/sgmode.8 - refer to UserGuide 3.1 for mdf files >> doc/UserGuide - set mdf info 1c 0a 88 00 to make sure > SMART+MRIE=off >> scsirastools-1.5.7 contains: >> sgdefects.c ver 1.12 >> sgdiag.c ver 1.19 >> sgdiskmon.c ver 1.6 >> sgdskfl.c ver 1.15 >> sgmode.c ver 1.17 >> sgraidmon.c ver 1.35 >> sgsafte.c ver 1.26 >> >> >> > ------------------------------------------------------------------------ >> > ------------------------------------------------------------------------ > - >> This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge >> Build the coolest Linux based applications with Moblin SDK & win great > prizes >> Grand prize is a trip for two to an Open Source event anywhere in the > world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> >> >> > ------------------------------------------------------------------------ >> _______________________________________________ >> Scsirastools-developers mailing list >> Scs...@li... >> https://lists.sourceforge.net/lists/listinfo/scsirastools-developers > > Hi Andy,dev[5] iret=0, ret=0, len=64 8:0:0:0 /dev/sg5 /dev/sde ATA > WDC WD7500AYPS-002.0 > [6] jret=-1 maj=0, min=0 > [6] bdev ret=0 sdname = /dev/sdf > inquiry ret=65, errno=2 > dev[6] iret=0, ret=0, len=64 10:0:0:0 /dev/sg6 /dev/sdf ATA WDC > WD7500AYPS-002.0 > [7] jret=-1 maj=0, min=0 > [7] bdev ret=0 sdname = /dev/sdg > inquiry ret=65, errno=2 > dev[7] iret=0, ret=0, len=64 12:0:0:0 /dev/sg7 /dev/sdg ATA WDC > WD7500AYPS-002.0 > scan ret = 0 > device 6 is duplicate > device 7 is duplicate > device 7 is duplicate > device 6 is duplicate > nchgs=0 nrdy=6 lastnrdy=64 ndev=8 > Num Name bus:ch:id:lun Type Vendor Device_Model FRev Serial# > Status > 0 /dev/sg0 /dev/sda 4:0:0:0 Disk SEAGATE ST39103LCSUN9.0G 034A > 9949862528 online > 1 /dev/sg1 /dev/sdb 4:0:1:0 Disk FUJITSU MAG3091L SUN9.0G 1111 > 9944499149 online > 2 /dev/sg2 /dev/sdc 4:0:2:0 Disk FUJITSU MAG3091L SUN9.0G 1111 > 9944499100 online > 3 /dev/sg3 /dev/sdd 4:0:3:0 Disk FUJITSU MAG3091L SUN9.0G 1111 > 9944498794 online > 4 /dev/sg4 /dev/sr0 5:0:6:0 CDRM TOSHIBA XM6201TASUN32XCD 1103 12/12/97 > ready > 5 /dev/sg5 /dev/sde 8:0:0:0 Emul ATA WDC WD7500AYPS-0 02.0 > ready > 6 /dev/sg6 /dev/sdf 10:0:0:0 Disk > failed > 7 /dev/sg7 /dev/sdg 12:0:0:0 Disk > failed > monitoring 6 scsi devices ... > dev 4 stat=3, saving > dev 5 stat=3, saving > > > on sdg6 and sdg7 reports failed but this disk are the same as sdg5. I > don't understand why. > > Dan > > > > I have compiled new version nad run it on my modified Sparc box with > mixture of Scsi and SATA disk an get this: > > > > > -- Mydatex s r.o. http://www.mydatex.cz email: sm...@my... mob: 604200362 tel: 226210085 |
From: Cress, A. R <and...@in...> - 2008-07-24 16:18:26
|
Daniel, The key is the messages: device 6 is duplicate device 7 is duplicate There are 3 ATA devices showing up that are identical, and they have no serial number, since they are emulated devices. When Linux disks are hot-removed, Linux has trouble with reporting the missing device correctly and frequently will report the removed device as a duplicate of the device before it in the scan order. Hence the need for duplicate checking. Was this output produced with sgraidmon or sgdiskmon? It looks like sgraidmon. Hmmm. There is already code to avoid treating Emulated non-SATA drives as hotplug devices. In sgsubmon.c:IsSATA(), it checks for vendor=ATA and a valid serial number, but apparently this is being defeated by this particular disk. Can you try it with this changed sgsubmon.c? It has debug that will show exactly what the serial number contains. Andy -----Original Message----- From: scs...@li... [mailto:scs...@li...] On Behalf Of Daniel Smolik Sent: Wednesday, July 23, 2008 4:47 PM To: scs...@li... Subject: Re: [Scsirastools-developers] New scsirastools-1.5.7 release Cress, Andrew R napsal(a): > > See http://scsirastools.sf.net for rpms, etc. > This version fixes a few minor bugs, esp. when running on read-only > filesystems, and > one bug in sgmode when interpreting bogus mode pages returned by some > raid devices. > > Andy > > 1.5.7 = released 07/23/08, updated 07/23/08 > src/sgdiag.c - fixed error with -f option to do unattended format > src/sgcommon.c - added showlog(), cleanup of fdlog > src/sgcommon.h - added showlog(), dump_buf() > src/sgsub.c - make dumpbuf() static > src/sgmode.c - fixed segfault if bogus mode pages returned, > replace fprintf(fdlog) with showlog(), dump_buf(). > src/sg*.c - use showlog() throughout for safety > files/st373455.mdf - new, for ST373455 disks > doc/sgmode.8 - refer to UserGuide 3.1 for mdf files > doc/UserGuide - set mdf info 1c 0a 88 00 to make sure SMART+MRIE=off > scsirastools-1.5.7 contains: > sgdefects.c ver 1.12 > sgdiag.c ver 1.19 > sgdiskmon.c ver 1.6 > sgdskfl.c ver 1.15 > sgmode.c ver 1.17 > sgraidmon.c ver 1.35 > sgsafte.c ver 1.26 > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Scsirastools-developers mailing list > Scs...@li... > https://lists.sourceforge.net/lists/listinfo/scsirastools-developers Hi Andy,dev[5] iret=0, ret=0, len=64 8:0:0:0 /dev/sg5 /dev/sde ATA WDC WD7500AYPS-002.0 [6] jret=-1 maj=0, min=0 [6] bdev ret=0 sdname = /dev/sdf inquiry ret=65, errno=2 dev[6] iret=0, ret=0, len=64 10:0:0:0 /dev/sg6 /dev/sdf ATA WDC WD7500AYPS-002.0 [7] jret=-1 maj=0, min=0 [7] bdev ret=0 sdname = /dev/sdg inquiry ret=65, errno=2 dev[7] iret=0, ret=0, len=64 12:0:0:0 /dev/sg7 /dev/sdg ATA WDC WD7500AYPS-002.0 scan ret = 0 device 6 is duplicate device 7 is duplicate device 7 is duplicate device 6 is duplicate nchgs=0 nrdy=6 lastnrdy=64 ndev=8 Num Name bus:ch:id:lun Type Vendor Device_Model FRev Serial# Status 0 /dev/sg0 /dev/sda 4:0:0:0 Disk SEAGATE ST39103LCSUN9.0G 034A 9949862528 online 1 /dev/sg1 /dev/sdb 4:0:1:0 Disk FUJITSU MAG3091L SUN9.0G 1111 9944499149 online 2 /dev/sg2 /dev/sdc 4:0:2:0 Disk FUJITSU MAG3091L SUN9.0G 1111 9944499100 online 3 /dev/sg3 /dev/sdd 4:0:3:0 Disk FUJITSU MAG3091L SUN9.0G 1111 9944498794 online 4 /dev/sg4 /dev/sr0 5:0:6:0 CDRM TOSHIBA XM6201TASUN32XCD 1103 12/12/97 ready 5 /dev/sg5 /dev/sde 8:0:0:0 Emul ATA WDC WD7500AYPS-0 02.0 ready 6 /dev/sg6 /dev/sdf 10:0:0:0 Disk failed 7 /dev/sg7 /dev/sdg 12:0:0:0 Disk failed monitoring 6 scsi devices ... dev 4 stat=3, saving dev 5 stat=3, saving on sdg6 and sdg7 reports failed but this disk are the same as sdg5. I don't understand why. Dan I have compiled new version nad run it on my modified Sparc box with mixture of Scsi and SATA disk an get this: -- Mydatex s r.o. http://www.mydatex.cz email: sm...@my... mob: 604200362 tel: 226210085 ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Scsirastools-developers mailing list Scs...@li... https://lists.sourceforge.net/lists/listinfo/scsirastools-developers |
From: Daniel S. <ma...@my...> - 2008-07-23 20:47:16
|
Cress, Andrew R napsal(a): > > See http://scsirastools.sf.net for rpms, etc. > This version fixes a few minor bugs, esp. when running on read-only > filesystems, and > one bug in sgmode when interpreting bogus mode pages returned by some > raid devices. > > Andy > > 1.5.7 = released 07/23/08, updated 07/23/08 > src/sgdiag.c - fixed error with -f option to do unattended format > src/sgcommon.c - added showlog(), cleanup of fdlog > src/sgcommon.h - added showlog(), dump_buf() > src/sgsub.c - make dumpbuf() static > src/sgmode.c - fixed segfault if bogus mode pages returned, > replace fprintf(fdlog) with showlog(), dump_buf(). > src/sg*.c - use showlog() throughout for safety > files/st373455.mdf - new, for ST373455 disks > doc/sgmode.8 - refer to UserGuide 3.1 for mdf files > doc/UserGuide - set mdf info 1c 0a 88 00 to make sure SMART+MRIE=off > scsirastools-1.5.7 contains: > sgdefects.c ver 1.12 > sgdiag.c ver 1.19 > sgdiskmon.c ver 1.6 > sgdskfl.c ver 1.15 > sgmode.c ver 1.17 > sgraidmon.c ver 1.35 > sgsafte.c ver 1.26 > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Scsirastools-developers mailing list > Scs...@li... > https://lists.sourceforge.net/lists/listinfo/scsirastools-developers Hi Andy,dev[5] iret=0, ret=0, len=64 8:0:0:0 /dev/sg5 /dev/sde ATA WDC WD7500AYPS-002.0 [6] jret=-1 maj=0, min=0 [6] bdev ret=0 sdname = /dev/sdf inquiry ret=65, errno=2 dev[6] iret=0, ret=0, len=64 10:0:0:0 /dev/sg6 /dev/sdf ATA WDC WD7500AYPS-002.0 [7] jret=-1 maj=0, min=0 [7] bdev ret=0 sdname = /dev/sdg inquiry ret=65, errno=2 dev[7] iret=0, ret=0, len=64 12:0:0:0 /dev/sg7 /dev/sdg ATA WDC WD7500AYPS-002.0 scan ret = 0 device 6 is duplicate device 7 is duplicate device 7 is duplicate device 6 is duplicate nchgs=0 nrdy=6 lastnrdy=64 ndev=8 Num Name bus:ch:id:lun Type Vendor Device_Model FRev Serial# Status 0 /dev/sg0 /dev/sda 4:0:0:0 Disk SEAGATE ST39103LCSUN9.0G 034A 9949862528 online 1 /dev/sg1 /dev/sdb 4:0:1:0 Disk FUJITSU MAG3091L SUN9.0G 1111 9944499149 online 2 /dev/sg2 /dev/sdc 4:0:2:0 Disk FUJITSU MAG3091L SUN9.0G 1111 9944499100 online 3 /dev/sg3 /dev/sdd 4:0:3:0 Disk FUJITSU MAG3091L SUN9.0G 1111 9944498794 online 4 /dev/sg4 /dev/sr0 5:0:6:0 CDRM TOSHIBA XM6201TASUN32XCD 1103 12/12/97 ready 5 /dev/sg5 /dev/sde 8:0:0:0 Emul ATA WDC WD7500AYPS-0 02.0 ready 6 /dev/sg6 /dev/sdf 10:0:0:0 Disk failed 7 /dev/sg7 /dev/sdg 12:0:0:0 Disk failed monitoring 6 scsi devices ... dev 4 stat=3, saving dev 5 stat=3, saving on sdg6 and sdg7 reports failed but this disk are the same as sdg5. I don't understand why. Dan I have compiled new version nad run it on my modified Sparc box with mixture of Scsi and SATA disk an get this: -- Mydatex s r.o. http://www.mydatex.cz email: sm...@my... mob: 604200362 tel: 226210085 |
From: Cress, A. R <and...@in...> - 2008-07-23 19:36:41
|
See http://scsirastools.sf.net for rpms, etc. This version fixes a few minor bugs, esp. when running on read-only filesystems, and one bug in sgmode when interpreting bogus mode pages returned by some raid devices. Andy 1.5.7 = released 07/23/08, updated 07/23/08 src/sgdiag.c - fixed error with -f option to do unattended format src/sgcommon.c - added showlog(), cleanup of fdlog src/sgcommon.h - added showlog(), dump_buf() src/sgsub.c - make dumpbuf() static src/sgmode.c - fixed segfault if bogus mode pages returned, replace fprintf(fdlog) with showlog(), dump_buf(). src/sg*.c - use showlog() throughout for safety files/st373455.mdf - new, for ST373455 disks doc/sgmode.8 - refer to UserGuide 3.1 for mdf files doc/UserGuide - set mdf info 1c 0a 88 00 to make sure SMART+MRIE=off scsirastools-1.5.7 contains: sgdefects.c ver 1.12 sgdiag.c ver 1.19 sgdiskmon.c ver 1.6 sgdskfl.c ver 1.15 sgmode.c ver 1.17 sgraidmon.c ver 1.35 sgsafte.c ver 1.26 |
From: Cress, A. R <and...@in...> - 2007-11-13 16:24:50
|
See http://scsirastools.sf.net for rpms, etc. There are two main changes in this release - Finding the /dev/sd* block device name needed to use new logic for 2.6.16 sysfs - For 6 disks, repeated inserts & removals can create a /dev/sg* device node gap, which=20 caused some devices to show up as "Dead". Changes: 1.5.6 =3D released 11/13/07, updated 09/12/07 src/sgsubmon.c - added new find_blockdev for 2.6.16 sysfs src/sgsubmon.h - added find_blockdev src/sgdiskmon.c - added find_blockdev src/sgraidmon.c - added find_blockdev src/sgsubmon.c - if sysfs, clear devname if not found src/sgdiskmon.c - handle /dev/sg gaps src/sgraidmon.c - handle /dev/sg gaps scsirastools-1.5.6 contains: sgdefects.c ver 1.11 sgdiag.c ver 1.18 sgdiskmon.c ver 1.4 sgdskfl.c ver 1.14 sgmode.c ver 1.16 sgraidmon.c ver 1.33 sgsafte.c ver 1.25 =20 =20 |
From: Cress, A. R <and...@in...> - 2007-08-08 15:46:57
|
The scsirastools-1.5.5 package is released on sourceforge. See http://scsirastools.sf.net. There are two option changes to improve scripting. =20 =20 1.5.5 =3D released 08/08/07, updated 08/06/07 src/sgdiag.c - added -f option to format without prompts src/sgmode.c - added -w to set write cache separately scsirastools-1.5.5 contains: sgdefects.c ver 1.10 sgdiag.c ver 1.17 sgdiskmon.c ver 1.3 sgdskfl.c ver 1.13 sgmode.c ver 1.15 sgraidmon.c ver 1.32 sgsafte.c ver 1.24 =20 Andy Cress =20 |
From: Cress, A. R <and...@in...> - 2007-04-24 11:50:51
|
Daniel, Both sgraidmon and sgsafte have a routine mdstat() which checks disks to see if they are active in a software raid by scanning /proc/mdstat. READY disks are healthy, but not in a RAID, and ONLINE disks are healthy, and show up in /proc/mdstat as active in a RAID configuration, as governed by /etc/raidtab. You can confirm this by doing "cat /proc/mdstat". =20 Sgdiskmon doesn't deal with RAIDs, so all READY hard disks are considered ONLINE. =20 Andy=20 -----Original Message----- From: scs...@li... [mailto:scs...@li...] On Behalf Of Daniel Smolik Sent: Tuesday, April 24, 2007 2:57 AM To: scs...@li... Subject: [Scsirastools-developers] sgsafte question Hi, can anybody explain me why status of disk is sometime ready and sometime online ? sgsafte utility v1.23 for SCSI SAF-TE testing Num Name bus:ch:id:lun Type Vendor Device_Model FRev Serial#=20 Status 0 /dev/sg0 /dev/sda 1:0:8:0 Disk FUJITSU MAG3091L SUN9.0G 1111=20 9944498794 onlin=20 e 1 /dev/sg1 /dev/sdb 1:0:9:0 Disk FUJITSU MAG3091L SUN9.0G 1111=20 9944499100 onlin=20 e 2 /dev/sg2 1:0:15:0 Proc SYMBIOS D1000 2 `'}=20 ready 3 /dev/sg3 /dev/sdc 2:0:8:0 Disk FUJITSU MAG3091L SUN9.0G 1111=20 9944498792 ready=20 4 /dev/sg4 /dev/sdd 2:0:9:0 Disk FUJITSU MAG3091L SUN9.0G 1111=20 9944499149 onlin=20 e 5 /dev/sg5 2:0:15:0 Proc SYMBIOS D1000 2 `'}=20 ready 6 /dev/sg6 /dev/sde 4:0:6:0 CDRM TOSHIBA XM6201TASUN32XCD 1103 12/12/97 ready 7 /dev/sg7 /dev/sdf 5:0:0:0 Disk SEAGATE ST39103LCSUN9.0G 034A=20 9949862528 ready=20 monitoring 8 scsi devices ... All disk are the same. Regards Dan PS: I use latest sgsafte --=20 Mydatex s r.o. http://www.mydatex.cz email: sm...@my... mob: 604200362 tel: 226210085 ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Scsirastools-developers mailing list Scs...@li... https://lists.sourceforge.net/lists/listinfo/scsirastools-developers |
From: Daniel S. <ma...@my...> - 2007-04-24 06:57:10
|
Hi, can anybody explain me why status of disk is sometime ready and sometime online ? sgsafte utility v1.23 for SCSI SAF-TE testing Num Name bus:ch:id:lun Type Vendor Device_Model FRev Serial# Status 0 /dev/sg0 /dev/sda 1:0:8:0 Disk FUJITSU MAG3091L SUN9.0G 1111 9944498794 onlin e 1 /dev/sg1 /dev/sdb 1:0:9:0 Disk FUJITSU MAG3091L SUN9.0G 1111 9944499100 onlin e 2 /dev/sg2 1:0:15:0 Proc SYMBIOS D1000 2 `'} ready 3 /dev/sg3 /dev/sdc 2:0:8:0 Disk FUJITSU MAG3091L SUN9.0G 1111 9944498792 ready 4 /dev/sg4 /dev/sdd 2:0:9:0 Disk FUJITSU MAG3091L SUN9.0G 1111 9944499149 onlin e 5 /dev/sg5 2:0:15:0 Proc SYMBIOS D1000 2 `'} ready 6 /dev/sg6 /dev/sde 4:0:6:0 CDRM TOSHIBA XM6201TASUN32XCD 1103 12/12/97 ready 7 /dev/sg7 /dev/sdf 5:0:0:0 Disk SEAGATE ST39103LCSUN9.0G 034A 9949862528 ready monitoring 8 scsi devices ... All disk are the same. Regards Dan PS: I use latest sgsafte -- Mydatex s r.o. http://www.mydatex.cz email: sm...@my... mob: 604200362 tel: 226210085 |