LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 01-29-2006, 04:22 AM   #1
LinxNew
Member
 
Registered: Apr 2005
Distribution: Suse 10.0 Oss
Posts: 89

Rep: Reputation: 15
DMA mode ON is UDMA100 ?


Hi,

I have Suse 10.0 and when I look at IDE DMA mode with yast2, I see that my disk drive is set to DMA mode On, and my DVD is set to UltrDMA/33.

I know that my disk support UltraDMA/100, but I cannot see this setting in DMA mode.

I have tested that my old pc with UltraDMA/100 is faster than my laptop.

Is possible that DMA mode On is the same UltraDMA/100 ?

If this setting aren't the same, how can I change this setting ?

Thanks for your support.
 
Old 01-29-2006, 04:59 AM   #2
LinxNew
Member
 
Registered: Apr 2005
Distribution: Suse 10.0 Oss
Posts: 89

Original Poster
Rep: Reputation: 15
using hdparm I have find these timing :

/dev/hda:
Timing cached reads: 3004 MB in 2.00 seconds = 1501.91 MB/sec
Timing buffered disk reads: 66 MB in 3.02 seconds = 21.88 MB/sec

Is it safe to enable unmaskirq and IO_support to 32 bit ?
 
Old 01-29-2006, 05:56 AM   #3
cybrog
Member
 
Registered: Oct 2005
Location: Earth
Distribution: Slackware 10.2
Posts: 60

Rep: Reputation: 15
Take a look at http://www.linuxdevcenter.com/pub/a/...29/hdparm.html and see if it is of any help. Another link: http://www.linuxnetmag.com/en/issue7/m7hdparm1.html
 
Old 01-29-2006, 09:13 AM   #4
LinxNew
Member
 
Registered: Apr 2005
Distribution: Suse 10.0 Oss
Posts: 89

Original Poster
Rep: Reputation: 15
I've read your links, and my questions is still open.
I have good result (similar to links) but I haven't turn on unmaskirq and IO isn't 32 bit.

If I use these new setting, can I have loss of data ?
 
Old 01-29-2006, 11:39 AM   #5
seelenbild28
Member
 
Registered: Oct 2005
Location: Germany, Berlin
Distribution: SuSE Linux 9.1/9.2/9.3/10.0/10.1, openSuSE 10.2, 10.3, Slackware, Debian, Redhat, BSD
Posts: 315

Rep: Reputation: 30
dma

hi,

seems that you have the same problem as I have in my laptop. The problem is - this is what I found out up to know - that you only have udma2 instead of udma5 (100) used by the system. this is related to the piix module which is not implemented in the kernel but loaded separately during boot. And it looks like that this is exact the problem: would your idemodule piix be integrated into the kernel then you would be able to use hdparm to change to udma5, but loaded during boot it seems to be not possible. your numbers for the disk writes are the same as mine, and I have udma2. you can check this with hdparm -iI /dev/hda (if hda is your disk). the actual udma-mode is characterized by a star(*). I have not found any solution to the problem up to now. the only one would be probably to compile your own kernel, but for me this was no option. anyone here with another suggestion?
 
Old 02-02-2006, 01:13 PM   #6
LinxNew
Member
 
Registered: Apr 2005
Distribution: Suse 10.0 Oss
Posts: 89

Original Poster
Rep: Reputation: 15
Hi,

it's strange, but I see from log that Suse already goes to UDMA100.
I try to set x69 option and I have not better result.

For seelenbild28
If you want to set your DMA, or IO, or unmaskirq, you must set this option in your :

/etc/init.d/boot.local

write your hdparm command and your setting are loaded every boot.

I hope this can help you.
 
Old 02-02-2006, 01:18 PM   #7
seelenbild28
Member
 
Registered: Oct 2005
Location: Germany, Berlin
Distribution: SuSE Linux 9.1/9.2/9.3/10.0/10.1, openSuSE 10.2, 10.3, Slackware, Debian, Redhat, BSD
Posts: 315

Rep: Reputation: 30
dma

Hi,

I had this already included in my boot process, but nevertheless, it does not work. Thanks for the tip, but this did not help.
 
Old 02-02-2006, 01:22 PM   #8
LinxNew
Member
 
Registered: Apr 2005
Distribution: Suse 10.0 Oss
Posts: 89

Original Poster
Rep: Reputation: 15
what command you use ?

You must set this :

/sbin/hdparm -c1 -u1 -d1 -X69 /dev/hda

This work for me
 
Old 02-02-2006, 01:27 PM   #9
seelenbild28
Member
 
Registered: Oct 2005
Location: Germany, Berlin
Distribution: SuSE Linux 9.1/9.2/9.3/10.0/10.1, openSuSE 10.2, 10.3, Slackware, Debian, Redhat, BSD
Posts: 315

Rep: Reputation: 30
dma

I use the same. But did you check with hdparm -iI if udma5 is really set?

Try hdparm -iI, the actual used udma is marked with a star (*).

In my case, I set dma to udma5 with the line you told me also. After that checking with hdparm -iI tells me udma2* is the actual mode. So nothing changed. How it is in your case?
 
Old 02-02-2006, 01:39 PM   #10
LinxNew
Member
 
Registered: Apr 2005
Distribution: Suse 10.0 Oss
Posts: 89

Original Poster
Rep: Reputation: 15
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
Cycle time: min=120ns recommended=120ns


Yes, UDma5 is set.

try to set up -k1 option (keep setting after hd reset)
 
Old 02-02-2006, 01:46 PM   #11
seelenbild28
Member
 
Registered: Oct 2005
Location: Germany, Berlin
Distribution: SuSE Linux 9.1/9.2/9.3/10.0/10.1, openSuSE 10.2, 10.3, Slackware, Debian, Redhat, BSD
Posts: 315

Rep: Reputation: 30
dma

ok, thanks, I tried now

hdparm -c1 -u1 -k1 -d1 -X69 /dev/hda

but the check with hdparm -iI /dev/hda told me the same:
hdparm -iI /dev/hda

/dev/hda:
...
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2 udma3 udma4 udma5
...

Could you tell me your output of hdparm -tT /dev/hda?
I tried it three times and my output of this is:

hdparm -tT /dev/hda

/dev/hda:
Timing cached reads: 1700 MB in 2.00 seconds = 851.65 MB/sec
Timing buffered disk reads: 50 MB in 3.04 seconds = 16.47 MB/sec
dhcppc1:/home/ruedt # hdparm -tT /dev/hda

/dev/hda:
Timing cached reads: 1700 MB in 2.00 seconds = 849.95 MB/sec
Timing buffered disk reads: 72 MB in 3.06 seconds = 23.56 MB/sec
dhcppc1:/home/ruedt # hdparm -tT /dev/hda

/dev/hda:
Timing cached reads: 1680 MB in 2.00 seconds = 839.95 MB/sec
Timing buffered disk reads: 74 MB in 3.19 seconds = 23.21 MB/sec

Are these numbers equivalent to yours?
 
  


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
DMA mode keeps resetting epod69 Ubuntu 1 08-19-2005 09:09 PM
canīt enable DMA-Mode why? Odan Linux - General 11 10-22-2003 06:45 AM
Suse 8.2 change my DMA setting on my DVD-R drive to off & IDE DMA MODE NOT SHOWING IT maximalred Linux - General 0 08-23-2003 04:58 AM
Harddisk in DMA mode ganninu Linux - Hardware 2 08-17-2003 08:13 PM
Ultra Dma Mode 5 the panther Linux - Hardware 3 08-09-2003 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 02:03 PM.

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