Re: Yet another HDIO_SET_DMA failed problem

From: Johann Koenig (explosive_at_att.net)
Date: 08/11/03

  • Next message: Michael Heironimus: "Re: I want separate MUA/MTA/MDA"
    Date: Mon, 11 Aug 2003 13:50:50 -0400
    To: debian-user@lists.debian.org
    
    
    

    On Mon, 11 Aug 2003 13:18:06 -0400 (EDT)
    tmcd@panix.com wrote:

    > hdparm -d 1 -k 1 /dev/hda
    > HDIO_SET_DMA failed: operation not permitted
    >
    > I went to Google and did some searching, finding what looks like a
    > fair amount of false information, like the person who said that you
    > just can't do it with a 2.4.21 kernel. Several people suggested a
    > command that I forget, but apparently the same info is in /proc/pci.
    > -- I should note: 2.4.21 kernel, AMD Athlon K7 processor, Iwill XP333
    > motherboard, new Maxtor DiamondMax Plus 9 200 GB IDE (6Y200P0).
    >
    > 00:04.0 IDE interface: ALi Corporation M5229 IDE (rev (4)
    > (prog-if & [Master SecP PriP])
    > ISA bridge: ALi Corporation [ALi] M1533 PCI to ISA bridge
    > [Alladin IV] (rev 0)
    >
    > if my scrawled notes are to be trusted. One person had recommended
    > that the second line indicated that the alim15x3 module needed to be
    > loaded. I did, and bandwidth dropped from 4 MB/s to 1 MB/s!

    Are you compiling from source, or using kernel-images? I use VIA board,
    and build in VIA82CXXX chipset support (CONFIG_BLK_DEV_VIA82CXXX=y) as
    well as Use PCI DMA by default (CONFIG_IDEDMA_PCI_AUTO=y)

    > The further frustrating thing is that Knoppix can handle it fine.
    > "hdparm -d 1" works fine, and bandwidth goes to the 45-55 MB/s range.
    > (I'd prefer higher, given than I'm doing a "badblocks -w" on a new 200
    > GB drive and will I hope be doing another, but this means it'll run
    > overnight and while I'm at work instead of weeks.)
    > (Other parameters (-c, -u, -A, -a, -m) have no noticable effect on the
    > speed reported by "hdparm -t", whether under my normal kernel or
    > under Knoppix.)
    > (This is the latest Knoppix, and uname -a returns 2.4.21, I think
    > -xfs.)

    Look in /boot/config-<kernel-vesion> on Knoppix to see what modules are
    built in. Hint: grep is your friend.

    jkoenig@note:/boot$ grep -i ali config-2.4.21
    # CONFIG_BLK_DEV_ALI15X3 is not set
    ^Thats probably the one you want

    # CONFIG_WDC_ALI15X3 is not set
    ^Maybe that one too

    # CONFIG_EQUALIZER is not set
    # CONFIG_AGP_ALI is not set
    # CONFIG_SOUND_ALI5455 is not set
    jkoenig@note:/boot$

    > I did "lsmod" to see what modules were loaded in Knoppix that weren't
    > in my system, and they're these:
    >
    > af_packet agpgart apm autofs4 cloop cmpci
    > efs hfs minix ntfs reiserfs serial
    > usb-ohci usbcore xfs
    >
    > But Knoppix might perhaps have a proper driver built-in, and lsmod
    > would not then report it, right?

    Built in modules are not reported by lsmod.
     
    > Any clues about what module I might need? Also, where do I put the
    > insmod line? (I'm afraid I haven't Googled for that info -- sorry for
    > not doig my research.)

    modconf puts it in /etc/modules for you

    Do not edit your .config file (in /usr/src/[linux<version>,
    kernel-source-<version>) by hand. I like menuconfig. xconfig is not bad.
    I do not like the new gconfig in 2.6

    -- 
    -johann koenig
    Now Playing: Red Hot Chili Peppers - Johnny, Kick A Hole In The Sky :
    Mother's Milk
    Today is Pungenday, the 4th day of Bureaucracy in the YOLD 3169
    My public pgp key: http://mental-graffiti.com/pgp/johannkoenig.pgp
    
    

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

    • application/pgp-signature attachment: stored

  • Next message: Michael Heironimus: "Re: I want separate MUA/MTA/MDA"

    Relevant Pages

    • Re: Suse 9.0 and bttv module
      ... Kevin Nathan wrote: ... >> though it is reported in lsmod, it gives a memory error, am watching ... tried 5 mins later an got the error again yet all mods report ... after an indescriminate time regardless of how many times I start the apps ...
      (alt.os.linux.suse)
    • bug in kernel (I think): 2.6.15 to 2.6.17 and 3c59x driver
      ... I'm unsure whether this is kernel or driver? ... I've been using Knoppix for some time and they have worked great. ... kernel issue, so I installed Debian 3.0 on machine from the Woody DVD ... Should I report it as kernel or driver? ...
      (Debian-User)
    • Re: Is it possible to make -lpthread program to use 100% CPU?
      ... > Could you turn off Hyperthreading and report any changes? ... I have turned off hyperthreading and got result, which muddles me rather -- try ... shows that both KSE are bound to CPU 0. ... Program, built with -lthr, maxed CPU for two threads and more with consistent ...
      (freebsd-current)
    • Re: Application/Executable Path References
      ... there's nothing built in, and the files must exist in the original paths. ... I've created a project file in VFP 9 that contains all of the common ... I have a customized report dialog that lets the user ... What confuses me is how are references resolved in applications. ...
      (microsoft.public.fox.vfp.forms)
    • Re: Chrony on an Isolated Machine
      ... >>containing rtc, lsmod, etc. ... lsmod is a command, as is modprobe. ... > evidence that that the rtc is built in (unless you or someone else created ...
      (comp.os.linux.networking)