FreeBSD Bugzilla – Attachment 209512 Details for
Bug 219857
panic in scsi_cd code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix system hang on boot
fix_hang.patch (text/plain), 613 bytes, created by
Leandro Lupori
on 2019-11-28 14:37:35 UTC
(
hide
)
Description:
Fix system hang on boot
Filename:
MIME Type:
Creator:
Leandro Lupori
Created:
2019-11-28 14:37:35 UTC
Size:
613 bytes
patch
obsolete
>diff --git a/sys/cam/scsi/scsi_cd.c b/sys/cam/scsi/scsi_cd.c >index 33f3743899a..03a15dbc735 100644 >--- a/sys/cam/scsi/scsi_cd.c >+++ b/sys/cam/scsi/scsi_cd.c >@@ -1032,7 +1032,8 @@ cdstart(struct cam_periph *periph, union ccb *start_ccb) > * If the CD is already locked, we don't need to do this. > * Move on to the capacity check. > */ >- if ((softc->flags & CD_FLAG_DISC_LOCKED) != 0) { >+ if (softc->state == CD_STATE_MEDIA_PREVENT && >+ (softc->flags & CD_FLAG_DISC_LOCKED) != 0) { > softc->state = CD_STATE_MEDIA_SIZE; > xpt_release_ccb(start_ccb); > xpt_schedule(periph, CAM_PRIORITY_NORMAL);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 219857
:
195055
|
195314
|
195315
| 209512