Bug#293542: hddtemp: does not show all disks

2005-02-04 Thread Daniel J. Priem
Package: hddtemp
Version: 0.3-beta12-9
Severity: normal



1. hddtemp ignores some (autodetected) drives
2. hddtemp ignores DISKS line in /etc/default/hddtemp


1.

If i run 

/etc/init.d/hddtemp restart
Stopping disk temperature monitoring daemon: done.
Starting disk temperature monitoring daemon: /dev/hda /dev/hde /dev/hdg.
telnet localhost 7634
|/dev/hda|SAMSUNG SP1604N|27|C||/dev/hde|SAMSUNG SP1604N|19|C||/dev/hdg|SAMSUNG 
SP1604N|29|C|Connection closed by foreign host.



2.
ok. edited /etc/default/hddtemp
added 
DISKS="/dev/hda /dev/hdc /dev/hde /dev/hdg"
/etc/init.d/hddtemp restart
Stopping disk temperature monitoring daemon: done.
Starting disk temperature monitoring daemon: /dev/hda /dev/hde /dev/hdg.   
(still missing drive hdc :(
telnet localhost 7634
|/dev/hda|SAMSUNG SP1604N|27|C||/dev/hde|SAMSUNG SP1604N|19|C||/dev/hdg|SAMSUNG 
SP1604N|29|C|Connection closed by foreign host.

still the same
if i run

hddtemp /dev/hda /dev/hdc /dev/hde /dev/hdg
/dev/hda: SAMSUNG SP1604N: 27 C
/dev/hdc: SAMSUNG SP1604N: 27 C
/dev/hde: SAMSUNG SP1604N: 19 C
/dev/hdg: SAMSUNG SP1604N: 29 C

looks fine.



ls -l /proc/ide/
total 0
-r--r--r--  1 root root 0 Feb  4 09:46 drivers
lrwxrwxrwx  1 root root 8 Feb  4 09:46 hda -> ide0/hda
lrwxrwxrwx  1 root root 8 Feb  4 09:46 hdc -> ide1/hdc
lrwxrwxrwx  1 root root 8 Feb  4 09:46 hde -> ide2/hde
lrwxrwxrwx  1 root root 8 Feb  4 09:46 hdg -> ide3/hdg
dr-xr-xr-x  3 root root 0 Feb  4 09:46 ide0
dr-xr-xr-x  3 root root 0 Feb  4 09:46 ide1
dr-xr-xr-x  3 root root 0 Feb  4 09:46 ide2
dr-xr-xr-x  3 root root 0 Feb  4 09:46 ide3
-r--r--r--  1 root root 0 Feb  4 09:46 pdcnew
-r--r--r--  1 root root 0 Feb  4 09:46 via

smartctl -c /dev/hda && smartctl -c /dev/hdc && smartctl -c  /dev/hde && 
smartctl -c /dev/hdg
Device: SAMSUNG SP1604N  Supports ATA Version 7
Drive supports S.M.A.R.T. and is enabled
Check S.M.A.R.T. Passed.
Device: SAMSUNG SP1604N  Supports ATA Version 7
Drive supports S.M.A.R.T. and is enabled
Check S.M.A.R.T. Passed.
Device: SAMSUNG SP1604N  Supports ATA Version 7
Drive supports S.M.A.R.T. and is enabled
Check S.M.A.R.T. Passed.
Device: SAMSUNG SP1604N  Supports ATA Version 7
Drive supports S.M.A.R.T. and is enabled
Check S.M.A.R.T. Passed.





-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.29
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages hddtemp depends on:
ii  debconf [debconf-2.0]   1.4.30.11Debian configuration management sy
ii  grep2.5.1.ds1-4  GNU grep, egrep and fgrep
ii  libc6   2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  sed 4.1.2-8  The GNU sed stream editor

-- debconf information:
* hddtemp/SUID_bit: true
* hddtemp/interface: 127.0.0.1
* hddtemp/daemon: true
* hddtemp/port: 7634



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



Bug#293542: hddtemp: does not show all disks

2005-02-04 Thread Aurélien Jarno
Daniel J. Priem wrote:
Package: hddtemp
Version: 0.3-beta12-9
Severity: normal
>
If i run 

/etc/init.d/hddtemp restart
Stopping disk temperature monitoring daemon: done.
Starting disk temperature monitoring daemon: /dev/hda /dev/hde /dev/hdg.
telnet localhost 7634
2.
ok. edited /etc/default/hddtemp
added 
DISKS="/dev/hda /dev/hdc /dev/hde /dev/hdg"
/etc/init.d/hddtemp restart
Stopping disk temperature monitoring daemon: done.
Starting disk temperature monitoring daemon: /dev/hda /dev/hde /dev/hdg.   (still missing drive hdc :(
In both case /dev/hdc seems to be ignored because it is considered as a 
CDROM drive. This is the case because you have a symlink /dev/cdrom -> 
/dev/hdc. Removing it should fix your problem.

hddtemp refuses to monitor a CDROM drive, as it can cause system hangs 
on some cheap drive that are not 100% ATA compliant.

Bye,
Aurelien
--
  .''`.  Aurelien Jarno   GPG: 1024D/F1BCDB73
 : :' :  Debian GNU/Linux developer | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Bug#293542: hddtemp: does not show all disks

2005-02-04 Thread Daniel J. Priem
> In both case /dev/hdc seems to be ignored because it is considered as a 
> CDROM drive. This is the case because you have a symlink /dev/cdrom -> 
> /dev/hdc. Removing it should fix your problem.
> 

OK solved.

please let the bug open until you upload a new package and add in the
new package add a hint about this in README.Debian or a
warning/information on the debconf frontend

regards
Daniel

P.S. you can change the severity to wishlist for the debian.readme

> hddtemp refuses to monitor a CDROM drive, as it can cause system hangs 
> on some cheap drive that are not 100% ATA compliant.
> 
> Bye,
> Aurelien
> 
> 


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil