Kernel bugs out with packet writing on DVD RW, system remains unable to shutdown cleanly and needs power cycling
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-meta-hwe-5.11 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
trying to use packet writing on a DVD RW media with ubuntu 20.04 I see a kernel bug.
This is what I am doing:
1) Preparing a dvdrw with the udf filesystem with mkudffs --media-type=dvdrw --spartable=2 /dev/pktcdvd/
2) Mouting the filesystem
3) Trying to write some files on it
I see the writeback cache getting dirty and then staying dirty forever, while the kernel says
------------[ cut here ]------------
[ 1738.892880] kernel BUG at drivers/
[ 1738.892894] invalid opcode: 0000 [#1] SMP NOPTI
[ 1738.892902] CPU: 0 PID: 8493 Comm: kworker/u16:5 Tainted: G OE 5.11.0-41-generic #45~20.04.1-Ubuntu
[ 1738.892909] Hardware name: SCHENKER SCHENKER_
[ 1738.892913] Workqueue: writeback wb_workfn (flush-252:0)
[ 1738.892927] RIP: 0010:pkt_
[ 1738.892939] Code: 41 3b 45 40 7c 0b 41 83 7d 44 01 0f 84 cd 00 00 00 4c 89 ff c6 07 00 0f 1f 40 00 4c 89 e7 c6 07 00 0f 1f 40 00 e9 08 ff ff ff <0f> 0b 0f 0b 4c 89 c8 31 c9 e9 96 fe ff ff 48 c7 c2 e0 17 44 c1 be
[ 1738.892945] RSP: 0018:ffffb84c43
[ 1738.892950] RAX: 00000000000017a8 RBX: ffff97508f66f800 RCX: 00000000000017a7
[ 1738.892955] RDX: 0000000000001980 RSI: 00000000000017c0 RDI: 0000000000000040
[ 1738.892958] RBP: ffffb84c43bd37a0 R08: 0000000000000200 R09: ffffffffffffffc0
[ 1738.892962] R10: 0000000000001780 R11: 0000000000000000 R12: ffff974fd2412800
[ 1738.892966] R13: 00000000ffffffff R14: ffff97513f5f2800 R15: ffff9751584f9f50
[ 1738.892970] FS: 000000000000000
[ 1738.892975] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1738.892979] CR2: 00000000039f9000 CR3: 00000003dfe10005 CR4: 00000000003726f0
[ 1738.892984] Call Trace:
[ 1738.892987] ? ktime_get+0x3e/0xa0
[ 1738.892997] ? blk_queue_
[ 1738.893005] ? submit_
[ 1738.893011] ? mempool_
[ 1738.893017] ? mempool_
[ 1738.893023] submit_
[ 1738.893030] submit_
[ 1738.893036] ? bio_add_
[ 1738.893045] __mpage_
[ 1738.893052] ? find_get_
[ 1738.893057] ? __mod_memcg_
[ 1738.893063] ? clear_page_
[ 1738.893071] write_cache_
[ 1738.893078] ? clean_buffers+
[ 1738.893085] ? udf_block_
[ 1738.893099] mpage_writepage
[ 1738.893104] ? udf_block_
[ 1738.893114] ? udf_time_
[ 1738.893129] udf_writepages+
[ 1738.893140] do_writepages+
[ 1738.893147] ? udf_update_
[ 1738.893158] __writeback_
[ 1738.893165] writeback_
[ 1738.893173] __writeback_
[ 1738.893179] wb_writeback+
[ 1738.893186] wb_workfn+
[ 1738.893193] ? __update_
[ 1738.893201] process_
[ 1738.893207] worker_
[ 1738.893212] ? process_
[ 1738.893217] kthread+0x12b/0x150
[ 1738.893224] ? set_kthread_
[ 1738.893231] ret_from_
[ 1738.893242] Modules linked in: udf crc_itu_t pktcdvd usb_storage hid_generic hidp hid ccm vhost_vsock vmw_vsock_
[ 1738.893354] videobuf2_v4l2 btintel libarc4 snd_timer videobuf2_common rapl intel_cstate bluetooth input_leds videodev snd joydev iwlwifi serio_raw mc efi_pstore cfg80211 intel_wmi_
[ 1738.893491] xhci_pci_renesas wmi video
[ 1738.893502] ---[ end trace e573976dd1a434bb ]---
[ 1739.697063] RIP: 0010:pkt_
[ 1739.697073] Code: 41 3b 45 40 7c 0b 41 83 7d 44 01 0f 84 cd 00 00 00 4c 89 ff c6 07 00 0f 1f 40 00 4c 89 e7 c6 07 00 0f 1f 40 00 e9 08 ff ff ff <0f> 0b 0f 0b 4c 89 c8 31 c9 e9 96 fe ff ff 48 c7 c2 e0 17 44 c1 be
[ 1739.697075] RSP: 0018:ffffb84c43
[ 1739.697078] RAX: 00000000000017a8 RBX: ffff97508f66f800 RCX: 00000000000017a7
[ 1739.697079] RDX: 0000000000001980 RSI: 00000000000017c0 RDI: 0000000000000040
[ 1739.697080] RBP: ffffb84c43bd37a0 R08: 0000000000000200 R09: ffffffffffffffc0
[ 1739.697082] R10: 0000000000001780 R11: 0000000000000000 R12: ffff974fd2412800
[ 1739.697083] R13: 00000000ffffffff R14: ffff97513f5f2800 R15: ffff9751584f9f50
[ 1739.697084] FS: 000000000000000
[ 1739.697086] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1739.697087] CR2: 00000000039f9000 CR3: 0000000188e7e001 CR4: 00000000003726f0
At this point the system appears to be working, but it cannot do a clean shut down and must be power cycled.
There may be a (partial) responsibility from the filesystem created by the udftoos or the media (I have crossposted pali at https:/
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.11.0-41-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Fri Dec 3 15:01:00 2021
EcryptfsInUse: Yes
InstallationDate: Installed on 2020-02-16 (656 days ago)
InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
SourcePackage: linux-meta-hwe-5.11
UpgradeStatus: Upgraded to focal on 2020-05-23 (559 days ago)