[nycbug-talk] Fwd: FreeBSD/EC2 lives!
Siraaj Khandkar
siraaj at khandkar.net
Mon Dec 13 15:08:35 EST 2010
On 13 Dec 2010, at 14:47, Chris Snyder wrote:
> On Mon, Dec 13, 2010 at 2:39 PM, Siraaj Khandkar <siraaj at khandkar.net> wrote:
>
>>
>> Instance launched successfully, but so far no luck contacting it... :-(
>>
>> 204.236.219.220
>>
>
> What does the console dump say?
It's a bit lengthy, so I attached it.
-------------- next part --------------
Xen Minimal OS!
start_info: 0xa01000(VA)
nr_pages: 0x26700
shared_inf: 0xdeaee000(MA)
pt_base: 0xa04000(VA)
nr_pt_frames: 0x9
mfn_list: 0x967000(VA)
mod_start: 0xa080101(VA)
mod_len: 967212544
flags: 0x0
cmd_line: root=/dev/sda1 ro 4
stack: 0x946780-0x966780
MM: Init
_text: 0x0(VA)
_etext: 0x621f5(VA)
_erodata: 0x76000(VA)
_edata: 0x7b6d4(VA)
stack start: 0x946780(VA)
_end: 0x966d34(VA)
start_pfn: a10
max_pfn: 26700
Mapping memory range 0xc00000 - 0x26700000
setting 0x0-0x76000 readonly
skipped 0x1000
MM: Initialise page allocator for b3e000(b3e000)-0(26700000)
MM: done
Demand map pfns at 26701000-36701000.
Heap resides at 36702000-76702000.
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0x26701000.
Initialising scheduler
Thread "Idle": pointer: 0x36702008, stack: 0xbf0000
Initialising xenbus
Thread "xenstore": pointer: 0x36702478, stack: 0x26600000
Dummy main: start_info=0x966880
Thread "main": pointer: 0x367028e8, stack: 0x26610000
"main" "root=/dev/sda1" "ro" "4"
vbd 2049 is hd0
******************* BLKFRONT for device/vbd/2049 **********
backend at /local/domain/0/backend/vbd/1558/2049
Failed to read /local/domain/0/backend/vbd/1558/2049/feature-barrier.
Failed to read /local/domain/0/backend/vbd/1558/2049/feature-flush-cache.
2097152 sectors of 0 bytes
**************************
vbd 2064 is hd1
******************* BLKFRONT for device/vbd/2064 **********
backend at /local/domain/0/backend/vbd/1558/2064
Failed to read /local/domain/0/backend/vbd/1558/2064/feature-barrier.
Failed to read /local/domain/0/backend/vbd/1558/2064/feature-flush-cache.
18874368 sectors of 0 bytes
**************************
[H
[J Booting 'FreeBSD kernel'
root (hd0)
Filesystem type is ext2fs, using whole disk
kernel /boot/kernel/kernel vfs.root.mountfrom=ufs:da1s1,machdep.idle_mwait=0,bo
ot_verbose=1
xc_dom_probe_bzimage_kernel: kernel is not a bzImage
close blk: backend at /local/domain/0/backend/vbd/1558/2049
close blk: backend at /local/domain/0/backend/vbd/1558/2064
WARNING: loader(8) metadata is missing!
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
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
Features=0xbfe3fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x40ce3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,XSAVE>
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:16:54
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 1285664664 sec; 6371003 nsec
rtc0: [XEN] xen_rtc_gettime: uptime 6603576 sec; 154147873 nsec
rtc0: [XEN] xen_rtc_gettime: TOD 1292268240 sec; 160518876 nsec
start_init: trying /sbin/init
Setting hostuuid: 8b2baeeb-06ee-11e0-bd8d-12313b091654.
Setting hostid: 0xcb31c5bf.
Entropy harvesting: interrupts ethernet point_to_point kickstart.
Starting file system checks:
/dev/da1s1: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/da1s1: clean, 2422721 free (1537 frags, 302648 blocks, 0.1% fragmentation)
Mounting local file systems:.
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=3<RXCSUM,TXCSUM>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
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 12:31:3b:09:16:54
media: Ethernet manual
status: active
Starting devd.
DHCPDISCOVER on xn0 to 255.255.255.255 port 67 interval 6
DHCPOFFER from 169.254.1.0
DHCPREQUEST on xn0 to 255.255.255.255 port 67
DHCPACK from 169.254.1.0
bound to 10.203.21.158 -- renewal in 43200 seconds.
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
add net fe80::: gateway ::1
add net ff02::: gateway ::1
Generating host.conf.
Creating and/or trimming log files.
Starting syslogd.
No core dumps found.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
Clearing /tmp (X related).
Requesting http://169.254.169.254/1.0/meta-data/public-keys/0/openssh-key
407 bytes retrieved in 00:00 (2.17 MB/s)
Updating motd:.
Generating public/private rsa1 key pair.
Your identification has been saved in /etc/ssh/ssh_host_key.
Your public key has been saved in /etc/ssh/ssh_host_key.pub.
The key fingerprint is:
6c:3b:3b:9a:36:e9:93:9f:08:0a:31:27:c5:c1:e3:49 root at ip-10-203-21-158
The key's randomart image is:
+--[RSA1 1024]----+
| .. |
| .E. |
| ooo |
| .o . |
|+ . S |
| = . . |
|. . oo |
| . . .*o.+ |
| . o==+. |
+-----------------+
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
16:ae:9a:4a:e4:20:92:34:9f:4b:8a:e0:40:0d:51:a9 root at ip-10-203-21-158
The key's randomart image is:
+--[ DSA 1024]----+
| oo.. |
| o. |
| +.. . |
|oEo . . . |
|B .+ S |
|B+o . o |
|.oo. . |
| . o |
| ..o |
+-----------------+
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
db:c9:fb:31:35:57:85:49:de:5f:72:65:e3:8c:86:59 root at ip-10-203-21-158
The key's randomart image is:
+--[ RSA 2048]----+
| E.++|
| +.*o+|
| o ooo=|
| . o+|
| S o o|
| + . . o |
| . + o |
| . o |
| ... |
+-----------------+
Starting sshd.
Starting cron.
ec2: #############################################################
ec2: -----BEGIN SSH HOST KEY FINGERPRINTS-----
ec2: 2048 db:c9:fb:31:35:57:85:49:de:5f:72:65:e3:8c:86:59 /etc/ssh/ssh_host_rsa_key.pub (RSA)
ec2: 1024 16:ae:9a:4a:e4:20:92:34:9f:4b:8a:e0:40:0d:51:a9 /etc/ssh/ssh_host_dsa_key.pub (DSA)
ec2: -----END SSH HOST KEY FINGERPRINTS-----
ec2: #############################################################
Starting background file system checks in 60 seconds.
Mon Dec 13 19:24:21 UTC 2010
Stopping cron.
Stopping sshd.
Stopping devd.
Writing entropy file:.
Terminated
.
Dec 13 19:25:31 ip-10-203-21-158 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...0 0 done
All buffers synced.
lock order reversal:
1st 0xc2c0ce28 ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1210
2nd 0xc2c0c9e8 devfs (devfs) @ /usr/src/sys/kern/vfs_subr.c:2229
KDB: stack backtrace:
X_db_sym_numargs(c037be31,4,0,c28dd790,f46cb23e,...) at X_db_sym_numargs+0x146
kdb_backtrace(c0114f4b,c037ef3f,c28e2320,c28e2250,c27119f0,...) at kdb_backtrace+0x2a
witness_display_spinlock(c037ef3f,c2c0c9e8,c036d1c8,c28e2250,c0386645,...) at witness_display_spinlock+0x75
witness_checkorder(c2c0c9e8,9,c0386645,8b5,0,...) at witness_checkorder+0x839
__lockmgr_args(c2c0c9e8,80100,c2c0ca08,0,0,...) at __lockmgr_args+0x804
vop_stdlock(c2711b10,c03f0840,85,80100,c2c0c990,...) at vop_stdlock+0x62
VOP_LOCK1_APV(c03b6620,c2711b10,c2c0c990,c03eb520,c2c0c990,...) at VOP_LOCK1_APV+0xb5
_vn_lock(c2c0c990,80100,c0386645,8b5,c03c2b18,...) at _vn_lock+0x5e
getnewvnode(c2711ba8,c2c17f38,c2c0c990,c0378bbf,ae,...) at getnewvnode+0xa92
vrele(c2c0c990,c0378bbf,ae,2a9,c2aaf440,...) at vrele+0x10
ext2_unmount(c2b28a20,80000,c2711bd8,4ff,c0110009,...) at ext2_unmount+0x118
dounmount(c2b28a20,80000,c2920b00,cef2662c,0,...) at dounmount+0x466
vfs_unmountall(c0378c71,0,c0378bbf,12b,c2920b00,...) at vfs_unmountall+0x4e
kern_reboot(0,0,c0378bbf,ae,c2711c8c,...) at kern_reboot+0x450
reboot(c2920b00,c2711cfc,c2711d38,c037d866,0,...) at reboot+0x4e
syscallenter(c2920b00,c2711cf4,c2711cf4,fffffffe,c0126aeeXen Minimal OS!
start_info: 0xa01000(VA)
nr_pages: 0x26700
shared_inf: 0xdeaee000(MA)
pt_base: 0xa04000(VA)
nr_pt_frames: 0x9
mfn_list: 0x967000(VA)
mod_start: 0x0(VA)
mod_len: 0
flags: 0x0
cmd_line: root=/dev/sda1 ro 4
stack: 0x946780-0x966780
MM: Init
_text: 0x0(VA)
_etext: 0x621f5(VA)
_erodata: 0x76000(VA)
_edata: 0x7b6d4(VA)
stack start: 0x946780(VA)
_end: 0x966d34(VA)
start_pfn: a10
max_pfn: 26700
Mapping memory range 0xc00000 - 0x26700000
setting 0x0-0x76000 readonly
skipped 0x1000
MM: Initialise page allocator for b3e000(b3e000)-0(26700000)
MM: done
Demand map pfns at 26701000-36701000.
Heap resides at 36702000-76702000.
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0x26701000.
Initialising scheduler
Thread "Idle": pointer: 0x36702008, stack: 0xbf0000
Initialising xenbus
Thread "xenstore": pointer: 0x36702478, stack: 0x26600000
Dummy main: start_info=0x966880
Thread "main": pointer: 0x367028e8, stack: 0x26610000
"main" "root=/dev/sda1" "ro" "4"
vbd 2049 is hd0
******************* BLKFRONT for device/vbd/2049 **********
backend at /local/domain/0/backend/vbd/1559/2049
Failed to read /local/domain/0/backend/vbd/1559/2049/feature-barrier.
Failed to read /local/domain/0/backend/vbd/1559/2049/feature-flush-cache.
2097152 sectors of 0 bytes
**************************
vbd 2064 is hd1
******************* BLKFRONT for device/vbd/2064 **********
backend at /local/domain/0/backend/vbd/1559/2064
Failed to read /local/domain/0/backend/vbd/1559/2064/feature-barrier.
Failed to read /local/domain/0/backend/vbd/1559/2064/feature-flush-cache.
18874368 sectors of 0 bytes
**************************
[H
[J Booting 'FreeBSD kernel'
root (hd0)
Filesystem type is ext2fs, using whole disk
kernel /boot/kernel/kernel vfs.root.mountfrom=ufs:da1s1,machdep.idle_mwait=0,bo
ot_verbose=1
xc_dom_probe_bzimage_kernel: kernel is not a bzImage
close blk: backend at /local/domain/0/backend/vbd/1559/2049
close blk: backend at /local/domain/0/backend/vbd/1559/2064
WARNING: loader(8) metadata is missing!
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
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
Features=0xbfe3fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x40ce3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,XSAVE>
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:16:54
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 1285664664 sec; 6371003 nsec
rtc0: [XEN] xen_rtc_gettime: uptime 6603686 sec; 298543135 nsec
rtc0: [XEN] xen_rtc_gettime: TOD 1292268350 sec; 304914138 nsec
start_init: trying /sbin/init
Setting hostuuid: 8b2baeeb-06ee-11e0-bd8d-12313b091654.
Setting hostid: 0xcb31c5bf.
Entropy harvesting: interrupts ethernet point_to_point kickstart.
Starting file system checks:
/dev/da1s1: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/da1s1: clean, 2422683 free (1539 frags, 302643 blocks, 0.1% fragmentation)
Mounting local file systems:.
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=3<RXCSUM,TXCSUM>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
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 12:31:3b:09:16:54
media: Ethernet manual
status: active
Starting devd.
DHCPREQUEST on xn0 to 255.255.255.255 port 67
DHCPACK from 169.254.1.0
bound to 10.203.21.158 -- renewal in 43200 seconds.
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
add net fe80::: gateway ::1
add net ff02::: gateway ::1
Creating and/or trimming log files.
Starting syslogd.
No core dumps found.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
Clearing /tmp (X related).
Updating motd:.
Starting sshd.
Starting cron.
ec2: #############################################################
ec2: -----BEGIN SSH HOST KEY FINGERPRINTS-----
ec2: 2048 db:c9:fb:31:35:57:85:49:de:5f:72:65:e3:8c:86:59 /etc/ssh/ssh_host_rsa_key.pub (RSA)
ec2: 1024 16:ae:9a:4a:e4:20:92:34:9f:4b:8a:e0:40:0d:51:a9 /etc/ssh/ssh_host_dsa_key.pub (DSA)
ec2: -----END SSH HOST KEY FINGERPRINTS-----
ec2: #############################################################
Starting background file system checks in 60 seconds.
Mon Dec 13 19:25:56 UTC 2010
-------------- next part --------------
--
Siraaj Khandkar
http://twitter.com/IbnFirnas
More information about the talk
mailing list