Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 1998 11:24:13 -0600 (MDT)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        michael_class@bbn.hp.com (Michael Class)
Cc:        yokota@zodiac.mech.utsunomiya-u.ac.jp, current@FreeBSD.ORG
Subject:   Re: CAM and ncr driver - my story
Message-ID:  <199809221724.LAA15788@panzer.plutotech.com>
In-Reply-To: <3607A449.9EA5341D@bbn.hp.com> from Michael Class at "Sep 22, 98 03:21:13 pm"

next in thread | previous in thread | raw e-mail | index | archive | help

--ELM906485053-15587-0_
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Michael Class wrote...
> Hello,
> 
> I got the very same problems then you. Upgrade to (at least) ncr.c rev.
> 1.130. Now it seems that almost everything is working for me with ncr
> and CAM. 
> 
> One minor glitch that is left for me is that my CD-WORM (HP4020i) is not
> recognized as CD-ROM drive if there is no CD in it during boot-time...

Does it probe as a WORM or CDROM device?  It sounds like you may have a
problem similar to the one Jean-Marc Zucconi has.  He has a Philips drive
that fails the read capacity command with 0x04,0x00 instead of 0x3a,*, like
most CDROM drives do.

Try the attached patch for scsi_cd.c and see if your drive is recognized
without a CD in it.

Ken
-- 
Kenneth Merry
ken@plutotech.com

--ELM906485053-15587-0_
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: attachment; filename=jmz.cddiffs
Content-Description: jmz.cddiffs
Content-Transfer-Encoding: 7bit

==== //depot/cam/sys/cam/scsi/scsi_cd.c#84 - /usr/home/ken/perforce/cam/sys/cam/scsi/scsi_cd.c ====
*** /tmp/tmp.12821.0	Tue Sep 22 00:12:31 1998
--- /usr/home/ken/perforce/cam/sys/cam/scsi/scsi_cd.c	Tue Sep 22 00:12:00 1998
***************
*** 1711,1717 ****
  				 * the error is anything else, though, we
  				 * shouldn't attach.
  				 */
! 				if ((have_sense) && (asc == 0x3a)
  				 && (error_code == SSD_CURRENT_ERROR))
  					sprintf(announce_buf, 
  						"Attempt to query device "
--- 1711,1718 ----
  				 * the error is anything else, though, we
  				 * shouldn't attach.
  				 */
! 				if ((have_sense)
! 				 && ((asc == 0x3a) || (asc == 0x04))
  				 && (error_code == SSD_CURRENT_ERROR))
  					sprintf(announce_buf, 
  						"Attempt to query device "

--ELM906485053-15587-0_--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809221724.LAA15788>