← Back to team overview

kernel-packages team mailing list archive

[Bug 1236233] Re: BIOS that SMIBIOS is not fuly supported by dmidecode causes image autmatic installation fail

 

dmidecode really ought to print this message to stderr, not stdout (at
least when the -s option is in use, indicating a desire for machine-
readable output; there might be backward-compatibility concerns with
changing it in general).  That would be much less fragile than trying to
parse this out in ubiquity.

** Also affects: dmidecode (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to dmidecode in Ubuntu.
https://bugs.launchpad.net/bugs/1236233

Title:
  BIOS that SMIBIOS is not fuly supported by dmidecode causes image
  autmatic installation fail

Status in OEM Priority Project:
  New
Status in OEM Priority Project precise series:
  New
Status in OEM Priority Project saucy series:
  New
Status in “dmidecode” package in Ubuntu:
  New
Status in “ubiquity” package in Ubuntu:
  New

Bug description:
  Image: Ubuntu 12.04 LTS

  The suffix of hostname is too long and makes ubiqutiy automatic installation failed
  because suffix contains the warring message of dmidecode.

  Here is the error message in /var/log/installer/debug when installtion
  is failed.

  Traceback (most recent call last):
    File "/usr/lib/ubiquity/plugins/ubi-usersetup.py", line 394, in info_loop
      self.hostname_error(make_error_string(self.controller, errors))
    File "/usr/lib/ubiquity/plugins/ubi-usersetup.py", line 69, in make_error_string
      return "\n".join([controller.get_string(error) for error in errors])
  TypeError: sequence item 0: expected string, NoneType found

  In automation installtion, ubiquity uses product name from BIOS as hostname suffix by 
  parsing dmidecode output, but if a SMBIOS version is large thatn the version dmidecode supported,
  the output of `dmidecode -s system-product-name` or `dmidecode -s system-version` 
  contains the following warring message, so that hostname suffix is invalid.

  The warring message is

  ````
  # SMBIOS implementations newer than version 2.7 are not
  # fully supported by this version of dmidecode.
  ````

  **** Additional information:

  ubiquity package version:

  ii ubiquity 2.10.26 Ubuntu live CD installer
  ii ubiquity-casper 1.315.1 Configuration hooks for live installer
  ii ubiquity-frontend-gtk 2.10.26 GTK+ frontend for Ubiquity live installer
  ii ubiquity-plugin-apt-setup 1.1 Ubiquity plugin - apt-setup
  ii ubiquity-slideshow-ubuntu 58.2 Ubiquity slideshow for Ubuntu
  ii ubiquity-ubuntu-artwork 2.10.26 Ubuntu artwork for Ubiquity live installer

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1236233/+subscriptions