LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-24-2003, 05:31 PM   #1
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
How to remove a device script (permissions)


Question time... I've searched the forum and read the manual long enough to soothe my conscience that I can post my question in a new thread.

I would like to deactivate a script that is causing my system to hang on booting. (The script in question is the sound module /etc/rc.d/rc5.d/S10alsasound that loads the intel i8x0 and then gets stuck in a loop while "Restoring the previous sound setting". I've read that this module should work for my SiS648 with AC'97, so perhaps it's an older module from SuSE8.0, but that's beside the point.) The file permissions for root are as follows:

lrwxrwxrwx 1 root root 12Oct 22 23:42 S10alsasound ../alsasound

I was getting stuck trying to figure out what the l in the first position means. I am familiar with file permissions and knew about the d there, but this is new. If I understand the manual right, the value l in the type position means that the file is linked. I even learned that there are symbolic links and hard links, a bit about the difference, and that you should be able to rm a linked file. However, if I try to rm this file it denies permission.

Would anyone kindly point out to me how to remove this script so that I can get SuSE booted? (The documentation on how to load a new sound driver overwhelms me, so I just want to live without sound for this distribution until I get that far.)


Appreciate it,
Mike
 
Old 10-24-2003, 06:03 PM   #2
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
choose to od an iteractive startup, when the sound device comes up, choose not to load it, then attemp to remove the driver. You could also disable (if its on board) the sound in the bios, or remove your sound card.
 
Old 10-24-2003, 06:20 PM   #3
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Original Poster
Rep: Reputation: 39
Thanks rakriege for the speedy reply. I just finished downloading and burning the SuSE 9.0 "live demo" CD to see how it handles my hardware, so your timing is perfect.

I'm not sure what od means (load?), or how to choose an interactive startup. I only know to load with the linux single command (equivalent to init 1). I've discovered a section of an older SuSE manual and am looking at the "The SuSE Linux Boot Concept" chapter. Seems to have some pertinent stuff, I guess I will have a look at /etc/rc.config while I am under the hood, see if I can understand anything there at all. I can also try to remove the driver in YaST.

Good thought about disabling in the BIOS, I figured Linux would just load the driver anyway and didn't think of it scanning and dynamically loading.

It's onboard sound.

Thanks very much for the ideas. Still curious about the permissions on that file though.

Mike
 
Old 10-24-2003, 06:32 PM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
If/when you get in, simply move the alsasound symlink out of that run level 5 directory - ie as Root user in a command line:

mkdir /etc/removed_services

mv /etc/rc.d/rc5.d/S10alsasound /etc/removed_services

and reboot - the service won't now start

Last edited by Skyline; 10-24-2003 at 06:40 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Is it safe to remove this device? dlublink Linux - General 1 01-22-2005 10:22 PM
Remove device links on desktop? RoaCh Of DisCor Linux - Newbie 1 12-06-2004 06:31 AM
how can i remove a device? ligang_feng Linux - Hardware 4 10-27-2004 10:07 PM
how to remove device icons? l32 Linux - Newbie 2 07-02-2004 11:56 AM
force delete/remove and mass file permissions-setting moxieman99 Linux - Newbie 2 02-15-2004 11:43 AM


All times are GMT -5. The time now is 09:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration