[gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-21 Thread walt

On 09/20/2009 07:40 PM, meino.cra...@gmx.de wrote:

waltw41...@gmail.com  [09-09-21 02:32]:

On 09/20/2009 09:15 AM, meino.cra...@gmx.de wrote:


solfire:/home/mccramerl /etc/asound.state
-rw-r--r-- 1 root root 10122 2009-08-06 18:05 /etc/asound.state
solfire:/home/mccramersudo rm -f /etc/asound.state
solfire:/home/mccramersudo alsactl store
alsactl: get_control:249: Cannot read control '2,0,0,Mic Capture
Volume,0': Invalid argument
solfire:/home/mccramer


I also have /etc/asound.names, which was apparently created a year ago
by alsactl names (now deprecated).  If you have that file it should
also be deleted.


If alsactl is deprecated -- what to use instead?


Sorry, only the names flag is deprecated, not alsactl.




Re: [gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-21 Thread meino . cramer
walt w41...@gmail.com [09-09-21 19:36]:
 On 09/20/2009 07:40 PM, meino.cra...@gmx.de wrote:
 waltw41...@gmail.com  [09-09-21 02:32]:
 On 09/20/2009 09:15 AM, meino.cra...@gmx.de wrote:
 
 solfire:/home/mccramerl /etc/asound.state
 -rw-r--r-- 1 root root 10122 2009-08-06 18:05 /etc/asound.state
 solfire:/home/mccramersudo rm -f /etc/asound.state
 solfire:/home/mccramersudo alsactl store
 alsactl: get_control:249: Cannot read control '2,0,0,Mic Capture
 Volume,0': Invalid argument
 solfire:/home/mccramer
 
 I also have /etc/asound.names, which was apparently created a year 
 ago
 by alsactl names (now deprecated).  If you have that file it should
 also be deleted.
 
 If alsactl is deprecated -- what to use instead?
 
 Sorry, only the names flag is deprecated, not alsactl.
 
No need to feel sorry ! :)
Thanks for the explanation!

Nonetheless...after removing all the stuff I still get the
described error...

Keep hacking!
mcc




-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-21 Thread Pupino
2009/9/21  meino.cra...@gmx.de:
 walt w41...@gmail.com [09-09-21 19:36]:
 On 09/20/2009 07:40 PM, meino.cra...@gmx.de wrote:
 waltw41...@gmail.com  [09-09-21 02:32]:
 On 09/20/2009 09:15 AM, meino.cra...@gmx.de wrote:
 
 solfire:/home/mccramerl /etc/asound.state
 -rw-r--r-- 1 root root 10122 2009-08-06 18:05 /etc/asound.state
 solfire:/home/mccramersudo rm -f /etc/asound.state
 solfire:/home/mccramersudo alsactl store
 alsactl: get_control:249: Cannot read control '2,0,0,Mic Capture
 Volume,0': Invalid argument
 solfire:/home/mccramer
 
 I also have /etc/asound.names, which was apparently created a year
 ago
 by alsactl names (now deprecated).  If you have that file it should
 also be deleted.
 
 If alsactl is deprecated -- what to use instead?

 Sorry, only the names flag is deprecated, not alsactl.

 No need to feel sorry ! :)
 Thanks for the explanation!

 Nonetheless...after removing all the stuff I still get the
 described error...

 Keep hacking!
 mcc




 --
 Please don't send me any Word- or Powerpoint-Attachments
 unless it's absolutely neccessary. - Send simply Text.
 See http://www.gnu.org/philosophy/no-word-attachments.html
 In a world without fences and walls nobody needs gates and windows.




What about trying to stop every single service by hand and see if one hangs?
you can have a list of services by rc-update show (or something like
that, not really sure)
and then /etc/init.d/servicename stop for every service, leaving
the boot ones for last
HTH

Davide



[gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-21 Thread walt

On 09/19/2009 05:07 PM, meino.cra...@gmx.de wrote:

waltw41...@gmail.com  [09-09-20 02:03]:

On 09/19/2009 05:31 AM, meino.cra...@gmx.de wrote:


Nonetheless I added the UNLOAD_ON_STOP=no to /etc/conf.d/alsasound
and we will see what happens.


Did you try stopping the alsa service manually?

#/etc/init.d/alsasound stop



This gave me errors, since my Webcam's audio part isn't implemented as
full audio device, but it does not hang:

solfire:/home/mccramersudo /etc/init.d/alsasound stop
  * WARNING:  you are stopping a boot service.
  * Storing ALSA Mixer Levels ...
alsactl: get_control:249: Cannot read control '2,0,0,Mic Capture Volume,0': 
Invalid argument


Hm.  Does alsamixer show that guilty control?

I ran strace on alsactl and it consults a very small number of files
while doing a 'store' operation, so there are very few places that
Mic Capture control could be hiding.  You might try using strace to
see what turns up. (If the error bothers you, of course.)





[gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-20 Thread walt

On 09/19/2009 07:17 PM, meino.cra...@gmx.de wrote:

waltw41...@gmail.com  [09-09-20 04:13]:

On 09/19/2009 05:07 PM, meino.cra...@gmx.de wrote:

waltw41...@gmail.com   [09-09-20 02:03]:

On 09/19/2009 05:31 AM, meino.cra...@gmx.de wrote:


Nonetheless I added the UNLOAD_ON_STOP=no to /etc/conf.d/alsasound
and we will see what happens.


Did you try stopping the alsa service manually?

#/etc/init.d/alsasound stop



This gave me errors, since my Webcam's audio part isn't implemented as
full audio device, but it does not hang:



...but this problem was there long before the system cannot be
shutdown anymore and I think it is not clean but the root of all
evil


Well, in any case you should be able to eliminate those error messages
if you delete /etc/asound.* and then repeat the alsactl store.




Re: [gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-20 Thread meino . cramer
walt w41...@gmail.com [09-09-20 18:14]:
 On 09/19/2009 07:17 PM, meino.cra...@gmx.de wrote:
 waltw41...@gmail.com  [09-09-20 04:13]:
 On 09/19/2009 05:07 PM, meino.cra...@gmx.de wrote:
 waltw41...@gmail.com   [09-09-20 02:03]:
 On 09/19/2009 05:31 AM, meino.cra...@gmx.de wrote:
 
 Nonetheless I added the UNLOAD_ON_STOP=no to 
 /etc/conf.d/alsasound
 and we will see what happens.
 
 Did you try stopping the alsa service manually?
 
 #/etc/init.d/alsasound stop
 
 
 This gave me errors, since my Webcam's audio part isn't implemented 
 as
 full audio device, but it does not hang:
 
 ...but this problem was there long before the system cannot be
 shutdown anymore and I think it is not clean but the root of all
 evil
 
 Well, in any case you should be able to eliminate those error messages
 if you delete /etc/asound.* and then repeat the alsactl store.
 

solfire:/home/mccramerl /etc/asound.state
-rw-r--r-- 1 root root 10122 2009-08-06 18:05 /etc/asound.state
solfire:/home/mccramersudo rm -f /etc/asound.state
solfire:/home/mccramersudo alsactl store
alsactl: get_control:249: Cannot read control '2,0,0,Mic Capture Volume,0': 
Invalid argument
solfire:/home/mccramer


-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




[gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-20 Thread walt

On 09/20/2009 09:15 AM, meino.cra...@gmx.de wrote:


solfire:/home/mccramerl /etc/asound.state
-rw-r--r-- 1 root root 10122 2009-08-06 18:05 /etc/asound.state
solfire:/home/mccramersudo rm -f /etc/asound.state
solfire:/home/mccramersudo alsactl store
alsactl: get_control:249: Cannot read control '2,0,0,Mic Capture Volume,0': 
Invalid argument
solfire:/home/mccramer


I also have /etc/asound.names, which was apparently created a year ago
by alsactl names (now deprecated).  If you have that file it should
also be deleted.






Re: [gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-20 Thread meino . cramer
walt w41...@gmail.com [09-09-21 02:32]:
 On 09/20/2009 09:15 AM, meino.cra...@gmx.de wrote:
 
 solfire:/home/mccramerl /etc/asound.state
 -rw-r--r-- 1 root root 10122 2009-08-06 18:05 /etc/asound.state
 solfire:/home/mccramersudo rm -f /etc/asound.state
 solfire:/home/mccramersudo alsactl store
 alsactl: get_control:249: Cannot read control '2,0,0,Mic Capture 
 Volume,0': Invalid argument
 solfire:/home/mccramer
 
 I also have /etc/asound.names, which was apparently created a year ago
 by alsactl names (now deprecated).  If you have that file it should
 also be deleted.

If alsactl is deprecated -- what to use instead?


-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




[gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-19 Thread walt

On 09/19/2009 05:31 AM, meino.cra...@gmx.de wrote:


Nonetheless I added the UNLOAD_ON_STOP=no to /etc/conf.d/alsasound
and we will see what happens.


Did you try stopping the alsa service manually?

#/etc/init.d/alsasound stop




Re: [gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-19 Thread meino . cramer
walt w41...@gmail.com [09-09-20 02:03]:
 On 09/19/2009 05:31 AM, meino.cra...@gmx.de wrote:
 
 Nonetheless I added the UNLOAD_ON_STOP=no to /etc/conf.d/alsasound
 and we will see what happens.
 
 Did you try stopping the alsa service manually?
 
 #/etc/init.d/alsasound stop
 

This gave me errors, since my Webcam's audio part isn't implemented as
full audio device, but it does not hang:

solfire:/home/mccramersudo /etc/init.d/alsasound stop
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...
alsactl: get_control:249: Cannot read control '2,0,0,Mic Capture Volume,0': 
Invalid argument
 * Error saving levels. [ 
!! ]
solfire:/home/mccramer



-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




[gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-19 Thread walt

On 09/19/2009 05:07 PM, meino.cra...@gmx.de wrote:

waltw41...@gmail.com  [09-09-20 02:03]:

On 09/19/2009 05:31 AM, meino.cra...@gmx.de wrote:


Nonetheless I added the UNLOAD_ON_STOP=no to /etc/conf.d/alsasound
and we will see what happens.


Did you try stopping the alsa service manually?

#/etc/init.d/alsasound stop



This gave me errors, since my Webcam's audio part isn't implemented as
full audio device, but it does not hang:

solfire:/home/mccramersudo /etc/init.d/alsasound stop
  * WARNING:  you are stopping a boot service.
  * Storing ALSA Mixer Levels ...
alsactl: get_control:249: Cannot read control '2,0,0,Mic Capture Volume,0': 
Invalid argument
  * Error saving levels. [ 
!! ]
solfire:/home/mccramer


Ah! I've seen that same error when I neurotically switch back and forth
between different kernel versions (cf. autoflagellation).

Try (as root) 'alsactl store' and see if that makes any difference.




Re: [gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-19 Thread meino . cramer
walt w41...@gmail.com [09-09-20 04:13]:
 On 09/19/2009 05:07 PM, meino.cra...@gmx.de wrote:
 waltw41...@gmail.com  [09-09-20 02:03]:
 On 09/19/2009 05:31 AM, meino.cra...@gmx.de wrote:
 
 Nonetheless I added the UNLOAD_ON_STOP=no to /etc/conf.d/alsasound
 and we will see what happens.
 
 Did you try stopping the alsa service manually?
 
 #/etc/init.d/alsasound stop
 
 
 This gave me errors, since my Webcam's audio part isn't implemented as
 full audio device, but it does not hang:
 
 solfire:/home/mccramersudo /etc/init.d/alsasound stop
   * WARNING:  you are stopping a boot service.
   * Storing ALSA Mixer Levels ...
 alsactl: get_control:249: Cannot read control '2,0,0,Mic Capture 
 Volume,0': Invalid argument
   * Error saving levels.   
   [ !! ]
 solfire:/home/mccramer
 
 Ah! I've seen that same error when I neurotically switch back and forth
 between different kernel versions (cf. autoflagellation).
 
 Try (as root) 'alsactl store' and see if that makes any difference.
 
It produces a comparable error, since it does a comparable thing...:

alsactl: get_control:249: Cannot read control '2,0,0,Mic Capture Volume,0': 
Invalid argument

...but this problem was there long before the system cannot be
shutdown anymore and I think it is not clean but the root of all
evil





-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.