locking down scsi device id's in 6.2
dmehler26 at woh.rr.com
Sat Apr 14 01:39:27 UTC 2007
Thanks for your reply. Please see below for responses.
----- Original Message -----
From: "Robert Marella" <rmarella at gmail.com>
To: "Dave" <dmehler26 at woh.rr.com>; <freebsd-questions at freebsd.org>
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" <dmehler26 at woh.rr.com> wrote:
>> Either i've got a syntax error or my devices aren't wiring
>> obeying /boot/device.hints. I've added:
>> 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.
> 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
> 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: <Adaptec 2940 Ultra SCSI adapter> port 0xd000-0xd0ff mem
0xe8116000-0xe8116fff irq 16 at device 5.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
sa0 at ahc0 bus 0 target 5 lun 0
sa0: <Quantum DLT4000 D996> 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: <LITE-ON LTR-48246S SS06> 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: <LITE-ON DVDRW SOHW-1633S BS0K> 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:
<Quantum DLT4000 D996> at scbus0 target 5 lun 0 (sa0,pass0)
<LITE-ON LTR-48246S SS06> at scbus3 target 0 lun 0 (cd1,pass1)
<LITE-ON DVDRW SOHW-1633S BS0K> at scbus3 target 1 lun 0 (cd2,pass2)
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions