Skip to contentSkip to conversation

FreeBSD -CURRENT boots to single-user domU on xen 3.0

DISCUSSION Kip Macy 2 participants 2 messages Jan 2, 2006

lore
Share & tools
lore

Kip Macy

author
#0 lore raw

I hope to check it into CVS by the end of the week after going to multi-user and doing some basic stress testing.

Script started on Sun 01 Jan 2006 08:49:05 PM PST ]0;root@localhost:/home/kmacy/xen-unstable.hg/tools/examples[ root@localhost examples]# xm create -fg  xmexample21.bsd -c Using config file "xmexample1.bsd".
Started domain ExampleDomain
WARNING: loader(8) metadata is missing!

Copyright (c) 1992-2005 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 7.0-CURRENT #146: Mon Jan 2 04:37:55 UTC 2006

[email protected]
:/usr/home/kmacy/devcvs/sys/i386-xen/compile/XENCONF

WARNING: DIAGNOSTIC option enabled, expect reduced performance.

Xen reported: 1729.003 MHz processor.

Timecounter "ixen" frequency 1729003000 Hz quality 0

CPU: Intel(R) Pentium(R) M processor 1.73GHz (1729.00-MHz 686-class CPU)

Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8

Features=0xfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS>

AMD Features=0x100000<NX>

real memory = 13742080 (13 MB)

avail memory = 10100736 (9 MB)

WARNING: Device driver "evtchn" has wrong version and is disabled. Recompile KLD module.

interrupts enabled

npx0 on motherboard

xc0: <Xen Console> on motherboard

cpu0 on motherboard

Timecounters tick every 10.000 msec

[XEN] blkfront:backend_changed.

[XEN] blkfront.c:connect:/local/domain/0/backend/vbd/15/769.

xn0: Ethernet address: 00:16:3e:2e:61:c8

Trying to mount root from ufs:/dev/xbd769a

Enter full pathname of shell or RETURN for /bin/sh:

#

#

# uname -a

FreeBSD 7.0-CURRENT FreeBSD 7.0-CURRENT #146: Mon Jan 2 04:37:55 UTC
2006 [email protected]:/usr/home/kmacy/devcvs/sys/i386-xen/compile/XENCONF
i386

# ls

.cshrc cdrom etc rescue usr

.profile compat lib root var

.snap dev libexec sbin

COPYRIGHT dist mnt sys

bin entropy proc tmp

# uptime

12:00AM up 1 sec, 0 users, load averages: 0.57, 0.13, 0.05

# ^[[A

: not found

# uptime

12:00AM up 1 sec, 0 users, load averages: 0.61, 0.14, 0.05

# upn time

12:00AM up 1 sec, 0 users, load averages: 0.72, 0.20, 0.07

# date

Thu Jan 1 00:00:00 UTC 1970

# ps ax

PID TT STAT TIME COMMAND

    0  ??  WLs    0:00.00 [swapper]

    1  ??  ILs    0:00.00 /sbin/init --

    2  ??  DL     0:00.00 [g_event]

    3  ??  DL     0:00.00 [g_up]

    4  ??  DL     0:00.00 [g_down]

    5  ??  DL     0:00.00 [kqueue taskq]

    6  ??  DL     0:00.00 [thread taskq]

    7  ??  DL     0:00.00 [pagedaemon]

    8  ??  DL     0:00.00 [vmdaemon]

    9  ??  DL     0:00.00 [pagezero]

10 ?? RL 0:00.00 [idle]

11 ?? RL 0:00.00 [swi4: clock]

12 ?? WL 0:00.00 [swi3: vm]

13 ?? WL 0:00.00 [swi1: net]

14 ?? DL 0:00.00 [yarrow]

15 ?? WL 0:00.00 [swi6: task queue]

16 ?? WL 0:00.00 [swi6: Giant taskq]

17 ?? WL 0:00.00 [swi5: Fast taskq]

18 ?? WL 0:00.00 [swi2: cambio]

19 ?? RL 0:00.00 [irq0: xencons]

20 ?? RL 0:00.00 [irq2: xenbus]

21 ?? SL 0:00.00 [xenwatch]

22 ?? SL 0:00.00 [xenbus]

23 ?? RL 0:00.00 [irq3: xbd]

24 ?? WL 0:00.00 [irq4: xn]

25 ?? DL 0:00.00 [bufdaemon]

26 ?? DL 0:00.00 [vnlru]

27 ?? DL 0:00.00 [syncer]

28 ?? IL 0:00.00 [nfsiod 0]

29 ?? IL 0:00.00 [nfsiod 1]

30 ?? IL 0:00.00 [nfsiod 2]

31 ?? IL 0:00.00 [nfsiod 3]

32 ?? DL 0:00.00 [schedcpu]

34 xc0 Ss 0:00.00 -sh (sh)

41 xc0 R+ 0:00.00 ps ax

# ]0;root@localhost:/home/kmacy/xen-unstable.hg/tools/examples[ root@localhost examples]# exit

Script done on Sun 01 Jan 2006 08:53:35 PM PST

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Congratulations, Kip - that's fantastic news!

Btw, Happy New Year everybody!

Cheers,
Mark

Quoted 188 lines · Kip Macy

I hope to check it into CVS by the end of the week after going to multi-user and doing some basic stress testing.

Script started on Sun 01 Jan 2006 08:49:05 PM PST ]0;root@localhost:/home/kmacy/xen-unstable.hg/tools/examples[ root@localhost examples]# xm create -fg  xmexample21.bsd -c Using config file "xmexample1.bsd".
Started domain ExampleDomain
WARNING: loader(8) metadata is missing!

Copyright (c) 1992-2005 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 7.0-CURRENT #146: Mon Jan 2 04:37:55 UTC 2006

[email protected]

:/usr/home/kmacy/devcvs/sys/i386-xen/compile/XENCONF

WARNING: DIAGNOSTIC option enabled, expect reduced performance.

Xen reported: 1729.003 MHz processor.

Timecounter "ixen" frequency 1729003000 Hz quality 0

CPU: Intel(R) Pentium(R) M processor 1.73GHz (1729.00-MHz 686-class CPU)

Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8

Features=0xfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA ,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS>

AMD Features=0x100000<NX>

real memory = 13742080 (13 MB)

avail memory = 10100736 (9 MB)

WARNING: Device driver "evtchn" has wrong version and is disabled. Recompile KLD module.

interrupts enabled

npx0 on motherboard

xc0: <Xen Console> on motherboard

cpu0 on motherboard

Timecounters tick every 10.000 msec

[XEN] blkfront:backend_changed.

[XEN] blkfront.c:connect:/local/domain/0/backend/vbd/15/769.

xn0: Ethernet address: 00:16:3e:2e:61:c8

Trying to mount root from ufs:/dev/xbd769a

Enter full pathname of shell or RETURN for /bin/sh:

#

#

# uname -a

FreeBSD 7.0-CURRENT FreeBSD 7.0-CURRENT #146: Mon Jan 2 04:37:55 UTC 2006 [email protected]:/usr/home/kmacy/devcvs/sys/i386-xen/compil e/XENCONF i386

# ls

.cshrc cdrom etc rescue usr

.profile compat lib root var

.snap dev libexec sbin

COPYRIGHT dist mnt sys

bin entropy proc tmp

# uptime

12:00AM up 1 sec, 0 users, load averages: 0.57, 0.13, 0.05

# ^[[A

: not found

# uptime

12:00AM up 1 sec, 0 users, load averages: 0.61, 0.14, 0.05

# upn time

12:00AM up 1 sec, 0 users, load averages: 0.72, 0.20, 0.07

# date

Thu Jan 1 00:00:00 UTC 1970

# ps ax

PID TT STAT TIME COMMAND

    0  ??  WLs    0:00.00 [swapper]

    1  ??  ILs    0:00.00 /sbin/init --

    2  ??  DL     0:00.00 [g_event]

    3  ??  DL     0:00.00 [g_up]

    4  ??  DL     0:00.00 [g_down]

    5  ??  DL     0:00.00 [kqueue taskq]

    6  ??  DL     0:00.00 [thread taskq]

    7  ??  DL     0:00.00 [pagedaemon]

    8  ??  DL     0:00.00 [vmdaemon]

    9  ??  DL     0:00.00 [pagezero]
   10  ??  RL     0:00.00 [idle]

   11  ??  RL     0:00.00 [swi4: clock]

   12  ??  WL     0:00.00 [swi3: vm]

   13  ??  WL     0:00.00 [swi1: net]

   14  ??  DL     0:00.00 [yarrow]

   15  ??  WL     0:00.00 [swi6: task queue]

   16  ??  WL     0:00.00 [swi6: Giant taskq]

   17  ??  WL     0:00.00 [swi5: Fast taskq]

   18  ??  WL     0:00.00 [swi2: cambio]

   19  ??  RL     0:00.00 [irq0: xencons]

   20  ??  RL     0:00.00 [irq2: xenbus]

   21  ??  SL     0:00.00 [xenwatch]

   22  ??  SL     0:00.00 [xenbus]

   23  ??  RL     0:00.00 [irq3: xbd]

   24  ??  WL     0:00.00 [irq4: xn]

   25  ??  DL     0:00.00 [bufdaemon]

   26  ??  DL     0:00.00 [vnlru]

   27  ??  DL     0:00.00 [syncer]

   28  ??  IL     0:00.00 [nfsiod 0]

   29  ??  IL     0:00.00 [nfsiod 1]

   30  ??  IL     0:00.00 [nfsiod 2]

   31  ??  IL     0:00.00 [nfsiod 3]

   32  ??  DL     0:00.00 [schedcpu]

   34 xc0  Ss     0:00.00 -sh (sh)

   41 xc0  R+     0:00.00 ps ax

# ]0;root@localhost:/home/kmacy/xen-unstable.hg/tools/examples[ root@localhost examples]# exit

Script done on Sun 01 Jan 2006 08:53:35 PM PST