Hi: I tried turning on DMA on my /dev/hda which is my only HDD, and the system locked. I used hdparm -d1 /dev/hda. The system also locks if I use the same command to turn on DMA on my /dev/hdc, which is my LiteON CDRW drive. This behavior was observed with SuSE 7.3 on a ASUS A7V MB with an Athlon 1200. I noticed the hdparm command also has the -X option, and -p, but I don't know if these are needed, or if they are anything I should be tinkering with. What is the right way to get DMA enabled? Oh, I have been passing ide=nodma to the kernel at boot because when Suse tries to turn on DMA their way (I forget how to tell 7.3 whether to use DMA or not except by using the boot option), well the system freezes when trying to do the partition check. Should this be so difficult? I have ide=nodma on the 8.1 machine too, it seems. I think it hangs during boot too if I don't use this. Is this box incapable of DMA? I have the DMA mode set to "4" in the BIOS. Not sure if Linux even cares about that. I have the 80 pin cable on the HDD, which I think means that should be able to do UDMA-66, and a normal cable on the CD-RW, which should be able to do UDMA-33, right? Thanks for comments. -- ____________________________________ Christopher R. Carlen Principal Laser/Optical Technologist Sandia National Laboratories CA USA crcarle@sandia.gov
* Chris Carlen (crcarle@sandia.gov) [021114 15:47]:
I have ide=nodma on the 8.1 machine too, it seems. I think it hangs during boot too if I don't use this. Is this box incapable of DMA? I have the DMA mode set to "4" in the BIOS. Not sure if Linux even cares about that.
If you have to boot with ide=nodma or boot.idedma doesn't enable it for you then your controller is most likely "blacklisted" and can't do dma reliably. -- -ckm
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le Vendredi 15 Novembre 2002 01:48, Chris Carlen a écrit :
I tried turning on DMA on my /dev/hda which is my only HDD, and the system locked. I used hdparm -d1 /dev/hda.
The system also locks if I use the same command to turn on DMA on my /dev/hdc, which is my LiteON CDRW drive.
This behavior was observed with SuSE 7.3 on a ASUS A7V MB with an Athlon 1200.
I noticed the hdparm command also has the -X option, and -p, but I don't know if these are needed, or if they are anything I should be tinkering with.
What is the right way to get DMA enabled? Oh, I have been passing ide=nodma to the kernel at boot because when Suse tries to turn on DMA their way (I forget how to tell 7.3 whether to use DMA or not except by using the boot option), well the system freezes when trying to do the partition check.
Should this be so difficult?
I have ide=nodma on the 8.1 machine too, it seems. I think it hangs during boot too if I don't use this. Is this box incapable of DMA? I have the DMA mode set to "4" in the BIOS. Not sure if Linux even cares about that.
I have the 80 pin cable on the HDD, which I think means that should be able to do UDMA-66, and a normal cable on the CD-RW, which should be able to do UDMA-33, right?
I have a DVD drive which hangs if I use only the -d option, or only the -X option, but works if I activate them both at the same time. Do backup first, as these tries could corrupt some data. The option -X can have several values. Try -X 65 and, if it works, tries -X 66. - -- Thibaut Cousin E-mail : cousin@in2p3.fr Web : http://clrwww.in2p3.fr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE91K2pv1vqsTa1E4oRAkZFAJ0fkKmdPh9Z6kYLA2O8jtHEMczrvgCdHj8H V5kxm0Ko91KDJxY3e62qjcg= =Y9LR -----END PGP SIGNATURE-----
Hi, I have some problems with my software RAID (SuSE 8.1) I'll give you an overview of the system first : PIII 450 Mhz 2 Promise Ultra ATA/133 PCI Controllers (Not the RAID version) On my Controller on the mainboard I have : 30Gb Disk for Root and 6.4Gb Disk for swap first Promise card : 3 80Gb disks one on a seperate IDE channel and the other two disks on one channel. second Promise card : 2 80Gb disks on seperate IDE channels ALL components in the computer are new and functioning properly! Raid configured like this : 5 disks in RAID 5 /dev/md0 256Kb chunks superblock no-spare-raid so 320Gb of diskspace I installed the RAIDarray from scratch and tried following filesystems : Reiserfs and Ext3 and I had the following problems on both filesystems. Services active (exept the standard ones): samba When I boot up my box it is unable to import the last disk, leaving me with a raid in degraded mode. and telling me a bit later on in boot he is adding spare-disk hdk1 ALTHOUGH I NEVER SPECIFIED IT TO BE A SPARE (not in yast at installation and not in /etc/raidtab) Although after repartitioning the raid device is healthy. but when I boot again it loses its last disk again. so I unmount the raid, do raidhotadd and the device is up and running again. Although after reboot it dissapears again. Now the next problem I have is this : When I copy files from the network to the RAID device at first i get 6000Kb/s and then it drops after a few seconds to 65Kb/sec and then it stops and hangs. I copied with samba AND tried it also with Secure copy. Same result. When I go locally on the box and do a ls from the raid-mount (/array) it takes about 10 seconds before it gives me a list (only two dirs on it now) and then all of a sudden the secure copy proceeds at top speed. until it stops again after a minute or so and hangs again. Even the whole linux box becomes unstable. The purpose of this machine is to use it as a fileserver where i can store all my documents and let it back up to CD or tape(other pc in the network) Really tried almost everything I know and have no clue what it could be.. . Thanks in advance Desperatly seeking solutions, Chris _____________________________________________ Make money while you work !!! http://www.degoo.com/index.php?refid=mersco This is for real !!! http://e-mailpaysu.com/members/index.cgi?mersco _____________________________________________
participants (4)
-
Chris Carlen
-
Chris FitzGerald
-
Christopher Mahmood
-
Thibaut Cousin