desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #58241
[Bug 905806] Re: SMART data "Bad sectors" reports "-1" bad sectors
** Attachment added: "bad_blocks_minus.png"
https://bugs.launchpad.net/bugs/905806/+attachment/2637712/+files/bad_blocks_minus.png
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-disk-utility in Ubuntu.
https://bugs.launchpad.net/bugs/905806
Title:
SMART data "Bad sectors" reports "-1" bad sectors
Status in “gnome-disk-utility” package in Ubuntu:
New
Bug description:
What happened:
The "Bad sectors" and "Current Pending" report "-1", but smartctl reports this raw value at 4294967295.
What I expected to happen:
The reported raw value should be as reported by the disk (4294967295).
What seems to be the problem is that this raw value (pretty_value) is
of uint64_t type in libatasmart/atasmart.h (typedef struct
SkSmartAttributeParsedData), but it casted to gint when printed by
gnome-disk-utility (gnome-disk-utility-2.30.1/src/gdu-gtk/gdu-ata-
smart-dialog.c: 1615). Some SMART data seems not to keep the real
count of sectors, but their own raw value.
smartctl output:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 108 094 006 Pre-fail Always - 242254234
3 Spin_Up_Time 0x0003 094 093 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 097 097 020 Old_age Always - 3596
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 084 060 030 Pre-fail Always - 300356656
9 Power_On_Hours 0x0032 091 091 000 Old_age Always - 8720
10 Spin_Retry_Count 0x0013 100 100 034 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 097 097 020 Old_age Always - 3637
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
189 High_Fly_Writes 0x003a 001 001 000 Old_age Always - 11112
190 Airflow_Temperature_Cel 0x0022 057 046 045 Old_age Always - 43 (Min/Max 21/44)
192 Power-Off_Retract_Count 0x0032 097 097 000 Old_age Always - 7157
193 Load_Cycle_Count 0x0032 001 001 000 Old_age Always - 289579
194 Temperature_Celsius 0x0022 043 054 000 Old_age Always - 43 (0 10 0 0)
195 Hardware_ECC_Recovered 0x001a 048 047 000 Old_age Always - 37723365
197 Current_Pending_Sector 0x0012 001 001 000 Old_age Always - 4294967295
198 Offline_Uncorrectable 0x0010 001 001 000 Old_age Offline - 4294967295
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0
202 Data_Address_Mark_Errs 0x0032 100 253 000 Old_age Always - 0
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-disk-utility/+bug/905806/+subscriptions
References