[Pkg-sysvinit-devel] Bug#669949: Tried the "exit 0"

Roger Leigh rleigh at codelibre.net
Sat May 12 09:23:16 UTC 2012


On Fri, May 11, 2012 at 09:50:47PM -0700, Dean Loros wrote:
> Tried "exit 0" to no effect--still had to reload my USB devices & restart
> ALSA for my soundcard to work.  What would you like me to try next?

Hmm, let me think.  This is *definitely* not the issue that affected
everyone else--this was due to the cleaning of /run, and this is
definitely fixed in -24.

The main thing to find out is /when/ the USB devices stop working.
For me, it was fine up until starting X11.  I determined this by
starting up the system in single user, and then running every
script in /etc/rc2.d by hand with a "start" argument.  In the
initial case, you can just run them all except for gdm/kdm/xdm
and then try running xinit.  If this triggers the loss of devices,
then we'll know that
- it's triggered by running X11
- udev doesn't have a complete list of the devices

Now, what's /causing/ udev to become confused (if this is the case)
is a different question.  Previously this was bootclean cleaning
/run, deleting some of its state files.  I'm afraid identifying this
part will be tedious.  I would suggest running all the initscripts,
then starting X (as above), but each time, run one less script from
the end so initially you'll run 50, then 49, 48 etc.  If this is
caused by a specific script, you should hopefully reach a point
where you'll not see the breakage.

I did also read that the kernel might also be playing a part here.
It might also be worth making sure you're running the latest kernel.
If you are, it might also be worth trying an older kernel, to see
if this is part of the problem.

Sorry to be so vague with the above suggestions, but I don't have any
clear-cut answers now that the principal cause has been fixed.


Regards,
Rogr

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800





More information about the Pkg-sysvinit-devel mailing list