Bug 204623

Summary: 'drbdadm up' report error on this kernel but not on 5.1.15
Product: Other Reporter: Manhong Dai (manhongdai)
Component: OtherAssignee: other_other
Status: NEW ---    
Severity: normal CC: denniskelbert
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.2.9 Subsystem:
Regression: No Bisected commit-id:

Description Manhong Dai 2019-08-19 20:03:46 UTC
After 'drbdadm create-md t1', 'drbdadm up t1' reports this error

t1: Invalid argument
Command 'drbdsetup-84 new-resource t1' terminated with exit code 20
drbdadm: new-minor t1: skipped due to earlier error


After downgrading drbdadm from 9.10.0 to to 9.7.0, the problem persists

After downgrading kernel from 5.2.9 to 5.1.15, the problem is fixed.

BTW, I use Arch Linux. t1 is a loop device attached to a local disk file.
Comment 1 Dennis 2019-08-21 16:51:17 UTC
Same here

Kernel 5.1.16 OK

Kernel 5.2.2 FAIL
drbdsetup new-resource r0
r0: Invalid argument
Comment 2 Dennis 2019-08-21 17:13:50 UTC
Hey, 

It's working with the new (not stable) drbd-utils.

Look this:
https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg64900.html