Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 1999 23:51:17 +0100
From:      Pierre Beyssac <beyssac@enst.fr>
To:        freebsd-current@freebsd.org
Subject:   IDE CDROM not found with PIIX4 chipset, -current kernel
Message-ID:  <19990224235117.A9283@enst.fr>

next in thread | raw e-mail | index | archive | help
I've been having problems with an IDE controller on my motherboard.
I can't seem to be able to get it to recognize a CDROM drive (it's
the only device plugged on the second IDE controller). The kernel
seems to timeout on that second controller during the probe phase.
Maybe that's one of the infamous PIIX 4 bugs... The machine is a
Dell Optiplex.

The first weird thing is that the CDROM drive is found if I plug
another IDE drive as slave on the second controller.

The second weird thing is that it's recognized perfectly correctly
if I boot a Linux installation disk... So I assume they found a
workaround, if that's a PIIX 4 bug.

I've tried to change the device flags (with and without DMA), to
no avail.  I've followed every recent patch to the IDE code, none
of these seems to help (the last kernel I tried is a 4.0-current
from Monday).

Here's my dmesg:

ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
...
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa
wdc0: unit 0 (wd0): <Maxtor 90640D4>, DMA, 32-bit, multi-block-16
wd0: 6149MB (12594960 sectors), 12495 cyls, 16 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): <Maxtor 90640D4>, DMA, 32-bit, multi-block-16
wd1: 6149MB (12594960 sectors), 12495 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa
...

then nothing, it times out after a while and goes on with the boot,
no CDROM is ever found.

Here's an excerpt from my kernel config. Did I miss something obvious?

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

controller      wdc1    at isa? port "IO_WD2" bio irq 15 flags 0xa0ffa0ff vector
 wdintr
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
-- 
Pierre Beyssac		pb@enst.fr


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990224235117.A9283>