← 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



you are right,  using python-dmidecode brings up extra maintain efforts,
so the solution I could image now is only trying to parse this out in

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to dmidecode in Ubuntu.

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

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

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: