From: Boris Derzhavets Subject: Re: [fedora-virt] Re: Dom0 kernels Date: Wed, 26 Aug 2009 00:58:40 -0700 (PDT) Message-ID: <977983.24987.qm@web56107.mail.re3.yahoo.com> References: <494282.31131.qm@web56103.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0933665672==" Return-path: In-Reply-To: <494282.31131.qm@web56103.mail.re3.yahoo.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: fedora-xen-bounces@redhat.com Errors-To: fedora-xen-bounces@redhat.com To: fedora-xen@redhat.com, fedora-virt@redhat.com, M A Young Cc: xen-devel@xensource.com List-Id: xen-devel@lists.xenproject.org --===============0933665672== Content-Type: multipart/alternative; boundary="0-1114693943-1251273520=:24987" --0-1114693943-1251273520=:24987 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Not sure how 2.6.31-0.1.2.58.rc7.git1.xendom0.fc11.x86_64=A0 has been built= . There are pretty recent ongoing issues with 2.6.31-rc7 in upstream :- http://lkml.org/lkml/2009/8/25/347 http://patchwork.kernel.org/patch/43791/ I was able to load Xen guest under=A0=A0 2.6.31-0.1.2.58.rc7.git1.xendom0.f= c11.x86_64=20 followed by kernel error with sky2 (?) and loosing vnc connection to Xen Ho= st 3.4.1 on top of F11.=A0 I'll do some more testing. Boris. --- On Wed, 8/26/09, Boris Derzhavets wrote: From: Boris Derzhavets Subject: Re: [fedora-virt] Re: [Fedora-xen] Dom0 kernels To: fedora-xen@redhat.com, fedora-virt@redhat.com, "M A Young" Cc: xen-devel@xensource.com Date: Wednesday, August 26, 2009, 2:50 AM With rpm upgraded can load Dom0. However, dmesg report contains :- Initializing cgroup subsys cpuset Initializing cgroup subsys cpu Linux version 2.6.31-0.1.2.58.rc7.git1.xendom0.fc11.x86_64 (root@ServerXenS= RC) (gcc version 4.4.0 20090506 (Red Hat 4.4.0-4) (GCC) ) #1 SMP Wed Aug 26= 08:14:58 MSD 2009 Command line: root=3D/dev/mapper/vg_serverxensrc-LogVol00=A0 ro console=3Dt= ty0 KERNEL supported cpus: =A0 Intel GenuineIntel =A0 AMD AuthenticAMD =A0 Centaur CentaurHauls BIOS-provided physical RAM map: =A0Xen: 0000000000000000 - 000000000009ec00 (usable) =A0Xen: 000000000009ec00 - 0000000000100000 (reserved) =A0Xen: 0000000000100000 - 00000000cff80000 (usable) =A0Xen: 00000000cff80000 - 00000000cff8e000 (ACPI data) =A0Xen: 00000000cff8e000 - 00000000cffe0000 (ACPI NVS) =A0Xen:=0A 00000000cffe0000 - 00000000d0000000 (reserved) =A0Xen: 00000000fee00000 - 00000000fee01000 (reserved) =A0Xen: 00000000ffe00000 - 0000000100000000 (reserved) =A0Xen: 0000000100000000 - 00000001f1a6b000 (usable) DMI 2.4 present. AMI BIOS detected: BIOS may corrupt low RAM, working around it. e820 update range: 0000000000000000 - 0000000000010000 (usable) =3D=3D> (re= served) last_pfn =3D 0x1f1a6b max_arch_pfn =3D 0x400000000 last_pfn =3D 0xcff80 max_arch_pfn =3D 0x400000000 initial memory mapped : 0 - 20000000 init_memory_mapping: 0000000000000000-00000000cff80000 =A00000000000 - 00cff80000 page 4k kernel direct mapping tables up to cff80000 @ 100000-785000 init_memory_mapping: 0000000100000000-00000001f1a6b000 =A00100000000 - 01f1a6b000 page 4k . . . . . . . =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D [ INFO: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected=0A ] 2.6.31-0.1.2.58.rc7.git1.xendom0.fc11.x86_64 #1 ------------------------------------------------------ khubd/28 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: =A0(&retval->lock){......}, at: [] dma_pool_alloc+0x45/0x= 321 and this task is already holding: =A0(&ehci->lock){-.....}, at: [] ehci_urb_enqueue+0xb4/0x= d5c which would create a new lock dependency: =A0(&ehci->lock){-.....} -> (&retval->lock){......} but this new dependency connects a HARDIRQ-irq-safe lock: =A0(&ehci->lock){-.....} ... which became HARDIRQ-irq-safe at: =A0 [] __lock_acquire+0x254/0xc0e =A0 [] lock_acquire+0xee/0x12e =A0 [] _spin_lock+0x45/0x8e =A0 [] ehci_irq+0x41/0x441 =A0 []=0A usb_hcd_irq+0x59/0xcc =A0 [] handle_IRQ_event+0x62/0x148 =A0 [] handle_level_irq+0x90/0xf9 =A0 [] handle_irq+0x9a/0xba =A0 [] xen_evtchn_do_upcall+0x10c/0x1bd =A0 [] xen_do_hypervisor_callback+0x1e/0x30 =A0 [] 0xffffffffffffffff to a HARDIRQ-irq-unsafe lock: =A0(purge_lock){+.+...} ... which became HARDIRQ-irq-unsafe at: ...=A0 [] __lock_acquire+0x2c8/0xc0e =A0 [] lock_acquire+0xee/0x12e =A0 [] _spin_lock+0x45/0x8e =A0 [] __purge_vmap_area_lazy+0x63/0x198 =A0 [] vm_unmap_aliases+0x18f/0x1b2 =A0 [] xen_alloc_ptpage+0x5a/0xa0 =A0 []=0A xen_alloc_pte+0x26/0x3c =A0 [] __pte_alloc_kernel+0x6f/0xdd =A0 [] vmap_page_range_noflush+0x1c5/0x315 =A0 [] map_vm_area+0x41/0x6b =A0 [] __vmalloc_area_node+0x12f/0x167 =A0 [] __vmalloc_node+0x90/0xb5 =A0 [] __vmalloc_area_node+0x6c/0x167 =A0 [] __vmalloc_node+0x90/0xb5 =A0 [] __vmalloc+0x28/0x3e =A0 [] alloc_large_system_hash+0x12f/0x1fb =A0 [] vfs_caches_init+0xb8/0x140 =A0 [] start_kernel+0x3ef/0x44c =A0 [] x86_64_start_reservations+0xbb/0xd6 =A0 [] xen_start_kernel+0x5ab/0x5b2 =A0 [] 0xffffffffffffffff other info that might help=0A us debug this: 2 locks held by khubd/28: =A0#0:=A0 (usb_address0_mutex){+.+...}, at: [] hub_port_i= nit+0x8c/0x7ee =A0#1:=A0 (&ehci->lock){-.....}, at: [] ehci_urb_enqueue+= 0xb4/0xd5c the HARDIRQ-irq-safe lock's dependencies: -> (&ehci->lock){-.....} ops: 0 { =A0=A0 IN-HARDIRQ-W at: =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 [] __lock_acquire+0x254/0xc0e =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 [] lock_acquire+0xee/0x12e =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 []=0A _spin_lock+0x45/0x8e =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 [] ehci_irq+0x41/0x441 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 [] usb_hcd_irq+0x59/0xcc =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 [] handle_IRQ_event+0x62/0x148 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 [] handle_level_irq+0x90/0xf9 .=A0 .=A0 .=A0 .=A0 .=A0 . Jeremy's current version is rc6.=A0 I believe this issue has been noticed a= t=0A xen-devel. Boris =0A=0A=0A=0A =20 -----Inline Attachment Follows----- -- Fedora-xen mailing list Fedora-xen@redhat.com https://www.redhat.com/mailman/listinfo/fedora-xen =0A=0A=0A --0-1114693943-1251273520=:24987 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Not sure how 2.6.31-0.1.2.58.rc7.git1.xendom0= .fc11.x86_64  has been built.
There are pretty recent ongoing issue= s with 2.6.31-rc7 in upstream :-

http://lkml.org/lkml/2009/8/25/347<= br>http://patchwork.kernel.org/patch/43791/


I was able to load X= en guest under   2.6.31-0.1.2.58.rc7.git1.xendom0.fc11.x86_64 followed by kernel error with sky2 (?) and loosing vnc connection to Xen H= ost 3.4.1 on top of F11.  I'll do some more testing.

Boris.
=

--- On Wed, 8/26/09, Boris Derzhavets <bderzhavets@yahoo.c= om> wrote:

From: Boris Derzhavet= s <bderzhavets@yahoo.com>
Subject: Re: [fedora-virt] Re: [Fedora-x= en] Dom0 kernels
To: fedora-xen@redhat.com, fedora-virt@redhat.com, "M A Young" <m.a.young@durham.ac.uk>
Cc: xen-devel@xensource.com
Da= te: Wednesday, August 26, 2009, 2:50 AM

Wit= h rpm upgraded can load Dom0. However, dmesg report contains :-

Init= ializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux ve= rsion 2.6.31-0.1.2.58.rc7.git1.xendom0.fc11.x86_64 (root@ServerXenSRC) (gcc= version 4.4.0 20090506 (Red Hat 4.4.0-4) (GCC) ) #1 SMP Wed Aug 26 08:14:5= 8 MSD 2009
Command line: root=3D/dev/mapper/vg_serverxensrc-LogVol00&nbs= p; ro console=3Dtty0
KERNEL supported cpus:
  Intel GenuineIntel=
  AMD AuthenticAMD
  Centaur CentaurHauls
BIOS-provided= physical RAM map:
 Xen: 0000000000000000 - 000000000009ec00 (usable)
&nb= sp;Xen: 000000000009ec00 - 0000000000100000 (reserved)
 Xen: 000000= 0000100000 - 00000000cff80000 (usable)
 Xen: 00000000cff80000 - 000= 00000cff8e000 (ACPI data)
 Xen: 00000000cff8e000 - 00000000cffe0000= (ACPI NVS)
 Xen:=0A 00000000cffe0000 - 00000000d0000000 (reserved)=
 Xen: 00000000fee00000 - 00000000fee01000 (reserved)
 Xen:= 00000000ffe00000 - 0000000100000000 (reserved)
 Xen: 0000000100000= 000 - 00000001f1a6b000 (usable)
DMI 2.4 present.
AMI BIOS detected: B= IOS may corrupt low RAM, working around it.
e820 update range: 000000000= 0000000 - 0000000000010000 (usable) =3D=3D> (reserved)
last_pfn =3D 0= x1f1a6b max_arch_pfn =3D 0x400000000
last_pfn =3D 0xcff80 max_arch_pfn = =3D 0x400000000
initial memory mapped : 0 - 20000000
init_memory_mapp= ing: 0000000000000000-00000000cff80000
 0000000000 - 00cff80000 pag= e 4k
kernel direct mapping tables up to cff80000 @ 100000-785000
init= _memory_mapping: 0000000100000000-00000001f1a6b000
 0100000000 - 01= f1a6b000 page 4k

. . . . . . .

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[ INFO: HARDIR= Q-safe -> HARDIRQ-unsafe lock order detected=0A ]
2.6.31-0.1.2.58.rc7= .git1.xendom0.fc11.x86_64 #1
-------------------------------------------= -----------
khubd/28 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire:
&n= bsp;(&retval->lock){......}, at: [<ffffffff8112a240>] dma_pool= _alloc+0x45/0x321

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

but this new dep= endency connects a HARDIRQ-irq-safe lock:
 (&ehci->lock){-..= ...}
... which became HARDIRQ-irq-safe at:
  [<ffffffff810990= 8b>] __lock_acquire+0x254/0xc0e
  [<ffffffff81099b33>] loc= k_acquire+0xee/0x12e
  [<ffffffff8150b987>] _spin_lock+0x45/0= x8e
  [<ffffffff813d325c>] ehci_irq+0x41/0x441
  [<= ;ffffffff813b7e5f>]=0A usb_hcd_irq+0x59/0xcc
  [<ffffffff810c= a810>] handle_IRQ_event+0x62/0x148
  [<ffffffff810ccda3>] = handle_level_irq+0x90/0xf9
  [<ffffffff81017078>] handle_irq+= 0x9a/0xba
  [<ffffffff8130a0c6>] xen_evtchn_do_upcall+0x10c/0= x1bd
  [<ffffffff8101527e>] xen_do_hypervisor_callback+0x1e/0= x30
  [<ffffffffffffffff>] 0xffffffffffffffff

to a HAR= DIRQ-irq-unsafe lock:
 (purge_lock){+.+...}
... which became HAR= DIRQ-irq-unsafe at:
...  [<ffffffff810990ff>] __lock_acquire+= 0x2c8/0xc0e
  [<ffffffff81099b33>] lock_acquire+0xee/0x12e  [<ffffffff8150b987>] _spin_lock+0x45/0x8e
  [<ffff= ffff811233a4>] __purge_vmap_area_lazy+0x63/0x198
  [<ffffffff= 81124c74>] vm_unmap_aliases+0x18f/0x1b2
  [<ffffffff8100eeb3&= gt;] xen_alloc_ptpage+0x5a/0xa0
  [<ffffffff8100ef97>]=0A xen= _alloc_pte+0x26/0x3c
  [<ffffffff81118381>] __pte_alloc_kerne= l+0x6f/0xdd
  [<ffffffff811241a1>] vmap_page_range_noflush+0x= 1c5/0x315
  [<ffffffff81124332>] map_vm_area+0x41/0x6b
&nb= sp; [<ffffffff8112448b>] __vmalloc_area_node+0x12f/0x167
  [&= lt;ffffffff81124553>] __vmalloc_node+0x90/0xb5
  [<ffffffff81= 1243c8>] __vmalloc_area_node+0x6c/0x167
  [<ffffffff81124553&= gt;] __vmalloc_node+0x90/0xb5
  [<ffffffff811247ca>] __vmallo= c+0x28/0x3e
  [<ffffffff818504c9>] alloc_large_system_hash+0x= 12f/0x1fb
  [<ffffffff81852b4e>] vfs_caches_init+0xb8/0x140  [<ffffffff8182b061>] start_kernel+0x3ef/0x44c
  [<= ;ffffffff8182a2d0>] x86_64_start_reservations+0xbb/0xd6
  [<f= fffffff8182e6d1>] xen_start_kernel+0x5ab/0x5b2
  [<ffffffffff= ffffff>] 0xffffffffffffffff

other info that might help=0A us debu= g this:

2 locks held by khubd/28:
 #0:  (usb_address0_m= utex){+.+...}, at: [<ffffffff813b2e82>] hub_port_init+0x8c/0x7ee
&= nbsp;#1:  (&ehci->lock){-.....}, at: [<ffffffff813d4654>]= ehci_urb_enqueue+0xb4/0xd5c

the HARDIRQ-irq-safe lock's dependencie= s:
-> (&ehci->lock){-.....} ops: 0 {
   IN-HARDIR= Q-W at:
          &nbs= p;             = [<ffffffff8109908b>] __lock_acquire+0x254/0xc0e
   =             &nb= sp;        [<ffffffff81099b33>] lo= ck_acquire+0xee/0x12e
        &n= bsp;            = ;   [<ffffffff8150b987>]=0A _spin_lock+0x45/0x8e
 &= nbsp;           &nbs= p;          [<ffffffff813d3= 25c>] ehci_irq+0x41/0x441
       &= nbsp;           &nbs= p;    [<ffffffff813b7e5f>] usb_hcd_irq+0x59/0xcc
&n= bsp;            = ;           [<ffffffff= 810ca810>] handle_IRQ_event+0x62/0x148
     =             &nb= sp;      [<ffffffff810ccda3>] handle_level_i= rq+0x90/0xf9

.  .  .  .  .  .

Jeremy= 's current version is rc6.  I believe this issue has been noticed at= =0A xen-devel.
Boris




=0A=0A= =0A=0A
-----Inline Attachment Follows-----


=0A=0A=0A=0A --0-1114693943-1251273520=:24987-- --===============0933665672== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============0933665672==--