SuSE 8.2 and hwscan on boot
Would someone please remind me which control file, and where it resides, that needs to be massaged to stop the hardware scan on boot. (Which parameter to alter would also be helpful.) The RunLevel editor in the Control Centre refuses to switch off this check. Thanks in advance. -- Understanding only begins with the act of perception.
Good day Basil, Torsdag den 31. juli 2003 16:36 kvad Basil Chupin:
Would someone please remind me which control file, and where it resides, that needs to be massaged to stop the hardware scan on boot. (Which parameter to alter would also be helpful.) The RunLevel editor in the Control Centre refuses to switch off this check.
A shot in the wild... You only told the RunLevel editor to stop the service this time around, but forgot to to tell it to disable the service from starting on future boots. No? Best regards :o) Johnny :o)
Johnny Ernst Nielsen wrote:
Good day Basil,
Torsdag den 31. juli 2003 16:36 kvad Basil Chupin:
Would someone please remind me which control file, and where it resides, that needs to be massaged to stop the hardware scan on boot. (Which parameter to alter would also be helpful.) The RunLevel editor in the Control Centre refuses to switch off this check.
A shot in the wild... You only told the RunLevel editor to stop the service this time around, but forgot to to tell it to disable the service from starting on future boots.
No?
Best regards :o)
Johnny :o)
No. "Told" it to stop the infernal thing for ever and ever - but it don't pay no attention to me :-(. I remember someone asking on how to stop the hwscan on boot, because it was slowing down the boot and also because there is no need for it 'cause no hardware changes occur on his system, and was given the control file to alter. I thought I saved that message but I hadn't. -- Understanding only begins with the act of perception.
Good day Basil, Torsdag den 31. juli 2003 17:29 kvad Basil Chupin:
Would someone please remind me which control file, and where it resides, that needs to be massaged to stop the hardware scan on boot. (Which parameter to alter would also be helpful.) The RunLevel editor in the Control Centre refuses to switch off this check.
You only told the RunLevel editor to stop the service this time around, but forgot to to tell it to disable the service from starting on future boots.
No. "Told" it to stop the infernal thing for ever and ever - but it don't pay no attention to me :-(.
I just tried disabling + stopping hwscan on my 8.2 system using YaST2. It works here -- it stays turned off the next time I boot. Something seem fishy with your setup. You are not mistaking hotplug for hwscan? In any case, I expect you to be able to manually stop the service and then remove the startup script (s<number>hwscan) from whatever runlevel you have it set up in. probably 2, 3 and 5 Go and see in /etc/init.d/ and /etc/init.d/rc<number>.d/ If that fails I'm out of ideas. Best regards :o) Johnny :o)
Johnny Ernst Nielsen wrote:
Good day Basil,
Torsdag den 31. juli 2003 17:29 kvad Basil Chupin:
Would someone please remind me which control file, and where it resides, that needs to be massaged to stop the hardware scan on boot. (Which parameter to alter would also be helpful.) The RunLevel editor in the Control Centre refuses to switch off this check.
You only told the RunLevel editor to stop the service this time around, but forgot to to tell it to disable the service from starting on future boots.
No. "Told" it to stop the infernal thing for ever and ever - but it don't pay no attention to me :-(.
I just tried disabling + stopping hwscan on my 8.2 system using YaST2. It works here -- it stays turned off the next time I boot.
Something seem fishy with your setup.
Ah yes, but you should have seen the one that got away! :-).
You are not mistaking hotplug for hwscan?
I don't think so. But anything is possible.
In any case, I expect you to be able to manually stop the service and then remove the startup script (s<number>hwscan) from whatever runlevel you have it set up in. probably 2, 3 and 5
Go and see in /etc/init.d/ and /etc/init.d/rc<number>.d/
If that fails I'm out of ideas.
Best regards :o)
Johnny :o)
I agree that there is something fishy here because no matter what I do in the RunLevel editor it shows that hwscan is Running. However, there are no levels attached to it. I did what Andreas suggested and ran chkconfig -l hwscan and this reported that it was not running (at any of the normal levels). I also looked at the screenprint from ps aux and hwscan does not show up. I now have to shrug my shoulders, resign myself to the fact that this is yet another SuSE thing, and get on with life. Cheers. -- Understanding only begins with the act of perception.
Basil Chupin wrote:
Would someone please remind me which control file, and where it resides, that needs to be massaged to stop the hardware scan on boot. (Which parameter to alter would also be helpful.) The RunLevel editor in the Control Centre refuses to switch off this check.
Hmm, it is a service called "hwscan", started from the Links in /etc/init.d/rcX.d where X is your runlevel. To see in which runlevels your script is invoked : # chkconfig -l script Normally you could remove the scripts with: # insserv -r script in your case: # insserv -r hwscan I don't know if it causes any trouble if it is removed from startup. -- Andreas
Andreas Winkelmann wrote:
Basil Chupin wrote:
Would someone please remind me which control file, and where it resides, that needs to be massaged to stop the hardware scan on boot. (Which parameter to alter would also be helpful.) The RunLevel editor in the Control Centre refuses to switch off this check.
Hmm, it is a service called "hwscan", started from the Links in /etc/init.d/rcX.d where X is your runlevel. To see in which runlevels your script is invoked :
# chkconfig -l script
Normally you could remove the scripts with:
# insserv -r script
in your case:
# insserv -r hwscan
I don't know if it causes any trouble if it is removed from startup.
Thank you for this. I will look at this after a good sleep and try out what you have suggested. -- Understanding only begins with the act of perception.
Hello Start Yast2. Then go to System->Runlevel editor. Select the hwscan module then in the "Start/Stop/Refresh" combo box select Stop. After that uncheck all the checkboxes where it says: "Service will be started in the following runlevels:" then Finish and I think that's it. Zsolt Basil Chupin wrote:
Would someone please remind me which control file, and where it resides, that needs to be massaged to stop the hardware scan on boot. (Which parameter to alter would also be helpful.) The RunLevel editor in the Control Centre refuses to switch off this check.
Thanks in advance
Lukacs Zsolt wrote:
Hello
Start Yast2. Then go to System->Runlevel editor. Select the hwscan module then in the "Start/Stop/Refresh" combo box select Stop. After that uncheck all the checkboxes where it says: "Service will be started in the following runlevels:" then Finish and I think that's it.
Zsolt
Basil Chupin wrote:
Would someone please remind me which control file, and where it resides, that needs to be massaged to stop the hardware scan on boot. (Which parameter to alter would also be helpful.) The RunLevel editor in the Control Centre refuses to switch off this check.
Thanks in advance
All been done at least 7 times with the same results: RunLevel editor shows hwscan as Running. -- Understanding only begins with the act of perception.
I have been having problems with hwscan on boot of non-SuSE kernels where it hangs forever, looked at /var/log/messages and found oops in a module. I just moved hwscan out of /etc/init.d to somewhere where I could retrieve it, so I could get the latest kernels booted. This script also calls /usr/sbin/hwbootscan, but it wasn't necessary to do anything with it. You didn't say what made you want to do this, be interested to know. Regards Sid. Basil Chupin wrote:
Would someone please remind me which control file, and where it resides, that needs to be massaged to stop the hardware scan on boot. (Which parameter to alter would also be helpful.) The RunLevel editor in the Control Centre refuses to switch off this check.
Thanks in advance.
-- Sid Boyce ... hamradio G3VBV ... Cessna/Warrior Pilot Linux only shop
Sid Boyce wrote:
I have been having problems with hwscan on boot of non-SuSE kernels where it hangs forever, looked at /var/log/messages and found oops in a module. I just moved hwscan out of /etc/init.d to somewhere where I could retrieve it, so I could get the latest kernels booted. This script also calls /usr/sbin/hwbootscan, but it wasn't necessary to do anything with it. You didn't say what made you want to do this, be interested to know. Regards Sid.
Basil Chupin wrote:
Would someone please remind me which control file, and where it resides, that needs to be massaged to stop the hardware scan on boot. (Which parameter to alter would also be helpful.) The RunLevel editor in the Control Centre refuses to switch off this check.
Thanks in advance.
What is making me do it? It seems to me that it is taking a bit longer to boot than it did with v8.1 and since my hardware does not change even on a six-monthly basis I thought performing the hwscan at each boot was a waste of time. As I said, someone had the same idea, asked the question, and received a response which I couldn't remember. Apart from that, there are no sinister motives behind my request :-). -- Understanding only begins with the act of perception.
participants (5)
-
Andreas Winkelmann
-
Basil Chupin
-
Johnny Ernst Nielsen
-
Lukacs Zsolt
-
Sid Boyce