All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: "Korupol, Naveen (EXT)" <Naveen.Korupol@ext.us.panasonic.com>
To: Ian Campbell <ian.campbell@citrix.com>,
	"Korupol, Naveen (EXT)" <Naveen.Korupol@ext.us.panasonic.com>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Subject: Re: xen on J6 evm - console not responding
Date: Wed, 17 Jun 2015 14:42:55 +0000	[thread overview]
Message-ID: <BY2PR02MB14090A9468D84215341F7D0DEA60@BY2PR02MB140.namprd02.prod.outlook.com> (raw)
In-Reply-To: <1434551503.13744.404.camel@citrix.com>

Hi Ian

Here is the information:

/etc/inittab
# Boot-time system configuration/initialization script.
# This is run first except when booting in single-user mode.
#
::sysinit:/etc/rc

# /bin/sh invocations on selected ttys
#
# Note below that we prefix the shell commands with a "-" to indicate to the
# shell that it is supposed to be a login shell.  Normally this is handled by
# login, but since we are bypassing login in this case, BusyBox lets you do
# this yourself...
#
# /sbin/getty invocations for selected ttys
hvc0::respawn:/sbin/getty 115200 hvc0

# Stuff to do when restarting the init process
::restart:/init

# Stuff to do before rebooting
::ctrlaltdel:/sbin/reboot
::shutdown:/sbin/swapoff -a
::shutdown:/bin/umount -a -r


/etc/rc (assuming that is what is running all those xl commands - yes).
#!/bin/sh       
echo
echo "Simple initramfs is active - this is from /etc/rc"
echo

# export LD_DEBUG=files
echo PATH = $PATH
echo LD_PRELOAD = $LD_PRELOAD

echo LIBPATH = $LIBPATH
export LIBPATH=/usr/local/lib;$LIBPATH
echo LIBPATH = $LIBPATH

echo LD_LIBRARY_PATH = $LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/lib;$LD_LIBRARY_PATH
echo LD_LIBRARY_PATH = $LD_LIBRARY_PATH

./etc/init.d/mountall.sh

./etc/init.d/hostname.sh

./etc/init.d/xencommons start
./etc/init.d/xendomains start
./etc/init.d/xen-watchdog start

echo
echo "NNN_Debug xl info"
echo
./usr/local/sbin/xl info -n
sleep 1

echo
echo "NNN_Debug xl list"
echo
./usr/local/sbin/xl list
sleep 1

echo
echo "NNN_Debug ps"
echo
ps la
sleep 1


What major/minor number does /dev/hvc0 have in your initramfs?
229 0 as below

/dev
crw-rw-rw- 1 	root root   	5,  1 	Jun  9 14:59 console
crw-rw-rw- 1 	root root 	229,  0 	Jun  5 14:50 hvc0
brw-r--r-- 1	root root   	7,  0 	Jun  5 14:51 loop0
brw-rw-rw- 1 	root root 	179,  0 	Jun  5 14:46 mmcblk0
brw-rw-rw- 1 	root root 	179,  1 	Jun  5 14:49 mmcblk0p1
brw-rw-rw- 1 	root root 	179,  2 	Jun  5 14:49 mmcblk0p2
brw-rw-rw- 1 	root root 	179,  3 	Jun  5 14:49 mmcblk0p3
crw-rw-rw- 1 	root root   	1,  3 	Jun  9 14:59 null
cr--r--r-- 1 	root root   	1,  8 	Jun  9 14:59 random
crw-rw-rw- 1 	root root  	 5,  0 	Jun  9 14:59 tty
crw-rw-rw- 1 	root root   	4, 64 	Jun  9 14:59 ttyS0
cr--r--r-- 1 	root root   	1,  9 	Jun  9 14:59 urandom
drwxrwxrwx 2 	root root    	4096 	Jun 15 13:53 xen
crw-rw-rw- 1 	root root   	1,  5 	Jun  9 14:59 zero

Does Xen see the keypresses, i.e. can you press Ctrl-A three times and get a response?
No: Ctrl-A does not work either.

Thanks
Naveen

  reply	other threads:[~2015-06-17 14:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-17 14:04 xen on J6 evm - console not responding Korupol, Naveen (EXT)
2015-06-17 14:31 ` Ian Campbell
2015-06-17 14:42   ` Korupol, Naveen (EXT) [this message]
2015-06-17 14:55     ` Ian Campbell
2015-06-17 15:03       ` Korupol, Naveen (EXT)
2015-06-17 15:05       ` Ian Campbell
2015-06-30 16:44         ` Korupol, Naveen (EXT)
2015-06-30 16:54           ` Ian Campbell
2015-06-17 14:46   ` Korupol, Naveen (EXT)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BY2PR02MB14090A9468D84215341F7D0DEA60@BY2PR02MB140.namprd02.prod.outlook.com \
    --to=naveen.korupol@ext.us.panasonic.com \
    --cc=ian.campbell@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.