Processed: Re: Bug#870430: linux-image-4.9.0-3-marvell: Couldn't find DTB in /usr/lib/linux-image-4.9.0-3-marvell or /etc/flash-kernel/dtbs

2017-08-02 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 src:flash-kernel 3.79
Bug #870430 [src:linux] linux-image-4.9.0-3-marvell: Couldn't find DTB  in 
/usr/lib/linux-image-4.9.0-3-marvell or /etc/flash-kernel/dtbs
Bug reassigned from package 'src:linux' to 'src:flash-kernel'.
No longer marked as found in versions linux/4.9.30-2+deb9u2.
Ignoring request to alter fixed versions of bug #870430 to the same values 
previously set
Bug #870430 [src:flash-kernel] linux-image-4.9.0-3-marvell: Couldn't find DTB  
in /usr/lib/linux-image-4.9.0-3-marvell or /etc/flash-kernel/dtbs
Marked as found in versions flash-kernel/3.79.

-- 
870430: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870430
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#870430: linux-image-4.9.0-3-marvell: Couldn't find DTB in /usr/lib/linux-image-4.9.0-3-marvell or /etc/flash-kernel/dtbs

2017-08-02 Thread Ian Campbell
Control: reassign -1 src:flash-kernel 3.79

On Tue, 2017-08-01 at 23:39 +0200, noone never wrote:
> Package: src:linux
> Version: 4.9.30-2+deb9u2
> Severity: important
> Dear Maintainer,
> 
> When I dist-upgrade my Sheevaplug from jessie to stretch, I get this error:
> Couldn't find DTB  in /usr/lib/linux-image-4.9.0-3-marvell or 
> /etc/flash-kernel/dtbs
> The file /usr/lib/linux-image-4.9.0-3-marvell does exist in the filesystem.
> [...]
> /usr/share/flash-kernel/functions: line 155: warning: command substitution: 
> ignored null byte in input
> I: The initramfs will attempt to resume from /dev/sda3
> I: (UUID=6fcd0aea-6301-4c47-a3fd-9f5eb2c1f8b5)
> I: Set the RESUME variable to override this.
> W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
> /usr/share/flash-kernel/functions: line 155: warning: command substitution: 
> ignored null byte in input
> Using DTB: kirkwood-sheevaplug.dtb
> Couldn't find DTB  in /usr/lib/linux-image-4.9.0-3-marvell or 
> /etc/flash-kernel/dtbs

These errors are from the flash-kernel hook rather than the kernel
package. You seem to be running stable so I have tagged it as being in
the stable version (3.79) and reassigned. Please let me know if this is
an incorrect assumption.

It says it is looking for "kirkwood-sheevaplug.dtb" and from [0] the
file /usr/lib/linux-image-4.9.0-3-marvell/kirkwood-sheevaplug.dtb is
present in the package -- I suppose it is also present on your
filesystem?

The message:
Couldn't find DTB  in /usr/lib/linux-image-4.9.0-3-marvell or 
/etc/flash-kernel/dtbs
is interesting since the double space in "DTB  in" is supposed to
contain $dtb_name, i.e. the path to look for, but it doesn't not.
Please could you attach the full output of running `sh -x
/usr/sbin/flash-kernel`, maybe that will include a clue as to where
things have gone astray.

There is also the warning from line 155 of `functions` is
`machine="$(get_dt_model)"` where:
PROC_DTMODEL="${FK_PROC_DRMODEL:-/proc/device-tree/model}"
[...]
get_dt_model() {
cat "$PROC_DTMODEL"
}

Assuming you haven't had cause to override FK_PROC_DRMODEL (note typo
in there), does /proc/device-tree/model exist on your system, and if so
what does it contain? The output of `cat -vet /proc/device-tree/model`
might be informative since it will escape any special characters and
make them visible. I suspect this is a harmless trailing nul and it
seems like it is correctly deciding to use kirkwood-sheevaplug.dtb so
this "ignored null byte" message may just be a benign warning.

Ian.

[0] 
https://packages.debian.org/stretch/armel/linux-image-4.9.0-3-marvell/filelist



Bug#870430: linux-image-4.9.0-3-marvell: Couldn't find DTB in /usr/lib/linux-image-4.9.0-3-marvell or /etc/flash-kernel/dtbs

2017-08-01 Thread noone never
Package: src:linux
Version: 4.9.30-2+deb9u2
Severity: important
Dear Maintainer,

When I dist-upgrade my Sheevaplug from jessie to stretch, I get this error:
Couldn't find DTB  in /usr/lib/linux-image-4.9.0-3-marvell or 
/etc/flash-kernel/dtbs
The file /usr/lib/linux-image-4.9.0-3-marvell does exist in the filesystem.
 
Truncated log:
apt-get dist-upgrade
...
4 not fully installed or removed.
...
Setting up initramfs-tools (0.130) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-4.9.0-3-marvell (4.9.30-2+deb9u2) ...
/etc/kernel-img.conf:4: W: ignoring unknown parameter relative_links
/etc/kernel-img.conf:6: W: ignoring unknown parameter do_bootfloppy
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.9.0-3-marvell
/usr/share/flash-kernel/functions: line 155: warning: command substitution: 
ignored null byte in input
I: The initramfs will attempt to resume from /dev/sda3
I: (UUID=6fcd0aea-6301-4c47-a3fd-9f5eb2c1f8b5)
I: Set the RESUME variable to override this.
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
/usr/share/flash-kernel/functions: line 155: warning: command substitution: 
ignored null byte in input
Using DTB: kirkwood-sheevaplug.dtb
Couldn't find DTB  in /usr/lib/linux-image-4.9.0-3-marvell or 
/etc/flash-kernel/dtbs
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-4.9.0-3-marvell (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-marvell:
 linux-image-marvell depends on linux-image-4.9.0-3-marvell; however:
  Package linux-image-4.9.0-3-marvell is not configured yet.

dpkg: error processing package linux-image-marvell (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-kirkwood:
 linux-image-kirkwood depends on linux-image-marvell; however:
  Package linux-image-marvell is not configured yet.
dpkg: error processing package linux-image-kirkwood (--configure):
 dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.9.0-3-marvell
/usr/share/flash-kernel/functions: line 155: warning: command substitution: 
ignored null byte in input
I: The initramfs will attempt to resume from /dev/sda3
I: (UUID=6fcd0aea-6301-4c47-a3fd-9f5eb2c1f8b5)
I: Set the RESUME variable to override this.
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
/usr/share/flash-kernel/functions: line 155: warning: command substitution: 
ignored null byte in input
Using DTB: kirkwood-sheevaplug.dtb
Couldn't find DTB  in /usr/lib/linux-image-4.9.0-3-marvell or 
/etc/flash-kernel/dtbs
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 linux-image-4.9.0-3-marvell
 linux-image-marvell
 linux-image-kirkwood
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
 
 
-- Package-specific info:
** Kernel log: boot messages should be attached
** Model information
Hardware: Marvell Kirkwood (Flattened Device Tree)
Revision: 
Device Tree model: Globalscale Technologies SheevaPlug
** PCI devices:
** USB devices:
Bus 001 Device 002: ID 1a4a:1670 Silicon Image 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (600, 'stable')
Architecture: armel (armv5tel)
Kernel: Linux 3.16.0-4-kirkwood
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages linux-image-4.9.0-3-marvell depends on:
ih  initramfs-tools [linux-initramfs-tool]  0.130
ii  kmod23-2
ii  linux-base  4.5
Versions of packages linux-image-4.9.0-3-marvell recommends:
ii  firmware-linux-free  3.4
ii  u-boot-tools 2016.11+dfsg1-4
Versions of packages linux-image-4.9.0-3-marvell suggests:
pn  debian-kernel-handbook  
pn  linux-doc-4.9   
Versions of packages linux-image-4.9.0-3-marvell is related to:
pn  firmware-amd-graphics 
pn  firmware-atheros  
pn  firmware-bnx2 
pn  firmware-bnx2x
pn  firmware-brcm80211
pn  firmware-cavium   
pn  firmware-intel-sound  
pn  firmware-intelwimax   
pn  firmware-ipw2x00  
pn  firmware-ivtv 
pn  firmware-iwlwifi  
pn  firmware-libertas 
pn  firmware-linux-nonfree
pn  firmware-misc-nonfree 
pn  firmware-myricom  
pn  firmwar