<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 <-- oops on secondary node here?<br></div><div> 3. umount filesystem<br></div><div> 4. primary -> 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><6>[66071016.839607] block <wbr>drbd0: peer( Primary -> <wbr>Unknown ) conn( Connected -> <wbr>TearDown ) pdsk( UpToDate -> <wbr>DUnknown ) <br><3>[66071016.840029] drbd <wbr>drbd0: meta connection shut <wbr>down by peer.<br><6>[66071016.840037] drbd <wbr>drbd0: ack_receiver terminated<br><6>[66071016.840040] drbd <wbr>drbd0: Terminating drbd_a_<wbr>drbd0<br><1>[66071017.154996] BUG: <wbr>unable to handle kernel NULL <wbr>pointer dereference at <wbr> (null)<br><1>[66071017.155013] IP: [<<wbr>ffffffff8107b4e7>] __queue_<wbr>work+0x17/0x3f0<br><4>[66071017.155030] PGD 0 <br><0>[66071017.155037] Oops: <wbr>0000 [#1] SMP <br><4>[66071017.155048] CPU 0 <br><4>[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><4>[66071017.155207] <wbr>Supported: No, Unsupported <wbr>modules are loaded<br><4>[66071017.155214] <br><4>[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><4>[66071017.155234] RIP: <wbr>0010:[<ffffffff8107b4e7>] [<<wbr>ffffffff8107b4e7>] __queue_<wbr>work+0x17/0x3f0<br><4>[66071017.155246] RSP: <wbr>0018:ffff88047fc03cc0 EFLAGS:<wbr> 00010086<br><4>[66071017.155253] RAX: <wbr>0000000000000000 RBX: <wbr>ffff880465032c00 RCX: <wbr>0000000000000000<br><4>[66071017.155261] RDX: <wbr>ffff8804294fb3e0 RSI: <wbr>0000000000000000 RDI: <wbr>0000000000000000<br><4>[66071017.155269] RBP: <wbr>0000000000000000 R08: <wbr>0000000000000000 R09: <wbr>00000004d9030553<br><4>[66071017.155277] R10: <wbr>00000004d903059c R11: <wbr>0000000000000001 R12: <wbr>ffff880465032800<br><4>[66071017.155285] R13: <wbr>ffff8804294fb3e0 R14: <wbr>0000000000000000 R15: <wbr>0000000000003800<br><4>[66071017.155293] FS: <wbr>0000000000000000(0000) GS:<wbr>ffff88047fc00000(0000) knlGS:<wbr>0000000000000000<br><4>[66071017.155302] CS: <wbr>0010 DS: 0000 ES: 0000 CR0: <wbr>000000008005003b<br><4>[66071017.155309] CR2: <wbr>0000000000000000 CR3: <wbr>0000000001a09000 CR4: <wbr>00000000000407f0<br><4>[66071017.155317] DR0: <wbr>0000000000000000 DR1: <wbr>0000000000000000 DR2: <wbr>0000000000000000<br><4>[66071017.155325] DR3: <wbr>0000000000000000 DR6: <wbr>00000000ffff0ff0 DR7: <wbr>0000000000000400<br><4>[66071017.155333] Process <wbr>swapper (pid: 0, threadinfo <wbr>ffffffff81a00000, task <wbr>ffffffff81a11020)<br><0>[66071017.155341] Stack:<br><4>[66071017.155346] <wbr>ffff88046557b000 <wbr>ffff880438b41248 <wbr>ffff880465bfe000 <wbr>ffff880465032c00<br><4>[66071017.155363] <wbr>ffff880465032870 <wbr>ffff880465032800 <wbr>ffff88076b08e000 <wbr>ffff8804294fb3c0<br><4>[66071017.155376] <wbr>0000000000003800 <wbr>ffffffff8107b906 <wbr>ffff8804654e8e10 <wbr>ffffffff8107b95a<br><0>[66071017.155389] Call <wbr>Trace:<br><4>[66071017.155408] [<<wbr>ffffffff8107b906>] queue_work_<wbr>on+0x16/0x30<br><4>[66071017.155419] [<<wbr>ffffffff8107b95a>] queue_work+<wbr>0x1a/0x20<br><4>[66071017.155440] [<<wbr>ffffffffa06aa8cd>] drbd_endio_<wbr>write_sec_final+0x25d/0x650 [<wbr>drbd]<br><4>[66071017.155488] [<<wbr>ffffffff8122404b>] blk_update_<wbr>request+0x10b/0x440<br><4>[66071017.155502] [<<wbr>ffffffff8122439f>] blk_update_<wbr>bidi_request+0x1f/0x90<br><4>[66071017.155513] [<<wbr>ffffffff81225517>] blk_end_<wbr>bidi_request+0x27/0x80<br><4>[66071017.155538] [<<wbr>ffffffffa000a5ea>] scsi_end_<wbr>request+0x3a/0xb0 [scsi_mod]<br><4>[66071017.155572] [<<wbr>ffffffffa000a9dc>] scsi_io_<wbr>completion+0x10c/0x5b0 [scsi_<wbr>mod]<br><4>[66071017.155598] [<<wbr>ffffffff8122b8b5>] blk_done_<wbr>softirq+0x75/0x90<br><4>[66071017.155611] [<<wbr>ffffffff81066eaf>] __do_<wbr>softirq+0xef/0x220<br><4>[66071017.155627] [<<wbr>ffffffff814657dc>] call_<wbr>softirq+0x1c/0x30<br><4>[66071017.155642] [<<wbr>ffffffff81004445>] do_softirq+<wbr>0x65/0xa0<br><4>[66071017.155654] [<<wbr>ffffffff81066ca5>] irq_exit+<wbr>0xc5/0xe0<br><4>[66071017.155667] [<<wbr>ffffffff81465433>] call_<wbr>function_single_interrupt+<wbr>0x13/0x20<br><4>[66071017.155683] [<<wbr>ffffffff812ba85e>] intel_idle+<wbr>0x9e/0x130<br><4>[66071017.155697] [<<wbr>ffffffff813769eb>] cpuidle_<wbr>idle_call+0x11b/0x280<br><4>[66071017.155710] [<<wbr>ffffffff81002126>] cpu_idle+<wbr>0x66/0xb0<br><4>[66071017.155722] [<<wbr>ffffffff81beeeff>] start_<wbr>kernel+0x376/0x447<br><4>[66071017.155736] [<<wbr>ffffffff81bee3c9>] x86_64_<wbr>start_kernel+0x123/0x13d<br><0>[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 <8b> 16 f6 c2 40 0f 85 <wbr>64 02 00 00 f6 c2 02 0f 85 f5 <wbr>01 00 00 41 <br><1>[66071017.155810] RIP [<<wbr>ffffffff8107b4e7>] __queue_<wbr>work+0x17/0x3f0<br><4>[66071017.155820] RSP <<wbr>ffff88047fc03cc0><br><0>[66071017.155826] CR2: <wbr>0000000000000000<br><br><br></div></div>
</div><br></div>