*BSD News Article 90617


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!newsfeeds.sol.net!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.lan.awfulhak.org (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: wdc0 not found at 0x1f0
Date: 7 Mar 1997 16:08:03 GMT
Organization: Awfulhak Ltd.
Lines: 49
Message-ID: <5fpeh3$s4f@ui-gate.utell.co.uk>
References: <michelle-0503972150530001@monalisa.primelogic.com>
Reply-To: brian@awfulhak.demon.co.uk, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36755

In article <michelle-0503972150530001@monalisa.primelogic.com>,
	michelle@primelogic.com (Michelle Brownsworth) writes:
> 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.

I believe you can replace the "IO_WD1" with an address, but I have no
idea as to what that address may be.  Before you spend the time rebuilding
a kernel, try mucking around with the address after booting with -c.

-- 
Brian <brian@awfulhak.demon.co.uk> <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour !