FreeBSD Bugzilla – Attachment 99655 Details for
Bug 138789
[cam] [patch] cd(4) patch for drives/discs failing the 'read toc' command
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 482 bytes, created by
Juergen Lock
on 2009-09-13 22:20:07 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Juergen Lock
Created:
2009-09-13 22:20:07 UTC
Size:
482 bytes
patch
obsolete
>Index: sys/cam/scsi/scsi_cd.c >@@ -2868,12 +2868,18 @@ > } > > softc->flags |= CD_FLAG_VALID_TOC; >+ >+bailout: > softc->disk->d_maxsize = DFLTPHYS; > softc->disk->d_sectorsize = softc->params.blksize; > softc->disk->d_mediasize = > (off_t)softc->params.blksize * softc->params.disksize; > >+/* if > bailout: >+ * is here read requests will fail when the toc cant be read although >+ * CD_FLAG_VALID_MEDIA is set. >+ */ > > /* > * We unconditionally (re)set the blocksize each time the
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 138789
: 99655