Re: [gentoo-user] DMA

2004-02-11 Thread Scharf Yuval

On Mon, 9 Feb 2004, Calvin Walton wrote:

  After rebooting my machine dmesg showed the following lines:
  hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
  hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
 more of same...
  hda: DMA disabled
 
 
  hdb had the DMA on and hda had DMA off but I had no problem turning it on
  manually.
 
  Do I have a problem in hdb? what should I do about it?
 
  Why didn't hda start with DMA automatically?
 
  Thanks,
  Yuval Scharf

 Try enabling the option Use multi-mode by default, found in:
 Device Drivers
 -Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
 -Include IDE/ATA-2 DISK support

 or IDEDISK_MULTI_MODE=y in the config file.

 As the kernel help reads:
  Use multi-mode by default (IDEDISK_MULTI_MODE)
 
  If you get this error, try to say Y here:
 
  hda: set_multmode: status=0x51 { DriveReady SeekComplete Error }
  hda: set_multmode: error=0x04 { DriveStatusError }

 --
 [EMAIL PROTECTED] mailing list



Itamar and Calvin, thanks for answering but you were wrong.
My error message is different than the error message written in the
IDEDISK_MULTI_MODE option. It didn't help.

I've searched the web and found out that this is a hardware problem.
It can be caused be a bad cable or cables which are to close to each other,
etc.

In my case sometimes I get the problem and sometimes I don't.

Yuval Scharf






--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA

2004-02-09 Thread Kevin Hanson
Scharf Yuval wrote:

Hello,

In a computer with a disk capable of DMA.

hdparm -i /dev/hda returns:
/dev/hda:
Model=Maxtor 6E040L0, FwRev=NAR61590, SerialNo=E13CFB3E
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=off
CurCHS=17475/15/63, CurSects=16513875, LBA=yes, LBAsects=80293248
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes:  pio0 pio1 pio2 pio3 pio4
DMA modes:  mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2 udma3 udma4 udma5 udma6
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: (null):
* signifies the current active mode

but hdparm /dev/hda returns:

/dev/hda:
multcount=  0 (off)
IO_support   =  0 (default 16-bit)
unmaskirq=  0 (off)
using_dma=  0 (off)
keepsettings =  0 (off)
readonly =  0 (off)
readahead= 256 (on)
geometry = 65535/16/63, sectors = 80293248, start = 0
When I try turning the DMA on using hdparm -d1 /dev/hda I get:

/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma=  0 (off)
I'm using Linux 2.6 and as much as I can see all the DMA options in the
kernel are turned on. Can someone tell me what is the problem?
Thanks,
Yuval Scharf


--
[EMAIL PROTECTED] mailing list
 

You probably didn't compile in the pci bus master dma support for the 
chipset your motherboard has into the kernel.  If you just use generic 
pci bus-master dma support you usually get this problem.

For example, I have an nforce2 chipset, so I compile in AMD and NVIDIA 
IDE Support.  Check for you chipset under the generic DMA bus-master 
support tree.

Cheers,
Kevin
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] DMA

2004-02-09 Thread Scharf Yuval


On Mon, 9 Feb 2004, Kevin Hanson wrote:

 Scharf Yuval wrote:

 Hello,
 
 In a computer with a disk capable of DMA.
 
 hdparm -i /dev/hda returns:
 /dev/hda:
 
  Model=Maxtor 6E040L0, FwRev=NAR61590, SerialNo=E13CFB3E
  Config={ Fixed }
  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
  BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=off
  CurCHS=17475/15/63, CurSects=16513875, LBA=yes, LBAsects=80293248
  IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
  PIO modes:pio0 pio1 pio2 pio3 pio4
  DMA modes:mdma0 mdma1 mdma2
  UDMA modes: udma0 udma1 *udma2 udma3 udma4 udma5 udma6
  AdvancedPM=yes: disabled (255) WriteCache=enabled
  Drive conforms to: (null):
 
  * signifies the current active mode
 
 
 but hdparm /dev/hda returns:
 
 /dev/hda:
  multcount  =  0 (off)
  IO_support =  0 (default 16-bit)
  unmaskirq  =  0 (off)
  using_dma  =  0 (off)
  keepsettings =0 (off)
  readonly   =  0 (off)
  readahead  = 256 (on)
  geometry   = 65535/16/63, sectors = 80293248, start = 0
 
 
 When I try turning the DMA on using hdparm -d1 /dev/hda I get:
 
 /dev/hda:
  setting using_dma to 1 (on)
  HDIO_SET_DMA failed: Operation not permitted
  using_dma  =  0 (off)
 
 I'm using Linux 2.6 and as much as I can see all the DMA options in the
 kernel are turned on. Can someone tell me what is the problem?
 
 
 Thanks,
 Yuval Scharf
 
 
 
 --
 [EMAIL PROTECTED] mailing list
 
 
 
 
 You probably didn't compile in the pci bus master dma support for the
 chipset your motherboard has into the kernel.If you just use generic
 pci bus-master dma support you usually get this problem.

 For example, I have an nforce2 chipset, so I compile in AMD and NVIDIA
 IDE Support.Check for you chipset under the generic DMA bus-master
 support tree.

 Cheers,
 Kevin

 --
 [EMAIL PROTECTED] mailing list



Thanks kevin, it worked.
But I still have two problems.

my /etc/conf.d/hdparm file includes the line:
all_args=-d1

After rebooting my machine dmesg showed the following lines:
hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
hda: DMA disabled


hdb had the DMA on and hda had DMA off but I had no problem turning it on
manually.

Do I have a problem in hdb? what should I do about it?

Why didn't hda start with DMA automatically?

Thanks,
Yuval Scharf









--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA

2004-02-09 Thread Kevin Hanson
Scharf Yuval wrote:

On Mon, 9 Feb 2004, Kevin Hanson wrote:

 

Scharf Yuval wrote:

   

Hello,

In a computer with a disk capable of DMA.

hdparm -i /dev/hda returns:
/dev/hda:
Model=Maxtor 6E040L0, FwRev=NAR61590, SerialNo=E13CFB3E
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=off
CurCHS=17475/15/63, CurSects=16513875, LBA=yes, LBAsects=80293248
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes:pio0 pio1 pio2 pio3 pio4
DMA modes:mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2 udma3 udma4 udma5 udma6
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: (null):
* signifies the current active mode

but hdparm /dev/hda returns:

/dev/hda:
multcount  =  0 (off)
IO_support =  0 (default 16-bit)
unmaskirq  =  0 (off)
using_dma  =  0 (off)
keepsettings =0 (off)
readonly   =  0 (off)
readahead  = 256 (on)
geometry   = 65535/16/63, sectors = 80293248, start = 0
When I try turning the DMA on using hdparm -d1 /dev/hda I get:

/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma  =  0 (off)
I'm using Linux 2.6 and as much as I can see all the DMA options in the
kernel are turned on. Can someone tell me what is the problem?
Thanks,
Yuval Scharf


--
[EMAIL PROTECTED] mailing list


 

You probably didn't compile in the pci bus master dma support for the
chipset your motherboard has into the kernel.If you just use generic
pci bus-master dma support you usually get this problem.
For example, I have an nforce2 chipset, so I compile in AMD and NVIDIA
IDE Support.Check for you chipset under the generic DMA bus-master
support tree.
Cheers,
Kevin
--
[EMAIL PROTECTED] mailing list
   

Thanks kevin, it worked.
But I still have two problems.
my /etc/conf.d/hdparm file includes the line:
all_args=-d1
After rebooting my machine dmesg showed the following lines:
hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
hda: DMA disabled
hdb had the DMA on and hda had DMA off but I had no problem turning it on
manually.
Do I have a problem in hdb? what should I do about it?

Why didn't hda start with DMA automatically?

Thanks,
Yuval Scharf








--
[EMAIL PROTECTED] mailing list
 

I don't think I'm going to be able to help you on that one.  What drives 
do you have?  What is hda?  What is hdb?  Are they older drives?



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] DMA

2004-02-09 Thread Itamar Ravid
 hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
 hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
 hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
 hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
 hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
 hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
 hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
 hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
 hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
 hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
 hda: DMA disabled

Please try enabling 'Use multi-mode by default' in the ATA section
in menuconfig.

-- 
Regards, Itamar Ravid
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] DMA

2004-02-09 Thread Calvin Walton
 After rebooting my machine dmesg showed the following lines:
 hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
 hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
more of same...
 hda: DMA disabled


 hdb had the DMA on and hda had DMA off but I had no problem turning it on
 manually.

 Do I have a problem in hdb? what should I do about it?

 Why didn't hda start with DMA automatically?

 Thanks,
 Yuval Scharf

Try enabling the option Use multi-mode by default, found in:
Device Drivers
-Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
  -Include IDE/ATA-2 DISK support

or IDEDISK_MULTI_MODE=y in the config file.

As the kernel help reads:
 Use multi-mode by default (IDEDISK_MULTI_MODE)
 
 If you get this error, try to say Y here:
 
 hda: set_multmode: status=0x51 { DriveReady SeekComplete Error }
 hda: set_multmode: error=0x04 { DriveStatusError }

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA not working (2.4.22 and 2.6.1)

2004-01-13 Thread Norbert Kamenicky
Richard Revis wrote:
I have upgraded from 2.4.19 to 2.4.22-r4 on one machine and 2.6.1 on
another.
In both cases hdparm returns this:

 HDIO_SET_DMA failed: Operation not permitted
The best would be to compare chipset related options
between your old (working) and actual .config files.
Let me guess, u used genkernel !?
If yes, it's expected feature :-).
noro

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] DMA not working (2.4.22 and 2.6.1)

2004-01-12 Thread Andrew Farmer
On Mon, 12 Jan 2004 15:33:46 -0800, Richard Revis muttered:
 Kernel options are (2.4.22):
snipped IDE options
 
 From the performance I am getting it definitely isn't enabled. Options on
 the 2.6.1 kernel are set in a similar way.

Try enabling some of the chipset options.

-- 
Andrew Farmer
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] DMA not working (2.4.22 and 2.6.1)

2004-01-12 Thread David Stevenson
Richard Revis wrote:
I have upgraded from 2.4.19 to 2.4.22-r4 on one machine and 2.6.1 on
another.
In both cases hdparm returns this:

elrsr-0 root # hdparm -d1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma=  0 (off)
Kernel options are (2.4.22):

  x x * Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support x x   
  x x *   Include IDE/ATA-2 DISK supportx x   
  x x [*] Use multi-mode by default   x x   
  x x *   Include IDE/ATAPI CDROM support   x x   
  x x [*]   PCI IDE chipset support   x x   
  x x [ ] Generic PCI IDE Chipset Support x x   
  x x [*] Sharing PCI IDE interrupts support  x x   
  x x [*] Generic PCI bus-master DMA support  x x   
  x x [ ] Boot off-board chipsets first support   x x   
  x x [ ]   Force enable legacy 2.0.X HOSTS to use DMAx x   
  x x [*]   Use PCI DMA by default when available x x   
  x x [ ] Enable DMA only for disks 

From the performance I am getting it definitely isn't enabled. Options on
the 2.6.1 kernel are set in a similar way.

I have Enable DMA only for disks set
Have you checked your bios settings are OK
David
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] DMA not working (2.4.22 and 2.6.1)

2004-01-12 Thread Alan
On Mon, Jan 12, 2004 at 11:33:46PM +, Richard Revis wrote:
 I have upgraded from 2.4.19 to 2.4.22-r4 on one machine and 2.6.1 on
 another.
 
 In both cases hdparm returns this:
 
 elrsr-0 root # hdparm -d1 /dev/hda
 
 /dev/hda:
  setting using_dma to 1 (on)
  HDIO_SET_DMA failed: Operation not permitted
  using_dma=  0 (off)

Looks like your Hard Drive might not support DMA.  Is it an older drive?

-- 
Alan [EMAIL PROTECTED] - http://arcterex.net

There are only 3 real sports: bull-fighting, car racing and mountain 
climbing. All the others are mere games.-- Hemingway

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA not working (2.4.22 and 2.6.1)

2004-01-12 Thread Wes Gray
On Mon, Jan 12, 2004 at 11:33:46PM +, Richard Revis wrote:
 I have upgraded from 2.4.19 to 2.4.22-r4 on one machine and 2.6.1 on
 another.
 
 In both cases hdparm returns this:
 
 elrsr-0 root # hdparm -d1 /dev/hda
 
 /dev/hda:
  setting using_dma to 1 (on)
  HDIO_SET_DMA failed: Operation not permitted
  using_dma=  0 (off)

I was getting the same problem and it was because I didn't have the
CONFIG_BLK_DEV_VIA82CXXX chipset option.  You are probably missing a
similar option for your chipset.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA not working (2.4.22 and 2.6.1)

2004-01-12 Thread [EMAIL PROTECTED]
I had the same problem, you may want to enable support for your IDE 
Chipset in your kernel, the specific one... not just general support.

Regards,

Martin

Richard Revis wrote:

I have upgraded from 2.4.19 to 2.4.22-r4 on one machine and 2.6.1 on
another.
In both cases hdparm returns this:

elrsr-0 root # hdparm -d1 /dev/hda

/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma=  0 (off)
Kernel options are (2.4.22):

 x x * Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support x x   
 x x *   Include IDE/ATA-2 DISK supportx x   
 x x [*] Use multi-mode by default   x x   
 x x *   Include IDE/ATAPI CDROM support   x x   
 x x [*]   PCI IDE chipset support   x x   
 x x [ ] Generic PCI IDE Chipset Support x x   
 x x [*] Sharing PCI IDE interrupts support  x x   
 x x [*] Generic PCI bus-master DMA support  x x   
 x x [ ] Boot off-board chipsets first support   x x   
 x x [ ]   Force enable legacy 2.0.X HOSTS to use DMAx x   
 x x [*]   Use PCI DMA by default when available x x   
 x x [ ] Enable DMA only for disks 

From the performance I am getting it definitely isn't enabled. Options on
the 2.6.1 kernel are set in a similar way.
Any suggestions greatly appreciated.

Thanks,

Richard

--
[EMAIL PROTECTED] mailing list
 



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] DMA not working (2.4.22 and 2.6.1)

2004-01-12 Thread Hemmann, Volker Armin
Hi,

On Tuesday 13 January 2004 00:33, Richard Revis wrote:
x
 x x x [ ] Generic PCI IDE Chipset Support x

you should enable this AND the drivers for your chipset.

Glück Auf
Volker

-- 
Conclusions 
 In a straight-up fight, the Empire squashes the Federation like a bug. Even 
with its numerical advantage removed, the Empire would still squash the 
Federation like a bug. Accept it. -Michael Wong 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA not working (2.4.22 and 2.6.1)

2004-01-12 Thread Tom Hosiawa
I've had similar problems on my toshiba laptop (6 months old). DMA
worked when I used RedHat but not in Gentoo. 

Actually it doesn't work in Gentoo with the vanilla sources but it works
with the gentoo sources, which I find pretty weird.

Tom


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA while booting

2004-01-02 Thread Arthur Britto
On Fri, 2004-01-02 at 01:41, Mauro Arnoldi wrote:
 Is it possible to enable DMA before this check so that I can scan my 
 partitions faster?

You can force hdparm to run before checkroot:
   echo hdparm checkroot hostname modules checkfs localmount 
/etc/runlevels/boot/.critical

-Arthur




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA while booting

2004-01-02 Thread Daniel Drake
Hi,

Sounds like you haven't correctly compiled in support for your IDE controller 
into the kernel.

You can use lspci (from the pciutils package) to find out which IDE 
controller you have, and then you should compile support for that into the 
kernel (in 2.6 menuconfig: Device Drivers ---  ATA/ATAPI/MFM/RLL support 
--- ...). Also check that Use PCI DMA by default when available is selected.

Once you have the right support compiled in, the kernel should automatically 
set DMA during bootup.

Daniel.

Mauro Arnoldi wrote:
  While I boot my Laptop with Gentoo Linux I notice this warning while checking
the filesystem 


* The dma of your hard drive is turned off	*
* This may really slow down the fsck process	* 


Is it possible to enable DMA before this check so that I can scan my 
partitions faster?
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] DMA

2003-12-01 Thread Lucas Sallovitz
Helder Correia wrote:

Hello,
I'm a Gentoo newbie. I have just installed from 1.4 i386 LiveCDs and now I get 
a message at booting saying I don't have DMA enabled for my hard drive (the 
context of the message is something related to fsck).

I edited /etc/conf.c/hdparm and now it looks like this:
--
# Copyright 2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /home/cvsroot/gentoo-x86/sys-apps/hdparm/files/hdparm-conf.d,v 1.1 
2003/03/01 21:17:39 sethbc Exp

# You can either set hdparm arguments for each drive using disc*_args and 
cdrom*_args..
# eg.
# disc0_args=-d1 -X66
# disc1_args-d1
# cdrom0_args=-d1

disc0_args=-d1 -X66 -c1 -A1 -m1

# Or, you can set hdparm options for ALL drives using all_args..
# eg.
# this mimics the behavior of the current script
#all_args=-d1
--
Result: nothing changed, I get the same message.
Can you please help me?
Thanks.
--
[EMAIL PROTECTED] mailing list
 

Maybe the disk with the error i not disc0, try enabling it by hand with 
hdparm -d 1 /dev/hdx to see what happens you may also check with hdparm 
-i /dev/hdx or hdparm -I /dev/hdx to get more detailded info about the 
drives and the modes that it supports

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] DMA

2003-12-01 Thread Helder Correia
On Monday 01 December 2003 15:40, Lucas Sallovitz wrote:

 Maybe the disk with the error i not disc0, try enabling it by hand with
 hdparm -d 1 /dev/hdx to see what happens you may also check with hdparm
 -i /dev/hdx or hdparm -I /dev/hdx to get more detailded info about the
 drives and the modes that it supports

I'm sure it is disc0. I don't have more discs. I can manually set the 
parameters for DMA and other at the console. Shouldn't /etc/conf.c/hdparm 
just work as if I run hdparm from a local script?


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA

2003-12-01 Thread Redeeman
i just say, be careful, enabling dma can destroy it, check your kernel
and be SURE to have the real driver for your chipset enabled, and then
enable the option: enable dma for disks by default of available

forcing dma can destroy disks, it happend for me, i have nforce chipset

On Mon, 2003-12-01 at 16:33, Helder Correia wrote:
 Hello,
 I'm a Gentoo newbie. I have just installed from 1.4 i386 LiveCDs and now I get 
 a message at booting saying I don't have DMA enabled for my hard drive (the 
 context of the message is something related to fsck).
 
 I edited /etc/conf.c/hdparm and now it looks like this:
 --
 # Copyright 2003 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License, v2 or later
 # $Header: /home/cvsroot/gentoo-x86/sys-apps/hdparm/files/hdparm-conf.d,v 1.1 
 2003/03/01 21:17:39 sethbc Exp
 
 # You can either set hdparm arguments for each drive using disc*_args and 
 cdrom*_args..
 # eg.
 # disc0_args=-d1 -X66
 # disc1_args-d1
 # cdrom0_args=-d1
 
 disc0_args=-d1 -X66 -c1 -A1 -m1
 
 # Or, you can set hdparm options for ALL drives using all_args..
 # eg.
 # this mimics the behavior of the current script
 #all_args=-d1
 --
 
 Result: nothing changed, I get the same message.
 Can you please help me?
 Thanks.
 
 
 --
 [EMAIL PROTECTED] mailing list
-- 
Regards, Redeeman
()  ascii ribbon campaign - against html e-mail 
/\- against microsoft attachments



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA

2003-12-01 Thread Arthur Britto
On Mon, 2003-12-01 at 09:24, Helder Correia wrote:
 Shouldn't /etc/conf.c/hdparm 
 just work as if I run hdparm from a local script?

I would recommend:

1. Boot your system.
2. Verify that dma is off (and that you have a problem):
   hdparm -d /dev/hda
3. Verify that /etc/init.d/hdparm will turn it on:
   /etc/init.d/hdparm start
   hdparm -d /dev/hda
4. If it did not turn on dma, /etc/conf.d/hdparm is misconfigured.
5. If it did turn on dma, you need to add hdparm to be started at boot:
   rc-update add hdparm boot
6. This kind of sucks as fscks happen before hdparm is run.  You can
force hdparm to run before checkroot:
   echo hdparm checkroot hostname modules checkfs localmount 
/etc/runlevels/boot/.critical


-- 
Copyright (c) 2003 Arthur Britto, All Rights Reserved, Redistribution of this message 
requires written permission.



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA

2003-12-01 Thread Helder Correia
On Tuesday 02 December 2003 00:06, Arthur Britto wrote:

 5. If it did turn on dma, you need to add hdparm to be started at boot:
rc-update add hdparm boot

Now it works...do I hear newbie?
Thanks a lot.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA messages at bootup

2003-09-26 Thread MAL
Dane Elwell wrote:
Hey, I've added ide0=dma and ide1=dma to my kernel boot parameters, and dmesg shows this:

Kernel command line: root=/dev/hda8 ide0=dma ide1=dma
ide_setup: ide0=dma
ide_setup: ide1=dma
[...]
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller on PCI bus 00 dev 15
SIS5513: chipset revision 0
SIS5513: not 100% native mode: will probe irqs later
SiS5513
ide0: BM-DMA at 0xb400-0xb407, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xb408-0xb40f, BIOS settings: hdc:DMA, hdd:DMA
hda: Maxtor 6Y120P0, ATA DISK drive
hdc: MSI CD-RW MS-8348, ATAPI CD/DVD-ROM drive
hdd: JLMS XJ-HD165H, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=14946/255/63
hdc: ATAPI 48X CD-ROM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.12
hdd: ATAPI 48X DVD-ROM drive, 512kB Cache
But then I'm still getting the DMA is not enabled on your drives message.
fsck.reiserfs has bugs then :)

Maybe report it to the reiserfs bug tracker, or the gentoo bootscripts
people?
MAL



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] DMA messages at bootup

2003-09-23 Thread MAL
Tom Wesley wrote:
On Monday 22 September 2003 21:14, Paulo da Silva wrote:

gpgkeys: WARNING: this is an *experimental* HKP interface!
gpgkeys: key 6F2B085769F79F87 not found on keyserver
Dane Elwell wrote:
|Hey.
|
|When I boot up my computer, fsck.reiser loves to give me that little
asterisked box telling me that DMA is not enabled on my hard drives.
However, a few seconds later in the boot process, hdparm is started and
enables DMA on all my drives.
...
Try regenerate the kernel with the option Use dma when possible or
something like this. I don't remember were is it, but it's easy to find.
This worked for me.


Also, if that is already ticked (I believe it is default?) try adding support 
for your motherboards IDE chip.
If you read his original email, he shows you what he selected, and his 
selections are fine.

Please, all of you, take note:

The -k parameter to hdparm, _does not keep the settings over a reboot_.

A 'reset' as it says in the man page, is when the IDE bus is reset, 
because an IDE error occurs.  You wouldn't even notice this, if it 
didn't print the respective errors on the system console or in the 
kernel log.

There is no way for the linux kernel to 'remember' your IDE settings, so 
they must be set, on boot, by hdparm.  Which is why there is an init 
script on your systems for hdparm.

Setting the -k flag to 1 is not necessarily a good idea.  With this set, 
whenever an error occurs on your IDE bus, (such as a UDMA33 hard drive 
trying to run at UDMA66), the kernel will simply retry and fail again.
With the -k switch set to 0, the IDE settings will revert to a 'safe' 
selection, (ie. DMA disabled, 32 bit mode disabled), when an error 
ocurrs and then there is a much higher chance that the bus will work 
again.  At which point you can diagnose the problem and fix it.

Edit /etc/conf.d/hdparm to specify your settings, _not_ /etc/init.d/hdparm

From my experience, safe parameters are:

-d1 -u1 -c1

Most modern hardware, (2 years old), should not have a problem with 
this.  For anything older, I suggest you try those, and if you encounter 
IDE resets, change them to:

-d1 -u0 -c3

This will result in very little performance loss, but fixes most 
problematic machines i've come accross.

Cheers all,
MAL
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] DMA messages at bootup

2003-09-23 Thread MAL
Dane Elwell wrote:
Hey.

When I boot up my computer, fsck.reiser loves to give me that little asterisked box telling me that DMA is not enabled on my hard drives. However, a few seconds later in the boot process, hdparm is started and enables DMA on all my drives.
/usr/src/linux/Documentation/kernel-parameters.txt

ide?=   [HW] (E)IDE subsystem : config (iomem/irq), tuning or
debugging (serialize,reset,no{dma,tune,probe}) or
chipset specific parameters.
So, you could try adding:

ide0=dma

or:

ide1=dma

to your kernel command line.  It may force DMA to be activated by the 
IDE chipset driver.

MAL

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] DMA messages at bootup

2003-09-23 Thread Dane Elwell
Hey, I've added ide0=dma and ide1=dma to my kernel boot parameters, and dmesg shows 
this:


Kernel command line: root=/dev/hda8 ide0=dma ide1=dma
ide_setup: ide0=dma
ide_setup: ide1=dma
[...]
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller on PCI bus 00 dev 15
SIS5513: chipset revision 0
SIS5513: not 100% native mode: will probe irqs later
SiS5513
ide0: BM-DMA at 0xb400-0xb407, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xb408-0xb40f, BIOS settings: hdc:DMA, hdd:DMA
hda: Maxtor 6Y120P0, ATA DISK drive
hdc: MSI CD-RW MS-8348, ATAPI CD/DVD-ROM drive
hdd: JLMS XJ-HD165H, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=14946/255/63
hdc: ATAPI 48X CD-ROM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.12
hdd: ATAPI 48X DVD-ROM drive, 512kB Cache


But then I'm still getting the DMA is not enabled on your drives message.

MAL: Apologies for sending that email to you and not to the mailing list.

On Tue, 23 Sep 2003 10:02:16 +0100
MAL [EMAIL PROTECTED] wrote:
 /usr/src/linux/Documentation/kernel-parameters.txt
 
 ide?= [HW] (E)IDE subsystem : config (iomem/irq), tuning or
   debugging (serialize,reset,no{dma,tune,probe}) or
   chipset specific parameters.
 
 So, you could try adding:
 
 ide0=dma
 
 or:
 
 ide1=dma
 
 to your kernel command line.  It may force DMA to be activated by the 
 IDE chipset driver.
 
 MAL




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA messages at bootup

2003-09-23 Thread Håvard Wall
how about:
rc-update add hdparm boot
?
Dane Elwell wrote:
Hey, I've added ide0=dma and ide1=dma to my kernel boot parameters, and dmesg shows this:

Kernel command line: root=/dev/hda8 ide0=dma ide1=dma
ide_setup: ide0=dma
ide_setup: ide1=dma
[...]
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller on PCI bus 00 dev 15
SIS5513: chipset revision 0
SIS5513: not 100% native mode: will probe irqs later
SiS5513
ide0: BM-DMA at 0xb400-0xb407, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xb408-0xb40f, BIOS settings: hdc:DMA, hdd:DMA
hda: Maxtor 6Y120P0, ATA DISK drive
hdc: MSI CD-RW MS-8348, ATAPI CD/DVD-ROM drive
hdd: JLMS XJ-HD165H, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=14946/255/63
hdc: ATAPI 48X CD-ROM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.12
hdd: ATAPI 48X DVD-ROM drive, 512kB Cache
But then I'm still getting the DMA is not enabled on your drives message.

MAL: Apologies for sending that email to you and not to the mailing list.

On Tue, 23 Sep 2003 10:02:16 +0100
MAL [EMAIL PROTECTED] wrote:
/usr/src/linux/Documentation/kernel-parameters.txt

ide?=   [HW] (E)IDE subsystem : config (iomem/irq), tuning or
debugging (serialize,reset,no{dma,tune,probe}) or
chipset specific parameters.
So, you could try adding:

ide0=dma

or:

ide1=dma

to your kernel command line.  It may force DMA to be activated by the 
IDE chipset driver.

MAL




--
[EMAIL PROTECTED] mailing list
--
hw


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] DMA messages at bootup

2003-09-23 Thread Dane Elwell
From my original email:

I've tried everything to get this to go away:

- I've added /etc/init.d/hdparm to the boot runlevel, but this still only 
enables DMA after those messages.

- I've made sure, many times, that I've got the correct options turned on in 
my kernel:

[*]   Generic PCI IDE chipset support 
   [*] Sharing PCI IDE interrupts support (NEW) 
   [*] Generic PCI bus-master DMA support (NEW)
   [ ] Boot off-board chipsets first support (NEW)   
   [ ]   Force enable legacy 2.0.X HOSTS to use DMA (NEW) 
   [*]   Use PCI DMA by default when available (NEW)
[*] SiS5513 chipset support


On Tue, 23 Sep 2003 15:35:48 +0200
Håvard Wall [EMAIL PROTECTED] wrote:

 how about:
 rc-update add hdparm boot
 ?




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA messages at bootup

2003-09-22 Thread Gustav_Schaffter





Dane,

If you read the man page for hdparm, you may find an option about how to
make the parameters 'stick' to the disk in question. (I'm not in front of
any Linux or UNIX system right now, so cannot give you the details.)

Once you feel comfortable that your system is absolutely stable with the
hdparm's settings you set at each bootup, you may run hdparm interactively
and set all the settings you are happy with, *including* the parameter to
make the setting 'sticky'.

From that point, you do not need to run the hdparm 'service' at bootup or
shutdown any more and you may remove it from your runlevel(s).

Biker





   
   
  Dane Elwell  
   
  [EMAIL PROTECTED]To:   [EMAIL PROTECTED]
   
  .netcc:   (bcc: Gustav 
Schaffter/CDS/CG/CAPITAL)   
   Subject:  [gentoo-user] DMA messages at 
bootup 
  22-09-2003 12:02 
   
  Please respond to
   
  gentoo-user  
   
   
   
   
   




Hey.

When I boot up my computer, fsck.reiser loves to give me that little
asterisked box telling me that DMA is not enabled on my hard drives.
However, a few seconds later in the boot process, hdparm is started and
enables DMA on all my drives.

I've tried everything to get this to go away:

 - I've added /etc/init.d/hdparm to the boot runlevel, but this still only
enables DMA after those messages.

 - I've made sure, many times, that I've got the correct options turned on
in my kernel:

[*]   Generic PCI IDE chipset support
   [*] Sharing PCI IDE interrupts support (NEW)
   [*] Generic PCI bus-master DMA support (NEW)
   [ ] Boot off-board chipsets first support (NEW)
   [ ]   Force enable legacy 2.0.X HOSTS to use DMA (NEW)
   [*]   Use PCI DMA by default when available (NEW)
[*] SiS5513 chipset support

# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] SiS645DX Host 
Memory  AGP Controller
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual
PCI-to-PCI bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS962 [MuTIOL Media
IO] (rev 04)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
[etc...]

I always seem to miss the obvious, so can someone point out what I'm doing
wrong please? ;)




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA messages at bootup

2003-09-22 Thread Dane Elwell
Yeah, the -k1 option is supposed to keep options over a reset, but this doens't seem 
to work for me.

xerxes root # hdparm /dev/hda

/dev/hda:
 multcount= 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq=  0 (off)
 using_dma=  1 (on)
 keepsettings =  1 (on)
 readonly =  0 (off)
 readahead=  8 (on)
 geometry = 14946/255/63, sectors = 240121728, start = 0

Yet I'm still getting the same messages after a reboot. The keepsettings flag also 
gets reset to 0 after a reboot.

A very useful flag, if you ask me. :P

On Mon, 22 Sep 2003 14:09:55 +0200
[EMAIL PROTECTED] wrote:
 Dane,
 
 If you read the man page for hdparm, you may find an option about how to
 make the parameters 'stick' to the disk in question. (I'm not in front of
 any Linux or UNIX system right now, so cannot give you the details.)
 
 Once you feel comfortable that your system is absolutely stable with the
 hdparm's settings you set at each bootup, you may run hdparm interactively
 and set all the settings you are happy with, *including* the parameter to
 make the setting 'sticky'.
 
 From that point, you do not need to run the hdparm 'service' at bootup or
 shutdown any more and you may remove it from your runlevel(s).
 
 Biker
 



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA messages at bootup

2003-09-22 Thread Dane Elwell
Yeah, the -k1 option is supposed to keep options over a reset, but this doens't seem 
to work for me.

xerxes root # hdparm /dev/hda

/dev/hda:
 multcount= 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq=  0 (off)
 using_dma=  1 (on)
 keepsettings =  1 (on)
 readonly =  0 (off)
 readahead=  8 (on)
 geometry = 14946/255/63, sectors = 240121728, start = 0

Yet I'm still getting the same messages after a reboot. The keepsettings flag also 
gets reset to 0 after a reboot.

A very useful flag, if you ask me. :P

On Mon, 22 Sep 2003 14:09:55 +0200
[EMAIL PROTECTED] wrote:
 Dane,
 
 If you read the man page for hdparm, you may find an option about how to
 make the parameters 'stick' to the disk in question. (I'm not in front of
 any Linux or UNIX system right now, so cannot give you the details.)
 
 Once you feel comfortable that your system is absolutely stable with the
 hdparm's settings you set at each bootup, you may run hdparm interactively
 and set all the settings you are happy with, *including* the parameter to
 make the setting 'sticky'.
 
 From that point, you do not need to run the hdparm 'service' at bootup or
 shutdown any more and you may remove it from your runlevel(s).
 
 Biker
 



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA messages at bootup

2003-09-22 Thread Gustav_Schaffter





I believe:


- When you boot up, hdparm is run with your parameters from the
/etc/init.d/hdparm script.
- Then you make your manual changes, including the 'kepsettings' flag.
- Then you do a shutdown
- At shutdown, the hdparm 'service' is run with the 'stop' parameter.
- The hdparm stop will reset all flags to 0 (zero) and your manually set
'keepsettings' is lost.

(Though I may be wrong. ;-)



1) Make sure to run /etc/init.d/hdparm stop
2) Remove hdparm from your default runlevel (rc-update delete hdparm
default  (??))
3) Manually set all the parameters, including the 'keepsettings'
4) Reboot and verify that the hdparm 'service' is never executed, neither
at shutdown nor at boot.
5) Manually verify what hd parameters are set.


Biker






   
   
  Dane Elwell  
   
  [EMAIL PROTECTED]To:   [EMAIL PROTECTED]
   
  .netcc:   (bcc: Gustav 
Schaffter/CDS/CG/CAPITAL)   
   Subject:  Re: [gentoo-user] DMA 
messages at bootup 
  22-09-2003 15:35 
   
  Please respond to
   
  gentoo-user  
   
   
   
   
   




Yeah, the -k1 option is supposed to keep options over a reset, but this
doens't seem to work for me.

xerxes root # hdparm /dev/hda

/dev/hda:
 multcount= 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq=  0 (off)
 using_dma=  1 (on)
 keepsettings =  1 (on)
 readonly =  0 (off)
 readahead=  8 (on)
 geometry = 14946/255/63, sectors = 240121728, start = 0

Yet I'm still getting the same messages after a reboot. The keepsettings
flag also gets reset to 0 after a reboot.

A very useful flag, if you ask me. :P




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA messages at bootup

2003-09-22 Thread Gustav_Schaffter




 * Stopping hdparm... [
ok ]
 * Starting hdparm...


Did you notice that 'restart' makes a stop and a start?
Then you settings are there again. Fine.


When you do a 'stop', your settings will most likely be gone. Try to do a
stop, not a restart. Then check your parameters.

Biker





   
   
  Dane Elwell  
   
  [EMAIL PROTECTED]To:   [EMAIL PROTECTED]
   
  .netcc:   (bcc: Gustav 
Schaffter/CDS/CG/CAPITAL)   
   Subject:  Re: [gentoo-user] DMA 
messages at bootup 
  22-09-2003 16:23 
   
  Please respond to
   
  gentoo-user  
   
   
   
   
   




On Mon, 22 Sep 2003 16:06:19 +0200
[EMAIL PROTECTED] wrote:

 I believe:


 - When you boot up, hdparm is run with your parameters from the
 /etc/init.d/hdparm script.
 - Then you make your manual changes, including the 'kepsettings' flag.
 - Then you do a shutdown
 - At shutdown, the hdparm 'service' is run with the 'stop' parameter.
 - The hdparm stop will reset all flags to 0 (zero) and your manually set
 'keepsettings' is lost.

 (Though I may be wrong. ;-)

Ok, here's some output. ;)



xerxes root # hdparm /dev/hda

/dev/hda:
 multcount= 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq=  0 (off)
 using_dma=  1 (on)
 keepsettings =  1 (on)
 readonly =  0 (off)
 readahead=  8 (on)
 geometry = 14946/255/63, sectors = 240121728, start = 0

 [note: i'm assuming this next bit is what happens during a
reboot - i.e. the service is stopped, then restarted next bootup]

xerxes root # /etc/init.d/hdparm restart
 * WARNING:  you are stopping a boot service.
 * Stopping hdparm... [
ok ]
 * Starting hdparm...
 * Running hdparm on disc0... [
ok ]
 * Running hdparm on cdrom0...[
ok ]
 * Running hdparm on cdrom1...[
ok ]
xerxes root # hdparm /dev/hda

/dev/hda:
 multcount= 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq=  0 (off)
 using_dma=  1 (on)
 keepsettings =  1 (on)
 readonly =  0 (off)
 readahead=  8 (on)
 geometry = 14946/255/63, sectors = 240121728, start = 0

So it appears that hdparm isn't what is resetting the keepsettings flag, so
what is? :oS

--
[EMAIL PROTECTED] mailing list





--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA messages at bootup

2003-09-22 Thread Dane Elwell
xerxes root # /etc/init.d/hdparm stop
 * WARNING:  you are stopping a boot service.
 * Stopping hdparm... [ ok ]
xerxes root # hdparm /dev/hda

/dev/hda:
 multcount= 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq=  0 (off)
 using_dma=  1 (on)
 keepsettings =  1 (on)
 readonly =  0 (off)
 readahead=  8 (on)
 geometry = 14946/255/63, sectors = 240121728, start = 0

The settings are still there after a stop.

On Mon, 22 Sep 2003 16:38:57 +0200
[EMAIL PROTECTED] wrote:
  * Stopping hdparm... [
 ok ]
  * Starting hdparm...
 
 
 Did you notice that 'restart' makes a stop and a start?
 Then you settings are there again. Fine.
 
 
 When you do a 'stop', your settings will most likely be gone. Try to do a
 stop, not a restart. Then check your parameters.
 
 Biker

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA messages at bootup

2003-09-22 Thread Hemmann, Volker Armin
On Monday 22 September 2003 13:35, Dane Elwell wrote:
 Yeah, the -k1 option is supposed to keep options over a reset, but this
 doens't seem to work for me.

 xerxes root # hdparm /dev/hda

 /dev/hda:
  multcount= 16 (on)
  IO_support   =  0 (default 16-bit)
  unmaskirq=  0 (off)
  using_dma=  1 (on)
  keepsettings =  1 (on)
  readonly =  0 (off)
  readahead=  8 (on)
  geometry = 14946/255/63, sectors = 240121728, start = 0

 Yet I'm still getting the same messages after a reboot. The keepsettings
 flag also gets reset to 0 after a reboot.


you made a mistake!

-k does not keep the settings in the case of a reboot!!

Reset means 'ide reset'

When your device is 'reset' after an error, dma will be kept enabled instead 
of disabling everything to work around the error.

A real 'reset' like a reboot erases everything and is something completly 
different

Glück Auf
Volker

-- 
Conclusions 
 In a straight-up fight, the Empire squashes the Federation like a bug. Even 
with its numerical advantage removed, the Empire would still squash the 
Federation like a bug. Accept it. -Michael Wong 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA messages at bootup

2003-09-22 Thread Paulo da Silva
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dane Elwell wrote:

|Hey.
|
|When I boot up my computer, fsck.reiser loves to give me that little
asterisked box telling me that DMA is not enabled on my hard drives.
However, a few seconds later in the boot process, hdparm is started and
enables DMA on all my drives.
...
Try regenerate the kernel with the option Use dma when possible or
something like this. I don't remember were is it, but it's easy to find.
This worked for me.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/b1g0bysIV2n3n4cRAtM0AJ4uWdUDTslLAIw0H0mxT6ScPTq7YQCgnWLF
qKb+T4PQfuSHEF7IqBMVbds=
=Y4xm
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] DMA messages at bootup

2003-09-22 Thread Tom Wesley
On Monday 22 September 2003 21:14, Paulo da Silva wrote:
 gpgkeys: WARNING: this is an *experimental* HKP interface!
 gpgkeys: key 6F2B085769F79F87 not found on keyserver

 Dane Elwell wrote:
 |Hey.
 |
 |When I boot up my computer, fsck.reiser loves to give me that little

 asterisked box telling me that DMA is not enabled on my hard drives.
 However, a few seconds later in the boot process, hdparm is started and
 enables DMA on all my drives.

 ...
 Try regenerate the kernel with the option Use dma when possible or
 something like this. I don't remember were is it, but it's easy to find.
 This worked for me.

Also, if that is already ticked (I believe it is default?) try adding support 
for your motherboards IDE chip.

-- 
Tom Wesley


pgp0.pgp
Description: signature


Re: [gentoo-user] dma not enabled

2003-08-20 Thread Pupeno
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 19 August 2003 16:39, Robert Young wrote:
 type
 hdparm /dev/hdb
 and
 hdparm /dev/hda

 for
 hdparm /dev/hda
 I got

 /dev/hda:
  multcount=  0 (off)
  IO_support   =  1 (32-bit)
  unmaskirq=  1 (on)
  using_dma=  1 (on)
  keepsettings =  0 (off)
  readonly =  0 (off)
  readahead=  8 (on)
  geometry = 1560/255/63, sectors = 25075008, start = 0
 .
  using_dma=  1 (on)
 shows that dma is on. What does yours show you?

That shows it off :)
/dev/hda:
 multcount= 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq=  0 (off)
 using_dma=  0 (off)
 keepsettings =  0 (off)
 readonly =  0 (off)
 readahead=  8 (on)
 geometry = 9729/255/63, sectors = 156301488, start = 0
- -- 
Pupeno: [EMAIL PROTECTED]
http://www.kde.org
- ---
Help the hungry children of Argentina,
please go to (and make it your homepage):
http://www.porloschicos.com/servlet/PorLosChicos?comando=donar
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/Q46XLr8z5XzmSDQRAijqAKC5+LouzC3BVzzjaCS6uS3ykQtJ6gCfaODn
bg5TUajU9gLCmJ3k3TQpeRs=
=hvxZ
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma not enabled

2003-08-20 Thread Pupeno
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 19 August 2003 16:48, Nicolas STURMEL wrote:
 Pupeno wrote:
  So, what may be wrong then ? (I didn't enable anything on the HDs yet)

 Perhaps did you mis-config your kernel.
 Look in IDE/ATAPI options to see if you enabled the driver corresponding
 to your chipset.

What chipset ? My motherboard chipset is nForce2, but I don't see it listed 
anywhere (maybe it is another chipset ?).
Thank you.
- -- 
Pupeno: [EMAIL PROTECTED]
http://www.kde.org
- ---
Help the hungry children of Argentina,
please go to (and make it your homepage):
http://www.porloschicos.com/servlet/PorLosChicos?comando=donar
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/Q486Lr8z5XzmSDQRAmAIAKDFEyvFD2r06HFOTYhrhv+VUAQfUwCeL5Rk
PedIPMH80aS3vyfHwx0rQJw=
=R5RA
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma not enabled

2003-08-20 Thread Jussi Sirpoma
On 20.8.2003 18:09 Pupeno wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tuesday 19 August 2003 16:48, Nicolas STURMEL wrote:
Pupeno wrote:
 So, what may be wrong then ? (I didn't enable anything on the HDs yet)
Perhaps did you mis-config your kernel.
Look in IDE/ATAPI options to see if you enabled the driver corresponding
to your chipset.
What chipset ? My motherboard chipset is nForce2, but I don't see it listed 
anywhere (maybe it is another chipset ?).
Thank you.
I have nForce2 and it uses one of the amd chipsets. I have 
CONFIG_BLK_DEV_AMD74XX=y int the .config.

Jussi Sirpoma



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] dma not enabled

2003-08-20 Thread Robert Young


Jussi Sirpoma wrote:

 On 20.8.2003 18:09 Pupeno wrote:

  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  On Tuesday 19 August 2003 16:48, Nicolas STURMEL wrote:
  Pupeno wrote:
   So, what may be wrong then ? (I didn't enable anything on the HDs yet)
 
  Perhaps did you mis-config your kernel.
  Look in IDE/ATAPI options to see if you enabled the driver corresponding
  to your chipset.
 
  What chipset ? My motherboard chipset is nForce2, but I don't see it listed
  anywhere (maybe it is another chipset ?).
  Thank you.

 I have nForce2 and it uses one of the amd chipsets. I have
 CONFIG_BLK_DEV_AMD74XX=y int the .config.

Let us know what happens when you recompile and install a kernel with this
compiled in.



 Jussi Sirpoma

 --
 [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma not enabled

2003-08-20 Thread Pupeno
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 20 August 2003 15:55, Robert Young wrote:
 Jussi Sirpoma wrote:
  On 20.8.2003 18:09 Pupeno wrote:
   -BEGIN PGP SIGNED MESSAGE-
   Hash: SHA1
  
   On Tuesday 19 August 2003 16:48, Nicolas STURMEL wrote:
   Pupeno wrote:
So, what may be wrong then ? (I didn't enable anything on the HDs
yet)
  
   Perhaps did you mis-config your kernel.
   Look in IDE/ATAPI options to see if you enabled the driver
   corresponding to your chipset.
  
   What chipset ? My motherboard chipset is nForce2, but I don't see it
   listed anywhere (maybe it is another chipset ?).
   Thank you.
 
  I have nForce2 and it uses one of the amd chipsets. I have
  CONFIG_BLK_DEV_AMD74XX=y int the .config.

 Let us know what happens when you recompile and install a kernel with this
 compiled in.
It worked, I don't get the dma error anymore and I also get this:
/dev/hda:
 multcount= 16 (on)
 IO_support   =  1 (32-bit)
 unmaskirq=  1 (on)
 using_dma=  1 (on)
 keepsettings =  0 (off)
 readonly =  0 (off)
 readahead=  8 (on)
 geometry = 9729/255/63, sectors = 156301488, start = 0

Thank you.
- -- 
Pupeno: [EMAIL PROTECTED]
http://www.kde.org
- ---
Help the hungry children of Argentina,
please go to (and make it your homepage):
http://www.porloschicos.com/servlet/PorLosChicos?comando=donar
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/RA35Lr8z5XzmSDQRAvsfAJ90g2UclFlmKiojKBquOUrvbG8uYgCaA9Aw
aKJ1zT1dpRSvBSa6XMqFrjs=
=JCx3
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma not enabled

2003-08-19 Thread Robert Young
/dev/hdX it your device that wish to enable dma on.

do a hdparm -i /dev/hdX to be sure that you can enable dma.

e.g.:

angus root # hdparm -i /dev/hda

/dev/hda:

 Model=QUANTUM BIGFOOT TS12.7A, FwRev=A21.0G00, SerialNo=381906129356
 Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs }
 RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
 BuffType=DualPortCache, BuffSize=418kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=25075008
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 *udma2
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: ATA/ATAPI-4 T13 1153D revision 15:  1 2 3 4

 * signifies the current active mode

is my drive.

 DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2

shows me that the dive supports dma.

 UDMA modes: udma0 udma1 *udma2

Shows me that it actually supports UDMA and is using udma2 mode.




hdparm -d 1 /dev/hdX
enables DMA)
hdparm -d1 -A1 -m16 -u1 -a64 /dev/hdX
enables DMA and other safe performance-enhancing options)
hdparm -X66 /dev/hdX
force-enables Ultra-DMA -- dangerous -- may cause some drives to mess
up)


Rob

Pupeno wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 When I start my computer I always get this message:
 **
 * Warning: The dma on your hard drive is turned off. *
 * This may really slow down the fsck process.*
 **
 How do I enable DMA ?
 Thanks.
 - --
 Pupeno: [EMAIL PROTECTED]
 http://www.kde.org
 - ---
 Help the hungry children of Argentina,
 please go to (and make it your homepage):
 http://www.porloschicos.com/servlet/PorLosChicos?comando=donar
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.2 (GNU/Linux)

 iD8DBQE/QjtVLr8z5XzmSDQRAvKfAJ986GajhR+YYwoW9n1gjEIH3aKrbwCfV3Xb
 YfpTrasOZJgCV0b4Ob49Z94=
 =x+Ro
 -END PGP SIGNATURE-

 --
 [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma not enabled

2003-08-19 Thread Alec Berryman
Additionally, there is a hdparm script to do this on boot -
/etc/init.d/hdparm.

On Tue, 2003-08-19 at 13:21, Robert Young wrote:
 /dev/hdX it your device that wish to enable dma on.
 
 do a hdparm -i /dev/hdX to be sure that you can enable dma.
 
 e.g.:
 
 angus root # hdparm -i /dev/hda
 
 /dev/hda:
 
  Model=QUANTUM BIGFOOT TS12.7A, FwRev=A21.0G00, SerialNo=381906129356
  Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs }
  RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
  BuffType=DualPortCache, BuffSize=418kB, MaxMultSect=16, MultSect=off
  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=25075008
  IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
  PIO modes:  pio0 pio1 pio2 pio3 pio4
  DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
  UDMA modes: udma0 udma1 *udma2
  AdvancedPM=no WriteCache=enabled
  Drive conforms to: ATA/ATAPI-4 T13 1153D revision 15:  1 2 3 4
 
  * signifies the current active mode
 
 is my drive.
 
  DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
 
 shows me that the dive supports dma.
 
  UDMA modes: udma0 udma1 *udma2
 
 Shows me that it actually supports UDMA and is using udma2 mode.
 
 
 
 
 hdparm -d 1 /dev/hdX
 enables DMA)
 hdparm -d1 -A1 -m16 -u1 -a64 /dev/hdX
 enables DMA and other safe performance-enhancing options)
 hdparm -X66 /dev/hdX
 force-enables Ultra-DMA -- dangerous -- may cause some drives to mess
 up)
 
 
 Rob
 
 Pupeno wrote:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  When I start my computer I always get this message:
  **
  * Warning: The dma on your hard drive is turned off. *
  * This may really slow down the fsck process.*
  **
  How do I enable DMA ?
  Thanks.
  - --
  Pupeno: [EMAIL PROTECTED]
  http://www.kde.org
  - ---
  Help the hungry children of Argentina,
  please go to (and make it your homepage):
  http://www.porloschicos.com/servlet/PorLosChicos?comando=donar
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.2.2 (GNU/Linux)
 
  iD8DBQE/QjtVLr8z5XzmSDQRAvKfAJ986GajhR+YYwoW9n1gjEIH3aKrbwCfV3Xb
  YfpTrasOZJgCV0b4Ob49Z94=
  =x+Ro
  -END PGP SIGNATURE-
 
  --
  [EMAIL PROTECTED] mailing list
 
 
 --
 [EMAIL PROTECTED] mailing list
 


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] dma not enabled

2003-08-19 Thread Pupeno
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 19 August 2003 15:21, Robert Young wrote:
 /dev/hdX it your device that wish to enable dma on.

 do a hdparm -i /dev/hdX to be sure that you can enable dma.

 e.g.:

 angus root # hdparm -i /dev/hda

 /dev/hda:

  Model=QUANTUM BIGFOOT TS12.7A, FwRev=A21.0G00, SerialNo=381906129356
  Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs }
  RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
  BuffType=DualPortCache, BuffSize=418kB, MaxMultSect=16, MultSect=off
  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=25075008
  IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
  PIO modes:  pio0 pio1 pio2 pio3 pio4
  DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
  UDMA modes: udma0 udma1 *udma2
  AdvancedPM=no WriteCache=enabled
  Drive conforms to: ATA/ATAPI-4 T13 1153D revision 15:  1 2 3 4

  * signifies the current active mode

 is my drive.

  DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2

 shows me that the dive supports dma.

  UDMA modes: udma0 udma1 *udma2

 Shows me that it actually supports UDMA and is using udma2 mode.

It seems it supports DMA and UDMA and that iti is enabled:

# hdparm -i /dev/hda
[...]
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
[...]

and

# hdparm -i /dev/hdb
[...]
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
[...]

So, what may be wrong then ? (I didn't enable anything on the HDs yet)

 hdparm -d 1 /dev/hdX
 enables DMA)
 hdparm -d1 -A1 -m16 -u1 -a64 /dev/hdX
 enables DMA and other safe performance-enhancing options)
 hdparm -X66 /dev/hdX
 force-enables Ultra-DMA -- dangerous -- may cause some drives to mess
 up)


 Rob

 Pupeno wrote:
  When I start my computer I always get this message:
  **
  * Warning: The dma on your hard drive is turned off. *
  * This may really slow down the fsck process.*
  **
  How do I enable DMA ?
  Thanks.

Thanks.
- -- 
Pupeno: [EMAIL PROTECTED]
http://www.kde.org
- ---
Help the hungry children of Argentina,
please go to (and make it your homepage):
http://www.porloschicos.com/servlet/PorLosChicos?comando=donar
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/QkQOLr8z5XzmSDQRAkaVAJ42SLU5laX/u+xlldCUvwkV9SYd7gCfUx17
dqpDIlA+kRsiylorrpza+0o=
=OC5I
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma not enabled

2003-08-19 Thread Robert Young


Pupeno wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Tuesday 19 August 2003 15:21, Robert Young wrote:
  /dev/hdX it your device that wish to enable dma on.
 
  do a hdparm -i /dev/hdX to be sure that you can enable dma.
 
  e.g.:
 
  angus root # hdparm -i /dev/hda
 
  /dev/hda:
 
   Model=QUANTUM BIGFOOT TS12.7A, FwRev=A21.0G00, SerialNo=381906129356
   Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs }
   RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
   BuffType=DualPortCache, BuffSize=418kB, MaxMultSect=16, MultSect=off
   CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=25075008
   IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
   PIO modes:  pio0 pio1 pio2 pio3 pio4
   DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
   UDMA modes: udma0 udma1 *udma2
   AdvancedPM=no WriteCache=enabled
   Drive conforms to: ATA/ATAPI-4 T13 1153D revision 15:  1 2 3 4
 
   * signifies the current active mode
 
  is my drive.
 
   DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
 
  shows me that the dive supports dma.
 
   UDMA modes: udma0 udma1 *udma2
 
  Shows me that it actually supports UDMA and is using udma2 mode.

 It seems it supports DMA and UDMA and that iti is enabled:

 # hdparm -i /dev/hda
 [...]
  DMA modes:  mdma0 mdma1 mdma2
  UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 [...]

 and

 # hdparm -i /dev/hdb
 [...]
  DMA modes:  mdma0 mdma1 mdma2
  UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 [...]


type
hdparm /dev/hdb
and
hdparm /dev/hda

for
hdparm /dev/hda
I got

/dev/hda:
 multcount=  0 (off)
 IO_support   =  1 (32-bit)
 unmaskirq=  1 (on)
 using_dma=  1 (on)
 keepsettings =  0 (off)
 readonly =  0 (off)
 readahead=  8 (on)
 geometry = 1560/255/63, sectors = 25075008, start = 0
.
.
.
.


 using_dma=  1 (on)
shows that dma is on. What does yours show you?
angus root #




 So, what may be wrong then ? (I didn't enable anything on the HDs yet)

  hdparm -d 1 /dev/hdX
  enables DMA)
  hdparm -d1 -A1 -m16 -u1 -a64 /dev/hdX
  enables DMA and other safe performance-enhancing options)
  hdparm -X66 /dev/hdX
  force-enables Ultra-DMA -- dangerous -- may cause some drives to mess
  up)
 
 
  Rob
 
  Pupeno wrote:
   When I start my computer I always get this message:
   **
   * Warning: The dma on your hard drive is turned off. *
   * This may really slow down the fsck process.*
   **
   How do I enable DMA ?
   Thanks.

 Thanks.
 - --
 Pupeno: [EMAIL PROTECTED]
 http://www.kde.org
 - ---
 Help the hungry children of Argentina,
 please go to (and make it your homepage):
 http://www.porloschicos.com/servlet/PorLosChicos?comando=donar
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.2 (GNU/Linux)

 iD8DBQE/QkQOLr8z5XzmSDQRAkaVAJ42SLU5laX/u+xlldCUvwkV9SYd7gCfUx17
 dqpDIlA+kRsiylorrpza+0o=
 =OC5I
 -END PGP SIGNATURE-

 --
 [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma not enabled

2003-08-19 Thread Nicolas STURMEL
Pupeno wrote:

 So, what may be wrong then ? (I didn't enable anything on the HDs yet)
 

Perhaps did you mis-config your kernel.
Look in IDE/ATAPI options to see if you enabled the driver corresponding
to your chipset.

-- 
Nicolas


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma not enabled

2003-08-19 Thread Tom Wesley
On Tuesday 19 August 2003 20:48, Nicolas STURMEL wrote:
 Pupeno wrote:
  So, what may be wrong then ? (I didn't enable anything on the HDs yet)

 Perhaps did you mis-config your kernel.
 Look in IDE/ATAPI options to see if you enabled the driver corresponding
 to your chipset.

This is likely to be the case - it certainly was with me.  Give the right 
information the kernel will often activate dma during detection of the drive.  
Even using the hdparm init script will not remove the warning you are seeing, 
as the localmount script is executed before hdparm.


-- 
Tom Wesley


pgp0.pgp
Description: signature


Re: [gentoo-user] dma not enabled

2003-08-19 Thread brett holcomb
Check out man hdparam.  You use that to turn it on.

On Tue, 19 Aug 2003 11:59:26 -0300
 Pupeno [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
When I start my computer I always get this message:
**
* Warning: The dma on your hard drive is turned off. *
* This may really slow down the fsck process.*
**
How do I enable DMA ?
Thanks.
- -- 
Pupeno: [EMAIL PROTECTED]
http://www.kde.org
- ---
Help the hungry children of Argentina,
please go to (and make it your homepage):
http://www.porloschicos.com/servlet/PorLosChicos?comando=donar
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/QjtVLr8z5XzmSDQRAvKfAJ986GajhR+YYwoW9n1gjEIH3aKrbwCfV3Xb
YfpTrasOZJgCV0b4Ob49Z94=
=x+Ro
-END PGP SIGNATURE-
--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] dma not enabled

2003-08-19 Thread Tom Wesley
On Tuesday 19 August 2003 20:46, brett holcomb wrote:
 Check out man hdparam.  You use that to turn it on.

 On Tue, 19 Aug 2003 11:59:26 -0300

   Pupeno [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 When I start my computer I always get this message:
 **
 * Warning: The dma on your hard drive is turned off. *
 * This may really slow down the fsck process.*
 **
 How do I enable DMA ?
 Thanks.
 - --
 Pupeno: [EMAIL PROTECTED]
 http://www.kde.org
 - ---
 Help the hungry children of Argentina,
 please go to (and make it your homepage):
 http://www.porloschicos.com/servlet/PorLosChicos?comando=donar
misc

IMO, this is the wrong advice, as it won't remove the message without 
re-ordering the boot process, adjusting the kernel, if possible, to activate 
DMA during drive detection would however, see my other post.

-- 
Tom Wesley


pgp0.pgp
Description: signature


Re: [gentoo-user] dma not enabled

2003-08-19 Thread brett holcomb
Well, hdparam is used (at least that's what I used) and 
the man page is a good place to start reading about it. 
It gave me enough info to see what needed to be done and 
even be able to ask questions.  Yes, it isn't a one step 
process but a knowledge of the man page is a could place 
to start.  I used hdparam from the command line to figure 
out info about my drive and turn it on.

On Tue, 19 Aug 2003 20:58:03 +0100
 Tom Wesley [EMAIL PROTECTED] wrote:
On Tuesday 19 August 2003 20:46, brett holcomb wrote:
Check out man hdparam.  You use that to turn it on.

On Tue, 19 Aug 2003 11:59:26 -0300

  Pupeno [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

When I start my computer I always get this message:
**
* Warning: The dma on your hard drive is turned off. *
* This may really slow down the fsck process.*
**
How do I enable DMA ?
Thanks.
- --
Pupeno: [EMAIL PROTECTED]
http://www.kde.org
- ---
Help the hungry children of Argentina,
please go to (and make it your homepage):
http://www.porloschicos.com/servlet/PorLosChicos?comando=donar
misc

IMO, this is the wrong advice, as it won't remove the 
message without 
re-ordering the boot process, adjusting the kernel, if 
possible, to activate 
DMA during drive detection would however, see my other 
post.

--
Tom Wesley


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] dma not enabled

2003-08-19 Thread Tom Wesley
On Tuesday 19 August 2003 21:08, brett holcomb wrote:
 Well, hdparam is used (at least that's what I used) and
 the man page is a good place to start reading about it.
  It gave me enough info to see what needed to be done and
 even be able to ask questions.  Yes, it isn't a one step
 process but a knowledge of the man page is a could place
 to start.  I used hdparam from the command line to figure
 out info about my drive and turn it on.

Fair enough, having read my mail it sounded a lil crappy, didn't mean to be 
offensive. :-)  Must've been sitting here longer than I thought!

lays sword down

:-)

-- 
Tom Wesley


pgp0.pgp
Description: signature


Re: [gentoo-user] dma not enabled

2003-08-19 Thread brett holcomb
We all have those days G.  Take a break - I find a good 
break is to go kick a windows machine G

On Tue, 19 Aug 2003 21:11:46 +0100
 Tom Wesley [EMAIL PROTECTED] wrote:
On Tuesday 19 August 2003 21:08, brett holcomb wrote:
Well, hdparam is used (at least that's what I used) and
the man page is a good place to start reading about it.
 It gave me enough info to see what needed to be done 
and
even be able to ask questions.  Yes, it isn't a one step
process but a knowledge of the man page is a could place
to start.  I used hdparam from the command line to 
figure
out info about my drive and turn it on.
Fair enough, having read my mail it sounded a lil crappy, 
didn't mean to be 
offensive. :-)  Must've been sitting here longer than I 
thought!

lays sword down

:-)

--
Tom Wesley


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] DMA and ide-scsi

2003-06-25 Thread Rex Walters
On Thu, Jun 26, 2003 at 05:33:35AM +0100, Richard Revis wrote:
 
 I have found references in several places which state that you should be
 able to use hdparm to enable dma on ide-scsi devices, however when I
 enable ide-scsi the /dev/hdX entry (in this case /dev/hdd) for it vanishes
 and hdparm refuses to work when pointed at the SCSI entry. Any clues as to
 what is happening?

Google found this for me:

http://www.geocrawler.com/archives/3/35/2001/2/0/5251986/

In a nutshell you may need to run hdparm before loading ide-scsi.

Regards,
-- 
Rex

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma on harddrive?!

2003-06-22 Thread Leonid Podolny
  Anyone wanna tell me what dma is anyway? Do I need it?
  If not then who cares about the warning!

 Direct Memory Access - a faster way of doing disk I/O than the
 alternative. You need it if disk I/O performance is important...  if your
 activities are not particularly disk-intensive, you probably don't care.

DMA enabled makes a whole lot of difference. The system performs MUCH
better. For example, when I occasionaly disabled it, one of the KDE packages
compiled 40mins instead of 10mins.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma on harddrive?!

2003-06-22 Thread Andrea Gagliardi
Your proglem is that your hard drive doesn't keeps settings from one
reboot and the other.
Sometimes this can be forced useng -k1 in hdparm options but it doesn't
works on every hard disk.
DMA is a faster access mode to hard disk and is foundamental but you can
live with the fact that on every boot your system checks the file system
not at full speed, few lines after it will turn dma on and you can live
happy.
Please post something about your hard disk and possibly mainboard.

Bye

Gëzim Hoxha wrote:

I tried looking for ide channels in the BIOS but I
found not such things!!

--- Brett I. Holcomb [EMAIL PROTECTED]
wrote:
  

In your BIOS see if you have both IDE channels
(primary and seconday) 
enabled.  For some systems you can't set the DMA for
one channel unless boht 
are enabled in the BIOS.  Once you do that hdparm
will work.  You can see it 
on boot up - the messages list dma as being used.

DMA is a faster way of transferring data - direct
memory access.




Someone suggested this:
# hdparm -d1 /dev/hda
# /etc/init.d/hdparm start
# rc-update add hdparm default
So I did it, then restarted but nope, same error.

Then I checked what Owen said, but those were
  

compiled


into the kernel already.

Anyone wanna tell me what dma is anyway? Do I need
  

it?


If not then who cares about the warning!

--- Owen Gunden [EMAIL PROTECTED] wrote:
  

On Sat, Jun 21, 2003 at 04:08:48PM -0700, Gzim


Hoxha


wrote:


When gentoo boots it says:
Warning: dma on you harddrive is turned off.


How do I turn it on?
  

Maybe this is a long shot, but..

I had this problem immediately after I


recompiled a


kernel.  I had
accidentally turned off Generic PCI IDE chipset
support and Use PCI DMA
by default when available (under IDE, ATA and


ATAPI


Block devices in
menuconfig).

After turning that back on, the warning went


away,


and no hdparm required.

Owen

--
[EMAIL PROTECTED] mailing list


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
  

-- 

Brett I. Holcomb
AKA Grunt 

--
[EMAIL PROTECTED] mailing list




__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

--
[EMAIL PROTECTED] mailing list


  



-- 
Software is like sex. It's better when it's free. -Linus Torvalds
A chain is only as strong as its weakest link. -Charles A. Lindberg
Paranoia is a Virtue. -Secure Programming for Linux HOWTO
Programming is an unnatural act. -Programming Epigrams
There are always errors in real data. -The AWK Programming Language
Five Hail Mary's, one Father Who Art in Heaven, and one Fsck. You are forgiven. 
-Linus Torvalds
I read your e-mail. -Seen on a t-shirt 




--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f

Sponsor:
Occhialeria.it:  le migliori marche del settore
con spedizioni gratuite in tutta Italia!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=882d=22-6

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma on harddrive?!

2003-06-22 Thread MAL
Andrea Gagliardi wrote:
Your proglem is that your hard drive doesn't keeps settings from one
reboot and the other.
Sometimes this can be forced useng -k1 in hdparm options but it doesn't
works on every hard disk.
-k doesn't save the settings over a reboot :)

From man hdparm:

-k Get/set the keep_settings_over_reset flag for the drive.  When 
this flag is set, the driver will preserve the -dmu  options  over  a 
soft reset,  (as  done  during  the error recovery sequence).

That is, when an error is encountered, (like a DMA error), if -k1 was 
specified, the settings are not reset to the defaults, and the transfer 
is retried with the enhanced settings.

To keep the settings over reboot, edit /etc/conf.d/hdparm, and do:
rc-update add hdparm default
MAL

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] dma on harddrive?!

2003-06-21 Thread nmeyers
On Sat, Jun 21, 2003 at 04:08:48PM -0700, G?zim Hoxha wrote:
 Hi,
 When gentoo boots it says:
 Warning: dma on you harddrive is turned off.

I don't find where in the kernel that message is coming from (did
you paste that text exactly as it appears???), but my guess is it's
complaining about a BIOS setting.  Jump into your BIOS configuration at
boot time and look around - you'll probably find the controls you need
there. If not, maybe it's a jumper on the drive.

Nathan Meyers
[EMAIL PROTECTED]
 
 
 How do I turn it on?
 
 Thanks,
 
 ZiM
 
 __
 Do you Yahoo!?
 SBC Yahoo! DSL - Now only $29.95 per month!
 http://sbc.yahoo.com
 
 --
 [EMAIL PROTECTED] mailing list
 
 

-- 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma on harddrive?!

2003-06-21 Thread Gëzim
No I didn't copy it as is, there was another line that
said something that it will take more time for fckdisk
to check the drive or something like it, but I'll
check the BIOS next time I boot.

Thanks
--- [EMAIL PROTECTED] wrote:
 On Sat, Jun 21, 2003 at 04:08:48PM -0700, G?zim
 Hoxha wrote:
  Hi,
  When gentoo boots it says:
  Warning: dma on you harddrive is turned off.
 
 I don't find where in the kernel that message is
 coming from (did
 you paste that text exactly as it appears???), but
 my guess is it's
 complaining about a BIOS setting.  Jump into your
 BIOS configuration at
 boot time and look around - you'll probably find the
 controls you need
 there. If not, maybe it's a jumper on the drive.
 
 Nathan Meyers
 [EMAIL PROTECTED]
  
  
  How do I turn it on?
  
  Thanks,
  
  ZiM
  
  __
  Do you Yahoo!?
  SBC Yahoo! DSL - Now only $29.95 per month!
  http://sbc.yahoo.com
  
  --
  [EMAIL PROTECTED] mailing list
  
  
 
 -- 
 
 --
 [EMAIL PROTECTED] mailing list
 

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma on harddrive?!

2003-06-21 Thread Gëzim

--- Eric J. Lawrence [EMAIL PROTECTED] wrote:
 On Sat, Jun 21, 2003 at 04:08:48PM -0700, G?zim
 Hoxha wrote:
  Hi,
  When gentoo boots it says:
  Warning: dma on you harddrive is turned off.
  ...
  
  How do I turn it on?
  
  Thanks,
  
  ZiM
  
  __
  Do you Yahoo!?
  SBC Yahoo! DSL - Now only $29.95 per month!
  http://sbc.yahoo.com
  
  --
  [EMAIL PROTECTED] mailing list
  
  
 
 You want hdparm. There are a lot of options.
 To turn on dma:
 
 hdparm -d1 /dev/hdx
# hdparm -d1 /dev/hda7

/dev/hda7:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Invalid argument
 using_dma=  0 (off)
#

I guess it didn't work, right?


 
 Where /dev/hdx is the drive you want to turn on.
 
 -- 
 Eric J. Lawrence
 [EMAIL PROTECTED]
 Key fingerprint: 6524 9162 19F5 CBA1 BC57  4293 758D
 1660 DC30 8B54
 

 ATTACHMENT part 2 application/pgp-signature 


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma on harddrive?!

2003-06-21 Thread Ernie Schroder
On Saturday 21 June 2003 08:56 pm, Gëzim wrote:
 --- Eric J. Lawrence [EMAIL PROTECTED] wrote:
  On Sat, Jun 21, 2003 at 04:08:48PM -0700, G?zim
 
  Hoxha wrote:
   Hi,
   When gentoo boots it says:
   Warning: dma on you harddrive is turned off.
   ...
  
   How do I turn it on?
  
   Thanks,
  
   ZiM
  
   __
   Do you Yahoo!?
   SBC Yahoo! DSL - Now only $29.95 per month!
   http://sbc.yahoo.com
  
   --
   [EMAIL PROTECTED] mailing list
 
  You want hdparm. There are a lot of options.
  To turn on dma:
 
  hdparm -d1 /dev/hdx

 # hdparm -d1 /dev/hda7

 /dev/hda7:
  setting using_dma to 1 (on)
  HDIO_SET_DMA failed: Invalid argument
  using_dma=  0 (off)
 #

 I guess it didn't work, right?
You're trying to set DMA on a partition . Instead try:
 # hdparm -d1 /dev/hda
You will need to start hdparm and add it to your default run level:
# /etc/init.d/hdparm start
And then:
# rc-update add hdparm default
-- 
Regards, Ernie
100% Microsoft and Intel free


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma on harddrive?!

2003-06-21 Thread Owen Gunden
On Sat, Jun 21, 2003 at 04:08:48PM -0700, Gzim Hoxha wrote:
 When gentoo boots it says:
 Warning: dma on you harddrive is turned off.
 
 
 How do I turn it on?

Maybe this is a long shot, but..

I had this problem immediately after I recompiled a kernel.  I had
accidentally turned off Generic PCI IDE chipset support and Use PCI DMA
by default when available (under IDE, ATA and ATAPI Block devices in
menuconfig).  

After turning that back on, the warning went away, and no hdparm required.

Owen

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma on harddrive?!

2003-06-21 Thread Gëzim
Someone suggested this:
# hdparm -d1 /dev/hda
# /etc/init.d/hdparm start
# rc-update add hdparm default
So I did it, then restarted but nope, same error.

Then I checked what Owen said, but those were compiled
into the kernel already.

Anyone wanna tell me what dma is anyway? Do I need it?
If not then who cares about the warning!

--- Owen Gunden [EMAIL PROTECTED] wrote:
 On Sat, Jun 21, 2003 at 04:08:48PM -0700, Gzim Hoxha
 wrote:
  When gentoo boots it says:
  Warning: dma on you harddrive is turned off.
  
  
  How do I turn it on?
 
 Maybe this is a long shot, but..
 
 I had this problem immediately after I recompiled a
 kernel.  I had
 accidentally turned off Generic PCI IDE chipset
 support and Use PCI DMA
 by default when available (under IDE, ATA and ATAPI
 Block devices in
 menuconfig).  
 
 After turning that back on, the warning went away,
 and no hdparm required.
 
 Owen
 
 --
 [EMAIL PROTECTED] mailing list
 

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma on harddrive?!

2003-06-21 Thread nmeyers
On Sat, Jun 21, 2003 at 06:59:21PM -0700, G?zim Hoxha wrote:
 Someone suggested this:
 # hdparm -d1 /dev/hda
 # /etc/init.d/hdparm start
 # rc-update add hdparm default
 So I did it, then restarted but nope, same error.
 
 Then I checked what Owen said, but those were compiled
 into the kernel already.
 
 Anyone wanna tell me what dma is anyway? Do I need it?
 If not then who cares about the warning!

Direct Memory Access - a faster way of doing disk I/O than the
alternative. You need it if disk I/O performance is important...  if your
activities are not particularly disk-intensive, you probably don't care.

Nathan Meyers
[EMAIL PROTECTED]


 --- Owen Gunden [EMAIL PROTECTED] wrote:
  On Sat, Jun 21, 2003 at 04:08:48PM -0700, Gzim Hoxha
  wrote:
   When gentoo boots it says:
   Warning: dma on you harddrive is turned off.
   
   
   How do I turn it on?
  
  Maybe this is a long shot, but..
  
  I had this problem immediately after I recompiled a
  kernel.  I had
  accidentally turned off Generic PCI IDE chipset
  support and Use PCI DMA
  by default when available (under IDE, ATA and ATAPI
  Block devices in
  menuconfig).  
  
  After turning that back on, the warning went away,
  and no hdparm required.
  
  Owen
  
  --
  [EMAIL PROTECTED] mailing list
  
 
 __
 Do you Yahoo!?
 SBC Yahoo! DSL - Now only $29.95 per month!
 http://sbc.yahoo.com
 
 --
 [EMAIL PROTECTED] mailing list
 
 

-- 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma on harddrive?!

2003-06-21 Thread Brett I. Holcomb
In your BIOS see if you have both IDE channels (primary and seconday) 
enabled.  For some systems you can't set the DMA for one channel unless boht 
are enabled in the BIOS.  Once you do that hdparm will work.  You can see it 
on boot up - the messages list dma as being used.

DMA is a faster way of transferring data - direct memory access.


 Someone suggested this:
 # hdparm -d1 /dev/hda
 # /etc/init.d/hdparm start
 # rc-update add hdparm default
 So I did it, then restarted but nope, same error.

 Then I checked what Owen said, but those were compiled
 into the kernel already.

 Anyone wanna tell me what dma is anyway? Do I need it?
 If not then who cares about the warning!

 --- Owen Gunden [EMAIL PROTECTED] wrote:
  On Sat, Jun 21, 2003 at 04:08:48PM -0700, Gzim Hoxha
 
  wrote:
   When gentoo boots it says:
   Warning: dma on you harddrive is turned off.
   
  
   How do I turn it on?
 
  Maybe this is a long shot, but..
 
  I had this problem immediately after I recompiled a
  kernel.  I had
  accidentally turned off Generic PCI IDE chipset
  support and Use PCI DMA
  by default when available (under IDE, ATA and ATAPI
  Block devices in
  menuconfig).
 
  After turning that back on, the warning went away,
  and no hdparm required.
 
  Owen
 
  --
  [EMAIL PROTECTED] mailing list

 __
 Do you Yahoo!?
 SBC Yahoo! DSL - Now only $29.95 per month!
 http://sbc.yahoo.com

-- 

Brett I. Holcomb
AKA Grunt 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dma on harddrive?!

2003-06-21 Thread Gëzim
I tried looking for ide channels in the BIOS but I
found not such things!!

--- Brett I. Holcomb [EMAIL PROTECTED]
wrote:
 In your BIOS see if you have both IDE channels
 (primary and seconday) 
 enabled.  For some systems you can't set the DMA for
 one channel unless boht 
 are enabled in the BIOS.  Once you do that hdparm
 will work.  You can see it 
 on boot up - the messages list dma as being used.
 
 DMA is a faster way of transferring data - direct
 memory access.
 
 
  Someone suggested this:
  # hdparm -d1 /dev/hda
  # /etc/init.d/hdparm start
  # rc-update add hdparm default
  So I did it, then restarted but nope, same error.
 
  Then I checked what Owen said, but those were
 compiled
  into the kernel already.
 
  Anyone wanna tell me what dma is anyway? Do I need
 it?
  If not then who cares about the warning!
 
  --- Owen Gunden [EMAIL PROTECTED] wrote:
   On Sat, Jun 21, 2003 at 04:08:48PM -0700, Gzim
 Hoxha
  
   wrote:
When gentoo boots it says:
Warning: dma on you harddrive is turned off.

   
How do I turn it on?
  
   Maybe this is a long shot, but..
  
   I had this problem immediately after I
 recompiled a
   kernel.  I had
   accidentally turned off Generic PCI IDE chipset
   support and Use PCI DMA
   by default when available (under IDE, ATA and
 ATAPI
   Block devices in
   menuconfig).
  
   After turning that back on, the warning went
 away,
   and no hdparm required.
  
   Owen
  
   --
   [EMAIL PROTECTED] mailing list
 
  __
  Do you Yahoo!?
  SBC Yahoo! DSL - Now only $29.95 per month!
  http://sbc.yahoo.com
 
 -- 
 
 Brett I. Holcomb
 AKA Grunt 
 
 --
 [EMAIL PROTECTED] mailing list
 

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA for ide-scsi emulated cd drives

2003-05-29 Thread Canek Peláez Valdés
Mal Hi ppl, Anyone know how to set (and check), the various IDE features,
Mal such as DMA, for cd drives that are being emulated by the ide-scsi
Mal generic driver?

Use the /proc interface:

/proc/ide/hd[a-d]/settings

To set DMA (for example):

echo using_dma:1  /proc/ide/hdc/settings

I do:

echo using_dma:1  /proc/ide/hdc/settings
echo io_32bit:1  /proc/ide/hdc/settings
echo unmaskirq:1  /proc/ide/hdc/settings
echo keepsettings:1  /proc/ide/hdc/settings

in /etc/conf.d/local.start.

Canek
-- 
It's a very *__UN*lucky week in which to be took dead.
-- Churchy La Femme

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA for ide-scsi emulated cd drives

2003-05-29 Thread Thomas T. Veldhouse
I don't think that will work as those proc locations should not exist if you
have not loaded those devices using the IDE module.

Tom Veldhouse

- Original Message -
From: Canek Peláez Valdés [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 12:47 PM
Subject: Re: [gentoo-user] DMA for ide-scsi emulated cd drives


 Mal Hi ppl, Anyone know how to set (and check), the various IDE features,
 Mal such as DMA, for cd drives that are being emulated by the ide-scsi
 Mal generic driver?

 Use the /proc interface:

 /proc/ide/hd[a-d]/settings

 To set DMA (for example):

 echo using_dma:1  /proc/ide/hdc/settings

 I do:

 echo using_dma:1  /proc/ide/hdc/settings
 echo io_32bit:1  /proc/ide/hdc/settings
 echo unmaskirq:1  /proc/ide/hdc/settings
 echo keepsettings:1  /proc/ide/hdc/settings

 in /etc/conf.d/local.start.

 Canek
 --
 It's a very *__UN*lucky week in which to be took dead.
 -- Churchy La Femme

 --
 [EMAIL PROTECTED] mailing list




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA for ide-scsi emulated cd drives

2003-05-29 Thread Canek Peláez Valdés
Thomas I don't think that will work as those proc locations should not exist
Thomas if you have not loaded those devices using the IDE module.

Of course they are. If your motherboard has an IDE bus, the proc interface
will be there, no matter if you load the ide-scsi modules. That's the beauty
;)

I use that (with the ide-scsi for my burner and ide-cd for my DVD) in my
desktop machine, and it works. I use it too in my laptop DVD/CD-RW combo, and
it works there too. I ask the exact same question some weeks ago, and someone
(sorry, forgot the name and wipe my mail account) give me the right answer.

The /proc IDE interface is there no matter what (I think at least you should
select CONFIG_IDE=y in the kernel config, but I suppose EVERYONE has
that... except those with a only-SCSI interface... but then again, if that's
your case you don't need ide-scsi :))

Canek
-- 
This life is a test.  It is only a test.  Had this been an actual life, you
would have received further instructions as to what to do and where to go.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] DMA for ide-scsi emulated cd drives

2003-05-29 Thread MAL
Canek Peláez Valdés wrote:
Mal Hi ppl, Anyone know how to set (and check), the various IDE features,
Mal such as DMA, for cd drives that are being emulated by the ide-scsi
Mal generic driver?
Use the /proc interface:

/proc/ide/hd[a-d]/settings

To set DMA (for example):

echo using_dma:1  /proc/ide/hdc/settings

I do:

echo using_dma:1  /proc/ide/hdc/settings
echo io_32bit:1  /proc/ide/hdc/settings
echo unmaskirq:1  /proc/ide/hdc/settings
echo keepsettings:1  /proc/ide/hdc/settings
in /etc/conf.d/local.start.
Thanking you good sir.

May I then assume, that hdparm is essentially unnecessary, aside from
changing the DMA mode and changing power saving settings?
(and getting a nice concise list of info about a drive)
Cheers,
MAL
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] DMA for ide-scsi emulated cd drives

2003-05-29 Thread Canek Peláez Valdés
[...]

Mal May I then assume, that hdparm is essentially unnecessary, aside from
Mal changing the DMA mode and changing power saving settings?

I don't know. I do know that, for all the things I use hdparm, I can use the
/proc interface; but I don't know if hdparm can do something that can't be
done with the /proc interface.

I'm still using /etc/conf.d/hdparm for my HD drives.

Canek
-- 
You have not converted a man because you have silenced him.
-- John Viscount Morley

--
[EMAIL PROTECTED] mailing list