Bug 201481

Summary: pktcdvd: invalid opcode 0000 kernel BUG in pkt_make_request
Product: IO/Storage Reporter: Christopher Chavez (chrischavez)
Component: Block LayerAssignee: Jens Axboe (axboe)
Status: NEW ---    
Severity: normal CC: martin.konopka
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.15 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg for 4.19-rc7
dmesg for 4.15.0-38 (Ubuntu)
dmesg from kernel 5.3.0

Description Christopher Chavez 2018-10-21 20:54:51 UTC
Created attachment 279115 [details]
dmesg for 4.19-rc7

(Please feel free to adjust the category to something more appropriate.)

After using pktsetup to set up a pktcdvd device and mounting it (as described by the example in its man page), once there is a change to be written, this kernel BUG appears a moment later, and the pktcdvd device is no longer responsive.

Reproduced on i386 and amd64, using mainline kernel 4.19-rc7 as well as Ubuntu kernel 4.15.0-38.
Comment 1 Christopher Chavez 2018-10-21 20:55:47 UTC
Created attachment 279117 [details]
dmesg for 4.15.0-38 (Ubuntu)
Comment 2 martin.konopka 2020-09-03 07:03:36 UTC
Created attachment 292313 [details]
dmesg from kernel 5.3.0
Comment 3 martin.konopka 2020-09-03 07:05:03 UTC
The problem persists for kernel 5.3.0 (Ubuntu), see dmesg attachment and for kernel 5.4.0 (ubuntu). Since this was reported a few years ago, i doubt it is specific to distribution kernels.
Comment 4 Jens Axboe 2020-09-03 15:01:58 UTC
Unfortunately I do not have the hardware to debug this, and nobody else is maintaining it. At this point I think we should just remove the driver.