Date: Sat, 29 Apr 2000 12:14:37 -0500 (CDT) From: Hal Peterson <hrp@alum.mit.edu> To: FreeBSD-questions@FreeBSD.ORG Subject: Configuring acd0 on wdc1 without wd? Message-ID: <14603.6269.45285.3907@melchett.gofast.net>
next in thread | raw e-mail | index | archive | help
I'm running FreeBSD 3.4-RELEASE on a Dell Dimension XPS R400. I have
two IDE disks on the first controller, and a CD-ROM and tape drive on
the second, so:
wdc0
wd0 (MS-DOS)
wd1 (FreeBSD)
wdc1
acd0
wst0
Everything works fine with the GENERIC configuration:
# IDE controller and disks
options "CMD640" # work around CMD640 chip deficiency
controller wdc0 at isa? port "IO_WD1" bio irq 14
disk wd0 at wdc0 drive 0
disk wd1 at wdc0 drive 1
controller wdc1 at isa? port "IO_WD2" bio irq 15
disk wd2 at wdc1 drive 0
disk wd3 at wdc1 drive 1
# ATAPI devices
options ATAPI #Enable ATAPI support for IDE bus
options ATAPI_STATIC #Don't do it as an LKM
device acd0 #IDE CD-ROM
device wfd0 #IDE Floppy (e.g. LS-120)
device wst0 #IDE tape // added by hrp
Except I don't have disks (wd2, wd3) on the second controller.
FreeBSD takes a long time to boot while it probes for those disks, so
I tried to remove them; but now I can't get to the CD-ROM. Here's
what happens when I try to "mount /cdrom":
Apr 29 11:20:24 melchett /kernel: atapi1.0: controller not ready for cmd
Apr 29 11:20:24 melchett /kernel: atapi1:0: ERROR 2, status=0, error=0
Apr 29 11:20:24 melchett /kernel: acd0: read_toc failed
The former two messages appear seven times, the latter one appears
twice. The whole process takes nearly a minute, and the machine is
frozen during that time.
It all gets better when I put back wd2 and wd3.
So my question is, how can I convince the atapi driver to talk to my
CD-ROM without having the bogus drives configured?
TiA.
--
Hal Peterson Bloomington, MN, USA
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?14603.6269.45285.3907>
