[ILUG] hdparm ide brutal performance - ubuntu
Conor Wynne
weeboy at conorwynne.com
Thu Apr 7 19:14:35 IST 2005
> On Thu, 2005-04-07 at 13:16 +0100, Liam Bedford wrote:
>> Nils Olofsson wrote:
>> > On Thu, 2005-04-07 at 09:09 +0100, Conor Wynne wrote:
>> >
>> >
>> >
>> >>Worse than useless. Anyone got an idea on this?
>> >
>> >
>> >
>> > I had same problem a few months ago,the solution was to compile the
>> ide
>> > driver(my case was the VIA82CXXX) not as a module but directly into
>> > kernel. The "HDIO_SET_DMA failed: Operation not permitted" went away
>> for
>> > me and the drive throughput went from about 2megs a second to around
>> 20
>> > or more..
>> the fix to that is to use /etc/modules to load the right ones and make
>> the initrd again.
Normally I would agree, however in this scenario the system lives on SCSI,
not IDE, so doing an rmmod ide-generic, and then
modprobe via82cxxx should do the same job - but it doesn't :-(
ide_core 125272 3 via82cxxx,ide_disk,ide_cd
It has exactly the same result, cannot set DMA
Testing creation of a new initrd for the craic.
Hmm, bit confused with this debian stuff, I look inside modules.conf,
which tells me not to edit it, but rather to edit /etc/modutils instead.
However, none of the files in the directory mention ide-generic!
Its a bit annoying I must say, need to rtfm.....
>> L.
> That was the first thing I did, and it still wouldn't work. I spent a
> good few hours trying different things and the only solution that worked
> in the end was to have it build into the kernel, don't know why but it
> works.
Don't tell me I have to compile a kernel!
Thats soooo 1999 ;-0
> nils
--
Conor Wynne,
Dublin,
Irlande.
More information about the ILUG
mailing list