<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Monotype Corsiva";
        panose-1:3 1 1 1 1 2 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoPlainText><b>Phil,<o:p></o:p></b></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Not too much of luck here, I downloaded the 8.4.2 sources
and compiled them (no issues) and recreated the module.. this time the kernel
panic happened on the node 1 while updating from node 1 to node 2.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Not sure what’s wrong..!! I am gonna give it
another try from the scratch however not too hopeful as I did a clean install
and configuration this time too…<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><b><u>On both nodes modinfo gives.<o:p></o:p></u></b></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>]# modinfo drbd<o:p></o:p></p>
<p class=MsoPlainText>filename:
/lib/modules/2.6.32-71.el6.i686/updates/drbd.ko<o:p></o:p></p>
<p class=MsoPlainText>alias:
block-major-147-*<o:p></o:p></p>
<p class=MsoPlainText>license: GPL<o:p></o:p></p>
<p class=MsoPlainText>version: 8.4.2<o:p></o:p></p>
<p class=MsoPlainText>description: drbd - Distributed
Replicated Block Device v8.4.2<o:p></o:p></p>
<p class=MsoPlainText>author:
Philipp Reisner <phil@linbit.com>, Lars Ellenberg <lars@linbit.com><o:p></o:p></p>
<p class=MsoPlainText>srcversion: 02B37ADFC87F304A345F0A5<o:p></o:p></p>
<p class=MsoPlainText>depends:
libcrc32c<o:p></o:p></p>
<p class=MsoPlainText>vermagic:
2.6.32-71.el6.i686 SMP mod_unload modversions 686<o:p></o:p></p>
<p class=MsoPlainText>parm:
minor_count:Approximate number of drbd devices (1-255) (uint)<o:p></o:p></p>
<p class=MsoPlainText>parm:
disable_sendpage:bool<o:p></o:p></p>
<p class=MsoPlainText>parm:
allow_oos:DONT USE! (bool)<o:p></o:p></p>
<p class=MsoPlainText>parm:
proc_details:int<o:p></o:p></p>
<p class=MsoPlainText>parm:
enable_faults:int<o:p></o:p></p>
<p class=MsoPlainText>parm:
fault_rate:int<o:p></o:p></p>
<p class=MsoPlainText>parm:
fault_count:int<o:p></o:p></p>
<p class=MsoPlainText>parm:
fault_devs:int<o:p></o:p></p>
<p class=MsoPlainText>parm:
usermode_helper:string<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><b><u>On both nodes – r0.res configuration<o:p></o:p></u></b></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>cat r0.res<o:p></o:p></p>
<p class=MsoPlainText>resource r0 {<o:p></o:p></p>
<p class=MsoPlainText> on OracleLinuxVM1 {<o:p></o:p></p>
<p class=MsoPlainText> device /dev/drbd1;<o:p></o:p></p>
<p class=MsoPlainText> disk
/dev/VG_DRBD/VG_DRBD_LV;<o:p></o:p></p>
<p class=MsoPlainText> address 192.169.25.2:7789;<o:p></o:p></p>
<p class=MsoPlainText> meta-disk
/dev/VG_DRBD/VG_DRBD_LV_Meta;<o:p></o:p></p>
<p class=MsoPlainText> <span lang=FR>}<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=FR> on OracleLinuxVM2 {<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=FR> device
/dev/drbd1;<o:p></o:p></span></p>
<p class=MsoPlainText><span lang=FR> </span>disk
/dev/VG_DRBD/VG_DRBD_LV;<o:p></o:p></p>
<p class=MsoPlainText> address 192.169.25.4:7789;<o:p></o:p></p>
<p class=MsoPlainText> meta-disk
/dev/VG_DRBD/VG_DRBD_LV_Meta;<o:p></o:p></p>
<p class=MsoPlainText> }<o:p></o:p></p>
<p class=MsoPlainText>}<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><b><u>Node 1 logs before it died<o:p></o:p></u></b></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Dec 21 00:46:20 OracleLinuxVM1 kernel: block drbd1:
uuid_compare()=2 by rule 30<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:20 OracleLinuxVM1 kernel: block drbd1:
Becoming sync source due to disk states.<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:20 OracleLinuxVM1 kernel: block drbd1:
Writing the whole bitmap, full sync required after drbd_sync_handshake.<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:20 OracleLinuxVM1 kernel: block drbd1:
bitmap WRITE of 8 pages took 7 jiffies<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:20 OracleLinuxVM1 kernel: block drbd1: 1024
MB (262144 bits) marked out-of-sync by on disk bit-map.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><b><u>Corresponding Node 2 logs<o:p></o:p></u></b></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1: max
BIO size = 4096<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1:
drbd_bm_resize called with capacity == 2097152<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1:
resync bitmap: bits=262144 words=8192 pages=8<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1: size
= 1024 MB (1048576 KB)<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1: Writing
the whole bitmap, size changed<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1:
bitmap WRITE of 8 pages took 138 jiffies<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1: 1024
MB (262144 bits) marked out-of-sync by on disk bit-map.<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1:
bitmap READ of 8 pages took 1 jiffies<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1:
recounting of set bits took additional 0 jiffies<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1: 1024
MB (262112 bits) marked out-of-sync by on disk bit-map.<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1: disk(
Attaching -> Inconsistent )<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1:
attached to UUIDs 0000000000000004:0000000000000000:0000000000000000:0000000000000000<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: d-con r0: conn(
StandAlone -> Unconnected )<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: d-con r0: Starting
receiver thread (from drbd_w_r0 [4381])<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: d-con r0: receiver
(re)started<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: d-con r0: conn(
Unconnected -> WFConnection )<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: d-con r0:
Handshake successful: Agreed network protocol version 100<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: d-con r0: conn(
WFConnection -> WFReportParams )<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: d-con r0: Starting
asender thread (from drbd_r_r0 [4390])<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1: max
BIO size = 1048576<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1:
drbd_sync_handshake:<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1: self
0000000000000004:0000000000000000:0000000000000000:0000000000000000 bits:262112
flags:0<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1: peer
EBBAD8F6D3F6170B:0000000000000004:0000000000000000:0000000000000000 bits:262112
flags:2<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1:
uuid_compare()=-2 by rule 20<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1:
Becoming sync target due to disk states.<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1:
Writing the whole bitmap, full sync required after drbd_sync_handshake.<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1:
bitmap WRITE of 8 pages took 4 jiffies<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1: 1024
MB (262144 bits) marked out-of-sync by on disk bit-map.<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1: peer(
Unknown -> Primary ) conn( WFReportParams -> WFBitMapT ) pdsk( DUnknown
-> UpToDate )<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1:
receive bitmap stats [Bytes(packets)]: plain 0(0), RLE 21(1), total 21;
compression: 100.0%<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1: send
bitmap stats [Bytes(packets)]: plain 0(0), RLE 21(1), total 21; compression:
100.0%<o:p></o:p></p>
<p class=MsoPlainText>Dec 21 00:46:24 OracleLinuxVM2 kernel: block drbd1: conn(
WFBitMapT -> WFSyncUUID )<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoNormal><span style='font-size:18.0pt;font-family:"Monotype Corsiva";
color:#1F497D'>Amit Shil</span><span style='font-size:18.0pt;font-family:"Monotype Corsiva";
color:#1F497D'><o:p></o:p></span></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>-----Original Message-----<br>
From: Philipp Reisner [mailto:philipp.reisner@linbit.com] <br>
Sent: 20 December 2012 09:48<br>
To: drbd-user@lists.linbit.com<br>
Cc: Shil,A,Amit,DKR C<br>
Subject: Re: [DRBD-user] Kernel Panic - DRBD 8.4<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Hi Amit,<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>This is a know bug.<o:p></o:p></p>
<p class=MsoPlainText>http://git.drbd.org/gitweb.cgi?p=drbd-8.4.git;a=commit;h=04be124e812093c003e6a93da549ee7dda0cc443<o:p></o:p></p>
<p class=MsoPlainText>The fix was released with 8.4.2. <o:p></o:p></p>
<p class=MsoPlainText>Please use the latest minor release.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Best,<o:p></o:p></p>
<p class=MsoPlainText> Phil<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>> Hi All,<o:p></o:p></p>
<p class=MsoPlainText>> <o:p></o:p></p>
<p class=MsoPlainText>> I am new to DRBD and have been unable to run a full
setup at the moment. I<o:p></o:p></p>
<p class=MsoPlainText>> am getting a kernel panic whenever the auto sync
start from the Up2date<o:p></o:p></p>
<p class=MsoPlainText>> node (whenever I do resource up or drbd restart it
panics)...<o:p></o:p></p>
<p class=MsoPlainText>[...]<o:p></o:p></p>
</div>
</body>
</html>