[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] xen on J6 evm - console not responding



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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.