EC2 AMIs will be available from snapshot builds

Collin Forbes collin.forbes at gmail.com
Tue Jun 16 20:31:35 UTC 2015


On Tue, Jun 16, 2015 at 12:12:26PM -0700, Colin Percival wrote:
> On 06/16/15 11:47, Collin Forbes wrote:
> > 
> > I was seeing this with ami-53fcb763 over the weekend. That one isn't a
> > even a snapshot release. It's the AMI for FreeBSD 10.1-RELEASE for current
> > generation instances on us-west-2. I was trying to use t2.small and
> > t2.medium instances and had the same behavior.
> 
> Works for me... takes about 5 minutes before you can SSH in though, since the
> image downloads security patches first.

I've attached a copy/paste from the system log of an instance I just
tried launching.  It was a t2.small with ami-53fcb763 (10.1-RELEASE)

I have a note about behavior in the middle of the log. It seems to hang at:

    freebsd-update: Fetching public key from update6.freebsd.org... failed.

I waited about 15 minutes and then gave it a reboot command from the AWS
console. The remaining lines appeared in the log after that. However, the
instance is not accessible after the reboot and there are no other log
lines indicating the instance rebooted.

-- 
Collin Forbes    collin.forbes at gmail.com
-------------- next part --------------
# ----------------------------------------------------------------------

AMI: ami-53fcb763 (EC2 10.1-RELEASE Current Generation, us-west-2a)
Instance type: t2.small

# ----------------------------------------------------------------------

Booting [/boot/kernel/kernel]...               
Copyright (c) 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014
    root at releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
XEN: Hypervisor version 4.2 detected.
CPU: Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz (2500.05-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x306e4  Family = 0x6  Model = 0x3e  Stepping = 4
  Features=0x1783fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0xffba2203<SSE3,PCLMULQDQ,SSSE3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND,HV>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  Structured Extended Features=0x200<ERMS>
real memory  = 2147483648 (2048 MB)
avail memory = 2050904064 (1955 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <Xen HVM>
random device not loaded; using insecure entropy
ioapic0: Changing APIC ID to 1
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-47 on motherboard
kbd1 at kbdmux0
random: <Software, Yarrow> initialized
xen_et0: <Xen PV Clock> on motherboard
Event timer "XENTIMER" frequency 1000000000 Hz quality 950
Timecounter "XENTIMER" frequency 1000000000 Hz quality 950
acpi0: <Xen> on motherboard
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
cpu0: <ACPI CPU> on acpi0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 62500000 Hz quality 950
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0xb008-0xb00b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 WDMA2 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc100-0xc10f at device 1.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
pci0: <bridge> at device 1.3 (no driver attached)
vgapci0: <VGA-compatible display> mem 0xf0000000-0xf1ffffff,0xf3000000-0xf3000fff at device 2.0 on pci0
vgapci0: Boot video device
xenpci0: <Xen Platform Device> port 0xc000-0xc0ff mem 0xf2000000-0xf2ffffff irq 28 at device 3.0 on pci0
xenstore0: <XenStore> on xenpci0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: console (9600,n,8,1)
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fdc0: No FDOUT register!
ppc0: cannot reserve I/O port range
Timecounters tick every 10.000 msec
xctrl0: <Xen Control Device> on xenstore0
xenbusb_front0: <Xen Frontend Devices> on xenstore0
xn0: <Virtual Network Interface> at device/vif/0 on xenbusb_front0
xn0: Ethernet address: 06:11:44:91:75:fb
xenbusb_back0: <Xen Backend Devices> on xenstore0
xn0: backend features: feature-sg feature-gso-tcp4
xbd0: 16384MB <Virtual Block Device> at device/vbd/768 on xenbusb_front0
xbd0: attaching as ada0
random: unblocking device.
Timecounter "TSC-low" frequency 1250023790 Hz quality 800
Trying to mount root from ufs:/dev/ada0a [rw]...
Setting hostuuid: ec2fe5f7-370d-831d-dfb6-fefbbe441379.
Setting hostid: 0x6eba36f5.
No suitable dump device was found.
Entropy harvesting: interrupts ethernet point_to_point swi.
Starting file system checks:
/dev/ada0a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ada0a: clean, 2080614 free (838 frags, 259972 blocks, 0.0% fragmentation)
Mounting local file systems:.
Writing entropy file:.
xn0: link state changed to DOWN
xn0: link state changed to UP
Starting Network: lo0 xn0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
	inet 127.0.0.1 netmask 0xff000000 
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
xn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=503<RXCSUM,TXCSUM,TSO4,LRO>
	ether 06:11:44:91:75:fb
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: Ethernet manual
	status: active
Starting devd.
Starting dhclient.
DHCPDISCOVER on xn0 to 255.255.255.255 port 67 interval 5
DHCPOFFER from 172.30.0.1
DHCPREQUEST on xn0 to 255.255.255.255 port 67
DHCPACK from 172.30.0.1
bound to 172.30.0.88 -- renewal in 1800 seconds.
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Generating host.conf.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
32-bit compatibility ldconfig path: /usr/lib32
Creating and/or trimming log files.
Starting syslogd.
Fetching EC2 user-data failed.
No ephemeral disks are available, so no swap space is being created.
Clearing /tmp (X related).
Updating motd:.
Mounting late file systems:.
Creating user ec2-user
Fetching SSH public key for ec2-user
freebsd-update: Looking up update.FreeBSD.org mirrors... 5 mirrors found.
freebsd-update: Fetching public key from update6.freebsd.org... failed.

    [after sending a reboot command from the AWS Console, these lines appear]

freebsd-update: Fetching public key from update4.freebsd.org... failed.
freebsd-update: Fetching public key from update2.freebsd.org... failed.
freebsd-update: Fetching public key from update5.freebsd.org... failed.
freebsd-update: Fetching public key from update3.freebsd.org... failed.
freebsd-update: No mirrors remaining, giving up.
pkg: Error fetching http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/Latest/pkg.txz: No route to host
A pre-built version of pkg could not be found for your system.
Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait...
pkg: Error fetching http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/Latest/pkg.txz: No route to host
A pre-built version of pkg could not be found for your system.
Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait...
Starting sendmail_submit.
Starting sendmail_msp_queue.
Generating RSA1 host key.
2048 c2:d7:da:d2:aa:90:73:df:ee:26:d7:2d:10:f6:e1:79  root at ip-172-30-0-88 (RSA1)
Generating RSA host key.
2048 a2:2d:5a:c8:1c:76:ef:10:43:ad:f1:29:9f:a0:b7:50  root at ip-172-30-0-88 (RSA)
Generating DSA host key.
1024 17:a7:ef:e9:f3:da:cb:b7:a0:ed:58:3e:27:2d:67:e2  root at ip-172-30-0-88 (DSA)
Generating ECDSA host key.
256 56:1a:44:3f:72:e5:b5:84:21:2b:8c:d0:29:52:33:56  root at ip-172-30-0-88 (ECDSA)
Generating ED25519 host key.
256 c3:31:4e:5e:20:68:4f:2d:6a:d3:62:44:80:dc:b2:58  root at ip-172-30-0-88 (ED25519)
Performing sanity check on sshd configuration.
Starting sshd.
ec2: #############################################################
ec2: -----BEGIN SSH HOST KEY FINGERPRINTS-----
ec2: 1024 17:a7:ef:e9:f3:da:cb:b7:a0:ed:58:3e:27:2d:67:e2  root at ip-172-30-0-88 (DSA)
ec2: 256 56:1a:44:3f:72:e5:b5:84:21:2b:8c:d0:29:52:33:56  root at ip-172-30-0-88 (ECDSA)
ec2: 256 c3:31:4e:5e:20:68:4f:2d:6a:d3:62:44:80:dc:b2:58  root at ip-172-30-0-88 (ED25519)
ec2: 2048 c2:d7:da:d2:aa:90:73:df:ee:26:d7:2d:10:f6:e1:79  root at ip-172-30-0-88 (RSA1)
ec2: 2048 a2:2d:5a:c8:1c:76:ef:10:43:ad:f1:29:9f:a0:b7:50  root at ip-172-30-0-88 (RSA)
ec2: -----END SSH HOST KEY FINGERPRINTS-----
ec2: #############################################################
Configuring syscons: blanktime.
Starting cron.
Starting background file system checks in 60 seconds.

Tue Jun 16 20:14:08 UTC 2015
Stopping cron.
Stopping sshd.
Stopping devd.
Writing entropy file:.
Terminated
.
Jun 16 20:19:23 ip-172-30-0-88 syslogd: exiting on signal 15

Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...3 3 1 0 done
All buffers synced.
Uptime: 19m25s
Rebooting...




More information about the freebsd-cloud mailing list