From: Luca Tettamanti Subject: [BUG] pata_ali not working on a 64 bit system Date: Fri, 6 Jul 2007 19:36:05 +0200 Message-ID: <20070706173605.GA6484@dreamland.darkstar.lan> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="opJtzjQTFsWo+cga" Return-path: Received: from wr-out-0506.google.com ([64.233.184.236]:31731 "EHLO wr-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762890AbXGFRgL (ORCPT ); Fri, 6 Jul 2007 13:36:11 -0400 Received: by wr-out-0506.google.com with SMTP id i30so229177wra for ; Fri, 06 Jul 2007 10:36:11 -0700 (PDT) Content-Disposition: inline Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: linux-ide@vger.kernel.org Cc: 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-