Spoke too soon!
After a reboot I did get a console log. I’m not quite sure what’s happening.
The telnet connection seems to start but I’m not getting data back.
Martin - what would be a help here is if I had a second server app to try - you
seem pretty up to speed with building servers - if you can put together a
Makefile for some sort of application server that does not use a disk at all
and talks back over a network then I will have a second server to try to make
sure it is not my telnet chat application server at fault. Even a simple
daytime server or something that returns current time on port 13 would do the
job. Or a simple HTTP server that spits back some sort of response and
definitely no chance speaks to a disk. If you have time to do that it would
save me alot of time and allow me to focus on the EC2 aspects.
Note is says mirage in the console output below not because I’m using mirage
but because that’s just a string in the build script which I used from mirage
as suggested by Justin.
Xen Minimal OS!
start_info: 0xd00000(VA)
nr_pages: 0x6a400
shared_inf: 0x7e02a000(MA)
pt_base: 0xd03000(VA)
nr_pt_frames: 0xb
mfn_list: 0x9ae000(VA)
mod_start: 0x0(VA)
mod_len: 0
flags: 0x0
cmd_line: root=/dev/sda1 ro 4
stack: 0x96d840-0x98d840
MM: Init
_text: 0x0(VA)
_etext: 0x7dc7d(VA)
_erodata: 0x9a000(VA)
_edata: 0x9fce0(VA)
stack start: 0x96d840(VA)
_end: 0x9ade40(VA)
start_pfn: d11
max_pfn: 6a400
Mapping memory range 0x1000000 - 0x6a400000
setting 0x0-0x9a000 readonly
skipped 0x1000
MM: Initialise page allocator for 105c000(105c000)-6a400000(6a400000)
MM: done
Demand map pfns at 6a401000-206a401000.
Heap resides at 206a402000-406a402000.
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0x6a401000.
Initialising scheduler
Thread "Idle": pointer: 0x206a402050, stack: 0x13d0000
Thread "xenstore": pointer: 0x206a402800, stack: 0x13e0000
xenbus initialised on irq 1 mfn 0x9e16fe
Thread "shutdown": pointer: 0x206a402fb0, stack: 0x13f0000
Dummy main: start_info=0x98d940
Thread "main": pointer: 0x206a403760, stack: 0x6a000000
"main" "root=/dev/sda1" "ro" "4"
vbd 2049 is hd0
******************* BLKFRONT for device/vbd/2049 **********
backend at /local/domain/0/backend/vbd/17950/2049
Failed to read /local/domain/0/backend/vbd/17950/2049/feature-barrier.
Failed to read /local/domain/0/backend/vbd/17950/2049/feature-flush-cache.
61440 sectors of 512 bytes
**************************
vbd 2050 is hd1
******************* BLKFRONT for device/vbd/2050 **********
backend at /local/domain/0/backend/vbd/17950/2050
Failed to read /local/domain/0/backend/vbd/17950/2050/feature-barrier.
Failed to read /local/domain/0/backend/vbd/17950/2050/feature-flush-cache.
312705024 sectors of 512 bytes
**************************
vbd 2051 is hd2
******************* BLKFRONT for device/vbd/2051 **********
backend at /local/domain/0/backend/vbd/17950/2051
Failed to read /local/domain/0/backend/vbd/17950/2051/feature-barrier.
Failed to read /local/domain/0/backend/vbd/17950/2051/feature-flush-cache.
1835008 sectors of 512 bytes
**************************
[H[J
GNU GRUB version 0.97 (1740800K lower / 0K upper memory)
[m[4;2H+-------------------------------------------------------------------------+[5;2H|[5;76H|[6;2H|[6;76H|[7;2H|[7;76H|[8;2H|[8;76H|[9;2H|[9;76H|[10;2H|[10;76H|[11;2H|[11;76H|[12;2H|[12;76H|[13;2H|[13;76H|[14;2H|[14;76H|[15;2H|[15;76H|[16;2H|[16;76H|[17;2H+-------------------------------------------------------------------------+[m
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS, 'e' to edit the
commands before booting, or 'c' for a command-line.[5;78H [m[7m[5;3H
Mirage
[5;75H[m[m[6;3H
[6;75H[m[m[7;3H
[7;75H[m[m[8;3H
[8;75H[m[m[9;3H
[9;75H[m[m[10;3H
[10;75H[m[m[11;3H
[11;75H[m[m[12;3H
[12;75H[m[m[13;3H
[13;75H[m[m[14;3H
[14;75H[m[m[15;3H
[15;75H[m[m[16;3H
[16;75H[m[16;78H [5;75H[23;4H The highlighted entry will be
booted automatically in 1 seconds. [5;75H[H[J Booting 'Mirage'
root (hd0)
Filesystem type is ext2fs, using whole disk
kernel /boot/mirage-os.gz
============= Init TPM Front ================
Tpmfront:Error Unable to read device/vtpm/0/backend-id during tpmfront
initialization! error = ENOENT
Tpmfront:Info Shutting down tpmfront
close blk: backend=/local/domain/0/backend/vbd/17950/2049 node=device/vbd/2049
close blk: backend=/local/domain/0/backend/vbd/17950/2050 node=device/vbd/2050
close blk: backend=/local/domain/0/backend/vbd/17950/2051 node=device/vbd/2051
start_info: 0x7c0000(VA)
nr_pages: 0x6a400
shared_inf: 0x7e02a000(MA)
pt_base: 0x7c3000(VA)
nr_pt_frames: 0x9
mfn_list: 0x46e000(VA)
mod_start: 0x0(VA)
mod_len: 0
flags: 0x0
cmd_line:
stack: 0x3e2660-0x462660
MM: Init
_text: 0x0(VA)
_etext: 0x1c34a4(VA)
_erodata: 0x268000(VA)
_edata: 0x272e00(VA)
stack start: 0x3e2660(VA)
_end: 0x46de40(VA)
start_pfn: 7cf
max_pfn: 6a400
Mapping memory range 0xc00000 - 0x6a400000
setting 0x0-0x268000 readonly
skipped 0x1000
MM: Initialise page allocator for b1c000(b1c000)-6a400000(6a400000)
MM: done
Demand map pfns at 6a401000-206a401000.
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0x6a401000.
xenbus initialised on irq 1 mfn 0x9e16fe
Failed to read device/pci/0/backend-id.
no backend
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 7.99.17 (RUMP-ROAST)
total memory = 844 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
cpu0 at thinair0: rump virtual cpu
root file system type: rumpfs
kern.module.path=/stand/amd64/7.99.17/modules
mainbus0 (root)
pci0 at mainbus0 bus 0
pci0: memory space enabled, rd/line, rd/mult, wr/inv ok
timecounter: Timecounter "rumpxen" frequency 1000000000 Hz quality 100
mounted tmpfs on /tmp
=== calling "rumprun-xen" main() ===
rumprun: call to ``sigaction'' ignored
CHATSRV 0.5 Copyright (C) 2012 André Gasser
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions.
[2015-05-22 22:46:03 E] 1
[2015-05-22 22:46:03 E] 2
[2015-05-22 22:46:03 E] 3
[2015-05-22 22:46:03 E] 4
[2015-05-22 22:46:03 E] 5
[2015-05-22 22:46:03 E] server_len: 16
[2015-05-22 22:46:03 E] 3
[2015-05-22 22:46:03 I] Server listening on 0.0.0.0, port 5555
[2015-05-22 22:46:03 I] Log level set to INFO
[2015-05-22 22:46:03 I] Waiting for incoming connection...