Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hello everybody i have a small question i have my harddrive and the dvd drive with the same ide cable, but the problem is that sometimes it slows down and it gets frozen, and when i open movie player it really slows down.i have the ubuntu 9.04 64 bit version and i have a phenom x4 with 2GB of ram is that normal or is because i have my hardrive with the dvd drive with the same cable??
Having the DVD and HDD on the same cable should be fine. However, Let's say that you are watching a movie, maybe running a couple other things in the background, and you have either A) a 40-wire IDE cable, or B) no DMA enabled, then yes, you can experience slowdowns of the video itself, simply because the computer cannot get the data fast enough to display. This however should not 'slow down the entire machine' in general.
Definitely DMA should be enabled in the BIOS for your IDE devices, and also in the kernel (which it should be unless the hardware is really weird). And, you SHOULD have 80-wire cables definitely.
Can you be a little bit more specific about exactly WHAT slows down and/or gets frozen? And is it when the media player is OPENED or do you have to be playing something to cause the slowdown?
thank u for your advices and it slows down the comuter when the music starts playing when it loading the track...so if the problem is for the cable it should be fine if i buy a sata to ide adapter????or i should check the drivers if they are the correct ones???or the bios???
Well, start with the cheap/free stuff first. As suggested above,
1) Check if your IDE cables are 80-wire or 40-wire (you can count them pretty easy with a fingernail)
2) Make sure the HDD is at the end of the wire and is jumped as MASTER
3) The DVD is in the middle of the wire, and is jumped as SLAVE
4) Check the BIOS - make sure DMA is enabled anywhere you see it mentioned.
5) If the drive is working, chances are very good that you have the correct driver.
6) I doubt a SATA-IDE adapter will gain you anything, but that's just my opinion; I haven't tried one, but I'd bet that the DVD drive cannot produce data fast enough to overload the IDE controller in your motherboard
Try that stuff first; then, if performance still sucks, we can try to think of other things to consider, or if you feel it will help, you can go buy an adapter. But, if you do buy an adapter, you'll have to come back and tell us if it made any difference!
...i have my harddrive and the dvd drive with the same ide cable, but the problem is that sometimes it slows down...is that normal or is because i have my hardrive with the dvd drive with the same cable??
Well, having the hard disk and optical drive on the same cable will slow things down, but it shouldn't be by a massive amount.
IDE is a blocking protocol, so the use of any two drives on the same cable will cause slow downs if the two drives are used simultaneously
The IDE channel can only be configured to the fastest mode of the slowest device on the cable, and optical drives are often slower than hard disks. So if, for example, you had an optical drive that would only support UDMA33 but the hard disk could (theoretically) support UDMA 133, the interface would be limited to UDMA 33. I don't know, though, when the error makes itself known (is it on config, and do you get a message, or is it when the slower device is operated??)
Now, as a general rule of thumb, dropping down one UDMA mode causes a slowdown, but one which you are only likely to notice in benchmarking (rather than casual observation) so I can't exclude the possibility that something else is going on here.
Quote:
buy a sata to ide adapter???
Well, it will get them off the same interface and so it will simplify the problem somewhat. I wouldn't like to guarantee that it will do much, though. I certainly wouldn't try it unless its cheap, though.
Have you tried looking at 'dmesg' for errors? What about any other perf tuning type measures? Does vmstat show up anything, like lots of swap activity? top?
i have the 80 wire, and on the bios it shows that the dvd drive is the master and the HDD is the slave and i check it with both ways and it didn't change the dvd drive was the master.i also check the DMA and they are on auto :-(...and how do i check what type of UDMA im using????...and well the sata to ide adapter its only $4 i think im going to give it a try
mmmm what you mean by on the oder channel??? my mother board only has 1 for 1 ide cale and i try it both ways and it appears on the bios that the dvd drive is the master
Some MB do have ide0 and ide1. I looked through the thread again and it does seem you have only one ide with 2 sata. What about setting the drives to alternate master/slave? It seems to me that you attempted but what about the jumpers on the drives? Were they changed to reflect the setting? What about the cable position at the time of the jumper change? When you set the master then the cable position should be at the end of the cable. The slave would then be positioned inward on the second connector. Do you have a spare ide cable to swap with?
If I understand you correctly, you tried changing the position on the cable, of the two drives, right? ANd the BIOS still reported that the DVD was master?
If this is right, then what you need to do to switch them around, is check that the little jumpers on the back of the unit are correctly set.
There will be a little tiny block with a few sets of little metal pins in it, and usually on the housing of the unit, there is a little diagram of which pins to jump to set the unit as master or slave.
While there's no guarantee that this will help, I think it's wise to set the HDD as master, and the DVD as slave, and put the HDD at the end of the wire and the DVD in the middle. At least it will eliminate the physical setup as a factor in the problem.
Something else worth noting, is that you can use the HDPARM (utility) command to check and/or set the USING_DMA flag, and the 32BIT_IO flag, as well as maybe one or two others, that can determine/set how the drive uses DMA.
Hdparm is included with many Linux distros, but if you don't have it, you can get it easily enough and install it.
hi thank your for helping me out and how do i alternate the master/slave cable???
By placing the connector to mate with the proper jumper drive. If you set the cd/dvd to master then place the cable connector that is at the end of the cable on this drive. Then you would jumper your hdd as slave and place it on the inward or first connector from the MB. Alternately try drives set as master with the other as slave. But you must move the cable to mate with the proper drive configuration. Master will always be at the end of a IDE cable on the channel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.