Re: Init single and Serial console : How to ?

From: Paul Rolland (rol_at_as2917.net)
Date: 07/08/04

  • Next message: Aneesh Kumar: "[PATCH] Alpha print the symbol name in Oops"
    To: <rol@as2917.net>, "'Bernd Eckenfels'" <ecki-news2004-05@lina.inka.de>, <linux-kernel@vger.kernel.org>
    Date:	Thu, 8 Jul 2004 07:32:45 +0200
    
    

    Hello,

    Got this one working :

    LILO: linux init=/sbin/sulogin /dev/ttyS0

    It finally asked me to enter root password, I did my maintenance,
    and then...
    /sbin/reboot did nothing
    leaving the shell (exit) said :
    Attempting to kill init
    Panic, will reboot in 30 seconds.
    (or something like that), but it didn't restart, and I had to reboot
    the machine...
    Is this the expected behaviour ?

    Regards,
    Paul

    Paul Rolland, rol(at)as2917.net
    ex-AS2917 Network administrator and Peering Coordinator

    --
    Please no HTML, I'm not a browser - Pas d'HTML, je ne suis pas un navigateur
    "Some people dream of success... while others wake up and work hard at it" 
      
    > -----Message d'origine-----
    > De : linux-kernel-owner@vger.kernel.org 
    > [mailto:linux-kernel-owner@vger.kernel.org] De la part de Paul Rolland
    > Envoyé : dimanche 4 juillet 2004 12:32
    > À : 'Bernd Eckenfels'; linux-kernel@vger.kernel.org
    > Objet : Re: Init single and Serial console : How to ?
    > 
    > Hello,
    > 
    > > this is only about terminal settings like flags  and line 
    > > speed, it is not
    > > related to presenting the login on the serial console. It is 
    > > a good idea to
    > > remove this file and set the baud rate on the boot command line.
    > OK.
    >  
    > > You must configure /sbin/sulogin which is called from init to run on
    > > /dev/console, then you will be fine. Also you should start 
    > a getty on
    > OK, but remember that my problem is to find a way to access 
    > the machine
    > when I only have a serial console and it doesn't complete the 
    > "classical"
    > boot process because some init script at runlevel 3 is blocking...
    > 
    > This means that I can't go up to the "configure 
    > /sbin/sulogin", and need
    > a way to be given a serial prompt only by giving parameter at the LILO
    > prompt, considering that the kernel has already been 
    > configured for serial
    > console.
    > 
    > > /dev/ttySx for multi user modes (see the serial console howto)
    > This is already done.
    > 
    > Regards,
    > Paul
    > 
    > -
    > To unsubscribe from this list: send the line "unsubscribe 
    > linux-kernel" in
    > the body of a message to majordomo@vger.kernel.org
    > More majordomo info at  http://vger.kernel.org/majordomo-info.html
    > Please read the FAQ at  http://www.tux.org/lkml/
    > 
    > 
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Aneesh Kumar: "[PATCH] Alpha print the symbol name in Oops"

    Relevant Pages

    • [patch] pc100pad driver
      ... static int __init pc110pad_init ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • [PATCH] update comment
      ... The "Probably init should be changed" happened almost ten years ago. ... Andries ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: Strange boot-time hang (long, sorry)
      ... I am having difficulty diagnosing a strange boot-time hang on ... You are probably referring to an error message similar to ... The serial console is implicated ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Apache Server (Oracle)
      ... restart unless you installed a new kernel... ... simulate boot conditions do a init 1; ... Are there any Oracle people out there that I can help me with the ...
      (RedHat)
    • Re: is killing zombies possible w/o a reboot?
      ... > I recently had a system with serial console where some some reason the ... This meant that init blocked while writing some ... be used to print anything even when there is no syslogd running. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)