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 [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to