<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr"><div></div><div>Hi,<br><br></div>when I upgrade drbd from 8.3.15 to 8.4.6-5, there is an oops cause by NULL pointer Error.<br><div><br></div><div>upgrade step as follow:<br><br></div><div>1.  primary node work with drbd 8.3.15 as normal<br></div><div>2. stop drbd 8.3.15 on secondary node, and upgrade it to 8.4.6-5.<br></div><div>3. start secondary node, now data begin sync from primary node.<br>4. upgrade primary node with follow step<br></div><div>     1. stop business service on drbd<br>      2. disconnect drbd for umount quickly  &lt;--  oops on secondary node here?<br></div><div>      3.  umount filesystem<br></div><div>      4. primary -&gt; secondary<br></div><div></div><div>      5. connect drbd and waiting sync complete.<br></div><div>      6. business service may start on secondary node now.<br></div><div>      7. stop drbd 8.3.15 on primary node, and upgrade it to 8.4.6-5.<br></div><div><br></div><div>call stack:<br></div><div><br>&lt;6&gt;[66071016.839607] block <wbr>drbd0: peer( Primary -&gt; <wbr>Unknown ) conn( Connected -&gt; <wbr>TearDown ) pdsk( UpToDate -&gt; <wbr>DUnknown ) <br>&lt;3&gt;[66071016.840029] drbd <wbr>drbd0: meta connection shut <wbr>down by peer.<br>&lt;6&gt;[66071016.840037] drbd <wbr>drbd0: ack_receiver terminated<br>&lt;6&gt;[66071016.840040] drbd <wbr>drbd0: Terminating drbd_a_<wbr>drbd0<br>&lt;1&gt;[66071017.154996] BUG: <wbr>unable to handle kernel NULL <wbr>pointer dereference at        <wbr>   (null)<br>&lt;1&gt;[66071017.155013] IP: [&lt;<wbr>ffffffff8107b4e7&gt;] __queue_<wbr>work+0x17/0x3f0<br>&lt;4&gt;[66071017.155030] PGD 0 <br>&lt;0&gt;[66071017.155037] Oops: <wbr>0000 [#1] SMP <br>&lt;4&gt;[66071017.155048] CPU 0 <br>&lt;4&gt;[66071017.155051] Modules <wbr>linked in: softdog drbd(FN) <wbr>crc32c libcrc32c ib_ipoib ib_<wbr>cm mlx4_en mlx4_ib ib_sa ib_<wbr>mad ib_core mlx4_core mpt3sas <wbr>mptctl mptbase lp parport_pc <wbr>ppdev st parport ide_cd_mod <wbr>ide_core joydev ipmi_devintf <wbr>ipmi_si ipmi_msghandler tcp_<wbr>diag inet_diag nls_utf8 dm_<wbr>snapshot af_packet md5 binfmt_<wbr>misc edd bonding cpufreq_<wbr>conservative cpufreq_<wbr>userspace cpufreq_powersave <wbr>acpi_cpufreq mperf microcode <wbr>fuse loop dm_mod cdc_ether <wbr>igb usbnet shpchp tpm_tis dca <wbr>tpm ipv6 pci_hotplug sr_mod <wbr>ipv6_lib tpm_bios ptp mii sg <wbr>pcspkr i2c_i801 rtc_cmos <wbr>cdrom pps_core wmi button <wbr>ext3 jbd mbcache usbhid hid <wbr>ttm drm_kms_helper drm i2c_<wbr>algo_bit sysimgblt <wbr>sysfillrect i2c_core <wbr>syscopyarea ehci_hcd usbcore <wbr>sd_mod usb_common crc_t10dif <wbr>processor thermal_sys hwmon <wbr>scsi_dh_alua scsi_dh_hp_sw <wbr>scsi_dh_emc scsi_dh_rdac scsi_<wbr>dh ahci libahci libata <wbr>mpt2sas scsi_transport_sas <wbr>raid_class megaraid_sas scsi_<wbr>mod [last unloaded: drbd]<br>&lt;4&gt;[66071017.155207] <wbr>Supported: No, Unsupported <wbr>modules are loaded<br>&lt;4&gt;[66071017.155214] <br>&lt;4&gt;[66071017.155221] Pid: 0, <wbr>comm: swapper Tainted: GF   B <wbr>     N  3.0.76-0.11-default #<wbr>1 IBM System x3650 M4 : -[<wbr>7915OSC]-/00Y8494<br>&lt;4&gt;[66071017.155234] RIP: <wbr>0010:[&lt;ffffffff8107b4e7&gt;]  [&lt;<wbr>ffffffff8107b4e7&gt;] __queue_<wbr>work+0x17/0x3f0<br>&lt;4&gt;[66071017.155246] RSP: <wbr>0018:ffff88047fc03cc0  EFLAGS:<wbr> 00010086<br>&lt;4&gt;[66071017.155253] RAX: <wbr>0000000000000000 RBX: <wbr>ffff880465032c00 RCX: <wbr>0000000000000000<br>&lt;4&gt;[66071017.155261] RDX: <wbr>ffff8804294fb3e0 RSI: <wbr>0000000000000000 RDI: <wbr>0000000000000000<br>&lt;4&gt;[66071017.155269] RBP: <wbr>0000000000000000 R08: <wbr>0000000000000000 R09: <wbr>00000004d9030553<br>&lt;4&gt;[66071017.155277] R10: <wbr>00000004d903059c R11: <wbr>0000000000000001 R12: <wbr>ffff880465032800<br>&lt;4&gt;[66071017.155285] R13: <wbr>ffff8804294fb3e0 R14: <wbr>0000000000000000 R15: <wbr>0000000000003800<br>&lt;4&gt;[66071017.155293] FS:  <wbr>0000000000000000(0000) GS:<wbr>ffff88047fc00000(0000) knlGS:<wbr>0000000000000000<br>&lt;4&gt;[66071017.155302] CS:  <wbr>0010 DS: 0000 ES: 0000 CR0: <wbr>000000008005003b<br>&lt;4&gt;[66071017.155309] CR2: <wbr>0000000000000000 CR3: <wbr>0000000001a09000 CR4: <wbr>00000000000407f0<br>&lt;4&gt;[66071017.155317] DR0: <wbr>0000000000000000 DR1: <wbr>0000000000000000 DR2: <wbr>0000000000000000<br>&lt;4&gt;[66071017.155325] DR3: <wbr>0000000000000000 DR6: <wbr>00000000ffff0ff0 DR7: <wbr>0000000000000400<br>&lt;4&gt;[66071017.155333] Process <wbr>swapper (pid: 0, threadinfo <wbr>ffffffff81a00000, task <wbr>ffffffff81a11020)<br>&lt;0&gt;[66071017.155341] Stack:<br>&lt;4&gt;[66071017.155346]  <wbr>ffff88046557b000 <wbr>ffff880438b41248 <wbr>ffff880465bfe000 <wbr>ffff880465032c00<br>&lt;4&gt;[66071017.155363]  <wbr>ffff880465032870 <wbr>ffff880465032800 <wbr>ffff88076b08e000 <wbr>ffff8804294fb3c0<br>&lt;4&gt;[66071017.155376]  <wbr>0000000000003800 <wbr>ffffffff8107b906 <wbr>ffff8804654e8e10 <wbr>ffffffff8107b95a<br>&lt;0&gt;[66071017.155389] Call <wbr>Trace:<br>&lt;4&gt;[66071017.155408]  [&lt;<wbr>ffffffff8107b906&gt;] queue_work_<wbr>on+0x16/0x30<br>&lt;4&gt;[66071017.155419]  [&lt;<wbr>ffffffff8107b95a&gt;] queue_work+<wbr>0x1a/0x20<br>&lt;4&gt;[66071017.155440]  [&lt;<wbr>ffffffffa06aa8cd&gt;] drbd_endio_<wbr>write_sec_final+0x25d/0x650 [<wbr>drbd]<br>&lt;4&gt;[66071017.155488]  [&lt;<wbr>ffffffff8122404b&gt;] blk_update_<wbr>request+0x10b/0x440<br>&lt;4&gt;[66071017.155502]  [&lt;<wbr>ffffffff8122439f&gt;] blk_update_<wbr>bidi_request+0x1f/0x90<br>&lt;4&gt;[66071017.155513]  [&lt;<wbr>ffffffff81225517&gt;] blk_end_<wbr>bidi_request+0x27/0x80<br>&lt;4&gt;[66071017.155538]  [&lt;<wbr>ffffffffa000a5ea&gt;] scsi_end_<wbr>request+0x3a/0xb0 [scsi_mod]<br>&lt;4&gt;[66071017.155572]  [&lt;<wbr>ffffffffa000a9dc&gt;] scsi_io_<wbr>completion+0x10c/0x5b0 [scsi_<wbr>mod]<br>&lt;4&gt;[66071017.155598]  [&lt;<wbr>ffffffff8122b8b5&gt;] blk_done_<wbr>softirq+0x75/0x90<br>&lt;4&gt;[66071017.155611]  [&lt;<wbr>ffffffff81066eaf&gt;] __do_<wbr>softirq+0xef/0x220<br>&lt;4&gt;[66071017.155627]  [&lt;<wbr>ffffffff814657dc&gt;] call_<wbr>softirq+0x1c/0x30<br>&lt;4&gt;[66071017.155642]  [&lt;<wbr>ffffffff81004445&gt;] do_softirq+<wbr>0x65/0xa0<br>&lt;4&gt;[66071017.155654]  [&lt;<wbr>ffffffff81066ca5&gt;] irq_exit+<wbr>0xc5/0xe0<br>&lt;4&gt;[66071017.155667]  [&lt;<wbr>ffffffff81465433&gt;] call_<wbr>function_single_interrupt+<wbr>0x13/0x20<br>&lt;4&gt;[66071017.155683]  [&lt;<wbr>ffffffff812ba85e&gt;] intel_idle+<wbr>0x9e/0x130<br>&lt;4&gt;[66071017.155697]  [&lt;<wbr>ffffffff813769eb&gt;] cpuidle_<wbr>idle_call+0x11b/0x280<br>&lt;4&gt;[66071017.155710]  [&lt;<wbr>ffffffff81002126&gt;] cpu_idle+<wbr>0x66/0xb0<br>&lt;4&gt;[66071017.155722]  [&lt;<wbr>ffffffff81beeeff&gt;] start_<wbr>kernel+0x376/0x447<br>&lt;4&gt;[66071017.155736]  [&lt;<wbr>ffffffff81bee3c9&gt;] x86_64_<wbr>start_kernel+0x123/0x13d<br>&lt;0&gt;[66071017.155746] Code: 8f <wbr>b5 00 7d d4 5b c3 66 66 66 66 <wbr>2e 0f 1f 84 00 00 00 00 00 41 <wbr>57 41 56 41 89 fe 41 55 49 89 <wbr>d5 41 54 55 48 89 f5 53 48 83 <wbr>ec 18 &lt;8b&gt; 16 f6 c2 40 0f 85 <wbr>64 02 00 00 f6 c2 02 0f 85 f5 <wbr>01 00 00 41 <br>&lt;1&gt;[66071017.155810] RIP  [&lt;<wbr>ffffffff8107b4e7&gt;] __queue_<wbr>work+0x17/0x3f0<br>&lt;4&gt;[66071017.155820]  RSP &lt;<wbr>ffff88047fc03cc0&gt;<br>&lt;0&gt;[66071017.155826] CR2: <wbr>0000000000000000<br><br><br></div></div>
</div><br></div>