Bug 1629421 - WARNING: CPU: 1 PID: 1561 at block/blk-core.c:2161 generic_make_request_checks+0x4b3/0x600
Summary: WARNING: CPU: 1 PID: 1561 at block/blk-core.c:2161 generic_make_request_check...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-16 04:57 UTC by Chris Murphy
Modified: 2019-09-06 03:15 UTC (History)
18 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-09-06 03:15:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
journal full (2.28 MB, text/plain)
2018-09-16 05:00 UTC, Chris Murphy
no flags Details

Description Chris Murphy 2018-09-16 04:57:31 UTC
Description of problem:

I'm seeing this on Fedora 29 netinstall images on every boot. Looks like anaconda starts udisks2 which calls dumpe2fs (?maybe I don't see any dumpe2fs references in udisks2 code itself), but is dumpe2fs trying to write something and if so why?

dm-1 is a read only 'live-base' image which is ext4.

Curiously it's not happening on lives. 


Version-Release number of selected component (if applicable):
udisks2-2.8.0-1.fc29
e2fsprogs-1.44.3-1.fc29.x86_64
kernel-4.18.5-300.fc29.x86_64



How reproducible:
Every boot


Steps to Reproduce:
1. Boot Fedora-Workstation-netinst-x86_64-29_Beta-1.1.iso
2.
3.

Actual results:

Right after udisks starts up:
[   42.920067] localhost kernel: generic_make_request: Trying to write to read-only block-device dm-1 (partno 0)
[   42.920112] localhost kernel: WARNING: CPU: 1 PID: 1561 at block/blk-core.c:2161 generic_make_request_checks+0x4b3/0x600

Kernel is tainted 512

Expected results:

Maybe EIO? But not a kernel warning.

Additional info:

complete journal is attached


[   42.783375] localhost udisksd[1555]: udisks daemon version 2.8.0 starting
[   42.920063] localhost kernel: ------------[ cut here ]------------
[   42.920067] localhost kernel: generic_make_request: Trying to write to read-only block-device dm-1 (partno 0)
[   42.920112] localhost kernel: WARNING: CPU: 1 PID: 1561 at block/blk-core.c:2161 generic_make_request_checks+0x4b3/0x600
[   42.920114] localhost kernel: Modules linked in: zram scsi_dh_rdac scsi_dh_emc scsi_dh_alua virtio_balloon joydev i2c_piix4 loop nls_utf8 isofs qxl crct10dif_pclmul crc32_pclmul drm_kms_helper ghash_clmulni_intel ttm virtio_console 8021q serio_raw garp mrp stp llc virtio_blk drm virtio_net net_failover failover ata_generic pata_acpi qemu_fw_cfg sunrpc mcryptd sha256_ssse3 dm_crypt dm_round_robin dm_multipath linear raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c crc32c_intel raid1 raid0 iscsi_ibft iscsi_boot_sysfs floppy iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi squashfs zstd_decompress xxhash cramfs
[   42.920175] localhost kernel: CPU: 1 PID: 1561 Comm: dumpe2fs Not tainted 4.18.5-300.fc29.x86_64 #1
[   42.920177] localhost kernel: Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015
[   42.920180] localhost kernel: RIP: 0010:generic_make_request_checks+0x4b3/0x600
[   42.920181] localhost kernel: Code: 54 03 00 00 48 89 df 48 8d 74 24 08 c6 05 4e 01 f1 00 01 e8 3f 5e 01 00 48 c7 c7 68 8e 10 b4 44 89 e2 48 89 c6 e8 37 2f c8 ff <0f> 0b 4c 8b 63 08 e9 dd fb ff ff 49 8b 76 08 48 85 f6 74 3e 89 c0 
[   42.920228] localhost kernel: RSP: 0018:ffffae7b00d17d98 EFLAGS: 00010282
[   42.920230] localhost kernel: RAX: 0000000000000000 RBX: ffff9e41dcfb9100 RCX: 0000000000000006
[   42.920232] localhost kernel: RDX: 0000000000000007 RSI: 0000000000000092 RDI: ffff9e421f716930
[   42.920233] localhost kernel: RBP: ffff9e41dd097440 R08: 0000000000000060 R09: 0000000000000001
[   42.920235] localhost kernel: R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
[   42.920236] localhost kernel: R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000
[   42.920238] localhost kernel: FS:  00007f1aa18af780(0000) GS:ffff9e421f700000(0000) knlGS:0000000000000000
[   42.920240] localhost kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   42.920241] localhost kernel: CR2: 00007f1aa199d5e0 CR3: 0000000046f28000 CR4: 00000000000006e0
[   42.920247] localhost kernel: Call Trace:
[   42.920279] localhost kernel:  generic_make_request+0x5b/0x410
[   42.920284] localhost kernel:  ? mempool_alloc+0x70/0x1a0
[   42.920289] localhost kernel:  ? apic_timer_interrupt+0xa/0x20
[   42.920291] localhost kernel:  submit_bio+0x45/0x140
[   42.920294] localhost kernel:  ? bio_alloc_bioset+0xdc/0x210
[   42.920296] localhost kernel:  submit_bio_wait+0x53/0x80
[   42.920300] localhost kernel:  blkdev_issue_flush+0x7c/0xb0
[   42.920305] localhost kernel:  blkdev_fsync+0x2f/0x40
[   42.920309] localhost kernel:  do_fsync+0x38/0x70
[   42.920312] localhost kernel:  __x64_sys_fsync+0x10/0x20
[   42.920316] localhost kernel:  do_syscall_64+0x5b/0x160
[   42.920319] localhost kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   42.920323] localhost kernel: RIP: 0033:0x7f1aa19c7d68
[   42.920324] localhost kernel: Code: 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 8d 05 b5 09 0d 00 8b 00 85 c0 75 17 b8 4a 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 40 c3 0f 1f 80 00 00 00 00 53 89 fb 48 83 ec 
[   42.920370] localhost kernel: RSP: 002b:00007fff09d18c68 EFLAGS: 00000246 ORIG_RAX: 000000000000004a
[   42.920373] localhost kernel: RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1aa19c7d68
[   42.920374] localhost kernel: RDX: 0000000000000008 RSI: 0000000000000000 RDI: 0000000000000003
[   42.920376] localhost kernel: RBP: 0000000000000003 R08: 0000000000000200 R09: 00007f1aa1b63660
[   42.920377] localhost kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[   42.920378] localhost kernel: R13: 000055a2e9607440 R14: 00007f1aa1b63660 R15: 000055a2e96072d0
[   42.920381] localhost kernel: ---[ end trace 47bfa34d3f9f8227 ]---

Comment 1 Chris Murphy 2018-09-16 05:00:19 UTC
Created attachment 1483644 [details]
journal full

warning starts at [   42.920063]

Comment 3 Jeremy Cline 2018-12-03 17:35:09 UTC
We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 29 kernel bugs.
 
Fedora 29 has now been rebased to 4.19.5-300.fc29.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.
 
If you experience different issues, please open a new bug report for those.

Comment 4 Chris Murphy 2019-09-06 03:15:47 UTC
I haven't seen this since reported, and doesn't happen with Fedora-Server-netinst-x86_64-31-20190905.n.0.iso.

Closing.


Note You need to log in before you can comment on or make changes to this bug.