[lkml]   [2003]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 2.4.21-rc5: DMA disabled for IDE Cdrom, works with 2.4.20
    > Please disable 'Use PCI DMA by default when available'
    > (CONFIG_IDEDMA_PCI_AUTO) in your kernel config, enable DMA with hdparm
    > after bootup and report back.
    > The above should fix your hangs.
    > HTH,
    > Carl-Daniel

    I have now disabled "CONFIG_IDEDMA_PCI_AUTO" such that initially DMA is
    disabled for /dev/hda and /dev/hdb. I have then enabled DMA only for
    /dev/hdb with hdparm (keeping DMA disabled for /dev/hda) but the problem
    persists and DMA for /dev/hdb will be disabled when I try to mount a
    cdrom. It seems that the DMA-setting for /dev/hda has no influence on

    Actually, I forgot to mention that the dmesg-output I have put in my
    former message corresponds actually to the case with both
    CONFIG_IDEDMA_PCI_AUTO and CONFIG_IDEDMA_ONLYDISK enabled such that at boot
    DMA is enabled for the harddisk but not for the CDrom and I used hdparm to
    enable it for the latter.

    Here the diff of dmesg before and after the modification:
    < Linux version 2.4.21-rc5 (frahm@albireo) (gcc version 3.2.2) #1 Tue May 27 22:
    40:09 CEST 2003
    > Linux version 2.4.21-rc5 (frahm@albireo) (gcc version 3.2.2) #2 Wed May 28 01:
    27:23 CEST 2003
    < Detected 501.146 MHz processor.
    > Detected 501.144 MHz processor.
    < blk: queue c038ec20, I/O limit 4095Mb (mask 0xffffffff)
    < hda: 26564832 sectors (13601 MB) w/2048KiB Cache, CHS=1653/255/63, UDMA(33)
    > hda: 26564832 sectors (13601 MB) w/2048KiB Cache, CHS=1653/255/63

    and here "dmesg | grep hd" (after modification)

    ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:pio, hdd:pio
    hda: WDC WD136AA, ATA DISK drive
    hdb: SONY CDU4811, ATAPI CD/DVD-ROM drive
    hda: attached ide-disk driver.
    hda: host protected area => 1
    hda: 26564832 sectors (13601 MB) w/2048KiB Cache, CHS=1653/255/63
    hdb: attached ide-cdrom driver.
    hdb: ATAPI 48X CD-ROM drive, 120kB Cache
    hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 hda9 hda10 >
    hdb: DMA interrupt recovery
    hdb: lost interrupt
    hdb: status timeout: status=0xd0 { Busy }
    hdb: status timeout: error=0x00
    hdb: DMA disabled
    hdb: drive not ready for command
    hdb: ATAPI reset complete


    e-mail :

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:35    [W:0.036 / U:1.104 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site