[Bug 672764] Re: Last two characters of ID_REVISION (firmware version) are inverted

Shawn Wang shawn.wang at canonical.com
Wed Sep 26 07:15:43 UTC 2012


The fwrev size should be 8 not 6.
However, the upstream already fixed it.

disk_identify_fixup_string(identify,  23,  8); /* fwrev */

http://cgit.freedesktop.org/systemd/systemd/tree/src/udev/ata_id/ata_id.c

** Patch added: "fwrev.patch"
   https://bugs.launchpad.net/ubuntu/+source/udev/+bug/672764/+attachment/3344234/+files/fwrev.patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/672764

Title:
  Last two characters of ID_REVISION (firmware version) are inverted

Status in “udev” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: udev

  When looking for the firmware version of my hard disk (/dev/sda), I
  found out the last two characters reported by udevadm are inverted:

  $ udevadm  info --name=/dev/sda --query=property | grep ID_REVISION
  ID_REVISION=2CV102DH

  I believe the above information is also used by palimpsest, see:
  http://launchpadlibrarian.net/57881569/40%20GB%20Solid-State%20Disk%20%28ATA%20INTEL%20SSDSA2M040G2GC%29%20%5B-dev-sda%5D%20%E2%80%94%20Disk%20Utility_002.png

  This is very inconvenient when trying to determine if such a disk
  needs a firmware upgrade on a headless system.

  dmesg, however, has the right information:
  magicfab at winston:~$ dmesg | grep ATA-7
  [    2.902938] ata3.00: ATA-7: INTEL SSDSA2M040G2GC, 2CV102HD, max UDMA/133

  I checked this on several systems and got the same inconsistent
  information. I haven't checked dmegs output from a live CD to see if
  it would include the fixed HD information, though.

  I've filed a separate bug about lshw reporting only part of such
  information, Bug #663349.


  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: udev 162-2.1
  ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
  Uname: Linux 2.6.35-22-generic x86_64
  NonfreeKernelModules: wl
  Architecture: amd64
  Date: Mon Nov  8 16:26:05 2010
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  MachineType: Hewlett-Packard HP Pavilion tx1000 Notebook PC
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=41b6b187-be76-4447-b18b-d39cc744b184 ro quiet splash elevator=noop usbhid.quirks=0xeef:0x1:0x40
  ProcEnviron:
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: udev
  dmi.bios.date: 04/18/2008
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: F.20
  dmi.board.name: 30BF
  dmi.board.vendor: Quanta
  dmi.board.version: 69.2E
  dmi.chassis.type: 10
  dmi.chassis.vendor: Quanta
  dmi.chassis.version: N/A
  dmi.modalias: dmi:bvnHewlett-Packard:bvrF.20:bd04/18/2008:svnHewlett-Packard:pnHPPaviliontx1000NotebookPC:pvrRev1:rvnQuanta:rn30BF:rvr69.2E:cvnQuanta:ct10:cvrN/A:
  dmi.product.name: HP Pavilion tx1000 Notebook PC
  dmi.product.version: Rev 1
  dmi.sys.vendor: Hewlett-Packard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/672764/+subscriptions




More information about the foundations-bugs mailing list