atom feed122 messages in com.xensource.lists.xen-develRe: [Xen-devel] Announcing xen/master...
FromSent OnAttachments
3 earlier messages
Boris DerzhavetsSep 19, 2009 9:07 am.gz
Marc - A. DahlhausSep 20, 2009 12:29 pm.gz, .gz
Patrick ScharrenbergSep 20, 2009 10:57 pm 
Pasi KärkkäinenSep 20, 2009 11:22 pm 
Marc - A. Dahlhaus [ Administration | Westermann GmbH ]Sep 21, 2009 1:48 am 
Pasi KärkkäinenSep 21, 2009 2:02 am 
Marc - A. Dahlhaus [ Administration | Westermann GmbH ]Sep 21, 2009 2:17 am 
Konrad Rzeszutek WilkSep 21, 2009 7:38 am 
Konrad Rzeszutek WilkSep 21, 2009 7:43 am 
Konrad Rzeszutek WilkSep 21, 2009 8:06 am 
Pasi KärkkäinenSep 21, 2009 8:20 am 
Pasi KärkkäinenSep 21, 2009 12:24 pm 
Jeremy FitzhardingeSep 21, 2009 12:29 pm 
Pasi KärkkäinenSep 21, 2009 12:49 pm 
Jeremy FitzhardingeSep 21, 2009 1:20 pm 
Pasi KärkkäinenSep 21, 2009 1:26 pm 
Jeremy FitzhardingeSep 21, 2009 1:29 pm 
Pasi KärkkäinenSep 21, 2009 1:35 pm 
Patrick ScharrenbergSep 22, 2009 2:00 am 
Konrad Rzeszutek WilkSep 22, 2009 7:08 am 
Patrick ScharrenbergSep 23, 2009 12:37 am 
Konrad Rzeszutek WilkSep 23, 2009 5:06 am 
Konrad Rzeszutek WilkSep 23, 2009 5:09 am 
Christian TramnitzSep 23, 2009 6:15 am 
Jeremy FitzhardingeSep 23, 2009 12:22 pm 
Konrad Rzeszutek WilkSep 23, 2009 12:32 pm 
Jeremy FitzhardingeSep 23, 2009 1:09 pm 
Jeremy FitzhardingeSep 23, 2009 1:13 pm 
Jeremy FitzhardingeSep 23, 2009 1:30 pm 
Konrad Rzeszutek WilkSep 23, 2009 2:24 pm 
Jeremy FitzhardingeSep 23, 2009 2:55 pm 
Qing HeSep 23, 2009 8:10 pm 
Zhang, XiantaoSep 24, 2009 1:14 am.patch, .patch
Konrad Rzeszutek WilkSep 24, 2009 5:43 am 
Christian TramnitzSep 24, 2009 6:19 am 
Andy BurnsSep 24, 2009 10:46 am 
Jeremy FitzhardingeSep 24, 2009 11:22 am 
Thiago Camargo Martins CordeiroSep 24, 2009 11:29 am 
Patrick ScharrenbergSep 24, 2009 12:11 pm 
Thiago Camargo Martins CordeiroSep 24, 2009 12:31 pm 
Jeremy FitzhardingeSep 24, 2009 12:37 pm 
Jeremy FitzhardingeSep 24, 2009 12:55 pm 
Jeremy FitzhardingeSep 24, 2009 1:00 pm 
Konrad Rzeszutek WilkSep 24, 2009 2:35 pm 
Zhang, XiantaoSep 24, 2009 6:43 pm 
Pasi KärkkäinenOct 11, 2009 8:38 am 
Konrad Rzeszutek WilkOct 12, 2009 1:02 pm 
Pasi KärkkäinenOct 14, 2009 2:13 pm 
Konrad Rzeszutek WilkOct 15, 2009 1:03 pm 
Boris DerzhavetsOct 16, 2009 12:47 am.gz
Pasi KärkkäinenOct 16, 2009 2:01 am 
Konrad Rzeszutek WilkOct 20, 2009 9:57 am.patch
Pasi KärkkäinenOct 21, 2009 4:53 am 
Konrad Rzeszutek WilkOct 21, 2009 11:31 am 
Pasi KärkkäinenOct 21, 2009 11:51 am 
Jeremy FitzhardingeOct 21, 2009 12:49 pm 
Pasi KärkkäinenOct 21, 2009 1:21 pm 
Pasi KärkkäinenOct 27, 2009 8:46 am 
Konrad Rzeszutek WilkOct 27, 2009 9:59 am.makefile, .c
Pasi KärkkäinenOct 27, 2009 10:29 am 
Konrad Rzeszutek WilkOct 27, 2009 12:40 pm 
Pasi KärkkäinenOct 27, 2009 12:45 pm 
Konrad Rzeszutek WilkOct 27, 2009 1:12 pm 
Pasi KärkkäinenOct 27, 2009 1:17 pm 
Pasi KärkkäinenOct 27, 2009 1:23 pm 
Pasi KärkkäinenOct 27, 2009 1:35 pm 
Jeremy FitzhardingeNov 11, 2009 4:46 pm 
Jeremy FitzhardingeNov 11, 2009 4:59 pm 
Jeremy FitzhardingeNov 12, 2009 3:50 pm 
Zhang, XiantaoNov 12, 2009 9:26 pm 
Keir FraserNov 12, 2009 11:24 pm 
Jeremy FitzhardingeNov 13, 2009 3:56 pm 
Keir FraserNov 14, 2009 12:04 am 
Zhang, XiantaoNov 16, 2009 2:37 am.patch, .patch
Jeremy FitzhardingeNov 16, 2009 10:37 am 
Zhang, XiantaoNov 16, 2009 7:12 pm 
Keir FraserNov 16, 2009 7:44 pm 
Jeremy FitzhardingeNov 16, 2009 9:12 pm 
Jeremy FitzhardingeNov 16, 2009 9:19 pm 
Keir FraserNov 16, 2009 9:43 pm 
Zhang, XiantaoNov 17, 2009 4:45 am.patch
Keir FraserNov 17, 2009 5:04 am 
Zhang, XiantaoNov 17, 2009 6:16 am 
Jeremy FitzhardingeNov 17, 2009 10:50 am 
Keir FraserNov 17, 2009 11:49 am 
Jiang, YunhongNov 17, 2009 7:11 pm 
Zhang, XiantaoNov 17, 2009 7:24 pm 
Zhang, XiantaoNov 17, 2009 7:37 pm 
Keir FraserNov 18, 2009 1:36 am 
Konrad Rzeszutek WilkNov 18, 2009 6:14 am 
Konrad Rzeszutek WilkNov 18, 2009 6:29 am 
Zhang, XiantaoNov 19, 2009 5:45 pm 
Zhang, XiantaoNov 19, 2009 5:47 pm 
Zhang, XiantaoNov 24, 2009 2:04 am.patch, .patch
Jeremy FitzhardingeNov 24, 2009 11:25 am 
Konrad Rzeszutek WilkNov 24, 2009 11:43 am 
Jeremy FitzhardingeNov 24, 2009 3:34 pm 
Zhang, XiantaoNov 24, 2009 5:41 pm 
Zhang, XiantaoNov 24, 2009 6:43 pm 
Konrad Rzeszutek WilkNov 25, 2009 5:41 am 
19 later messages
Subject:Re: [Xen-devel] Announcing xen/master: pvops git trees rearranged
From:Boris Derzhavets (bder@yahoo.com)
Date:Oct 16, 2009 12:47:48 am
List:com.xensource.lists.xen-devel
Attachments:
dmesg.2afad356210ac35cbbc81904e0ac8b514b7f6212.gz - 22k

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 <konr@oracle.com> wrote:

From: Konrad Rzeszutek Wilk <konr@oracle.com> Subject: Re: [Xen-devel] Announcing xen/master: pvops git trees rearranged To: "Pasi Kärkkäinen" <pas@iki.fi> Cc: "Jeremy Fitzhardinge" <jer@goop.org>, "Xen-devel"
<xen-@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