SATA on kernel 2.4.27: lost interrupt



Hope this helps someone in the same situation as I was.

Felipe.


*PROBLEM*: I get the following error messages
dma_timer_expiry: dma status == 0x24
lost interrupt
DMA interrupt recovery
when trying to
fdisk /dev/hde
Occasionaly I get lost interrupt messages during system initialization, too.

*BACKGROUND*: I'm installing a SATA hard drive (Seagate ST3500630as) and
an expansion card (Adaptec 1210SA). I'm using Debian 3.1, kernel 2.4.27.
dmesg shows that the drive and the card are recognized properly (see below).

*SOLUTION*:
- booting from Knoppix 5.1 (kernel 2.6.19) showed my drive as
/dev/sda instead of /dev/hde. I am able to fdisk and mkfs it fine. It
made me think the problem was the kernel version.
- updating the kernel from 2.4.27 to 2.6.19 solved my problem.

*THINGS TRIED THAT DID NOT WORK*
- removing other cards (such as sound, off-board video, etc) to free up
IRQs, as per Adaptec personal support
- different PCI buses, as per Adaptec personal support
- different SATA cables [2]
- leaving more power available [1], unplugging other drives
- updating the computer BIOS [3]
- running Seagate Diagnostic Software (SeaTools) [4]; quick test showed
no errors
- updating the SATA card firmware [6]
- disabling DMA (and also Write Cache, SMART, Allow Read Ahead)
- disabling SATA card BIOS installation during boot-up
- Adaptec offers a proprietary driver for RedHat (7.3, 8.0) and Suse
(8.0, 8.1) only [7]. As I'm using Debian, it didn't help.


relevant dmesg output before the problem was fixed:
Adaptec AAR-1210SA: IDE controller at PCI slot 01:0a.0
PCI: Found IRQ 11 for device 01:0a.0
PCI: Sharing IRQ 11 with 00:1f.2
Adaptec AAR-1210SA: chipset revision 2
Adaptec AAR-1210SA: not 100% native mode: will probe irqs later
ide2: MMIO-DMA , BIOS settings: hde:pio, hdf:pio
ide3: MMIO-DMA , BIOS settings: hdg:pio, hdh:pio
hda: Maxtor 51536H2, ATA DISK drive
hdb: SAMSUNG SP0411N, ATA DISK drive
blk: queue d0825b60, I/O limit 4095Mb (mask 0xffffffff)
blk: queue d0825c9c, I/O limit 4095Mb (mask 0xffffffff)
hdc: _NEC DV-5700A, ATAPI CD/DVD-ROM drive
hdd: MAXTOR 6L080L4, ATA DISK drive
blk: queue d08260f0, I/O limit 4095Mb (mask 0xffffffff)
hde: ST3500630AS, ATA DISK drive

[1]
<http://www.linuxquestions.org/questions/showthread.php?p=856143#post856143>

[2] <http://www.jimohalloran.com/2004/02/15/hda-lost-interrupt/#comment-270>

[3]
<http://support.dell.com/support/downloads/devices.aspx?c=ca&l=en&s=gen&SystemID=PLX_PNT_P03_GX110&os=WW1&osl=EN>

[4] <http://www.seagate.com/www/en-us/support/downloads/seatools>

[6]
<http://www.adaptec.com/en-US/downloads/bios_fw/bios_fw_ver?productId=AAR-1210SA&dn=Adaptec+Serial+ATA+RAID+1210SA>

[7] <http://www.adaptec.com/en-US/support/sata/sata/AAR-1210SA/>

[8]
<http://groups.google.com/group/linux.debian.user/browse_thread/thread/3a58549c58c9b589/dfb4a9ab73daef53?lnk=gst&q=lost+interrupt+sata&rnum=2#dfb4a9ab73daef53>






--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Adaptec 29160 SCSI card and VMS
    ... Some time ago I posted a question about an Adaptec 29160 Ultra160 ... PCI SCSI adapter working with VMS. ... VMS 7.3 works, if the interface card is ...
    (comp.os.vms)
  • Re: Intel Pro/1000 82540 Ethernet, was RE: SuperMicro X5DEI-GG
    ... it's PCI slot, in addition to the one on the motherboard. ... the Adaptec in the PCI slot conflicted with the onboard network ... but showed flaky network performance. ...
    (freebsd-net)
  • Re: pci vs pci-x
    ... mentions pci bus (got the system around aug ... I used Google on pci vs. pci-x but I am still ... this DFI ps83-bl board ... An Adaptec 19160 or equivalent would do the trick... ...
    (alt.comp.periphs.mainboard.asus)
  • Re: Can anyone tell me about this Netfinity 3500?
    ... - Adaptec AHA-7895 dual channel WideUltra SCSI, 68-pin connectors, ch. ... - Supports PCI RAID adapters, Slot 2 has a RAID port connector for optional ... - PCI 2.1, AGP, ISA. ...
    (comp.sys.ibm.ps2.hardware)
  • Re: Difficulties with 6886-4CH (IBM PC 750 MCA/PCI)
    ... The 52x IDE CD-ROM drive, which doesn't respond to eject, must be ... Aron, the Adaptec 2940 might help, as an alternative to the Buslogic. ... I'm trying to use MCA adapters as much as possible on this ... A PCI computer typically has two, ...
    (comp.sys.ibm.ps2.hardware)