From owner-freebsd-bugs Tue Aug 1 12:10: 7 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6B00137BA58 for ; Tue, 1 Aug 2000 12:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA47510; Tue, 1 Aug 2000 12:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id 3874037B8D7 for ; Tue, 1 Aug 2000 12:07:35 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by david.siemens.de (8.10.1/8.10.1) with ESMTP id e71J7X611663 for ; Tue, 1 Aug 2000 21:07:33 +0200 (MET DST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail1.siemens.de (8.10.1/8.10.1) with ESMTP id e71J7W122137 for ; Tue, 1 Aug 2000 21:07:32 +0200 (MET DST) Received: (from localhost) by curry.mchp.siemens.de (8.10.2/8.10.2) id e71J7Wa33519 for FreeBSD-gnats-submit@freebsd.org; Tue, 1 Aug 2000 21:07:32 +0200 (CEST) Message-Id: <200008011907.e71J7WU00651@curry.mchp.siemens.de> Date: Tue, 1 Aug 2000 21:07:32 +0200 (CEST) From: Andre Albsmeier To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/20347: YAMAHA CDR100 does not like multiple LUN probing Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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