Hello gents

After much futzing around finally I have rump-nginx running on EC2. Prior to 
this I have successfully run the simple server which does not use disks at all 
and that works fine and returns “no hei vaan” as expected (which is something 
in Finnish apparently). 

rump-nginx as I understand it use two block devices, one for stubetc and one 
for data/conf

So on EC2 I have launched the unikernel with two attached block devices, one 
for stubetc and one for data/conf

These block devices are formatted at ext2 and contain the data copied from the 
rump-ngix repo for each of stubetc and data/conf

I was hoping the block devices would be detected and mounted and nginx would 
pick them up and things would all work.  That might have been a little 
optimistic.

Here’s the log.  If anyone can direct me to the next clue it would be much 
appreciated.

thanks



Xen Minimal OS!
  start_info: 0xae2000(VA)
    nr_pages: 0x26700
  shared_inf: 0x7ec11000(MA)
     pt_base: 0xae5000(VA)
nr_pt_frames: 0x9
    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: af1
    max_pfn: 26700
Mapping memory range 0xc00000 - 0x26700000
setting 0x0-0x9a000 readonly
skipped 0x1000
MM: Initialise page allocator for c1f000(c1f000)-26700000(26700000)
MM: done
Demand map pfns at 26701000-2026701000.
Heap resides at 2026702000-4026702000.
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0x26701000.
Initialising scheduler
Thread "Idle": pointer: 0x2026702050, stack: 0x26660000
Thread "xenstore": pointer: 0x2026702800, stack: 0x26670000
xenbus initialised on irq 1 mfn 0xce5d17
Thread "shutdown": pointer: 0x2026702fb0, stack: 0x26680000
Dummy main: start_info=0x98d940
Thread "main": pointer: 0x2026703760, stack: 0x26690000
"main" "root=/dev/sda1" "ro" "4" 
vbd 2049 is hd0
******************* BLKFRONT for device/vbd/2049 **********


backend at /local/domain/0/backend/vbd/12722/2049
Failed to read /local/domain/0/backend/vbd/12722/2049/feature-barrier.
Failed to read /local/domain/0/backend/vbd/12722/2049/feature-flush-cache.
2097152 sectors of 512 bytes
**************************
vbd 2128 is hd1
******************* BLKFRONT for device/vbd/2128 **********


backend at /local/domain/0/backend/vbd/12722/2128
Failed to read /local/domain/0/backend/vbd/12722/2128/feature-barrier.
Failed to read /local/domain/0/backend/vbd/12722/2128/feature-flush-cache.
2097152 sectors of 512 bytes
**************************
vbd 2144 is hd2
******************* BLKFRONT for device/vbd/2144 **********


backend at /local/domain/0/backend/vbd/12722/2144
Failed to read /local/domain/0/backend/vbd/12722/2144/feature-barrier.
Failed to read /local/domain/0/backend/vbd/12722/2144/feature-flush-cache.
2097152 sectors of 512 bytes
**************************


    GNU GRUB  version 0.97  (629760K lower / 0K upper memory)



+-------------------------------------------------------------------------+||||||||||||||||||||||||+-------------------------------------------------------------------------+

    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.  
Rump                                                                    
                                                             
                                                             
                                                             
                                                             
                                                            
                                                             
                                                           
                                                           
                                                           
                                                           
                                                           
                                                                      
                                                           
                The highlighted entry will be 
booted automatically in 1 seconds.     Booting 'Rump'



root (hd0)

 Filesystem type is ext2fs, using whole disk

kernel /boot/rump-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/12722/2049 node=device/vbd/2049
close blk: backend=/local/domain/0/backend/vbd/12722/2128 node=device/vbd/2128
close blk: backend=/local/domain/0/backend/vbd/12722/2144 node=device/vbd/2144
  start_info: 0x6f7000(VA)
    nr_pages: 0x26700
  shared_inf: 0x7ec11000(MA)
     pt_base: 0x6fa000(VA)
nr_pt_frames: 0x7
    mfn_list: 0x5c3000(VA)
   mod_start: 0x0(VA)
     mod_len: 0
       flags: 0x0
    cmd_line: 
  stack:      0x528280-0x5a8280
MM: Init
      _text: 0x0(VA)
     _etext: 0x28f4b4(VA)
   _erodata: 0x384000(VA)
     _edata: 0x3a0420(VA)
stack start: 0x528280(VA)
       _end: 0x5c2c40(VA)
  start_pfn: 704
    max_pfn: 26700
Mapping memory range 0x800000 - 0x26700000
setting 0x0-0x384000 readonly
skipped 0x1000
MM: Initialise page allocator for 834000(834000)-26700000(26700000)
MM: done
Demand map pfns at 26701000-2026701000.
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0x26701000.
xenbus initialised on irq 1 mfn 0xce5d17
Failed to read device/pci/0/backend-id.
no backend
using hardcoded_jsoncfg
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 = 303 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: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
timecounter: Timecounter "rumpxen" frequency 1000000000 Hz quality 100
mounted tmpfs on /tmp
net TX ring size 256
net RX ring size 256
netfront: node=device/vif/0 backend=/local/domain/0/backend/vif/12722/0
netfront: MAC 22:00:0A:E2:07:25
xenif0: Ethernet address 22:00:0a:e2:07:25
dhcp: xenif0: adding IP address 10.226.7.37/26
dhcp: xenif0: adding route to 10.226.7.0/26
dhcp: xenif0: adding default route via 10.226.7.1
lease time: 86400 seconds
Failed to read device/vbd/832/backend-id.
Abort transaction switching state
bmk_memfree: invalid pointer 0x2666f13a
rumprun: etfs register for "blk1" failed: 5

=== ERROR: _exit(1) called ===
panic: releasing non-pertinent lwp
rump kernel halting...
halted
PANIC: rumpuser panic
port 4 still bound!
minios: halting, reason=0



Reply via email to