block_dev from kernel_misc test suite in LTP generates kernel traces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Won't Fix
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Cosmic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The test will pass, but there will be some kernel trace messages in the syslog:
ltp_block_dev: Test Case 7: unregister_blkdev() with major=0
WARNING: CPU: 0 PID: 13195 at block/genhd.c:415 unregister_
Modules linked in: ltp_block_dev(OE) msdos minix nls_iso8859_1 xfs binfmt_misc cfg80211 kvm_intel kvm irqbypass input_leds joydev serio_raw mac_hid sch_fq_codel ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_
CPU: 0 PID: 13195 Comm: block_dev Tainted: P W OE 4.18.0-20-generic #21-Ubuntu
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-
RIP: 0010:unregister
Code: 00 48 63 c3 48 8b 04 c5 40 83 12 ad 48 85 c0 74 19 44 3b 60 08 75 0b eb 4c 44 39 63 08 74 2a 48 89 d8 48 8b 18 48 85 db 75 ef <0f> 0b 31 db 48 c7 c7 00 90 b7 ac e8 7c 88 55 00 48 89 df e8 f4 13
RSP: 0018:ffffbc89c0
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff9cf134f7d700 RSI: ffffffffc09a4805 RDI: ffffffffacb79000
RBP: ffffbc89c0c8fdd8 R08: ffff9cf13fc27080 R09: 000000000000142f
R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000000
R13: ffffffffc09a4805 R14: ffffbc89c0c8fee8 R15: fffffffffffffff2
FS: 00007fa58aa0d5c
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000556033aef4c8 CR3: 0000000074b1e000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
sys_tcase.
dev_attr_
sysfs_
kernfs_
__vfs_
vfs_write+
ksys_
__x64_
do_syscall_
entry_
RIP: 0033:0x7fa58a92bfd4
Code: 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b3 0f 1f 80 00 00 00 00 48 8d 05 29 f7 0d 00 8b 00 85 c0 75 13 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 41 54 49 89 d4 55 48 89 f5 53
RSP: 002b:00007fff0c
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fa58a92bfd4
RDX: 0000000000000001 RSI: 0000556033aee4c0 RDI: 0000000000000015
RBP: 0000556033aee4c0 R08: 00007fa58aa0d5c0 R09: 0000000000000000
R10: 0000556032d004f6 R11: 0000000000000246 R12: 0000556033aed280
R13: 0000000000000001 R14: 00007fa58aa032a0 R15: 00007fa58aa02760
---[ end trace 7d89482f2331d988 ]---
0 test cases failed
startup='Wed May 22 07:57:20 2019'
block_dev 1 TPASS : Test-case '1'
block_dev 2 TPASS : Test-case '2'
block_dev 3 TPASS : Test-case '3'
block_dev 4 TPASS : Test-case '4'
block_dev 5 TPASS : Test-case '5'
block_dev 6 TPASS : Test-case '6'
block_dev 7 TPASS : Test-case '7'
tag=block_dev stime=1558511840 dur=0 exit=exited stat=0 core=no cu=0 cs=0
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: linux-image-
ProcVersionSign
Uname: Linux 4.18.0-20-generic x86_64
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 May 22 06:28 seq
crw-rw---- 1 root audio 116, 33 May 22 06:28 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.10-0ubuntu13.3
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CurrentDmesg:
Date: Wed May 22 07:57:40 2019
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
PciMultimedia:
ProcFB: 0 cirrusdrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.175.4
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/01/2014
dmi.bios.vendor: SeaBIOS
dmi.bios.version: Ubuntu-
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.
dmi.modalias: dmi:bvnSeaBIOS:
dmi.product.name: Standard PC (i440FX + PIIX, 1996)
dmi.product.
dmi.sys.vendor: QEMU
tags: | added: ubuntu-ltp |
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 1829994
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.