Kubuntu/Ubuntu does not remove everything from memory at shutdown

Reinhold Rumberger rrumberger at web.de
Sun Mar 14 12:46:46 UTC 2010


On Sunday 14 March 2010, Steve Morris wrote:
> On 13/03/10 22:41, Reinhold Rumberger wrote:
> > On Saturday 13 March 2010, Steve Morris wrote:
> >> This script is very similar to what
> >> you have listed above, but as far as I can see it is issuing
> >> invalid killall5 commands that are invalid.
> > 
> > Hmm, looking through sendsigs, I can't confirm that the commands
> > are invalid. Why would you think so?
> 
> In S20sendsigs the command being issued is  killall5 -18
> $OMITPIDS.  If I issue the command   killall5 --help

Look at man killall5

> I get the
> message that killall5 only supports 1 parameter, so how does
> killall5 -18 $OMITPIDS actually function?

It supports a first parameter which specifies the signal and an 
arbitrary number of parameters like "-o <PID>", specifying which PIDs 
not to kill.

<snippage>
> > Funnily, we're right back where we started: your win driver
> > isn't properly initialising the hardware.
> 
> Not as I understand things. It is my understanding the first thing
> the driver is going to do is ask the device what it is,

If that is how it works, you have your first problem right here. The 
first thing it should do is make sure the device is in a predefined 
state so that the next query actually produces useful results 
(something that both the Mandriva and the Ubuntu drivers apparently 
do). It cannot assume that, on boot, the device will already be in 
the state it needs to be in.

> then ask
> what it supports, then set itself up accordingly, possibly also
> setting states in the hardware for how it wants to run according
> to the features its supplies. I thought my soundcard was a
> SoundBlaster Audigy LE, but Ubuntu and Mandriva are both treating
> is as a SoundBlaster Audigy SE, so what I think is happening is
> that at shutdown Mandriva is setting the card back to the
> "factory defaults" whereas Ubuntu is not, which is where I think
> the problem is.

Three things:
a) Just because you use another software interface of a backwards
   compatible hardware device does not make it identify itself as
   that earlier model.
b) Have you ever tried setting up Windows to use the SE driver/treat
   the card as an Audigy SE?
c) It isn't required to "set the card back to factory defaults". As
   has been explained before, that just would take too much time.
   (Would you like to wait 5 minutes for the shutdown part of a
   reboot just because every bit of hardware needs to be re-
   initialised?) That is something a driver that needs this has to
   do itself. Initialising hardware is one of the main points of
   booting, after all.


  --Reinhold




More information about the kubuntu-users mailing list