Re: DMA settings

2002-06-16 Thread Matthias Ellinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Ron Johnson wrote:
 
 Or if you don't want to make your own startup script, there's a spot for
 hdparm in /etc/init.d/hwtools (which is part of the hwtools package).

Ya lerns summin new every day on dis list..

Yes indeed - thanks guys!
- -- 
Matthias Ellinger
[EMAIL PROTECTED], PGP key at:
http://www.bernardel.de
Key fingerprint: 72CA 6861 3BE4 75E4 B556 283D 087A BEA7 19A5 b484

Linux User #235126 - Debian GNU/Linux
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9DEA+CHq+pxmltIQRAqg/AJ4u1bNzOjT4woekPsxRRTnlJ2Ft3ACeKaX7
F/5rCc+TJHsXvvhQnxdSJVs=
=j2lt
-END PGP SIGNATURE-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: DMA settings

2002-06-16 Thread Christian Jaeger

At 6:34 Uhr +0800 16.06.2002, csj wrote:

My own experience with this is that if you have to enable DMA using
hdparm, then something is lacking in or even wrong with your kernel.


One important reason to use hdparm regardless of the kernel boottime 
dma configuration is to set the -k (keep) flag, if you are using a 
laptop, since laptops (at least macintosh powerbooks) unset the dma 
setting on sleep if you don't. (A second important reason is to set 
-u (unmask interrupts), which you can't set other than with hdparm 
unless I'm mistaken.)


Christian.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: DMA settings

2002-06-15 Thread Ron Johnson
On Sat, 2002-06-15 at 09:25, Matthias Ellinger wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi,
 
 I'd like to permanently set the dma=1 parameter on my HD (UDMA100) and 
 DVD-ROM-drives. hdparm does the job manually, but after reboot the old state 
 is active again.

So make a startup script that runs hdparm...

-- 
+-+
| Ron Johnson, Jr.Home: [EMAIL PROTECTED] |
| Jefferson, LA  USA  http://ronandheather.dhs.org:81 |
| |
| Object-oriented programming is an exceptionally bad idea   |
|  which could only have originated in California.   |
|  --Edsger Dijkstra  |
+-+


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: DMA settings

2002-06-15 Thread Jason Bleazard
Ron Johnson wrote:
 
 On Sat, 2002-06-15 at 09:25, Matthias Ellinger wrote:
  Hi,
 
  I'd like to permanently set the dma=1 parameter on my HD (UDMA100) and
  DVD-ROM-drives. hdparm does the job manually, but after reboot the old state
  is active again.
 
 So make a startup script that runs hdparm...

Or if you don't want to make your own startup script, there's a spot for
hdparm in /etc/init.d/hwtools (which is part of the hwtools package).


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: DMA settings

2002-06-15 Thread csj
On 15 Jun 2002 10:28:40 -0500
Ron Johnson [EMAIL PROTECTED] wrote:

   I'd like to permanently set the dma=1 parameter on my HD (UDMA100)
   and DVD-ROM-drives. hdparm does the job manually, but after reboot
   the old state is active again.
 
  So make a startup script that runs hdparm...

My own experience with this is that if you have to enable DMA using
hdparm, then something is lacking in or even wrong with your kernel.
This can be quite harmless, but it could be a sign that your system
can't handle that sort of DMA. Perhaps it's time to recompile that
kernel or get a new board.

When I used my previous kernel, which worked nicely on a VIA-based
board, on a SiS board, DMA was invariably disabled at boot time. I would
force DMA using hdparm, and soon enough I would get disk read errors.
Recompiling and enabling (I suspect) CONFIG_BLK_DEV_SIS5513=y let me
boot with DMA enabled.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: DMA settings

2002-06-15 Thread Osamu Aoki
On Sat, Jun 15, 2002 at 06:01:15PM -0400, Jason Bleazard wrote:
 Ron Johnson wrote:
  
  On Sat, 2002-06-15 at 09:25, Matthias Ellinger wrote:
   Hi,
  
   I'd like to permanently set the dma=1 parameter on my HD (UDMA100) and
   DVD-ROM-drives. hdparm does the job manually, but after reboot the old 
   state
   is active again.
  
  So make a startup script that runs hdparm...
 
 Or if you don't want to make your own startup script, there's a spot for
 hdparm in /etc/init.d/hwtools (which is part of the hwtools package).

True (potato) but not always true (woody).

woody separated hdparm from hwtools but strangely /etc/init.d/hwtools
has entry for hdparm :)

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +
 Osamu Aoki @ Cupertino CA USA
 See User's Guide: http://www.debian.org/doc/manuals/users-guide/
 See Debian reference: http://www.debian.org/doc/manuals/reference/
 Debian reference Project at: http://qref.sf.net

 I welcome your constructive criticisms and corrections.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: DMA settings

2002-06-15 Thread Ron Johnson
On Sat, 2002-06-15 at 17:01, Jason Bleazard wrote:
 Ron Johnson wrote:
  
  On Sat, 2002-06-15 at 09:25, Matthias Ellinger wrote:
   Hi,
  
   I'd like to permanently set the dma=1 parameter on my HD (UDMA100) and
   DVD-ROM-drives. hdparm does the job manually, but after reboot the old 
   state
   is active again.
  
  So make a startup script that runs hdparm...
 
 Or if you don't want to make your own startup script, there's a spot for
 hdparm in /etc/init.d/hwtools (which is part of the hwtools package).

Ya lerns summin new every day on dis list..
 
-- 
+-+
| Ron Johnson, Jr.Home: [EMAIL PROTECTED] |
| Jefferson, LA  USA  http://ronandheather.dhs.org:81 |
| |
| Object-oriented programming is an exceptionally bad idea   |
|  which could only have originated in California.   |
|  --Edsger Dijkstra  |
+-+


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]