Can anyone make sg_start work under 9.3?
I have 2 9.3 systems and I can not get sg_start to work. # sg-start 1 /dev/sdb bash: sg-start: command not found hrnowl:/home/pelliott # sg_start 1 /dev/sdb /bin/sg_start: line 87: cd: /usr/src/packages/BUILD/sg3_utils-1.12: No such file or directory gcc: sg_start.o: No such file or directory gcc: ./.libs/libsgutils.so: No such file or directory # It worked fine under 9.2. Does anyone know what is going on? Thank You. -- Paul Elliott 1(512)837-1096 pelliott@io.com PMB 181, 11900 Metric Blvd Suite J http://www.io.com/~pelliott/pme/ Austin TX 78758-3117
On Sunday 26 June 2005 3:13 pm, Paul Elliott wrote:
I have 2 9.3 systems and I can not get sg_start to work.
# sg-start 1 /dev/sdb bash: sg-start: command not found hrnowl:/home/pelliott # sg_start 1 /dev/sdb /bin/sg_start: line 87: cd: /usr/src/packages/BUILD/sg3_utils-1.12: No such file or directory gcc: sg_start.o: No such file or directory gcc: ./.libs/libsgutils.so: No such file or directory #
It worked fine under 9.2. Does anyone know what is going on?
From the shell script.... # The sg_start program cannot be directly executed until all the libtool # libraries that it depends on are installed. # Do you have the libtool libraries installed? Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-21.7-default x86_64 SuSE Linux 9.3 (x86-64)
On Sun, Jun 26, 2005 at 06:12:56PM -0700, Scott Leighton wrote:
On Sunday 26 June 2005 3:13 pm, Paul Elliott wrote:
I have 2 9.3 systems and I can not get sg_start to work.
# sg-start 1 /dev/sdb bash: sg-start: command not found hrnowl:/home/pelliott # sg_start 1 /dev/sdb /bin/sg_start: line 87: cd: /usr/src/packages/BUILD/sg3_utils-1.12: No such file or directory gcc: sg_start.o: No such file or directory gcc: ./.libs/libsgutils.so: No such file or directory #
It worked fine under 9.2. Does anyone know what is going on?
From the shell script....
# The sg_start program cannot be directly executed until all the libtool # libraries that it depends on are installed. #
Do you have the libtool libraries installed?
Yes. # rpm -q libtool libtool-1.5.14-3 hrnowl:/home/pelliott # rpm -q libtool -i Name : libtool Relocations: (not relocatable) Version : 1.5.14 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany Release : 3 Build Date: Sat 19 Mar 2005 11:33:00 AM CST Install date: Sun 19 Jun 2005 06:13:40 AM CDT Build Host: g125.suse.de Group : Development/Tools/Building Source RPM: libtool-1.5.14-3.src.rpm Size : 2363510 License: GPL Signature : DSA/SHA1, Sat 19 Mar 2005 11:36:56 AM CST, Key ID a84edae89c800aca Packager : http://www.suse.de/feedback URL : http://www.gnu.org/software/libtool/ Summary : A tool to build shared libraries Description : GNU libtool is a set of shell scripts to automatically configure UNIX architectures to build shared libraries in a generic fashion. Authors: -------- Gordon Matzigkeit <gord@gnu.org> Alexandre Oliva <oliva@dcc.unicamp.br> Thomas Tanner <tanner@ffii.org> Gary V. Vaughan <gvv@techie.com> Ossama Othman <ossama@debian.org> Robert Boehne <rboehne@ricardo-us.com> Bob Friesenhahn <bfriesen@simple.dallas.tx.us> Distribution: SuSE Linux 9.3 (i586) # -- Paul Elliott 1(512)837-1096 pelliott@io.com PMB 181, 11900 Metric Blvd Suite J http://www.io.com/~pelliott/pme/ Austin TX 78758-3117
On Sun, Jun 26, 2005 at 05:13:38PM -0500, Paul Elliott wrote:
I have 2 9.3 systems and I can not get sg_start to work.
# sg-start 1 /dev/sdb bash: sg-start: command not found hrnowl:/home/pelliott # sg_start 1 /dev/sdb /bin/sg_start: line 87: cd: /usr/src/packages/BUILD/sg3_utils-1.12: No such file or directory gcc: sg_start.o: No such file or directory gcc: ./.libs/libsgutils.so: No such file or directory #
It worked fine under 9.2. Does anyone know what is going on?
Thank You.
If anyone out there has sg_start working under 9.3, could you 1) drop me an email. -- This will tell me its is not a global problem, but something wrong with my config. 2) find this file sg_start.o in the above error message. Perhaps it is in this directory /usr/src/packages/BUILD/sg3_utils-1.12 but "find" will find it. 3) find the package that owns sg_start.o rpm -q -f "WHATEVER_LOCATION_YOU_FOUND_IT_LOCATION"/sg_start.o This will tell me if it is a missing package. -- Paul Elliott 1(512)837-1096 pelliott@io.com PMB 181, 11900 Metric Blvd Suite J http://www.io.com/~pelliott/pme/ Austin TX 78758-3117
On Mon, Jun 27, 2005 at 04:19:59AM -0500, Paul Elliott wrote:
On Sun, Jun 26, 2005 at 05:13:38PM -0500, Paul Elliott wrote:
I have 2 9.3 systems and I can not get sg_start to work.
# sg-start 1 /dev/sdb bash: sg-start: command not found hrnowl:/home/pelliott # sg_start 1 /dev/sdb /bin/sg_start: line 87: cd: /usr/src/packages/BUILD/sg3_utils-1.12: No such file or directory gcc: sg_start.o: No such file or directory gcc: ./.libs/libsgutils.so: No such file or directory #
It worked fine under 9.2. Does anyone know what is going on?
Thank You.
If anyone out there has sg_start working under 9.3, could you
1) drop me an email. -- This will tell me its is not a global problem, but something wrong with my config.
2) find this file sg_start.o in the above error message. Perhaps it is in this directory /usr/src/packages/BUILD/sg3_utils-1.12 but "find" will find it.
3) find the package that owns sg_start.o rpm -q -f "WHATEVER_LOCATION_YOU_FOUND_IT_LOCATION"/sg_start.o
This will tell me if it is a missing package.
Our specfile of the scsi package regarding sg_start is broken. sg_start as you see is just the libtool wrapper script instead of the real binary. Ciao, Marcus
On Mon, Jun 27, 2005 at 11:28:04AM +0200, Marcus Meissner wrote:
On Mon, Jun 27, 2005 at 04:19:59AM -0500, Paul Elliott wrote:
On Sun, Jun 26, 2005 at 05:13:38PM -0500, Paul Elliott wrote:
I have 2 9.3 systems and I can not get sg_start to work.
Our specfile of the scsi package regarding sg_start is broken. sg_start as you see is just the libtool wrapper script instead of the real binary.
Ciao, Marcus
My workaround is follows: I got the source rpm from 9.2 and re-built it for 9.3. I see that hotplug depends on scsi. So I did not want to revert the scsi rpm to this old version of scsi. (No telling what I might f*%$kup!) So I create a temp directory, cd to it and extract the contents of the reverted scsi module with rpm2cpio. rpm2cpio /usr/src/packages/RPMS/i586/scsi-1.7_2.34_1.07_0.13-4.1.i586.rpm |cpio -id I then copy the old sg_start as old_sg_start cp bin/sg_start /bin/old_sg_start Change my scripts that use sg_start to use old_sg_start. It seems to work. I am using sg_start to spin down some infrequently used disks to save heat and reduce wear and tear. -- Paul Elliott 1(512)837-1096 pelliott@io.com PMB 181, 11900 Metric Blvd Suite J http://www.io.com/~pelliott/pme/ Austin TX 78758-3117
participants (3)
-
Marcus Meissner
-
Paul Elliott
-
Scott Leighton