Bug#844749: live-build: Jessie image with backported kernel (linux-image-4.7.0-0.bpo.1-amd64) doesn't boot

2016-11-19 Thread Igor Starkov
> Igor Starkov:
>>[2.974235] FAT-fs (sda1): IO charset ascii not found
>>mount: mounting /dev/sda1 on /live/medium failed: Invalid argument
>>     skipped similar lines 
>>[   63.554664] FAT-fs (sda1): IO charset ascii not found
>>mount: mounting /dev/sda1 on /live/medium failed: Invalid argument
>
> Try adding a "nls_ascii" line (without quotes) in
> /etc/initramfs-tools/modules.
>
>

After "lb config" I did:

mkdir -p config/includes.chroot/etc/initramfs-tools/
echo "nls_ascii" > config/includes.chroot/etc/initramfs-tools/modules

Then I've builded image. Error has changed:

---
[2.283298] usbcore: registered new interface driver usb-storage
Begin: Running /scripts/live-realpremount ..  done.
Begin: Mounting "/live/medium/live/filesystem.squashfs" on
"//filesystem.squashfs" via "/dev/loop0".   done.
[2.928209] clocksource: Switched to clocksource tsc


BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs) mount: mounting /dev/sda on /live/persistence/sda failed: No
such device
mount: mounting aufs on /root/ failed: No such device
mount aufs on /root/ failed with option -o
noatime,noxino,dirs=/live/overlay/=rw://filesystem.squashfs/=rr+wh
modprobe: module ehci-orion not found in modules.dep

(initramfs)
---

But still no luck.



Bug#844749: live-build: Jessie image with backported kernel (linux-image-4.7.0-0.bpo.1-amd64) doesn't boot

2016-11-18 Thread Igor Starkov
Package: live-build
Version: 4.0.3-1
Severity: important

Dear Maintainer,

   * I'm trying to build live Jessie image with backported kernel. 
 Kernel version: linux-image-4.7.0-0.bpo.1-amd64

   * Steps to reproduce:
   lb config noauto \
--apt-indices false \
--apt-source-archives false \
--architectures amd64 \
--bootstrap debootstrap \
--backports true \
--linux-packages linux-image-4.7.0-0.bpo.1 \
--debian-installer false \
--system live \
--iso-application "x" \
--iso-publisher "x" \
--iso-volume "x" \
--archive-areas "main contrib non-free" \
--source false \
--memtest none \
--verbose \
--debug \
--win32-loader false \
--updates true \
--firmware-chroot true \
--firmware-binary true \
--bootappend-live "boot=live config live-config.utc=no" \
--binary-filesystem fat32 \
--binary-images hdd \
--zsync false 
   
   echo "linux-base/jessie-backports" > 
config/package-lists/jessie-backports.list.chroot
   lb build 2>&1 | tee build.log
   
   Then I was trying to boot kvm from this image.

   * This leads to:
   Image boots, then after a while during booting kernel and initrd I see 
messages like this:
   ---
   [2.971437] cloclsource: Switched to clocksource tsc
   [2.974235] FAT-fs (sda1): IO charset ascii not found
   mount: mounting /dev/sda1 on /live/medium failed: Invalid argument
    skipped similar lines 
   [   63.554664] FAT-fs (sda1): IO charset ascii not found
   mount: mounting /dev/sda1 on /live/medium failed: Invalid argument
   ---
   and boot process exits to initrd's BusyBox prompt.

   * Expected result:
   Normal kernel boot process, leading to bash prompt.

   I've changed /usr/lib/live/build/binary_hdd file, but this was nesessary to 
fix other bug in debian-live:
   
https://lists.debian.org/debian-live/2014/12/msg00122.htmlhttps://lists.debian.org/debian-live/2014/12/msg00122.html

-- Package-specific info:

-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages live-build depends on:
ii  debootstrap  1.0.67

Versions of packages live-build recommends:
ii  cpio2.11+dfsg-4.1+deb8u1
ii  live-boot-doc   4.0.2-1
ii  live-config-doc 4.0.4-1
ii  live-manual-html [live-manual]  1:4.0.1-1

live-build suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/lib/live/build/binary_hdd (from live-build package)