From owner-freebsd-stable@FreeBSD.ORG Mon Jun 2 18:49:19 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9B8F37B401 for ; Mon, 2 Jun 2003 18:49:19 -0700 (PDT) Received: from franky.speednet.com.au (franky.speednet.com.au [203.57.65.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 780FE43F75 for ; Mon, 2 Jun 2003 18:49:18 -0700 (PDT) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (hewey.af.speednet.com.au [203.38.96.242])h531mpxe019968; Tue, 3 Jun 2003 11:48:52 +1000 (EST) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (hewey.af.speednet.com.au [172.22.2.1])h531moUN067885; Tue, 3 Jun 2003 11:48:51 +1000 (EST) (envelope-from andyf@speednet.com.au) Date: Tue, 3 Jun 2003 11:48:50 +1000 (EST) From: Andy Farkas X-X-Sender: andyf@hewey.af.speednet.com.au To: Doug White In-Reply-To: <20030602181017.J62803@carver.gumbysoft.com> Message-ID: <20030603112252.N66566-100000@hewey.af.speednet.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: stable@freebsd.org cc: Matthias Andree Subject: Re: "disable ata" in kernel configuration not working? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2003 01:49:20 -0000 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: at 0x4c00-0x4cff, irq 11 (level) > > ... > > atapci0: > > 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@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@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@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@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@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@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/