LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-14-2004, 04:44 PM   #1
hairydan
LQ Newbie
 
Registered: Jan 2004
Posts: 20

Rep: Reputation: 0
service won't stop in RH9


Hi:

I've got Myrinet fiber optics cards installed, and gm 2.0.9 in RH9.

I'm trying to set the machine for automatic start and shutoff of the fiber optics card.
I have no problem with startup; I've placed S29gm in rc2.d, rc3.d, rc4.d and rc5.d.

But when I place a kill script in rc0.d and rc6.d, the fiber optics boards are not shut down - I can still see the activity on the switch. I've tried K00gm and other numbers (between K06 and K89) - nothing seems to work.

what might be happening here?
 
Old 02-22-2004, 12:14 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
I'm sure if you provide the details of those scripts it might help and any error messages it might have. Also can you run something like:

sh +x <scriptname>

To determine where its dying, etc?
 
Old 02-23-2004, 08:44 PM   #3
hairydan
LQ Newbie
 
Registered: Jan 2004
Posts: 20

Original Poster
Rep: Reputation: 0
details of gm

gm is a script that lives in /etc/init.d. It accepts options like 'start' and 'stop' to start and stop the daemons that control the fiber optic boards. 'start' also loads the kernel module, if it's not already loaded. In other words, it behaves very much like other scripts in init.d.

The gm script can be viewed here. The specific sections called with the 'start' and 'stop' options can be viewed here and here too

If I execute "/etc/init.d/gm start" or "/etc/init.d/gm stop" from the bash shell, everything works as it's supposed to: I see the "starting gm..." and "stopping gm...." messages, and the lights on the switch recording activity go out.

I placed a link (called S29gm) in rc[2345].d to /etc/init.d/gm, so that the fiber optics starts when the system boots. I can see the messages from the gm script starting the fiber optics when the system first boots.

I also placed a link (called K00gm) in rc[06].d to /etc/init.d/gm, so that the fiber optics is stopped when the system shuts down. Unfortunately, I can't see the messages associated with stopping the fiber optics when the system is shut down. Also, the lights on the switch remain on, indicating activity.

There are no error messages. I've also tried other K** numbers (05, 06, 29, 89, etc..)

any hints or clues?

Last edited by hairydan; 02-23-2004 at 08:48 PM.
 
Old 02-28-2004, 11:45 AM   #4
hairydan
LQ Newbie
 
Registered: Jan 2004
Posts: 20

Original Poster
Rep: Reputation: 0
By the way, the systems are running the 2.20-28.9smp kernel.
Since it's an smp kernel, the apm utilities are unsupported.

Could this be behind the difficulty in automated stopping of the gm module?
 
Old 03-01-2004, 04:34 AM   #5
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
Howzit

Unable to view scripts......

ciao
 
Old 03-01-2004, 09:20 AM   #6
hairydan
LQ Newbie
 
Registered: Jan 2004
Posts: 20

Original Poster
Rep: Reputation: 0
sorry; forgot to change read permissions
 
Old 04-09-2004, 01:05 PM   #7
hairydan
LQ Newbie
 
Registered: Jan 2004
Posts: 20

Original Poster
Rep: Reputation: 0
fiber optics shutdown issue solved

Myricom posted an update to the GM driver package-2.0.11. This update fixed the shutdown problem.

Weird.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i cleanly stop a service? n0vembr Linux - General 18 07-29-2005 04:11 AM
can't stop service name shown by nmap mrpc_cambodia Red Hat 1 11-15-2004 07:52 AM
service named can't stop... TAAN Linux - Networking 1 09-11-2003 03:43 AM
Mandrake - how to stop a service? taz76 Linux - Security 1 03-13-2003 06:31 AM
How to stop a service from starting in slack benutne Linux - Newbie 4 02-25-2003 09:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration