Re: Is Linux always this slow?

From: Stephan Wonczak (wonczak_at_Uni-Koeln.DE)
Date: 06/04/04

  • Next message: utkanbir: "read speed"
    Date: Fri, 04 Jun 2004 13:27:57 +0200
    
    

    A Chap wrote:
    >
    > On Wed, 02 Jun 2004 11:12:58 +0200, Stephan Wonczak wrote:
    >
    > <snip>
    > >
    > >> I also ran hdparm -d 1 /dev/hda as suggested by Robert M Riches Jr., but
    > >> got the following error:
    > >>
    > >> /dev/hda:
    > >> setting using_dma to 1 (on)
    > >> HDIO_SET_DMA failed: Operation not permitted
    > >> using_dma = 0 (off)
    > >
    > > This sounds as if you are using the wrong chipset driver for your IDE.
    > > You may want to try findiing out your chipset (lspci may help there) and
    > > rebuilding your kernel with support for this.
    > >
    > > HTH,
    >
    > Thanks Stephan, very useful although this sounds pretty daunting - I have
    > found several guides in relation to rebuilding the kernel, but any idea
    > what should I need to actually do in relation to the IDE drivers? This is
    > the lspci output:
    >
    > 00:0b.0 IDE interface: ALi Corporation M5219 (rev 20)

      *cringe* Now you got me! If only I hadn't written something... life
    could have been so easy! Now I have to hunt for a real answer, too :-)

      (time passes...)
      A-ha! Google *is* your friend :-) I found an interesting link
    describing various IDE chipsets with their corresponding linux drivers.
    Nice, especially since for your case config.help was somewhat ...
    uninformative. Here it is:

    http://www.ryston.cz/petr/vlb/vlbidechips.html

      Here ali14xx is given as the correct driver for your chipset. Since
    this is VLB, and modern machines do not have that bus, the driver is not
    enabled in the standard config in recent RH kernels. Actually, I do not
    have a RH 9 system available at the moment, but this should apply there,
    too.
      You simply have to enable the option in ATA/IDE/MFM/RLL support ->
    IDE, ATA and ATAPI Block devices -> Other IDE chipset support -> ALI
    M14xx support (NEW) and you are ready to rebuild your kernel. (If you
    need more detailed instructions, just ask. It is not nearly as difficult
    building a kernel as you think! And, by the way, let us know wether it
    worked in the end so that other can find the answer too!)

      HTH,

    -- 
    		C U, Stephan
    		
       "I haven't lost my mind; I know exactly where I left it."
       "The meaning of my life is to make me crazy"
    

  • Next message: utkanbir: "read speed"

    Relevant Pages

    • Re: Cant enable DMA
      ... If someone out there is using Debian and a PCI IDE ... You need a newer kernel. ... In fact there's a ton of VIA chipset updates between 2.4.20 and 2.4.21, ... Linux agpgart interface v0.99 Jeff Hartmann ...
      (Debian-User)
    • Re: No driver for NIC...
      ... It has a dualLAN 1Gbit ethernet adapter which I think is ... integrated into the southbridge chipset. ... I compiled a new kernel with this nve driver (for nvidia mcp onboard ...
      (freebsd-questions)
    • Re: wireless - is it possible?
      ... I think one of them uses a ralink chipset, ... a driver available, however you need to compile and install it ... or adding or subtracting kernel modules. ... As for module-assistant, ...
      (Debian-User)
    • Re: Help with hardware please
      ... Anyhow, put the new board in, booted and got a kernel panic/not ... Are your disks plain IDE or are they SATA? ... IDE driver on the old motherboard? ...
      (comp.os.linux.misc)
    • Supported IDE hardware RAID controller?
      ... supported I mean OSS driver that are *included* in the kernel. ... has anyone used this kind of controller and can ... If there are other hardware IDE controller, ...
      (comp.os.linux.hardware)