master@bradleyland.com
2005-Oct-03 05:13 UTC
[Xen-users] drbd and xen 2.0.7 in guest won''t load
I''ve been trying to get drbd to work on a FC4 guest. I''ve been able to compile drbd and get it to modprobe on dom0. I compile drbd for the guest as make CC=gcc32 KDIR=/root/downloads/xen-2.0/linux-2.6.11-xenU and copy the file into /lib/modules/2.6.11.12-xenU. depmod -a has been done as well and then get the following error. Any ideas what I should look at? Something I need to change in the guest kernel config? [root@theta 2.6.11.12-xenU]# modprobe drbd general protection fault: 0000 [#1] PREEMPT Modules linked in: drbd CPU: 0 EIP: 0061:[<c8842a42>] Not tainted VLI EFLAGS: 00010246 (2.6.11.12-xenU) EIP is at _drbd_alloc_ee+0x82/0xe0 [drbd] eax: c10ce700 ebx: c67516c4 ecx: 00000000 edx: fbffc000 esi: c6751718 edi: c6751724 ebp: c67516b8 esp: c64ddf28 ds: 0069 es: 0069 ss: 0069 Process modprobe (pid: 1832, threadinfo=c64dc000 task=c6af8aa0) Stack: c67516c4 000000d0 c10ce700 00000001 00000000 00000000 c8842ae0 c6ada000 c10ce700 000000d0 c6ada000 c8842c11 c6ada000 000000d0 000000d0 c6ada000 c885e339 c6ada000 00000018 c6ada000 00000001 00000990 00000000 0000001e Call Trace: [<c8842ae0>] drbd_alloc_ee+0x40/0x60 [drbd] [<c8842c11>] drbd_init_ee+0x31/0x70 [drbd] [<c885e339>] init_module+0x339/0x46b [drbd] [<c01334f7>] sys_init_module+0x227/0x260 [<c0109308>] syscall_call+0x7/0xb Code: 45 60 c7 43 1c 00 10 00 00 66 c7 43 14 01 00 c7 43 28 01 00 00 00 c7 46 08 00 00 00 00 c7 45 4c 00 00 00 00 c7 45 50 00 00 00 00 <fa> b8 00 e0 ff ff 21 e0 ff 40 14 8b 5c 24 1c 8b 4c 24 1c 8b 93 Segmentation fault [root@theta 2.6.11.12-xenU] _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> I''ve been trying to get drbd to work on a FC4 guest. I''ve been able to > compile drbd and get it to modprobe on dom0. I compile drbd for the guest > as > > make CC=gcc32 KDIR=/root/downloads/xen-2.0/linux-2.6.11-xenUmake clean; make CC=gcc32 KDIR=/root/downloads/xen-2.0/linux-2.6.11-xenU ARCH=xen Regards Franck -- http://www.linuxpourtous.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
master@bradleyland.com
2005-Oct-03 19:14 UTC
Re: [Xen-users] drbd and xen 2.0.7 in guest won''t load
>> I''ve been trying to get drbd to work on a FC4 guest. I''ve been able to >> compile drbd and get it to modprobe on dom0. I compile drbd for the guest >> as >> >> make CC=gcc32 KDIR=/root/downloads/xen-2.0/linux-2.6.11-xenU > >make clean; make CC=gcc32 KDIR=/root/downloads/xen-2.0/linux-2.6.11-xenU >ARCH=xenThanks Franck. Setting ARCH=xen did the trick. Cheers, Dave _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users