Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jun 1999 14:07:50 -0700
From:      Kent Stewart <kstewart@3-cities.com>
To:        jmutter@netwalk.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Questions about the acd driver (IDE CD-ROM)
Message-ID:  <376C06A6.B7B55E5A@3-cities.com>
References:  <Pine.BSF.4.05.9906191618070.259-100000@insomnia.local.net>

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


"James A. Mutter" wrote:
> 
> Hi all,
> 
> I finally broke down and bought an IDE CDROM for my system today.  I
> don't plan to do much of anything with it except make copies of my
> cd's into mp3 format.  I'm having a problem with the IDE driver.
> 
> I've added these lines into my kernel config file:
> 
> *****
> options         ATAPI_STATIC
> controller      wdc1    at isa? port "IO_WD2" bio irq 15 flags
> 0x80ffa0ff vector

I use a IDE CDROM and my settings are the following

controller      wdc1    at isa? port "IO_WD2" bio irq 15 flags
0xa0ffa0ff
disk            wd2     at wdc1 drive 0
disk            wd3     at wdc1 drive 1

options         ATAPI           #Enable ATAPI support for IDE bus
options         ATAPI_STATIC    #Don't do it as an LKM
device          acd0            #IDE CD-ROM

It is found in the dmseg as

wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa
wdc1: unit 1 (wd3): <WDC AC33100H>, DMA, 32-bit, multi-block-16
wd3: 3020MB (6185088 sectors), 6136 cyls, 16 heads, 63 S/T, 512 B/S
wdc1: unit 0 (atapi): <CD-532E-B/1.0A>, removable, accel, ovlap, dma,
iordis
acd0: drive speed 5512KB/sec, 128KB cache
acd0: supported read types: CD-R, CD-RW, CD-DA, packet track
acd0: Audio: play, 256 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: CD-ROM 120mm data disc loaded, unlocked

It runs like a charm. 

Kent

>  wdintr
> disk            wd2     at wdc1 drive 0
> disk            wd3     at wdc1 drive 1
> device          acd0
> device          acd1
> device          acd2
> device          acd3
> *****
> 
> I know I went a little overboard with the acd devices, I figure _one_
> of them will be correct, and I can remove the bad ones later.  :)
> 
> Anyhow, when I boot the system I get this:
> 
> *****
> wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ffa0ff on isa
> wdc0: unit 0 (wd0): <WDC AC22500L>, DMA, 32-bit, multi-block-16
> wd0: 2441MB (4999680 sectors), 4960 cyls, 16 heads, 63 S/T, 512 B/S
> wdc0: unit 1 (wd1): <Maxtor 90340D2>, 32-bit, multi-block-16
> wd1: 3242MB (6640704 sectors), 6588 cyls, 16 heads, 63 S/T, 512 B/S
> wdreset: error1: 0x0
> wdreset: error1: 0x0
> wdc1 not found at 0x170
> *****
> 
> I'm assuming that those "wdreset" errors are because there isn't a HDD
> attached to the device.  But where is my CDROM?  At the minimum I
> would have expected an error complaining that it can't find it?
> 
> Any help is appreciated.
> 
> Thanks much,
> 
> Jim
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Kent Stewart
Richland, WA

mailto:kstewart@3-cities.com
http://www.3-cities.com/~kstewart/index.html

Hunting Archibald Stewart, b 1802 in Ballymena, Antrim Co., NIR
http://www.3-cities.com/~kstewart/genealogy/archibald_stewart.html


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




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