<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: using serial console in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/using-serial-console/m-p/3170099#M9287</link>
    <description>I have NO problem gettting boot messages to appear on serial console, it's the actual console which I am having problem with. It stops displaying boot up status after the kernel load.  I want to be able to have the "boot up messages" to appear on the serial console as well as the actual physcial console; It doesn't have to appear on both screen at the same time, it could be either or, dedpending which keyboard was hit first during the boot up. Any idea?  Thanks.</description>
    <pubDate>Wed, 21 Jan 2004 16:50:30 GMT</pubDate>
    <dc:creator>K.C. Chan</dc:creator>
    <dc:date>2004-01-21T16:50:30Z</dc:date>
    <item>
      <title>using serial console</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-serial-console/m-p/3170097#M9285</link>
      <description>All,&lt;BR /&gt;this is a follow on this link: &lt;BR /&gt;"&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=305330" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=305330&lt;/A&gt;"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here's my grub conf file:&lt;BR /&gt;&lt;BR /&gt;default=0&lt;BR /&gt;timeout=10&lt;BR /&gt;serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1&lt;BR /&gt;terminal --timeout=15 serial console&lt;BR /&gt;title Red Hat Linux (2.4.18-27.7.x)&lt;BR /&gt;        root (hd0,0)&lt;BR /&gt;        kernel /vmlinuz-2.4.18-27.7.x ro root=/dev/hda5 console=tty0 console=ttyS0 linux&lt;BR /&gt;        initrd /initrd-2.4.18-27.7.x.img&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Everything works on ttyS0, but when I am at the console, the boot up stop displaying the boot status when it is starting up services in (right after it loaded the kernel) "/etc/rc.d/init.d/" until it gets into a log in prompt.  How do I get it all boot messages on tty0 (the acutal physical console which is attached to the server)? Thanks.</description>
      <pubDate>Wed, 21 Jan 2004 13:18:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-serial-console/m-p/3170097#M9285</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2004-01-21T13:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: using serial console</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-serial-console/m-p/3170098#M9286</link>
      <description>Hello K.C.,&lt;BR /&gt;&lt;BR /&gt;You may need to add the key word "text" to the kernel line.&lt;BR /&gt;&lt;BR /&gt;Mine looks like:&lt;BR /&gt;title Red Hat Linux SMP (2.4.20-28.9smp)&lt;BR /&gt;        root (hd0,0)&lt;BR /&gt;        kernel /vmlinuz-2.4.20-28.9smp ro root=LABEL=/ hdc=ide-scsi text console=ttyS0,57600,vt102&lt;BR /&gt;        initrd /initrd-2.4.20-28.9smp.img&lt;BR /&gt;&lt;BR /&gt;And I get all the boot status to the serial console.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom</description>
      <pubDate>Wed, 21 Jan 2004 15:41:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-serial-console/m-p/3170098#M9286</guid>
      <dc:creator>Tom Ward_1</dc:creator>
      <dc:date>2004-01-21T15:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: using serial console</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-serial-console/m-p/3170099#M9287</link>
      <description>I have NO problem gettting boot messages to appear on serial console, it's the actual console which I am having problem with. It stops displaying boot up status after the kernel load.  I want to be able to have the "boot up messages" to appear on the serial console as well as the actual physcial console; It doesn't have to appear on both screen at the same time, it could be either or, dedpending which keyboard was hit first during the boot up. Any idea?  Thanks.</description>
      <pubDate>Wed, 21 Jan 2004 16:50:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-serial-console/m-p/3170099#M9287</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2004-01-21T16:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: using serial console</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-serial-console/m-p/3170100#M9288</link>
      <description>Hello K.C.,&lt;BR /&gt;&lt;BR /&gt;So you want boot messages to either console: Serial or Local?&lt;BR /&gt;&lt;BR /&gt;The only idea I can come up with is to have two entries in your grub.conf -- one for serial console and one for local console.&lt;BR /&gt;&lt;BR /&gt;title Serial Console Linux (2.4.18-27.7.x)&lt;BR /&gt;root (hd0,0)&lt;BR /&gt;kernel /vmlinuz-2.4.18-27.7.x ro root=/dev/hda5 console=tty0 console=ttyS0 linux&lt;BR /&gt;initrd /initrd-2.4.18-27.7.x.img&lt;BR /&gt;&lt;BR /&gt;title Local Console Linux (2.4.18-27.7.x)&lt;BR /&gt;root (hd0,0)&lt;BR /&gt;kernel /vmlinuz-2.4.18-27.7.x ro root=/dev/hda5  &lt;BR /&gt;initrd /initrd-2.4.18-27.7.x.img&lt;BR /&gt;&lt;BR /&gt;You then have to select the correct entry for whichever terminal you're using to boot from.&lt;BR /&gt;&lt;BR /&gt;I hope I understand what you're looking for correctly this time.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jan 2004 23:48:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-serial-console/m-p/3170100#M9288</guid>
      <dc:creator>Tom Ward_1</dc:creator>
      <dc:date>2004-01-21T23:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: using serial console</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-serial-console/m-p/3170101#M9289</link>
      <description>I believe you want the output from the startup scripts run by /etc/rc.d/rc to go to the serial line.  You could change that script to force stdin/stdout/stderr to /dev/ttyS0 with the line&lt;BR /&gt;&lt;BR /&gt;exec /dev/ttyS0 2&amp;gt;/dev/ttyS0&lt;BR /&gt;&lt;BR /&gt;but I would have thought there was some way to inform the kernel itself that /dev/console should go to the serial line (it appears that /dev/console is what init is initially attached to).  Have you tried removing /etc/ioctl.save?&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jan 2004 16:18:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-serial-console/m-p/3170101#M9289</guid>
      <dc:creator>Stephen P. Schaefer</dc:creator>
      <dc:date>2004-01-22T16:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: using serial console</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-serial-console/m-p/3170102#M9290</link>
      <description>I have not removed /etc/ioctl.save. I want to be able to to Serial line as well as Physical console. The Serial line have no problem getting the ouput of startup scripts. But some reasone the physical console is not getting the output from the startup script?  Any idea?  Thanks.</description>
      <pubDate>Thu, 22 Jan 2004 16:45:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-serial-console/m-p/3170102#M9290</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2004-01-22T16:45:03Z</dc:date>
    </item>
  </channel>
</rss>

