All of lore.kernel.org
 help / color / mirror / Atom feed
* Announcing xen/master: pvops git trees rearranged
@ 2009-09-19  1:19 Jeremy Fitzhardinge
  2009-09-19 10:36 ` Marc - A. Dahlhaus
                   ` (6 more replies)
  0 siblings, 7 replies; 122+ messages in thread
From: Jeremy Fitzhardinge @ 2009-09-19  1:19 UTC (permalink / raw)
  To: Xen-devel

Well, my current pvops/dom0 tree is finally (reasonably) stable.  There
was a fairly nasty bug which ended up corrupting dom0 memory when doing
IO on behalf of domains, but that is finally fixed.

In honour of this, I've renamed the rebase/* branches to xen/* (moving
the old remaining xen/* branches to xen-old/*); xen/master is now the
preferred branch for fetching current dom0 work.

The kernel tree is fairly featureful:

    * basic dom0 support
    * blkback
    * netback
    * ACPI power management
    * S3 suspend/resume (at least for some people)
    * microcode update
    * MSI support

In other words, it has as much as it ever has.

There are a few notable missing features:

    * blktap2
    * netchannel2
    * pci front/back
    * upstream Linux support
    * your pet feature


Full coordinates are:

    git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git xen/master

See http://wiki.xensource.com/xenwiki/XenParavirtOps for general
directions on configuration, compilation and use.

This is definitely a work-in-progress kernel.  I'd appreciate all bug
*and* success reports so I can get some idea of how many people are
using this thing, and how often there are problems.  Patches gratefully
accepted.

Thanks,
    J

^ permalink raw reply	[flat|nested] 122+ messages in thread
* Re: Announcing xen/master: pvops git trees rearranged
@ 2009-10-16  7:48 Boris Derzhavets
  0 siblings, 0 replies; 122+ messages in thread
From: Boris Derzhavets @ 2009-10-16  7:48 UTC (permalink / raw)
  To: Pasi Kärkkäinen, Konrad Rzeszutek Wilk
  Cc: Jeremy Fitzhardinge, Xen-devel


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


Dmesg report for 2.6.31.4 been built on F12 and loaded under Xen 3.4.1 (installed via rawhide 3.4.1-5 ) Dom0 on top of F12 ( yum updated)

[drm] Initialized drm 1.1.0 20060810
[drm] radeon default to kernel modesetting.
[drm] radeon kernel modesetting enabled.
xen: registering gsi 16 triggering 0 polarity 1
xen_allocate_pirq: returning irq 16 for gsi 16
xen: --> irq=16
xen_set_ioapic_routing: irq 16 gsi 16 vector 152 ioapic 0 pin 16 triggering 1 polarity 1
radeon 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
radeon 0000:01:00.0: setting latency timer to 64
[drm] radeon: Initializing kernel modesetting.
[drm:radeon_driver_load_kms] *ERROR* Failed to initialize radeon, disabling IOCTL
radeon 0000:01:00.0: PCI INT A disabled
radeon: probe of 0000:01:00.0 failed with error -22

.   .   .   .   .   .


======================================================
[ INFO: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected ]
2.6.31.4 #2
------------------------------------------------------
khubd/28 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire:
 (&retval->lock){......}, at: [<ffffffff81126fa4>] dma_pool_alloc+0x46/0x312

and this task is already holding:
 (&ehci->lock){-.....}, at: [<ffffffff814359e4>] ehci_urb_enqueue+0xb4/0xd7c
which would create a new lock dependency:
 (&ehci->lock){-.....} -> (&retval->lock){......}

but this new dependency connects a HARDIRQ-irq-safe lock:
 (&ehci->lock){-.....}
... which became HARDIRQ-irq-safe at:
  [<ffffffff810996d8>] __lock_acquire+0x256/0xc11
  [<ffffffff8109a181>] lock_acquire+0xee/0x12e
  [<ffffffff81579e9f>] _spin_lock+0x45/0x8e
  [<ffffffff814345ec>] ehci_irq+0x41/0x441
  [<ffffffff814195d5>] usb_hcd_irq+0x59/0xcc
  [<ffffffff810c8200>] handle_IRQ_event+0x62/0x148
  [<ffffffff810ca797>] handle_level_irq+0x90/0xf9
  [<ffffffff81018038>] handle_irq+0x9a/0xba
  [<ffffffff81302342>] xen_evtchn_do_upcall+0x10c/0x1bd
  [<ffffffff8101623e>] xen_do_hypervisor_callback+0x1e/0x30
  [<ffffffffffffffff>] 0xffffffffffffffff

to a HARDIRQ-irq-unsafe lock:
 (purge_lock){+.+...}
... which became HARDIRQ-irq-unsafe at:
...  [<ffffffff8109974d>] __lock_acquire+0x2cb/0xc11
  [<ffffffff8109a181>] lock_acquire+0xee/0x12e
  [<ffffffff81579e9f>] _spin_lock+0x45/0x8e
  [<ffffffff81120137>] __purge_vmap_area_lazy+0x63/0x198
  [<ffffffff81121a15>] vm_unmap_aliases+0x18f/0x1b2
  [<ffffffff8100e400>] xen_alloc_ptpage+0x47/0x75
  [<ffffffff8100e46b>] xen_alloc_pte+0x13/0x15
  [<ffffffff81115495>] __pte_alloc_kernel+0x6f/0xdd
  [<ffffffff81120f42>] vmap_page_range_noflush+0x1c5/0x315
  [<ffffffff811210d3>] map_vm_area+0x41/0x6b
  [<ffffffff8112122c>] __vmalloc_area_node+0x12f/0x167
  [<ffffffff811212f4>] __vmalloc_node+0x90/0xb5
  [<ffffffff81121169>] __vmalloc_area_node+0x6c/0x167
  [<ffffffff811212f4>] __vmalloc_node+0x90/0xb5
  [<ffffffff8112156b>] __vmalloc+0x28/0x3e
  [<ffffffff81adb40a>] alloc_large_system_hash+0x12f/0x1fb
  [<ffffffff81addc9a>] vfs_caches_init+0xb8/0x140
  [<ffffffff81ab5a69>] start_kernel+0x3ef/0x44c
  [<ffffffff81ab4d70>] x86_64_start_reservations+0xbb/0xd6
  [<ffffffff81ab93b7>] xen_start_kernel+0x5d5/0x5dc
  [<ffffffffffffffff>] 0xffffffffffffffff

other info that might help us debug this:

2 locks held by khubd/28:
 #0:  (usb_address0_mutex){+.+...}, at: [<ffffffff81414344>] hub_port_init+0x8c/0x81e
 #1:  (&ehci->lock){-.....}, at: [<ffffffff814359e4>] ehci_urb_enqueue+0xb4/0xd7c

the HARDIRQ-irq-safe lock's dependencies:
-> (&ehci->lock){-.....} ops: 0 {
   IN-HARDIRQ-W at:
                        [<ffffffff810996d8>] __lock_acquire+0x256/0xc11
                        [<ffffffff8109a181>] lock_acquire+0xee/0x12e
                        [<ffffffff81579e9f>] _spin_lock+0x45/0x8e
                        [<ffffffff814345ec>] ehci_irq+0x41/0x441
                        [<ffffffff814195d5>] usb_hcd_irq+0x59/0xcc
                        [<ffffffff810c8200>] handle_IRQ_event+0x62/0x148
                        [<ffffffff810ca797>] handle_level_irq+0x90/0xf9
                        [<ffffffff81018038>] handle_irq+0x9a/0xba
                        [<ffffffff81302342>] xen_evtchn_do_upcall+0x10c/0x1bd
                        [<ffffffff8101623e>] xen_do_hypervisor_callback+0x1e/0x30
                        [<ffffffffffffffff>] 0xffffffffffffffff
.  .  .  .

The most recent build 2.6.31.1 on F12 produced clean dmesg output.
 Builds 2.6.31.4 ( same commit on top) on F11 and Ubuntu 9.04 Server seem
clean.

Boris.

--- On Thu, 10/15/09, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:

From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: [Xen-devel] Announcing xen/master: pvops git trees rearranged
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: "Jeremy Fitzhardinge" <jeremy@goop.org>, "Xen-devel" <xen-devel@lists.xensource.com>
Date: Thursday, October 15, 2009, 4:04 PM

On Thu, Oct 15, 2009 at 12:14:15AM +0300, Pasi Kärkkäinen wrote:
> On Mon, Oct 12, 2009 at 04:02:48PM -0400, Konrad Rzeszutek Wilk wrote:
> > On Sun, Oct 11, 2009 at 06:39:00PM +0300, Pasi Kärkkäinen wrote:
> > > On Fri, Sep 18, 2009 at 06:19:41PM -0700, Jeremy Fitzhardinge wrote:
> > > > 
> > > > This is definitely a work-in-progress kernel.  I'd appreciate all bug
> > > > *and* success reports so I can get some idea of how many people are
> > > > using this thing, and how often there are problems.  Patches gratefully
> > > > accepted.
> > > > 
> > > 
> > > I just tried the latest pv_ops dom0 git tree (11 Oct 2009) on x86_64 AHCI box.
> > > 
> > > The good news is that the dom0 kernel boots up, but there are some error
> > > messages.
> > > 
> > > Using the default options (modeset) the VGA console doesn't work, it
> > > goes blank (display says "power save") in the beginning of dom0 kernel boot:
> > > http://pasik.reaktio.net/xen/pv_ops-dom0-debug/dmesg-2.6.31.1-2009-10-11.txt
> > 
> > This line:
> > [drm:radeon_ring_test] *ERROR* radeon: ring test failed (sracth(0x15E4)=0xCAFEDEAD)
> > 
> > Is a pretty good pointer at what the fault is. If you look at git commit
> > 93e7c3850b8431e19c9cba91413066bfd2360671 you will see the band-aid Jeremy added.
> > It looks though as if not all of the radeon drivers allocate their ring buffer memory via
> > drm_sg_alloc calls thought. Not sure how the r100 (and the corresponding X driver) does it.
> > The long/erro traceback about the HARDIRQ is a red-herring in this case.
> > 
> > Here is a couple of things that I would like you to try, if you can:
> > 
> 
> Sure.
> 
> > 1). Pass in 'drm.debug=255' and send the output. It should have tons of extra
> > output. 
> > 
> 
> http://pasik.reaktio.net/xen/pv_ops-dom0-debug/radeondebug/dmesg-2.6.31.1-2009-10-14-drmdebug.txt
> 
> Unknown boot option `drm.debug=255': ignoring

I forgot to mention that you probably need to have CONFIG_DRM set to 'y' instead of 'm'
for this to work. Or you could hack up the initrd (modprobe.conf) and make drm load
with the 'debug=255' parameter.

.. snip ..

> seems to work there! (Fedora kernel contains newer graphics/drm drivers).
> 
> But the same USB related error is there with the fedora kernel:
> [ INFO: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected ]
> 
> http://pasik.reaktio.net/xen/pv_ops-dom0-debug/radeondebug/dmesg-2.6.31.3-1.2.71.xendom0.fc12.x86_64-2009-10-14.txt

Nah. Still has the same problem:

[drm:r100_ring_test] *ERROR* radeon: ring test failed (sracth(0x15E4)=0xCAFEDEAD)
[drm:r100_cp_init] *ERROR* radeon: cp isn't working (-

> 
> 
> > 2). Send in the Xorg.log (or whatever output the program in the userland that
> >  starts the modesetting produces).  I don't have much knowledge in how modesetting works,
> >  so this might require some digging.
> > 
> 
> Hmm.. yeah, I'm not sure either which is the first program setting up
> graphics mode using kernel modesetting (KMS) in Fedora.. 
> 
> I extracted the initrd image and checked the 'init' script:
> 
> echo "Loading drm module"
> modprobe -q drm
> echo "Loading ttm module"
> modprobe -q ttm
> echo "Loading radeon module"
> modprobe -q radeon
> /lib/udev/console_init tty0

add here:
export LIBGL_DEBUG=verbose

> plymouth --show-splash
> 
> So I guess plymouth is asking for a graphics mode..

Add this to your kernel command line: plymouth:debug

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



      

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

[-- Attachment #2: dmesg.2afad356210ac35cbbc81904e0ac8b514b7f6212.gz --]
[-- Type: application/x-gzip, Size: 16663 bytes --]

[-- Attachment #3: 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] 122+ messages in thread

end of thread, other threads:[~2010-01-15  7:18 UTC | newest]

Thread overview: 122+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-19  1:19 Announcing xen/master: pvops git trees rearranged Jeremy Fitzhardinge
2009-09-19 10:36 ` Marc - A. Dahlhaus
2009-09-20 19:29   ` Marc - A. Dahlhaus
2009-09-21  6:22     ` Pasi Kärkkäinen
2009-09-21  8:49       ` Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
2009-09-21  9:03         ` Pasi Kärkkäinen
2009-09-21  9:18           ` Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
2009-09-21 14:39             ` Konrad Rzeszutek Wilk
2009-09-21 16:19               ` [Cluster-devel] Re: [Xen-devel] " Marc
2009-09-21 15:20             ` Pasi Kärkkäinen
2009-09-19 14:46 ` pvops: AHCI problems with SB600 Patrick Scharrenberg
2009-09-21  5:57   ` Patrick Scharrenberg
2009-09-21 15:06   ` Konrad Rzeszutek Wilk
2009-09-22  9:00     ` Patrick Scharrenberg
2009-09-22 14:08       ` Konrad Rzeszutek Wilk
2009-09-23  7:37         ` Patrick Scharrenberg
2009-09-23 12:09           ` Konrad Rzeszutek Wilk
2009-09-23 12:06         ` Konrad Rzeszutek Wilk
2009-09-23 19:22           ` Jeremy Fitzhardinge
2009-09-23 19:32             ` Konrad Rzeszutek Wilk
2009-09-23 20:09               ` Jeremy Fitzhardinge
2009-09-23 20:30                 ` Jeremy Fitzhardinge
2009-09-23 21:24                   ` Konrad Rzeszutek Wilk
2009-09-23 21:56                     ` Jeremy Fitzhardinge
2009-09-24 12:44                       ` Konrad Rzeszutek Wilk
2009-09-24 18:23                         ` Jeremy Fitzhardinge
2009-09-24 21:36                           ` Konrad Rzeszutek Wilk
2009-09-24 19:12                     ` Patrick Scharrenberg
2009-09-21 14:43 ` Announcing xen/master: pvops git trees rearranged (AMD tests?) Konrad Rzeszutek Wilk
2009-09-21 19:25 ` Announcing xen/master: pvops git trees rearranged Pasi Kärkkäinen
2009-09-21 19:30   ` Jeremy Fitzhardinge
2009-09-21 19:50     ` Pasi Kärkkäinen
2009-09-21 20:21       ` Jeremy Fitzhardinge
2009-09-21 20:26         ` Pasi Kärkkäinen
2009-09-21 20:29           ` Jeremy Fitzhardinge
2009-09-21 20:36             ` Pasi Kärkkäinen
2009-09-23 13:16 ` Christian Tramnitz
2009-09-23 20:13   ` Jeremy Fitzhardinge
2009-09-24  3:17     ` Qing He
2009-09-24 19:38       ` Jeremy Fitzhardinge
2009-09-24  8:15     ` Zhang, Xiantao
2009-09-25  1:44       ` Zhang, Xiantao
     [not found]         ` <706158FABBBA044BAD4FE898A02E4BC201C9AC7ED0@pdsmsx503.ccr.corp.intel.com>
     [not found]           ` <4AC54350.7040909@goop.org>
     [not found]             ` <706158FABBBA044BAD4FE898A02E4BC201C9AC8A88@pdsmsx503.ccr.corp.intel.com>
     [not found]               ` <4AD75A0B.9020508@goop.org>
     [not found]                 ` <706158FABBBA044BAD4FE898A02E4BC201C9BD87FA@pdsmsx503.ccr.corp.intel.com>
2009-11-12  0:47                   ` APIC rework Jeremy Fitzhardinge
2009-11-12  1:00                     ` Jeremy Fitzhardinge
2009-11-12 23:51                       ` Jeremy Fitzhardinge
2009-11-13  5:27                         ` Zhang, Xiantao
2009-11-13  7:24                         ` Keir Fraser
2009-11-13 23:57                           ` Jeremy Fitzhardinge
2009-11-14  8:04                             ` Keir Fraser
2009-11-16 10:38                               ` Zhang, Xiantao
2009-11-16 18:37                                 ` Jeremy Fitzhardinge
2009-11-17  3:13                                   ` Zhang, Xiantao
2009-11-17  3:45                                     ` Keir Fraser
2009-11-17  5:20                                       ` Jeremy Fitzhardinge
2009-11-17  5:44                                         ` Keir Fraser
2009-11-17 12:46                                         ` Zhang, Xiantao
2009-11-17 13:05                                           ` Keir Fraser
2009-11-17 14:17                                             ` Zhang, Xiantao
2009-11-17 18:51                                               ` Jeremy Fitzhardinge
2009-11-18  3:37                                                 ` Zhang, Xiantao
2009-11-18 14:29                                                   ` Konrad Rzeszutek Wilk
2009-11-20  1:47                                                     ` Zhang, Xiantao
2009-11-17 19:49                                               ` Keir Fraser
2009-11-18  3:12                                                 ` Jiang, Yunhong
2009-11-18  3:25                                                 ` Zhang, Xiantao
2009-11-18  9:37                                                   ` Keir Fraser
2009-11-24 10:04                                                     ` Zhang, Xiantao
2009-11-24 19:25                                                       ` Jeremy Fitzhardinge
2009-11-25  1:42                                                         ` Zhang, Xiantao
2009-11-24 19:44                                                       ` Konrad Rzeszutek Wilk
2009-11-24 23:35                                                         ` Jeremy Fitzhardinge
2009-11-25 14:10                                                           ` Konrad Rzeszutek Wilk
2009-11-25 19:14                                                             ` Jeremy Fitzhardinge
2009-11-30 14:26                                                               ` Konrad Rzeszutek Wilk
2009-11-25  2:43                                                         ` Zhang, Xiantao
2009-11-25 13:41                                                           ` Konrad Rzeszutek Wilk
2009-11-25 15:21                                                             ` Zhang, Xiantao
2009-11-25 18:00                                                               ` Konrad Rzeszutek Wilk
2009-11-26 11:53                                                                 ` Zhang, Xiantao
2009-11-30 14:34                                                                   ` Konrad Rzeszutek Wilk
2009-12-03  2:13                                                                     ` Zhang, Xiantao
2009-12-03 14:38                                                                       ` Konrad Rzeszutek Wilk
2009-11-25 18:59                                                               ` Jeremy Fitzhardinge
2009-11-26  1:11                                                                 ` Zhang, Xiantao
2009-11-18 14:15                                           ` Konrad Rzeszutek Wilk
2009-11-20  1:45                                             ` Zhang, Xiantao
2009-11-17  5:12                                     ` Jeremy Fitzhardinge
2009-09-24 13:20     ` Announcing xen/master: pvops git trees rearranged Christian Tramnitz
2009-09-24 17:47       ` Andy Burns
2009-09-24 18:29         ` Thiago Camargo Martins Cordeiro
2009-09-24 19:32           ` Thiago Camargo Martins Cordeiro
2009-09-24 20:00         ` Jeremy Fitzhardinge
2009-09-24 19:56       ` Jeremy Fitzhardinge
2009-10-11 15:39 ` Pasi Kärkkäinen
2009-10-12 20:02   ` Konrad Rzeszutek Wilk
2009-10-14 21:14     ` Pasi Kärkkäinen
2009-10-15 20:04       ` Konrad Rzeszutek Wilk
2009-10-16  9:01         ` Pasi Kärkkäinen
2009-10-20 16:58           ` [drm:r100_ring_test] *ERROR* radeon: ring test failed Konrad Rzeszutek Wilk
2009-10-21 11:54             ` Pasi Kärkkäinen
2009-10-21 18:31               ` Konrad Rzeszutek Wilk
2009-10-21 18:52                 ` Pasi Kärkkäinen
2009-10-21 19:50                   ` Jeremy Fitzhardinge
2009-10-21 20:22                     ` Pasi Kärkkäinen
2009-10-27 15:46                 ` Pasi Kärkkäinen
2009-10-27 17:00                   ` Konrad Rzeszutek Wilk
2009-10-27 17:30                     ` Pasi Kärkkäinen
2009-10-27 19:45                     ` Pasi Kärkkäinen
2009-10-27 19:41                       ` Konrad Rzeszutek Wilk
2009-10-27 20:18                         ` Pasi Kärkkäinen
2009-10-27 20:13                           ` Konrad Rzeszutek Wilk
2009-10-27 20:36                             ` Pasi Kärkkäinen
2010-01-01 17:21                             ` Pasi Kärkkäinen
2010-01-04 13:37                               ` Konrad Rzeszutek Wilk
2010-01-04 19:42                                 ` Pasi Kärkkäinen
2010-01-14 20:05                                   ` Konrad Rzeszutek Wilk
2010-01-15  7:18                                     ` Pasi Kärkkäinen
2009-10-27 20:23                           ` Pasi Kärkkäinen
2009-12-04 16:07 ` Announcing xen/master: pvops git trees rearranged Stefan Kuhne
2009-12-04 18:58   ` Pasi Kärkkäinen
2009-12-04 19:27   ` Jeremy Fitzhardinge
  -- strict thread matches above, loose matches on Subject: below --
2009-10-16  7:48 Boris Derzhavets

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.