lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 8 Oct 2006 23:46:26 +0200
From:	"Jesper Juhl" <jesper.juhl@...il.com>
To:	"Pavel Machek" <pavel@....cz>
Cc:	"Adrian Bunk" <bunk@...sta.de>,
	"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
	linux-pm@...l.org
Subject: Re: Funky "Blue screen" issue while rebooting from X with 2.6.18-git21

On 08/10/06, Pavel Machek <pavel@....cz> wrote:
> Hi!
>
> On Sun 08-10-06 19:47:59, Adrian Bunk wrote:
> > On Wed, Oct 04, 2006 at 10:16:41PM +0200, Jesper Juhl wrote:
> > > I have a strange "problem" with 2.6.18-git21 that I've never had with
> > > any previous kernel. If I open up an xterm in X, su to root and
> > > 'reboot' (or 'shutdown -r now') I instantly get a blue screen that
> > > persists until the box actually reboots.
> >
> > Pavel, is this a known issue or should Jesper bisect?
>
> Jesper should show it is kernel problem and not userland race.
>

Jesper will try to do that ;-)


> If userspace does kill -15 -1; kill -9 -1, and X fails to shut down in
> time, it is userland problem ('should wait for X to shut down').
>

Well, I just checked my initscript that is run when going into
runlevels 0 & 6, and it does this :

(...)

# Kill all processes.
# INIT is supposed to handle this entirely now, but this didn't always
# work correctly without this second pass at killing off the processes.
# Since INIT already notified the user that processes were being killed,
# we'll avoid echoing this info this time around.
if [ ! "$1" = "fast" ]; then # shutdown did not already kill all processes
  /sbin/killall5 -15
  /bin/sleep 5
  /sbin/killall5 -9
fi

(...)

For the complete script, see here :
ftp://ftp.kernel.org/pub/linux/kernel/people/juhl/rc.0


I'm trying to prove if it's a kernel or userspace problem, but it's
proving hard to reproduce reliably. But, what makes me suspect a
kernel problem is that I've never seen this with 2.6.17 and earlier
kernels, but since somewhere in the 2.6.18-rc series I've experienced
this "blue screen" problem once in a while and I've also had a problem
with the screen going all white when switching from X to a plain tty
and back (once it goes white it stays that way permanently until I
reboot) - I *never* see those issues when running 2.6.17.x and
earlier.

-- 
Jesper Juhl <jesper.juhl@...il.com>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ