Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: recent linux kernel for xen 3.1.4



On Mon, Jan 19, 2009 at 09:47:21AM -0500, Todd Deshane wrote:
> On Mon, Jan 19, 2009 at 8:01 AM, Manuel Bouyer 
> <bouyer%antioche.eu.org@localhost> wrote:
> >
> > On Sat, Jan 17, 2009 at 09:58:20PM -0500, Todd Deshane wrote:
> > > On Sat, Jan 17, 2009 at 9:25 AM, Manuel Bouyer 
> > > <bouyer%antioche.eu.org@localhost> wrote:
> > > > Hi
> > > > has anyone a linux recent linux kernel that would work as
> > > > xen 3.1.4 domain0 on fedora 10 ? I tried to build a 2.6.28 kernel, but
> > > > it doens't boot: all I get on console it:
> > >
> > > Have you tried the Novell-patched 2.6.27 kernel
> > > see:
> > > http://markmail.org/search/?q=stop+gap+keir+#query:stop%20gap%20keir%20+page:1+mid:nkc2xseocos747kv+state:results
> >
> > I couldn't get this one to work either, all I get is:
> > (XEN) Xen is relinquishing VGA console.
> > (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input 
> > to Xen).
> > (XEN) Freed 112kB init memory.
> > Kernel alive
> > Kernel really alive
> > (XEN) Domain 0 crashed: rebooting machine in 5 seconds.
> >
> > I get the same with xen33 and xen3.1.4
> 
> Can you setup a serial console for it and add in debug/verbose messages:
> 
> Example:
>  kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all
> com1=19200,8n1 console=com1
>  module /vmlinuz-2.6.28-rc8-tip.gz ro root=/dev/vg00/lv01 console=hvc0
> earlyprintk=xen
> 
> Most likely the dom0 kernel is crashing due to missing a driver or 
> something...
> Or some other kernel panic condition maybe.

It's a segfault in the kernel:

(XEN)  Phys-Mach map: ffffffff8159d000->ffffffff817616c8
(XEN)  Start info:    ffffffff81762000->ffffffff817624a4
(XEN)  Page tables:   ffffffff81763000->ffffffff81772000
(XEN)  Boot stack:    ffffffff81772000->ffffffff81773000
(XEN)  TOTAL:         ffffffff80000000->ffffffff81800000
(XEN)  ENTRY ADDRESS: ffffffff80200000
(XEN) Dom0 has maximum 2 VCPUs
(XEN) elf_load_binary: phdr 0 at 0xffffffff80200000 -> 0xffffffff8121a000
(XEN) elf_load_binary: phdr 1 at 0xffffffff8121a000 -> 0xffffffff8140f200
(XEN) elf_load_binary: phdr 2 at 0xffffffff81410000 -> 0xffffffff81410888
(XEN) elf_load_binary: phdr 3 at 0xffffffff81412000 -> 0xffffffff81491220
(XEN) Scrubbing Free RAM: done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to 
Xen)
(XEN) Freed 120kB init memory.
Kernel alive
Kernel really alive
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.27.5 (geeko@buildhost) (gcc version 4.3.2 20081105 (Red Hat 
4.3.2-7) (GCC) ) #2 SMP Mon Jan 19 13:40:40 CET 2009
Command line: ro root=UUID=78011550-4713-4ed2-81c8-c11ffd52e344 console=hvc0 
earlyprintk=xen
KERNEL supported cpus:
  Intel GenuineIntel
  AMD AuthenticAMD
  Centaur CentaurHauls
Xen-provided physical RAM map:
 Xen: 0000000000000000 - 00000000390d9000 (usable)
console [earlyser0] enabled
last_pfn = 0x390d9 max_arch_pfn = 0xdffffff
init_memory_mapping
last_map_addr: 390d9000 end: 390d9000
(4 early reservations) ==> bootmem [0000000000 - 00388d9000]
  #0 [0000200000 - 000159c674]    TEXT DATA BSS ==> [0000200000 - 000159c674]
  #1 [000159d000 - 0001772000]     Xen provided ==> [000159d000 - 0001772000]
  #2 [0001772000 - 0001773000]          INITMAP ==> [0001772000 - 0001773000]
  #3 [0001773000 - 000193f000]          PGTABLE ==> [0001773000 - 000193f000]
Zone PFN ranges:
  DMA      0x00000000 -> 0x00001000
  DMA32    0x00001000 -> 0x00100000
  Normal   0x00100000 -> 0x00100000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x000390d9
PERCPU: Allocating 33312 bytes of per cpu data
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 230494
Kernel command line: ro root=UUID=78011550-4713-4ed2-81c8-c11ffd52e344 
console=hvc0 earlyprintk=xen
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Xen reported: 2327.524 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Software IO TLB disabled
Memory: 887808k/934756k available (11295k kernel code, 38340k reserved, 7031k 
data, 444k init)
Calibrating delay using timer specific routine.. 4658.66 BogoMIPS (lpj=2329330)
Security Framework initialized
SELinux:  Initializing.
Mount-cache hash table entries: 256
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys devices
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
SMP alternatives: switching to UP code
Brought up 1 CPUs
net_namespace: 1320 bytes
xor: automatically using best checksumming function: generic_sse
   generic_sse:  5208.000 MB/sec
xor: using function: generic_sse (5208.000 MB/sec)
NET: Registered protocol family 16
BUG: unable to handle kernel paging request at ffff87fffffff804
IP: [<ffffffff8097f7f3>] xb_init_comms+0x10/0xb6
PGD 0
Oops: 0000 [1] SMP
last sysfs file:
CPU 0
Pid: 1, comm: swapper Not tainted 2.6.27.5 #2
RIP: e030:[<ffffffff8097f7f3>]  [<ffffffff8097f7f3>] xb_init_comms+0x10/0xb6
RSP: e02b:ffff880038461e50  EFLAGS: 00010286
RAX: ffffffff8157add0 RBX: ffff87fffffff000 RCX: 0000000000003c3c
RDX: ffffffff8157ad40 RSI: ffffffff8117af6b RDI: ffffffff8157adc8
RBP: ffff880038461e60 R08: ffff880038450ac8 R09: ffff8800385322c0
R10: ffff880038461d50 R11: 000000000000000c R12: ffffffffffffffff
R13: ffffffff8144b4e3 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff81401a00(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process swapper (pid: 1, threadinfo ffff880038460000, task ffff88003845e040)
Stack:  ffff880038461e70 ffffffff8147bd18 ffff880038461e80 ffffffff8097fce4
 ffffffff8147bd18 ffffffffffffffff ffff880038461ea0 ffffffff8144b58f
 ffff880038461ea0 ffffffff8147bd18 ffff880038461f10 ffffffff80208047
Call Trace:
 [<ffffffff8097fce4>] xs_init+0xa0/0x118
 [<ffffffff8144b58f>] xenbus_probe_init+0xac/0x111
 [<ffffffff80208047>] _stext+0x47/0x15a
 [<ffffffff802d0000>] ? load_elf_binary+0xd49/0x190d
 [<ffffffff814233f8>] kernel_init+0x126/0x17a
 [<ffffffff80d031cf>] ? trace_hardirqs_on_thunk+0x3a/0x3c
 [<ffffffff8020b419>] child_rip+0xa/0x11
 [<ffffffff8020b1e5>] ? restore_all_enable_events+0x5/0x9
 [<ffffffff814232d2>] ? kernel_init+0x0/0x17a
 [<ffffffff8020b40f>] ? child_rip+0x0/0x11


Code: b6 bf 00 55 48 89 e5 8b 82 08 08 00 00 3b 82 0c 08 00 00 c9 0f 95 c0 0f 
b6 c0 c3 55 48 89 e5 53 48 83 ec 08 48 8b 1d fd b5 bf 00 <8b> 93 04 08 00 00 8b 
b3 00 08 00 00 39 f2 74 0e 48 c7 c7 7f ae
RIP  [<ffffffff8097f7f3>] xb_init_comms+0x10/0xb6
 RSP <ffff880038461e50>
CR2: ffff87fffffff804
---[ end trace 4eaa2a86a8e2da22 ]---
Kernel panic - not syncing: Attempted to kill init!
(XEN) Domain 0 crashed: rebooting machine in 5 seconds.


-- 
Manuel Bouyer, LIP6, Universite Paris VI.           
Manuel.Bouyer%lip6.fr@localhost
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index