Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Chainloading linux in AWS EC2 HVM
2016-01-18, 23:17 (This post was last modified: 2016-01-21 08:10 by plachance.)
Post: #5
RE: Chainloading linux in AWS EC2 HVM
Thanks for the quick response!

(2016-01-18 23:00)mcb30 Wrote:  Are you sure that the initrd image includes the Xen netfront driver?

Yes, the system log shows that xen_netfront and xen_blockfront are loaded.
Code:
[    5.808330] xen_netfront: Initialising Xen virtual ethernet driver
::::::
[    5.881939] blkfront: xvda: barrier or flush: disabled; persistent grants: disabled; indirect descriptors: enabled;
[    5.884958]  xvda: xvda3 xvda4

Also, the same CoreOS example provided in the previous post works on SoYouStart using their release of iPXE but not using the latest one I compile myself.

Quote:Try building as per the instructions in http://git.ipxe.org/ipxe.git/commitdiff/cc25260 (pushed earlier today).

Edit1: Exactly the same problem. iPXE loads as expected and finds the kernel and initrd from the boot server.

Code:
iPXE LOG

iPXE initialising devices...ok

iPXE 1.0.0+ (3c26) -- Open Source Network Boot Firmware -- http://ipxe.org
Features: DNS HTTP iSCSI TFTP SRP AoE ELF MBOOT PXE bzImage Menu PXEXT
Amazon EC2 - iPXE boot via user-data
net0: 0a:dd:a6:cb:d5:b3 using netfront on vif/0 (closed)
  [Link:down, TX:0 TXE:0 RX:0 RXE:0]
  [Link status: Down (http://ipxe.org/38086101)]
Configuring (net0 0a:dd:a6:cb:d5:b3)...... ok
net0: 172.31.47.39/255.255.240.0 gw 172.31.32.1
http://169.254.169.254/latest/user-data... ok
http://mirror.centos.org/centos-7/7/os/x86_64/isolinux/vmlinuz... ok
http://mirror.centos.org/centos-7/7/os/x86_64/isolinux/initrd.img... ok

Server output log available here.

Kernel command line:
Code:
console=hvc0 console=tty0 console=ttyS0 ip=dhcp inst.repo=http://mirror.centos.org/centos-7/7/os/x86_64 inst.vnc inst.vncpassword=XXXXXXXX inst.headless inst.lang=en_US inst.keymap=us

I tried force loading netfront driver by adding
Code:
rd.driver.pre=xen_netfront,xennet,netfront
but the problem is the same.
Quote:Ask SoYouStart to provide the source (as required by the GPL).
Edit1: I did but didn't get it yet. Apparently they only patch the code to avoid replying to ping requests.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Chainloading linux in AWS EC2 HVM - plachance - 2016-01-18 23:17



User(s) browsing this thread: 1 Guest(s)