From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: crash in is_xen_swiotlb_buffer Date: Tue, 13 Mar 2012 04:39:24 -0400 Message-ID: References: <20120312163221.GA10987@eire.uk.xensource.com> Reply-To: konrad@darnok.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0882163171095192787==" Return-path: In-Reply-To: <20120312163221.GA10987@eire.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Goncalo Gomes Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0882163171095192787== Content-Type: multipart/alternative; boundary=f46d0442807ecb5e8a04bb1bcbef --f46d0442807ecb5e8a04bb1bcbef Content-Type: text/plain; charset=ISO-8859-1 On Mar 12, 2012 12:28 PM, "Goncalo Gomes" wrote: > > I've compiled unstable c/s: 5d20d2f6ffed and linux 3.2.9 but I've been Do you get similar issues with Xen 4.1? > experiencing a couple of panics since. Two times I was able to > reproduce the crash by simply running upgrade-grub2 after fiddling > with linux/xen cmdline options, but I noticed it does also crash on > other (less known) occasions. No VMs have been setup yet, so it's > purely a domain 0 setup so far. > > Attaching the relevant files, in the hope they may help understanding > the cause of this. > > - xl-dmesg.out > - dmidecode.out > - lspci-vvv.out > - 3.2.9-config Also need dmesg of dom0 > > Goncalo > > [ 197.398425] BUG: unable to handle kernel paging request at 000012b7 > [ 197.398794] IP: [] is_xen_swiotlb_buffer+0x35/0x80 > [ 197.399085] *pdpt = 0000000000000000 *pde = 0000000000000000 > [ 197.399406] Oops: 0000 [#1] SMP > [ 197.399720] Modules linked in: dm_mod binfmt_misc loop processor > thermal_sys hwmon button sd_mod mptsas mptscsih mptbase > scsi_transport_sas bnx2 scsi_mod [last unloaded: scsi_wait_scan] > [ 197.400971] > [ 197.401213] Pid: 0, comm: swapper/0 Tainted: G W 3.2.9 #9 > Dell Inc. PowerEdge R310/05XKKK > [ 197.401779] EIP: 0061:[] EFLAGS: 00010206 CPU: 0 > [ 197.402030] EIP is at is_xen_swiotlb_buffer+0x35/0x80 > [ 197.402280] EAX: 00000063 EBX: ffffffff ECX: c1779000 EDX: ffffffff > [ 197.402534] ESI: 00000000 EDI: 00000002 EBP: 00000000 ESP: e3c0fec4 > [ 197.402805] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0069 > [ 197.403055] Process swapper/0 (pid: 0, ti=e3c0e000 task=c1641060 > task.ti=c163a000) > [ 197.403513] Stack: > [ 197.403756] 00000000 00000000 c1269e38 ffffffff e3e2a860 00000092 > c5790480 f017e220 > [ 197.404510] c1269efb c5b0a0c0 c1269f0a 00000092 00000002 00000000 > eda6757c 00000092 > [ 197.405245] 00000002 04450000 00000000 00000444 00000000 00000000 > 00000000 00000544 > [ 197.405985] Call Trace: > [ 197.406233] [] ? xen_swiotlb_sync_single+0x3f/0x7b > [ 197.406488] [] ? > xen_swiotlb_sync_single_for_device+0x13/0x13 > [ 197.406744] [] ? > xen_swiotlb_sync_single_for_cpu+0xf/0x13 > [ 197.407026] [] ? bnx2_rx_int+0xf5/0x3de [bnx2] > [ 197.407286] [] ? bnx2_poll_work+0x4e/0x56 [bnx2] > [ 197.407537] [] ? bnx2_poll+0x5f/0xe7 [bnx2] > [ 197.407788] [] ? irq_enter+0x49/0x49 > [ 197.408037] [] ? net_rx_action+0xb8/0x1d6 > [ 197.408307] [] ? irq_enter+0x49/0x49 > [ 197.408556] [] ? __do_softirq+0xa8/0x168 > [ 197.408805] [] ? irq_enter+0x49/0x49 > [ 197.409052] > [ 197.409332] [] ? irq_exit+0x2f/0x91 > [ 197.409588] [] ? xen_evtchn_do_upcall+0x1d/0x26 > [ 197.409843] [] ? xen_do_upcall+0x7/0xc > [ 197.410095] [] ? update_wall_time+0xa0/0x3ef > [ 197.410348] [] ? hypercall_page+0x3a7/0x1000 > [ 197.410601] [] ? xen_safe_halt+0xf/0x1b > [ 197.410852] [] ? default_idle+0x65/0xb8 > [ 197.411122] [] ? cpu_idle+0x61/0x7e > [ 197.411373] [] ? start_kernel+0x34a/0x34d > [ 197.411627] [] ? xen_start_kernel+0x554/0x55b > [ 197.411875] Code: ff ff ff 89 c3 e8 09 d6 d9 ff 39 f0 b8 ff ff ff > ff 0f 45 d8 89 d8 c1 e8 0e 0f be 80 e0 44 67 c1 85 c0 78 4d 8b 14 85 > c0 44 67 c1 <8b> 82 b8 12 00 00 03 82 b0 12 00 00 39 c3 73 36 a1 28 > [ 197.414841] EIP: [] is_xen_swiotlb_buffer+0x35/0x80 > SS:ESP 0069:e3c0fec4 > [ 197.420448] CR2: 00000000000012b7 > [ 197.420711] ---[ end trace 4eaa2a86a8e2da48 ]--- > [ 197.420962] Kernel panic - not syncing: Fatal exception in > interrupt > [ 197.421214] Pid: 0, comm: swapper/0 Tainted: G D W 3.2.9 #9 > [ 197.421466] Call Trace: > [ 197.421709] [] ? panic+0x4d/0x157 > [ 197.421958] [] ? oops_end+0xad/0xb8 > [ 197.422226] [] ? bad_area_nosemaphore+0xa/0xc > [ 197.422474] [] ? do_page_fault+0x167/0x31a > [ 197.422726] [] ? cpumask_next_and+0x20/0x2b > [ 197.422975] [] ? pvclock_clocksource_read+0xec/0x11e > [ 197.423230] [] ? __spin_time_accum+0x26/0x36 > [ 197.423502] [] ? __xen_spin_lock+0xb4/0xc8 > [ 197.423754] [] ? xen_force_evtchn_callback+0xc/0x10 > [ 197.424008] [] ? vmalloc_sync_all+0xb6/0xb6 > [ 197.424261] [] ? error_code+0x5a/0x60 > [ 197.424512] [] ? vmalloc_sync_all+0xb6/0xb6 > [ 197.424763] [] ? is_xen_swiotlb_buffer+0x35/0x80 > [ 197.425034] [] ? xen_swiotlb_sync_single+0x3f/0x7b > [ 197.425289] [] ? > xen_swiotlb_sync_single_for_device+0x13/0x13 > [ 197.425545] [] ? > xen_swiotlb_sync_single_for_cpu+0xf/0x13 > [ 197.425801] [] ? bnx2_rx_int+0xf5/0x3de [bnx2] > [ 197.426054] [] ? bnx2_poll_work+0x4e/0x56 [bnx2] > [ 197.426328] [] ? bnx2_poll+0x5f/0xe7 [bnx2] > [ 197.426579] [] ? irq_enter+0x49/0x49 > [ 197.426830] [] ? net_rx_action+0xb8/0x1d6 > [ 197.427083] [] ? irq_enter+0x49/0x49 > [ 197.427337] [] ? __do_softirq+0xa8/0x168 > [ 197.427590] [] ? irq_enter+0x49/0x49 > [ 197.427853] [] ? irq_exit+0x2f/0x91 > [ 197.428149] [] ? xen_evtchn_do_upcall+0x1d/0x26 > [ 197.428410] [] ? xen_do_upcall+0x7/0xc > [ 197.428668] [] ? update_wall_time+0xa0/0x3ef > [ 197.428920] [] ? hypercall_page+0x3a7/0x1000 > [ 197.429191] [] ? xen_safe_halt+0xf/0x1b > [ 197.429446] [] ? default_idle+0x65/0xb8 > [ 197.429695] [] ? cpu_idle+0x61/0x7e > [ 197.429941] [] ? start_kernel+0x34a/0x34d > [ 197.430189] [] ? xen_start_kernel+0x554/0x55b > (XEN) Domain 0 crashed: rebooting machine in 5 seconds. > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel > --f46d0442807ecb5e8a04bb1bcbef Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable


On Mar 12, 2012 12:28 PM, "Goncalo Gomes" <Goncalo.Gomes@eu.citrix.com> wrote:
>
> I've compiled unstable c/s: 5d20d2f6ffed and linux 3.2.9 but I'= ;ve been

Do you get similar issues with Xen 4.1?

> experiencing a couple of panics since. Two times I was able to
> reproduce the crash by simply running upgrade-grub2 after fiddling
> with linux/xen cmdline options, but I noticed it does also crash on > other (less known) occasions. No VMs have been setup yet, so it's<= br> > purely a domain 0 setup so far.
>
> Attaching the relevant files, in the hope they may help understanding<= br> > the cause of this.
>
> - xl-dmesg.out
> - dmidecode.out
> - lspci-vvv.out
> - 3.2.9-config

Also need dmesg of dom0
>
> Goncalo
>
> [ =A0197.398425] BUG: unable to handle kernel paging request at 000012= b7
> [ =A0197.398794] IP: [<c1269dae>] is_xen_swiotlb_buffer+0x35/0x8= 0
> [ =A0197.399085] *pdpt =3D 0000000000000000 *pde =3D 0000000000000000<= br> > [ =A0197.399406] Oops: 0000 [#1] SMP
> [ =A0197.399720] Modules linked in: dm_mod binfmt_misc loop processor<= br> > thermal_sys hwmon button sd_mod mptsas mptscsih mptbase
> scsi_transport_sas bnx2 scsi_mod [last unloaded: scsi_wait_scan]
> [ =A0197.400971]
> [ =A0197.401213] Pid: 0, comm: swapper/0 Tainted: G =A0 =A0 =A0 =A0W = =A0 =A03.2.9 #9
> Dell Inc. PowerEdge R310/05XKKK
> [ =A0197.401779] EIP: 0061:[<c1269dae>] EFLAGS: 00010206 CPU: 0<= br> > [ =A0197.402030] EIP is at is_xen_swiotlb_buffer+0x35/0x80
> [ =A0197.402280] EAX: 00000063 EBX: ffffffff ECX: c1779000 EDX: ffffff= ff
> [ =A0197.402534] ESI: 00000000 EDI: 00000002 EBP: 00000000 ESP: e3c0fe= c4
> [ =A0197.402805] =A0DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0069
> [ =A0197.403055] Process swapper/0 (pid: 0, ti=3De3c0e000 task=3Dc1641= 060
> task.ti=3Dc163a000)
> [ =A0197.403513] Stack:
> [ =A0197.403756] =A000000000 00000000 c1269e38 ffffffff e3e2a860 00000= 092
> c5790480 f017e220
> [ =A0197.404510] =A0c1269efb c5b0a0c0 c1269f0a 00000092 00000002 00000= 000
> eda6757c 00000092
> [ =A0197.405245] =A000000002 04450000 00000000 00000444 00000000 00000= 000
> 00000000 00000544
> [ =A0197.405985] Call Trace:
> [ =A0197.406233] =A0[<c1269e38>] ? xen_swiotlb_sync_single+0x3f/= 0x7b
> [ =A0197.406488] =A0[<c1269efb>] ?
> xen_swiotlb_sync_single_for_device+0x13/0x13
> [ =A0197.406744] =A0[<c1269f0a>] ?
> xen_swiotlb_sync_single_for_cpu+0xf/0x13
> [ =A0197.407026] =A0[<eda6757c>] ? bnx2_rx_int+0xf5/0x3de [bnx2]=
> [ =A0197.407286] =A0[<eda678b3>] ? bnx2_poll_work+0x4e/0x56 [bnx= 2]
> [ =A0197.407537] =A0[<eda679a3>] ? bnx2_poll+0x5f/0xe7 [bnx2] > [ =A0197.407788] =A0[<c1047372>] ? irq_enter+0x49/0x49
> [ =A0197.408037] =A0[<c13083f6>] ? net_rx_action+0xb8/0x1d6
> [ =A0197.408307] =A0[<c1047372>] ? irq_enter+0x49/0x49
> [ =A0197.408556] =A0[<c104741a>] ? __do_softirq+0xa8/0x168
> [ =A0197.408805] =A0[<c1047372>] ? irq_enter+0x49/0x49
> [ =A0197.409052] =A0<IRQ>
> [ =A0197.409332] =A0[<c1047248>] ? irq_exit+0x2f/0x91
> [ =A0197.409588] =A0[<c126234e>] ? xen_evtchn_do_upcall+0x1d/0x2= 6
> [ =A0197.409843] =A0[<c13d18c7>] ? xen_do_upcall+0x7/0xc
> [ =A0197.410095] =A0[<c106007b>] ? update_wall_time+0xa0/0x3ef > [ =A0197.410348] =A0[<c10023a7>] ? hypercall_page+0x3a7/0x1000 > [ =A0197.410601] =A0[<c1006772>] ? xen_safe_halt+0xf/0x1b
> [ =A0197.410852] =A0[<c10137b4>] ? default_idle+0x65/0xb8
> [ =A0197.411122] =A0[<c100c2c3>] ? cpu_idle+0x61/0x7e
> [ =A0197.411373] =A0[<c16787f5>] ? start_kernel+0x34a/0x34d
> [ =A0197.411627] =A0[<c167a258>] ? xen_start_kernel+0x554/0x55b<= br> > [ =A0197.411875] Code: ff ff ff 89 c3 e8 09 d6 d9 ff 39 f0 b8 ff ff ff=
> ff 0f 45 d8 89 d8 c1 e8 0e 0f be 80 e0 44 67 c1 85 c0 78 4d 8b 14 85 > c0 44 67 c1 <8b> 82 b8 12 00 00 03 82 b0 12 00 00 39 c3 73 36 a1= 28
> [ =A0197.414841] EIP: [<c1269dae>] is_xen_swiotlb_buffer+0x35/0x= 80
> SS:ESP 0069:e3c0fec4
> [ =A0197.420448] CR2: 00000000000012b7
> [ =A0197.420711] ---[ end trace 4eaa2a86a8e2da48 ]---
> [ =A0197.420962] Kernel panic - not syncing: Fatal exception in
> interrupt
> [ =A0197.421214] Pid: 0, comm: swapper/0 Tainted: G =A0 =A0 =A0D W =A0= =A03.2.9 #9
> [ =A0197.421466] Call Trace:
> [ =A0197.421709] =A0[<c13ce57c>] ? panic+0x4d/0x157
> [ =A0197.421958] =A0[<c100efc4>] ? oops_end+0xad/0xb8
> [ =A0197.422226] =A0[<c102a930>] ? bad_area_nosemaphore+0xa/0xc<= br> > [ =A0197.422474] =A0[<c102ad3d>] ? do_page_fault+0x167/0x31a
> [ =A0197.422726] =A0[<c11fe40d>] ? cpumask_next_and+0x20/0x2b > [ =A0197.422975] =A0[<c1029b90>] ? pvclock_clocksource_read+0xec= /0x11e
> [ =A0197.423230] =A0[<c100b840>] ? __spin_time_accum+0x26/0x36 > [ =A0197.423502] =A0[<c100ba6f>] ? __xen_spin_lock+0xb4/0xc8
> [ =A0197.423754] =A0[<c100673c>] ? xen_force_evtchn_callback+0xc= /0x10
> [ =A0197.424008] =A0[<c102abd6>] ? vmalloc_sync_all+0xb6/0xb6 > [ =A0197.424261] =A0[<c13d106e>] ? error_code+0x5a/0x60
> [ =A0197.424512] =A0[<c102abd6>] ? vmalloc_sync_all+0xb6/0xb6 > [ =A0197.424763] =A0[<c1269dae>] ? is_xen_swiotlb_buffer+0x35/0x= 80
> [ =A0197.425034] =A0[<c1269e38>] ? xen_swiotlb_sync_single+0x3f/= 0x7b
> [ =A0197.425289] =A0[<c1269efb>] ?
> xen_swiotlb_sync_single_for_device+0x13/0x13
> [ =A0197.425545] =A0[<c1269f0a>] ?
> xen_swiotlb_sync_single_for_cpu+0xf/0x13
> [ =A0197.425801] =A0[<eda6757c>] ? bnx2_rx_int+0xf5/0x3de [bnx2]=
> [ =A0197.426054] =A0[<eda678b3>] ? bnx2_poll_work+0x4e/0x56 [bnx= 2]
> [ =A0197.426328] =A0[<eda679a3>] ? bnx2_poll+0x5f/0xe7 [bnx2] > [ =A0197.426579] =A0[<c1047372>] ? irq_enter+0x49/0x49
> [ =A0197.426830] =A0[<c13083f6>] ? net_rx_action+0xb8/0x1d6
> [ =A0197.427083] =A0[<c1047372>] ? irq_enter+0x49/0x49
> [ =A0197.427337] =A0[<c104741a>] ? __do_softirq+0xa8/0x168
> [ =A0197.427590] =A0[<c1047372>] ? irq_enter+0x49/0x49
> [ =A0197.427853] =A0<IRQ> =A0[<c1047248>] ? irq_exit+0x2f/= 0x91
> [ =A0197.428149] =A0[<c126234e>] ? xen_evtchn_do_upcall+0x1d/0x2= 6
> [ =A0197.428410] =A0[<c13d18c7>] ? xen_do_upcall+0x7/0xc
> [ =A0197.428668] =A0[<c106007b>] ? update_wall_time+0xa0/0x3ef > [ =A0197.428920] =A0[<c10023a7>] ? hypercall_page+0x3a7/0x1000 > [ =A0197.429191] =A0[<c1006772>] ? xen_safe_halt+0xf/0x1b
> [ =A0197.429446] =A0[<c10137b4>] ? default_idle+0x65/0xb8
> [ =A0197.429695] =A0[<c100c2c3>] ? cpu_idle+0x61/0x7e
> [ =A0197.429941] =A0[<c16787f5>] ? start_kernel+0x34a/0x34d
> [ =A0197.430189] =A0[<c167a258>] ? xen_start_kernel+0x554/0x55b<= br> > (XEN) Domain 0 crashed: rebooting machine in 5 seconds.
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org=
> http://lists.xen.org/xen-de= vel
>

--f46d0442807ecb5e8a04bb1bcbef-- --===============0882163171095192787== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============0882163171095192787==--