slmodemd dead but subsys locked -SOLVED

Antonio Olivares olivares14031 at yahoo.com
Sat Dec 25 22:03:18 UTC 2004


Dear Ronald, Matthew & all in list,

Sorry for the question,  

--- Matthew Saltzman <mjs at ces.clemson.edu> wrote:

> On Fri, 24 Dec 2004, Ronald K wrote:
> 
> > Thanks.. got a solution
> > needed to stop the service altogether and then rm
> -f /var/lock/subsys/slmodemd
> > also added slamr to "others" in /etc/rc.sysinit

Where exactly did you place the line rm -f
/var/lock/subsys/slmodemd (Line #)?  I have tried
again and again and have not been successful loading
slmodemd upon boot.  I have the script in
/etc/init.d/slmodemd that starts slmodemd at boot and
everything loads up except that the message slmodemd
locked just like yours.  I run system-config-services
and just click on start in the slmodemd and slmodemd
starts and does everything that it is supposed to.

> 
> If you want to avoid modifying rc.sysinit (a good
> idea, IMO), create the
> script /etc/rc.modules with the appropriate modprobe
> command.  It is
> executed by rc.sysinit (if it exists) early enough
> in the process that the
> module will be loaded by the time slmodemd is
> started.  And it won't get
> nuked next time you upgrade initscripts.

I created a script rc.modules and added the line
alias char-major-212 /dev/ttySL0 slmar
which is also present in /etc/modprobe.conf.  And
still get the message that it is locked.

In /etc/init.d/slmodemd the following segment of code
loads slamr but gets the line /var/sys/locked.  Can
you point a solution to eliminate that message from
here?

start() { 
	cat /proc/modules | grep 'slamr' >/dev/null || {
	echo -n "Loading SmartLink Modem driver into kernel
... "
        modprobe slamr && echo "done." || {
	   echo "failed."
	   exit -1
          }
        }
        echo -n "Starting SmartLink Modem driver for
$SLMODEMD_DEVICE: "
	$prog </dev/null >/dev/null 2>/dev/null \
	    --country=$SLMODEMD_COUNTRY $SLMODEMD_OPTS
/dev/$SLMODEMD_DEVICE &
	RETVAL=$?
	[ $RETVAL -eq 0 ] && success $"$prog startup" ||
failure $"$prog startup"
	echo
	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog
	return $RETVAL
}


> 
> Alternatively, you could build slmodem using the
> ALSA driver.  I had it
> working in FC2 with no problems, and no extra
> modules needed.  

In Fedora Core 2 the script works to perfection
without a hiccup.  No problem whatsover.  I made it
work on a friends computer which runs Fedora Core 2.  

(Haven't
> tried in FC3 yet.)
> 
> -- 
> 		Matthew Saltzman
> 
> Clemson University Math Sciences
> mjs AT clemson DOT edu
> http://www.math.clemson.edu/~mjs
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe:
> http://www.redhat.com/mailman/listinfo/fedora-list
> 

This is the only thing that is holding me back.  If I
can correct this, my major problems will have been
solved.  Upon getting it to work, I'll make sure to
help others whenever I can.  I appreciate your help
and suggestions.  

Thank you very much,

Antonio


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250




More information about the fedora-list mailing list