xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* regression with c/s 21223
@ 2010-05-07  3:36 Jim Fehlig
  2010-05-07  8:30 ` Keir Fraser
  0 siblings, 1 reply; 11+ messages in thread
From: Jim Fehlig @ 2010-05-07  3:36 UTC (permalink / raw)
  To: Xen-devel; +Cc: Ryan O'Connor

Hi Keir,

Unfortunately, my fix for losing device config [1] has caused duplicate
devices to appear when successfully starting a managed domain that uses
tapdisk :(. 

# xm li -l domu1 | grep tap
        (tap2
            (uname tap:aio:/mnt1/images/domu1/disk0)
# xm start domu1
# xm li -l domu1 | grep tap
        (tap2
            (uname tap:aio:/mnt1/images/domu1/disk0)
        (tap
            (uname tap:aio:/mnt1/images/domu1disk0)

This particular host does not have blktap2 driver so blktap1 is used
instead.  (NB: I do not see the problem when using blktap2, but we are
not yet supporting it.)

c/s 21223 attempted to make to_sxp() consult the stored config if no
running config was found for a given device class.  tap2 vs tap provides
an interesting twist.  If blktap2 dev controller is consulted (cls ==
tap2), no running config is returned since the device is really being
handled by blktap1.  The existing config is then consulted, in which
case a blktap2 (tap2) device is found.  When blktap1 controller is
consulted (cls == tap), it returns running config found in xenstore
resulting in duplicate devices.

Frankly, I'm not sure how best to handle this case.  The current
philosophy seems to be treat all 'tap:foo' devices as blktap2 (see c/s
19874 - author cc'd), but fall back to blktap1 if blktap2 is not found
when domU is started.  I'm certainly having problems differentiating
between the two in to_sxp().

Any suggestions on how to prevent the bug reported in [1] without this
new regression?

Thanks,
Jim

[1] http://lists.xensource.com/archives/html/xen-devel/2010-04/msg01127.html

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Does Xen 3.4.3 support pvops kernel 2.6.32.12 ?
@ 2010-05-16 18:14 Boris Derzhavets
  2010-05-16 19:48 ` Keir Fraser
  0 siblings, 1 reply; 11+ messages in thread
From: Boris Derzhavets @ 2010-05-16 18:14 UTC (permalink / raw)
  To: Keir Fraser; +Cc: Xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2063 bytes --]

However, my current environment just been built today via xen-3.4-testing.hg :-

root@ServerKoala:~# xm info
host                   : ServerKoala
release                : 2.6.32.12
version                : #16 SMP Sun May 16 20:17:58 MSD 2010
machine                : x86_64
nr_cpus                : 4
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 1
cpu_mhz                : 2833
hw_caps                : bfebfbff:20100800:00000000:00000140:0408e3fd:00000000:00000001:00000000
virt_caps              : hvm
total_memory           : 8190
free_memory            : 2056
node_to_cpu            : node0:0-3
node_to_memory         : node0:2056
xen_major              : 3
xen_minor              : 4
xen_extra              : .3-rc7-pre
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : Thu May 13 10:40:19 2010 +0100 19967:d11bdc25b36d
cc_compiler            : gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9) 
cc_compile_by          : root
cc_compile_domain      : 
cc_compile_date        : Sun May 16 19:40:04 MSD 2010
xend_config_format     : 4

Boris.


--- On Sun, 5/16/10, Keir Fraser <keir.fraser@eu.citrix.com> wrote:

From: Keir Fraser <keir.fraser@eu.citrix.com>
Subject: Re: Does Xen 3.4.3 support pvops kernel 2.6.32.12 ?
To: "Boris Derzhavets" <bderzhavets@yahoo.com>
Cc: "Xen-devel" <xen-devel@lists.xensource.com>
Date: Sunday, May 16, 2010, 7:09 AM

On 16/05/2010 11:54, "Boris Derzhavets" <bderzhavets@yahoo.com> wrote:

> Sorry, if i missed something in previous discussion (threads) .
> But it sounds for me that answer is "NO" due to 3.4.3
> doesn't have all required CSs for IOAPIC (2.6.32.X) back ported.

Yeah, I think it misses the boat. Maybe 3.4.4 if there is some developer
interest in cherry-picking the patches, and sufficient testing effort.

 -- Keir





      

[-- Attachment #1.2: Type: text/html, Size: 4134 bytes --]

[-- Attachment #2: config.2.6.32.12.gz --]
[-- Type: application/x-gzip, Size: 27434 bytes --]

[-- Attachment #3: dmesg.log.gz --]
[-- Type: application/x-gzip, Size: 14079 bytes --]

[-- Attachment #4: xm_list_-l.txt --]
[-- Type: text/plain, Size: 4982 bytes --]

(domain
    (domid 0)
    (bootloader )
    (on_crash restart)
    (uuid 00000000-0000-0000-0000-000000000000)
    (bootloader_args )
    (vcpus 4)
    (name Domain-0)
    (cpus
        ((0
             1
             2
             3
             4
             5
             6
             7
             8
             9
             10
             11
             12
             13
             14
             15
             16
             17
             18
             19
             20
             21
             22
             23
             24
             25
             26
             27
             28
             29
             30
             31
         )
            (0
                1
                2
                3
                4
                5
                6
                7
                8
                9
                10
                11
                12
                13
                14
                15
                16
                17
                18
                19
                20
                21
                22
                23
                24
                25
                26
                27
                28
                29
                30
                31
            )
            (0
                1
                2
                3
                4
                5
                6
                7
                8
                9
                10
                11
                12
                13
                14
                15
                16
                17
                18
                19
                20
                21
                22
                23
                24
                25
                26
                27
                28
                29
                30
                31
            )
            (0
                1
                2
                3
                4
                5
                6
                7
                8
                9
                10
                11
                12
                13
                14
                15
                16
                17
                18
                19
                20
                21
                22
                23
                24
                25
                26
                27
                28
                29
                30
                31
            )
        )
    )
    (on_reboot restart)
    (on_poweroff destroy)
    (maxmem 16777215)
    (memory 6800)
    (shadow_memory 0)
    (features )
    (on_xend_start ignore)
    (on_xend_stop ignore)
    (cpu_time 306.517396646)
    (online_vcpus 4)
    (image (linux (kernel )))
    (status 2)
    (state r-----)
)
(domain
    (domid 2)
    (bootloader /usr/lib/xen-default/bin/pygrub)
    (on_crash restart)
    (uuid e8450878-324a-dcf0-63ba-6b825a141e44)
    (bootloader_args )
    (vcpus 2)
    (name VF13PV)
    (cpus (() ()))
    (on_reboot restart)
    (on_poweroff destroy)
    (maxmem 2048)
    (memory 2048)
    (shadow_memory 0)
    (features )
    (on_xend_start ignore)
    (on_xend_stop ignore)
    (start_time 1274029740.38)
    (cpu_time 46.469983375)
    (online_vcpus 2)
    (image
        (linux
            (kernel )
            (device_model /usr/lib64/xen/bin/qemu-dm)
            (notes
                (HV_START_LOW 18446603336221196288)
                (FEATURES '!writable_page_tables|pae_pgdir_above_4gb')
                (VIRT_BASE 18446744071562067968)
                (GUEST_VERSION 2.6)
                (PADDR_OFFSET 0)
                (GUEST_OS linux)
                (HYPERCALL_PAGE 18446744071578849280)
                (LOADER generic)
                (SUSPEND_CANCEL 1)
                (PAE_MODE yes)
                (ENTRY 18446744071591059968)
                (XEN_VERSION xen-3.0)
            )
        )
    )
    (status 2)
    (state -b----)
    (store_mfn 2129478)
    (console_mfn 2129477)
    (device
        (vif
            (bridge eth0)
            (mac 00:16:36:0c:63:de)
            (script /etc/xen/scripts/vif-bridge)
            (uuid f09fad10-18db-3bdb-0f93-0a1768bfc9d0)
            (backend 0)
        )
    )
    (device (vkbd (backend 0)))
    (device
        (console
            (protocol vt100)
            (location 2)
            (uuid 2fc5ba38-7afb-fcbf-05da-c2728c58f10b)
        )
    )
    (device
        (vbd
            (protocol x86_64-abi)
            (uuid 1c57d6b5-01cc-8e42-9ee1-60282d9dac44)
            (bootable 1)
            (dev xvda:disk)
            (uname phy:/dev/sdb5)
            (mode w)
            (backend 0)
            (bootable 1)
            (VDI )
        )
    )
    (device
        (vfb
            (vncunused 1)
            (keymap en-us)
            (vnc 1)
            (uuid a99a4c5c-cdb1-09b2-2270-b788f3c2d871)
            (location 127.0.0.1:5900)
        )
    )
)

[-- Attachment #5: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-05-16 19:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-07  3:36 regression with c/s 21223 Jim Fehlig
2010-05-07  8:30 ` Keir Fraser
2010-05-07 13:37   ` Jim Fehlig
2010-05-07 18:12     ` Keir Fraser
2010-05-07 19:31       ` Jim Fehlig
2010-05-07 19:41         ` Keir Fraser
2010-05-16 10:54           ` Does Xen 3.4.3 support pvops kernel 2.6.32.12 ? Boris Derzhavets
2010-05-16 11:09             ` Keir Fraser
2010-05-16 12:11               ` Joanna Rutkowska
  -- strict thread matches above, loose matches on Subject: below --
2010-05-16 18:14 Boris Derzhavets
2010-05-16 19:48 ` Keir Fraser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).