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 > /sys/block/sdb/device/delete
Assuming that your SATA controller is sane, it'll powerdown the drive
until the next reboot or SATA bus scan.


Interesting!



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 looks in line with the results:

Good news are - your configuration file comes into play:

> + OPTIONS= -B1  -S6

Bad news are - /lib/hdparm/hdparm-functions screws you over:

> + read KEY SEP VALUE
> + [ -z /dev/sdb ]
> + [ -n  -B1  -S6 ]
> + [ /dev/sdb = /dev/disk/by-id/ata-Hitachi_HTS543225A7A384E2024242DBNGWJ_ 
> ]

This corresponds to line 222 of aforementioned script:

if [ -n "$OPTIONS" ] && [ "$DISC" = "$WANTED_DISK" ]
then
echo $OPTIONS
return 0
fi

You have options defined, but second comparison fails. $DISC seems to be
defined at line 113:

DISC=$(readlink -m "$KEY")
DISC=${DISC%%[[:digit:]]*}

And readlink 'helpfully' transforms your 'persistent' HDD name to
/dev/sdb.

So udev is not to blame here. It's shell-based config parsing library.


> (copypasted because I found out only later that Thunderbird could not attach 
> files from /tmp because of AppArmor)

Whitelist it. A file should be called
/etc/apparmor.d/local/usr.bin.thunderbird.



> > > 2) am I wrong in testing with the symlink instead of the real device name?
> > I'd rather remove this HDD via /sys interface as it's unused.
> 
> Apart from the fact I don't know (yet) how to do that, what good would it do?

echo 1 > /sys/block/sdb/device/delete

Assuming that your SATA controller is sane, it'll powerdown the drive
until the next reboot or SATA bus scan.

Reco



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_HTS543225A7A384E2024242DBNGWJ_ ]
+ . /lib/hdparm/hdparm-functions
+ [ -e /proc/cmdline ]
+ grep -wq nohdparm /proc/cmdline
+ raidstat=OK
+ [ -e /proc/mdstat ]
+ egrep -iq resync|repair|recover|check /proc/mdstat
+ [ OK = OK ]
+ hdparm_options 
/dev/disk/by-id/ata-Hitachi_HTS543225A7A384E2024242DBNGWJ_
+ local 
WANTED_DISK=/dev/disk/by-id/ata-Hitachi_HTS543225A7A384E2024242DBNGWJ_

+ local DISC= DEFAULT= DEF_QUIET= COMMAND_LINE=
+ local OPTIONS OPT_QUIET KEY SEP VALUE
+ egrep -v ^[[:space:]]*(#|$) /etc/hdparm.conf
+ hdparm_try_apm 
/dev/disk/by-id/ata-Hitachi_HTS543225A7A384E2024242DBNGWJ_

+ [ -z  ]
+ udevadm info -n 
/dev/disk/by-id/ata-Hitachi_HTS543225A7A384E2024242DBNGWJ_ -q property

+ sed -n s/^ID_PATH=//p
+ local ID_PATH=pci-:15:00.1-ata-2
+ [ -z  ]
+ udevadm info -n 
/dev/disk/by-id/ata-Hitachi_HTS543225A7A384E2024242DBNGWJ_ -q property

+ sed -n s/^ID_ATA_FEATURE_SET_APM=//p
+ local ID_ATA_FEATURE_SET_APM=1
+ [ 1 = 1 ]
+ return 0
+ hdparm_is_on_battery
+ on_ac_power
+ [ 255 -eq 1 ]
+ hdparm_set_option -B254
+ local NEW_OPT= NEW_DEF=
+ test -n
+ DEFAULT=  -B254
+ read KEY SEP VALUE
+ [ -h /dev/disk/by-id/ata-Hitachi_HTS543225A7A384E2024242DBNGWJ_ ]
+ readlink -m /dev/disk/by-id/ata-Hitachi_HTS543225A7A384E2024242DBNGWJ_
+ DISC=/dev/sdb
+ DISC=/dev/sdb
+ OPTIONS=  -B254
+ OPT_QUIET=
+ read KEY SEP VALUE
+ hdparm_is_on_battery
+ on_ac_power
+ [ 255 -eq 1 ]
+ hdparm_set_option -B1
+ local NEW_OPT= NEW_DEF=
+ test -n /dev/sdb
+ test x-B != x-B
+ NEW_OPT=
+ OPTIONS=  -B1
+ read KEY SEP VALUE
+ hdparm_set_option -S6
+ local NEW_OPT= NEW_DEF=
+ test -n /dev/sdb
+ test x-B != x-S
+ NEW_OPT= -B1
+ OPTIONS= -B1  -S6
+ read KEY SEP VALUE
+ [ -z /dev/sdb ]
+ [ -n  -B1  -S6 ]
+ [ /dev/sdb = 
/dev/disk/by-id/ata-Hitachi_HTS543225A7A384E2024242DBNGWJ_ ]

+ COMMAND_LINE=
+ read KEY SEP VALUE
+ [ -n   -B254 ]
+ echo -B254
+ return 0
+ OPTIONS=-B254
+ [ -n -B254 ]
+ /sbin/hdparm -B254 
/dev/disk/by-id/ata-Hitachi_HTS543225A7A384E2024242DBNGWJ_


/dev/disk/by-id/ata-Hitachi_HTS543225A7A384E2024242DBNGWJ_:
 setting Advanced Power Management level to 0xfe (254)
 APM_level  = 254
+ exit 0

(copypasted because I found out only later that Thunderbird could not 
attach files from /tmp because of AppArmor)




1) am I wrong in using the by-id link to achieve a stable configuration?

You might get a race here. by-id symlinks are created by udev, so it's
possible to call hdparm udev script before actual symlink creation.


Right, I had not considered that. However, in real life it seems to be 
working: I rebooted to check the DEVNAME, the script is being called 
with the actual "sd" name (now /dev/sda, before /dev/sdb... I might have 
had a USB stick plugged in during the previous reboot)




2) am I wrong in testing with the symlink instead of the real device name?

I'd rather remove this HDD via /sys interface as it's unused.


Apart from the fact I don't know (yet) how to do that, what good would 
it do? I'm not worried about unauthorized access, I just want to spin it 
down in order to, possibly, preserve it. Would removing it via /sys 
achieve this goal? Other benefits to your suggestion?




3) if not, should I file a bug on hdparm?

I've tried to reproduce your problem, but 'sh -x' invocation with your
configuration file got me this:
/sbin/hdparm -B1 -S6 \
/dev/disk/by-id/ata-Hitachi_HTS543225A7A384E2024242DBNGWJ_
I suspect that your problem cannot be explained by hdparm bug.


Hmm, you don't have that disk in your system so the readlink call in the 
script will return the by-id name unchanged (I've tried that) and the 
comparison isn't really valid, I'm afraid. What happens if you try with 
an existing "id" for your system?




To recap, persistent names in the config seem to be ok, but the script 
apparently must be invoked with the actual name. This is what udev does 
and it works.



Thank you, Reco, for your help.

I'm CC'ing the maintainer for one quick feedback, if possible: SNAFU on 
my part, right?




Regards,
Andrea.



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 spindown time of, say, 30s and I wrote this in hdparm.conf:
>
> Then I tried checking whether hdparm would work when run via udev, with the 
> following command:
> DEVNAME=/dev/disk/by-id/ata-Hitachi_HTS543225A7A384E2024242DBNGWJ_ 
> /lib/udev/hdparm  >> /tmp/hdparm.log 2>&1
> (suggestion taken from: 
> https://stackoverflow.com/questions/49841690/hdparm-conf-settings-dont-seem-to-run-at-boot)

What about this:

DEVNAME=/dev/disk/by-id/ata-Hitachi_HTS543225A7A384E2024242DBNGWJ_ \
sh -x /lib/udev/hdparm  >> /tmp/hdparm.log 2>&1

> Now, the questions:
> 1) am I wrong in using the by-id link to achieve a stable configuration?

You might get a race here. by-id symlinks are created by udev, so it's
possible to call hdparm udev script before actual symlink creation.


> 2) am I wrong in testing with the symlink instead of the real device name?

I'd rather remove this HDD via /sys interface as it's unused.


> 3) if not, should I file a bug on hdparm?

I've tried to reproduce your problem, but 'sh -x' invocation with your
configuration file got me this:

/sbin/hdparm -B1 -S6 \
/dev/disk/by-id/ata-Hitachi_HTS543225A7A384E2024242DBNGWJ_

I suspect that your problem cannot be explained by hdparm bug.

Reco



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] scsi host6: uas
[5.246015] usbcore: registered new interface driver uas
[5.247071] scsi 6:0:0:0: Direct-Access Seagate  BUP BK
   0108 PQ: 0 ANSI: 6
[5.285452] sd 6:0:0:0: [sda] 9767541167 512-byte logical blocks:
(5.00 TB/4.55 TiB)
[5.285458] sd 6:0:0:0: [sda] 4096-byte physical blocks
[5.285786] sd 6:0:0:0: [sda] Write Protect is off
[5.285790] sd 6:0:0:0: [sda] Mode Sense: 53 00 00 08
This serial number is correct ! (Actuial serial number is obfuscated)
Whereas, when I do a hdparm or smartctl -i , I get a different serial number.
ATA device, with non-removable media
 Model Number:   ST5000LM000-2AN170
 Serial Number:  YYY
 Firmware Revision:  0001
 Transport:  Serial, ATA8-AST, SATA 1.0a, SATA II
Extensions, SATA Rev 2.5,
(actual serial number obfuscated)
Can someone explain why please ?
When I use seagate seatools, it reports both the USB-STORAGE and also
the internal HDD with the same  serial number (on windows).


Your USB hard drive consists of a USB to SATA bridge and a SATA HDD. My 
guess is that the kernel reports (via dmesg/journalctl) the USB iSerial 
of the bridge as "SerialNumber" and hdparm reports the SATA serial 
number of the HDD.


Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand



Re: hdparm consulta

2015-07-25 Thread Ricardo Delgado
El día 25 de julio de 2015, 10:59, Camaleón noela...@gmail.com escribió:
 El Sat, 25 Jul 2015 10:40:01 -0300, Ricardo Delgado escribió:

 hace un corto tiempo atras lei (no recuerdo si en este foro) que los
 discos SSD no se pueden borrar completamente, es decir, no se puede
 hacer un borrado seguro.

 Ni los SSD ni los mecánicos (el borrado seguro al 100% no existe), pero
 vamos, se puede intentar que quede lo más vacío posible.

 mas alla de eso, hoy leyendo este articulo (0) me encuentro con un
 parametro que me genera dudas y es el siguiente

 hdparm -I /dev/sda me da como resultado (entre otros)

 Security:
 Master password revision code = 65534
 supported
 notenabled notlocked
 frozen
 notexpired: security count
 supported: enhanced erase
 104min for SECURITY ERASE UNIT. 106min for ENHANCED SECURITY ERASE
 UNIT.


 o sea, puedo borrar de forma segura un disco mediante hdparm, lo cual
 seria algo asi como

 hdparm --user-master u --security-erase Eins /dev/sdb
 security_password=Eins

 esto es asi? alguien me puede corroborar?

 Pues es lo que dice la guía para definir una contraseña, paso previo al
 borrado. El borrado de datos es el paso 3.

 OJO. Según la salida del comando que envías más arriba *NO tienes
 activado* el uso de contraseña.

 la verdad aun estoy releyendo y buscando mas para enteder mejor el
 concepto:

 entre otras dudas que me surgen son; a.- si cambio la contraseña que
 parece ser por defecto

 Master password revision code = 65534

 No, no... eso no es la contraseña, es sólo el código de revisión de la
 función.

 por otra a mi gusto, se mantendra? o sera de un solo uso.

 Si lees el artículo completo, verás que dice que tras realizar todos los
 pasos que detalla la contraseña queda desactivada pero entiendo que se
 podrá habilitar esa funcionalidad después, con una contraseña de libre
 elección.

 b.- el borrado es como un shred (por dar un ejemplo) o secure delete?

 Pues dependerá de cómo haya definido en el firmware esa función el
 fabricante del disco duro. El artículo habla de algunos modelos de discos
 Intel, no sé si será aplicable para todos.

 c.- hay otras mas pero seguire leyendo.

 (0) https://www.thomas-krenn.com/en/wiki/SSD_Secure_Erase

 Si no estás seguro de lo que vas a hacer (es lo que parece) no lo hagas a
 menos que tengas un backup completo de todos los datos.

 El documento original:

 https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase

 Saludos,

 --
 Camaleón


 --
 To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: https://lists.debian.org/pan.2015.07.25.13.59...@gmail.com


gracias por responder, no pienso hacer nada aun, simplemente estoy
leyendo documentacion, y si con respecto a la contraseña que no esta
habilitada lo se, queria corroborar y mas que nada escuchar (leer)
comentarios de alguien que haya hecho lo que reza el articulo y sus
experiencias.

lo de borrado seguro se que no es tal, pero se puede hacer que sea
dificil recuperar datos.


-- 
Windows? Reboot
Debian?  beRoot 


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/ca+0kpa1rujy5d5kp71wf5qgggqyfiza5ns6ybcc-adx0pvp...@mail.gmail.com



Re: hdparm consulta

2015-07-25 Thread Manolo Díaz
El sábado, 25 jul 2015, a las 15:40 UTC+2 horas,
Ricardo Delgado escribió:

hace un corto tiempo atras lei (no recuerdo si en este foro) que los
discos SSD no se pueden borrar completamente, es decir, no se puede
hacer un borrado seguro.

Esto es nuevo para mí. Siempre he creído que eran los únicos que
permitían borrado seguro a costa de degradar su periodo de vida útil.
En los magnéticos siempre queda un campo magnético remanente que
permite reconstruir la información borrada. ¿Cuál se supone que es el
mecanismo que permite rescatarla en los de estado sólido?

Saludos.
-- 
Manolo Díaz


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150725170533.0f267...@gmail.com



Re: hdparm consulta

2015-07-25 Thread Camaleón
El Sat, 25 Jul 2015 10:40:01 -0300, Ricardo Delgado escribió:

 hace un corto tiempo atras lei (no recuerdo si en este foro) que los
 discos SSD no se pueden borrar completamente, es decir, no se puede
 hacer un borrado seguro.

Ni los SSD ni los mecánicos (el borrado seguro al 100% no existe), pero 
vamos, se puede intentar que quede lo más vacío posible.

 mas alla de eso, hoy leyendo este articulo (0) me encuentro con un
 parametro que me genera dudas y es el siguiente
 
 hdparm -I /dev/sda me da como resultado (entre otros)
 
 Security:
 Master password revision code = 65534
 supported
 notenabled notlocked
 frozen
 notexpired: security count
 supported: enhanced erase
 104min for SECURITY ERASE UNIT. 106min for ENHANCED SECURITY ERASE
 UNIT.
 
 
 o sea, puedo borrar de forma segura un disco mediante hdparm, lo cual
 seria algo asi como
 
 hdparm --user-master u --security-erase Eins /dev/sdb
 security_password=Eins
 
 esto es asi? alguien me puede corroborar?

Pues es lo que dice la guía para definir una contraseña, paso previo al 
borrado. El borrado de datos es el paso 3.

OJO. Según la salida del comando que envías más arriba *NO tienes 
activado* el uso de contraseña.

 la verdad aun estoy releyendo y buscando mas para enteder mejor el
 concepto:
 
 entre otras dudas que me surgen son; a.- si cambio la contraseña que
 parece ser por defecto
 
 Master password revision code = 65534

No, no... eso no es la contraseña, es sólo el código de revisión de la 
función.

 por otra a mi gusto, se mantendra? o sera de un solo uso.

Si lees el artículo completo, verás que dice que tras realizar todos los 
pasos que detalla la contraseña queda desactivada pero entiendo que se 
podrá habilitar esa funcionalidad después, con una contraseña de libre 
elección.

 b.- el borrado es como un shred (por dar un ejemplo) o secure delete?

Pues dependerá de cómo haya definido en el firmware esa función el 
fabricante del disco duro. El artículo habla de algunos modelos de discos 
Intel, no sé si será aplicable para todos.

 c.- hay otras mas pero seguire leyendo.
 
 (0) https://www.thomas-krenn.com/en/wiki/SSD_Secure_Erase

Si no estás seguro de lo que vas a hacer (es lo que parece) no lo hagas a 
menos que tengas un backup completo de todos los datos.

El documento original:

https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase

Saludos,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/pan.2015.07.25.13.59...@gmail.com



Re: hdparm consulta

2015-07-25 Thread Ricardo Delgado

hace un corto tiempo atras lei (no recuerdo si en este foro) que los
discos SSD no se pueden borrar completamente, es decir, no se puede
hacer un borrado seguro.

 Esto es nuevo para mí. Siempre he creído que eran los únicos que
 permitían borrado seguro a costa de degradar su periodo de vida útil.
 En los magnéticos siempre queda un campo magnético remanente que
 permite reconstruir la información borrada. ¿Cuál se supone que es el
 mecanismo que permite rescatarla en los de estado sólido?



es precisamente lo que me hizo buscar info al respecto,
lamentablemente no pude encontrar el link donde vi esa noticia.

quizas lei un FUD.

pero bueno mas alla de eso, no invalida lo del hdparm y la consulta realizada.

saludos


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/ca+0kpa0i+khz00nszfbq_zmyj0sbmo32eeqvcs6qpovhazq...@mail.gmail.com



Re: hdparm consulta

2015-07-25 Thread BasaBuru
El Sábado, 25 de julio de 2015 13:59:08 Camaleón escribió:
 El Sat, 25 Jul 2015 10:40:01 -0300, Ricardo Delgado escribió:
  hace un corto tiempo atras lei (no recuerdo si en este foro) que los
  discos SSD no se pueden borrar completamente, es decir, no se puede
  hacer un borrado seguro.
 
 Ni los SSD ni los mecánicos (el borrado seguro al 100% no existe), pero
 vamos, se puede intentar que quede lo más vacío posible.

Lo único que yo creo que es factible hacer, no es borrar sin mas, es usar la 
denegación de acceso. 

Encriptar el disco después de escribir y reescribir gran cantidad de veces 0 y 
1

-- 
Agur bero bat / a greeting

BasaBuru

  BASATU 

~  
basatia bihur zaitez
~

gako ID gnupg: F9044F8FC64B2544

hatz-aztarna: 13FF 7B28 D999 B957 F837 D566 F904 4F8F C64B 2544

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


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 hyperthreading enabled. I'll delve more deeply into this as time 
allows.


On 5/14/2014 4:05 PM, Henrique de Moraes Holschuh wrote:

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 here?

Well, I just did a quick hunting for when support was added...

commit acead1b0fac5b10d0ae3f1cc5f7820b9f9f924f5
Author: Jan Kiszka jan.kis...@siemens.com
Date:   Sat Jan 25 22:24:22 2014 +0100

 intel_idle: Add CPU model 54 (Atom N2000 series)
 
 Add CPU ID for Atom N2600/N2800 processors. Datasheets indicate support

 for this, detailed information about potential quirks or limitations are
 missing, though. So we just reuse the definition for the previous ATOM
 series. Tests on N2800 systems showed that this addition is fine an can
 reduce power consumption by about 0.25 W (personally confirmed on Intel
 DN2800MT).
 
 Signed-off-by: Jan Kiszka jan.kis...@siemens.com

 Signed-off-by: Len Brown len.br...@intel.com


The bad news is that this commit is present only on kernel 3.15-rc.

It should be trivial to backport it to older kernels (it really just adds a
single line to the table of supported processors), but I didn't check if the
atom code in intel-idle received any fixes lately.

It might be worthwhile to test it, or to test the latest development 3.15
kernel (get it directly from Linus' git tree).  If you're going to test
3.15, do be aware that there's always increased risk of issues when testing
a non-released kernel, so the risks and the procedures I gave you for safe
testing of bissected kernels DO apply.

BTW, it is actually weird that acpi-idle would malfunction _or_ interact
badly with firmware, as it usually the more tested and stable idle driver
since it operates more closely to that other OS does than intel-idle :-)


Hmm, come to think of it, here's something you can try:

http://biosbits.org/

It is an official Intel testsuite for the BIOS/EFI.  And I *believe* you can
actually get it to boot Debian with replacement firmware it provides (my
best guess is that it overrides acpi tables and reprograms the processor and
chipset).




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/538376be.3040...@alumni.cse.ucsc.edu



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 is limited to the 
winchester drive, 3 - 7 MB/s reported read speed, the USB flash drive 
reports correctly ~30MB/s read timings.


Second, the problem shifts following a suspend/resume cycle. The 
winchester drive then reports ~150MB/s, but the USB flash drive reports 
~20MB/s.


Third, the hdparm numbers aren't super accurate (well for USB actually 
pretty accurate) but they correlate to actual read bandwidth. 
Immediately following boot, USB 680MB 21.5s, winchester 710MB 11.297s. 
Following suspend/resume, USB 680MB 26.058s, winchester 710MB 5.206s. 
Caches purged of course and these numbers are repeatable.


Fourth, with hyperthreading disabled, hdparm and actual read speeds are 
as expected, USB 30+MB/s, winchester 120-150MB/s, always.


Fifth, boot time to ethernet up with hyperthreading enabled, ~17s, 
disabled ~27s.


Sixth, a CPU bound threading benchmark, sysbench, shows that 
hyperthreading is accomplishing something, with performance consistent 
across suspend/resume cycles.


Therefore, I'm sort of leaning against a board specific problem and more 
toward a design specific problem. Also, this problem is tenuous enough 
to be present in other Intel products but heretofore unnoticed.


All experiments with 3.12 kernel.


On 5/14/2014 4:05 PM, Henrique de Moraes Holschuh wrote:

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 here?

Well, I just did a quick hunting for when support was added...

commit acead1b0fac5b10d0ae3f1cc5f7820b9f9f924f5
Author: Jan Kiszka jan.kis...@siemens.com
Date:   Sat Jan 25 22:24:22 2014 +0100

 intel_idle: Add CPU model 54 (Atom N2000 series)
 
 Add CPU ID for Atom N2600/N2800 processors. Datasheets indicate support

 for this, detailed information about potential quirks or limitations are
 missing, though. So we just reuse the definition for the previous ATOM
 series. Tests on N2800 systems showed that this addition is fine an can
 reduce power consumption by about 0.25 W (personally confirmed on Intel
 DN2800MT).
 
 Signed-off-by: Jan Kiszka jan.kis...@siemens.com

 Signed-off-by: Len Brown len.br...@intel.com


The bad news is that this commit is present only on kernel 3.15-rc.

It should be trivial to backport it to older kernels (it really just adds a
single line to the table of supported processors), but I didn't check if the
atom code in intel-idle received any fixes lately.

It might be worthwhile to test it, or to test the latest development 3.15
kernel (get it directly from Linus' git tree).  If you're going to test
3.15, do be aware that there's always increased risk of issues when testing
a non-released kernel, so the risks and the procedures I gave you for safe
testing of bissected kernels DO apply.

BTW, it is actually weird that acpi-idle would malfunction _or_ interact
badly with firmware, as it usually the more tested and stable idle driver
since it operates more closely to that other OS does than intel-idle :-)


Hmm, come to think of it, here's something you can try:

http://biosbits.org/

It is an official Intel testsuite for the BIOS/EFI.  And I *believe* you can
actually get it to boot Debian with replacement firmware it provides (my
best guess is that it overrides acpi tables and reprograms the processor and
chipset).




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5375527f.8020...@alumni.cse.ucsc.edu



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?


---demsg | grep 
idle--


[0.00]  RCU dyntick-idle grace-period acceleration is enabled.
[0.197859] cpuidle: using governor ladder
[0.197869] cpuidle: using governor menu
[1.707710] intel_idle: does not run on family 6 model 54
[5.118568] ACPI: acpi_idle registered with cpuidle


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5373b5bc.8000...@alumni.cse.ucsc.edu



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 here?

Well, I just did a quick hunting for when support was added...

commit acead1b0fac5b10d0ae3f1cc5f7820b9f9f924f5
Author: Jan Kiszka jan.kis...@siemens.com
Date:   Sat Jan 25 22:24:22 2014 +0100

intel_idle: Add CPU model 54 (Atom N2000 series)

Add CPU ID for Atom N2600/N2800 processors. Datasheets indicate support
for this, detailed information about potential quirks or limitations are
missing, though. So we just reuse the definition for the previous ATOM
series. Tests on N2800 systems showed that this addition is fine an can
reduce power consumption by about 0.25 W (personally confirmed on Intel
DN2800MT).

Signed-off-by: Jan Kiszka jan.kis...@siemens.com
Signed-off-by: Len Brown len.br...@intel.com


The bad news is that this commit is present only on kernel 3.15-rc.

It should be trivial to backport it to older kernels (it really just adds a
single line to the table of supported processors), but I didn't check if the
atom code in intel-idle received any fixes lately.

It might be worthwhile to test it, or to test the latest development 3.15
kernel (get it directly from Linus' git tree).  If you're going to test
3.15, do be aware that there's always increased risk of issues when testing
a non-released kernel, so the risks and the procedures I gave you for safe
testing of bissected kernels DO apply.

BTW, it is actually weird that acpi-idle would malfunction _or_ interact
badly with firmware, as it usually the more tested and stable idle driver
since it operates more closely to that other OS does than intel-idle :-)


Hmm, come to think of it, here's something you can try:

http://biosbits.org/

It is an official Intel testsuite for the BIOS/EFI.  And I *believe* you can
actually get it to boot Debian with replacement firmware it provides (my
best guess is that it overrides acpi tables and reprograms the processor and
chipset).

-- 
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140514230506.ga26...@khazad-dum.debian.net



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 call sync, otherwise you've measured the time to write to
the buffer-cache...

That said, try this:

strace -o /tmp/strace.txt -ttt -T hdparm -t (rest of hdparm command).

And check if the timings of the syscalls traced give you any insight on
where things are going wrong.  Compare HT enabled with HT disabled.

 but I wasn't able to find a way to purge the disk cache before I got 
 sidetracked. Perhaps you know of a magic incantation  for that?

Yes.  You can drop all caches if you issue, as root:

sync ; echo 1  /proc/sys/vm/drop_caches


According to https://www.kernel.org/doc/Documentation/sysctl/vm.txt

drop_caches
---

Writing to this will cause the kernel to drop clean caches, as well as
reclaimable slab objects like dentries and inodes.  Once dropped, their
memory becomes free.

To free pagecache:
echo 1  /proc/sys/vm/drop_caches
To free reclaimable slab objects (includes dentries and inodes):
echo 2  /proc/sys/vm/drop_caches
To free slab objects and pagecache:
echo 3  /proc/sys/vm/drop_caches

This is a non-destructive operation and will not free any dirty objects.
To increase the number of objects freed by this operation, the user may run
`sync' prior to writing to /proc/sys/vm/drop_caches.  This will minimize the
number of dirty objects on the system and create more candidates to be
dropped.

This file is not a means to control the growth of the various kernel caches
(inodes, dentries, pagecache, etc...)  These objects are automatically
reclaimed by the kernel when memory is needed elsewhere on the system.

Use of this file can cause performance problems.  Since it discards cached
objects, it may cost a significant amount of I/O and CPU to recreate the
dropped objects, especially if they were under heavy use.  Because of this,
use outside of a testing or debugging environment is not recommended.

You may see informational messages in your kernel log when this file is
used:

cat (1234): drop_caches: 3

These are informational only.  They do not mean that anything is wrong
with your system.  To disable them, echo 4 (bit 3) into drop_caches.

-- 
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140510214707.ga21...@khazad-dum.debian.net



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 desktop motherboard is involved, and
very often fixed by newer firmware.

 Next, both recommending a firmware update and asking for
 /proc/cpuinfo were red herrings reminiscent of a conversation with
 any modern corporate support department. I will state flatly, that

*I* asked for cpuinfo because I wanted to know the as-seen-by-the-kernel
processor topology, as it is very important for correct operation of the
SMP/SMT-aware process scheduler.

I also wanted to know the microcode revison level (available in cpuinfo)
because Intel did something funny with microcode updates for your processor
in the past and I wanted to know if you had a version earlier than version
0x106.

 that and starting anew with open source. Please give me at least
 token respect. It's just plain fact that Windows 7 gives one
 confidence that hyperthreading is functioning properly and linux
 doesn't

Linux Linux interacts very differently with the ACPI and EFI firmware and
the low-level hardware (including the processor itself, the interrupt
controllers and the memory controllers, the PCIe bridges, the IOMMU...) when
compared to Windows 7.

 Next, from just this one data point, my experience tells me that
 linux isn't exactly playing friendly with Intel hyperthreading.
 Given that Intel is not that interested in hyperthreading any more,

A single datapoint is indeed not enough.  Hyperthreading on Intel Core
related microarchs works very well for most workloads, to the point that
even the newest Xeon E3v3, E5v2 and E7v2 families have hyperthread-enabled
cores on most of the processors.  The same goes for most of the Core i5/i7
desktop parts.  Intel seems to be still quite interested in HT.

It is entirely possible that hyperthreading on Atom does not work nearly as
well as in the Core/Xeon as far as I know -- I don't have direct experience
with Atom processors -- but a quick google search tells me people usually
find HT on Atom to be a performance advantage, though.

 Next, I don't get what I'm supposed to bisect. Every kernel I've
 tried, 3.2.0-4, 3.12-0, and 3.12.9 have obvious issues with
 hyperthreading. So it seems unlikely to me that any kernel would
 function properly. In order to bisect, the first step is to find a
 correct kernel. Perhaps someone could recommend one.

Well, I misunderstood you.  I thought there was at least ONE kernel that
worked with HT enabled.  Indeed, if there is no kernel that works well with
HT on your board, bissection is impossible.

 Next, it's not the case that I was confused. hdparm is still a
 reliable canary for hyperthreading problems on the dn2800mt
 motherboard. See attached data below, kernel 3.2.0-4 only . When

I agreed with you that hdparm is a very good way to reproduce the problem
(canary).

 But since my hyperthreading issue has not been trivially resolved on
 this list, I'm sort of assured that I'm not missing that trivial
 something. If after a few more days I still don't have a trivial
 answer, I will file a kernel bug.

One thing comes to mind.  Try switching the low-level kernel idle-loop
driver.  There are at least two that should work with your processor:
acpi_idle, and intel_idle.  Usually, intel_idle will be prefered.  Disable
it (compile a kernel with just ACPI idle, or if it is a module, blacklist
it).  The acpi-idle driver does things a lot closer than what windows 7
does.  Do keep an eye on processor temperature while doing this test.

Other stuff that might show up clues on what is wrong by direct comparison
between HT-enabled and HT-disabled:

/proc/interrupts (interrupt routing and TLB flush behaviour).
/var/log/dmesg
output of lspci -vvv *as root*.

Compare them in the HT-disabled and HT-enabled states.

If it works on your processor, check whether powertop shows something
remarkably different in the processor behaviour re. frequency and idle
states when you run with HT enabled, and HT disabled.  Do this with hdparm
running, of course.   Alternatively, try it using the turbostat utility
you can find in the tools/power/x86/turbostat directory inside the kernel
source tree (use the turbostat from 3.12 or 3.13 regardless of kernel
version).

-- 
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140509193036.ga24...@khazad-dum.debian.net



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 says that disk bandwidth is much lower 
than it should be, but only when hyperthreading is enabled. But, the 
system doesn't appear to be THAT much more unresponsive when 
hyperthreading is enabled over when disabled. So I'm leaning toward the 
idea that hdparm's calculation is being spoofed somehow. We have 
bytes/time so either bytes is smaller, or time is larger than an 
accurate value. Likely, though, the two variables are somewhat 
conflated. Let's say that hdparm thinks its transferring bytes for '2' 
seconds, but in reality the system is blocking somewhere and the full 
'2' seconds is not actually being used. In order to explain the similar 
responsiveness in actual use, my first guess would be that whenever, say 
thread 'hdparm' is blocked, another thread, say 'anythingelse' is run 
instead.


I will put this issue in the queue and will work consistently on it as a 
background task. Forensically, I think the first thing I'll verify is 
the Timex time between the visual appearance on the display of the 
various hdparm strings. It's hard to see how the system could be so 
fooled that watch time is off, but experience begets comfort.


Lastly, the difference in boot times may not be due to the 
hyperthreading issue, at least directly. There are quite a few 
differences in the kernel log (errors, warnings)  between the various 
versions. So I'll have to spend some time at some point to pin down what 
these log messages actually mean.


On 5/9/2014 12:30 PM, Henrique de Moraes Holschuh wrote:

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 desktop motherboard is involved, and
very often fixed by newer firmware.


Next, both recommending a firmware update and asking for
/proc/cpuinfo were red herrings reminiscent of a conversation with
any modern corporate support department. I will state flatly, that

*I* asked for cpuinfo because I wanted to know the as-seen-by-the-kernel
processor topology, as it is very important for correct operation of the
SMP/SMT-aware process scheduler.

I also wanted to know the microcode revison level (available in cpuinfo)
because Intel did something funny with microcode updates for your processor
in the past and I wanted to know if you had a version earlier than version
0x106.


that and starting anew with open source. Please give me at least
token respect. It's just plain fact that Windows 7 gives one
confidence that hyperthreading is functioning properly and linux
doesn't

Linux Linux interacts very differently with the ACPI and EFI firmware and
the low-level hardware (including the processor itself, the interrupt
controllers and the memory controllers, the PCIe bridges, the IOMMU...) when
compared to Windows 7.


Next, from just this one data point, my experience tells me that
linux isn't exactly playing friendly with Intel hyperthreading.
Given that Intel is not that interested in hyperthreading any more,

A single datapoint is indeed not enough.  Hyperthreading on Intel Core
related microarchs works very well for most workloads, to the point that
even the newest Xeon E3v3, E5v2 and E7v2 families have hyperthread-enabled
cores on most of the processors.  The same goes for most of the Core i5/i7
desktop parts.  Intel seems to be still quite interested in HT.

It is entirely possible that hyperthreading on Atom does not work nearly as
well as in the Core/Xeon as far as I know -- I don't have direct experience
with Atom processors -- but a quick google search tells me people usually
find HT on Atom to be a performance advantage, though.


Next, I don't get what I'm supposed to bisect. Every kernel I've
tried, 3.2.0-4, 3.12-0, and 3.12.9 have obvious issues with
hyperthreading. So it seems unlikely to me that any kernel would
function properly. In order to bisect, the first step is to find a
correct kernel. Perhaps someone could recommend one.

Well, I misunderstood you.  I thought there was at least ONE kernel that
worked with HT enabled.  Indeed, if there is no kernel that works well with
HT on your board, bissection is impossible.


Next, it's not the case that I was confused. hdparm is still a
reliable canary for hyperthreading problems on the dn2800mt
motherboard. See attached data below, kernel 3.2.0-4 only . When

I agreed with you that hdparm is a very good way to reproduce the problem
(canary).


But since my hyperthreading issue has not been trivially resolved on
this list, I'm sort of assured that I'm not missing that trivial

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 have that feel.

What I mean is that when you mess with the low-level idle loop driver, it is
not impossible to get all cores and hardware threads of the CPU stuck at C0
state (i.e.  running 100% of the time).  This *shoudln't* happen, but still
it is best that you are aware of the possibility that you might end up
testing the cpu heatsink/cooler as well...

 But, the system doesn't appear to be THAT much more unresponsive
 when hyperthreading is enabled over when disabled. So I'm leaning
 toward the idea that hdparm's calculation is being spoofed somehow.

Hmm, there's a way to test.  Time how much wall-clock time it takes to write
a large file to disk and sync (flush to disk) the result, preferably in
single-user mode:

sync; date ; dd if=/dev/zero of=somefile bs=10M count=100 ; sync; date

That should do it (the above creates an 1GiB file).  It will also test the
scheduler, as that /dev/zero read does cause syscalls and switches to kernel
context.

BTW, the output of hdparm -T should not vary an order of magnitude.  If it
does and there is nothing obnoxious running in the background, you've got
closer to the problem.  I doubt it is something like this, though: your
system would be sluggish as all heck...

 Lastly, the difference in boot times may not be due to the
 hyperthreading issue, at least directly. There are quite a few

Indeed.  However, when looking at the timings in the /var/log/dmesg
comparison, remember the comparison is less for the timings, and more for
everything else.  Note that some reordering across boots, even of the same
kernel, is perfectly normal.

-- 
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140509215607.gd24...@khazad-dum.debian.net



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 bs=10M count=100 ;

but I wasn't able to find a way to purge the disk cache before I got 
sidetracked. Perhaps you know of a magic incantation  for that?

Also, if you look at my data again, you'll see that hdparm -T is not affected 
by the hyperthreading state, it's only hdparm -t that's affected.

On 5/9/2014 2:56 PM, Henrique de Moraes Holschuh wrote:

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 have that feel.

What I mean is that when you mess with the low-level idle loop driver, it is
not impossible to get all cores and hardware threads of the CPU stuck at C0
state (i.e.  running 100% of the time).  This *shoudln't* happen, but still
it is best that you are aware of the possibility that you might end up
testing the cpu heatsink/cooler as well...


But, the system doesn't appear to be THAT much more unresponsive
when hyperthreading is enabled over when disabled. So I'm leaning
toward the idea that hdparm's calculation is being spoofed somehow.

Hmm, there's a way to test.  Time how much wall-clock time it takes to write
a large file to disk and sync (flush to disk) the result, preferably in
single-user mode:

sync; date ; dd if=/dev/zero of=somefile bs=10M count=100 ; sync; date

That should do it (the above creates an 1GiB file).  It will also test the
scheduler, as that /dev/zero read does cause syscalls and switches to kernel
context.

BTW, the output of hdparm -T should not vary an order of magnitude.  If it
does and there is nothing obnoxious running in the background, you've got
closer to the problem.  I doubt it is something like this, though: your
system would be sluggish as all heck...


Lastly, the difference in boot times may not be due to the
hyperthreading issue, at least directly. There are quite a few

Indeed.  However, when looking at the timings in the /var/log/dmesg
comparison, remember the comparison is less for the timings, and more for
everything else.  Note that some reordering across boots, even of the same
kernel, is perfectly normal.





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 BIOS/EFI).
If you're not, update it.  This bug reeks of a firmware issue.

cpuinfo looks normal for both cases, and the microcode is newer than
anything Intel ever published to the general public.

 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.

That's expected.

 First, I've attached hdparm output from the same machine booting to
 Windows 7. The reported disk speed is not affected by the
 hyperthreading state.  I've also attached boot speed measurements
 for the two states. Windows 7 boot time with hyperthreading enabled
 is 2/3 that when disabled. This would be expected if hyperthreading
 is actually worth anything.
 
 Second, it turns out that the boot speed of linux is either
 unaffected by the state of hyperthreading, 3.2 kernel, or adversely
 affected by enabling hyperthreading, 3.12 kernel. I've attached

I believe you will need to take this to LKML, unfortunately.  One
information that will help track down the issue, is to try several kernel
versions in order to try to pinpoint better when things went bad.

LKML: linux-kernel mailing list.

 I'm thinking that the hdparm scenario is a good canary for a more
 fundamental problem with hyperthreading, at least on my dn2800mt
 machine. Perhaps the backports 3.12 kernel hasn't been fully vetted

Yes.  It makes it trivial to reproduce the bug, so it would help tracking
the issue down immensely.

But you'll still need to do it with help from the LKML people, unless you
can handle the git bissecting yourself.


About git bissect (guides):
https://www.kernel.org/pub/software/scm/git/docs/git-bisect-lk2009.html

You can do this:
git bissect start

git bissect good tag for good kernel version
git bissect bad tag for bad kernel version

repeat git bissect good/bad as required to enter all datapoints you alread
have or manually tested.

You can move to any kernel version you want with git reset --hard tag,
compile, test, and then mark it with git bissect good or git bissect
bad.   git bissect will offer you a new test point when you do that.

Hint: when bissecting, for safety, first you should test and mark as GOOD
or BAD released/stable kernels, i.e. v3.12.8, v3.11.5, etc.  See above,
use git reset --hard to move to different kernel versions, recompile,
boot, test, git bissect good/git bissect bad, rinse and repeat.  Try to
use a binary search pattern, to reduce the number of kernels you will have
to test.

Only after you got reasonably near the issue using the above, should you let
git bissect choose the test point, because it will usually land you
somewhere deep into the release-candidate kernels (or even worse, inside the
merge window), and those can be quite broken.

Therefore, also for safety, when testing these kernels boot to single-user
mode, run the hdparm test, note down what happened in a paper somewhere, and
reboot to a known release/stable kernel.  Only do any real work (such as the
git bissect stuff, compiling, etc) on a safe, known release/stable kernel.

Obviously, test single-user mode in your known release/stable kernel first,
just to make sure the bug doesn't disappear (or always appear) in
single-user mode :)

-- 
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140508134406.ga32...@khazad-dum.debian.net



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 of is a linux kernel issue. I'm not going to 
replace firmware just to hope that it will fix any issue, much less one 
with hyperthreading. I've already returned the motherboard once for the 
the HDMI port failing to function, and as far as I can tell, the Intel 
fix was to downgrade the firmware to a version older than I had on the 
machine. So I'm especially not going to randomly upgrade away that fix, 
even more especially when such an upgrade is irreversible.


Next, both recommending a firmware update and asking for /proc/cpuinfo 
were red herrings reminiscent of a conversation with any modern 
corporate support department. I will state flatly, that my goal was and 
is to improve linux. I've been using Microsoft stuff since MS-DOS in 
1982. But now at 55, I'm basically jettisoning all that and starting 
anew with open source. Please give me at least token respect. It's just 
plain fact that Windows 7 gives one confidence that hyperthreading is 
functioning properly and linux doesn't


Next, from just this one data point, my experience tells me that linux 
isn't exactly playing friendly with Intel hyperthreading. Given that 
Intel is not that interested in hyperthreading any more, that would be 
maybe expected. Hyperthreading was in retrospect a mistake, just like 
pentium IV, Itanium, letting AMD do ia64 first, iAPX 432. Intel is a 
history of mistakes. But make no mistake, it's still a powerful company. 
I'd love for open source to have that kind of power. I'll work on it.


Next, I don't get what I'm supposed to bisect. Every kernel I've tried, 
3.2.0-4, 3.12-0, and 3.12.9 have obvious issues with hyperthreading. So 
it seems unlikely to me that any kernel would function properly. In 
order to bisect, the first step is to find a correct kernel. Perhaps 
someone could recommend one.


Next, I wanted to really verify that the 3.2.0-4 kernel also exhibited 
the hdparm issue as I actually wasn't 100% certain. The reason that I 
updated the kernel in the first place from 3.2.0-4 to 3.12-0 was to 
obtain the native resolution on my 1920x1080 monitor and to allow the 
machine to successfully S3 suspend and resume. The 3.12 kernel did 
improve those issues, and the machine will now suspend/resume and it 
will do 1920x1080 albeit at 16 bits/pixel. But for some reason the card 
still doesn't steal enough memory, it's getting a paltry 4M,  to do the 
32 bits per pixel that it's perfectly capable of. That's why I've built 
my own 3.12.9 kernel, to debug the graphics subsystem issue. With all 
this stuff flying around, I thought that maybe I was confused and hdparm 
might actually show the correct disk bandwidth on the 3.2.0-4 kernel.


Next, it's not the case that I was confused. hdparm is still a reliable 
canary for hyperthreading problems on the dn2800mt motherboard. See 
attached data below, kernel 3.2.0-4 only . When hyperthreading is 
disabled in the bios, hdparm shows the expected disk bandwidth. With 
hyperthreading enabled, hdparm reports dramatically less than the 
expected disk bandwidth. The problem is not as severe on 3.2.0-4 as on 
the 3.12 series, but it's still obviously there.


Next as a newbie, I don't want to waste valuable kernel developer time 
unless I'm kind of sure that I'm not missing something obvious. But 
since my hyperthreading issue has not been trivially resolved on this 
list, I'm sort of assured that I'm not missing that trivial something. 
If after a few more days I still don't have a trivial answer, I will 
file a kernel bug.


Last, I don't want anyone to feel insulted by what I have to say or the 
way that I say it. I'm just a straight shooter from way back. If I 
compare linux to MS Windows and it doesn't measure up in some fashion, 
it just means that it should measure up and I'll work to make that happen.


_ Data mentioned above starts here 
___


/proc/version:

Linux version 3.2.0-4-686-pae (debian-ker...@lists.debian.org) (gcc 
version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.54-2


#Hyperthreading enabled

sudo hdparm -tT

/dev/sda:
 Timing cached reads:   1744 MB in  2.00 seconds = 871.70 MB/sec
 Timing buffered disk reads: 120 MB in  3.05 seconds =  39.30 MB/sec

/dev/sdb:
 Timing cached reads:   1648 MB in  2.00 seconds = 823.93 MB/sec
 Timing buffered disk reads: 264 MB in  3.01 seconds =  87.83 MB/sec

/dev/sdc:
 Timing cached reads:   1682 MB in  2.00 seconds = 840.98 MB/sec
 Timing buffered disk reads:  92 MB in  3.04 seconds =  30.31 MB/sec

# Hyperthreading disabled

/dev/sda:
 Timing cached reads:   1786 MB in  2.00 seconds = 893.04 MB/sec
 Timing buffered disk reads: 440 MB in  3.01 seconds = 

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 from the same machine booting to 
Windows 7. The reported disk speed is not affected by the hyperthreading 
state.  I've also attached boot speed measurements for the two states. 
Windows 7 boot time with hyperthreading enabled is 2/3 that when 
disabled. This would be expected if hyperthreading is actually worth 
anything.


Second, it turns out that the boot speed of linux is either unaffected 
by the state of hyperthreading, 3.2 kernel, or adversely affected by 
enabling hyperthreading, 3.12 kernel. I've attached lines from dmesg 
below showing the times at which the eth0 link becomes ready under 
various scenarios. Boot times with hyperthreading enabled also seem more 
variable. I've seen even longer reported boot times on the 3.12 kernel 
and with a 3.12.9 kernel I've built myself; in the 20 - 30 second range.


I'm thinking that the hdparm scenario is a good canary for a more 
fundamental problem with hyperthreading, at least on my dn2800mt 
machine. Perhaps the backports 3.12 kernel hasn't been fully vetted yet, 
but the stable 3.2 kernel should be showing some improvement in boot 
speeds with hyperthreading enabled over that with hyperthreading 
disabled, but isn't. Lastly, hdparm is adversely affected by 
hyperthreading no matter what kernel version is loaded.


C:\hdparm -t /dev/hda # Windows 7

/dev/hda: # Hyperthreading disabled
 Timing buffered disk reads:  446 MB in  3.01 seconds = 148.13 MB/sec
Boot Duration:31248ms

/dev/hda: # Hyperthreading enabled
 Timing buffered disk reads:  448 MB in  3.01 seconds = 148.80 MB/sec
 Boot Duration:21692ms

# Boot times, hyperthreading enabled

Linux version 3.2.0-4-686-pae (debian-ker...@lists.debian.org) (gcc 
version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.54-2

[   14.240113] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Linux version 3.12-0.bpo.1-686-pae (debian-ker...@lists.debian.org) (gcc 
version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.12.9-1~bpo70+1 
(2014-02-07)

[   15.825840] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

# Boot times, hyperthreading disabled

Linux version 3.2.0-4-686-pae (debian-ker...@lists.debian.org) (gcc 
version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.54-2

[   14.049342] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Linux version 3.12-0.bpo.1-686-pae (debian-ker...@lists.debian.org) (gcc 
version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.12.9-1~bpo70+1 
(2014-02-07)

[   12.556885] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

cat /proc/cpuinfo # hyperthreading disabled

processor: 0
vendor_id: GenuineIntel
cpu family: 6
model: 54
model name: Intel(R) Atom(TM) CPU N2800   @ 1.86GHz
stepping: 1
microcode: 0x10d
cpu MHz: 798.000
cache size: 512 KB
physical id: 0
siblings: 2
core id: 0
cpu cores: 2
apicid: 0
initial apicid: 0
fdiv_bug: no
f00f_bug: no
coma_bug: no
fpu: yes
fpu_exception: yes
cpuid level: 10
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm 
constant_tsc arch_perfmon pebs bts nonstop_tsc aperfmperf pni dtes64 
monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm arat dtherm

bogomips: 3733.46
clflush size: 64
cache_alignment: 64
address sizes: 36 bits physical, 48 bits virtual
power management:

processor: 1
vendor_id: GenuineIntel
cpu family: 6
model: 54
model name: Intel(R) Atom(TM) CPU N2800   @ 1.86GHz
stepping: 1
microcode: 0x10d
cpu MHz: 798.000
cache size: 512 KB
physical id: 0
siblings: 2
core id: 1
cpu cores: 2
apicid: 2
initial apicid: 2
fdiv_bug: no
f00f_bug: no
coma_bug: no
fpu: yes
fpu_exception: yes
cpuid level: 10
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm 
constant_tsc arch_perfmon pebs bts nonstop_tsc aperfmperf pni dtes64 
monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm arat dtherm

bogomips: 3733.46
clflush size: 64
cache_alignment: 64
address sizes: 36 bits physical, 48 bits virtual
power management:

cat /proc/cpuinfo # hyperthreading enabled

processor: 0
vendor_id: GenuineIntel
cpu family: 6
model: 54
model name: Intel(R) Atom(TM) CPU N2800   @ 1.86GHz
stepping: 1
microcode: 0x10d
cpu MHz: 798.000
cache size: 512 KB
physical id: 0
siblings: 4
core id: 0
cpu cores: 2
apicid: 0
initial 

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 found that if I
 disable hyperthreading in the bios, bandwidth readings are as
 expected. I believe the numbers reported by hdparm are incorrect

Did you update to the latest available BIOS for your motherboard ?

-- 
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140505001209.ga29...@khazad-dum.debian.net



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:  i686
 CPU op-mode(s):32-bit, 64-bit
 CPU(s):2
 Thread(s) per core:2
 Core(s) per socket:1
 CPU socket(s): 1
 Vendor ID: GenuineIntel
 CPU family:15
 Model: 4
 Stepping:  3
 CPU MHz:   3000.392
 L1d cache: 16K
 L2 cache:  2048K
 
 Running the stock 32-bit kernel from Sid.

We need a lot more details David.  You've been around here long enough
to know this isn't sufficient detail to allow us to diagnose or assist.
 You mentioned a specific disk subsystem problem, but then the specs on
the CPU as supportive evidence?

David to his mechanic:  My engine doesn't run right.  Here's a scratch
on the rear bumper, see, that might have something to do with it.

Sigh...

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d29e946.7050...@hardwarefreak.com



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 PATA and SATA drivers.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d29fb3d.3080...@plouf.fr.eu.org



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 
 
  disk on my system. This is dual core (P4 by hyperthreading?) intel cpu:
  
 
  ~$ lscpu
  Architecture:  i686
  CPU op-mode(s):32-bit, 64-bit
  CPU(s):2
  Thread(s) per core:2
  Core(s) per socket:1
  CPU socket(s): 1
  Vendor ID: GenuineIntel
  CPU family:15
  Model: 4
  Stepping:  3
  CPU MHz:   3000.392
  L1d cache: 16K
  L2 cache:  2048K
 
  
 
  Running the stock 32-bit kernel from Sid.
 
 We need a lot more details David.  You've been around here long enough
 to know this isn't sufficient detail to allow us to diagnose or assist.
  You mentioned a specific disk subsystem problem, but then the specs on
 the CPU as supportive evidence?
 
 David to his mechanic:  My engine doesn't run right.  Here's a scratch
 on the rear bumper, see, that might have something to do with it.
 
 Sigh...

My impression was something from the kernel and the newer SATA drivers but 
maybe I am wrong about that. (At first I thought the problem was due to a 
failing IDE drive but the data was removed from it and this disk is no longer 
around._

So what information might I present? (Hwinfo looks very verbal and 
uninformative.)



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201101092050.10984.d_ba...@012.net.il



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 
***

And possibly a common fluke. Linux Questions stated something like this:
This is normal, benign error: SATA is not fully recognized as DMA capable. 
Forget about this error.

Such was my suspicion since those disks are working just fine :-)

Xubuntu forum suggested checking dmesg:
~$ dmesg | grep Direct
[0.948971] scsi 0:0:0:0: Direct-Access ATA  WDC WD800JB-00ET 77.0 
PQ: 0 ANSI: 5
[0.985211] scsi 2:0:1:0: Direct-Access ATA  WDC WD10EACS-00Z 01.0 
PQ: 0 ANSI: 5
and also suggested ignoring that error message.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201101092058.51239.d_ba...@012.net.il



RE: hdparm - dpkg error on update

2010-12-01 Thread Mike Viau

 On Tue, 30 Nov 2010 16:37:47 -0700 b...@proulx.com 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?

 I don't recognize the 'nxsensor' service in your output. Is that in
 the current Debian archive? 

'nxsensor was from a remote desktop software called no-machine.

I am guessing the problem exists in that
 script. What is the header for that script, the part between BEGIN
 INIT INFO and END INIT INFO? Because I think the problem is probably
 there.


You were absolutely correct!

I was pressed for time to troubleshoot the init script, so after simply purging 
the no-machine package I was able to complete the hdparm update.

Thanks Bob :)
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay148-w198652c5c2a6604705e12ef...@phx.gbl



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 the dpkg system?

I don't recognize the 'nxsensor' service in your output.  Is that in
the current Debian archive?  I am guessing the problem exists in that
script.  What is the header for that script, the part between BEGIN
INIT INFO and END INIT INFO?  Because I think the problem is probably
there.

Bob


signature.asc
Description: Digital signature


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)
  
  
  This is the output of `hdparm -v -i /dev/hda`:
  
  
  /dev/hda:
   multcount=  0 (off)
   IO_support   =  1 (32-bit)
   unmaskirq=  1 (on)
   using_dma=  0 (off)
   keepsettings =  0 (off)
   readonly =  0 (off)
   readahead= 256 (on)
   geometry = 65535/16/63, sectors = 78165360,
 start
  = 0
 
 snip
 
  /dev/hdb:
   multcount=  0 (off)
   IO_support   =  1 (32-bit)
   unmaskirq=  1 (on)
   using_dma=  0 (off)
   keepsettings =  0 (off)
   readonly =  0 (off)
   readahead= 256 (on)
   geometry = 65535/16/63, sectors = 80293248,
 start
  = 0
  
 
 How did dma get turned off? Did you do that
 yourself?
 
 Hugo
 

No, I had purged hdparm, just reinstalled it, but
didn't edit any of configuration yet. This is the
output using only defaults (there are only commented
lines in /etc/hdparm.conf)

Joris


   

Moody friends. Drama queens. Your life? Nope! - their life, your story. Play 
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  


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



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 `hdparm -v -i /dev/hda`:
 
 
 /dev/hda:
  multcount=  0 (off)
  IO_support   =  1 (32-bit)
  unmaskirq=  1 (on)
  using_dma=  0 (off)
  keepsettings =  0 (off)
  readonly =  0 (off)
  readahead= 256 (on)
  geometry = 65535/16/63, sectors = 78165360, start
 = 0

snip

 
 /dev/hdb:
  multcount=  0 (off)
  IO_support   =  1 (32-bit)
  unmaskirq=  1 (on)
  using_dma=  0 (off)
  keepsettings =  0 (off)
  readonly =  0 (off)
  readahead= 256 (on)
  geometry = 65535/16/63, sectors = 80293248, start
 = 0

snip 
 
 Could someone tell me what settings are appropiate for my hard discs?
I
 tried before with, what didn't really seem to push things, but
problems
 with modules not loading reappeared
 

You need to turn on at least dma. I suppose the output of hdparm
-t /dev/yourdisk is not very cheerful with dma turned off.
I recently built a new system and it defaults to dma turned on. I've not
edited /etc/defaults/hdparm or /etc/hdparm/.conf. So as to why yours
seems to be turned off I do not know.

I get this: 
cevnet:~#hdparm /dev/hda

/dev/hda:
 multcount =  0 (off)
 IO_support=  1 (32-bit)
 unmaskirq =  1 (on)
 using_dma =  1 (on)
 keepsettings  =  0 (off)
 readonly  =  0 (off)
 readahead = 2048 (on)
 geometry  = 65535/16/63, sectors = 80293248, start = 0

cevnet:~#hdparm -t /dev/hda

/dev/hda:
 Timing buffered disk reads:   92 MB in  3.14 seconds =  29.31 MB/sec

the other disc does better than that though: 

cevnet:~#hdparm  /dev/hdb

/dev/hdb:
 multcount =  0 (off)
 IO_support=  1 (32-bit)
 unmaskirq =  1 (on)
 using_dma =  1 (on)
 keepsettings  =  0 (off)
 readonly  =  0 (off)
 readahead = 2048 (on)
 geometry  = 24792/255/63, sectors = 398297088, start = 0

cevnet:~#hdparm -t /dev/hdb

/dev/hdb:
 Timing buffered disk reads:  172 MB in  3.02 seconds =  56.95 MB/sec



-- 
Chris [EMAIL PROTECTED]


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



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 (off)
 IO_support   =  1 (32-bit)
 unmaskirq=  1 (on)
 using_dma=  0 (off)
 keepsettings =  0 (off)
 readonly =  0 (off)
 readahead= 256 (on)
 geometry = 65535/16/63, sectors = 78165360, start
= 0


snip


/dev/hdb:
 multcount=  0 (off)
 IO_support   =  1 (32-bit)
 unmaskirq=  1 (on)
 using_dma=  0 (off)
 keepsettings =  0 (off)
 readonly =  0 (off)
 readahead= 256 (on)
 geometry = 65535/16/63, sectors = 80293248, start
= 0



How did dma get turned off? Did you do that yourself?

Hugo



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




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 reason for that. The
 only thing is that I'm now not able to use hdparm to change
 the drives' settings--multicount, acoustic management, etc.
 
 I tried sdparm but it doesn't help much or I don't know how
 to use it.
 
 Could somebody give some info on this issue, please?

Yep, its currently an Ubuntu release issue. Nothing in Debian currnetly
REALLY pushes it. I use 2.6.20 stock *DEBIAN* kernel and it works
normally.

If you need help with Ubuntu, pleae goto the forums or the mailing
lits(??? haven't thought to see if MLs exist at all for Ubuntu)

Cheers.
-- 
greg, [EMAIL PROTECTED]

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup


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


Re: Hdparm recalcitrant

2007-04-24 Thread Zuthos
Hugues LARRIVE a écrit :
| Zuthos a écrit :
|  Bonjour,
|  J'ai un portable acer travelmate 2103wlmi
|  J'essaye de mettre en place le DMA.
|  Toutefois, je n'arrive a rien.
|  Il semble qu'il me faille le chipset de la carte mére.
|  Toutefois, je ne sais pas comment avoir cette information.
|  Existe-t-il quelquechose comme lspci qui indique les spécifications de
|  la carte mére?
|  D'avance, merci
| 
|
| 
| Bonjour,
| 
| Il y a lshw qui donne toutes les infos possibles et imaginables sur le
| matériel... y compris s'ils sont pris en charge par un module ou non.
| 
Interressant, et assez complet.

| Normalement il est facile de savoir quel est le chipset rien qu'avec
| lspci car le chipset intègre généralement un certains nombre de
| périphérique pci comme les contrôleurs de disque et usb...
| 
Oui, c'est ce que j'avais fait, mais cela ne marchait pas.
Pris d'une soudaine illumination, j'ai recompiler mon noyeau en le
mettant en dur dans le noyeau (je l'avais mis en module).
ET maintenant cela marche. Je pense que le module ne se chargait pas.
Merci au personnes qui se sont penché sur mon probléme. ET merci de
m'avoir fait découvrir lshw

-- 
Rien ni personne n'a tout à fait tort :
même une horloge arrêtée a raison deux fois par jour.
-+- John Steinbeck -+-


signature.asc
Description: Digital signature


Re: Hdparm recalcitrant

2007-04-23 Thread Hugues LARRIVE
Zuthos a écrit :
 Bonjour,
 J'ai un portable acer travelmate 2103wlmi
 J'essaye de mettre en place le DMA.
 Toutefois, je n'arrive a rien.
 Il semble qu'il me faille le chipset de la carte mére.
 Toutefois, je ne sais pas comment avoir cette information.
 Existe-t-il quelquechose comme lspci qui indique les spécifications de
 la carte mére?
 D'avance, merci

   

Bonjour,

Il y a lshw qui donne toutes les infos possibles et imaginables sur le
matériel... y compris s'ils sont pris en charge par un module ou non.

Normalement il est facile de savoir quel est le chipset rien qu'avec
lspci car le chipset intègre généralement un certains nombre de
périphérique pci comme les contrôleurs de disque et usb...

Par exemple sur mon p4 équipé d'un chipset intel 845 lspci me donne :

00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset
Host Bridge (rev 11)
00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP
Bridge (rev 11)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2
EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC
Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller
(rev 01)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
SMBus Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY
[Radeon 7000/VE]
02:01.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI]
02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)

et sur l'amd d'à coté avec un chipset via 8237 :

00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP]
Host Bridge (rev 80)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID
Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1
Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1
Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1
Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1
Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge
[KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc.
VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II]
(rev 78)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX
440] (rev a3)

Par contre il se peut aussi que linux et pciutils ne connaisse pas
dutout ton matériel et que lspci te sorte un truc du genre :00:01.0
PCI bridge: Intel Corp.: Unknown device 27a1... dans ce cas tu vas
faire un tour sur une liste d'id pci en ligne genre
http://pci-ids.ucw.cz/iii/?i=8086 et là tu vois qu'il sagit de Mobile
945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port...

Tu peux aussi essayer avec une version plus récente de pciutils et/ou du
noyau linux (après tout c'est l'essentiel)... les commandes dmesg | less
et lsmod donnent aussi des indications utiles.

Après moi j'ai eu le problème (et je l'ai encore en partie) avec un
chipset nvidia MCP61 qui intègre tous les périphériques (vidéo, son,
réseau, etc.) et qui n'était pas reonnu par linux, même la dernière
version (2.6.17 à l'époque) j'ai fait une recherche sur MCP51 (le
prédécesseur) dans les sources du noyeau et j'ai rajouté le MCP61 avec
les ids pci correspondant dans tous les fichiers en question... L'IDE a
fonctionné tout de suite avec ce noyau bidouillé (taux de transfert X20
!) vu que rien n'avait changé de ce coté là entre le mcp51 et le mcp61.
Le 2.6.18 a amené le réseau et tout fonctionne avec le 2.6.19 à 1 ou 2
détails près...

Bon courage
@+




signature.asc
Description: OpenPGP digital signature


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 the power goes out.





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




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 data in the cache that didn't manage to get saved to 
 disk before the power goes out.

That was quite a while ago with the western Digital drives.

You could say that about ALL disks that have cache, btw.

I have been using systems with cheap IDE drives for year, havne't
disabled the cache and *HAVE* had the db need some work when brought
back up. The thing is, hdparm can cause many more problems than it
solves when using it in this way.

It really is not worth it.
-- 
greg, [EMAIL PROTECTED]

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup


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



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 know.  There is all of that lvm stuff on the system running so 
 it's possible hdparm and lvm might not like each other all that much and 
 in my case generate this error.  That or there's something else I need to 
 do.

What kind of hard drive is it? And why are you trying to turn of the
cache?
-- 
greg, [EMAIL PROTECTED]

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup


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



Re: hdparm oder Kernel - wer sagt die Wahrheit?

2006-09-04 Thread Paul Puschmann
Thomas Antepoth [EMAIL PROTECTED] schrieb am Thu, Aug 31, 2006 at 07:46:53PM 
+0200:
 On Wed, 30 Aug 2006, Paul Puschmann wrote:
 
   Eigentlich gehört nun eine entsprechende Blacklist von Festplatten hier 
   implementiert, die den maximalen Sektor bei 1 statt bei 0 anfangen zu 
   zählen, aber für mich tut's der quick-fix wie oben angegeben.
   
   Zu den in Frage kommenden Festplatten gehört mindestens mal die D540X-4K 
   von Maxtor auch dazu.
  
  Bei mir ist es auch eine Seagate, eine Hitachi und zwei WD800BB.
  
  dann werd ich mal suchen.
 
 Und weil's Dir auch vor nix graust, bekommst Du auch gleich den Patch ;-)
 
 
 [EMAIL PROTECTED]:/usr/src/linux/drivers/ide# diff -u ide-disk.c.orig 
 ide-disk.c
 --- ide-disk.c.orig 2006-08-30 14:54:34.0 +0200
 +++ ide-disk.c  2006-08-30 14:55:12.0 +0200
 @@ -355,7 +355,7 @@
  | ((args.tfRegister[  IDE_HCYL_OFFSET]   )  16)
  | ((args.tfRegister[  IDE_LCYL_OFFSET]   )   8)
  | ((args.tfRegister[IDE_SECTOR_OFFSET]   ));
 -   addr++; /* since the return value is (maxlba - 1), we add 1 */
 +   /* addr++;  since the return value is (maxlba - 1), we 
 add 1 */
 }
 return addr;
  }
 @@ -384,7 +384,7 @@
((args.tfRegister[IDE_LCYL_OFFSET])8) |
 (args.tfRegister[IDE_SECTOR_OFFSET]);
 addr = ((__u64)high  24) | low;
 -   addr++; /* since the return value is (maxlba - 1), we add 1 */
 +   /* addr++;  since the return value is (maxlba - 1), we 
 add 1 */
 }
 return addr;
  }
 
 Seither ist zumindest mal beim Booten Schluss mit den SectorIdNotFound 
 Meldungen. Wie gesagt - eklig - aber pragmatisch.

Danke. Wie war das nun, gab es schon einen Bugreport dafuer?
Waere doch sicherlich interessant, oder?

Gruss, Paul


signature.asc
Description: Digital signature


Re: hdparm oder Kernel - wer sagt die Wahrheit?

2006-08-31 Thread Thomas Antepoth
On Wed, 30 Aug 2006, Paul Puschmann wrote:

  Eigentlich gehört nun eine entsprechende Blacklist von Festplatten hier 
  implementiert, die den maximalen Sektor bei 1 statt bei 0 anfangen zu 
  zählen, aber für mich tut's der quick-fix wie oben angegeben.
  
  Zu den in Frage kommenden Festplatten gehört mindestens mal die D540X-4K 
  von Maxtor auch dazu.
 
 Bei mir ist es auch eine Seagate, eine Hitachi und zwei WD800BB.
 
 dann werd ich mal suchen.

Und weil's Dir auch vor nix graust, bekommst Du auch gleich den Patch ;-)


[EMAIL PROTECTED]:/usr/src/linux/drivers/ide# diff -u ide-disk.c.orig ide-disk.c
--- ide-disk.c.orig 2006-08-30 14:54:34.0 +0200
+++ ide-disk.c  2006-08-30 14:55:12.0 +0200
@@ -355,7 +355,7 @@
 | ((args.tfRegister[  IDE_HCYL_OFFSET]   )  16)
 | ((args.tfRegister[  IDE_LCYL_OFFSET]   )   8)
 | ((args.tfRegister[IDE_SECTOR_OFFSET]   ));
-   addr++; /* since the return value is (maxlba - 1), we add 1 */
+   /* addr++;  since the return value is (maxlba - 1), we add 
1 */
}
return addr;
 }
@@ -384,7 +384,7 @@
   ((args.tfRegister[IDE_LCYL_OFFSET])8) |
(args.tfRegister[IDE_SECTOR_OFFSET]);
addr = ((__u64)high  24) | low;
-   addr++; /* since the return value is (maxlba - 1), we add 1 */
+   /* addr++;  since the return value is (maxlba - 1), we add 
1 */
}
return addr;
 }

Seither ist zumindest mal beim Booten Schluss mit den SectorIdNotFound 
Meldungen. Wie gesagt - eklig - aber pragmatisch.


t++

Re: hdparm oder Kernel - wer sagt die Wahrheit?

2006-08-30 Thread Paul Puschmann
Thomas Antepoth [EMAIL PROTECTED] schrieb am Tue, Aug 29, 2006 at 11:11:39PM 
+0200:
  Ich habe mal ein wenig in den Kernel-Sourcen gegraben und folgendes 
  herausgefunden: 
  
  Das Abschalten der HPA findet in der ide-disk.c in der Funktion 
  idedisk_set_max_address() bzw. in der idedisk_set_max_address_ext() statt.
  
  Das Auslesen der Plattenparameter findet in 
  idedisk_read_native_max_address_ext() bzw. in 
  idedisk_read_native_max_address() statt.
  
  In dem idedisk_read_*() ist in der Tat auch ein addr++ zu finden, das 
  einen um 1 erhöhten Wert des von der Platte gelieferten 
  maximalen Sektors zurückliefert. Auskommentieren von dem Inkrement ist 
  zwar eklig - aber etwas klügeres fiel mir erst mal nicht ein, da ich den 
  Wirkungszusammenhang in der ide-disk.c noch nicht so ganz im 
  Detail verstanden habe.
 
 
 Egal ob eklig, unverstanden oder was auch immer: Der schnelle Erfolg gibt 
 einem Recht. ;-)
 
 Die Meldungen vom Boot:
 

*snip*
 
 Eigentlich gehört nun eine entsprechende Blacklist von Festplatten hier 
 implementiert, die den maximalen Sektor bei 1 statt bei 0 anfangen zu 
 zählen, aber für mich tut's der quick-fix wie oben angegeben.
 
 Zu den in Frage kommenden Festplatten gehört mindestens mal die D540X-4K 
 von Maxtor auch dazu.

Bei mir ist es auch eine Seagate, eine Hitachi und zwei WD800BB.

dann werd ich mal suchen.

Paul


signature.asc
Description: Digital signature


Re: hdparm oder Kernel - wer sagt die Wahrheit?

2006-08-29 Thread Paul Puschmann
Thomas Antepoth [EMAIL PROTECTED] schrieb am Tue, Aug 29, 2006 at 02:10:36PM 
+0200:
 Hallo miteinander,
 
 
 zwei hdparm-Aufrufe - zwei Ergebnisse - soweit es die Plattengeometrie 
 betrifft:
 
 [EMAIL PROTECTED]:~# hdparm /dev/hda
 /dev/hda:
  multcount= 16 (on)
  IO_support   =  1 (32-bit)
  unmaskirq=  1 (on)
  using_dma=  1 (on)
  keepsettings =  0 (off)
  readonly =  0 (off)
  readahead= 256 (on)
  geometry = 65535/16/63, sectors = 78165361, start = 0
 
 [EMAIL PROTECTED]:~# hdparm -I /dev/hda
 
 /dev/hda:
 
 ATA device, with non-removable media
 Model Number:   ST340823A
 Serial Number:  7EF0Y1ET
 Firmware Revision:  3.05
 Standards:
 Supported: 4 3 2
 Likely used: 6
 Configuration:
 Logical max current
 cylinders   16383   4047
 heads   16  16
 sectors/track   63  255
 --
 CHS current addressable sectors:   16511760
 LBAuser addressable sectors:   78165360
 
 
 Anlass der Nachforschung: Diese Fehlermeldung hier taucht nur beim Booten 
 auf:
 
 ide1 at 0x170-0x177,0x376 on irq 15
 hda: max request size: 128KiB
 hda: Host Protected Area detected.
 current capacity is 78165360 sectors (40020 MB)
 native  capacity is 78165361 sectors (40020 MB)
 hda: Host Protected Area disabled.
 hda: 78165361 sectors (40020 MB) w/1024KiB Cache, CHS=65535/16/63, UDMA(100)
  hda: hda1 hda2
 hdc: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
 Uniform CD-ROM driver Revision: 3.20
 hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
 hda: dma_intr: error=0x10 { SectorIdNotFound }, LBAsect=78165360, 
 sector=78165360
 ide: failed opcode was: unknown
 
Hi,
das Problem habe ich auch, allerdings nur mit zwei Platten an einem
Promise-IDE-Controller. Das Problem konnte ich bisher auch noch nicht
loesen und ich hatte ehrlich gesagt auch noch keine Lust dazu.

Die Meldungen tauchen bei mir auch nur sproradisch beim Booten auf.

Paul


signature.asc
Description: Digital signature


Re: hdparm oder Kernel - wer sagt die Wahrheit?

2006-08-29 Thread Thomas Antepoth
On Tue, 29 Aug 2006, Paul Puschmann wrote:

  ide1 at 0x170-0x177,0x376 on irq 15
  hda: max request size: 128KiB
  hda: Host Protected Area detected.
  current capacity is 78165360 sectors (40020 MB)
  native  capacity is 78165361 sectors (40020 MB)
  hda: Host Protected Area disabled.

Das Datenblatt von Seagate[1] sagt, daß der obere Zahlenwert richtig ist:

 SECTORS PER DRIVE (LBA mode) _78,165,360 

Daher dürfte bei einer bei 0 beginnenden Zählung maximal der 
Sektor 78.165.359 angesprochen werden. Außer der Host Protected-Kram wird 
abgeschaltet (was irgendwie nicht zu funktionieren scheint). Dann wird 
natürlich 78.165.360 adressiert.

Augenblicklich sieht das für mich wie ein Firmware-Bug in der Platte aus, 
die einen um 1 zu hohen Wert zurückliefert.

Ich habe mal ein wenig in den Kernel-Sourcen gegraben und folgendes 
herausgefunden: 

Das Abschalten der HPA findet in der ide-disk.c in der Funktion 
idedisk_set_max_address() bzw. in der idedisk_set_max_address_ext() statt.

Das Auslesen der Plattenparameter findet in 
idedisk_read_native_max_address_ext() bzw. in 
idedisk_read_native_max_address() statt.

In dem idedisk_read_*() ist in der Tat auch ein addr++ zu finden, das 
einen um 1 erhöhten Wert des von der Platte gelieferten 
maximalen Sektors zurückliefert. Auskommentieren von dem Inkrement ist 
zwar eklig - aber etwas klügeres fiel mir erst mal nicht ein, da ich den 
Wirkungszusammenhang in der ide-disk.c noch nicht so ganz im 
Detail verstanden habe.


  hda: 78165361 sectors (40020 MB) w/1024KiB Cache, CHS=65535/16/63, UDMA(100)
   hda: hda1 hda2
  hdc: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
  Uniform CD-ROM driver Revision: 3.20
  hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
  hda: dma_intr: error=0x10 { SectorIdNotFound }, LBAsect=78165360, 
  sector=78165360
  ide: failed opcode was: unknown
  
 Hi,
 das Problem habe ich auch, allerdings nur mit zwei Platten an einem
 Promise-IDE-Controller. Das Problem konnte ich bisher auch noch nicht
 loesen und ich hatte ehrlich gesagt auch noch keine Lust dazu.

Die Meldungen waren früher auch schon mal - aber der Rechner wurde nur 14 
mal insgesamt gebootet. Da konnte man schon damit leben. Die Platte soll 
nun aber in ein Desktop. Dort ist die Sichtbarkeit dieses Fehlers dann 
schon etwas gravierender, wenn bei jedem Systemstart diese ziemlich 
beängstigenden (aber harmlosen) Meldungen vorbeihuschen.

 Die Meldungen tauchen bei mir auch nur sproradisch beim Booten auf.

Reboots sind für Kernel-Updates und Hardware-Tausch. 14 x booten in ca. 
drei Jahren sollten für sich sprechen... ;-)


t++


[1] http://www.seagate.com/support/disc/specs/ata/st340823a.html

Re: hdparm oder Kernel - wer sagt die Wahrheit?

2006-08-29 Thread Thomas Antepoth
 Ich habe mal ein wenig in den Kernel-Sourcen gegraben und folgendes 
 herausgefunden: 
 
 Das Abschalten der HPA findet in der ide-disk.c in der Funktion 
 idedisk_set_max_address() bzw. in der idedisk_set_max_address_ext() statt.
 
 Das Auslesen der Plattenparameter findet in 
 idedisk_read_native_max_address_ext() bzw. in 
 idedisk_read_native_max_address() statt.
 
 In dem idedisk_read_*() ist in der Tat auch ein addr++ zu finden, das 
 einen um 1 erhöhten Wert des von der Platte gelieferten 
 maximalen Sektors zurückliefert. Auskommentieren von dem Inkrement ist 
 zwar eklig - aber etwas klügeres fiel mir erst mal nicht ein, da ich den 
 Wirkungszusammenhang in der ide-disk.c noch nicht so ganz im 
 Detail verstanden habe.


Egal ob eklig, unverstanden oder was auch immer: Der schnelle Erfolg gibt 
einem Recht. ;-)

Die Meldungen vom Boot:

SIS5513: SiS 962/963 MuTIOL IDE UDMA133 controller
ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: ST340823A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: JLMS XJ-HD165H, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 78165360 sectors (40020 MB) w/1024KiB Cache, CHS=65535/16/63, 
UDMA(100)
 hda: hda1 hda2
hdc: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
Attempting manual resume
ReiserFS: hda1: found reiserfs format 3.6 with standard journal
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 8192, journal first 
block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: Using r5 hash to sort names


war die Wirkungsweise von:

static unsigned long idedisk_read_native_max_address(ide_drive_t *drive)
...
/* addr++;  since the return value is (maxlba - 1), 

static unsigned long long idedisk_read_native_max_address_ext(ide_drive_t 
*drive)
...
/* addr++;  since the return value is (maxlba - 1), 

in der drivers/ide/ide-disk.c vom Kernel-Source in den beiden genannten 
Funktionen.

Eigentlich gehört nun eine entsprechende Blacklist von Festplatten hier 
implementiert, die den maximalen Sektor bei 1 statt bei 0 anfangen zu 
zählen, aber für mich tut's der quick-fix wie oben angegeben.

Zu den in Frage kommenden Festplatten gehört mindestens mal die D540X-4K 
von Maxtor auch dazu.


t++

Re: hdparm et nforce2

2006-02-04 Thread Dominique Dumont
jaroug [EMAIL PROTECTED] writes:

 et le module correspondant (à ce que j'ai compris) est bien chargé :
 lsmod |grep amd74x
 amd74xx12892  0 [permanent]
 ide_core  112928  5
 ide_cd,amd74xx,generic,ide_disk,ide_generic

Essayes de charger amd74xx *avant* ide_core et ses collègues.

A+



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 using_dma to 1 (on)
  HDIO_SET_DMA failed: Operation not permitted
  IO_support   =  1 (32-bit)
  using_dma=  0 (off)
 
 lspci result :
 # lspci |grep -i ide 
 :00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
 
 I think the good module is loaded :
 # lsmod |grep amd74x
 amd74xx12892  0 [permanent]
 ide_core  112928  5
 ide_cd,amd74xx,generic,ide_disk,ide_generic
 
 Just note that dma works with the same hard drive and an other
 motherboard.
 If anybody have an idea, because it's very slooow :/

What else is on this IDE channel with it? I've read somewhere that some systems 
won't let you set two modes on one IDE channel.

also hdparm -[i|I] /dev/hdX provide useful information.

A

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


pgph1yT0KNcgz.pgp
Description: PGP signature


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   =  1 (32-bit)
 using_dma=  0 (off)

lspci result :
# lspci |grep -i ide 
:00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)


I think the good module is loaded :
# lsmod |grep amd74x
amd74xx12892  0 [permanent]
ide_core  112928  5
ide_cd,amd74xx,generic,ide_disk,ide_generic

Just note that dma works with the same hard drive and an other
motherboard.
If anybody have an idea, because it's very slooow :/


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's module (amd74x) is loaded before the ide_generic module
during  boot. For this it might be enough to install the package
initramfs-tools, rebuild your initrd and reboot. More details can be
found in this (rather lengthy) entry in the bug tracker:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=345374
The other option is to include the module statically in the kernel, if
compiling a custom kernel is acceptable for you.

Regards,
   Florian


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




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's module (amd74x) is loaded before the ide_generic module
 during  boot. For this it might be enough to install the package
 initramfs-tools, rebuild your initrd and reboot. More details can be
 found in this (rather lengthy) entry in the bug tracker:
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=345374
 The other option is to include the module statically in the kernel, if
 compiling a custom kernel is acceptable for you.
 
 Regards,
 Florian

That's it !!

I haven't tought to this, thank you very much :)

jaroug.


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



Re: hdparm et nforce2

2006-01-29 Thread C. Mourad Jaber

jaroug a écrit :


Bonjour,

ma debian sid tourne actuellement sur un noyau 2.6.15-1-k7, ma carte
mère est à base de nforce2. Le problème c'est que je ne peux pas
activer le dma via hdparm :

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   =  1 (32-bit)
using_dma=  0 (off)

Le c1 fonctionne mais pas le d1.

J'ai pourtant :
lspci |grep -i ide 
:00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)


et le module correspondant (à ce que j'ai compris) est bien chargé :
lsmod |grep amd74x
amd74xx12892  0 [permanent]
ide_core  112928  5
ide_cd,amd74xx,generic,ide_disk,ide_generic

Merci d'avance ;)

jaroug.

 

J'ai aussi une carte mère basée sur un chip nForce2 et un noyau 
2.6.15-1-k7, et je n'ai pas ce problème, par defaut mon disque tourne en 
udma5 :

hdparm -I /dev/hda
...
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
...

Est-ce que le problème ne viendrait pas de ton disque ?
@ +

Mourad


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:

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



Re: hdparm et nforce2

2006-01-29 Thread Pascal Hambourg

Salut,

C. Mourad Jaber a écrit :


J'ai aussi une carte mère basée sur un chip nForce2 et un noyau 
2.6.15-1-k7, et je n'ai pas ce problème, par defaut mon disque tourne en 
udma5 :

hdparm -I /dev/hda
...
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5


Attention : l'astérisque ne signifie pas que le mode UDMA5 est activé 
mais seulement qu'il est le mode utilisé *si* le DMA est activé.



--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:

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



Re: hdparm et nforce2

2006-01-29 Thread jaroug
On Sun, 29 Jan 2006 16:22:30 +0100
C. Mourad Jaber [EMAIL PROTECTED] wrote:
 J'ai aussi une carte mère basée sur un chip nForce2 et un noyau 
 2.6.15-1-k7, et je n'ai pas ce problème, par defaut mon disque tourne
 en udma5 :
 hdparm -I /dev/hda
 ...
 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
 ...
 
 Est-ce que le problème ne viendrait pas de ton disque ?
 @ +
 
 Mourad
 
 

Je pense pas étant donné que ça fonctionnait avant ...
Mais est ce que tu utilise le même module, c'est sur celui ci que j'ai
un doute en fait.
Enfin c'est curieux puisque l'option -c1 fonctionne correctement.

jaroug.



Re: Hdparm

2006-01-25 Thread jerome Heymonet
Bonsoir,je me permet de reprendre ce post car j'ai le meme probleme
je ne peut pas activer le DMA sur mon disk de portable ni sur mon
lecteur de DVD ( je vous laisse imaginer les lags quand je regarde un
DVD)Voilà le retour de la commande hdparm -X udma5 /dev/hda
/dev/hda:setting xfermode to 69 (UltraDMA mode5)

Le support du contrôleur hôte ATA qui gère ce disque est-il présent dansle noyau ou son module est-il chargé ?Comment savoir quel controleur hote gere mon disk? et surtout quel module activer ?

D'avance merciPS: j'ai un portable Sony avec un
DD de marque Toshiba 5400trs/mn (j'ai pas la reference en tete mais je
peut la retrouver) avec un noyau 2.6.15-1 tous fraichement installé
(hier soir).
-- Jerome HEYMONET


Re: Hdparm

2006-01-25 Thread Jean-Luc Coulon (f5ibh)

Le 25.01.2006 19:31:55, jerome Heymonet a écrit :

Bonsoir,






Voilà le retour de la commande hdparm -X udma5 /dev/hda
/dev/hda:
 setting xfermode to 69 (UltraDMA mode5)



Le support du contrôleur hôte ATA qui gère ce disque est-il présent
dans
 le noyau ou son module est-il chargé ?


Comment savoir quel controleur hote gere mon disk? et surtout quel
module
activer ?


Faites lspci

Vous trouveez tout un tas de ligne avec des informations concernant le  
PCI (au sens large, il ne s'agit pas simplement des cartes  
d'extension). Sous la rubrique « IDE interface », vous trouverez le  
chipset de votre PC.


Par exemple chez moi, j'ai :

:00:0f.1 IDE interface: VIA Technologies, Inc.  
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)


Le chipset est un chipset VIA VT82
Le module qui y correspond est via82cxxx

Une fois le chipset trouvé, on trouve le module soit par google, soit  
dans le répertoire Documentation du noyau.


Une autre solution est de booter un live-cd et de regarder quels sont  
les modules chargés concernant l'ide. Il faut que le module spécifique  
au chipset soit chargé *avant* les modules génériques (ide-cd,  
ide-generic, ..)





D'avance merci


Jean-Luc


pgpVT5sFTGKpT.pgp
Description: PGP signature


Re: Hdparm

2006-01-25 Thread jerome Heymonet
Merci Jean Luc pour ta reponse, j'ai en faite j'ai trouvé en cherchant un peu dans la config du noyau 2.4 installer d'origine j'ai remarqué qu'il y avait le generic pilote et je l'ai rajouter, et voilà ca marche maintenant.
Encore merci2006/1/25, Jean-Luc Coulon (f5ibh) [EMAIL PROTECTED]:
Le 25.01.2006 19:31:55, jerome Heymonet a écrit: Bonsoir, Voilà le retour de la commande hdparm -X udma5 /dev/hda /dev/hda:setting xfermode to 69 (UltraDMA mode5)
 Le support du contrôleur hôte ATA qui gère ce disque est-il présent dans  le noyau ou son module est-il chargé ? Comment savoir quel controleur hote gere mon disk? et surtout quel
 module activer ?Faites lspciVous trouveez tout un tas de ligne avec des informations concernant lePCI (au sens large, il ne s'agit pas simplement des cartesd'extension). Sous la rubrique « IDE interface », vous trouverez le
chipset de votre PC.Par exemple chez moi, j'ai ::00:0f.1 IDE interface: VIA Technologies, Inc.VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)Le chipset est un chipset VIA VT82
Le module qui y correspond est via82cxxxUne fois le chipset trouvé, on trouve le module soit par google, soitdans le répertoire Documentation du noyau.Une autre solution est de booter un live-cd et de regarder quels sont
les modules chargés concernant l'ide. Il faut que le module spécifiqueau chipset soit chargé *avant* les modules génériques (ide-cd,ide-generic, ..) D'avance merciJean-Luc
-- Jerome HEYMONET


Re: Hdparm

2006-01-21 Thread Zuthos
macsim a écrit :
| et
| hdpamr -X udma5 /dev/hda
| ça donne quoi ?
| 

# hdparm -X udma5 /dev/hda

/dev/hda:
 setting xfermode to 69 (UltraDMA mode5)
 ide0: Speed warnings UDMA 3/4/5 is not functional.

-- 
La vérité souffre d'être trop analysée. Frank Herbert, Dune



Re: Hdparm

2006-01-21 Thread Pascal Hambourg

Zuthos a écrit :

Je veut activer l'ultra dma.
je teste le DD
# hdparm -I /dev/hda
SNIP
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
SNIP
Il semble que je puisse utiliser udma en mode UDMA 5.


L'* signifie que si le DMA est activé, alors le mode de transfert 
configuré sera UDMA 5.



# hdparm -d1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
  HDIO_SET_DMA failed: Operation not permitted
  using_dma=  0 (off)
   
La question est: Pq il ne veut pas se mettre en udma??


Le support du contrôleur hôte ATA qui gère ce disque est-il présent dans 
le noyau ou son module est-il chargé ?



--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:

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



Re: hdparm und USB/Firewire Platte

2005-09-24 Thread Frank Dietrich
Hallo Gerhard,

Gerhard Wolfstieg [EMAIL PROTECTED] wrote:
  Von Frank Dietrich [EMAIL PROTECTED]:
  wie kann ich mit hdparm bestimmte Parameter für eine IDE-Platte
  in einem externen Gehäuse mit USB/Firewire-Anschluss einstellen?
  Selbst das Abfragen der Plattenparamter bringt schon einen Fehler.
 
 Versuch mal blktool. Es ist wie hdparm, soll aber allgemeiner
 sein, wie z.B SCSI und SATA etc. (ich selbst weiß nur, daß es das
 gibt.)

Damit lassen sich einige Einstellungen vornehmen. Komme jetzt bei cp
große_datei /dev/null (Platte Firewire angeschlossen) auf ca 8MB/s.
Damit kann ich ganz gut leben.

Danke
Frank
-- 
Geht nicht gibts _fast_ nicht. Du musst nur professionel frickeln.



Re: hdparm und USB/Firewire Platte

2005-09-22 Thread Peter Blancke
Frank Dietrich [EMAIL PROTECTED] dixit:

 wie kann ich mit hdparm bestimmte Parameter für eine IDE-Platte in
 einem externen Gehäuse mit USB/Firewire-Anschluss einstellen?

Vermutlich gar nicht. Bei mir erscheinen aehnliche Fehlermeldungen
und ich interpretiere den Absatz

,[ Aus man hdparm: ]
| hdparm provides a command line interface to various hard disk ioctls
| supported by the stock Linux ATA/IDE device driver subsystem.
`

so, dass mit hdparm ATA/IDE-Platten konfigurierbar sind. Es waere
auch unsinnig, auf einer USB-Leitung beispielsweise einen DMA-Modus
suchen geschweige denn manipulieren zu wollen.

Du willst wahrscheinlich Dein USB-Interface optimieren und das wird
voraussichtlich mehr an Datendurchsatz nicht hergeben wollen.

Grusz,

Peter Blancke

-- 
Hoc est enim verbum meum!


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: hdparm und USB/Firewire Platte

2005-09-22 Thread Frank Dietrich
Hallo Peter,

Peter Blancke [EMAIL PROTECTED] wrote:
 Frank Dietrich [EMAIL PROTECTED] dixit:
  wie kann ich mit hdparm bestimmte Parameter für eine IDE-Platte in
  einem externen Gehäuse mit USB/Firewire-Anschluss einstellen?
 
 und ich interpretiere den Absatz
 ,[ Aus man hdparm: ]
 | hdparm provides a command line interface to various hard disk
 ioctls | supported by the stock Linux ATA/IDE device driver
 subsystem. `
 so, dass mit hdparm ATA/IDE-Platten konfigurierbar sind. Es waere
 auch unsinnig, auf einer USB-Leitung beispielsweise einen DMA-Modus
 suchen geschweige denn manipulieren zu wollen.

Das ist mir schon klar. ;-)
Der Gedanke ist mir deswegen gekommen, weil die Notebookplatte per
Firewire nur ca 5MB/s liest und im Notebook eingebaut 14MB/s gelesen
hatte. Meine Überlegung war, die Platte dazu zu bewegen die Daten
schneller ans IDE-Interface im externen Gehäuse zu schicken. Oder kann
ich davon ausgehen (besser sollte ich hoffen), das Gehäuse und Platte
sich auf den größte gemeinsamen Modus einigen?

 Du willst wahrscheinlich Dein USB-Interface optimieren und das wird
 voraussichtlich mehr an Datendurchsatz nicht hergeben wollen.

USB stand nur deswegen da, weil hdparm da auch nicht ging. Hab hier
eh nur USB1.0 das wird eh nicht schneller.

Frank
-- 
Geht nicht gibts _fast_ nicht. Du musst nur professionel frickeln.



Re: hdparm und USB/Firewire Platte

2005-09-22 Thread Gerhard Wolfstieg
 Von Frank Dietrich [EMAIL PROTECTED]:

 Hallo alle zusammen,
 
 wie kann ich mit hdparm bestimmte Parameter für eine IDE-Platte
 in einem externen Gehäuse mit USB/Firewire-Anschluss einstellen?
 Selbst das Abfragen der Plattenparamter bringt schon einen Fehler.

Versuch mal blktool. Es ist wie hdparm, soll aber allgemeiner sein,
wie z.B SCSI und SATA etc. (ich selbst weiß nur, daß es das gibt.)

 Gerhard



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 Woody it's done with the 'hwtools' package - available via
 apt-get. I think the config file is something like /etc/hwtools.conf,
 but I may be wrong. (dpkg -L hwtools | grep etc will show you all
 of the files it puts in /etc.)
 
 The description for the Woody version of the hwtools package indicates
 that  it used to contain hdparm, but that was split off into a
 separate pacakge:
 
 Some programs that were previously part of this package have been
 moved 
 to
 their own packages (hdparm, scsitools, memtest86)

Right. Hdparm _is_ a separate package, but the init.d script for hwtools
will still run hdparm at boot time (this is in Woody only). 
 
 If there is still something in hwtools that is required to get the
 proper  operation out of the hdparm package, then it should be moved
 to the hdparm  package, or someone needs modify the hdparm package so
 that it requires the  hwtools package.

It is not required to get hdparm to work. It is not even required if you
want hdparm called at boot time - it is just a convenient way of doing
it. Nevertheless, this is probably (part of) why hdparm got its own
init.d script in the version in Sarge and Sid.

HTH,
Jacob

P.S. Cc'ed to Debian-user as I think you meant to keep this on-list.


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



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 one the hdparm package installs and documents isn't
acceptable to you?
The problem, I have discovered, is that the stable (woody) package for 
hdparm does not include the run scripts.  I've downloaded the unstable 
package for hdparm and am manually extracting the scripts.

-Tom

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



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 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?
 
 The problem, I have discovered, is that the stable (woody) package for
 
 hdparm does not include the run scripts.  I've downloaded the unstable
 
 package for hdparm and am manually extracting the scripts.

Ah, in Woody it's done with the 'hwtools' package - available via
apt-get. I think the config file is something like /etc/hwtools.conf,
but I may be wrong. (dpkg -L hwtools | grep etc will show you all of
the files it puts in /etc.)

HTH,
Jacob


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



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
 somewhere that I should be using?  Presumably I'll want to link to it
 from one of the /etc/rc*.d directories.  Which one, and what should I
 call it?
 
 -Tom

You can set hdparm options in both /etc/hdparm.conf and
/etc/defaults/hdparm.

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~sanchezr


signature.asc
Description: OpenPGP digital signature


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 that.  Is there an  /etc/init.d/hdparm script out
 there somewhere that I should be using?   Presumably I'll want to link
 to it from one of the /etc/rc*.d directories.   Which one, and what
 should I call it?

If you have Sarge or newer, you only need to put the changes in
/etc/hdparm.conf and it will be picked up at boot time by
/etc/init.d/hdparm. 

HTH,
Jacob


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



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 there somewhere that I should be using?  

Try mine, attached.  It's not art.

 Presumably I'll want to link to it from one of the /etc/rc*.d directories.  
 Which one, and what should I call it?

/etc/init.d/hdparm_init


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://www.spots.ab.ca/~keeling  Please don't Cc: me.
- -
#! /bin/bash
#
#   /etc/init.d/hdparm_init by sbk - 1Dec2003
#
#   see file:///usr/share/doc/debian/FAQ/ch-customizing.html
#
#   update-rc.d hdparm_init start 19 2 . stop 19 0 1 6 .
#

case $1 in
   start)
  if [ -f /sbin/hdparm ]; then
  # 4Jan2004 - trying -M:
  #get/set acoustic management (0-254, 
  #   128: quiet, 254: fast)
  #  - oops.  that option doesn't appear
  #to exist in woody.
  /sbin/hdparm -d1 -X66 -c1 -u1 -m 16 /dev/hda
  /sbin/hdparm -d1 -X34 -c1 -u1 /dev/hdc
  echo hdparm_init: optimize disk performance.
   fi
   ;;
   
stop|force-reload|restart)
   ;;

*)
echo Usage: $0 {start|stop|restart|force-reload}
exit 1
esac

exit 0



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/hdparm script out there
| somewhere that I should be using? Presumably I'll want to link to it
| from one of the /etc/rc*.d directories. Which one, and what should I
| call it?

/etc/init.d/hdparm is installed automatically once you install the
package.  All you need to do is edit /etc/hdparm.conf and insert the
parameters you want.

I have always found it easiest to do this with the command-line option
at the very end of the configuration file,

Jim



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



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 rate at which
 [EMAIL PROTECTED] | one can die.


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



Re: hdparm -F

2005-05-04 Thread Joerg Sommer
Dirk Salva [EMAIL PROTECTED] wrote:
 On Tue, May 03, 2005 at 10:39:30AM +, Joerg Sommer wrote:
 Habe ich auch gerade gesehen. Ich hatte geglaubt, dass deine hdparm.conf
 von /etc/default nicht nach /etc/ gewandert ist.
 
 Das finde ich aber jetzt sehr merkwürdig, dass es in /etc/default und in
 /etc eine Datei zur Konfiguration des init-Skripts gibt.

 In /etc gabs die immer schon. Die in /etc/default ist neu
 hinzugekommen.

hdparm (5.4-6) unstable; urgency=low

  * moved /etc/default/hdparm to /etc/hdparm.conf, because this is actually
policy compliant.  It turns out (mea culpa) default/ files need to be
shell scripts, which this is not.  Thanks for noticing this, joeyh.
(closes: #222133)

Jörg.

-- 
Diskutiere nie mit einem Idioten:
Sie ziehen Dich auf ihr Niveau herab und schlagen Dich dann mit
Erfahrung.


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: hdparm -F

2005-05-03 Thread Joerg Sommer
Dirk Salva [EMAIL PROTECTED] wrote:
 On Sun, May 01, 2005 at 10:01:35PM +, Joerg Sommer wrote:
 Richard Mittendorfer [EMAIL PROTECTED] wrote:
  wie gesagt verwende ich aber /etc/hdparm.conf fuer die konfiguration,
  nicht /etc/default/hdparm (dessen existenz mir gar nicht bewusst war) :)
 Die Datei gab es anfangs, wurde aber später nach /etc/ geschoben, weil
 sie in /etc/default/ nicht der Policy enspricht.

 Kann nicht sein, sie ist bei mir mit dem Upgrade auf die neue Version
 (von 5.9 auf 6.1) überhaupt erst erstellt worden, vorher gabs keine
 /etc/default/hdparm.

Habe ich auch gerade gesehen. Ich hatte geglaubt, dass deine hdparm.conf
von /etc/default nicht nach /etc/ gewandert ist.

Das finde ich aber jetzt sehr merkwürdig, dass es in /etc/default und in
/etc eine Datei zur Konfiguration des init-Skripts gibt.

Jörg.

-- 
Im Leben lernt der Mensch als erstes das Gehen und Sprechen.
Später lernt er still zu sitzen und den Mund zu halten.


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: hdparm -F

2005-05-03 Thread Dirk Salva
On Tue, May 03, 2005 at 10:39:30AM +, Joerg Sommer wrote:
 Habe ich auch gerade gesehen. Ich hatte geglaubt, dass deine hdparm.conf
 von /etc/default nicht nach /etc/ gewandert ist.
 
 Das finde ich aber jetzt sehr merkwürdig, dass es in /etc/default und in
 /etc eine Datei zur Konfiguration des init-Skripts gibt.

In /etc gabs die immer schon. Die in /etc/default ist neu
hinzugekommen.

ciao, Dirk
-- 
|  Akkuschrauber Kaufberatung and AEG GSM stuff   |
|   Visit my homepage:   http://www.nutrimatic.ping.de/   |
| FIDO: Dirk Salva 2:244/6305.10 Internet: dsalvaATgmx.de |
|The Ruhrgebiet, best place to live in Germany! |


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: hdparm -F

2005-05-02 Thread Joerg Sommer
Richard Mittendorfer [EMAIL PROTECTED] wrote:
 wie gesagt verwende ich aber /etc/hdparm.conf fuer die konfiguration,
 nicht /etc/default/hdparm (dessen existenz mir gar nicht bewusst war) :)

Die Datei gab es anfangs, wurde aber später nach /etc/ geschoben, weil
sie in /etc/default/ nicht der Policy enspricht.

Jörg.

-- 
Hey, dad, you see how this man can twist his fingers? Amazing, isn't
it? No, son, not really. He's been using Emacs for ten years...


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: hdparm -F

2005-05-02 Thread Dirk Salva
On Sun, May 01, 2005 at 10:01:35PM +, Joerg Sommer wrote:
 Richard Mittendorfer [EMAIL PROTECTED] wrote:
  wie gesagt verwende ich aber /etc/hdparm.conf fuer die konfiguration,
  nicht /etc/default/hdparm (dessen existenz mir gar nicht bewusst war) :)
 Die Datei gab es anfangs, wurde aber später nach /etc/ geschoben, weil
 sie in /etc/default/ nicht der Policy enspricht.

Kann nicht sein, sie ist bei mir mit dem Upgrade auf die neue Version
(von 5.9 auf 6.1) überhaupt erst erstellt worden, vorher gabs keine
/etc/default/hdparm.

ciao, Dirk
-- 
|  Akkuschrauber Kaufberatung and AEG GSM stuff   |
|   Visit my homepage:   http://www.nutrimatic.ping.de/   |
| FIDO: Dirk Salva 2:244/6305.10 Internet: dsalvaATgmx.de |
|The Ruhrgebiet, best place to live in Germany! |


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: hdparm -F

2005-05-01 Thread Richard Mittendorfer
Also sprach Dirk Salva [EMAIL PROTECTED] (Sun, 1 May 2005 14:57:56 +0200):
 Hi Leute,

hi there.
 
 in Sarge gibts ja seit neuestem den Parameter -F (security-freeze).
 Nur kann ich den in hdparm.conf nicht setzen;-(

das ging ja flott.
 
 etc/init.d/hdparm restart
 Setting parameters of disc:/etc/init.d/hdparm: Error: unknown option
 -F.  Exiting.
 
 etc/init.d/hdparm restart
 Setting parameters of disc: /dev/hda/etc/init.d/hdparm: Error:
 unknown option security-freeze.Exiting.
 
 ???

[EMAIL PROTECTED]:/home/ritch# /etc/init.d/hdparm restart
Setting parameters of disc: issuing Security Freeze command
 /dev/hdc, /dev/hdd, /dev/hdb.


hdparm.conf
snip
command_line {
   hdparm -q -m16 -q -F -q -W1 -q -c1 -q -u1 -q -d1 /dev/hda
}
/snip

eben libc6 und hdparm vom mirror geholt. 

kann's die platte?

hdparm -I /dev/hda
snip
Security: 
supported
not enabled
not locked
frozen  
not expired: security count
not supported: enhanced erase
22min for SECURITY ERASE UNIT.
/snip

sl ritch


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: hdparm -F

2005-05-01 Thread Dirk Salva
On Sun, May 01, 2005 at 03:37:09PM +0200, Richard Mittendorfer wrote:
 Also sprach Dirk Salva [EMAIL PROTECTED] (Sun, 1 May 2005 14:57:56 +0200):
 das ging ja flott.
;-)

 hdparm.conf
 snip
 command_line {
hdparm -q -m16 -q -F -q -W1 -q -c1 -q -u1 -q -d1 /dev/hda
 }
 /snip

Das ist mir neu. Ich hatte das direkt unter /dev/hdb { ...
eingetragen, das geht nicht. Allerdings gehts, wenn man es in
/etc/default/hdparm einträgt.

 kann's die platte?

Ja. Was passiert eigentlich, wenn man oben alle vorhandenen Platten
einträgt und es nicht alle können? Wird das nur für die Nicht-Könner
ignoriert, oder für alle?

 hdparm -I /dev/hda

Den kannte ich nicht. Aber s geht ja jetzt, danke. IMO sehr schlecht
dokumentiert.

ciao, Dirk
-- 
|  Akkuschrauber Kaufberatung and AEG GSM stuff   |
|   Visit my homepage:   http://www.nutrimatic.ping.de/   |
| FIDO: Dirk Salva 2:244/6305.10 Internet: dsalvaATgmx.de |
|The Ruhrgebiet, best place to live in Germany! |


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: hdparm -F

2005-05-01 Thread Richard Mittendorfer
Also sprach Dirk Salva [EMAIL PROTECTED] (Sun, 1 May 2005 16:25:07 +0200):
 On Sun, May 01, 2005 at 03:37:09PM +0200, Richard Mittendorfer wrote:
  Also sprach Dirk Salva [EMAIL PROTECTED] (Sun, 1 May 2005 14:57:56
  +0200): das ging ja flott.
 ;-)
 
  hdparm.conf
  snip
  command_line {
 hdparm -q -m16 -q -F -q -W1 -q -c1 -q -u1 -q -d1 /dev/hda
  }
  /snip
 
 Das ist mir neu. Ich hatte das direkt unter /dev/hdb { ...
 eingetragen, das geht nicht. Allerdings gehts, wenn man es in
 /etc/default/hdparm einträgt.

ich konnte in /etc/hdparm.conf auch keinerlei (long) eintrag fuer dir -F
option ala ..
/dev/hda {
eintrag = 
eintrag =
) 
..finden. ein eintrag wie command_line { ... } scheint keine probleme
zu machen weil der parameter einfach an hdparm (das -F ja kennt)
weitergegeben wird.

  kann's die platte?
 
 Ja. Was passiert eigentlich, wenn man oben alle vorhandenen Platten
 einträgt und es nicht alle können? Wird das nur für die Nicht-Könner
 ignoriert, oder für alle?

sollte nix kaputtgehen. hdparm gibt dann eine fehlermeldung fuer die
betreffende platte aus was: Operation not permitted. bei den anderen
duerfte die einstellung gesetzt werden. 

wie gesagt verwende ich aber /etc/hdparm.conf fuer die konfiguration,
nicht /etc/default/hdparm (dessen existenz mir gar nicht bewusst war) :)
 
  hdparm -I /dev/hda
 
 Den kannte ich nicht. Aber s geht ja jetzt, danke. IMO sehr schlecht
 dokumentiert.

man hdparm  /etc/hdparm.conf  .. ist doch ganz ordentlich

 ciao, Dirk

sl ritch.



Re: hdparm -F

2005-05-01 Thread Dirk Salva
On Sun, May 01, 2005 at 06:07:51PM +0200, Richard Mittendorfer wrote:
  Den kannte ich nicht. Aber s geht ja jetzt, danke. IMO sehr schlecht
  dokumentiert.
 man hdparm  /etc/hdparm.conf  .. ist doch ganz ordentlich

Nö. Das security-freeze nur in command_line funktioniert, steht
nirgendwo, und man hdparm.conf gibts nicht.

ciao, Dirk
-- 
|  Akkuschrauber Kaufberatung and AEG GSM stuff   |
|   Visit my homepage:   http://www.nutrimatic.ping.de/   |
| FIDO: Dirk Salva 2:244/6305.10 Internet: dsalvaATgmx.de |
|The Ruhrgebiet, best place to live in Germany! |


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: hdparm

2005-02-15 Thread Guillaume VAILLANT
Eric Gibault a crit, le 02/16/2005 12:12 AM :
Comment rdiger dans le fichier hdparm  l'entre correspondant  mon 
priphrique /dev/hdc pour activer le dma
Merci

Eric Gibault
Un truc dans ce genre l dans le fichier /etc/hdparm.conf:
/dev/hdc {
io32_support = 1
dma = on
}
Normalement, le fichier fourni avec le paquetage hdparm est pleins
d'exemples ;-)
--
Guillaume
---
Sauvez une plante, bouffez un vgtarien !
--
Pensez  lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Pensez  rajouter le mot ``spam'' dans vos champs From et Reply-To:
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: hdparm und SW-RAID

2004-11-26 Thread Richard Mittendorfer
Am 2004-11-26 15:44:29 schrieb(en) Dieter Baurecht:
Nun noch eine Frage, kann man hdparm auf hde, hdf anwenden wenn diese  
bereits in einem Raid md0 (hde1 + hdf1) laufen?
ja.
In welches rc.d soll ein hdparm script für die IDE Platten  
eingebunden werden?
sieh dir mal /etc/hdparm.conf an.
Danke, Dieter
gruss, ritch.
--
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)


Re: hdparm und SW-RAID

2004-11-26 Thread Dieter Baurecht
Richard Mittendorfer schrieb:
sieh dir mal /etc/hdparm.conf an.
Danke, aber genau die fehlt bei mir.
Warum?
Woody, hdparm 4.5-1.2 intalliert.


--
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)


Re: hdparm und SW-RAID

2004-11-26 Thread Dieter Baurecht
Eduard Bloch schrieb:
Moin Dieter!
Dieter Baurecht schrieb am Freitag, den 26. November 2004:
Woody, hdparm 4.5-1.2 intalliert.
Genau deswegen. Damals musste man noch hdparm-Aufrufe händisch in
irgendein init-Skript eintragen, /etc/init.d/hwtools war beliebt.
Und wie komm ich von damals zu heute? Nur mit neuem debian oder kann 
ich ein anderes fertiges hdparm bei mir installieren (Kernel 2.4.19)?

Dieter
--
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)


Re: hdparm und SW-RAID

2004-11-26 Thread Eduard Bloch
Moin Dieter!
Dieter Baurecht schrieb am Freitag, den 26. November 2004:

 sieh dir mal /etc/hdparm.conf an.
 
 Danke, aber genau die fehlt bei mir.
 Warum?
 
 Woody, hdparm 4.5-1.2 intalliert.

Genau deswegen. Damals musste man noch hdparm-Aufrufe händisch in
irgendein init-Skript eintragen, /etc/init.d/hwtools war beliebt.

Gruss,
Eduard.
-- 
Wer wirklich noch einen 4.x-Browser benutzt, dem kann leider nicht mehr
geholfen werden. Die haben soviele Sicherheitsloecher, da koennten wir per
www.linuxtag.org, Exploit und etwas Scriptmagic einen neuen Browser von
Remote installieren.
  // Michael Kleinhenz, lt2k-ml


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: hdparm und SW-RAID

2004-11-26 Thread Richard Mittendorfer
Am 2004-11-26 18:20:21 schrieb(en) Dieter Baurecht:
Richard Mittendorfer schrieb:
sieh dir mal /etc/hdparm.conf an.
Danke, aber genau die fehlt bei mir.
Warum?
uups? keine ahnung - vielleicht wird's mit 'nem anderen packet  
geliefert? hwtools/hdparm/initscripts?

sollte aber nichts machen - schreib dir einfach selber ein script mit  
den hdparm optionen und link es von /etc/init.d/ in die entsprechenden  
runlevels /etc/rc*.d. (S..start,K..kill, siehe man init und den aufbau  
der anderen scripts dort)

brutal und nicht konform in ../init.d/rcS eingetragen. du solltest dir  
hierbei aber *sehr* sicher sein das es *immer* funktioniert, da es auch  
im single user laeuft. -nicht empfohlen-

sl ritch.
--
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)


Re: hdparm und SW-RAID

2004-11-26 Thread Michelle Konzack
Hallo Dieter, 

Am 2004-11-26 18:20:21, schrieb Dieter Baurecht:
 Richard Mittendorfer schrieb:
 
 sieh dir mal /etc/hdparm.conf an.
 
 Danke, aber genau die fehlt bei mir.
 Warum?
 
 Woody, hdparm 4.5-1.2 intalliert.

Pöh... trage in Deine /etc/apt/sources.list mal 

deb http://www.backports.org/debian woody hdparm

ein und installiere Dir den wesentlich konfortableren
Nachfolger als Backport. Das einzige was ich noch daran
vermisse ist ein debconf interface.

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: hdparm und SW-RAID

2004-11-26 Thread Michelle Konzack
Am 2004-11-26 18:39:07, schrieb Dieter Baurecht:
 Eduard Bloch schrieb:
 
 Moin Dieter!
 Dieter Baurecht schrieb am Freitag, den 26. November 2004:
 Woody, hdparm 4.5-1.2 intalliert.
 
 Genau deswegen. Damals musste man noch hdparm-Aufrufe händisch in
 irgendein init-Skript eintragen, /etc/init.d/hwtools war beliebt.
 
 Und wie komm ich von damals zu heute? Nur mit neuem debian oder kann 
 ich ein anderes fertiges hdparm bei mir installieren (Kernel 2.4.19)?

Und wer verwendet den ?

Trage in Diene /etc/apt.sources.list mal

deb http://www.bachports.org/debian woody kernel-image-2.4.27-386

ein. Da sind im gegensatz zum 2.4.19er ein paar Bugs mehr bereinigt
worden. 

Anmerkung:  Der 2.4.19 bis 2.4.22 wird vom Kernel-Team nicht mehr
unterstützt und QA kümmert sich nur noch um den 2.4.18
weil es der WOODY Installationskernel ist.

 Dieter

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: hdparm und SW-RAID

2004-11-26 Thread Michelle Konzack
Am 2004-11-26 18:53:47, schrieb Richard Mittendorfer:
 Am 2004-11-26 18:20:21 schrieb(en) Dieter Baurecht:
 Richard Mittendorfer schrieb:
 
 sieh dir mal /etc/hdparm.conf an.
 
 Danke, aber genau die fehlt bei mir.
 Warum?
 
 uups? keine ahnung - vielleicht wird's mit 'nem anderen packet  
 geliefert? hwtools/hdparm/initscripts?
 
 sollte aber nichts machen - schreib dir einfach selber ein script mit  
 den hdparm optionen und link es von /etc/init.d/ in die entsprechenden  
 runlevels /etc/rc*.d. (S..start,K..kill, siehe man init und den aufbau  
 der anderen scripts dort)
 
 brutal und nicht konform in ../init.d/rcS eingetragen. du solltest dir  
 hierbei aber *sehr* sicher sein das es *immer* funktioniert, da es auch  
 im single user laeuft. -nicht empfohlen-

???  -  'hdparm' WIRD in rcS.d aufgerufen und nicht in Runlevels.
 
 sl ritch.

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: hdparm und SW-RAID

2004-11-26 Thread Dieter Baurecht
Michelle Konzack schrieb:
 Am 2004-11-26 18:39:07, schrieb Dieter Baurecht:

Und wie komm ich von damals zu heute? Nur mit neuem debian oder kann
ich ein anderes fertiges hdparm bei mir installieren (Kernel 2.4.19)?

 Und wer verwendet den ?

 Trage in Diene /etc/apt.sources.list mal

 deb http://www.bachports.org/debian woody kernel-image-2.4.27-386

 ein. Da sind im gegensatz zum 2.4.19er ein paar Bugs mehr bereinigt
 worden.
Danke, hab schon so was ähnliches gemacht (um meinen CMD680 RAID 
Kontroller in Gang zu bekommen):

kernel-image-2.4.26-1-686_2.4.26-5.backports.org.1_i386.deb
Der wollte dann ein neueres:
modutils_2.4.26-0.backports.org.1_i386.deb
hab ich auch gemacht, aber dann sollte doch noch
initrd-tools_0.1.72.backports.org.1_all.deb
her, ok., ok., als dann aber initrd-tools_0.1.72 wieder ein anderes 
aktuelles Paket wollte hab ich den ganzen Wahnsinn gelassen, mir die 
aktuellste source des woddy-stable Pakets runtergeladen und neu kompiliert.

Soll ich den Wahnsinn wieder aufnehmen? Was unterscheidet backport 
stable von woody stable? Wie soll da ein normalsterblicher, der nebenbei 
noch anderes zu tun hat noch mitkommen? Was mache ich falsch, vielleich 
dass ich debian verwende :( ...

Habe ich mit dem neuen hdparm ein ähnliches nightmare zu erwarten?
Und das ganze, weil ich auf einem seit 3 Jahren perfekt laufendem System 
ein einfaches IDE SW-Raid zusätzlich zu meinem SCSI HW-Raid installieren 
wollte ...

Hlfe
--
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)


Re: hdparm und SW-RAID

2004-11-26 Thread Michelle Konzack
Am 2004-11-26 20:11:46, schrieb Dieter Baurecht:
 Michelle Konzack schrieb:

 Danke, hab schon so was ähnliches gemacht (um meinen CMD680 RAID 
 Kontroller in Gang zu bekommen):
 
 kernel-image-2.4.26-1-686_2.4.26-5.backports.org.1_i386.deb
 
 Der wollte dann ein neueres:
 
 modutils_2.4.26-0.backports.org.1_i386.deb
 
 hab ich auch gemacht, aber dann sollte doch noch
 
 initrd-tools_0.1.72.backports.org.1_all.deb
 
 her, ok., ok., als dann aber initrd-tools_0.1.72 wieder ein anderes 
 aktuelles Paket wollte hab ich den ganzen Wahnsinn gelassen, mir die 
 aktuellste source des woddy-stable Pakets runtergeladen und neu kompiliert.

:-)

Ich habe nicht die Probleme...

  ( '/etc/apt/sources.list' )___
 /
| deb ftp://security.debian.org/debian-security woody/updates main
| deb ftp://non-us.debian.org/debian-non-US woody/non-US  main
| deb ftp://ftp.de.debian.org/debianwoody main
| 
| deb http://www.backports.org/debian   woody all
 \__

Dann noch die

  ( '/etc/apt/preferences' )
 /
| Package: *
| Pin: origin www.backports.org
| Pin-Priority= 501
| 
| Package: *
| Pin: origin frp.de.debian.org
| Pin-Priority= 800
| 
| Package: *
| Pin: origin non-us.debian.org
| Pin-Priority= 900
| 
| Package: *
| Pin: origin security.debian.org
| Pin-Priority= 1000
 \__

apt-get update nicht vergessen...

Es werden also immer erst Pakete aus security, dann non-us, 
folgend mit ftp.de und wenn da nichts vorhanden ist, von 
backports installiert. 

Da brauchste nichts mehr manuell nachinstallieren...
 
 Soll ich den Wahnsinn wieder aufnehmen? Was unterscheidet backport 

siehe oben und verwende pining...

 stable von woody stable? Wie soll da ein normalsterblicher, der nebenbei 
 noch anderes zu tun hat noch mitkommen? Was mache ich falsch, vielleich 
 dass ich debian verwende :( ...

Die Pakete von http://www.backports.org/ kommen aus SARGE und SID...

 Habe ich mit dem neuen hdparm ein ähnliches nightmare zu erwarten?
 
 Und das ganze, weil ich auf einem seit 3 Jahren perfekt laufendem System 
 ein einfaches IDE SW-Raid zusätzlich zu meinem SCSI HW-Raid installieren 
 wollte ...
 
 Hlfe

:-)

Versuche es mal mit meinen beiden Dateien :-)

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: hdparm und SW-RAID

2004-11-26 Thread Richard Mittendorfer
Am 2004-11-26 19:24:01 schrieb(en) Michelle Konzack:
Am 2004-11-26 18:53:47, schrieb Richard Mittendorfer:

 brutal und nicht konform in ../init.d/rcS eingetragen. du solltest
???  -  'hdparm' WIRD in rcS.d aufgerufen und nicht in Runlevels.
tatsaechlich ... ist mir bisher entgangen.
btw. meinte ich aber direkt ins /etc/init.d/rcS script.
Greetings
Michelle
gruss, ritch.
--
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)


Re: hdparm und SW-RAID

2004-11-26 Thread Dieter Baurecht
Michelle Konzack schrieb:
:-)
Ich habe nicht die Probleme...
Schön für dich ;)

  ( '/etc/apt/sources.list' )___
 /
| deb ftp://security.debian.org/debian-security woody/updates main
| deb ftp://non-us.debian.org/debian-non-US woody/non-US  main
| deb ftp://ftp.de.debian.org/debianwoody main
| 
| deb http://www.backports.org/debian   woody all
 \__

Da finde ich nicht viel ähnlichkeiten:
deb http://ftp.univie.ac.at/systems/linux/debian/debian/ stable main
deb-src http://ftp.univie.ac.at/systems/linux/debian/debian/ stable main
deb http://ftp.univie.ac.at/systems/linux/debian/debian-non-US
stable/non-US main
deb-src http://ftp.univie.ac.at/systems/linux/debian/debian-non-US
stable/non-US main
deb http://security.debian.org/ stable/updates main
Frag mich nicht warum, hab ich vor 2 Jahren so gemacht, seit damals 
läufts wie am Schnürchen, damals wusste ich warum :)

Dann noch die
  ( '/etc/apt/preferences' )
Du beliebst zu scherzen, so was hab ich gar nicht ...

Soll ich den Wahnsinn wieder aufnehmen? Was unterscheidet backport 
siehe oben und verwende pining...
Einen Pinguin ?

Die Pakete von http://www.backports.org/ kommen aus SARGE und SID...
Und passen anscheinend nicht zu meiner Installation

Versuche es mal mit meinen beiden Dateien :-)
Und wenn's nicht klappt, schicke ich die ganze Arbeitsgruppe nächste 
Woche auf Urlaub, oder?
Vielleicht hätte ich erwähnen sollen, dass es sich um einen 
Arbeitsgruppen file und printserver handelt und nicht um ein 
Testing-System :)


--
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)


Re: hdparm und SW-RAID

2004-11-26 Thread Albert Dengg
On Fri, 26 Nov 2004 20:50:46 +0100
Dieter Baurecht [EMAIL PROTECTED] wrote:

...
( '/etc/apt/sources.list'
)___
   /
  | deb ftp://security.debian.org/debian-security woody/updates main
  | deb ftp://non-us.debian.org/debian-non-US woody/non-US  main
  | deb ftp://ftp.de.debian.org/debianwoody main
  | 
  | deb http://www.backports.org/debian   woody all
   \_
   _
 
 
 Da finde ich nicht viel ähnlichkeiten:
 
 deb http://ftp.univie.ac.at/systems/linux/debian/debian/ stable main
 deb-src http://ftp.univie.ac.at/systems/linux/debian/debian/ stable
 main deb http://ftp.univie.ac.at/systems/linux/debian/debian-non-US
   stable/non-US main
 deb-src http://ftp.univie.ac.at/systems/linux/debian/debian-non-US
   stable/non-US main
 
 deb http://security.debian.org/ stable/updates main
 
...
hallo
is das selbe in gruen...
ok, a anderer mirror
stable = woody sand des selbe (bis sarge irgend wann als stable
erscheint...)

(die deb-src eintraege sand dafuer dass na sich die source-pakete
runterladen kann...tut fuer die installation von normalen binarys nix
zur sache)

naja und etc/apt/preferences muss ma halt erstellen wenn mas braucht
(standardmaessig is es net da)...wobei mit pinning im speziellen hab i
mi a no net gespielt - is ma a relativ wurscht da i sowieso sid
einsetze...

mfg
Albert

-- 
Albert Dengg [EMAIL PROTECTED]


pgpyO3S4sdOtt.pgp
Description: PGP signature


Re: hdparm und SW-RAID

2004-11-26 Thread Dieter Baurecht
Albert Dengg schrieb:
stable = woody sand des selbe (bis sarge irgend ...
hört, hört :)
naja und etc/apt/preferences muss ma halt erstellen wenn mas braucht
(standardmaessig is es net da)...
braucht mas, wozu?
wobei mit pinning im speziellen hab i  mi a no net gespielt -
is ma a relativ wurscht da i sowieso sid einsetze...
SID, ist das der vom Krieg der Sterne, spielt der dann mit den PinguInnen :)
--
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)


Re: Re: hdparm -U

2004-10-12 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 only if the parameter is a digit in the range 0 through 9. 

Or am I wrong??



To the question from greg:
Why do you care if IDE1 is recognized and registered?

You have already read my thread about “Move kernel to RAM” at
http://lists.debian.org/debian-user/2004/10/msg01086.html

I just need to rescan the IDE-Bus and the only safe way, that really rescans
the bus and works 100% of the time, that appears to me is to make modules
moving them in and out (I hope that insmod “IDE” rescans the bus; some more
research has to be done here). But I also want to experiment with hdparm
(although it might not be what I am looking for).

Pir



--- 
Alles Kaufen und Verkaufen! eBay.at - der eigene Marktplatz für Österreich. 
http://www.austronaut.at/ebay.php


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



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, not doing anything else.
 Can someone please give me a hint?
 Thank, Pir

hdparm only deals with HARD DRIVES being unregistered. NOT a bus.

Really the only way for you to not see ide1 (as most machines have 2
channels) is to append a boot argument to your kernel. Or if the modules
to drive your IDE controller accepts arguments, disabling it that way
in /etc/modules

a line similar to this: (note I just picked a module, and am speculating
here)
sis5513 ide1=ignore  (or off, or disable(d))

I can't say this will work, but it is grabbing at straws. Heck it might
not even be ide1= might be a hex number or something too.

The question begging to be asked:

Why do you care if IDE1 is recognized and registered?

After that answer to the question we might be able to help you out
further.
-- 
greg, [EMAIL PROTECTED]

The technology that is
Stronger, better, faster: Linux


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


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 hint?
Thank, Pir
--- 
Alles Kaufen und Verkaufen! eBay.at - der eigene Marktplatz für Österreich. 
http://www.austronaut.at/ebay.php

 

hdparm requires devicename such as:
hdparm -c3 /dev/hda
Robin
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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
perspective I guess.  I will be getting Internet access via a Linksys
 

If you want a low-power Linux box, a linksys wrt54g is hard to beat:-)
802.11b USB device plugged into the K6-2 box.  This box will also be the
firewall (using, of course, iptables for NAT and packet filtering), then
routing out through a PCI NIC.  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
 

Why not take the drives out and deploy them elsewhere?
You can run a special-purpose distro such as ipcop or guardian (the 
latter is built from Debian), booting from CD.

Or, if some of the rest of your computers are running Linux, you can 
boot the AMD box off the LAN and mount its filesystem from nfs, ro.

It's hard to crack a box that has a ro-filesystem, and its especially 
hard to keep it cracked if it gets rebooted de temps en temps.

You could also look at pebble: I should have suggested this first, as it 
can turna supported NIC into an AP.

Wireless security is basically broken, so you might consider running a 
VPN (I like openvpn) between the end points and permit no other traffic.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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 there anything else that
could keep the drives spinning up related to my minimal Debian install
operating under its normal circumstances?
I think what you need is noflushd.  Package description:
Noflushd is a daemon that spins down disks that have not been read from after a
certain amount of time, and then prevents disk writes from spinning them back
up. It's targeted for laptops but can be used on any computer with IDE disks.
The effect is that the hard disk actually spins down, saving you battery power,
and shutting off the loudest component of most computers.
Cheers,
Robert.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: hdparm

2004-03-26 Thread Klaus Becker

  hab' den Rechner neu gestartet, und bekomme immer noch die Meldung, dass
  dma nicht akvtiviert ist.

 Meinst Du die Meldung die Du beim booten bekommst? An der Stelle wurde
 hdparm noch nicht aktiv. Wenn Du wissen willst in welchen Zustand sich
 deine Festplatte aktuell befindet mußt Du 'hdparm /dev/hda' ausführen.
 Vermutlich ist dma doch schon aktiviert.

Ich fahre woody und dank hwtools funktionniert dma inzwischen. 

debian:/# hdparm -d /dev/hda /dev/hdb
/dev/hda:
 using_dma=  1 (on)
/dev/hdb:
 using_dma=  1 (on)

Die Meldung beim Boot, die ich immer noch bekomme, ist also normal? Ich habe 
sie nicht ganz im Kopf (dmesg reproduziert sie nicht), aber ich habe 
verstanden, dass sie von reiserfs kommt  besagt, dass das Einspielen des 
Reiserfs-Journals durch das Fehlen von dma stark verlangsamt ist, der 
Bootprozess also länger dauert. Da lässt sich also nichts machen.

Sehe ich das richtig?

Gruss
Klaus



Re: hdparm

2004-03-26 Thread Gerhard Gaussling
Am Freitag, 26. März 2004 09:28 schrieb Klaus Becker:
 Die Meldung beim Boot, die ich immer noch bekomme, ist also normal?
 Ich habe sie nicht ganz im Kopf (dmesg reproduziert sie nicht), aber
 ich habe verstanden, dass sie von reiserfs kommt  besagt, dass das
 Einspielen des Reiserfs-Journals durch das Fehlen von dma stark
 verlangsamt ist, der Bootprozess also länger dauert. Da lässt sich
 also nichts machen.

 Sehe ich das richtig?

Hallo Klaus,

das ist hier ebenso. 

Ob man da was machen kann ist eine gute Frage. Ich weiß nicht, ob es zu 
empfehlen ist das hwtool script vorher aufrufen zu lassen. 

Der dma Modus scheint bei mir z.B. nicht ganz sicher zu laufen 
(Kabelprobleme nehme ich mal an). 

In so einem Fall wäre es zumindest angeraten den dma Modus 
herunterzuschalten z.B. mit der Option -X66 auf UDMA2 (ATA 33) statt 
UDMA4 (ATA 66).

Ob man den dma modus auch mit lilo und kernelparameter am bootprompt 
übergeben kann weiß ich nicht.

ciao

Gerhard



Re: hdparm

2004-03-26 Thread Hans-Georg Bork
Moin,

On Fri, Mar 26, 2004 at 09:21:03PM +0100, Gerhard Gaussling wrote:
 [...]
 Ob man den dma modus auch mit lilo und kernelparameter am bootprompt 
 übergeben kann weiß ich nicht.

AFAIK ja. Lies mal ide.txt in der kernel doku.

Gruss
-- hgb


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



  1   2   3   4   5   >