LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-05-2013, 09:25 AM   #1
DaveEv
LQ Newbie
 
Registered: Mar 2013
Location: Scotland
Distribution: Debian, Freescale LTIB
Posts: 7

Rep: Reputation: Disabled
Console Login respawning


Hi all,

I'm trying to login to an embedded target built using the Freescale LTIB system.
The target boots and starts getty but almost immediately respawns getty accepting but ignoring any keyboard entry.
The console is defined in securetty.

console output:
starting pid 1249, tty '': '/sbin/getty -L ttymxc0 115200 vt100'
process '/sbin/getty -L ttymxc0 115200 vt100' (pid 1249) exited. Scheduling for restart.

and repeats.

Any ideas what I can do to solve this?

DaveEv
 
Old 03-15-2013, 10:42 AM   #2
elucches
Member
 
Registered: Jan 2011
Posts: 91

Rep: Reputation: 8
(I guess you already did it, but just the same) I'd check /dev/ttymxc0
 
Old 03-20-2013, 04:44 PM   #3
rigor
Member
 
Registered: Sep 2011
Posts: 144

Rep: Reputation: Disabled
DaveEv,

Is this something that has happened since a change to the system or configuration was made, or has the problem always existed, from the beginning?

Are you absolutely sure that the getty accepts tty input, or is it just that input is being echoed?

Is there something like a "Single User" mode that can be used to examine system logs, etc?

If it's something that happened after a change, such as changing the baud, I'd wonder if somehow the baud rate isn't supported by the device.

But in either case, I'd hope to find some "Single User" mode, etc., that perhaps didn't prevent me from logging in, to "grep" through the system logs, to search for answers.

In some of the most mysterious cases, I've found it helpful to run something like a C program I've constructed, in place of a getty, to try get some answers.

If it's an embedded system that by default doesn't use persistent storage for logs etc., but if there is removable persistent storage available, I'd try to rebuild it so that the removable persistent storage is used for logging, so I could remove the storage and examine the logs.

If it supports a serial console mode, and you are able to make use of the serial ports at all, I might try that approach.

I hope this helps.
 
Old 03-28-2013, 05:26 PM   #4
DaveEv
LQ Newbie
 
Registered: Mar 2013
Location: Scotland
Distribution: Debian, Freescale LTIB
Posts: 7

Original Poster
Rep: Reputation: Disabled
This was on a new build that had never been run before and it turned out I needed some other drivers to be selected once I included them the machine booted without issue.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
unable to login any user through the console but users can login in GUI p kumar Linux - Server 1 04-19-2012 06:09 AM
Not able to login to server thru console but able to login via network using putty maxy7710 Linux - Newbie 4 01-12-2010 10:27 AM
To switch from console login to CDE login Paris Heng Solaris / OpenSolaris 2 04-23-2009 07:53 PM
"cant login, login incorrect"init : Id "x" respawning too fast:disabled for 5 minutes allenwoxx Linux - Newbie 1 11-21-2008 10:45 AM
Spectra Linux 1.2 Kernel 2.4.18-6pro i686 Respawning and localhost login problem felixs Linux - Newbie 0 08-20-2005 05:05 AM


All times are GMT -5. The time now is 05:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration