Results 1 to 10 of 10

Thread: IGP X1250, mythtv and IDE DMA problems

  1. #1
    Join Date
    Feb 2008
    Posts
    9

    Default IGP X1250, mythtv and IDE DMA problems

    Hi,

    I am having problems with the combination of an ASUS M2A-VM with IGP X1250-based graphics card, mythtv and on-board PATA DMA. I have TextureMapped XVideo support enabled, and when I start MythTV the IDE subsystem spits out errors:

    [ 90.004956] hda: dma_intr: bad DMA status (dma_stat=76)
    [ 90.004963] hda: dma_intr: status=0x50 { DriveReady SeekComplete }
    [ 90.004966] ide: failed opcode was: unknown

    After a while it finally gives up, and disabled DMA:

    [ 97.732622] hda: DMA disabled
    [ 97.732629] hdb: DMA disabled
    [ 97.809464] ide0: reset: success

    I am aware of the fact, that MythTV is listed as an unsupported application on the ATI driver page, but I am curious if anyone else has experienced this and if there is a way to solve it. I am somewhat puzzled about what is causing this problem. Resource conflicts somehow?

    Regards,

    Paul

  2. #2
    Join Date
    Aug 2007
    Posts
    6,646

    Default

    show me:

    lsmod|grep -e ide_ -e pata

  3. #3
    Join Date
    Feb 2008
    Posts
    9

    Default

    Quote Originally Posted by Kano View Post
    show me:

    lsmod|grep -e ide_ -e pata
    Quick reply. Here it is:

    ide_cd 32672 1
    cdrom 37536 1 ide_cd
    ide_disk 18560 3
    ide_core 116804 3 ide_cd,ide_disk,atiixp

    And I forgot to mention that I am running kernel 2.6.22 (-14 ubuntu Gutsy). Have also tried 2.6.24-9 development kernel from Ubuntu Hardy, both with the old IDE and new libata drivers. Problem still persists.

    Cheers,

    Paul

  4. #4
    Join Date
    Aug 2007
    Posts
    6,646

    Default

    This is an old kernel, show me output of 2.6.24 kernel.

  5. #5
    Join Date
    Feb 2008
    Posts
    9

    Default

    Quote Originally Posted by Kano View Post
    This is an old kernel, show me output of 2.6.24 kernel.
    This is using libata:

    $ lsmod|grep -e ide_ -e pata
    pata_acpi 8320 0
    pata_atiixp 8960 3
    libata 160112 4 pata_acpi,pata_atiixp,ata_generic,ahci


    dmesg output is:
    [ 54.561965] ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
    [ 54.561970] ata5.00: BMDMA stat 0x6
    [ 54.561975] ata5.00: cmd ca/00:58:cf:65:00/00:00:00:00:00/e0 tag 0 dma 45056 out
    [ 54.561977] res 50/00:00:26:66:00/00:00:00:00:00/e0 Emask 0x20 (host bus error)
    [ 54.561979] ata5.00: status: { DRDY }
    [ 54.577506] hda-intel: Invalid position buffer, using LPIB read method instead.
    [ 54.613764] ata5.00: configured for UDMA/100
    [ 54.691814] ata5.01: configured for MWDMA2
    [ 54.691827] ata5: EH complete
    [ 54.706577] sd 4:0:0:0: [sda] 160086528 512-byte hardware sectors (81964 MB)
    [ 54.706620] sd 4:0:0:0: [sda] Write Protect is off
    [ 54.706623] sd 4:0:0:0: [sda] Mode Sense: 00 3a 00 00
    [ 54.706646] sd 4:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [ 55.556925] ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
    [ 55.556930] ata5.00: BMDMA stat 0x6
    [ 55.556936] ata5.00: cmd ca/00:40:a7:0e:51/00:00:00:00:00/e8 tag 0 dma 32768 out
    [ 55.556938] res 50/00:00:e6:0e:51/00:00:00:00:00/e8 Emask 0x20 (host bus error)
    [ 55.556940] ata5.00: status: { DRDY }
    [ 55.667870] ata5.00: configured for UDMA/100
    [ 55.830498] ata5.01: configured for MWDMA2
    [ 55.830513] ata5: EH complete

    Unlike the old IDE system it doesn't look like libata is giving completely up on DMA transfers.

    /Paul

  6. #6
    Join Date
    Aug 2007
    Posts
    6,646

    Default

    Should be fast enough, when you test

    hdparm -tT /dev/sda

  7. #7
    Join Date
    Feb 2008
    Posts
    9

    Default

    Quote Originally Posted by Kano View Post
    Should be fast enough, when you test

    hdparm -tT /dev/sda
    You're right:

    $ hdparm -tT /dev/sda

    /dev/sda:
    Timing cached reads: 1748 MB in 2.00 seconds = 874.63 MB/sec
    Timing buffered disk reads: 142 MB in 3.06 seconds = 46.37 MB/sec

    I apologise, I thought that all those warnings meant the same as with the old IDE system. Thanks for opening my eyes.

    Although I am still wondering what is causing that noise.

    /Paul

  8. #8
    Join Date
    Aug 2007
    Posts
    6,646

    Default

    Just always use the new kernel.

  9. #9
    Join Date
    Feb 2008
    Posts
    9

    Default

    Quote Originally Posted by Kano View Post
    Just always use the new kernel.
    Will do :-).
    Thanks

    /Paul

  10. #10
    Join Date
    Feb 2008
    Posts
    9

    Default

    Hmm... Things kinda work right now. Once in a while Mythtv fails to work, and I get the following in my xorg.log:

    glesx exec program failed

    A huge number of times. A reboot usually solves the problem. Any ideas?

    /Paul

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •