[nycbug-talk] Fwd: FreeBSD/EC2 lives!

Steven Kreuzer skreuzer at exit2shell.com
Mon Dec 13 15:37:44 EST 2010

On Dec 13, 2010, at 3:32 PM, Siraaj Khandkar wrote:

> On 13 Dec 2010, at 15:15, Chris Snyder wrote:
>> On Mon, Dec 13, 2010 at 3:08 PM, Siraaj Khandkar <siraaj at khandkar.net> wrote:
>>> It's a bit lengthy, so I attached it.
>> Mystery why you can't connect, there are no obvious startup failures
>> or kernel panics, which is usually what you see when you can't connect
>> to a linux instance.
>> You are connecting as root, using the correct key for authentication?
> OK. Problem solved. The default filter group didn't quite behave as
> I expected (haven't used it prior).
> I relaunched it with a new group and all is good now!

In case anyone else runs into this issue, when it asks you to assign a security group to the instance, ssh isn't open by default. Once you add that, you will be able to login as root with the
ssh key that you generate when you bring the instance online

For those that are interested:

ip-10-203-34-197# uname -a
FreeBSD ip-10-203-34-197 9.0-CURRENT FreeBSD 9.0-CURRENT #68: Sun Dec 12 03:52:29 UTC 2010     root at chch.daemonology.net:/usr/obj/i386.i386/usr/src/sys/XEN  i386

ip-10-203-34-197# dmesg
APIC: Using the MPTable enumerator.
SMP: Added CPU 0 (BSP)
Copyright (c) 1992-2010 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 9.0-CURRENT #68: Sun Dec 12 03:52:29 UTC 2010
    root at chch.daemonology.net:/usr/obj/i386.i386/usr/src/sys/XEN i386
WARNING: WITNESS option enabled, expect reduced performance.
Xen reported: 2659.998 MHz processor.
Timecounter "ixen" frequency 1953125 Hz quality 0
CPU: Intel(R) Xeon(R) CPU           E5430  @ 2.66GHz (2660.00-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x1067a  Family = 6  Model = 17  Stepping = 10
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>

Instruction TLB: 4 KB Pages, 4-way set associative, 128 entries
1st-level instruction cache: 32 KB, 8-way set associative, 64 byte line size
1st-level data cache: 32 KB, 8-way set associative, 64 byte line size
L2 cache: 6144 kbytes, 16-way associative, 64 bytes/line
real memory  = 644874240 (615 MB)
Physical memory chunk(s):
0x00000000007d0000 - 0x0000000025b4dfff, 624418816 bytes (152446 pages)
avail memory = 621105152 (592 MB)
[XEN] IPI cpu=0 irq=128 vector=RESCHEDULE_VECTOR (0)
[XEN] IPI cpu=0 irq=129 vector=CALL_FUNCTION_VECTOR (1)
Event-channel device installed.
random: <entropy source, Software, Yarrow>
io: <I/O>
mem: <memory>
Pentium Pro MTRR support enabled
null: <null device, zero device>
nfslock: pseudo-device
[XEN] xen_rtc_probe: probing Hypervisor RTC clock
rtc0: <Xen Hypervisor Clock> on motherboard
[XEN] xen_rtc_attach: attaching Hypervisor RTC clock
rtc0: registered as a time-of-day clock (resolution 1000000us, adjustment 0.500000000s)
xs_probe: Probe retuns 0
xenstore0: <XenStore> on motherboard
Grant table initialized
xc0: <Xen Console> on motherboard
Device configuration finished.
procfs registered
Timecounters tick every 10.000 msec
[XEN] hypervisor wallclock nudged; nudging TOD.
lo0: bpf attached
xenbusb_front0: <Xen Frontend Devices> on xenstore0
xn0: <Virtual Network Interface> at device/vif/0 on xenbusb_front0
xn0: bpf attached
xn0: Ethernet address: 12:31:3b:09:21:37
xenbusb_back0: <Xen Backend Devices> on xenstore0
xctrl0: <Xen Control Device> on xenstore0
xbd0: 1024MB <Virtual Block Device> at device/vbd/2049 on xenbusb_front0
xbd0: attaching as da0
GEOM: new disk da0
xbd1: 9216MB <Virtual Block Device> at device/vbd/2064 on xenbusb_front0
xbd1: attaching as da1
WARNING: WITNESS option enabled, expect reduced performance.
GEOM: new disk da1
Trying to mount root from ufs:da1s1 []...
rtc0: [XEN] xen_rtc_gettime
rtc0: [XEN] xen_rtc_gettime: wallclock 1285664218 sec; 526376574 nsec
rtc0: [XEN] xen_rtc_gettime: uptime 6607083 sec; 790764218 nsec
rtc0: [XEN] xen_rtc_gettime: TOD 1292271302 sec; 317140792 nsec
start_init: trying /sbin/init

More information about the talk mailing list