Bug 44933 - DRBD userspace tools need to be updated
DRBD userspace tools need to be updated
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.2-x
Assigned To: Jürn Brodersen
Richard Ulmer
https://help.univention.com/t/drbd-ko...
:
Depends on: 32019
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-04 16:07 CEST by Nico Stöckigt
Modified: 2023-03-25 06:56 CET (History)
4 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.069
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017070421000463
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Stöckigt univentionstaff 2017-07-04 16:07:06 CEST
+++ This bug was initially created as a clone of Bug #32019 +++

The DRBD userspace tools in UCS are in version 8.3.11.

Since Linux 3.9 the DRBD kernel module requires at least a 8.4 userspace.

8.4 isn't packaged in Debian yet:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=714210

======================================================================

The DRBD userspace tools in UCS are in version 8.4.4 but the Kernel module is 8.4.5. This probably results in a kernel crash
---
Jun 29 07:51:27 server13 kernel: [73672.432083] drbd kopano: PingAck did not arrive in time.
Jun 29 07:51:27 server13 kernel: [73672.432123] drbd kopano: peer( Secondary -> Unknown ) conn( Connected -> NetworkFailure ) pdsk( UpToDate -> DUnknown )
Jun 29 07:51:27 server13 kernel: [73672.434028] drbd kopano: asender terminated
Jun 29 07:51:27 server13 kernel: [73672.434037] drbd kopano: Terminating drbd_a_kopano
Jun 29 07:51:28 server13 kernel: [73673.484147] BUG: unable to handle kernel NULL pointer dereference at           (null)
Jun 29 07:51:28 server13 kernel: [73673.484450] IP: [<ffffffff81300102>] __memcpy+0x12/0x20
Jun 29 07:51:28 server13 kernel: [73673.484545] PGD da9e1067 PUD d9e0c067 PMD 0
Jun 29 07:51:28 server13 kernel: [73673.484597] Oops: 0000 [#1] SMP
Jun 29 07:51:28 server13 kernel: [73673.484644] Modules linked in: xt_addrtype xt_conntrack ipt_MASQUERADE nf_nat_masquerade_ipv4 bridge stp llc overlay hmac drbd lru_cache crc32c_generic libcrc32c ip6t_REJECT nf_reject_ipv6 ipt_REJECT n
f_reject_ipv4 xt_tcpudp nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_mangle ip6table_filter ip6_tables xt_state iptable_mangle iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_filter ip_tables x_tables rp
csec_gss_krb5 nfsd auth_rpcgss nfs_acl nfs lockd grace fscache sunrpc quota_v2 quota_tree acpi_cpufreq processor psmouse parport_pc parport i2c_piix4 8250_fintek serio_raw thermal_sys joydev pcspkr virtio_balloon evdev ext4 crc16 mbcache
 jbd2 dm_snapshot dm_bufio dm_mirror dm_region_hash dm_log dm_mod hid_generic usbhid hid sg sr_mod cdrom ata_generic virtio_net virtio_blk ttm uhci_hcd ehci_hcd drm_kms_helper floppy drm usbcore virtio_pci ata_piix usb_common libata virt
io_ring virtio scsi_mod button
Jun 29 07:51:28 server13 kernel: [73673.485695] CPU: 0 PID: 3311 Comm: drbd_w_kopano Not tainted 4.1.0-ucs222-amd64 #1 Debian 4.1.6-1.222.201701250821
Jun 29 07:51:28 server13 kernel: [73673.485796] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2007
Jun 29 07:51:28 server13 kernel: [73673.485853] task: ffff8800d6fb0c20 ti: ffff8800d9e9c000 task.ti: ffff8800d9e9c000
Jun 29 07:51:28 server13 kernel: [73673.485924] RIP: 0010:[<ffffffff81300102>]  [<ffffffff81300102>] __memcpy+0x12/0x20
Jun 29 07:51:28 server13 kernel: [73673.486003] RSP: 0018:ffff8800d9e9fb30  EFLAGS: 00010246
Jun 29 07:51:28 server13 kernel: [73673.486054] RAX: ffff88010008fc20 RBX: ffff8800d9e9fc70 RCX: 000000000000007c
Jun 29 07:51:28 server13 kernel: [73673.486122] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88010008fc20
Jun 29 07:51:28 server13 kernel: [73673.486191] RBP: 00000000000008c4 R08: ffff880100090000 R09: ffff8800d6fb14e0
Jun 29 07:51:28 server13 kernel: [73673.486259] R10: 0000000000000000 R11: 00000000000008c4 R12: 00000000000003e0
Jun 29 07:51:28 server13 kernel: [73673.488052] R13: ffff8800d9e9fc60 R14: 0000000000000000 R15: 00000000000003e0
Jun 29 07:51:28 server13 kernel: [73673.488052] FS:  0000000000000000(0000) GS:ffff88011fc00000(0000) knlGS:0000000000000000
Jun 29 07:51:28 server13 kernel: [73673.488052] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Jun 29 07:51:28 server13 kernel: [73673.488052] CR2: 0000000000000000 CR3: 000000007e08f000 CR4: 00000000000006f0
Jun 29 07:51:28 server13 kernel: [73673.488052] Stack:
Jun 29 07:51:28 server13 kernel: [73673.488052]  ffffffff81305800 ffff8800d9e9fc50 ffff880100090000 0000000000000590
Jun 29 07:51:28 server13 kernel: [73673.488052]  ffff88007e092040 0000000000000000 ffff88007e092040 ffff8800d8b93200
Jun 29 07:51:28 server13 kernel: [73673.497916]  000000000000fc48 00000000000008c4 000000000000c000 ffff8800d9e9fc60
Jun 29 07:51:28 server13 kernel: [73673.497916] Call Trace:
Jun 29 07:51:28 server13 kernel: [73673.497916]  [<ffffffff81305800>] ? copy_from_iter+0x1f0/0x2c0
Jun 29 07:51:28 server13 kernel: [73673.497916]  [<ffffffff814ebd35>] ? tcp_sendmsg+0x9a5/0xb10
Jun 29 07:51:28 server13 kernel: [73673.497916]  [<ffffffff8148396c>] ? sock_sendmsg+0x4c/0x60
Jun 29 07:51:28 server13 kernel: [73673.497916]  [<ffffffffa0524c50>] ? drbd_send+0x90/0x1c0 [drbd]
Jun 29 07:51:28 server13 kernel: [73673.497916]  [<ffffffffa0524e6e>] ? __send_command.isra.36+0xbe/0x1c0 [drbd]
Jun 29 07:51:28 server13 kernel: [73673.497916]  [<ffffffffa0524d8e>] ? drbd_send_all+0xe/0x30 [drbd]
Jun 29 07:51:28 server13 kernel: [73673.497916]  [<ffffffffa05272ac>] ? drbd_send_dblock+0x35c/0x660 [drbd]
Jun 29 07:51:28 server13 kernel: [73673.497916]  [<ffffffffa050b342>] ? w_send_dblock+0x82/0x130 [drbd]
Jun 29 07:51:28 server13 kernel: [73673.497916]  [<ffffffffa050c748>] ? drbd_worker+0xe8/0x360 [drbd]
Jun 29 07:51:28 server13 kernel: [73673.497916]  [<ffffffffa0522f10>] ? drbd_destroy_connection+0x170/0x170 [drbd]
Jun 29 07:51:28 server13 kernel: [73673.497916]  [<ffffffffa0522f68>] ? drbd_thread_setup+0x58/0x150 [drbd]
Jun 29 07:51:28 server13 kernel: [73673.497916]  [<ffffffffa0522f10>] ? drbd_destroy_connection+0x170/0x170 [drbd]
Jun 29 07:51:28 server13 kernel: [73673.497916]  [<ffffffff81096ea1>] ? kthread+0xc1/0xe0
Jun 29 07:51:28 server13 kernel: [73673.497916]  [<ffffffff81096de0>] ? flush_kthread_worker+0x70/0x70
Jun 29 07:51:28 server13 kernel: [73673.497916]  [<ffffffff815a4472>] ? ret_from_fork+0x42/0x70
Jun 29 07:51:28 server13 kernel: [73673.497916]  [<ffffffff81096de0>] ? flush_kthread_worker+0x70/0x70
Jun 29 07:51:28 server13 kernel: [73673.497916] Code: 00 e8 73 fc ff ff 48 8b 43 60 48 2b 43 50 88 43 4e eb e6 90 90 90 90 90 90 0f 1f 44 00 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 <f3> 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 00 48 89 f8 48 89 d1 f3
Jun 29 07:51:28 server13 kernel: [73673.497916] RIP  [<ffffffff81300102>] __memcpy+0x12/0x20
Jun 29 07:51:28 server13 kernel: [73673.497916]  RSP <ffff8800d9e9fb30>
Jun 29 07:51:28 server13 kernel: [73673.497916] CR2: 0000000000000000
Jun 29 07:51:28 server13 kernel: [73673.497916] ---[ end trace a63b872e5b591cf6 ]
---
The userspace should be updated.

See also Forum-Thread → URL-Field above.
Comment 1 Valentin Mayer 2017-07-04 16:18:54 CEST
BTW: As mentioned in forum posting, the UCS version is 4.1-4, not 3.0 as per the version field above. Pls update!
Comment 2 Jürn Brodersen univentionstaff 2018-05-29 14:36:39 CEST
Version in 4.2: 8.9.2~rc1
Version in 4.3: 8.9.10-2

-> Fixed
Comment 3 Richard Ulmer univentionstaff 2018-06-04 12:58:06 CEST
The userland utilities are indeed updated to the versions mentioned in comment #2 in UCS 4.2 and 4.3.
-> VERIFIED