Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628094 - app-admin/hddtemp-0.3_beta15-r26 - Add Seagate ST31000528AS to hddgentoo.db
Summary: app-admin/hddtemp-0.3_beta15-r26 - Add Seagate ST31000528AS to hddgentoo.db
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-17 09:25 UTC by Massimo Burcheri
Modified: 2018-04-10 00:22 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Massimo Burcheri 2017-08-17 09:25:31 UTC
# smartctl /dev/disk/by-id/usb-TrekStor_DS_maxi_m.u_00E913cb-0:0 -a -d usbsunplus |grep Temp
190 Airflow_Temperature_Cel 0x0022   071   043   045    Old_age   Always   In_the_past 29 (Min/Max 29/50 #5)
194 Temperature_Celsius     0x0022   029   057   000    Old_age   Always       -       29 (0 3 0 0 0)

However there is another issue as hddtemp can't read the file path at all:

# ls -al /dev/disk/by-id/usb-TrekStor_DS_maxi_m.u_00E913cb-0:0 
lrwxrwxrwx 1 root root 9 Aug 17 08:38 /dev/disk/by-id/usb-TrekStor_DS_maxi_m.u_00E913cb-0:0 -> ../../sdc

# hddtemp /dev/disk/by-id/usb-TrekStor_DS_maxi_m.u_00E913cb-0\:0 
0: open: No such file or directory

# hddtemp /dev/disk/by-id/usb-TrekStor_DS_maxi_m.u_00E913cb-0:0 
0: open: No such file or directory

# hddtemp '/dev/disk/by-id/usb-TrekStor_DS_maxi_m.u_00E913cb-0:0' 
0: open: No such file or directory

# hddtemp /dev/sdc
/dev/sdc: TrekStorDS maxi m.u: S.M.A.R.T. not available

From the smart header, connected via USB (Bus 001 Device 005: ID 1e68:000f TrekStor GmbH & Co. KG)

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.12
Device Model:     ST31000528AS
Serial Number:    9VP0ZYJM
LU WWN Device Id: 5 000c50 01543cd93
Firmware Version: CC35
User Capacity:    1.000.204.886.016 bytes [1,00 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Thu Aug 17 11:24:37 2017 CEST
Comment 1 Massimo Burcheri 2017-08-17 09:28:03 UTC
Upstream: https://github.com/guzu/hddtemp/issues/6
Comment 2 Jonas Stein gentoo-dev 2017-08-26 11:39:39 UTC
Massimo, Do I understand it correct, that
* you suggested upstream to add another HDD
* upstream will probably do this some day
* when Gentoo updates the ebuild to the next release, we will have this new feature in gentoo.

I can not see, how we can do anything now as Gentoo dev in ebuild.
Comment 3 Dennis Schridde 2017-08-27 10:07:36 UTC
The Gentoo ebuild suggests:
If your hard drive is not recognized by hddtemp, please consider
submitting your HDD info for inclusion into the Gentoo hddtemp
database by filing a bug at https://bugs.gentoo.org/

This is possible, because the ebuild comes with ${FILESDIR}/hddgentoo.db, which contains additions to the upstream database.

Hence I suggest to reopen this bug.
Comment 4 Larry the Git Cow gentoo-dev 2018-04-10 00:22:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb1638e34c969b19ecf515eda5e192d78941e09c

commit fb1638e34c969b19ecf515eda5e192d78941e09c
Author:     PPed72 <paolo.pedroni@iol.it>
AuthorDate: 2018-04-10 00:21:06 +0000
Commit:     Jonas Stein <jstein@gentoo.org>
CommitDate: 2018-04-10 00:22:36 +0000

    app-admin/hddtemp: Add new drives to hddgentoo.db
    
    Closes: https://bugs.gentoo.org/652806
    Closes: https://bugs.gentoo.org/635836
    Closes: https://bugs.gentoo.org/635832
    Closes: https://bugs.gentoo.org/628094
    Closes: https://bugs.gentoo.org/627274
    Package-Manager: Portage-2.3.28, Repoman-2.3.9

 app-admin/hddtemp/files/hddgentoo.db | 27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)