LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-20-2010, 10:48 PM   #1
lynnos@tong-ji.org
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
10.04 serial console is not up automatically


All,
I am trying to pxe boot ubuntu 10.04

grub config:

Code:

Code:
title Linux NFS 
dhcp
root (nd)
kernel /vmlinuz-2.6.34 console=ttyS0,9600 root=/dev/nfs nfsroot=192.168.1.1:/home/nfsroot ip=dhcp rw
initrd /initrd.img-2.6.34-pxenfs
ttyS0.conf in /etc/init


Code:
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345] 

respawn
exec /sbin/getty -L ttyS0 9600 vt102
When it boot up,it doesn't show up login prompt from serial console ttyS0, and I login it via ssh,then run


Code:
start ttyS0
serial console is working

Why ttyS0.conf job isn't invoked automatically ? is there anything wrong with configuration?

Thanks for your help in advance

Lynn
 
Old 06-24-2010, 12:12 PM   #2
Laurens73
Member
 
Registered: Aug 2009
Location: Zeewolde, Flevoland NL
Distribution: Debian squeeze (Gnome) on netbooks; Debian Lenny on servers and Debian wheezy (XFCE) on new laptops
Posts: 144

Rep: Reputation: 23
I don't know how to do that the official way, but if you want to have it working fast, to gain more time to do it right, just add the lines you normally type to the file /etc/rc.local

Code:
start ttyS0
 
Old 06-25-2010, 01:32 AM   #3
lynnos@tong-ji.org
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Laurens73 View Post
I don't know how to do that the official way, but if you want to have it working fast, to gain more time to do it right, just add the lines you normally type to the file /etc/rc.local

Code:
start ttyS0
Thanks for your reply.
These days I am doing more investigation.The issue is that runlevel is unknown,not N 2,that's why ttyS0 isn't executed
I still don't know the root cause
 
Old 06-25-2010, 06:41 AM   #4
linus.newbert
LQ Newbie
 
Registered: Jun 2010
Posts: 12

Rep: Reputation: 0
AFAIK the kernel console redirection is not enabled by default so these messages shouldn't appear (in order to do so, a new kernel must be built from sources). For the other issue, have you tried installing the ttySX activation with update-rc.d?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
serial console +plx tech console server card pankajd Linux - Hardware 1 10-14-2009 01:45 PM
Belkin serial UPS's agent does not start automatically at boot nonsense28sal Linux - Hardware 2 05-30-2008 09:12 AM
serial console pvpnguyen Red Hat 1 11-17-2007 01:42 PM
Serial Console zaicheke Linux - Networking 4 11-14-2004 07:55 PM
serial console ixion Linux - Software 3 03-19-2003 12:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration