From owner-freebsd-questions Wed Nov 22 11:36:43 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA05155 for questions-outgoing; Wed, 22 Nov 1995 11:36:43 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA05150 for ; Wed, 22 Nov 1995 11:36:36 -0800 Received: (from julian@localhost) by ref.tfs.com (8.6.12/8.6.9) id LAA09547; Wed, 22 Nov 1995 11:35:53 -0800 From: Julian Elischer Message-Id: <199511221935.LAA09547@ref.tfs.com> Subject: Re: Getting an optical drive to work To: charlie_conklin@il.us.swissbank.com (Charlie Conklin) Date: Wed, 22 Nov 1995 11:35:53 -0800 (PST) Cc: questions@FreeBSD.ORG In-Reply-To: <9511220928.AA02124@ln1d370nwk> from "Charlie Conklin" at Nov 22, 95 09:27:56 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 2099 Sender: owner-questions@FreeBSD.ORG Precedence: bulk it's recognised and assigned to the 'unknown' driver it is therefore accessible through the uk0 device unfortunatly uk devices only know how to do generic scsi operations (see man 4 scsi, man 4 uk) (also man 8 scsi) is this divice treatable as a hard disk? oris it write -once only? if it can be made to read and write, then you can FORCE it to be assigned to the sd (scsi disk) driver by adding a line to the file /sys/scsi/scsiconf.c (in two places, as there are two different configure options #ifdef'd there) that specifies the exact configuration options to look for, and then specifies that such a device should be assigned using sdattach there are quite a few examples there.. you then compile a new kernel (there's an FAQ on that in /usr/share/FAQ) and see if it works.. > > Hi, > > I have FreeBSD on a Gateway machine, and am trying to get a SCSI > optical drive to work. At boot time, the device is found and > recognised, but it does not seem to assign it to any any of the > special files in /dev. Does anybody have any hints as to how to > get this to work? > > The pertinent part of the boot messages follows: > > ahc0 rev 0 int a irq 9 on pci0:6 > ahc0: reading board settings > ahc0: 294x Single Channel, SCSI Id=7, aic7870, 16 SCBs > ahc0: Downloading Sequencer Program...Done > ahc0: Probing channel A > ahc0 waiting for scsi devices to settle > ahc0: target 0 synchronous at 10.0MB/s, offset = 0x8 > (ahc0:0:0): "COMPAQ C2490A 3184" type 0 fixed SCSI 2 > sd0(ahc0:0:0): Direct-Access 2006MB (4110000 512 byte sectors) > ahc0: target 2 synchronous at 4.4MB/s, offset = 0x8 > (ahc0:2:0): "FUJITSU M2266S-1024 0014" type 0 fixed SCSI 1 > sd1(ahc0:2:0): Direct-Access 1087MB (1113504 1024 byte sectors) > ahc0: target 6 synchronous at 5.0MB/s, offset = 0x8 > (ahc0:6:0): "FUJITSU M2512A 1314" type 7 removable SCSI 2 > uk0(ahc0:6:0): Unknown > > The optical is the Fuji M2512A found, and is a 230MB capacity > removable optical. > > Thanks for any help. > > - Charlie Conklin conklic@swissbank.com >