Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi! I've tested today drbd0.7-pre7 with kernel 2.6.6. Compiling - no problem. Makedev - no problem. Load Modul - no problem. Start drbd - no problem. But, when I try to make a fs on /dev/nb0 then I get a Segmentation fault and the kernel hang. I try ext3 and xfs, always the same :-( Here is the output from xfs: node2:~# mkfs.xfs -f /dev/nb0 meta-data=/dev/nb0 isize=256 agcount=8, agsize=192198 blks = sectsz=512 data = bsize=4096 blocks=1537584, imaxpct=25 = sunit=0 swidth=0 blks, unwritten=1 naming =version 2 bsize=4096 log =internal log bsize=4096 blocks=2560, version=1 = sectsz=512 sunit=0 blks realtime =none extsz=65536 blocks=0, rtextents=0 Segmentation fault Here is the /var/log/syslog: May 19 16:22:19 node2 kernel: ------------[ cut here ]------------ May 19 16:22:19 node2 kernel: kernel BUG at /root/source/drbd-0.7_pre7/drbd/lru_cache.c:197! May 19 16:22:19 node2 kernel: invalid operand: 0000 [#1] May 19 16:22:19 node2 kernel: PREEMPT May 19 16:22:19 node2 kernel: CPU: 0 May 19 16:22:19 node2 kernel: EIP: 0060:[__crc_simple_fill_super+4063197/5224628] Not tainted May 19 16:22:19 node2 kernel: EFLAGS: 00010046 (2.6.6) May 19 16:22:19 node2 kernel: EIP is at lc_get+0x104/0x120 [drbd] May 19 16:22:19 node2 kernel: eax: 00000000 ebx: ce983000 ecx: d0848000 edx: 00000000 May 19 16:22:19 node2 kernel: esi: 00000000 edi: d084a000 ebp: 00000000 esp: ce983c78 May 19 16:22:19 node2 kernel: ds: 007b es: 007b ss: 0068 May 19 16:22:19 node2 kernel: Process mkfs.xfs (pid: 586, threadinfo=ce983000 task=ceab4b30) May 19 16:22:19 node2 kernel: Stack: c01363c9 d08aaa34 ce983000 00000000 cea89000 00000000 d08a86d5 d084a000 May 19 16:22:19 node2 kernel: 00000000 00000000 00000001 00000001 00000000 ceab4b30 c0116e90 ce983cb4 May 19 16:22:19 node2 kernel: ce983cb4 c021d0fd c13ee200 cfe05c58 00000001 cea89000 cea88980 ce9e9d28 May 19 16:22:19 node2 kernel: Call Trace: May 19 16:22:19 node2 kernel: [mempool_alloc+121/368] mempool_alloc+0x79/0x170 May 19 16:22:19 node2 kernel: [__crc_simple_fill_super+4062557/5224628] lc_find+0x24/0x60 [drbd] May 19 16:22:19 node2 kernel: [__crc_simple_fill_super+4053502/5224628] drbd_al_begin_io+0x65/0x260 [drbd] May 19 16:22:19 node2 kernel: [autoremove_wake_function+0/80] autoremove_wake_function+0x0/0x50 May 19 16:22:19 node2 kernel: [ide_build_sglist+61/176] ide_build_sglist+0x3d/0xb0 May 19 16:22:19 node2 kernel: [__crc_simple_fill_super+4052701/5224628] drbd_make_request_common+0x4d4/0x630 [drbd] May 19 16:22:19 node2 kernel: [__delay+18/32] __delay+0x12/0x20 May 19 16:22:19 node2 kernel: [__crc_simple_fill_super+4053156/5224628] drbd_make_request_26+0x6b/0x6d [drbd] May 19 16:22:19 node2 kernel: [generic_make_request+362/496] generic_make_request+0x16a/0x1f0 May 19 16:22:19 node2 kernel: [autoremove_wake_function+0/80] autoremove_wake_function+0x0/0x50 May 19 16:22:19 node2 kernel: [autoremove_wake_function+0/80] autoremove_wake_function+0x0/0x50 May 19 16:22:19 node2 kernel: [submit_bio+93/256] submit_bio+0x5d/0x100 May 19 16:22:19 node2 kernel: [end_buffer_async_write+0/272] end_buffer_async_write+0x0/0x110 May 19 16:22:19 node2 kernel: [submit_bh+97/336] submit_bh+0x61/0x150 May 19 16:22:19 node2 kernel: [__block_write_full_page+432/960] __block_write_full_page+0x1b0/0x3c0 May 19 16:22:19 node2 kernel: [block_write_full_page+240/256] block_write_full_page+0xf0/0x100 May 19 16:22:19 node2 kernel: [blkdev_get_block+0/128] blkdev_get_block+0x0/0x80 May 19 16:22:19 node2 kernel: [blkdev_writepage+32/48] blkdev_writepage+0x20/0x30 May 19 16:22:19 node2 kernel: [blkdev_get_block+0/128] blkdev_get_block+0x0/0x80 May 19 16:22:19 node2 kernel: [mpage_writepages+449/848] mpage_writepages+0x1c1/0x350 May 19 16:22:19 node2 kernel: [file_read_actor+0/240] file_read_actor+0x0/0xf0 May 19 16:22:19 node2 kernel: [blkdev_writepage+0/48] blkdev_writepage+0x0/0x30 May 19 16:22:19 node2 kernel: [generic_writepages+29/33] generic_writepages+0x1d/0x21 May 19 16:22:19 node2 kernel: [do_writepages+37/80] do_writepages+0x25/0x50 May 19 16:22:19 node2 kernel: [__filemap_fdatawrite+144/160] __filemap_fdatawrite+0x90/0xa0 May 19 16:22:19 node2 kernel: [blkdev_file_write+56/64] blkdev_file_write+0x38/0x40 May 19 16:22:19 node2 kernel: [copy_to_user+62/80] copy_to_user+0x3e/0x50 May 19 16:22:19 node2 kernel: [filemap_fdatawrite+24/32] filemap_fdatawrite+0x18/0x20 May 19 16:22:19 node2 kernel: [sys_fsync+135/208] sys_fsync+0x87/0xd0 May 19 16:22:19 node2 kernel: [syscall_call+7/11] syscall_call+0x7/0xb May 19 16:22:19 node2 kernel: May 19 16:22:19 node2 kernel: Code: 0f 0b c5 00 40 ee 8a d0 e9 0d ff ff ff 0f 0b c4 00 40 ee 8a May 19 16:22:19 node2 kernel: <6>note: mkfs.xfs[586] exited with preempt_count 1 May 19 16:22:19 node2 kernel: bad: scheduling while atomic! May 19 16:22:19 node2 kernel: Call Trace: May 19 16:22:19 node2 kernel: [schedule+1461/1472] schedule+0x5b5/0x5c0 May 19 16:22:19 node2 kernel: [unmap_page_range+83/128] unmap_page_range+0x53/0x80 May 19 16:22:19 node2 kernel: [unmap_vmas+383/400] unmap_vmas+0x17f/0x190 May 19 16:22:19 node2 kernel: [exit_mmap+125/416] exit_mmap+0x7d/0x1a0 May 19 16:22:19 node2 kernel: [mmput+101/144] mmput+0x65/0x90 May 19 16:22:19 node2 kernel: [do_exit+338/1024] do_exit+0x152/0x400 May 19 16:22:19 node2 kernel: [do_invalid_op+0/208] do_invalid_op+0x0/0xd0 May 19 16:22:19 node2 kernel: [die+249/256] die+0xf9/0x100 May 19 16:22:19 node2 kernel: [do_invalid_op+202/208] do_invalid_op+0xca/0xd0 May 19 16:22:19 node2 kernel: [__crc_simple_fill_super+4063197/5224628] lc_get+0x104/0x120 [drbd] May 19 16:22:19 node2 kernel: [as_update_arq+46/128] as_update_arq+0x2e/0x80 May 19 16:22:19 node2 kernel: [as_add_request+437/544] as_add_request+0x1b5/0x220 May 19 16:22:19 node2 kernel: [get_request+453/672] get_request+0x1c5/0x2a0 May 19 16:22:19 node2 kernel: [__elv_add_request+48/80] __elv_add_request+0x30/0x50 May 19 16:22:19 node2 kernel: [error_code+45/56] error_code+0x2d/0x38 May 19 16:22:19 node2 kernel: [__crc_simple_fill_super+4063197/5224628] lc_get+0x104/0x120 [drbd] May 19 16:22:19 node2 kernel: [mempool_alloc+121/368] mempool_alloc+0x79/0x170 May 19 16:22:19 node2 kernel: [__crc_simple_fill_super+4062557/5224628] lc_find+0x24/0x60 [drbd] May 19 16:22:19 node2 kernel: [__crc_simple_fill_super+4053502/5224628] drbd_al_begin_io+0x65/0x260 [drbd] May 19 16:22:19 node2 kernel: [autoremove_wake_function+0/80] autoremove_wake_function+0x0/0x50 May 19 16:22:19 node2 kernel: [ide_build_sglist+61/176] ide_build_sglist+0x3d/0xb0 May 19 16:22:19 node2 kernel: [__crc_simple_fill_super+4052701/5224628] drbd_make_request_common+0x4d4/0x630 [drbd] May 19 16:22:19 node2 kernel: [__delay+18/32] __delay+0x12/0x20 May 19 16:22:19 node2 kernel: [__crc_simple_fill_super+4053156/5224628] drbd_make_request_26+0x6b/0x6d [drbd] May 19 16:22:19 node2 kernel: [generic_make_request+362/496] generic_make_request+0x16a/0x1f0 May 19 16:22:19 node2 kernel: [autoremove_wake_function+0/80] autoremove_wake_function+0x0/0x50 May 19 16:22:19 node2 kernel: [autoremove_wake_function+0/80] autoremove_wake_function+0x0/0x50 May 19 16:22:19 node2 kernel: [submit_bio+93/256] submit_bio+0x5d/0x100 May 19 16:22:19 node2 kernel: [end_buffer_async_write+0/272] end_buffer_async_write+0x0/0x110 May 19 16:22:19 node2 kernel: [submit_bh+97/336] submit_bh+0x61/0x150 May 19 16:22:19 node2 kernel: [__block_write_full_page+432/960] __block_write_full_page+0x1b0/0x3c0 May 19 16:22:19 node2 kernel: [block_write_full_page+240/256] block_write_full_page+0xf0/0x100 May 19 16:22:19 node2 kernel: [blkdev_get_block+0/128] blkdev_get_block+0x0/0x80 May 19 16:22:19 node2 kernel: [blkdev_writepage+32/48] blkdev_writepage+0x20/0x30 May 19 16:22:19 node2 kernel: [blkdev_get_block+0/128] blkdev_get_block+0x0/0x80 May 19 16:22:19 node2 kernel: [mpage_writepages+449/848] mpage_writepages+0x1c1/0x350 May 19 16:22:19 node2 kernel: [file_read_actor+0/240] file_read_actor+0x0/0xf0 May 19 16:22:19 node2 kernel: [blkdev_writepage+0/48] blkdev_writepage+0x0/0x30 May 19 16:22:19 node2 kernel: [generic_writepages+29/33] generic_writepages+0x1d/0x21 May 19 16:22:19 node2 kernel: [do_writepages+37/80] do_writepages+0x25/0x50 May 19 16:22:19 node2 kernel: [__filemap_fdatawrite+144/160] __filemap_fdatawrite+0x90/0xa0 May 19 16:22:19 node2 kernel: [blkdev_file_write+56/64] blkdev_file_write+0x38/0x40 May 19 16:22:19 node2 kernel: [copy_to_user+62/80] copy_to_user+0x3e/0x50 May 19 16:22:19 node2 kernel: [filemap_fdatawrite+24/32] filemap_fdatawrite+0x18/0x20 May 19 16:22:19 node2 kernel: [sys_fsync+135/208] sys_fsync+0x87/0xd0 May 19 16:22:19 node2 kernel: [syscall_call+7/11] syscall_call+0x7/0xb May 19 16:22:19 node2 kernel: May 19 16:22:47 node2 kernel: ------------[ cut here ]------------ May 19 16:22:47 node2 kernel: kernel BUG at /root/source/drbd-0.7_pre7/drbd/lru_cache.c:197! May 19 16:22:47 node2 kernel: invalid operand: 0000 [#2] May 19 16:22:47 node2 kernel: PREEMPT May 19 16:22:47 node2 kernel: CPU: 0 May 19 16:22:47 node2 kernel: EIP: 0060:[__crc_simple_fill_super+4063197/5224628] Not tainted May 19 16:22:47 node2 kernel: EFLAGS: 00010046 (2.6.6) May 19 16:22:47 node2 kernel: EIP is at lc_get+0x104/0x120 [drbd] May 19 16:22:47 node2 kernel: eax: 00000000 ebx: cfe6e000 ecx: d0848000 edx: 00000000 May 19 16:22:47 node2 kernel: esi: 00000000 edi: d084a000 ebp: 00000000 esp: cfe6eb20 May 19 16:22:47 node2 kernel: ds: 007b es: 007b ss: 0068 May 19 16:22:47 node2 kernel: Process pdflush (pid: 7, threadinfo=cfe6e000 task=cfe4b130) May 19 16:22:47 node2 kernel: Stack: c01363c9 d08aaa34 cfe6e000 00000000 cea89000 00000000 d08a86d5 d084a000 May 19 16:22:47 node2 kernel: 00000000 00000003 c02006de cfe78054 00000000 cfe4b130 c0116e90 cfe6eb5c May 19 16:22:47 node2 kernel: cfe6eb5c c02014e5 cfe78054 cfe04d84 00000001 cea89000 cffd1240 ce9e9cd0 May 19 16:22:47 node2 kernel: Call Trace: May 19 16:22:47 node2 kernel: [mempool_alloc+121/368] mempool_alloc+0x79/0x170 May 19 16:22:47 node2 kernel: [__crc_simple_fill_super+4062557/5224628] lc_find+0x24/0x60 [drbd] May 19 16:22:47 node2 kernel: [__crc_simple_fill_super+4053502/5224628] drbd_al_begin_io+0x65/0x260 [drbd] May 19 16:22:47 node2 kernel: [as_update_arq+46/128] as_update_arq+0x2e/0x80 May 19 16:22:47 node2 kernel: [autoremove_wake_function+0/80] autoremove_wake_function+0x0/0x50 May 19 16:22:47 node2 kernel: [as_add_request+437/544] as_add_request+0x1b5/0x220 May 19 16:22:47 node2 kernel: [__crc_simple_fill_super+4052701/5224628] drbd_make_request_common+0x4d4/0x630 [drbd] May 19 16:22:47 node2 kernel: [__crc_simple_fill_super+4053156/5224628] drbd_make_request_26+0x6b/0x6d [drbd] May 19 16:22:47 node2 kernel: [generic_make_request+362/496] generic_make_request+0x16a/0x1f0 May 19 16:22:47 node2 kernel: [autoremove_wake_function+0/80] autoremove_wake_function+0x0/0x50 May 19 16:22:47 node2 kernel: [autoremove_wake_function+0/80] autoremove_wake_function+0x0/0x50 May 19 16:22:47 node2 kernel: [submit_bio+93/256] submit_bio+0x5d/0x100 May 19 16:22:47 node2 kernel: [end_buffer_async_write+0/272] end_buffer_async_write+0x0/0x110 May 19 16:22:47 node2 kernel: [submit_bh+97/336] submit_bh+0x61/0x150 May 19 16:22:47 node2 kernel: [__block_write_full_page+432/960] __block_write_full_page+0x1b0/0x3c0 May 19 16:22:47 node2 kernel: [block_write_full_page+240/256] block_write_full_page+0xf0/0x100 May 19 16:22:47 node2 kernel: [blkdev_get_block+0/128] blkdev_get_block+0x0/0x80 May 19 16:22:47 node2 kernel: [blkdev_writepage+32/48] blkdev_writepage+0x20/0x30 May 19 16:22:47 node2 kernel: [blkdev_get_block+0/128] blkdev_get_block+0x0/0x80 May 19 16:22:47 node2 kernel: [mpage_writepages+449/848] mpage_writepages+0x1c1/0x350 May 19 16:22:47 node2 kernel: [blkdev_writepage+0/48] blkdev_writepage+0x0/0x30 May 19 16:22:47 node2 kernel: [apic_timer_interrupt+26/32] apic_timer_interrupt+0x1a/0x20 May 19 16:22:47 node2 kernel: [generic_writepages+29/33] generic_writepages+0x1d/0x21 May 19 16:22:47 node2 kernel: [do_writepages+37/80] do_writepages+0x25/0x50 May 19 16:22:47 node2 kernel: [__sync_single_inode+113/512] __sync_single_inode+0x71/0x200 May 19 16:22:47 node2 kernel: [ext3_put_inode+19/48] ext3_put_inode+0x13/0x30 May 19 16:22:47 node2 kernel: [sync_sb_inodes+407/672] sync_sb_inodes+0x197/0x2a0 May 19 16:22:47 node2 kernel: [writeback_inodes+86/176] writeback_inodes+0x56/0xb0 May 19 16:22:47 node2 kernel: [wb_kupdate+167/288] wb_kupdate+0xa7/0x120 May 19 16:22:47 node2 kernel: [__pdflush+208/448] __pdflush+0xd0/0x1c0 May 19 16:22:47 node2 kernel: [pdflush+0/48] pdflush+0x0/0x30 May 19 16:22:47 node2 kernel: [pdflush+38/48] pdflush+0x26/0x30 May 19 16:22:47 node2 kernel: [wb_kupdate+0/288] wb_kupdate+0x0/0x120 May 19 16:22:47 node2 kernel: [pdflush+0/48] pdflush+0x0/0x30 May 19 16:22:47 node2 kernel: [kthread+170/176] kthread+0xaa/0xb0 May 19 16:22:47 node2 kernel: [kthread+0/176] kthread+0x0/0xb0 May 19 16:22:47 node2 kernel: [kernel_thread_helper+5/24] kernel_thread_helper+0x5/0x18 May 19 16:22:47 node2 kernel: May 19 16:22:47 node2 kernel: Code: 0f 0b c5 00 40 ee 8a d0 e9 0d ff ff ff 0f 0b c4 00 40 ee 8a May 19 16:22:47 node2 kernel: <6>note: pdflush[7] exited with preempt_count 1 Anyone have a suggestion? Thanks, Marcus Meyer ----------------------------------------- Diese eMail ist ein Service von http://mail.by5.de http://www.Held-vom-Erdbeerfeld.de/