From owner-freebsd-questions@FreeBSD.ORG Sat Apr 14 01:39:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0DEB316A400 for ; Sat, 14 Apr 2007 01:39:27 +0000 (UTC) (envelope-from dmehler26@woh.rr.com) Received: from ms-smtp-05.ohiordc.rr.com (ms-smtp-05.ohiordc.rr.com [65.24.5.139]) by mx1.freebsd.org (Postfix) with ESMTP id DB11A13C45D for ; Sat, 14 Apr 2007 01:39:26 +0000 (UTC) (envelope-from dmehler26@woh.rr.com) Received: from satellite (cpe-71-64-129-15.woh.res.rr.com [71.64.129.15]) by ms-smtp-05.ohiordc.rr.com (8.13.6/8.13.6) with SMTP id l3E1dPxT014997; Fri, 13 Apr 2007 21:39:25 -0400 (EDT) Message-ID: <000701c77e35$c6d6f090$0200a8c0@satellite> From: "Dave" To: "Robert Marella" References: <000501c778a1$769989b0$0200a8c0@satellite> <20070407124555.3243bbcb@p4> <000501c7797b$961a9010$0200a8c0@satellite> <20070409072701.0687c6cd@p4> <001701c77d69$360a20e0$0200a8c0@satellite> <20070412153231.6cdc124e@p4> <000501c77df4$1f0ee2f0$0200a8c0@satellite> <20070413150600.77fca4eb@p4> Date: Fri, 13 Apr 2007 21:39:42 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: freebsd-questions@freebsd.org Subject: Re: locking down scsi device id's in 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dave List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Apr 2007 01:39:27 -0000 Hello, Thanks for your reply. Please see below for responses. ----- Original Message ----- From: "Robert Marella" To: "Dave" ; Sent: Friday, April 13, 2007 9:06 PM Subject: Re: locking down scsi device id's in 6.2 > On Fri, 13 Apr 2007 13:49:43 -0400 > "Dave" wrote: > >> Hi, >> Either i've got a syntax error or my devices aren't wiring >> obeying /boot/device.hints. I've added: >> >> hint.scbus.0.at="ahc0" >> >> to my config. The tape drive is consistent on scbus0, target5, lun0, >> if i change it's target to say 3 it still shows up as scbus0, >> target5, lun0, but the sa driver is now at sa1 vs. sa0 and pass2 i >> think instead of pass0 not sure if this is important. The burner and >> the rom device never moved, they're still on scbus 2 and 3. >> Thanks. >> Dave. >> > > Please keep freebsd-questions included in your responses by replying > to "all". I have added the list back in to this message. > > Please copy and paste what you now have edited in "/boot/device.hints" > to your next reply. Here is my add-ons to /boot/device.hints: # custom devices hint.scbus.0.at="ahc0" #find this with dmesg hint.sa.0.at="scbus0" hint.sa.0.target="5" hint.sa.0.unit="0" hint.cd.0.at="scbus0" hint.cd.0.target="0" hint.cd.0.unit="0" hint.cd.1.at="scbus0" hint.cd.1.target="1" int.cd.1.unit="0" > > Also, the "ahc0" id for an adaptec scsi controller. Is that what you > have. What I mean is, does ahc0 show up in dmesg or did you just > include it from my previous email? I do have an adaptec scsi controller. Here's the dmesg output: ahc0: port 0xd000-0xd0ff mem 0xe8116000-0xe8116fff irq 16 at device 5.0 on pci0 ahc0: [GIANT-LOCKED] aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs sa0 at ahc0 bus 0 target 5 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 10.000MB/s transfers (10.000MHz, offset 15) cd1 at ata1 bus 0 target 0 lun 0 cd1: Removable CD-ROM SCSI-0 device cd1: 33.000MB/s transfers cd1: Attempt to query device size failed: NOT READY, Medium not present cd2 at ata1 bus 0 target 1 lun 0 cd2: Removable CD-ROM SCSI-0 device cd2: 33.000MB/s transfers cd2: cd present [2295104 x 2048 byte records] > > Oh yeah, show me again what you have in "camcontrol devlist" > This is what the devices are now, whenever i alter /boot/device.hints and reboot this box the cd's go all over the place, sometimes they're cd2 and 3, other times 0 and 3 this is what camcontrol devlist shows now: at scbus0 target 5 lun 0 (sa0,pass0) at scbus3 target 0 lun 0 (cd1,pass1) at scbus3 target 1 lun 0 (cd2,pass2) > Thanks > > Robert > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Thanks. Dave.