WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] kernel BUG at arch/x86/xen/multicalls.c:103!

To: "Olivier NOEL" <ONOEL@xxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] kernel BUG at arch/x86/xen/multicalls.c:103!
From: "Olivier NOEL" <ONOEL@xxxxxxxxxxxxxx>
Date: Thu, 6 Aug 2009 08:50:09 +0200
Cc:
Delivery-date: Wed, 05 Aug 2009 23:54:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <0E87C0E865217944860BB378D2898000E1467F@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <481249.38422.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx><4A78CA69.3090105@xxxxxxxx> <0E87C0E865217944860BB378D2898000E1467F@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoVXpXZzCuVwxGEScWDXYVgGa7N3gAO9aGQADGg2eA=
Thread-topic: [Xen-devel] kernel BUG at arch/x86/xen/multicalls.c:103!
> -----Message d'origine-----
> De : xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
> bounces@xxxxxxxxxxxxxxxxxxx] De la part de Olivier NOEL
> Envoyé : mercredi 5 août 2009 09:10
> À : xen-devel@xxxxxxxxxxxxxxxxxxx
> Objet : RE: [Xen-devel] kernel BUG at arch/x86/xen/multicalls.c:103!
> 
> > -----Message d'origine-----
> > De : xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
> > bounces@xxxxxxxxxxxxxxxxxxx] De la part de Jeremy Fitzhardinge
> Envoyé
> > : mercredi 5 août 2009 01:55 À : Olivier NOEL Cc :
> > xen-devel@xxxxxxxxxxxxxxxxxxx Objet : Re: [Xen-devel] kernel BUG at
> > arch/x86/xen/multicalls.c:103!
> >
> > On 08/03/09 02:44, Olivier NOEL wrote:
> > > Hi,
> > >
> > > I have this bug when I activate java-6-jdk on Tomcat 5.5.26 in a
> > Lenny Guest :
> > >
> >
> > Does it happen immediately, or after a while?  Does it happen every
> > time?  How many VCPUs are there?
> 
> At boot time, Tomcat is not running, so I start Tomcat and I have this
> error. Then I can't do anything, the system is "locked".
> 
> It happens every time I start Tomcat with any java runtime which is not
> java-gcj on Debian Lenny or Etch.
> 
> There are 4 VCPUs on each Tomcat.
> 
> >
> > > Jul 31 21:24:15 tomcat01 kernel: 1 multicall(s) failed: cpu 3
> > > Jul 31 21:24:15 tomcat01 kernel:   call  1/1: op=14 arg=[b7f1a000]
> > result=-22
> > > Jul 31 21:24:15 tomcat01 kernel: ------------[ cut here
> > > ]------------ Jul 31 21:24:15 tomcat01 kernel: kernel BUG at
> > arch/x86/xen/multicalls.c:103!
> > > Jul 31 21:24:15 tomcat01 kernel: invalid opcode: 0000 [#1] SMP Jul
> > > 31 21:24:15 tomcat01 kernel:
> > > Jul 31 21:24:15 tomcat01 kernel: Pid: 2467, comm: jsvc Not tainted
> > (2.6.25.7 #1)
> > > Jul 31 21:24:15 tomcat01 kernel: EIP: 0061:[<c020248b>] EFLAGS:
> > 00010202 CPU: 3
> > > Jul 31 21:24:15 tomcat01 kernel: EIP is at xen_mc_flush+0x16b/0x180
> > > Jul 31 21:24:15 tomcat01 kernel: EAX: 00000000 EBX: 00000000 ECX:
> > 00000003 EDX: 00000000
> > > Jul 31 21:24:15 tomcat01 kernel: ESI: 00000000 EDI: 00000001 EBP:
> > c141a060 ESP: deaadedc
> > > Jul 31 21:24:15 tomcat01 kernel:  DS: 007b ES: 007b FS: 00d8 GS:
> > > 0033
> > SS: 0069
> > > Jul 31 21:24:15 tomcat01 kernel: Process jsvc (pid: 2467,
> > > ti=deaac000
> > task=df6e6000 task.ti=deaac000)
> > > Jul 31 21:24:15 tomcat01 kernel: Stack: c05a5848 00000001 00000001
> > 0000000e b7f1a000 ffffffea 00000200 00000065
> > > Jul 31 21:24:15 tomcat01 kernel:        00000000 00000000 b7f1a000
> > c02592b4 00000065 00000000 df5c3f50 00000000
> > > Jul 31 21:24:15 tomcat01 kernel:        000b7f1a 00000000 00000000
> > de827e34 df616210 de827e00 b7f1b000 df616528
> > > Jul 31 21:24:15 tomcat01 kernel: Call Trace:
> > > Jul 31 21:24:15 tomcat01 kernel:  [<c02592b4>]
> > mprotect_fixup+0x4b4/0x610
> > > Jul 31 21:24:15 tomcat01 kernel:  [<c0259554>]
> > sys_mprotect+0x144/0x1d0
> > > Jul 31 21:24:15 tomcat01 kernel:  [<c0206c22>] syscall_call+0x7/0xb
> > > Jul 31 21:24:15 tomcat01 kernel:  ======================= Jul 31
> > > 21:24:15 tomcat01 kernel: Code: 00 83 c3 20 89 54 24 08 89 74
> > 24 04 c7 04 24 48 58 5a c0 89 44 24 0c e8 84 fc 01 00 8b 95 00 0b 00
> > 00
> > 39 d6 72 c3 e9 25 ff ff ff <0f> 0b eb fe 0f 0b eb fe 8d b6 00 00 00
> 00
> > 8d bc 27 00 00 00 00
> > > Jul 31 21:24:15 tomcat01 kernel: EIP: [<c020248b>]
> > xen_mc_flush+0x16b/0x180 SS:ESP 0069:deaadedc
> > > Jul 31 21:24:15 tomcat01 kernel: ---[ end trace 9edfe58cbc53ddca
> > > ]---
> > >
> > >
> >
> > Do you get any messages on the Xen console (xm dmesg)?
> 
> xm dmesg (complete dmesg) :
> 
> (XEN) Xen version 3.2.1 (root@xxxxxxx) (gcc version 4.1.2 20061115
> (prerelease) (Debian 4.1.1-21)) Mon Apr 28 09:51:46 CEST 2008
> (XEN) Latest ChangeSet: Fri Apr 25 14:03:45 2008 +0100
> 16881:4073b3ded545
> (XEN) Command line: auto BOOT_IMAGE=Xen ro root=801
> (XEN) Video information:
> (XEN)  VGA is text mode 80x25, font 8x16
> (XEN)  VBE/DDC methods: none; EDID transfer time: 0 seconds
> (XEN)  EDID info not retrieved because no DDC retrieval method detected
> (XEN) Disc information:
> (XEN)  Found 1 MBR signatures
> (XEN)  Found 1 EDD information structures
> (XEN) Xen-e820 RAM map:
> (XEN)  0000000000000000 - 000000000008f000 (usable)
> (XEN)  000000000008f000 - 00000000000a0000 (reserved)
> (XEN)  00000000000e0000 - 0000000000100000 (reserved)
> (XEN)  0000000000100000 - 00000000cf543000 (usable)
> (XEN)  00000000cf543000 - 00000000cf54f000 (reserved)
> (XEN)  00000000cf54f000 - 00000000cf617000 (usable)
> (XEN)  00000000cf617000 - 00000000cf6e8000 (ACPI NVS)
> (XEN)  00000000cf6e8000 - 00000000cf6eb000 (usable)
> (XEN)  00000000cf6eb000 - 00000000cf6f0000 (ACPI data)
> (XEN)  00000000cf6f0000 - 00000000cf6f1000 (usable)
> (XEN)  00000000cf6f1000 - 00000000cf6ff000 (ACPI data)
> (XEN)  00000000cf6ff000 - 00000000cf700000 (usable)
> (XEN)  00000000cf700000 - 00000000d0000000 (reserved)
> (XEN)  00000000fff00000 - 0000000100000000 (reserved)
> (XEN)  0000000100000000 - 0000000230000000 (usable)
> (XEN) System RAM: 8181MB (8377980kB)
> (XEN) Xen heap: 14MB (14824kB)
> (XEN) Domain heap initialised: DMA width 32 bits
> (XEN) Processor #0 7:7 APIC version 20
> (XEN) Processor #2 7:7 APIC version 20
> (XEN) Processor #1 7:7 APIC version 20
> (XEN) Processor #3 7:7 APIC version 20
> (XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
> (XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
> (XEN) Using scheduler: SMP Credit Scheduler (credit)
> (XEN) Detected 2817.262 MHz processor.
> (XEN) HVM: VMX enabled
> (XEN) CPU0: Intel(R) Xeon(R) CPU           X3360  @ 2.83GHz stepping 07
> (XEN) Booting processor 1/2 eip 8c000
> (XEN) CPU1: Intel(R) Xeon(R) CPU           X3360  @ 2.83GHz stepping 07
> (XEN) Booting processor 2/1 eip 8c000
> (XEN) CPU2: Intel(R) Xeon(R) CPU           X3360  @ 2.83GHz stepping 07
> (XEN) Booting processor 3/3 eip 8c000
> (XEN) CPU3: Intel(R) Xeon(R) CPU           X3360  @ 2.83GHz stepping 07
> (XEN) Total of 4 processors activated.
> (XEN) ENABLING IO-APIC IRQs
> (XEN)  -> Using new ACK method
> (XEN) Platform timer overflows in 14998 jiffies.
> (XEN) Platform timer is 14.318MHz HPET
> (XEN) Brought up 4 CPUs
> (XEN) xenoprof: Initialization failed. Intel processor model 23 for P6
> class family is not supported
> (XEN) AMD IOMMU: Disabled
> (XEN) *** LOADING DOMAIN 0 ***
> (XEN)  Xen  kernel: 64-bit, lsb, compat32
> (XEN)  Dom0 kernel: 64-bit, lsb, paddr 0xffffffff80200000 ->
> 0xffffffff8093981c
> (XEN) PHYSICAL MEMORY ARRANGEMENT:
> (XEN)  Dom0 alloc.:   0000000226000000->0000000228000000 (2019706 pages
> to be allocated)
> (XEN) VIRTUAL MEMORY ARRANGEMENT:
> (XEN)  Loaded kernel: ffffffff80200000->ffffffff8093981c
> (XEN)  Init. ramdisk: ffffffff8093a000->ffffffff8093a000
> (XEN)  Phys-Mach map: ffffffff8093a000->ffffffff818b2bd0
> (XEN)  Start info:    ffffffff818b3000->ffffffff818b34a4
> (XEN)  Page tables:   ffffffff818b4000->ffffffff818c5000
> (XEN)  Boot stack:    ffffffff818c5000->ffffffff818c6000
> (XEN)  TOTAL:         ffffffff80000000->ffffffff81c00000
> (XEN)  ENTRY ADDRESS: ffffffff80200000
> (XEN) Dom0 has maximum 4 VCPUs
> (XEN) Scrubbing Free RAM: .done.
> (XEN) Xen trace buffers: disabled
> (XEN) Std. Loglevel: Errors and warnings
> (XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
> (XEN) Xen is relinquishing VGA console.
> (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch
> input to Xen)
> (XEN) Freed 100kB init memory.
> (XEN) mm.c:665:d14 Error getting mfn a7990 (pfn 22df) from L1 entry
> 00000000a7990065 for dom14
> (XEN) mm.c:645:d14 Non-privileged (14) attempt to map I/O space
> 64612064
> (XEN) mm.c:665:d14 Error getting mfn 1001d3 (pfn 128bd3) from L1 entry
> 00000001001d3065 for dom14
> (XEN) mm.c:645:d21 Non-privileged (21) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d23 Non-privileged (23) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d22 Non-privileged (22) attempt to map I/O space
> 0d000000
> (XEN) mm.c:645:d22 Non-privileged (22) attempt to map I/O space
> 49464655
> (XEN) mm.c:645:d22 Non-privileged (22) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d23 Non-privileged (23) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d23 Non-privileged (23) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d22 Non-privileged (22) attempt to map I/O space
> 72202020
> (XEN) mm.c:645:d22 Non-privileged (22) attempt to map I/O space
> 2c222220
> (XEN) mm.c:645:d23 Non-privileged (23) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d22 Non-privileged (22) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d24 Non-privileged (24) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d25 Non-privileged (25) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d25 Non-privileged (25) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d24 Non-privileged (24) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d26 Non-privileged (26) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d25 Non-privileged (25) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d26 Non-privileged (26) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d26 Non-privileged (26) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d27 Non-privileged (27) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d27 Non-privileged (27) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d28 Non-privileged (28) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d28 Non-privileged (28) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d27 Non-privileged (27) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d31 Non-privileged (31) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d31 Non-privileged (31) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d31 Non-privileged (31) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d43 Non-privileged (43) attempt to map I/O space
> 13f14490
> (XEN) mm.c:645:d47 Non-privileged (47) attempt to map I/O space
> 00000000
> (XEN) mm.c:645:d48 Non-privileged (48) attempt to map I/O space
> 00000000

Update :

Same problem with a simple "javac -version" :

Aug  5 17:18:45 tomcat02 kernel: 1 multicall(s) failed: cpu 1
Aug  5 17:18:45 tomcat02 kernel:   call  1/1: op=14 arg=[b7f9c000] result=-22
Aug  5 17:18:45 tomcat02 kernel: ------------[ cut here ]------------
Aug  5 17:18:45 tomcat02 kernel: kernel BUG at arch/x86/xen/multicalls.c:103!
Aug  5 17:18:45 tomcat02 kernel: invalid opcode: 0000 [#1] SMP
Aug  5 17:18:45 tomcat02 kernel:
Aug  5 17:18:45 tomcat02 kernel: Pid: 2284, comm: javac Not tainted (2.6.25.7 
#1)
Aug  5 17:18:45 tomcat02 kernel: EIP: 0061:[<c020248b>] EFLAGS: 00010202 CPU: 1
Aug  5 17:18:45 tomcat02 kernel: EIP is at xen_mc_flush+0x16b/0x180
Aug  5 17:18:45 tomcat02 kernel: EAX: 00000000 EBX: 00000000 ECX: 00000001 EDX: 
00000000
Aug  5 17:18:45 tomcat02 kernel: ESI: 00000000 EDI: 00000001 EBP: c140a060 ESP: 
ddd91edc
Aug  5 17:18:45 tomcat02 kernel:  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0069
Aug  5 17:18:45 tomcat02 kernel: Process javac (pid: 2284, ti=ddd90000 
task=dddf35c0 task.ti=ddd90000)
Aug  5 17:18:45 tomcat02 kernel: Stack: c05a5848 00000001 00000001 0000000e 
b7f9c000 ffffffea 00000200 00000065
Aug  5 17:18:45 tomcat02 kernel:        00000000 00000000 b7f9c000 c02592b4 
00000065 00000000 df734890 00000000
Aug  5 17:18:45 tomcat02 kernel:        000b7f9c 00000000 00000000 dfce6034 
ddec2ec8 dfce6000 b7f9d000 ddc8cbb0
Aug  5 17:18:45 tomcat02 kernel: Call Trace:
Aug  5 17:18:45 tomcat02 kernel:  [<c02592b4>] mprotect_fixup+0x4b4/0x610
Aug  5 17:18:45 tomcat02 kernel:  [<c0259554>] sys_mprotect+0x144/0x1d0
Aug  5 17:18:45 tomcat02 kernel:  [<c0206c22>] syscall_call+0x7/0xb
Aug  5 17:18:45 tomcat02 kernel:  =======================
Aug  5 17:18:45 tomcat02 kernel: Code: 00 83 c3 20 89 54 24 08 89 74 24 04 c7 
04 24 48 58 5a c0 89 44 24 0c e8 84 fc 01 00 8b 95 00 0b 00 00 39 d6 72 c3 e9 
25 ff ff ff <0f> 0b eb fe 0f 0b eb fe 8d b6 00 00 00 00 8d bc 27 00 00 00 00
Aug  5 17:18:45 tomcat02 kernel: EIP: [<c020248b>] xen_mc_flush+0x16b/0x180 
SS:ESP 0069:ddd91edc
Aug  5 17:18:45 tomcat02 kernel: ---[ end trace 8011281f462e176f ]---

Xm dmesg :

(XEN) mm.c:645:d50 Non-privileged (50) attempt to map I/O space 00000000
(XEN) mm.c:645:d51 Non-privileged (51) attempt to map I/O space 00000000

Javac and java were configured by update-alternatives to use sun-java-5-jdk, 
but same problem with sun-java-6-jdk and openjdk-6-jdk, the Guest (Lenny or 
Etch) crash.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel