Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jun 1999 10:03:08 -0700
From:      Jeffrey L Williams <wjeff@pacbell.net>
To:        freebsd-hardware@freebsd.org
Subject:   IDE Controller not detected
Message-ID:  <375563CB.29E316A9@pacbell.net>

next in thread | raw e-mail | index | archive | help
I have just tried building a custom kernel for my new FreeBSD v3.2 box.
I am having trouble getting it to recognize my IDE controller.  I am
using
a AIR 54TPI motherboard with on SCSI AIC-7880 and built in PCI EIDE
controller.  My hard drive is SCSI and uses the ahc0 controller and
works fine, however I have an IDE CDROM, and so I need to use the IDE
controller.

In my kernel config file I had the following entries pertaining to the
IDE settings:

#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

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

With this setting during boot I get the message "wdc0 not found at
0x1f0", and it does not even look for acd0.

If I boot with the GENERIC kernel and use -cv to get to the visual
kernel config and disable both IDE controller listings under Storage
(there is another IDE controller listing under PCI) then during the boot

it appears to recognize a device called:
'ide_pci0: <Intel PIIX3 Bus-master IDE Controller> rev 0x00 on
pci0.7.1'.

after seeing this I went back to my custom kernel config file and per
the LINT file I tried changing the 'wdc' line to the following:

controller wdc at isa? port "IO_WD1" bio irq 14 flags 0x2000

This resulted in the same message "wdc0 not found at 0x1f0".

If anyone can help me with this I would greatly appreciate it.
also does anyone know where I can find more detailed explanation of the
functioning of the loader.conf and kernel.conf files than exists in the
man pages.

Thanks
Jeff





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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?375563CB.29E316A9>