"disable ata" in kernel configuration not working?

Andy Farkas andyf at speednet.com.au
Mon Jun 2 18:49:20 PDT 2003


On Mon, 2 Jun 2003, Doug White wrote:
> On Tue, 3 Jun 2003, Andy Farkas wrote:
> >
> > Yes, the new ata driver now "owns" irq 14 & 15, although other devices
> > seem to work ok if set to those irqs. On one of my boxes, I don't even
> > have an ata0 or ata1 yet dmesg says:
>
> Shared interrupts are OK in PCI.

Yes, and also on EISA (although you have to specify level trigerred).

> > ...
> > FreeBSD 5.1-BETA #0: Mon May 26 01:54:37 EST 2003
> > ...
> > ahc0: <Adaptec 274X SCSI adapter> at 0x4c00-0x4cff, irq 11 (level)
> > ...
> > atapci0: <Promise PDC20246 UDMA33 controller>
> > port 0xd400-0xd41f,[...] irq 14 at device 5.0 on pci0
>
> show us 'pciconf -lv' output. You probably actually do have a promise IDE
> controller on your system, you just can't use it/connect to it.
>
> Have you tried disabling it in the BIOS?

I probably wasn't clear enough in my original post, so I'll explain the
hardware setup - its a dual P133 (neptune) mobo, 128MB ram, with EISA and
PCI slots. NOTE: there is no onboard floppy or ata! There no onboard
serial or parallel ports. There is no onboard video.

Its got a macronix net card (irq 10), an Adaptec scsi card (irq 15), and
the Promise IDE card (irq 14) in the PCI slots.

Its got an Adaptec scsi card (irq 11) and a video card in the EISA slots.
The floppy controller is enabled (irq 6) on the Adaptec card.

The problem is that the ata driver insists that there are controllers at
ata0 and ata1 using irq 14 & 15 even though this is false.

Also note that the ata driver insists on owning the irqs:

# vmstat -i
interrupt                     total       rate
stray irq7                        1          0
ahc0 irq11                       14          0
dc0 irq10                     26105          0
ata0 irq14                   189875          0  <-- should be atapci0
ata1 irq15                     8902          0  <-- should be ahc1
atkbd0 irq1                       2          0
fdc0 irq6                         4          0
clk irq0                   52368568         99
rtc irq8                   67034815        128
Total                     119628286        228

And just for the record, here is a pciconf -lv :

# pciconf -lv
hostb0 at pci0:0:0:        class=0x060000 card=0x00000000 chip=0x04a38086 rev=0x11 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82434LX/NX (Mercury/Neptune) Cache/DRAM Controller'
    class    = bridge
    subclass = HOST-PCI
eisab0 at pci0:2:0:        class=0x000000 card=0x00000000 chip=0x04828086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82375EB PCI-EISA Bridge (PCEB)'
    class    = old
    subclass = non-VGA display device
atapci0 at pci0:5:0:       class=0x010400 card=0x00000000 chip=0x4d33105a rev=0x01 hdr=0x00
    vendor   = 'Promise Technology Inc'
    device   = 'PDC20246 FastTrak Ultra ATA RAID controller'
    class    = mass storage
    subclass = RAID
ahc1 at pci0:6:0:  class=0x010000 card=0x78819004 chip=0x81789004 rev=0x01 hdr=0x00
    vendor   = 'Adaptec Inc'
    device   = 'AHA-2940U/UW/2940D Ultra/Ultra Wide/Dual SCSI Host Adapter'
    class    = mass storage
    subclass = SCSI
dc0 at pci0:7:0:   class=0x020000 card=0x00000000 chip=0x053110d9 rev=0x20 hdr=0x00
    vendor   = 'Macronix International Co. Ltd.'
    device   = 'MX98715/725 Single Chip Fast Ethernet NIC Controller'
    class    = network
    subclass = ethernet


--

 :{ andyf at speednet.com.au

        Andy Farkas
    System Administrator
   Speednet Communications
 http://www.speednet.com.au/







More information about the freebsd-stable mailing list