Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2000 21:07:32 +0200 (CEST)
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/20347: YAMAHA CDR100 does not like multiple LUN probing
Message-ID:  <200008011907.e71J7WU00651@curry.mchp.siemens.de>

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

>Number:         20347
>Category:       kern
>Synopsis:       YAMAHA CDR100 does not like multiple LUN probing
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 01 12:10:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Andre Albsmeier
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
>Environment:

probably all FreeBSD versions

>Description:

The YAMAHA CDR100 doesn't like multiple LUN probing. If you, for example,
wire down your devices like this

device          pass15  at scbus1 target 5
device          cd1     at scbus1 target 5
device          pass16  at scbus1 target 6
device          cd0     at scbus1 target 6

where target 5 is a "YAMAHA CDR100" and target 6 is another cdrom,
the following message appears in dmesg

(cd0:ahc1:0:5:0): Duplicate Wired Device entry!
(cd0:ahc1:0:5:0): Second device will not be wired
(cd0:ahc1:0:5:0): lost device
(cd0:ahc1:0:5:0): removing device entry

and the other cdrom (target 6) becomes cd1.


>How-To-Repeat:

Try the above example

>Fix:

--- sys/cam/cam_xpt.c.ORI	Tue Aug  1 20:54:41 2000
+++ sys/cam/cam_xpt.c	Tue Aug  1 20:57:00 2000
@@ -418,6 +418,10 @@
 		CAM_QUIRK_NOLUNS, /*mintags*/0, /*maxtags*/0
 	},
 	{
+		{ T_WORM, SIP_MEDIA_REMOVABLE, "YAMAHA", "CDR100*", "*" },
+		CAM_QUIRK_NOLUNS, /*mintags*/0, /*maxtags*/0
+	},
+	{
 		/*
 		 * The 8200 doesn't like multi-lun probing, and probably
 		 * don't like serial number requests either.

>Release-Note:
>Audit-Trail:
>Unformatted:


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




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