[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#741692: flash-kernel: "Machine:" case inconsistency in all.db and kirkwood-dockstar.dtb



Package: flash-kernel
Version: 3.13
Severity: important
Tags: patch

For the Seagate Dockstar there is a case inconsistency between the entry in all.db and (at least) linux-image-3.12-1-kirkwood's /usr/lib/linux-image-3.12-1-kirkwood/kirkwood-dockstar.dtb. This inconsistency causes flash-kernel to return "Unsupported platform." and interrupt kernel upgrades.

Specifically, when booted via a FDT kernel using the linux-image-3.12-1-kirkwood kirkwood-dockstar.dtb, the value of /proc/device-tree/model is "Seagate FreeAgent Dockstar" and the relevant entry in all.db is "Machine: Seagate FreeAgent DockStar". Note the capitalized S in "DockStar" in all.db and the lower-case S in "Dockstar" in the kernel's dtb.

A patch which allowed my upgrade to succeed is:

--- all.db.old	      2014-03-15 13:24:12.698274452 -0400
+++ all.db	      2014-03-15 13:24:37.475956839 -0400
@@ -375,6 +375,7 @@
 Required-Packages: u-boot-tools
 Bootloader-Sets-Incorrect-Root: yes
 
+Machine: Seagate FreeAgent Dockstar
 Machine: Seagate FreeAgent DockStar
 Kernel-Flavors: kirkwood
 U-Boot-Kernel-Address: 0x00008000



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: armel (armv5tel)

Kernel: Linux 3.12-1-kirkwood
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages flash-kernel depends on:
ii  devio            1.2-1+b1
ii  initramfs-tools  0.115
ii  linux-base       3.5

flash-kernel recommends no packages.

Versions of packages flash-kernel suggests:
ii  u-boot-tools  2014.01-2

-- no debconf information


Reply to: