LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 09: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, 02:33 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
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 02:35 AM.
 
Old 09-16-2004, 05: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



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 04:57 AM
Lost interrupts after new HD, modem and sound card installed scm86 Linux - Newbie 4 09-16-2004 05:01 PM
sata and hotplug and interrupts, oh my! nobbie Slackware 5 09-06-2004 03:42 AM
Shuffled IRQ's in win98, RH9 lost interrupts? scm86 Red Hat 0 09-05-2004 05:17 PM
Lost interrupts ardvark Linux - Hardware 9 08-08-2003 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:12 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
Open Source Consulting | Domain Registration