Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Dear drbd-user, I could not get the drbd version 8 up and running on RHEL4, FC5 as well as on Vmware Workstation 5.5.1 with RHEL4 and FC5 installed. Please let me know on how to get further... FC5 running on Vmware: ********************** drbd: initialised. Version: 8.0-pre2 (api:81/proto:80) drbd: SVN Revision: 2143 build by root at emdc-devel.in-geseke.de, 2006-04-10 07:41 :28 drbd: registered as block device major 147 drbd0: disk( Diskless -> Attaching ) drbd0: drbd_bm_resize called with capacity == 786336 drbd0: bits = 98292 in /usr/src/redhat/BUILD/drbd-0.8/drbd/drbd_bitmap.c:369 drbd0: resync bitmap: bits=98292 words=3072 drbd0: size = 383 MB (393168 KB) Unable to handle kernel NULL pointer dereference at virtual address 00000004 printing eip: c01c4d3c *pde = 00000000 Oops: 0000 [#1] last sysfs file: /block/drbd0/dev Modules linked in: drbd(U) ipv6 autofs4 hidp rfcomm l2cap bluetooth sunrpc ip_co nntrack_netbios_ns ipt_REJECT xt_state ip_conntrack nfnetlink xt_tcpudp iptable_ filter ip_tables x_tables acpi_cpufreq video button battery ac lp parport_pc par port floppy nvram pcnet32 mii i2c_piix4 i2c_core dm_snapshot dm_zero dm_mirror d m_mod ext3 jbd CPU: 0 EIP: 0060:[<c01c4d3c>] Not tainted VLI EFLAGS: 00010046 (2.6.16-1.2080_FC5 #1) EIP is at _raw_spin_lock+0x5/0xd3 eax: 00000000 ebx: 00000000 ecx: 00000000 edx: 00000003 esi: 00000000 edi: cc8ea380 ebp: 00000000 esp: cc821c64 ds: 007b es: 007b ss: 0068 Process drbdsetup (pid: 1757, threadinfo=cc821000 task=ccf79000) Stack: <0>00000246 00000000 cc8ea380 c02dc5cc cf96002c c01b7892 cc4c8800 0000000 0 d09db7df 00000001 cc4c8800 ce693ec0 00000003 ffffe06f cc8ea380 ce693b40 d098d000 c1000000 00000003 00000000 000bffa0 d09eb966 00000000 00000101 Call Trace: [<c02dc5cc>] _spin_lock_irqsave+0x9/0xd [<c01b7892>] blk_run_queue+0xf/0x37 [<d09db7df>] drbd_bm_rw+0x16f/0x3bf [drbd] [<d09eb966>] drbd_al_shrink+0x19 e/0x1a6 [drbd] [<c011ac86>] printk+0x19/0xa8 [<d09dba3c>] drbd_bm_write+0xd/0x37 [drbd] [<d09decac>] drbd_determin_dev_size+0x2b3/0x338 [drbd] [<c02dc5cc>] _spin_l ock_irqsave+0x9/0xd [<c01213a7>] lock_timer_base+0x15/0x2f [<c0121aac>] __mod_timer+0x8a/0x92 [<d09dbd00>] drbd_bm_cleanup+0x0/0x59 [drbd] [<d09df199>] drbd_ioctl_set_di sk+0x468/0x700 [drbd] [<d09df72b>] drbd_ioctl+0x2fa/0x1358 [drbd] [<c01c065a>] _atomic_dec_and_lo ck+0x22/0x2c [<c01a0154>] avc_has_perm+0x3a/0x44 [<d09df431>] drbd_ioctl+0x0/0x1358 [drb d] [<c01b938d>] blkdev_driver_ioctl+0x39/0x3f [<c01b99e6>] blkdev_ioctl+0x62a/ 0x665 [<c01a0154>] avc_has_perm+0x3a/0x44 [<c01a06ef>] inode_has_perm+0x54/0x5c [<c01a0776>] file_has_perm+0x7f/0x88 [<c015898a>] block_ioctl+0x0/0x16 [<c015899d>] block_ioctl+0x13/0x16 [<c0161776>] do_ioctl+0x16/0x48 [<c01619a7>] vfs_ioctl+0x1ff/0x216 [<c0161a06>] sys_ioctl+0x48/0x62 [<c0102bc1>] syscall_call+0x7/0xb <0>Code: 08 00 74 0c ba 06 48 30 c0 89 d8 e8 ab fe ff ff c7 43 0c ff ff ff ff c7 43 08 ff ff ff ff c7 03 01 00 00 00 5b c3 57 56 53 89 c3 <81> 78 04 ad 4e ad de 74 0a ba f0 47 30 c0 e8 7d fe ff ff b8 00 Continuing in 112 seconds. Continuing in 103 seconds. Continuing in 93 seconds. Continuing in 84 seconds. Continuing in 74 seconds. Continuing in 65 seconds. Continuing in 56 seconds. Continuing in 46 seconds. Continuing in 37 seconds. Continuing in 27 seconds. Continuing in 18 seconds. Continuing in 8 seconds. Continuing in 1 seconds. <3>Debug: sleeping function called from invalid context at include/linux/rwsem. h:43 in_atomic():0, irqs_disabled():1 [<c011b557>] profile_task_exit+0x13/0x3e [<c011cdd5>] do_exit+0x1c/0x6c8 [<c0104022>] register_die_notifier+0x0/0x2f [<c02dd43e>] do_page_fault+0x375/0x51d [<c01c4d3c>] _raw_spin_lock+0x5/0xd3 [<d08523c1>] dm_request+0x11a/0x12e [dm_mod] [<c02dd0c9>] do_page_fault+0x0 /0x51d [<c010367b>] error_code+0x4f/0x54 [<c01c4d3c>] _raw_spin_lock+0x5/0xd3 [<c02dc5cc>] _spin_lock_irqsave+0x9/0xd [<c01b7892>] blk_run_queue+0xf/0x37 [<d09db7df>] drbd_bm_rw+0x16f/0x3bf [drbd] [<d09eb966>] drbd_al_shrink+0x19 e/0x1a6 [drbd] [<c011ac86>] printk+0x19/0xa8 [<d09dba3c>] drbd_bm_write+0xd/0x37 [drbd] [<d09decac>] drbd_determin_dev_size+0x2b3/0x338 [drbd] [<c02dc5cc>] _spin_l ock_irqsave+0x9/0xd [<c01213a7>] lock_timer_base+0x15/0x2f [<c0121aac>] __mod_timer+0x8a/0x92 [<d09dbd00>] drbd_bm_cleanup+0x0/0x59 [drbd] [<d09df199>] drbd_ioctl_set_di sk+0x468/0x700 [drbd] [<d09df72b>] drbd_ioctl+0x2fa/0x1358 [drbd] [<c01c065a>] _atomic_dec_and_lo ck+0x22/0x2c [<c01a0154>] avc_has_perm+0x3a/0x44 [<d09df431>] drbd_ioctl+0x0/0x1358 [drb d] [<c01b938d>] blkdev_driver_ioctl+0x39/0x3f [<c01b99e6>] blkdev_ioctl+0x62a/ 0x665 [<c01a0154>] avc_has_perm+0x3a/0x44 [<c01a06ef>] inode_has_perm+0x54/0x5c [<c01a0776>] file_has_perm+0x7f/0x88 [<c015898a>] block_ioctl+0x0/0x16 [<c015899d>] block_ioctl+0x13/0x16 [<c0161776>] do_ioctl+0x16/0x48 [<c01619a7>] vfs_ioctl+0x1ff/0x216 [<c0161a06>] sys_ioctl+0x48/0x62 [<c0102bc1>] syscall_call+0x7/0xb <4>hda: dma_timer_expiry: dma status == 0x 26 hda: DMA interrupt recovery hda: lost interrupt hda: dma_intr: status=0x51 { DriveReady SeekComplete Error } hda: dma_intr: error=0xc0 { BadSector UncorrectableError }, LBAsect=6631661, sec tor=6631661 ide: failed opcode was: unknown end_request: I/O error, dev hda, sector 6631661 hda: dma_timer_expiry: dma status == 0x26 hda: DMA interrupt recovery hda: lost interrupt hda: dma_intr: status=0x51 { DriveReady SeekComplete Error } hda: dma_intr: error=0xc0 { BadSector UncorrectableError }, LBAsect=6631669, sec tor=6631669 ide: failed opcode was: unknown end_request: I/O error, dev hda, sector 6631669 hda: dma_timer_expiry: dma status == 0x26 hda: DMA interrupt recovery hda: lost interrupt hda: dma_intr: status=0x51 { DriveReady SeekComplete Error } hda: dma_intr: error=0xc0 { BadSector UncorrectableError }, LBAsect=6631677, sec tor=6631677 ide: failed opcode was: unknown end_request: I/O error, dev hda, sector 6631677 RHEL4 running direct: Apr 10 11:46:52 nas kernel: drbd: initialised. Version: 8.0-pre2 (api:81/proto:8 0) Apr 10 11:46:52 nas kernel: drbd: SVN Revision: 2143 build by root at devel.in-gese ke.de, 2006-04-10 10:05:42 Apr 10 11:46:52 nas kernel: drbd: registered as block device major 147 Apr 10 11:46:58 nas kernel: drbd0: disk( Diskless -> Attaching ) Apr 10 11:46:58 nas kernel: klogd 1.4.1, ---------- state change ---------- Apr 10 11:46:58 nas kernel: drbd0: drbd_bm_resize called with capacity == 156243 272 Apr 10 11:46:58 nas kernel: drbd0: bits = 19530409 in /usr/src/redhat/BUILD/drbd -0.8/drbd/drbd_bitmap.c:369 Apr 10 11:46:58 nas kernel: drbd0: resync bitmap: bits=19530409 words=610326 Apr 10 11:46:58 nas kernel: drbd0: size = 74 GB (78121636 KB) Apr 10 11:47:18 nas kernel: hda: dma_timer_expiry: dma status == 0x62 Apr 10 11:47:18 nas kernel: hda: DMA timeout error Apr 10 11:47:18 nas kernel: hda: dma timeout error: status=0x58 { DriveReady See kComplete DataRequest } Apr 10 11:47:18 nas kernel: Apr 10 11:47:18 nas kernel: ide: failed opcode was: unknown Apr 10 11:47:18 nas kernel: hdb: status error: status=0x50 { DriveReady SeekComp lete } Apr 10 11:47:18 nas kernel: hdb: status error: error=0x00 Apr 10 11:47:18 nas kernel: hdb: status error: status=0x50 { DriveReady SeekComp lete } Apr 10 11:47:18 nas kernel: hdb: status error: error=0x00 Apr 10 11:47:18 nas kernel: hdb: status error: status=0x50 { DriveReady SeekComp lete } Apr 10 11:47:18 nas kernel: hdb: status error: error=0x00 Apr 10 11:47:18 nas kernel: hdb: status error: status=0x50 { DriveReady SeekComp lete } Apr 10 11:47:18 nas kernel: hdb: status error: error=0x00 Apr 10 11:47:18 nas kernel: hdb: DMA disabled Apr 10 11:47:19 nas kernel: hdb: ATAPI reset complete Apr 10 11:47:39 nas kernel: hda: dma_timer_expiry: dma status == 0x22 Apr 10 11:47:39 nas kernel: hda: DMA timeout error Apr 10 11:47:39 nas kernel: hda: dma timeout error: status=0x58 { DriveReady See kComplete DataRequest } Apr 10 11:47:39 nas kernel: Apr 10 11:47:39 nas kernel: ide: failed opcode was: unknown Apr 10 11:47:39 nas kernel: hdb: status error: status=0x50 { DriveReady SeekComp lete } Apr 10 11:47:39 nas kernel: hdb: status error: error=0x00 Apr 10 11:47:39 nas kernel: hdb: status error: status=0x50 { DriveReady SeekComp lete } Apr 10 11:47:39 nas kernel: hdb: status error: error=0x00 Apr 10 11:47:39 nas kernel: hdb: status error: status=0x50 { DriveReady SeekComp lete } Apr 10 11:47:39 nas kernel: hdb: status error: error=0x00 Apr 10 11:47:39 nas kernel: hdb: status error: status=0x58 { DriveReady SeekComp lete DataRequest } Apr 10 11:47:39 nas kernel: hdb: status error: error=0x04Aborted Command Apr 10 11:47:39 nas kernel: hdb: drive not ready for command Apr 10 11:47:39 nas kernel: hdb: ATAPI reset complete Apr 10 11:48:00 nas kernel: hda: dma_timer_expiry: dma status == 0x22 Apr 10 11:48:00 nas kernel: hda: DMA timeout error Apr 10 11:48:00 nas kernel: hda: dma timeout error: status=0x58 { DriveReady See kComplete DataRequest } Apr 10 11:48:00 nas kernel: Apr 10 11:48:00 nas kernel: ide: failed opcode was: unknown Apr 10 11:48:00 nas kernel: hdb: status error: status=0x50 { DriveReady SeekComp lete } Apr 10 11:48:00 nas kernel: hdb: status error: error=0x00 Apr 10 11:48:00 nas kernel: hdb: status error: status=0x50 { DriveReady SeekComp lete } Apr 10 11:48:00 nas kernel: hdb: status error: error=0x00 Apr 10 11:48:00 nas kernel: hdb: status error: status=0x50 { DriveReady SeekComp lete } Apr 10 11:48:00 nas kernel: hdb: status error: error=0x00 Apr 10 11:48:00 nas kernel: hdb: status error: status=0x58 { DriveReady SeekComp lete DataRequest } Apr 10 11:48:00 nas kernel: hdb: status error: error=0x04Aborted Command Apr 10 11:48:00 nas kernel: hdb: drive not ready for command Apr 10 11:48:00 nas kernel: hdb: ATAPI reset complete Apr 10 11:48:01 nas kernel: drbd0: reading of bitmap took 62441 jiffies Apr 10 11:48:01 nas kernel: drbd0: recounting of set bits took additional 76 jif fies Apr 10 11:48:01 nas kernel: drbd0: 74 GB marked out-of-sync by on disk bit-map. Apr 10 11:48:01 nas kernel: cdrom: open failed. Apr 10 11:48:01 nas kernel: drbd0: No usable activity log found. Apr 10 11:48:01 nas kernel: drbd0: disk( Attaching -> Inconsistent ) Apr 10 11:48:01 nas kernel: drbd0: Couldn't start thread (-4) Apr 10 11:48:01 nas kernel: drbd0: Writing meta data super block now. Apr 10 11:49:37 nas kernel: drbd0: disk( Inconsistent -> Diskless ) Apr 10 11:49:37 nas kernel: drbd0: _drbd_thread_stop: (thi->task == NULL) in /us r/src/redhat/BUILD/drbd-0.8/drbd/drbd_main.c:998 Apr 10 11:49:37 nas kernel: drbd0: drbd_bm_resize called with capacity == 0 Apr 10 11:49:37 nas kernel: drbd0: ASSERT( list_empty(&mdev->data.work.q) ) in / usr/src/redhat/BUILD/drbd-0.8/drbd/drbd_main.c:1997 Apr 10 11:49:37 nas kernel: drbd0: drbd_set_role: (mdev->this_bdev->bd_contains == 0) in /usr/src/redhat/BUILD/drbd-0.8/drbd/drbd_fs.c:863 Apr 10 11:49:37 nas kernel: drbd0: _drbd_thread_stop: (thi->task == NULL) in /us r/src/redhat/BUILD/drbd-0.8/drbd/drbd_main.c:998 Apr 10 11:49:37 nas kernel: drbd0: drbd_cleanup: (!list_empty(&mdev->data.work.q )) in /usr/src/redhat/BUILD/drbd-0.8/drbd/drbd_main.c:2173 Apr 10 11:49:37 nas kernel: drbd0: lp = c63a0894 in /usr/src/redhat/BUILD/drbd-0 .8/drbd/drbd_main.c:2176 Apr 10 11:49:37 nas kernel: drbd: module cleanup done. Apr 10 11:49:56 nas kernel: kjournald starting. Commit interval 5 seconds Apr 10 11:49:56 nas kernel: EXT3 FS on hda1, internal journal Apr 10 11:49:56 nas kernel: EXT3-fs: mounted filesystem with ordered data mode. Apr 10 11:49:56 nas kernel: SELinux: initialized (dev hda1, type ext3), uses xat tr Mit freundlichen Grüßen / Best regards Werner Langemeyer Red Hat Certified Engineer INGENIEURBÜRO WAITE GmbH