*** This bug is a duplicate of bug 1829994 ***
    https://bugs.launchpad.net/bugs/1829994

Hello,

This issue can be reproduced in 4.15 AMD64 generic kernels as well.

I have looked into the test case, this failure can be divided into 2 parts, the 
first one occurs on the fifth test case:
    Test Case 5: register_blkdev() with major=512/4294967295

Which will try to set the major number with 512 and UINT_MAX, however
the major number has been limited to 511 in Bionic (BLKDEV_MAJOR_MAX -
1, commit 133d55c upstream), this operation is expected to fail.

So it's normal to see this failure:
    register_blkdev: major requested (512) is greater than the maximum (512) 
for ltp_block_dev


For the kernel warning, it's caused by the seventh test case:
    Test Case 7: unregister_blkdev() with major=0

It will first try to allocate any unused major number by passing
major=0, and then try to unregister it with major=0 again. This is
expected to fail and generates warnings as the module used here is an
out-of-tree one.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1852294

Title:
  Ubuntu18.04.3 - LTP testcase gets stacktrace running 'kernel:
  ltp_block_dev: Test Case 7: unregister_blkdev() with major=0'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1852294/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to