Updating system BIOS when running Ubuntu

Matt_Domsch at Dell.com Matt_Domsch at Dell.com
Wed Dec 5 14:57:06 CST 2007


You must use sudo to run bootstrap_firmware.  You can't:

# sudo aptitude install $(bootstrap_firmware -a)

You must
# sudo aptitude install $(sudo bootstrap_firmware -a)

Or:
$ sudo bash
# aptitude install $(bootstrap_firmware -a)



--
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux

-----Original Message-----
From: Jensas, Harald 
Sent: Wednesday, December 05, 2007 2:55 PM
To: Domsch, Matt; firmware-tools-devel at lists.us.dell.com
Subject: RE: Updating system BIOS when running Ubuntu

Hi,

I just tested this on one of my systems, it installs just fine however it does not update my bios, I know the actual bios.hdr is in the repository.

System info:
~$ cat /proc/version
Linux version 2.6.22-14-generic (buildd at palmer) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Sun Oct 14 23:05:12 GMT 2007

~$ sudo getSystemId
Libsmbios:    0.13.6
System ID:    0x0157
Service Tag:  H2YMT0J
Express Service Code: 37184403043
Product Name: Dimension 8300
BIOS Version: A06
Vendor:       Dell Computer Corporation
Is Dell:      1

This should upgrade to A07 wich is available in the repo here:
http://linux.dell.com/repo/software/bios-hdrs/system_bios_ven_0x1028_dev_0x0157_version_a07/


Output from adding repo using bootstrap.cgi, installation of firmware-addon-dell, and running bootstrap_firmware -a included below.


Any ideas? Is it me or is something not working?


--
Harald Jensås




~$ wget -q -O - http://linux.dell.com/repo/firmware/bootstrap.cgi | sudo bash
Downloading GPG key: http://linux.dell.com/repo/GPG-KEY-libsmbios
    Importing key.
OK
Get:1 http://se.archive.ubuntu.com gutsy Release.gpg [191B]
Ign http://se.archive.ubuntu.com gutsy/main Translation-en_US
Ign http://se.archive.ubuntu.com gutsy/restricted Translation-en_US
Ign http://se.archive.ubuntu.com gutsy/universe Translation-en_US
Ign http://se.archive.ubuntu.com gutsy/multiverse Translation-en_US
Get:2 http://se.archive.ubuntu.com gutsy-updates Release.gpg [191B]
Ign http://se.archive.ubuntu.com gutsy-updates/main Translation-en_US
Ign http://se.archive.ubuntu.com gutsy-updates/restricted Translation-en_US
Hit http://se.archive.ubuntu.com gutsy Release
Hit http://se.archive.ubuntu.com gutsy-updates Release
Get:3 http://security.ubuntu.com gutsy-security Release.gpg [191B]
Ign http://security.ubuntu.com gutsy-security/main Translation-en_US
Ign http://security.ubuntu.com gutsy-security/restricted Translation-en_US
Ign http://security.ubuntu.com gutsy-security/universe Translation-en_US
Ign http://security.ubuntu.com gutsy-security/multiverse Translation-en_US
Hit http://security.ubuntu.com gutsy-security Release
Hit http://se.archive.ubuntu.com gutsy/main Packages
Hit http://se.archive.ubuntu.com gutsy/restricted Packages
Hit http://se.archive.ubuntu.com gutsy/main Sources
Hit http://se.archive.ubuntu.com gutsy/restricted Sources
Hit http://se.archive.ubuntu.com gutsy/universe Packages
Hit http://security.ubuntu.com gutsy-security/main Packages
Hit http://se.archive.ubuntu.com gutsy/universe Sources
Hit http://se.archive.ubuntu.com gutsy/multiverse Packages
Hit http://se.archive.ubuntu.com gutsy/multiverse Sources
Hit http://se.archive.ubuntu.com gutsy-updates/main Packages
Hit http://se.archive.ubuntu.com gutsy-updates/restricted Packages
Hit http://se.archive.ubuntu.com gutsy-updates/main Sources
Get:4 http://linux.dell.com cross-distro Release.gpg [189B]
Ign http://linux.dell.com cross-distro/dell-firmware Translation-en_US
Get:5 http://linux.dell.com gutsy Release.gpg [189B]
Ign http://linux.dell.com gutsy/dell-software Translation-en_US
Hit http://se.archive.ubuntu.com gutsy-updates/restricted Sources
Hit http://security.ubuntu.com gutsy-security/restricted Packages
Hit http://security.ubuntu.com gutsy-security/main Sources
Hit http://security.ubuntu.com gutsy-security/restricted Sources
Hit http://security.ubuntu.com gutsy-security/universe Packages
Hit http://security.ubuntu.com gutsy-security/universe Sources
Hit http://security.ubuntu.com gutsy-security/multiverse Packages
Hit http://security.ubuntu.com gutsy-security/multiverse Sources
Hit http://linux.dell.com cross-distro Release
Hit http://linux.dell.com gutsy Release
Hit http://linux.dell.com cross-distro/dell-firmware Packages
Hit http://linux.dell.com gutsy/dell-software Packages
Hit http://linux.dell.com gutsy/dell-software Sources
Fetched 5B in 0s (6B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
Get:1 http://se.archive.ubuntu.com gutsy Release.gpg [191B]
Ign http://se.archive.ubuntu.com gutsy/main Translation-en_US
Ign http://se.archive.ubuntu.com gutsy/restricted Translation-en_US
Ign http://se.archive.ubuntu.com gutsy/universe Translation-en_US
Ign http://se.archive.ubuntu.com gutsy/multiverse Translation-en_US
Get:2 http://se.archive.ubuntu.com gutsy-updates Release.gpg [191B]
Ign http://se.archive.ubuntu.com gutsy-updates/main Translation-en_US
Ign http://se.archive.ubuntu.com gutsy-updates/restricted Translation-en_US
Hit http://se.archive.ubuntu.com gutsy Release
Get:3 http://security.ubuntu.com gutsy-security Release.gpg [191B]
Ign http://security.ubuntu.com gutsy-security/main Translation-en_US
Ign http://security.ubuntu.com gutsy-security/restricted Translation-en_US
Hit http://se.archive.ubuntu.com gutsy-updates Release
Ign http://security.ubuntu.com gutsy-security/universe Translation-en_US
Ign http://security.ubuntu.com gutsy-security/multiverse Translation-en_US
Hit http://se.archive.ubuntu.com gutsy/main Packages
Hit http://se.archive.ubuntu.com gutsy/restricted Packages
Hit http://se.archive.ubuntu.com gutsy/main Sources
Hit http://security.ubuntu.com gutsy-security Release
Hit http://se.archive.ubuntu.com gutsy/restricted Sources
Hit http://se.archive.ubuntu.com gutsy/universe Packages
Hit http://se.archive.ubuntu.com gutsy/universe Sources
Hit http://se.archive.ubuntu.com gutsy/multiverse Packages
Hit http://se.archive.ubuntu.com gutsy/multiverse Sources
Hit http://se.archive.ubuntu.com gutsy-updates/main Packages
Hit http://se.archive.ubuntu.com gutsy-updates/restricted Packages
Hit http://se.archive.ubuntu.com gutsy-updates/main Sources
Hit http://se.archive.ubuntu.com gutsy-updates/restricted Sources
Hit http://security.ubuntu.com gutsy-security/main Packages
Hit http://security.ubuntu.com gutsy-security/restricted Packages
Hit http://security.ubuntu.com gutsy-security/main Sources
Hit http://security.ubuntu.com gutsy-security/restricted Sources
Get:4 http://linux.dell.com cross-distro Release.gpg [189B]
Ign http://linux.dell.com cross-distro/dell-firmware Translation-en_US
Get:5 http://linux.dell.com gutsy Release.gpg [189B]
Ign http://linux.dell.com gutsy/dell-software Translation-en_US
Hit http://security.ubuntu.com gutsy-security/universe Packages
Hit http://security.ubuntu.com gutsy-security/universe Sources
Hit http://security.ubuntu.com gutsy-security/multiverse Packages
Hit http://security.ubuntu.com gutsy-security/multiverse Sources
Hit http://linux.dell.com cross-distro Release
Hit http://linux.dell.com gutsy Release
Hit http://linux.dell.com cross-distro/dell-firmware Packages
Hit http://linux.dell.com gutsy/dell-software Packages
Hit http://linux.dell.com gutsy/dell-software Sources
Fetched 5B in 0s (5B/s)
Reading package lists... Done
Done!



~$ sudo aptitude install firmware-addon-dell
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following NEW packages will be automatically installed:
  firmware-tools libbeecrypt6 librpm4 python-rpm
The following NEW packages will be installed:
  firmware-addon-dell firmware-tools libbeecrypt6 librpm4 python-rpm
0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1754kB of archives. After unpacking 4641kB will be used.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
Selecting previously deselected package libbeecrypt6.
(Reading database ... 149765 files and directories currently installed.)
Unpacking libbeecrypt6 (from .../libbeecrypt6_4.1.2-6build1_i386.deb) ...
Selecting previously deselected package librpm4.
Unpacking librpm4 (from .../librpm4_4.4.1-14.1ubuntu2_i386.deb) ...
Selecting previously deselected package python-rpm.
Unpacking python-rpm (from .../python-rpm_4.4.1-14.1ubuntu2_i386.deb) ...
Selecting previously deselected package firmware-tools.
Unpacking firmware-tools (from .../firmware-tools_1.5.10-0ubuntu4~gutsy1_all.deb) ...
Selecting previously deselected package firmware-addon-dell.
Unpacking firmware-addon-dell (from .../firmware-addon-dell_1.4.10-0ubuntu2~gutsy1_all.deb) ...
Setting up libbeecrypt6 (4.1.2-6build1) ...

Setting up librpm4 (4.4.1-14.1ubuntu2) ...

Setting up python-rpm (4.4.1-14.1ubuntu2) ...

Setting up firmware-tools (1.5.10-0ubuntu4~gutsy1) ...

Setting up firmware-addon-dell (1.4.10-0ubuntu2~gutsy1) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done




~$ sudo aptitude install $(bootstrap_firmware -a)
error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
Couldn't find any package whose name or description matched "pci-firmware-ven-0x8086-dev-0x2578-subven-0x1028-subdev-0x0157"
Couldn't find any package whose name or description matched "pci-firmware-ven-0x8086-dev-0x2579"
Couldn't find any package whose name or description matched "pci-firmware-ven-0x8086-dev-0x257e"
Couldn't find any package whose name or description matched "pci-firmware-ven-0x8086-dev-0x24d2-subven-0x1028-subdev-0x0157"
Couldn't find any package whose name or description matched "pci-firmware-ven-0x8086-dev-0x24d4-subven-0x1028-subdev-0x0157"
Couldn't find any package whose name or description matched "pci-firmware-ven-0x8086-dev-0x24d7-subven-0x1028-subdev-0x0157"
Couldn't find any package whose name or description matched "pci-firmware-ven-0x8086-dev-0x24de-subven-0x1028-subdev-0x0157"
Couldn't find any package whose name or description matched "pci-firmware-ven-0x8086-dev-0x24dd-subven-0x1028-subdev-0x0157"
Couldn't find any package whose name or description matched "pci-firmware-ven-0x8086-dev-0x244e"
Couldn't find any package whose name or description matched "pci-firmware-ven-0x8086-dev-0x24d0"
Couldn't find any package whose name or description matched "pci-firmware-ven-0x8086-dev-0x24db-subven-0x1028-subdev-0x0157"
Couldn't find any package whose name or description matched "pci-firmware-ven-0x8086-dev-0x24d1-subven-0x1028-subdev-0x0157"
Couldn't find any package whose name or description matched "pci-firmware-ven-0x8086-dev-0x24d3-subven-0x1028-subdev-0x0157"
Couldn't find any package whose name or description matched "pci-firmware-ven-0x10de-dev-0x0322-subven-0x10de-subdev-0x01b9"
Couldn't find any package whose name or description matched "pci-firmware-ven-0x14f1-dev-0x2702-subven-0x1043-subdev-0x8d89"
Couldn't find any package whose name or description matched "pci-firmware-ven-0x1102-dev-0x0004-subven-0x1102-subdev-0x1003"
Couldn't find any package whose name or description matched "pci-firmware-ven-0x1102-dev-0x4001-subven-0x1102-subdev-0x0010"
Couldn't find any package whose name or description matched "pci-firmware-ven-0x105a-dev-0x3371-subven-0x1028-subdev-0x3371"
Couldn't find any package whose name or description matched "pci-firmware-ven-0x8086-dev-0x1050-subven-0x1028-subdev-0x0157"
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done





> -----Original Message-----
> From: linux-poweredge-bounces at dell.com [mailto:linux-poweredge-
> bounces at dell.com] On Behalf Of Matt Domsch
> Sent: 05 December 2007 20:18
> To: linux-poweredge-Lists
> Subject: Updating system BIOS when running Ubuntu
> 
> I've published firmware-tools deb packages, and the latest system BIOS
> images for 223 Dell system types, into a new repository on
> linux.dell.com.  Please see
>   http://linux.dell.com/wiki/index.php/Repository/firmware
> for instructions in how to use them.  In a nutshell, for Ubuntu
> systems with Feisty, Gutsy, or Hardy, be sure the Universe section is
> enabled in /etc/apt/sources.list, then run as root:
> 
>   wget -q -O - http://linux.dell.com/repo/firmware/bootstrap.cgi | bash
>   aptitude install firmware-addon-dell
>   aptitude install $(bootstrap_firmware -a)
>   update_firmware
> 
> The bootstrap command downloads a GPG key for use in validating the
> linux.dell.com repository, and sets up the dell-firmware and
> dell-software sections for use by apt.
> 
> A reboot is required for the flash to actually happen.
> 
> 
> There are two packages needed for this which are currently under
> review by the MOTU team.  They can be found at:
>   http://revu.tauware.de/details.py?package=firmware-tools
>   http://revu.tauware.de/details.py?package=firmware-addon-dell
> 
> 
> We have had this service available for quite a while for several
> RPM-based distributions.  We're pleased to be able to bring this to
> the dpkg-based distributions now as well.
> 
> Thanks,
> Matt
> 
> --
> Matt Domsch
> Linux Technology Strategist, Dell Office of the CTO
> linux.dell.com & www.dell.com/linux
> 
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq



More information about the firmware-tools-devel mailing list