*BSD News Article 90547


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.swin.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.edu.au!news.apana.org.au!cantor.edge.net.au!news.teragen.com.au!news.access.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!newsfeed.internetmci.com!news.jb.com!monalisa.primelogic.com!user
From: michelle@primelogic.com (Michelle Brownsworth)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: wdc0 not found at 0x1f0
Date: Wed, 05 Mar 1997 21:50:53 -0700
Organization: PrimeLogic Communications Corp.
Lines: 45
Message-ID: <michelle-0503972150530001@monalisa.primelogic.com>
NNTP-Posting-Host: monalisa.primelogic.com
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36685

Yes, that's what the boot message says.  It can't find the primary IDE
controller, apparently.

I added an Western Digital 4 GB IDE drive to a server running 2.1.5, with
the intention of using it as a file backup device.  I was going to set up
a crontab to do a nightly cp -Rp of the /usr/local, /etc, and /home
directories.  (The main drive is SCSI, a 2.1 GB Seagate Barracuda,
connected to an Adaptec 2940.)

Of course, I added IDE support to the kernel for one drive on the primary
controller.  The following is snipped from the kernel config file:

controller  wdc0  at isa? port "IO_WD1" bio irq 14 vector wdintr
disk        wd0   at wdc0 drive 0
#disk        wd1   at wdc0 drive 1

#controller  wdc1  at isa? port "IO_WD2" bio irq 15 vector wdintr
#disk        wd2   at wdc1 drive 0
#disk        wd3   at wdc1 drive 1

I enabled IDE support in the Award BIOS, and set it up to boot via the
SCSI controller (an option that's supposed to be a fairly recent addition
to Award's BIOS setup).  When the machine is started up, after the memory
check, the system reports detecting the new IDE drive as the primary
master.  Well and good.

However, during the FreeBSD boot sequence, the message "wdc0 not found at
0x1f0" indicates that FreeBSD doesn't detect the drive, or the IDE
controller, for that matter.  I'm kind of perplexed about this.  I thought
adding kernel IDE support and tweaking the BIOS would pretty much do it.  

Do I need to tell FreeBSD to probe at a port address other than 0x1f0?  If
so, how?  Where is "IO_WD1" defined, and can it be reassigned a different
port address?  I'm also scratching my head over the fact that, although
the ASUS motherboard's onboard IDE controllers are PCI, not ISA, the
kernel config lines above make reference to "isa?"

Any suggestions would be most welcome.

.\\ichelle

--------------------
Michelle Brownsworth
System Administrator
IMS, Inc.