NetBSD Problem Report #3409

Received: (qmail-queue invoked from smtpd); 29 Mar 1997 15:45:37 -0000
Message-Id: <199703291453.XAA08568@bimota.imada.math.human.nagoya-u.ac.jp>
Date: Sat, 29 Mar 1997 23:53:28 +0900 (JST)
From: Koji Imada - je4owb/2 <koji@imada.math.human.nagoya-u.ac.jp>
Reply-To: koji@imada.math.human.nagoya-u.ac.jp
To: gnats-bugs@gnats.netbsd.org
Subject: SCSI timeout problem to access CD changer NAKAMITI MBR-7
X-Send-Pr-Version: 3.95

>Number:         3409
>Category:       kern
>Synopsis:       SCSI timeout problem to access CD changer NAKAMITI MBR-7
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 29 07:50:01 +0000 1997
>Closed-Date:    Sat Mar 29 21:37:27 +0000 1997
>Last-Modified:  Thu Mar 24 11:34:24 +0000 2005
>Originator:     Koji Imada - je4owb/2
>Release:        1.2_BETA
>Organization:
Mathematics Group of Graduate School of Human
	Infomatics, Nagoya University, Japan.
>Environment:

System: NetBSD bimota 1.2 NetBSD 1.2 (BIMOTA) #0: Fri Mar 28 07:10:55 JST 1997 koji@bimota:/mnt2/NetBSD/usr/NetBSD/src/sys/arch/i386/compile/BIMOTA i386


>Description:
	When accesing to NAKAMITI MBR-7(CD changer), SCSI timeout
	happens. So I can't read from MBR-7.
>How-To-Repeat:
	connect MBR-7 to SCSI bus and start system. Then insert CD-ROM
	to MBR-7 and try to mount it. It's enough.
>Fix:
	Apply following diffs to sys/scsi/cd.c

Index: sys/scsi/cd.c
===================================================================
RCS file: /mnt2/NetBSD/cvsroot/NetBSD/src/sys/scsi/cd.c,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 cd.c
*** cd.c	1997/03/07 11:35:11	1.1.1.1
--- cd.c	1997/03/09 22:20:37
***************
*** 992,998 ****
  	 */
  	if (scsi_scsi_cmd(cd->sc_link, (struct scsi_generic *)&scsi_cmd,
  	    sizeof(scsi_cmd), (u_char *)&rdcap, sizeof(rdcap), CDRETRIES,
! 	    2000, NULL, flags | SCSI_DATA_IN) != 0)
  		return 0;

  	blksize = _4btol(rdcap.length);
--- 992,998 ----
  	 */
  	if (scsi_scsi_cmd(cd->sc_link, (struct scsi_generic *)&scsi_cmd,
  	    sizeof(scsi_cmd), (u_char *)&rdcap, sizeof(rdcap), CDRETRIES,
! 	    20000, NULL, flags | SCSI_DATA_IN) != 0)
  		return 0;

  	blksize = _4btol(rdcap.length);

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: christos 
State-Changed-When: Sat Mar 29 16:37:27 EST 1997 
State-Changed-Why:  
Fixed, thanks 
From: Adam Ciarcinski <adam@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/3409 CVS commit: pkgsrc/lang/ocaml
Date: Thu, 24 Mar 2005 11:32:50 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	adam
 Date:		Thu Mar 24 11:32:50 UTC 2005

 Modified Files:
 	pkgsrc/lang/ocaml: Makefile.common PLIST PLIST.opt distinfo
 	pkgsrc/lang/ocaml/patches: patch-aa patch-aj patch-al patch-at patch-ax
 	    patch-ay patch-ba patch-bm patch-bn patch-bp patch-bq patch-bs
 	    patch-bu
 Added Files:
 	pkgsrc/lang/ocaml/patches: patch-ag

 Log Message:
 Changes 3.08.3:
 New features:
 - support for ocamlopt -pack under Mac OS X (PR#2634, PR#3320)
 - ignore unknown warning options for forward and backward compatibility
 - runtime: export caml_compare_unordered (PR#3479)
 - camlp4: install argl.* files (PR#3439)
 - ocamldoc: add -man-section option
 - labltk: add the "solid" relief option (PR#3343)
 - compiler: ocamlc -i now prints variance annotations

 Bug fixes:
 - typing: fix unsoundness in type declaration variance inference.
     Type parameters which are constrained must now have an explicit variant
     annotation, otherwise they are invariant. This is not backward
     compatible, so this might break code which either uses subtyping or
     uses the relaxed value restriction (i.e. was not typable before 3.07)
 - typing: erroneous partial match warning for polymorphic variants (PR#3424)
 - runtime: handle the case of an empty command line (PR#3409, PR#3444)
 - stdlib: make Sys.executable_name an absolute path in native code (PR#3303)
 - runtime: fix memory leak in finalise.c
 - runtime: auto-trigger compaction even if gc is called manually (PR#3392)
 - stdlib: fix segfault in Obj.dup on zero-sized values (PR#3406)
 - camlp4: correct parsing of the $ identifier (PR#3310, PR#3469)
 - windows (MS tools): use link /lib instead of lib (PR#3333)
 - windows (MS tools): change default install destination
 - autoconf: better checking of SSE2 instructions (PR#3329, PR#3330)
 - graphics: make close_graph close the X display as well as the window (PR#3312)
 - num: fix big_int_of_string (empty string) (PR#3483)
 - num: fix big bug on 64-bit architecture (PR#3299)
 - str: better documentation of string_match and string_partial_match (PR#3395)
 - unix: fix file descriptor leak in Unix.accept (PR#3423)
 - unix: miscellaneous clean-ups
 - unix: fix documentation of Unix.tm (PR#3341)
 - graphics: fix problem when allocating lots of images under Windows (PR#3433)
 - compiler: fix error message with -pack when .cmi is missing (PR#3028)
 - cygwin: fix problem with compilation of camlheader (PR#3485)
 - stdlib: Filename.basename doesn't return an empty string any more (PR#3451)
 - stdlib: better documentation of Open_excl flag (PR#3450)
 - ocamlcp: accept -thread option (PR#3511)
 - ocamldep: handle spaces in file names (PR#3370)
 - compiler: remove spurious warning in pattern-matching on variants (PR#3424)
 - windows: better handling of InterpreterPath registry entry (PR#3334, PR#3432)


 To generate a diff of this commit:
 cvs rdiff -r1.4 -r1.5 pkgsrc/lang/ocaml/Makefile.common
 cvs rdiff -r1.11 -r1.12 pkgsrc/lang/ocaml/PLIST
 cvs rdiff -r1.8 -r1.9 pkgsrc/lang/ocaml/PLIST.opt
 cvs rdiff -r1.26 -r1.27 pkgsrc/lang/ocaml/distinfo
 cvs rdiff -r1.4 -r1.5 pkgsrc/lang/ocaml/patches/patch-aa \
     pkgsrc/lang/ocaml/patches/patch-aj pkgsrc/lang/ocaml/patches/patch-al \
     pkgsrc/lang/ocaml/patches/patch-at
 cvs rdiff -r0 -r1.4 pkgsrc/lang/ocaml/patches/patch-ag
 cvs rdiff -r1.1 -r1.2 pkgsrc/lang/ocaml/patches/patch-ax \
     pkgsrc/lang/ocaml/patches/patch-ay pkgsrc/lang/ocaml/patches/patch-bm \
     pkgsrc/lang/ocaml/patches/patch-bq pkgsrc/lang/ocaml/patches/patch-bu
 cvs rdiff -r1.3 -r1.4 pkgsrc/lang/ocaml/patches/patch-ba
 cvs rdiff -r1.2 -r1.3 pkgsrc/lang/ocaml/patches/patch-bn \
     pkgsrc/lang/ocaml/patches/patch-bp pkgsrc/lang/ocaml/patches/patch-bs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Adam Ciarcinski <adam@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/3409 CVS commit: pkgsrc/x11/ocaml-graphics
Date: Thu, 24 Mar 2005 11:33:24 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	adam
 Date:		Thu Mar 24 11:33:24 UTC 2005

 Modified Files:
 	pkgsrc/x11/ocaml-graphics: Makefile

 Log Message:
 Changes 3.08.3:
 New features:
 - support for ocamlopt -pack under Mac OS X (PR#2634, PR#3320)
 - ignore unknown warning options for forward and backward compatibility
 - runtime: export caml_compare_unordered (PR#3479)
 - camlp4: install argl.* files (PR#3439)
 - ocamldoc: add -man-section option
 - labltk: add the "solid" relief option (PR#3343)
 - compiler: ocamlc -i now prints variance annotations

 Bug fixes:
 - typing: fix unsoundness in type declaration variance inference.
     Type parameters which are constrained must now have an explicit variant
     annotation, otherwise they are invariant. This is not backward
     compatible, so this might break code which either uses subtyping or
     uses the relaxed value restriction (i.e. was not typable before 3.07)
 - typing: erroneous partial match warning for polymorphic variants (PR#3424)
 - runtime: handle the case of an empty command line (PR#3409, PR#3444)
 - stdlib: make Sys.executable_name an absolute path in native code (PR#3303)
 - runtime: fix memory leak in finalise.c
 - runtime: auto-trigger compaction even if gc is called manually (PR#3392)
 - stdlib: fix segfault in Obj.dup on zero-sized values (PR#3406)
 - camlp4: correct parsing of the $ identifier (PR#3310, PR#3469)
 - windows (MS tools): use link /lib instead of lib (PR#3333)
 - windows (MS tools): change default install destination
 - autoconf: better checking of SSE2 instructions (PR#3329, PR#3330)
 - graphics: make close_graph close the X display as well as the window (PR#3312)
 - num: fix big_int_of_string (empty string) (PR#3483)
 - num: fix big bug on 64-bit architecture (PR#3299)
 - str: better documentation of string_match and string_partial_match (PR#3395)
 - unix: fix file descriptor leak in Unix.accept (PR#3423)
 - unix: miscellaneous clean-ups
 - unix: fix documentation of Unix.tm (PR#3341)
 - graphics: fix problem when allocating lots of images under Windows (PR#3433)
 - compiler: fix error message with -pack when .cmi is missing (PR#3028)
 - cygwin: fix problem with compilation of camlheader (PR#3485)
 - stdlib: Filename.basename doesn't return an empty string any more (PR#3451)
 - stdlib: better documentation of Open_excl flag (PR#3450)
 - ocamlcp: accept -thread option (PR#3511)
 - ocamldep: handle spaces in file names (PR#3370)
 - compiler: remove spurious warning in pattern-matching on variants (PR#3424)
 - windows: better handling of InterpreterPath registry entry (PR#3334, PR#3432)


 To generate a diff of this commit:
 cvs rdiff -r1.2 -r1.3 pkgsrc/x11/ocaml-graphics/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.