Bug 235081 - [scsi_cd]: panic with unreliable USB cable in r343190
Summary: [scsi_cd]: panic with unreliable USB cable in r343190
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-scsi mailing list
URL:
Keywords: panic
Depends on:
Blocks:
 
Reported: 2019-01-20 15:09 UTC by Andriy Voskoboinyk
Modified: 2019-02-01 07:27 UTC (History)
1 user (show)

See Also:


Attachments
Panic backtrace (8.68 KB, text/plain)
2019-01-20 15:09 UTC, Andriy Voskoboinyk
no flags Details
Panic backtrace (with patch applied) (8.39 KB, text/plain)
2019-02-01 03:22 UTC, Andriy Voskoboinyk
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andriy Voskoboinyk freebsd_committer 2019-01-20 15:09:46 UTC
Created attachment 201286 [details]
Panic backtrace
Comment 1 Andriy Gapon freebsd_committer 2019-01-21 07:50:06 UTC
Please see bug 219857.
It also has a patch.
Comment 2 Andriy Voskoboinyk freebsd_committer 2019-01-21 09:38:14 UTC

*** This bug has been marked as a duplicate of bug 219857 ***
Comment 3 Andriy Voskoboinyk freebsd_committer 2019-02-01 03:22:04 UTC
Created attachment 201575 [details]
Panic backtrace (with patch applied)
Comment 4 Andriy Voskoboinyk freebsd_committer 2019-02-01 03:24:28 UTC
It's may be not patch-related, but another panic backtrace shows with it.
Comment 5 Andriy Gapon freebsd_committer 2019-02-01 07:27:49 UTC
TLDR version of the panic:

Feb  1 05:06:34 ThinkPad-X220 kernel: cd0 at umass-sim0 bus 0 scbus4 target 0 lun 0
Feb  1 05:06:34 ThinkPad-X220 kernel: cd0: <Linux File-CD Gadget 0310>  detached
...
Feb  1 05:08:03 ThinkPad-X220 kernel: Fatal trap 9: general protection fault while in kernel mode
Feb  1 05:08:03 ThinkPad-X220 kernel: cpuid = 3; apic id = 03
Feb  1 05:08:03 ThinkPad-X220 kernel: instruction pointer	= 0x20:0xffffffff8053052f
Feb  1 05:08:03 ThinkPad-X220 kernel: stack pointer	        = 0x28:0xfffffe0000546470
Feb  1 05:08:03 ThinkPad-X220 kernel: frame pointer	        = 0x28:0xfffffe0000546490
Feb  1 05:08:03 ThinkPad-X220 kernel: code segment		= base rx0, limit 0xfffff, type 0x1b
Feb  1 05:08:03 ThinkPad-X220 kernel: 			= DPL 0, pres 1, long 1, def32 0, gran 1
Feb  1 05:08:03 ThinkPad-X220 kernel: processor eflags	= interrupt enabled, resume, IOPL = 0
Feb  1 05:08:03 ThinkPad-X220 kernel: current process		= 7 (doneq0)
...
Feb  1 05:08:03 ThinkPad-X220 kernel: --- trap 0x9, rip = 0xffffffff8053052f, rsp = 0xfffffe0000546470, rbp = 0xfffffe0000546490 ---
Feb  1 05:08:03 ThinkPad-X220 kernel: bioq_flush() at bioq_flush+0x5f/frame 0xfffffe0000546490
Feb  1 05:08:03 ThinkPad-X220 kernel: cddone() at cddone+0x4fe/frame 0xfffffe00005469e0
Feb  1 05:08:03 ThinkPad-X220 kernel: xpt_done_process() at xpt_done_process+0x35f/frame 0xfffffe0000546a20