set correct device size of loopback devices

Bug #1896616 reported by Andrea Righi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
linux (Ubuntu)
Incomplete
Undecided
Unassigned
Groovy
Incomplete
Undecided
Unassigned

Bug Description

[Impact]

SRU test ubuntu_ltp_syscalls is reporting the following message:

11:52:03 DEBUG| [stdout] ioctl_loop07.c:62: FAIL: /sys/block/loop4/size != 1024 got 2048
11:52:03 DEBUG| [stdout] ioctl_loop07.c:63: PASS: /sys/block/loop4/loop/sizelimit = 524288
11:52:03 DEBUG| [stdout] ioctl_loop07.c:66: PASS: LOOP_GET_STATUS64 gets correct lo_sizelimit(524288)
11:52:03 DEBUG| [stdout]
11:52:03 DEBUG| [stdout] HINT: You _MAY_ be missing kernel fixes, see:
11:52:03 DEBUG| [stdout]
11:52:03 DEBUG| [stdout] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=79e5dc59e297

[Test case]

$ sudo autotest/client/autotest-local -v autotest/client/tests/ubuntu_ltp_syscalls/control

[Fix]

Apply upstream commit 79e5dc59e297.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1896616

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Po-Hsu Lin (cypressyew)
tags: added: ubuntu-ltp-syscalls
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.