We should use the MAC address when the system UUID is not available

Bug #963007 reported by Stéphane Graber
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Whoopsie
Fix Released
Medium
Unassigned
whoopsie-daisy (Ubuntu)
Fix Released
Medium
Evan
Precise
Won't Fix
Undecided
Unassigned

Bug Description

We should use the MAC address when the system UUID is not available.

Original report follows:

System is one of these cheaps Atom desktops.

stgraber@lantea:~$ sudo dmidecode
# dmidecode 2.11
SMBIOS 2.2 present.
39 structures occupying 986 bytes.
Table at 0x000F0000.

Handle 0x0000, DMI type 0, 19 bytes
BIOS Information
 Vendor: Phoenix Technologies, LTD
 Version: 6.00 PG
 Release Date: 10/26/2010
 Address: 0xE0000
 Runtime Size: 128 kB
 ROM Size: 1024 kB
 Characteristics:
  ISA is supported
  PCI is supported
  PNP is supported
  APM is supported
  BIOS is upgradeable
  BIOS shadowing is allowed
  Boot from CD is supported
  Selectable boot is supported
  BIOS ROM is socketed
  EDD is supported
  5.25"/360 kB floppy services are supported (int 13h)
  5.25"/1.2 MB floppy services are supported (int 13h)
  3.5"/720 kB floppy services are supported (int 13h)
  3.5"/2.88 MB floppy services are supported (int 13h)
  Print screen service is supported (int 5h)
  8042 keyboard services are supported (int 9h)
  Serial services are supported (int 14h)
  Printer services are supported (int 17h)
  CGA/mono video services are supported (int 10h)
  ACPI is supported
  USB legacy is supported
  LS-120 boot is supported
  ATAPI Zip drive boot is supported

Handle 0x0001, DMI type 1, 25 bytes
System Information
 Manufacturer:
 Product Name:
 Version:
 Serial Number:
 UUID: Not Present
 Wake-up Type: Power Switch

Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
 Manufacturer:
 Product Name: 945GSE
 Version:
 Serial Number:

Handle 0x0003, DMI type 3, 13 bytes
Chassis Information
 Manufacturer:
 Type: Desktop
 Lock: Not Present
 Version:
 Serial Number:
 Asset Tag:
 Boot-up State: Unknown
 Power Supply State: Unknown
 Thermal State: Unknown
 Security Status: Unknown

Handle 0x0004, DMI type 4, 32 bytes
Processor Information
 Socket Designation: Other
 Type: Central Processor
 Family: Other
 Manufacturer: Intel
 ID: C2 06 01 00 FF FB E9 BF
 Version: Intel(R) Atom(TM) CPU N270
 Voltage: 1.0 V
 External Clock: 133 MHz
 Max Speed: 3066 MHz
 Current Speed: 1600 MHz
 Status: Populated, Enabled
 Upgrade: ZIF Socket
 L1 Cache Handle: 0x000A
 L2 Cache Handle: 0x000B
 L3 Cache Handle: No L3 Cache

Handle 0x0005, DMI type 5, 24 bytes
Memory Controller Information
 Error Detecting Method: 8-bit Parity
 Error Correcting Capabilities:
  None
 Supported Interleave: One-way Interleave
 Current Interleave: One-way Interleave
 Maximum Memory Module Size: 1024 MB
 Maximum Total Memory Size: 4096 MB
 Supported Speeds:
  Other
 Supported Memory Types:
  Other
 Memory Module Voltage: 5.0 V
 Associated Memory Slots: 4
  0x0006
  0x0007
  0x0008
  0x0009
 Enabled Error Correcting Capabilities:
  None

Handle 0x0006, DMI type 6, 12 bytes
Memory Module Information
 Socket Designation: A0
 Bank Connections: 0 1
 Current Speed: Unknown
 Type: Other
 Installed Size: 2048 MB (Double-bank Connection)
 Enabled Size: 2048 MB (Double-bank Connection)
 Error Status: OK

Handle 0x0007, DMI type 6, 12 bytes
Memory Module Information
 Socket Designation: A1
 Bank Connections: None
 Current Speed: Unknown
 Type: Unknown
 Installed Size: Not Installed
 Enabled Size: Not Installed
 Error Status: OK

Handle 0x0008, DMI type 6, 12 bytes
Memory Module Information
 Socket Designation: A2
 Bank Connections: None
 Current Speed: Unknown
 Type: Unknown
 Installed Size: Not Installed
 Enabled Size: Not Installed
 Error Status: OK

Handle 0x0009, DMI type 6, 12 bytes
Memory Module Information
 Socket Designation: A3
 Bank Connections: None
 Current Speed: Unknown
 Type: Unknown
 Installed Size: Not Installed
 Enabled Size: Not Installed
 Error Status: OK

Handle 0x000A, DMI type 7, 19 bytes
Cache Information
 Socket Designation: Internal Cache
 Configuration: Enabled, Not Socketed, Level 1
 Operational Mode: Write Back
 Location: Internal
 Installed Size: 64 kB
 Maximum Size: 64 kB
 Supported SRAM Types:
  Synchronous
 Installed SRAM Type: Synchronous
 Speed: Unknown
 Error Correction Type: Unknown
 System Type: Unknown
 Associativity: Unknown

Handle 0x000B, DMI type 7, 19 bytes
Cache Information
 Socket Designation: External Cache
 Configuration: Enabled, Not Socketed, Level 2
 Operational Mode: Write Back
 Location: External
 Installed Size: 0 kB
 Maximum Size: 0 kB
 Supported SRAM Types:
  Synchronous
 Installed SRAM Type: Synchronous
 Speed: Unknown
 Error Correction Type: Unknown
 System Type: Unknown
 Associativity: Unknown

Handle 0x000C, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: PRIMARY IDE
 Internal Connector Type: On Board IDE
 External Reference Designator: Not Specified
 External Connector Type: None
 Port Type: Other

Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: SECONDARY IDE
 Internal Connector Type: On Board IDE
 External Reference Designator: Not Specified
 External Connector Type: None
 Port Type: Other

Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: FDD
 Internal Connector Type: On Board Floppy
 External Reference Designator: Not Specified
 External Connector Type: None
 Port Type: 8251 FIFO Compatible

Handle 0x000F, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: COM1
 Internal Connector Type: 9 Pin Dual Inline (pin 10 cut)
 External Reference Designator:
 External Connector Type: DB-9 male
 Port Type: Serial Port 16450 Compatible

Handle 0x0010, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: COM2
 Internal Connector Type: 9 Pin Dual Inline (pin 10 cut)
 External Reference Designator:
 External Connector Type: DB-9 male
 Port Type: Serial Port 16450 Compatible

Handle 0x0011, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: LPT1
 Internal Connector Type: DB-25 female
 External Reference Designator:
 External Connector Type: DB-25 female
 Port Type: Parallel Port ECP/EPP

Handle 0x0012, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: Keyboard
 Internal Connector Type: PS/2
 External Reference Designator:
 External Connector Type: PS/2
 Port Type: Keyboard Port

Handle 0x0013, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: PS/2 Mouse
 Internal Connector Type: PS/2
 External Reference Designator:
 External Connector Type: PS/2
 Port Type: Mouse Port

Handle 0x0014, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: Not Specified
 Internal Connector Type: None
 External Reference Designator: USB0
 External Connector Type: Other
 Port Type: USB

Handle 0x0015, DMI type 8, 9 bytes
Port Connector Information
 Internal Reference Designator: Not Specified
 Internal Connector Type: None
 External Reference Designator: USB1
 External Connector Type: Other
 Port Type: USB

Handle 0x0016, DMI type 9, 13 bytes
System Slot Information
 Designation: PCI0
 Type: 32-bit PCI
 Current Usage: Available
 Length: Long
 ID: 1
 Characteristics:
  5.0 V is provided
  PME signal is supported

Handle 0x0017, DMI type 9, 13 bytes
System Slot Information
 Designation: PCI1
 Type: 32-bit PCI
 Current Usage: Available
 Length: Long
 ID: 2
 Characteristics:
  5.0 V is provided
  PME signal is supported

Handle 0x0018, DMI type 9, 13 bytes
System Slot Information
 Designation: PCI2
 Type: 32-bit PCI
 Current Usage: Available
 Length: Long
 ID: 3
 Characteristics:
  5.0 V is provided
  PME signal is supported

Handle 0x0019, DMI type 9, 13 bytes
System Slot Information
 Designation: PCI3
 Type: 32-bit PCI
 Current Usage: Available
 Length: Long
 ID: 4
 Characteristics:
  5.0 V is provided
  PME signal is supported

Handle 0x001A, DMI type 13, 22 bytes
BIOS Language Information
 Language Description Format: Long
 Installable Languages: 3
  n|US|iso8859-1
  n|US|iso8859-1
  r|CA|iso8859-1
 Currently Installed Language: n|US|iso8859-1

Handle 0x001B, DMI type 16, 15 bytes
Physical Memory Array
 Location: System Board Or Motherboard
 Use: System Memory
 Error Correction Type: None
 Maximum Capacity: 4 GB
 Error Information Handle: Not Provided
 Number Of Devices: 4

Handle 0x001C, DMI type 17, 21 bytes
Memory Device
 Array Handle: 0x001B
 Error Information Handle: Not Provided
 Total Width: 64 bits
 Data Width: 64 bits
 Size: 2048 MB
 Form Factor: DIMM
 Set: None
 Locator: A0
 Bank Locator: Bank0/1
 Type: DDR2
 Type Detail: Synchronous

Handle 0x001D, DMI type 17, 21 bytes
Memory Device
 Array Handle: 0x001B
 Error Information Handle: Not Provided
 Total Width: Unknown
 Data Width: Unknown
 Size: No Module Installed
 Form Factor: DIMM
 Set: None
 Locator: A1
 Bank Locator: Bank2/3
 Type: Unknown
 Type Detail: Unknown

Handle 0x001E, DMI type 17, 21 bytes
Memory Device
 Array Handle: 0x001B
 Error Information Handle: Not Provided
 Total Width: Unknown
 Data Width: Unknown
 Size: No Module Installed
 Form Factor: DIMM
 Set: None
 Locator: A2
 Bank Locator: Bank4/5
 Type: Unknown
 Type Detail: Unknown

Handle 0x001F, DMI type 17, 21 bytes
Memory Device
 Array Handle: 0x001B
 Error Information Handle: Not Provided
 Total Width: Unknown
 Data Width: Unknown
 Size: No Module Installed
 Form Factor: DIMM
 Set: None
 Locator: A3
 Bank Locator: Bank6/7
 Type: Unknown
 Type Detail: Unknown

Handle 0x0020, DMI type 19, 15 bytes
Memory Array Mapped Address
 Starting Address: 0x00000000000
 Ending Address: 0x0007FFFFFFF
 Range Size: 2 GB
 Physical Array Handle: 0x001B
 Partition Width: 1

Handle 0x0021, DMI type 20, 19 bytes
Memory Device Mapped Address
 Starting Address: 0x00000000000
 Ending Address: 0x0007FFFFFFF
 Range Size: 2 GB
 Physical Device Handle: 0x001C
 Memory Array Mapped Address Handle: 0x0020
 Partition Row Position: 1

Handle 0x0022, DMI type 20, 19 bytes
Memory Device Mapped Address
 Starting Address: 0x00000000000
 Ending Address: 0x000000003FF
 Range Size: 1 kB
 Physical Device Handle: 0x001D
 Memory Array Mapped Address Handle: 0x0020
 Partition Row Position: 1

Handle 0x0023, DMI type 20, 19 bytes
Memory Device Mapped Address
 Starting Address: 0x00000000000
 Ending Address: 0x000000003FF
 Range Size: 1 kB
 Physical Device Handle: 0x001E
 Memory Array Mapped Address Handle: 0x0020
 Partition Row Position: 1

Handle 0x0024, DMI type 20, 19 bytes
Memory Device Mapped Address
 Starting Address: 0x00000000000
 Ending Address: 0x000000003FF
 Range Size: 1 kB
 Physical Device Handle: 0x001F
 Memory Array Mapped Address Handle: 0x0020
 Partition Row Position: 1

Handle 0x0025, DMI type 32, 11 bytes
System Boot Information
 Status: No errors detected

Handle 0x0026, DMI type 127, 4 bytes
End Of Table

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: whoopsie 0.1.20
ProcVersionSignature: Ubuntu 3.2.0-20.32-generic 3.2.12
Uname: Linux 3.2.0-20-generic i686
ApportVersion: 1.95-0ubuntu1
Architecture: i386
Date: Fri Mar 23 07:41:24 2012
ProcEnviron:
 TERM=xterm
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: whoopsie-daisy
UpgradeStatus: No upgrade log present (probably fresh install)
WhoopsieLog: Error: [Errno 13] Permission denied: '/var/log/upstart/whoopsie.log'

Related branches

Revision history for this message
Stéphane Graber (stgraber) wrote :
Revision history for this message
Evan (ev) wrote : Re: We need to better handle the system UUID not being present

From IRC:
stgraber: that's one of these small desktop atom systems, so nothing really special about it ... weird it doesn't have a uuid
[11:38am] ev: very odd
[11:38am] ev: I'm tempted to have it generate its own based off a hash algorithm of its choosing in this case
[11:38am] ev: taking what fields are present
[11:39am] ev: can you please create a bug against whoopsie for this with the output of dmidecode attached?
[11:40am] stgraber: I think you could use /proc/sys/kernel/random/boot_id at the time of the first whoopsie start
[11:40am] stgraber: won't work if you clone the system or move it to different hardware though
[11:41am] ev: that's what I'm concerned about
[11:41am] ev: ideally I'd like to have a UUID that's persistent across installations
[11:42am] ev: but I guess without the UUID being set, there's really nothing else in SMBIOS that's unique to that system
[11:42am] ev: hm

summary: - Whoopsie prints "Could not open the product uuid file." during startup
+ We need to better handle the system UUID not being present
Changed in whoopsie-daisy (Ubuntu):
importance: Undecided → Medium
milestone: none → later
status: New → Confirmed
Revision history for this message
James Hunt (jamesodhunt) wrote :

I've just setup a pandaboard (Rev A4) and have this error in /var/log/upstart/whoopsie.log. There is no dmidecode available for armhf by the looks of it.

Revision history for this message
Evan (ev) wrote :

Nope, there's no SMBIOS on ARM.

description: updated
Changed in whoopsie-daisy (Ubuntu):
milestone: later → quantal-alpha-3
summary: - We need to better handle the system UUID not being present
+ We should use the MAC address when the system UUID is not available
Evan (ev)
Changed in whoopsie-daisy (Ubuntu):
assignee: nobody → Evan Dandrea (ev)
status: Confirmed → In Progress
Evan (ev)
Changed in whoopsie-daisy (Ubuntu):
status: In Progress → Fix Committed
Evan (ev)
Changed in whoopsie-daisy (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Evan (ev) wrote :

Keeping this open to track backports to previous releases.

Changed in whoopsie:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Does anyone still want this fixed on 12.04 or we can close it out?

Changed in whoopsie-daisy (Ubuntu Precise):
status: New → Won't Fix
Changed in whoopsie:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.