lshw -C disk reports incomplete firmware version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lshw |
Confirmed
|
Unknown
|
|||
lshw (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lshw
I was able to reproduce this bug in both Ubuntu 10.10 and Ubuntu 10.04.1 LTS.
When getting firmware version information about a hard disk, the following command reports incomplete information:
sudo lshw -C disk
Here is example output:
*-disk
description: ATA Disk
product: INTEL SSDSA2M040
physical id: 0.0.0
bus info: scsi@2:0.0.0
logical name: /dev/sda
version: 2CV1
serial: CVGB036100TS040NGN
size: 37GiB (40GB)
In the above output, "version: 2CV1" should have been "2CV102DH". In another system with a standard SATA disk (non-SSD), the version was also truncated by 4 characters.
This is very inconvenient when trying to determine if such a disk needs a firmware upgrade on a headless system.
Palimpsest (under (System > Administration > Disk Utility) reports the right information. See attached screenshot.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: lshw 02.14-1build1
ProcVersionSign
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Tue Oct 19 11:38:31 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: lshw
Changed in lshw: | |
status: | Unknown → New |
Changed in lshw: | |
status: | New → Confirmed |
tags: | added: raring |
tags: | added: saucy trusty |
tags: | added: bionic focal |
It seems lshw grabs its output from /sys/block/ sda/device/ rev.