Which in in effect a total wash as it kills EVERYTHING but init.<br><br>Need to start console on tty1 AND ttyS0 and after boot is complete, kill off the console on tty1<br><br><div class="gmail_quote">On Tue, Jun 8, 2010 at 3:49 PM, Jim Kinney <span dir="ltr"><<a href="mailto:jim.kinney@gmail.com">jim.kinney@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">And the final solution is:<br><br>set kernel.sysrq = 64 <br><br>in /etc/sysctl.conf and use alt-sysrq-i instead of k. "i" will kill anything _but_ init. Setting to 64 will allow i (and e and f) while blocking k. <br>
<div><div></div><div class="h5">
<br><div class="gmail_quote">On Tue, Jun 8, 2010 at 1:50 PM, Jim Kinney <span dir="ltr"><<a href="mailto:jim.kinney@gmail.com" target="_blank">jim.kinney@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yep. The console starts on tty1 by default. That's what's holding the init link open. Moving console to tty0 has no effect but tty7 does. However, once booted the system does not revert back to displaying tty1 without alt-F1.<br>
<br>this box takes three times as long to get through the bios as the Linux does to come up. ugh.... does the bios have to run at 12KHz on a 3GHz machine?<br><br><div class="gmail_quote"><div><div></div><div>On Tue, Jun 8, 2010 at 12:18 PM, Michael Trausch <span dir="ltr"><<a href="mailto:mike@trausch.us" target="_blank">mike@trausch.us</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div><div>On Tue, 2010-06-08 at 10:34 -0400, Jim Kinney wrote:<br>
> what is special about tty1? In Fedora 12 I have turned on Magic SysRq.<br>
> This allows me to press alt-sysrq-k and slaughter everything running<br>
> on a tty. Works fine for tty2+ but causes a system panic and hard<br>
> crash on tty1.<br>
><br>
> Is init hard bound to tty1?<br>
<br>
</div>At the very least, upstart does not hold a tty while running:<br>
<br>
mbt@fennel:~$ ps -eaf|grep init<br>
root 1 0 1 12:14 ? 00:00:02 /sbin/init<br>
<br>
lsof also doesn't show any TTY lines open from the process. However,<br>
when it starts, if memory serves, /dev/console is the TTY line in use.<br>
If that eventually becomes tty1, that _might_ explain the behavior that<br>
you're seeing.<br>
<br>
--- Mike<br>
<font color="#888888"><br>
--<br>
Even if their crude and anticompetitive business practices don't make<br>
you think about using their software, their use of sweatshops and child<br>
labor should: boycott Microsoft like you would any other amoral child<br>
abuser: <a href="http://is.gd/btW8m" target="_blank">http://is.gd/btW8m</a><br>
<br>
</font><br></div></div><div>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></div></blockquote></div><br><br clear="all"><br>-- <br>-- <br><div><div></div><div>James P. Kinney III<br>Actively in pursuit of Life, Liberty and Happiness <br>Doing pretty well on all 3 pursuits <br>
<br> Faith is a cop-out. If the only way you can accept an assertion is by faith, then you are conceding that it can’t be taken on its own merits.<br>
Dan Barker, "Losing Faith in Faith", 1992 <br><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br>Actively in pursuit of Life, Liberty and Happiness <br>Doing pretty well on all 3 pursuits <br><br> Faith is a cop-out. If the only way you can accept an assertion is by faith, then you are conceding that it can’t be taken on its own merits.<br>
Dan Barker, "Losing Faith in Faith", 1992 <br><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br>Actively in pursuit of Life, Liberty and Happiness <br>Doing pretty well on all 3 pursuits <br><br> Faith is a cop-out. If the only way you can accept an assertion is by faith, then you are conceding that it can’t be taken on its own merits.<br>
Dan Barker, "Losing Faith in Faith", 1992 <br><br>