LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 09-15-2004, 10:01 PM   #1
gandalf9999
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
lost interrupts!!! + sata


Hi, sorry for the cross post, put it is very important!

I've got a serious problem (it seem to be). I wanted to increase the speed of my
sata maxtor 120 hd on my Suse 9.0 system.
I read in this forum that the dma has to be activated, so I did that by typing:

hdparm -X66 -d1 /dev/hdg6 (its multiboot)

Then everything worked fine, my hd worked 10 times faster. But the problems arrose when I wanted to boot my system.

A lot of "lost interrupt" errors occur when my hd is been called. The last "lost intterrupt error" appears after the message of using_dma = 1.

I tried to boot (grub) with the options: nodma noapci and other things but nothing solves my problem.

It seems that the kernel overrides the boot options, because nodma means: using_dma = 0 right???

Is there someone who has experienced the same problems or someone who knows to solve it???

thanks in advance
 
Old 09-16-2004, 03:33 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
I'm assuming you put the hdparm commands into a boot script somewhere ???
otherwise the drive should have lost the hdparm setting on reboot
or the lost interupts don't have anything to do with hdparm ??
i have read in forums where the s-ata drives need the hdparm commands
in rc.sysinit
right after
action $"Remounting root filesystem in read-write mode: " mount -n -o remount,rw /

but that's not first hand knowledge -- i believe hdparm was giving trouble on init otherwise
**edit** if it boots ok the safest thing to do is just set hdparm by hand after boot
if you need to turn stuff off you could try just
hdparm -d0 -a0 -u0 /dev/hdg
there during startup
also you might want to unmasqirq -u1 and see if that works better with the commands you are using
you might want to try -c1 as well

as far as the kernel is concerned it is possible for the kernel to be set to use UDMA by default i think -- also
there is a "use multi-mode by default" in "IDE, ATA " section you can say no or yes to (no might help)

also with those command in grub you specified device right like hdg=nodma

Last edited by foo_bar_foo; 09-16-2004 at 03:35 AM.
 
Old 09-16-2004, 06:02 AM   #3
gandalf9999
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Original Poster
Rep: Reputation: 0
problem solved

Yes, it working again using Suse Cd System Recovery.

The only thing I changed was the /etc/sysconfig/hardware file. This file is being referred to in the /etc/init.d/boot.idedma file.
In that file the parameters "/dev/hdg:udma2" has to be added instead of "", "/dev/hdgn" or "/dev/hdgff".

So my system boots again and my harddrive acts as a real sata drive..........finally:-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rtc lost interrupts problem... xushi Slackware 6 09-02-2007 05:57 AM
Lost interrupts after new HD, modem and sound card installed scm86 Linux - Newbie 4 09-16-2004 06:01 PM
sata and hotplug and interrupts, oh my! nobbie Slackware 5 09-06-2004 04:42 AM
Shuffled IRQ's in win98, RH9 lost interrupts? scm86 Red Hat 0 09-05-2004 06:17 PM
Lost interrupts ardvark Linux - Hardware 9 08-08-2003 01:04 AM


All times are GMT -5. The time now is 12:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration