Re: hdparm ignoring spindown_time in config when called with by-id symlink

2019-01-02 Thread Andrea Borgia
Il 02/01/19 14:35, Reco ha scritto: So udev is not to blame here. It's shell-based config parsing library. Possibly an upstream issue for hdparm, then. Nice :( Whitelist it. A file should be called /etc/apparmor.d/local/usr.bin.thunderbird. Thanks for the tip, saving for later. echo 1

Re: hdparm ignoring spindown_time in config when called with by-id symlink

2019-01-02 Thread Reco
Hi. On Wed, Jan 02, 2019 at 01:34:14PM +0100, Andrea Borgia wrote: > Il 02/01/19 12:15, Reco ha scritto: > > > What about this: > > DEVNAME=/dev/disk/by-id/ata-Hitachi_HTS543225A7A384E2024242DBNGWJ_ \ > > sh -x /lib/udev/hdparm >> /tmp/hdparm.log 2>&1 > > I had tried it, too, and it

Re: hdparm ignoring spindown_time in config when called with by-id symlink

2019-01-02 Thread Andrea Borgia
Il 02/01/19 12:15, Reco ha scritto: What about this: DEVNAME=/dev/disk/by-id/ata-Hitachi_HTS543225A7A384E2024242DBNGWJ_ \ sh -x /lib/udev/hdparm >> /tmp/hdparm.log 2>&1 I had tried it, too, and it looks in line with the results: + set -e + [ -n /dev/disk/by-id/ata-Hitachi_HTS543225A7A38

Re: hdparm ignoring spindown_time in config when called with by-id symlink

2019-01-02 Thread Reco
Hi. On Tue, Jan 01, 2019 at 08:39:13PM +0100, Andrea Borgia wrote: > My PC has two disks, a NVME for Debian/testing and an old 2.5 drive for an OS > that shall remain nameless :) > > Since the 2.5 disc isn't at all used by Linux, I figured I might as well set > a very aggressive spindow

Re: hdparm reporting a different serial number

2017-09-19 Thread Ben Caradoc-Davies
On 20/09/17 14:53, Bhasker C V wrote: Hi all, I have a seagate backup plus 5TB. When I plug-in the hdd, I see the serial number (as printed in the back of the HDD) in dmesg. usb 2-1.1: SerialNumber: [5.244161] usbcore: registered new interface driver usb-storage [5.245790] sc

Re: hdparm -t yields incorrect timings when Intel hyperthreading is enabled

2014-05-26 Thread Paul Ausbeck
I did get to test the 3.15 kernel over the weekend. There' definitely some improvement. as hdparm -t now reports 25-30MB/s for my hard drive instead of 6-7MB/s. The stutter in audio playback is less pronounced and almost unnoticeable. At this point the dn2800mt board is largely useable with hyp

Re: hdparm -t yields incorrect timings when Intel hyperthreading is enabled

2014-05-15 Thread Paul Ausbeck
Curiouser and curiouser. I have a second dn2800mt machine that my girlfriend uses. I ran some tests while there and I'm more uncertain than ever about what is going on. First, hdparm does not report correctly with hyperthreading enabled just as with the original machine. However, the problem

Re: hdparm -t yields incorrect timings when Intel hyperthreading is enabled

2014-05-14 Thread Henrique de Moraes Holschuh
On Wed, 14 May 2014, Paul Ausbeck wrote: > While examining the kernel log for another reason, I came across > evidence that acpi_idle, and not intel_idle, is being used on my > dn2800mt system, see below. In fact, it seems that intel_idle cannot > be used. Is there some sort of binary blob involved

Re: hdparm -t yields incorrect timings when Intel hyperthreading is enabled

2014-05-14 Thread Paul Ausbeck
While examining the kernel log for another reason, I came across evidence that acpi_idle, and not intel_idle, is being used on my dn2800mt system, see below. In fact, it seems that intel_idle cannot be used. Is there some sort of binary blob involved here? -

Re: hdparm -t yields incorrect timings when Intel hyperthreading is enabled

2014-05-10 Thread Henrique de Moraes Holschuh
On Fri, 09 May 2014, Paul Ausbeck wrote: > I've actually done dummy file reads and writes previously. Well > actually just writes. And they go at full speed, no matter what > hparm says. For example, your example, works at full speed: > dd if=/dev/zero of=somefile bs=10M count=100 ; You have to c

Re: hdparm -t yields incorrect timings when Intel hyperthreading is enabled

2014-05-09 Thread Paul Ausbeck
I've actually done dummy file reads and writes previously. Well actually just writes. And they go at full speed, no matter what hparm says. For example, your example, works at full speed: dd if=/dev/zero of=somefile bs=10M count=100 ; I've tried the analogous read: dd of=/dev/null if=somefile

Re: hdparm -t yields incorrect timings when Intel hyperthreading is enabled

2014-05-09 Thread Henrique de Moraes Holschuh
On Fri, 09 May 2014, Paul Ausbeck wrote: > Henrique, thanks a lot for the detailed reply. I will look at the > stuff that you suggested, if only to learn about what I don't know. > > FYI, the problem doesn't seem related to temperature to me. I'm not > ruling it out, I'm just saying it doesn't hav

Re: hdparm -t yields incorrect timings when Intel hyperthreading is enabled

2014-05-09 Thread Paul Ausbeck
Henrique, thanks a lot for the detailed reply. I will look at the stuff that you suggested, if only to learn about what I don't know. FYI, the problem doesn't seem related to temperature to me. I'm not ruling it out, I'm just saying it doesn't have that feel. I look at it like this. hdparm sa

Re: hdparm -t yields incorrect timings when Intel hyperthreading is enabled

2014-05-09 Thread Henrique de Moraes Holschuh
On Thu, 08 May 2014, Paul Ausbeck wrote: > Next, I don't agree that this hyperthreading problem reeks of a > firmware issue. What it reeks of is a linux kernel issue. I'm not Well, it reeks of bad interaction of Linux and the firmware, which *usually* is caused by bad firmware when an Intel deskto

Re: hdparm -t yields incorrect timings when Intel hyperthreading is enabled

2014-05-08 Thread Paul Ausbeck
I don't favor the interleaved response technique, so even if that technique is favored on this list, I'll just stay with keeping enough context so that previous messages don't need frequent reference. Next, I don't agree that this hyperthreading problem reeks of a firmware issue. What it reeks

Re: hdparm -t yields incorrect timings when Intel hyperthreading is enabled

2014-05-08 Thread Henrique de Moraes Holschuh
On Mon, 05 May 2014, Paul Ausbeck wrote: > I've attached the contents of /proc/cpuinfo below, two copies, one > with hyperthreading disabled and one enabled. As I told you, the *very first thing* you must do is to make sure you're using the latest firmware for your motherboard (*especially* the BI

Re: hdparm -t yields incorrect timings when Intel hyperthreading is enabled

2014-05-05 Thread Paul Ausbeck
I've attached the contents of /proc/cpuinfo below, two copies, one with hyperthreading disabled and one enabled. I've also investigated things a bit further and now I'm thinking that the hyperthreading state affects the system as a whole, not just hdparm. First, I've attached hdparm output fr

Re: hdparm -t yields incorrect timings when Intel hyperthreading is enabled

2014-05-04 Thread Henrique de Moraes Holschuh
On Sun, 04 May 2014, Paul Ausbeck wrote: > when I build a new system. Recently I built a system based upon the > Intel Atom dn2800mt motherboard. When I went to vet disk bandwidth, Please, can you give us the output of "cat /proc/cpuinfo" ? > I obtained unexpectedly slow readings from hdparm. I f

Re: Hdparm DMA on Newer (SATA) Systems

2011-01-09 Thread David Baron
On Sunday 09 January 2011 19:21:08 debian-user-digest-requ...@lists.debian.org wrote: > David Baron put forth on 1/9/2011 10:07 AM: > > I get: > > HDIO_GET_DMA failed: Inappropriate ioctl for device > > > > > > > > on bootup and any attempt to read or set dma for either the IDE or the > > SATA *

Re: Hdparm DMA on Newer (SATA) Systems

2011-01-09 Thread David Baron
On Sunday 09 January 2011 19:21:08 debian-user-digest-requ...@lists.debian.org wrote: > David Baron put forth on 1/9/2011 10:07 AM: > > I get: > > HDIO_GET_DMA failed: Inappropriate ioctl for device > > > > > > > > on bootup and any attempt to read or set dma for either the IDE or the > > SATA >

Re: Hdparm DMA on Newer (SATA) Systems

2011-01-09 Thread Pascal Hambourg
Hello, David Baron a écrit : > I get: > HDIO_GET_DMA failed: Inappropriate ioctl for device > > on bootup and any attempt to read or set dma for either the IDE or the SATA > disk on my system. AFAIK, the -d (DMA) setting is relevant only with the legacy IDE drivers, not the newer libata-based P

Re: Hdparm DMA on Newer (SATA) Systems

2011-01-09 Thread Stan Hoeppner
David Baron put forth on 1/9/2011 10:07 AM: > I get: > HDIO_GET_DMA failed: Inappropriate ioctl for device > > on bootup and any attempt to read or set dma for either the IDE or the SATA > disk on my system. This is dual core (P4 by hyperthreading?) intel cpu: > > ~$ lscpu > Architecture:

RE: hdparm - dpkg error on update

2010-12-01 Thread Mike Viau
> On Tue, 30 Nov 2010 16:37:47 -0700 wrote: > > That reads like a similar problem to one reported in this (old) bug > report: > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558478 > > > Has anyone else gotten this issue and did you come across a fix for > > this version or the dpkg system?

Re: hdparm - dpkg error on update

2010-11-30 Thread Bob Proulx
Mike Viau wrote: > DPKG error output: > http://paste.debian.net/101135/ That reads like a similar problem to one reported in this (old) bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558478 > Has anyone else gotten this issue and did you come across a fix for > this version or th

Re: hdparm configuration help

2007-08-31 Thread Joris Huizer
--- Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote: > Joris Huizer wrote: > > Hello, > > > > After the recent udev + hdparm problems, I'm > thinking > > of reconfiguring hdparm (hdparm currently is not > > configured, just reinstalled, so I'm assuming it's > > currently using default settings) > > >

Re: hdparm configuration help

2007-08-30 Thread Hugo Vanwoerkom
Joris Huizer wrote: Hello, After the recent udev + hdparm problems, I'm thinking of reconfiguring hdparm (hdparm currently is not configured, just reinstalled, so I'm assuming it's currently using default settings) This is the output of `hdparm -v -i /dev/hda`: /dev/hda: multcount= 0 (

Re: hdparm configuration help

2007-08-30 Thread Chris
On Thu, 30 Aug 2007 02:08:28 -0700, Joris Huizer wrote: > Hello, > > After the recent udev + hdparm problems, I'm thinking of reconfiguring > hdparm (hdparm currently is not configured, just reinstalled, so I'm > assuming it's currently using default settings) > > > This is the output of `hdpar

Re: hdparm SCSI

2007-04-25 Thread Greg Folkert
On Wed, 2007-04-25 at 11:15 +0100, yag wrote: > Hi, and sorry if this appeared twice, I believe my first > post did not get through. > > After upgrading to the latest Ubuntu release, which ships > a 2.6.20 kernel, all the drives are treated as SCSI ones. > That's fine, there's probably a good reas

Re: hdparm question

2007-04-06 Thread Greg Folkert
On Fri, 2007-04-06 at 18:13 -0400, Jude DaShiell wrote: > If memory serves this might be a western digital drive. postgresql > recommends disabling drive cacheing if it's on when it's installed or > upgraded so that if the data base is in use and a power failure happens > you don't loose the da

Re: hdparm question

2007-04-06 Thread Jude DaShiell
If memory serves this might be a western digital drive. postgresql recommends disabling drive cacheing if it's on when it's installed or upgraded so that if the data base is in use and a power failure happens you don't loose the data in the cache that didn't manage to get saved to disk before

Re: hdparm question

2007-04-05 Thread Greg Folkert
On Thu, 2007-04-05 at 16:58 -0400, Jude DaShiell wrote: > I have postgresql running on an ide type system with a 300GB hard drive. > For some reason the command hdparm -W 0 /dev/hda fails with error0x04 so > drive cacheing can't be turned off by hdparm on this type of drive so far > as I now kno

Re: hdparm and nforce2

2006-01-30 Thread jaroug
On Mon, 30 Jan 2006 17:56:10 +0100 Florian Kulzer <[EMAIL PROTECTED]> wrote: > > I had this problem in the past (with the piix module) and I remember > that some people here also experienced it with other controllers. I > think that you can only turn on DMA if you make sure that your > controller

Re: hdparm and nforce2

2006-01-30 Thread Florian Kulzer
jaroug wrote: Hi, I own a motherboard with a nforce2 based chipset. The problem is that I can't enable dma (debian sid 2.6.15-1-k7) : # hdparm -c1 -d1 /dev/hda /dev/hda: setting 32-bit IO_support flag to 1 setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted IO_support

Re: hdparm and nforce2

2006-01-30 Thread Andrew Sackville-West
On Mon, 30 Jan 2006 16:28:39 +0100 jaroug <[EMAIL PROTECTED]> wrote: > Hi, > > I own a motherboard with a nforce2 based chipset. The problem is that I > can't enable dma (debian sid 2.6.15-1-k7) : > > # hdparm -c1 -d1 /dev/hda > > /dev/hda: > setting 32-bit IO_support flag to 1 > setting usin

Re: hdparm init.d script?

2005-05-16 Thread Jacob S
On Mon, 16 May 2005 09:46:27 -0400 "Thomas Chadwick" <[EMAIL PROTECTED]> wrote: > >From: Jacob S > >To: debian-user@lists.debian.org > >Subject: Re: hdparm init.d script? > >Date: Sat, 14 May 2005 09:19:29 -0500 > > [snip] > > >Ah, in Woo

Re: hdparm init.d script?

2005-05-14 Thread Jacob S
On Sat, 14 May 2005 10:08:04 -0400 "Thomas Chadwick" <[EMAIL PROTECTED]> wrote: > >From: Marc Wilson > >To: debian-user@lists.debian.org > >Subject: Re: hdparm init.d script? > >Date: Fri, 13 May 2005 22:20:58 -0700 > > > >On Fri, May 13, 2005

Re: hdparm init.d script?

2005-05-14 Thread Thomas Chadwick
From: Marc Wilson To: debian-user@lists.debian.org Subject: Re: hdparm init.d script? Date: Fri, 13 May 2005 22:20:58 -0700 On Fri, May 13, 2005 at 04:38:01PM -0400, Thomas Chadwick wrote: > Is there an /etc/init.d/hdparm script out there somewhere that I should > be using? Apparently the o

Re: hdparm init.d script?

2005-05-13 Thread Marc Wilson
On Fri, May 13, 2005 at 04:38:01PM -0400, Thomas Chadwick wrote: > Is there an /etc/init.d/hdparm script out there somewhere that I should > be using? Apparently the one the hdparm package installs and documents isn't acceptable to you? -- Marc Wilson | "Good health" is merely the slowest

Re: hdparm init.d script?

2005-05-13 Thread Jim McCloskey
"Thomas Chadwick" <[EMAIL PROTECTED]> wrote: |> I recently discovered that I can greatly improve my harddrive |> performance by customizing a few settings using hdparm on the |> command-line. I'd like to make the changes permanent, but I'm not sure |> where to do that. Is there an /etc/init.d/hdp

Re: hdparm init.d script?

2005-05-13 Thread s. keeling
Incoming from Thomas Chadwick: > I recently discovered that I can greatly improve my harddrive performance > by customizing a few settings using hdparm on the command-line. I'd like > to make the changes permanent, but I'm not sure where to do that. Is there > an /etc/init.d/hdparm script out

Re: hdparm init.d script?

2005-05-13 Thread Jacob S
On Fri, 13 May 2005 16:38:01 -0400 "Thomas Chadwick" <[EMAIL PROTECTED]> wrote: > I recently discovered that I can greatly improve my harddrive > performance by customizing a few settings using hdparm on the > command-line. I'd like to make the changes permanent, but I'm not > sure where to do

Re: hdparm init.d script?

2005-05-13 Thread Roberto C. Sanchez
Thomas Chadwick wrote: > I recently discovered that I can greatly improve my harddrive > performance by customizing a few settings using hdparm on the > command-line. I'd like to make the changes permanent, but I'm not sure > where to do that. Is there an /etc/init.d/hdparm script out there > som

Re: Re: hdparm -U

2004-10-11 Thread pir aa
I do think, that you need a number as you find the following code in hdparm.c case 'U': if (!*p && argc && isdigit(**argv)) p = *argv++, --argc; if(! p) { fprintf(stderr, "expected hwif_nr\n"); exit(1); } sscanf(p++, "%i", &hwif); unregister_hwif = 1; break; isdigit Returns true if and o

Re: hdparm -U

2004-10-11 Thread robin
pir aa wrote: Hi, I would like to know, how to tell hdparm to unregister ide1 (the secondary ide channel). I tried with version 4.5: hdparm -U 1 hdparm -U ide1 hdparm -U /proc/ide/ide1/channel but it doesn't work. It just prints the help screen, not doing anything else. Can someone please give me a

Re: hdparm -U

2004-10-11 Thread Greg Folkert
On Mon, 2004-10-11 at 15:17 +0200, pir aa wrote: > Hi, > I would like to know, how to tell hdparm to unregister ide1 (the secondary ide > channel). I tried with version 4.5: > hdparm -U 1 > hdparm -U ide1 > hdparm -U /proc/ide/ide1/channel > > but it doesn't work. It just prints the help screen, n

Re: hdparm and disk access

2004-07-16 Thread Robert William Hutton
Forrest Humphrey wrote: [snip] Okay, now say I've used hdparm to specify that my 2 hard drives in the box should spin down after, say 5 minutes: hdparm -S 60 /dev/hda hdparm -S 60 /dev/hdb [snip] I know it could be detrimental to the drives if they are spinning up and down all the time. Also, is t

Re: hdparm and disk access

2004-07-16 Thread John Summerfield
Forrest Humphrey wrote: I am getting wireless Internet access from my college and I am wanting to put Debian on an old AMD K6-2 to serve as my Internet gateway for the rest of my computers. However, I want this box to run on as little power as possible so my question is one from more of a hardware

Re: hdparm questions

2004-01-14 Thread Greg Madden
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 13 January 2004 11:47 pm, David Baron wrote: > No, this is not being run on Debian startup. Editing either > /etc/default/ hdparm or (I made a) /etc/hdparm.conf has not effect. > > Where does one fine hwtools? apt-get did not work. There mu

Re: hdparm questions

2004-01-14 Thread Wilko Fokken
On Wed, Jan 14, 2004 at 09:47:37AM +0100, David Baron wrote: > No, this is not being run on Debian startup. Editing either /etc/default/ > hdparm or (I made a) /etc/hdparm.conf has not effect. > > Where does one fine hwtools? apt-get did not work. > > How might one add and a script /etc/rc#/hdpa

Re: hdparm questions

2004-01-14 Thread Ryan Mackay
On Wed, Jan 14, 2004 at 09:47:37AM +0100, David Baron wrote: > No, this is not being run on Debian startup. Editing either /etc/default/ > hdparm or (I made a) /etc/hdparm.conf has not effect. > > Where does one fine hwtools? apt-get did not work. > > How might one add and a script /etc/rc#/hdpa

RE: hdparm questions

2004-01-14 Thread David Baron
No, this is not being run on Debian startup. Editing either /etc/default/ hdparm or (I made a) /etc/hdparm.conf has not effect. Where does one fine hwtools? apt-get did not work. How might one add and a script /etc/rc#/hdparm? (Just take one of the other, leave the preambles and simply do hdpar

Re: hdparm dma not working

2003-11-10 Thread Joel Konkle-Parker
Well hell, after all of that it was a simple case of `modprobe piix`. Thanks for everyone who helped. This list is great. -- Joel Konkle-Parker Webmaster [Ballsome.com] Phone [+1 662-518-1636] E-mail[EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubs

Re: hdparm dma not working

2003-11-10 Thread Joel Konkle-Parker
Alvin Oga wrote: hiya joel On Mon, 10 Nov 2003, Joel Konkle-Parker wrote: Roberto Sanchez wrote: -- # hdparm -d1 /dev/hdc /dev/hdc: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma= 0 (off) # -- > What version of hdparm are you using? What version of De

Re: hdparm dma not working

2003-11-10 Thread Alvin Oga
hiya joel On Mon, 10 Nov 2003, Joel Konkle-Parker wrote: > Roberto Sanchez wrote: > >> -- > >> # hdparm -d1 /dev/hdc > >> > >> /dev/hdc: > >> setting using_dma to 1 (on) > >> HDIO_SET_DMA failed: Operation not permitted > >> using_dma= 0 (off) > >> # > >> -- > > > > What version of hd

Re: hdparm dma not working

2003-11-10 Thread Joel Konkle-Parker
Roberto Sanchez wrote: Joel Konkle-Parker wrote: When I try to get dma to work with my hard drive, I get the following error: -- # hdparm -d1 /dev/hdc /dev/hdc: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma= 0 (off) # -- Does anyone know why this migh

Re: hdparm dma not working - dell

2003-11-10 Thread Alvin Oga
hi ya On Mon, 10 Nov 2003, Joel Konkle-Parker wrote: > jterris wrote: > > I had this same problem when I was connecting a good drive > > to an old, CMD chipset ATA-66 card. Once I replaced > > it with a newer promise card it worked perfectly. > > This is a brand new (less than 2 months) old lap

Re: hdparm dma not working

2003-11-10 Thread Joel Konkle-Parker
Roberto Sanchez wrote: -- # hdparm -d1 /dev/hdc /dev/hdc: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma= 0 (off) # -- > What version of hdparm are you using? What version of Debian? What make and model is the drive? What mobo/chipset do you have? hdpar

Re: hdparm dma not working

2003-11-10 Thread Joel Konkle-Parker
jterris wrote: I had this same problem when I was connecting a good drive to an old, CMD chipset ATA-66 card. Once I replaced it with a newer promise card it worked perfectly. This is a brand new (less than 2 months) old laptop from Dell, though. I don't think my problem is with old components, bu

Re: hdparm dma not working

2003-11-10 Thread Benedict Verheyen
- Original Message - From: "Joel Konkle-Parker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 11, 2003 1:53 AM Subject: hdparm dma not working > When I try to get dma to work with my hard drive, I get the following error: > > -- > # hdparm -d1 /dev/hdc > > /dev/hdc:

Re: hdparm dma not working

2003-11-10 Thread Roberto Sanchez
Joel Konkle-Parker wrote: When I try to get dma to work with my hard drive, I get the following error: -- # hdparm -d1 /dev/hdc /dev/hdc: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma= 0 (off) # -- Does anyone know why this might happen? It's a brand n

Re: hdparm dma not working

2003-11-10 Thread jterris
I had this same problem when I was connecting a good drive to an old, CMD chipset ATA-66 card. Once I replaced it with a newer promise card it worked perfectly. ttyl, james > When I try to get dma to work with my hard drive, I get the following error: > > -- > # hdparm -d1 /dev/hdc > > /dev/hdc:

Re: hdparm script (thanks)

2003-11-04 Thread Alfredo Valles
On Tuesday 04 November 2003 10:28 am, Nicolas Kowalski wrote: > # hdparm optimization > # Switches on interrupts during transfers and does multi sector transfers > if command -v hdparm >/dev/null 2>&1; then >hdparm -q -d1 -c3 -a4 -m16 -u1 -W0 /dev/hda >true Thanks Nicolas, Dennis and every

Re: hdparm script

2003-11-04 Thread Joel Konkle-Parker
Alfredo Valles wrote: > > Is there a template or guideline to follow in debian for making init > scripts? Take a look at the Debian Reference section on the boot process: http://www.debian.org/doc/manuals/reference/ch-system.en.html#s-boot -- Joel Konkle-Parker Webmaster [Ballsome.com] Phone

Re: hdparm script

2003-11-04 Thread Nicolas Kowalski
Alfredo Valles <[EMAIL PROTECTED]> writes: > Hi all. > > Where should I put a script that sets my drives settings with hdparm? You can install the hwtools package, then edit the /etc/init.d/hwtools script. On my workstation, it contains, among other things: [...] # hdparm optimization # Switche

Re: hdparm script

2003-11-04 Thread [loonyx | rolf joho]
Alfredo Valles wrote: Is there a template or guideline to follow in debian for making init scripts? debian has a package called 'debian-policy' which provides useful information on how to do things 'debianish', eg. writing init-scripts and such, so i recommend installing that. -- To UNSUBSCRI

Re: hdparm script

2003-11-04 Thread Christian Schnobrich
On Tue, 2003-11-04 at 03:20, Alfredo Valles wrote: > Hi all. > > Where should I put a script that sets my drives settings with hdparm? > The sript itself should at any rate reside in /etc/init.d/ Then you create a link from wherever you'd like to get it started; I suggest putting it in /etc/rc2.

RE: hdparm script

2003-11-03 Thread Dennis van Turnhout
Go to /etc/init.d/ and create a file...for example "local" Edit it: #!/sh/bin ...Scripts or deamons to load at startup. Make the file executable: chmod +x local Create a symbolic Link in rc1.d or rcS.d ln -s /etc/init.d/local /etc/rcS.d/S98local Works like a charm ;-) Bye, Denni

Re: hdparm script

2003-11-03 Thread Alexander Schmehl
* Johann Koenig <[EMAIL PROTECTED]> [031104 04:51]: > How about this part, from README.Debian: > These settings can now be set in either /etc/default/hdparm or in > /etc/apm/20hdparm. I advise against setting the same features in both - > unpredictable things could happen. > > And a quick look

Re: hdparm script

2003-11-03 Thread Alexander Schmehl
* Alfredo Valles <[EMAIL PROTECTED]> [031104 03:20]: > Where should I put a script that sets my drives settings with hdparm? There is a package called "hwtools" (or something similar), allready containing a /etc/init.d/hwtools, which is a proper Place to add your very own hdparm commandos. > Is

Re: hdparm script

2003-11-03 Thread Johann Koenig
On Monday November 3 at 10:47pm Alfredo Valles <[EMAIL PROTECTED]> wrote: > On Monday 03 November 2003 10:18 pm, Johann Koenig wrote: > > > > apt-cache search hdparm > > > > > > I don't see what you mean. I have hdparm installed. > > > > > > I just want it to run everytime the machine start. I th

Re: hdparm script

2003-11-03 Thread Alfredo Valles
On Monday 03 November 2003 10:18 pm, Johann Koenig wrote: > > > apt-cache search hdparm > > > > I don't see what you mean. I have hdparm installed. > > > > I just want it to run everytime the machine start. I think that > > /etc/rc.boot would be a good place for my init script but I'm not > > sure.

Re: hdparm script

2003-11-03 Thread Johann Koenig
On Monday November 3 at 09:58pm Alfredo Valles <[EMAIL PROTECTED]> wrote: > On Monday 03 November 2003 9:29 pm, Johann Koenig wrote: > > On Monday November 3 at 09:20pm > > > > Alfredo Valles <[EMAIL PROTECTED]> wrote: > > > Hi all. > > > > > > Where should I put a script that sets my drives set

Re: hdparm script

2003-11-03 Thread Alfredo Valles
On Monday 03 November 2003 9:29 pm, Johann Koenig wrote: > On Monday November 3 at 09:20pm > > Alfredo Valles <[EMAIL PROTECTED]> wrote: > > Hi all. > > > > Where should I put a script that sets my drives settings with hdparm? > > > > Is there a template or guideline to follow in debian for making

Re: hdparm script

2003-11-03 Thread Johann Koenig
On Monday November 3 at 09:20pm Alfredo Valles <[EMAIL PROTECTED]> wrote: > Hi all. > > Where should I put a script that sets my drives settings with hdparm? > > Is there a template or guideline to follow in debian for making init > scripts? > > Finally: Is there some way different from hdpar

Re: hdparm, hard drive howto, tutorial

2003-09-13 Thread Alvin Oga
On Sat, 13 Sep 2003, Antonio Rodr wrote: > > > and if you really wanna tune your hd, use the proper partition order > > sizes and locations on the disk platter ... > What do you exactly mean with "proper partition order sizes and locations on the > disk platter"? Could you please be more con

Re: hdparm, hard drive howto, tutorial

2003-09-13 Thread Antonio Rodr
> and if you really wanna tune your hd, use the proper partition order > sizes and locations on the disk platter > > c ya > alvin What do you exactly mean with "proper partition order sizes and locations on the disk platter"? Could you please be more concrete? Thanks. -- To UNSUBSCRIBE, emai

Re: hdparm, hard drive howto, tutorial

2003-09-12 Thread Ismael Valladolid Torres
El jueves, 11 de septiembre de 2003, a las 14:33, Antonio RodrX escribe: > Does anyone know of a good tutorial, or howto on hard drives? "Speeding up Linux Using hdparm" http://linux.oreillynet.com/pub/a/linux/2000/06/29/hdparm.html Regards, Ismael -- "Tout fourmille de commentaries; d'auteurs

Re: hdparm, hard drive howto, tutorial

2003-09-12 Thread Kenneth Macdonald Karlsen
Antonio RodrX wrote: Does anyone know of a good tutorial, or howto on hard drives? I would like to understand a little better this part of the hardware before playing with hdparm. Some hdparm bash script examples would be also welcome. Here is my script: [EMAIL PROTECTED]:~$ cat /etc/init.d/h

Re: hdparm, hard drive howto, tutorial

2003-09-11 Thread Ian Silvester
On Thu, 11 Sep 2003 14:39:41 -0700 (PDT), Alvin Oga <[EMAIL PROTECTED] Consulting.com> wrote: On Thu, 11 Sep 2003, Antonio [ISO-8859-1] RodrX wrote: Does anyone know of a good tutorial, or howto on hard drives? I would like to understand a little better this part of the hardware before playi

Re: hdparm, hard drive howto, tutorial

2003-09-11 Thread Alvin Oga
On Thu, 11 Sep 2003, Antonio [ISO-8859-1] RodrX wrote: > Does anyone know of a good tutorial, or howto on hard drives? I would like to > understand a little better this part of the hardware before playing with hdparm. > Some hdparm bash script examples would be also welcome. tip#1 when pla

Re: hdparm, hard drive howto, tutorial

2003-09-11 Thread Naitik Shah
I've got a script in /etc/ini.d with this in it, case "$1" in start) echo -n "Optimizing /dev/hda performance: " hdparm -d1 -q -m16 -u1 -k1 -K1 /dev/hda > /dev/null echo "hdparm" *) ;; esac My options are hardcoded

RE: hdparm / DMA problems - options

2003-08-14 Thread Nyc0n
ing the card -Original Message- From: Alvin Oga [mailto:[EMAIL PROTECTED] Sent: Sunday, August 10, 2003 6:26 PM To: Nyc0n Cc: [EMAIL PROTECTED] Subject: RE: hdparm / DMA problems - options hi ya On Sun, 10 Aug 2003, Nyc0n wrote: -- if you dont know hwo to use hdparm ... you stand to c

RE: hdparm / DMA problems

2003-08-14 Thread Nyc0n
-Original Message- From: Nyc0n [mailto:[EMAIL PROTECTED] Sent: Sunday, August 10, 2003 11:25 AM To: '[EMAIL PROTECTED]' Subject: RE: hdparm / DMA problems Well, here is my script file, the first two drives are connected to the MB, which doesn't support DMA so I l

RE: hdparm / DMA problems - options

2003-08-14 Thread Alvin Oga
hi ya On Sun, 10 Aug 2003, Nyc0n wrote: -- if you dont know hwo to use hdparm ... you stand to corrupt data on your disks > Well, here is my script file, the first two drives are connected to the > MB, which doesn't support DMA so I left out the -d1 parameter on those, > the other 4 are co

Re: hdparm startup

2003-08-11 Thread Johann Koenig
On Sat, 09 Aug 2003 23:28:53 -0400 Nyc0n <[EMAIL PROTECTED]> wrote: > Once you get hdparm working the way you want it to with your drives > what is the best way to make it start up at boot? Put something in the > /etc/rc.S file and make it executable? Can someone post a script they > have written

Re: hdparm startup

2003-08-11 Thread Shyamal Prasad
"Nyc0n" == nyc0njunkmail writes: Nyc0n> :o="urn:schemas-microsoft-com:office:office" Nyc0n> xmlns:w="urn:schemas-microsoft-com:office:word" Nyc0n> xmlns="http://www.w3.org/TR/REC-html40";> Nyc0n> Once you get hdparm working the way you want it to with Nyc0n> your drives

Re: hdparm / DMA problems

2003-08-10 Thread Andreas Janssen
Hello Nyc0n (<[EMAIL PROTECTED]>) wrote: > To use hdparm to boost DMA speed, does DMA have to be enabled in the > kernel? i have the DMA enabled in the kernel, but some of my drives > that should use it don't, so I used hdparm to help that out, before > hdparm I was getting 3megs a second after

Re: hdparm -d1: Operation not permitted

2003-02-02 Thread ajlewis2
In linux.debian.user, you wrote: > I'm trying to turn on dma on my dvd drive so that when I play dvds the > movie plays real smooth. When I run 'hdparm -d1 /dev/dvd' I get this > output: > > /dev/dvd: > setting using_dma to 1 (on) > HDIO_SET_DMA failed: Operation not permitted > using_dma

Re: hdparm -d1: Operation not permitted

2003-02-01 Thread Eduard Bloch
#include * Mark [Sat, Feb 01 2003, 11:54:42AM]: > Google was of little help, steering me to think that the support for > my ide controller might not have been built into the kernel. I am > running an newer motherboard: abit at7 max. It uses the kt333 chipset.

Re: hdparm permanence

2003-01-12 Thread Shyamal Prasad
"James" == James William Morris <[EMAIL PROTECTED]> writes: James> http://www.exocore.com/technologies/linux/rhl71dma/ (redhat James> dma problem) James> there it says to permanently disable DMA for a particular James> drive by adding the following line to /etc/rc.d/rc.sysini

Re: hdparm, cdrom, and retaining params - humm

2002-12-29 Thread Alvin Oga
hi ya bill On Sun, 29 Dec 2002, Bill Moseley wrote: > I'm trying hard to get a better grasp of this stuff -- short of > reading ATA and PCI specs! night night.. :-) > Ok, so I guess it makes sense to enable the fastest mode that's available > on *both* the IDE controller and the drive. And i

Re: hdparm, cdrom, and retaining params

2002-12-29 Thread Bill Moseley
On Sat, 28 Dec 2002, Alvin Oga wrote: Drifiting to hardware issues... I'm trying hard to get a better grasp of this stuff -- short of reading ATA and PCI specs! I don't really understand the difference between PIO modes and DMA settings, for one thing. I also have no idea what all these setting

Re: hdparm, cdrom, and retaining params

2002-12-28 Thread Alvin Oga
hi ya bill > > > (see below) I have to use -d1 -c1 -X34 -u1. > > > > there is no "reason" you "have to use" those options > > That's my poor choice of words. That's just what I used. i famous for that > > -u1 allow the cpu to do other stuff while waiting for the "disk > > seeks/etc" ..

Re: hdparm, cdrom, and retaining params

2002-12-28 Thread Bill Moseley
On Sat, 28 Dec 2002, Alvin Oga wrote: > hi ya bill Hey Alvin! > > On one Dell machine (Demension XPS T450 PIII) that has a very new CD-ROM > > (see below) I have to use -d1 -c1 -X34 -u1. > > there is no "reason" you "have to use" those options That's my poor choice of words. That's just what

Re: hdparm, cdrom, and retaining params

2002-12-28 Thread Alvin Oga
hi ya bill On Sat, 28 Dec 2002, Bill Moseley wrote: > > What determines what settings are the default for a drive on boot? > > I thought what was needed is to include support for the IDE chipset and > enable IDE DMA in the kernel. This is what I've done on other machines > and they boot up wi

Re: hdparm: invalidate: busy buffer

2002-12-10 Thread Pigeon
On Mon, Dec 09, 2002 at 01:49:06PM -0800, nate wrote: > Pigeon said: > > > Right, I've heard lots of people moaning about the RAID version. OK, > > thanks. > > > > When you say 'buggy', do you mean losing data at all? I've never had > > anything like that, it's just not very quick. > > > It's be

Re: hdparm: invalidate: busy buffer

2002-12-09 Thread nate
Pigeon said: > Right, I've heard lots of people moaning about the RAID version. OK, > thanks. > > When you say 'buggy', do you mean losing data at all? I've never had > anything like that, it's just not very quick. It's been 3 years, so my experiences are not up to date :) but when I had problem

Re: hdparm: invalidate: busy buffer

2002-12-09 Thread Pigeon
On Sun, Dec 08, 2002 at 02:00:44PM -0800, nate wrote: > Pigeon said: > > Hi, > > > > I have a 600MHz Celeron with VIA 82Cxxx chipset; /dev/hda is a > > Seagate 20Gb UDMA66 drive, partitioned /dev/hda1 FAT16 375Mb, > > /dev/hda2 FAT16 125Mb, /dev/hda3 swap 2Gb, /dev/hda4 ext2 17.5Gb. > > DMA transf

Re: hdparm: invalidate: busy buffer

2002-12-09 Thread Pigeon
On Sun, Dec 08, 2002 at 06:04:11PM -0500, Neal wrote: > Could this be a hardware or connecting cable problem? The transfer > speeds you reported are far slower than what one might expect from a > UDMA66 hard drive. > > My desktop has a Western Digital UDMA66 drive and a VIA 82C686A > controller.

Re: hdparm: invalidate: busy buffer

2002-12-08 Thread Neal
On Sun, 2002-12-08 at 17:23, Pigeon wrote: > On Sun, Dec 08, 2002 at 04:36:09PM -0500, Neal wrote: > > > What does hdparm without any switches report? > > > > Here's mine: > > > > hdparm /dev/hda > > > > /dev/hda: > > multcount= 16 (on) > > I/O support = 1 (32-bit) > > unmaskirq=

  1   2   3   >