I can bring up a uml session successfully when
invoking from command line. and can also bring up a
uml session successfully from within a gdb (following
instructions from the 'how to'). However, I am having
trouble being able to input login info to the same uml
when started thru umlgdb. All of these attempts are
with the skas patch on the host. host and guest are
both 2.6.12.1. 

can somebody please tell me what I am missing ? More
details below.

Thru umlgdb, I am able to get the uml boot up to start
in the right tty (set as a part of the initgdb method
in umlgdb). But, if I type the user name at the login
prompt, I get the response

'command not found' 

and get back to the HOST's command prompt. 

(i.e. the user id entered is being interpreted as a
command).

In the bootup log messages, I see a few  'TIOCSCTTY
failed', errno =1. . . 

Also, during the boot up, if there is a file system
check, I get the 

"Give root password for maintenance
(or type Control-D to continue):"
message. If I type the root password here,it is echoed
back. plus, I get the response
'command not found'


My uml arguments in all of thes attempts (successful
as well as failed) are

ubd0=/home/mandukur/uml_mod_version/umlFSDir/uml1.cow,/home/mandukur/uml_mod_version/base_fs/rootfs_from_uml1
ubd1=/home/mandukur/uml_mod_version/umlFSDir/umlswapfs1
con=pts con0=fd:0,fd:1 umid=uml1 mem=256M 

An exceprt from my boot sequence looks as follows. I
see the same 'mingetty' related messages even when I
start UML directly (i.e. without gdb or umlgdb). but
that has never stopped uml from booting and working
alright. what I Do NOT see during these successful
attempts are the 'TIOCSCTTTY failed' messages.

Thanks
Murthy Andukuri
--------------------------------------------------
uml boot sequence ...
..
..

Mounted devfs on /dev
TIOCSCTTY failed, errno = 1
line_ioctl: tty0: ioctl KDSIGACCEPT called
INIT: version 2.84 booting
TIOCSCTTY failed, errno = 1
line_ioctl: tty0: ioctl TIOCLINUX called
/etc/rc.d/rc.sysinit: line 39:
/dev/tty0:2345:respawn:/sbin/mingetty: No such file or
directory
/etc/rc.d/rc.sysinit: line 39: /dev/ttyvc/0: No such
file or directory
/etc/rc.d/rc.sysinit: line 39:
/dev/tty#1:2345:respawn:/sbin/mingetty: No such file
or directory
/etc/rc.d/rc.sysinit: line 39: /dev/ttyvc/1: No such
file or directory
/etc/rc.d/rc.sysinit: line 39:
/dev/tty#2:2345:respawn:/sbin/mingetty: No such file
or directory
/etc/rc.d/rc.sysinit: line 39: /dev/ttyvc/2: No such
file or directory
/etc/rc.d/rc.sysinit: line 39:
/dev/tty#c:2345:respawn:/sbin/mingetty: No such file
or directory
/etc/rc.d/rc.sysinit: line 39: /dev/ttyserial/0: No
such file or directory
/etc/rc.d/rc.sysinit: line 42: [: serial/0: integer
expression expected
line_ioctl: tty0: ioctl TIOCLINUX called
                Welcome to Red Hat Linux
                Press 'I' to enter interactive
startup.
                                                      
..
..                                                    
  
                                                      





                
__________________________________ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free. 
http://music.yahoo.com/unlimited/


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to