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

[Xen-devel] dom0 kernel crashes with kernel panic during boot

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] dom0 kernel crashes with kernel panic during boot
From: Jan Kundrat <jan.kundrat@xxxxxx>
Date: Sun, 14 Nov 2004 22:15:18 +0100 (CET)
Delivery-date: Mon, 15 Nov 2004 08:21:16 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Hi there,
I've just built xen & dom0 kernel from gentoo ebuilds (bugs.gentoo.org), 
but my dom0 kernel crashes during boot.
Any help is appreciated. Console log, grub.conf and .config are included, 
machine is celeron/466, 128MB of RAM.

Console log:

Linux version 2.6.9-xen0 (root@zirafa) (gcc version 3.3.4 20040623 (Gentoo 
Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)) #2 Sun Nov 14 19:19:39 CET 2004
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000002000000 (usable)
32MB LOWMEM available.
DMI not present.
Built 1 zonelists
Kernel command line: root=/dev/hda3 ro console=ttyS0,115200n8
Initializing CPU#0
PID hash table entries: 256 (order: 8, 4096 bytes)
Xen reported: 467.733 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Linux version 2.6.9-xen0 (root@zirafa) (gcc version 3.3.4 20040623 (Gentoo 
Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)) #2 Sun Nov 14 19:19:39 CET 2004
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000002000000 (usable)
32MB LOWMEM available.
DMI not present.
Built 1 zonelists
Kernel command line: root=/dev/hda3 ro console=ttyS0,115200n8
Initializing CPU#0
PID hash table entries: 256 (order: 8, 4096 bytes)
Xen reported: 467.733 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Unable to handle kernel NULL pointer dereference at virtual address 
00000000
 printing eip:
c010ad74
*pde = ma 00000000 pa 55555000
 [<c0107a1b>] evtchn_do_upcall+0xab/0x110

 [<c010c8bb>] hypervisor_callback+0x33/0x49

 [<c010796a>] force_evtchn_callback+0xa/0x10

 [<c02f0760>] start_kernel+0x170/0x190

 [<c02f0350>] unknown_bootoption+0x0/0x180

Oops: 0002 [#1]
PREEMPT
Modules linked in:
CPU:    0
EIP:    0061:[<c010ad74>]    Not tainted VLI
EFLAGS: 00211286   (2.6.9-xen0)
EIP is at do_IRQ+0x94/0x1b0
eax: c02b1d60   ebx: 00000ff4   ecx: c02b4880   edx: c02b4880
esi: 00000000   edi: c02ef000   ebp: c02eb800   esp: c02eff5c
ds: 0069   es: 0069   ss: 0069
Process swapper (pid: 0, threadinfo=c02ef000 task=c02b1d60)
Stack: 00000080 c011cbde c031ed40 c02b4880 00000008 00000000 fbffc000 
00000000
       c0107a1b 00000080 c02effa8 00000001 c02effa8 00000000 c033e200 
c0310220
       c02ef000 c010c8bb c02effa8 00000000 c02b5b84 00000000 c033e200 
c0310220
Call Trace:
 [<c011cbde>] __call_console_drivers+0x5e/0x60

 [<c0107a1b>] evtchn_do_upcall+0xab/0x110

 [<c010c8bb>] hypervisor_callback+0x33/0x49

 [<c010796a>] force_evtchn_callback+0xa/0x10

 [<c02f0760>] start_kernel+0x170/0x190

 [<c02f0350>] unknown_bootoption+0x0/0x180

Code: 0c 85 c9 74 7c 89 df 8b 35 00 d0 30 c0 ff 4f 14 8b 47 08 a8 08 0f 85 
16 01 00 00 39 f7 0f 84 ed 00 00 00 8b 07 8d 9e f4 0f 00 00 <89> 06 89 e0 
89 46 30 8b 54 24 0c 89 96 fc 0f 00 00 8b 44 24 28
 <0>Kernel panic - not syncing: Fatal exception in interrupt

------------------------- end of log ----------------

my grub.conf looks like:
--- begin ---
title Xen 2.0 / XenLinux 2.6.9
kernel (hd0,0)/xen.gz dom0_mem=32768 com0=115200,8n1
module (hd0,0)/vmlinuz-2.6.9-xen0 root=/dev/hda3 ro console=ttyS0,115200n8
--- end ---

and .config of dom0 (cleaned up by `grep -Ev "^#" 
/usr/src/linux-2.6.9-xen0/.config | cat -s`):

--- begin ---
CONFIG_XEN=y
CONFIG_ARCH_XEN=y
CONFIG_NO_IDLE_HZ=y

CONFIG_XEN_PRIVILEGED_GUEST=y
CONFIG_XEN_PHYSDEV_ACCESS=y
CONFIG_XEN_BLKDEV_BACKEND=y
CONFIG_XEN_NETDEV_BACKEND=y
CONFIG_XEN_WRITABLE_PAGETABLES=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_FOREIGN_PAGES=y
CONFIG_HAVE_ARCH_DEV_ALLOC_SKB=y
CONFIG_X86=y

CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN=y
CONFIG_BROKEN_ON_SMP=y

CONFIG_LOCALVERSION=""
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BSD_PROCESS_ACCT_V3=y
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_HOTPLUG=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
CONFIG_SHMEM=y

CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
CONFIG_KMOD=y

CONFIG_XENARCH="i386"
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_MPENTIUMII=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_PREEMPT=y
CONFIG_X86_CPUID=y

CONFIG_NOHIGHMEM=y
CONFIG_HAVE_DEC_LOCK=y

CONFIG_PCI=y
CONFIG_PCI_DIRECT=y

CONFIG_EARLY_PRINTK=y
CONFIG_4KSTACKS=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_X86_STD_RESOURCES=y
CONFIG_PC=y

CONFIG_BINFMT_ELF=y

CONFIG_PREVENT_FIRMWARE_BUILD=y

CONFIG_BLK_CPQ_CISS_DA=y
CONFIG_BLK_DEV_LOOP=m

CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_IDECD=m
CONFIG_IDE_TASK_IOCTL=y

CONFIG_IDE_GENERIC=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_PIIX=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y

CONFIG_NET=y

CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y

CONFIG_NETFILTER=y
CONFIG_BRIDGE_NETFILTER=y

CONFIG_IP_NF_IPTABLES=m

CONFIG_BRIDGE=y

CONFIG_NETDEVICES=y

CONFIG_NET_ETHERNET=y
CONFIG_MII=y

CONFIG_NET_TULIP=y
CONFIG_TULIP=y
CONFIG_NET_PCI=y
CONFIG_PCNET32=y
CONFIG_8139TOO=m
CONFIG_8139TOO_PIO=y

CONFIG_INPUT=y

CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768

CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y

CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y

CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y

CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_NR_UARTS=2

CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256

CONFIG_VGA_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y

CONFIG_EXT2_FS=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_JBD=y
CONFIG_FS_MBCACHE=y
CONFIG_FS_POSIX_ACL=y

CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=m

CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"

CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
CONFIG_DEVFS_FS=y
CONFIG_DEVFS_MOUNT=y
CONFIG_TMPFS=y
CONFIG_RAMFS=y

CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=m
CONFIG_SUNRPC=m

CONFIG_MSDOS_PARTITION=y

CONFIG_NLS=m
CONFIG_NLS_DEFAULT="utf-8"
CONFIG_NLS_CODEPAGE_437=m
CONFIG_NLS_CODEPAGE_850=m
CONFIG_NLS_CODEPAGE_852=m
CONFIG_NLS_CODEPAGE_1250=m
CONFIG_NLS_ISO8859_1=m
CONFIG_NLS_ISO8859_2=m
CONFIG_NLS_UTF8=m

CONFIG_CRC32=y
CONFIG_ZLIB_INFLATE=m
--- end ---

-- 
Jan Kundrat
jan.kundrat@xxxxxx



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel