From: Dave Croal <dcroal@cantecsystems.com>
To: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: alim15x3 later than 2.6.1 won't allow DMA to be turned on
Date: Thu, 18 Mar 2004 09:32:23 -0500 [thread overview]
Message-ID: <4059B2F7.6040808@cantecsystems.com> (raw)
In-Reply-To: <200403180345.42571.bzolnier@elka.pw.edu.pl>
Bartlomiej Zolnierkiewicz wrote:
> On Thursday 18 of March 2004 03:19, Dave Croal wrote:
>
>>The alim15x3 module in kernels 2.6.3 and 2.6.4 does not allow me to turn
>>on DMA via hdparm:
>>
>>hdparm -d1 /dev/hda
>>HDIO_SET_DMA failed: Operation not permitted using_dma = 0 (off)
>>
>>dmesg |grep -i ali
>>ALI15X3: IDE controller at PCI slot 0000:00:0f.0
>>ALI15X3: chipset revision 32
>>ALI15X3: not 100% native mode: will probe irqs later
>>ALI15X3: port 0x01f0 already claimed by ide0
>>ALI15X3: port 0x0170 already claimed by ide1
>>ALI15X3: neither IDE port enabled (BIOS)
>>
>>---
>>
>>In kernel 2.6.1 it worked OK:
>>
>>hdparm -d1 /dev/hda
>>/dev/hda:
>> setting using_dma to 1 (on)
>> using_dma = 1 (on)
>>
>>dmesg |grep -i ali
>>ALI15X3: IDE controller at PCI slot 0000:00:0f.0
>>ALI15X3: chipset revision 32
>>ALI15X3: not 100% native mode: will probe irqs later
>> ide0: BM-DMA at 0x78c0-0x78c7, BIOS settings: hda:DMA, hdb:pio
>> ide1: BM-DMA at 0x78c8-0x78cf, BIOS settings: hdc:DMA, hdd:pio
>>ide0: I/O resource 0x3F6-0x3F6 not free.
>>hda: ERROR, PORTS ALREADY IN USE
>>register_blkdev: cannot get major 3 for ide0
>>ide1: I/O resource 0x376-0x376 not free.
>>hdc: ERROR, PORTS ALREADY IN USE
>>register_blkdev: cannot get major 22 for ide1
>>Module alim15x3 cannot be unloaded due to unsafe usage in
>>include/linux/module.h:483
>
>
> These are errors - ide0 and ide1 are already used by generic IDE driver.
> It was fixed in 2.6.2 but side-effect of the fix is that you must make sure
> that ide_generic driver is not compiled in or loaded if it's modular.
>
> Please make sure CONFIG_IDE_GENERIC is 'n' in your .config.
>
> Regards,
> Bartlomiej
>
>
That worked, I am happily using DMA with alim15x3 on 2.6.4 now. Thank
you for your help.
Dave Croal
prev parent reply other threads:[~2004-03-18 14:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-18 2:19 PROBLEM: alim15x3 later than 2.6.1 won't allow DMA to be turned on Dave Croal
2004-03-18 2:45 ` Bartlomiej Zolnierkiewicz
2004-03-18 14:32 ` Dave Croal [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4059B2F7.6040808@cantecsystems.com \
--to=dcroal@cantecsystems.com \
--cc=B.Zolnierkiewicz@elka.pw.edu.pl \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.