Re: [Fedora-xen] Fedora 16 Xen Dom0 problem

2011-08-07 Thread Pasi Kärkkäinen
On Fri, Aug 05, 2011 at 08:49:02PM +0300, Marko Ristola wrote:
 
 Hi.
 
 I think that I hit to the following bug on 3.0 kernel on current Fedora 16.
 I can't get over it to boot Dom0 under Xen.
 
 Regards,
 Marko Ristola
 
 Subject:  Re: [Xen-devel] Re: xen 4.1.1 with current linus tree as dom0 [ 
 0.00] BUG: unable to handle kernel NULL pointer dereference at (null) [ 
 0.00] IP: [810074d4] xen_set_pte+0x24/0xe0
 http://lists.xensource.com/archives/html/xen-devel/2011-08/msg00113.html
 

I *think* this is a known problem, and there is already a fix available/sent to 
lkml.
So I suggest you to try again when 3.1 rc1/rc2 is released.

Also it's best to report issues like this to xen-de...@lists.xensource.com 
mailinglist (subscription needed).

Thanks,

-- Pasi

 Here is my console output:
 
  snip 
 
 
 [0.00] Movable zone start PFN for each node
 [0.00] early_node_map[3] active PFN ranges
 [0.00] 0: 0x0010 - 0x009f
 [0.00] 0: 0x0100 - 0x0004
 [0.00] 0: 0x0010 - 0x0017fff0
 (XEN) mm.c:907:d0 Error getting mfn 1b78 (pfn ) from L1 entry 
 81b78465 for l1e_owner=0, pg_owner=0
 (XEN) mm.c:4967:d0 ptwr_emulate: could not get_page_from_l1e()
 [0.00] BUG: unable to handle kernel NULL pointer dereference at   
 (null)
 [0.00] IP: [8100643d] __xen_set_pte+0x51/0x5b
 [0.00] PGD 0
 [0.00] Oops: 0003 [#1] SMP
 [0.00] CPU 0
 [0.00] Modules linked in:
 [0.00]
 [0.00] Pid: 0, comm: swapper Not tainted 
 3.1.0-0.rc0.git19.1.fc17.x86_64 #1 FUJITSU SIEMENS A8NE-FM/A8NE-FM
 [0.00] RIP: e030:[8100643d]  [8100643d] 
 __xen_set_pte+0x51/0x5b
 [0.00] RSP: e02b:81a01da8  EFLAGS: 00010096
 [0.00] RAX:  RBX: 880001e37ff8 RCX: 
 829ab000
 [0.00] RDX: 1001 RSI: 81b78465 RDI: 
 880001e37ff8
 [0.00] RBP: 81a01dc8 R08:  R09: 
 7ff0
 [0.00] R10: 7ff0 R11: 7ff0 R12: 
 81b78465
 [0.00] R13: 4000 R14:  R15: 
 
 [0.00] FS:  () GS:81b79000() 
 knlGS:
 [0.00] CS:  e033 DS:  ES:  CR0: 80050033
 [0.00] CR2:  CR3: 01a04000 CR4: 
 0660
 [0.00] DR0:  DR1:  DR2: 
 
 [0.00] DR3:  DR6:  DR7: 
 
 [0.00] Process swapper (pid: 0, threadinfo 81a0, task 
 81a0c020)
 [0.00] Stack:
 [0.00]  829ab000 829ab000 880001e37ff8 
 81b78465
 [0.00]  81a01df8 81006562 7ff0 
 ff5ff000
 [0.00]  81b78465 4000 81a01e08 
 81032db4
 [0.00] Call Trace:
 [0.00]  [81006562] xen_set_pte+0x75/0x95
 [0.00]  [81032db4] set_pte+0x10/0x12
 [0.00]  [810332dd] set_pte_vaddr_pud+0x3c/0x4b
 [0.00]  [81033361] set_pte_vaddr+0x75/0x7a
 [0.00]  [810367ef] __native_set_fixmap+0x27/0x2f
 [0.00]  [81005119] xen_set_fixmap+0x8c/0xbb
 [0.00]  [81d54324] map_vsyscall+0x50/0x55
 [0.00]  [81d53a72] setup_arch+0xa7e/0xb2f
 [0.00]  [814e9583] ? printk+0x51/0x53
 [0.00]  [81d4e8a3] start_kernel+0xe1/0x3ea
 [0.00]  [81d4e2c4] x86_64_start_reservations+0xaf/0xb3
 [0.00]  [81d50f0f] xen_start_kernel+0x57f/0x586
 [0.00] Code: df e8 18 04 03 00 48 89 c7 e8 7c ee ff ff 48 8d 7d e0 48 
 89 45 e0 4c 89 65 e8 e8 fd f4 ff ff bf 01 00 00 00 e8 a4 f7 ff ff eb 03 4c 
 89 23 58 5a 5b 41 5c 5d c3 55 48 89 e5 41 57 41 56 41 55 41
 [0.00] RIP  [8100643d] __xen_set_pte+0x51/0x5b
 [0.00]  RSP 81a01da8
 [0.00] CR2: 
 [0.00] ---[ end trace a7919e7f17c0a725 ]---
 [0.00] Kernel panic - not syncing: Attempted to kill the idle task!
 --- snip ---
 
 --
 xen mailing list
 xen@lists.fedoraproject.org
 https://admin.fedoraproject.org/mailman/listinfo/xen
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen


[Fedora-xen] Fedora 15 Xen Kernel Make w/Mutex Errors

2011-08-07 Thread Michael J. Fuhrman

  
  
Dear Community,

Has anyone else run into this make issue. Near the end of the
compile, I get the following errors:

kernel/built-in.o: In function `.text.lock.mutex':
mutex.c:(.sched.text+0x1a45): undefined reference to
`__mutex_lock_slowpath'
mutex.c:(.sched.text+0x1a4f): undefined reference to
`__mutex_unlock_slowpath'

===

Following instructions from "http://wiki.xen.org/xenwiki/Xen4.0",
I reran the package installs to make sure they were updated. I also
downloaded an installed the Fedora 15 source files, following
instructions from "http://fedoraproject.org/wiki/Building_a_custom_kernel".

Suggestions?

Mike,

===

[ ... xen-4.1.1]# make kernels KERNELS="linux-2.6-xen0
linux-2.6-xenU"
for i in linux-2.6-xen0 linux-2.6-xenU ; do make $i-install ||
exit 1; done
make[1]: Entering directory `/tmp/xen-4.1.1'
make -f buildconfigs/mk.linux-2.6-xen0 build
make[2]: Entering directory `/tmp/xen-4.1.1'
if grep "^CONFIG_MODULES=" build-linux-2.6.18-xen0_x86_64/.config ;
then \
 make -C build-linux-2.6.18-xen0_x86_64 ARCH=$(sh
buildconfigs/select-linux-arch linux-2.6.18-xen.hg) modules || exit
1 ; \
 make -C build-linux-2.6.18-xen0_x86_64 ARCH=$(sh
buildconfigs/select-linux-arch linux-2.6.18-xen.hg)
INSTALL_MOD_PATH=/tmp/xen-4.1.1/dist/install modules_install ; \
fi
CONFIG_MODULES=y
select-linux-arch: x86_64
make[3]: Entering directory
`/tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64'
make -C /tmp/xen-4.1.1/linux-2.6.18-xen.hg
O=/tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64 modules
 Using /tmp/xen-4.1.1/linux-2.6.18-xen.hg as source for kernel
 GEN /tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64/Makefile
 CHK include/linux/version.h
 CHK include/linux/utsrelease.h
 Building modules, stage 2.
 MODPOST
make[3]: Leaving directory
`/tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64'
select-linux-arch: x86_64
make[3]: Entering directory
`/tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64'
make -C /tmp/xen-4.1.1/linux-2.6.18-xen.hg
O=/tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64 modules_install
 INSTALL crypto/crc32c.ko
 INSTALL crypto/des.ko
 INSTALL crypto/md5.ko
 INSTALL crypto/sha1.ko
 INSTALL drivers/acpi/ac.ko
 INSTALL drivers/acpi/asus_acpi.ko
 INSTALL drivers/acpi/battery.ko
 INSTALL drivers/acpi/button.ko
 INSTALL drivers/acpi/container.ko
 INSTALL drivers/acpi/dock.ko
 INSTALL drivers/acpi/fan.ko
 INSTALL drivers/acpi/hotkey.ko
 INSTALL drivers/acpi/ibm_acpi.ko
 INSTALL drivers/acpi/processor.ko
 INSTALL drivers/acpi/thermal.ko
 INSTALL drivers/acpi/toshiba_acpi.ko
 INSTALL drivers/acpi/video.ko
 INSTALL drivers/char/agp/agpgart.ko
 INSTALL drivers/char/agp/intel-agp.ko
 INSTALL drivers/char/agp/sis-agp.ko
 INSTALL drivers/char/agp/via-agp.ko
 INSTALL drivers/char/drm/drm.ko
 INSTALL drivers/char/drm/i810.ko
 INSTALL drivers/char/drm/i830.ko
 INSTALL drivers/char/drm/i915.ko
 INSTALL drivers/char/drm/mga.ko
 INSTALL drivers/char/drm/r128.ko
 INSTALL drivers/char/drm/radeon.ko
 INSTALL drivers/char/drm/sis.ko
 INSTALL drivers/char/drm/tdfx.ko
 INSTALL drivers/net/imq.ko
 INSTALL drivers/rtc/rtc-cmos.ko
 INSTALL drivers/rtc/rtc-core.ko
 INSTALL drivers/rtc/rtc-dev.ko
 INSTALL drivers/rtc/rtc-lib.ko
 INSTALL drivers/rtc/rtc-m48t86.ko
 INSTALL drivers/rtc/rtc-proc.ko
 INSTALL drivers/rtc/rtc-sysfs.ko
 INSTALL drivers/rtc/rtc-test.ko
 INSTALL drivers/xen/scsifront/xenscsi.ko
 INSTALL fs/exportfs/exportfs.ko
 INSTALL fs/fat/fat.ko
 INSTALL fs/msdos/msdos.ko
 INSTALL fs/nfsd/nfsd.ko
 INSTALL fs/vfat/vfat.ko
 INSTALL net/ipv4/netfilter/ip_conntrack.ko
 INSTALL net/ipv4/netfilter/ip_conntrack_ftp.ko
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F
System.map -b /tmp/xen-4.1.1/dist/install -r 2.6.18.8-xen0; fi
make[3]: Leaving directory
`/tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64'
make -C build-linux-2.6.18-xen0_x86_64 ARCH=$(sh
buildconfigs/select-linux-arch linux-2.6.18-xen.hg)
INSTALL_PATH=/tmp/xen-4.1.1/dist/install vmlinuz
select-linux-arch: x86_64
make[3]: Entering directory
`/tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64'
make -C /tmp/xen-4.1.1/linux-2.6.18-xen.hg
O=/tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64 vmlinuz
 Using /tmp/xen-4.1.1/linux-2.6.18-xen.hg as source for kernel
 GEN /tmp/xen-4.1.1/build-linux-2.6.18-xen0_x86_64/Makefile
 CHK include/linux/version.h
 CHK include/linux/utsrelease.h
 CHK include/linux/compile.h
dnsdomainname: Name or service not known
 GEN usr/initramfs_data.cpio.gz
 AS usr/initramfs_data.o
 LD usr/built-in.o
 GEN