[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] XEN & DRBD
Mark Williamson wrote: Try also supplying ARCH=xen to the DRBD make command... Cheers, Mark Yes, it works. Now I have drbd up and running under domU.Just to give a complete information to have drbd work on his iface (eth1) before booting I give also the following commands: /etc/init.d/xend start (This create bridge xen-br0 with eth0) /etc/xen/scripts/network start bridge=xen-br1 netdev=eth1 antispoof=no (the last one create a new bridge for eth1). Thaks a lot Andrea Gelpi On Tuesday 18 October 2005 22:21, gelpi@xxxxxxxxx wrote:Hi, I'm trying to have drbd running on xen. I was able to have it working under dom0 but not under domU. This is the sequence of commands I use on a debian sarge (stable) to have drbd working on dom0: 0) Install xen from binaries 1) Download xen-2.0.7-src.tgz 2) untar it 3) make kernels 5) apt-get install drbd0.7-module-source 6) untar drbd 7) make KDIR=~/xen-2.0/linux-2.6.11-xen0 8) make install 9) reboot Now drbd seems to work under dom0. (modprobe drbd is ok). For domU I have change 7 with: 7) make KDIR=~/xen-2.0/linux-2.6.11-xenU Before booting domU I copied /lib/modules/2.6.11-xenU in /lib/modules of domU But after booting domU when I try drbd I get: test2:~# modprobe drbd general protection fault: 0000 [#1] PREEMPT Modules linked in: drbd CPU: 0 EIP: 0061:[<d08bb500>] Not tainted VLI EFLAGS: 00010286 (2.6.11.12-xenU) EIP is at _drbd_alloc_ee+0x80/0xe0 [drbd] eax: c11e7da0 ebx: cf3e16c4 ecx: 00000000 edx: fbffc000 esi: cf3e1718 edi: cf3e1724 ebp: cf3e16b8 esp: cf399f28 ds: 007b es: 007b ss: 0069 Process modprobe (pid: 7082, threadinfo=cf398000 task=cf34c0a0) Stack: cf3e16c4 000000d0 c11e7da0 00000000 cf3ba000 00000000 d08bb5a1 cf3ba000 c11e7da0 000000d0 cf3ba000 d08bb6e2 cf3ba000 000000d0 000000d0 c11e78a0 d08d731b cf3ba000 00000018 cf3ba000 00000001 000009a0 00000000 0000001e Call Trace: [<d08bb5a1>] drbd_alloc_ee+0x41/0x70 [drbd] [<d08bb6e2>] drbd_init_ee+0x32/0x70 [drbd] [<d08d731b>] init_module+0x31b/0x480 [drbd] [<c0132af3>] sys_init_module+0x183/0x240 [<c0109258>] 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 c745 50 00 00 00 00 <fa> b8 00 e0c 8b 4c 24 1c 8b 93 Segmentation fault Ideas? Andrea Gelpi _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |