From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932150AbXGFRgX (ORCPT ); Fri, 6 Jul 2007 13:36:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762926AbXGFRgN (ORCPT ); Fri, 6 Jul 2007 13:36:13 -0400 Received: from wr-out-0506.google.com ([64.233.184.235]:31987 "EHLO wr-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762856AbXGFRgL (ORCPT ); Fri, 6 Jul 2007 13:36:11 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:mime-version:content-type:content-disposition:user-agent; b=byqmugSPu/KK8EaH7egdx5HML0/cN3RYZ+xB6AxpZoB1R/4odcUGVZlb+drcAYDQzMmMFFQL17GSi9RY0I9GvYeD9JrRPwX8GA+U1aagXiQI6DuJIc+BkO66B2dhrQjlkKzMcDj3R6vPaWm0dGmAEHqip4Znr010LCJNaNXA6eY= Date: Fri, 6 Jul 2007 19:36:05 +0200 From: Luca Tettamanti To: linux-ide@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: [BUG] pata_ali not working on a 64 bit system Message-ID: <20070706173605.GA6484@dreamland.darkstar.lan> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, I found out that pata_ali is not working with a 64 bit kernel, while a 32 bit kernel on the same machine works fine. I'm running a very recent kernel (872aad45, somewhere after 2.6.22-rc7). The problem is that as soon as the module is loaded I get a screaming interrupt: (initramfs) modprobe pata_ali ACPI: PCI Interrupt 0000:05:02.1[A] -> GSI 23 (level, low) -> IRQ 23 scsi10 : pata_ali scsi11 : pata_ali ata11: PATA max UDMA/133 cmd 0x000000000001c880 ctl 0x000000000001c802 bmdma 0x000000000001c080 irq 23 ata12: PATA max UDMA/133 cmd 0x000000000001c480 ctl 0x000000000001c402 bmdma 0x000000000001c088 irq 23 irq 23: nobody cared (try booting with the "irqpoll" option) Call Trace: [] __report_bad_irq+0x30/0x72 [] note_interrupt+0x1d7/0x21b [] handle_fasteoi_irq+0xaf/0xd8 [] do_IRQ+0xf4/0x164 [] mwait_idle+0x0/0x51 [] ret_from_intr+0x0/0xf [] mwait_idle+0x0/0x51 [] mwait_idle+0x46/0x51 [] cpu_idle+0x95/0xcc [] start_kernel+0x2d3/0x2df [] _sinittext+0x138/0x13c (with irqpoll it works, but probably the driver is expecting the interrupt on another line). The most interesting difference between 32 and 64 bit is probably this one: -ACPI: PCI Interrupt 0000:05:02.1[A] -> GSI 23 (level, low) -> IRQ 19 +ACPI: PCI Interrupt 0000:05:02.1[A] -> GSI 23 (level, low) -> IRQ 23 pata_ali is driving a PCI card with a PATA port and a SATA port (sata_uli, I also tried loading this one: it doesn't scream but the SATA port is currently not used). I also tried pci=nocpi but the card still gets IRQ 23 when using a 64 bit kernel. The card is this one (lspci on the 32 bit kernel). 05:02.0 Mass storage controller: ALi Corporation ALi M5281 Serial ATA / RAID Host Controller (rev a4) (prog-if 85) Subsystem: ALi Corporation ALi M5281 Serial ATA / RAID Host Controller Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR-