*BSD News Article 75427


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!samba.rahul.net!rahul.net!a2i!news.PBI.net!decwrl!enews.sgi.com!news.uoregon.edu!newsfeed.orst.edu!engr.orst.edu!flop.ENGR.ORST.EDU!reichwja
From: Dusty Reichwein <reichwja@ENGR.ORST.EDU>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: What is FreeBSD doing to my CDROM?
Date: Sun, 4 Aug 1996 21:26:02 -0700
Organization: College of Engineering, Oregon State University
Lines: 57
Message-ID: <Pine.SUN.3.93.960804212229.11302B-100000@flop.ENGR.ORST.EDU>
NNTP-Posting-Host: flop.engr.orst.edu
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


    I am using FreeBSD 2.1R and am trying to get it to work with an 
ATAPI CDROM.  The CDROM is set up as the secondary port on a SoundBlaster
16. I've also tried it as the secondary port on the same IDE card as my
hard drive.

    When I boot FreeBSD it pauses for a while and then says "wdc1 not
found at 0x170". I've checked the IRQs and IO addresses by booting with the -c 
option and they agree with the hardware.  There are no IRQ conflicts. 
FreeBSD fails to find the drive under both hardware configurations.

   This drive usually works fine with DOS and Windows 95, but not after
FreeBSD has tried to detect wdc1.  When I boot DOS, the device driver 
has problems finding the CDROM drive.  When it does find it, there is a long
pause before it does so.  When I do a dir on the drive, there is a longer
pause, and I get a "device not ready" error.  The drive will work under
Windows 95, but there are long pauses when windows tries to find the
CDROM drive when booting.  In order for the drive to work correctly 
with DOS and Windows 95, I have to power cycle the machine.  Again,
this problem occurs with both the SoundBlaster and IDE card.

   So not only does FreeBSD fail to work with my CDROM drive, it messes it
up so it won't work correctly with DOS and Windows 95.   What's going on
here?  Is FreeBSD simply incompatible with my drive?  Do I need a better
IDE card?  Any help would be appreciated.

Here's some technical info in case it helps.


Kernel Configuration File: (Relevent Parts)

controller      wdc1    at isa? port "IO_WD2" bio irq 15 vector wdintr
#disk           wd2     at wdc1 drive 0 
#disk           wd3     at wdc1 drive 1
device          wd2
options         ATAPI   #Enable ATAPI support for IDE bus
device          wcd0

CDROM Drive:

    Toshiba XM-5302B 4x ATAPI

IDE card:

    Vision QD6580W/787 VLB IDE Card

I've been trying to use the CDROM using IRQ 15, port 0x170. I've double 
checked the hardware jumpers and they seem to be in order.


Thanks!

----
Dusty Reichwein
reichwja@engr.orst.edu
http://www.engr.orst.edu/~reichwja