Processed: tagging 838310

2016-10-02 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 838310 + patch
Bug #838310 [keyboard-configuration] keyboard-configuration: user configuration 
lost + error message from setupcon
Added tag(s) patch.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
838310: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838310
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#838310: keyboard-configuration: user configuration lost + error message from setupcon

2016-10-02 Thread gregor herrmann
On Thu, 22 Sep 2016 18:31:17 +0200, Vincent Lefevre wrote:

> On 2016-09-22 18:42:21 +0300, Anton Zinoviev wrote:
> > On Thu, Sep 22, 2016 at 02:17:54PM +0200, Sven Joachim wrote:
> > > I'm pretty sure it is.  The list of keyboard models is generated by
> > > running "./kbdnames-maker KeyboardNames.pl" from the Keyboard/
> > > directory, and currently this command does not print anything.  I
> > > tracked the problem down to the removal of the current directory from
> > > @INC in perl, running "perl -I. kbdnames-maker KeyboardNames.pl" gives
> > > the long list of keyboard models again.
> > 
> > Conceivably, the fix will be trivial.  I don't know if the following 
> > will fix the bug and if this is the right thing to do, but it seems 
> > simple to change the first line
> > 
> > #!/usr/bin/perl
> > 
> > of Keyboard/kbdcompiler and Keyboard/kbdnames-maker to
> > 
> > #!/usr/bin/perl -I.
> 
> This solves the issue for the keyboard-configuration.config file.
> 
> This also introduces the following change in
> "/usr/share/console-setup/kbdnames-maker":
> 
> @@ -1,4 +1,4 @@
> -#!/usr/bin/perl
> +#!/usr/bin/perl -I.
>  
>  use warnings 'all';
>  use strict;

Here's a different patch which is longer but more targetted. It
prefixes the argument to kbdnames-maker and kbdcompiler with ./
everywhere I found them and also changes the fallback values in the
two scripts (although I'm not sure this second part is needed).

Comparing the build logs (and build duration :)) and the resulting
packages (with debdiff and diffoscope) looks promising.

I also installed console-setup_1.151_all.deb,
console-setup-linux_1.151_all.deb, and
keyboard-configuration_1.151_all.deb and it didn't change my
/etc/default/keyboard (or /var/cache/debconf/config.dat). [0]

HTH,
gregor


[0] What did change in /etc is:

diff --git a/console-setup/cached_setup_keyboard.sh 
b/console-setup/cached_setup_keyboard.sh
index dc50c88..5fc1fa1 100755
--- a/console-setup/cached_setup_keyboard.sh
+++ b/console-setup/cached_setup_keyboard.sh
@@ -10,4 +10,4 @@ kbd_mode '-u' < '/dev/tty3'
 kbd_mode '-u' < '/dev/tty4' 
 kbd_mode '-u' < '/dev/tty5' 
 kbd_mode '-u' < '/dev/tty6' 
-loadkeys '/tmp/tmpkbd.4jYCsa' > '/dev/null' 
+loadkeys '/tmp/tmpkbd.HiTF3M' > '/dev/null' 


-- 
 .''`.  Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Eric Clapton: Running On Faith
diff -Nru console-setup-1.150/CHANGES console-setup-1.151/CHANGES
--- console-setup-1.150/CHANGES 2016-09-21 09:16:22.0 +0200
+++ console-setup-1.151/CHANGES 2016-10-02 17:37:46.0 +0200
@@ -1,3 +1,12 @@
+console-setup (1.151) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+!!! With wrong number as the package FTBFS with 1.150+nmu1 !!!
+  * Fix "user configuration lost + error message from setupcon":
+(Closes: #838310)
+
+ -- gregor herrmann   Sun, 02 Oct 2016 17:37:46 +0200
+
 console-setup (1.150) unstable; urgency=medium
 
   [ Updated translations ]
diff -Nru console-setup-1.150/Keyboard/Makefile 
console-setup-1.151/Keyboard/Makefile
--- console-setup-1.150/Keyboard/Makefile   2016-05-19 05:01:09.0 
+0200
+++ console-setup-1.151/Keyboard/Makefile   2016-10-02 17:37:46.0 
+0200
@@ -17,12 +17,12 @@
 $./%.ekmap : model = $(notdir $(@:%.ekmap=%))
 $./%.ekmap :
(cd $(kbddir) && \
-   ./kbdcompiler $(model) KeyboardNames.pl $(xkbdir)) >$@
+   ./kbdcompiler $(model) ./KeyboardNames.pl $(xkbdir)) >$@
 
 $./%.ekbd : model = $(notdir $(@:%.ekbd=%))
 $./%.ekbd :
(cd $(kbddir) && \
-   ./kbdcompiler freebsd-$(model) KeyboardNames.pl $(xkbdir)) >$@
+   ./kbdcompiler freebsd-$(model) ./KeyboardNames.pl $(xkbdir)) >$@
 
 $./charmap_functions.sh : $(acmfiles)
$(kbddir)/make_charmap_functions $(kbddir)/../acm $(charmaps) >$@
diff -Nru console-setup-1.150/Keyboard/kbdcompiler 
console-setup-1.151/Keyboard/kbdcompiler
--- console-setup-1.150/Keyboard/kbdcompiler2016-05-19 05:01:09.0 
+0200
+++ console-setup-1.151/Keyboard/kbdcompiler2016-10-02 17:37:46.0 
+0200
@@ -11,7 +11,7 @@
 if ($ARGV[1]) {
$file = $ARGV[1];
 } else {
-   $file = 'KeyboardNames.pl';
+   $file = './KeyboardNames.pl';
 }
 do "$file";
 }
diff -Nru console-setup-1.150/Keyboard/kbdnames-maker 
console-setup-1.151/Keyboard/kbdnames-maker
--- console-setup-1.150/Keyboard/kbdnames-maker 2016-03-03 05:01:15.0 
+0100
+++ console-setup-1.151/Keyboard/kbdnames-maker 2016-10-02 17:37:46.0 
+0200
@@ -10,7 +10,7 @@
 if ($ARGV[0]) {
$file = $ARGV[0];
 } else {
-   $file = 'KeyboardNames.pl';
+   $file = './KeyboardNames.pl';
 }
 do "$file";
 }
diff -Nru console-setup-1.150/debian/changelog 
console-setup-1.151/debian/changelog
--- console-setup

Bug#839595: flash-kernel: Please add support for SolidRun Clearfog

2016-10-02 Thread Christoph Egger
Package: flash-kernel
Version: 3.69
Severity: wishlist

Hi!

Please consider adding clearfog support. The system works fine with
mainline u-boot + kernel. Hopefully I have added all necessary
information below:

| Machine: SolidRun Clearfog A1
| Kernel-Flavors: armmp armmp-lpae
| DTB-Id: armada-388-clearfog.dtb
| Required-Packages: u-boot-tools

| # fw_printenv
| baudrate=115200
| bootargs=console=ttyS0,115200n8 rootdelay=10 bootwait=10 rootwait=10 
root=/dev/mmcblk0p1
| bootcmd=ext4load mmc 0:2 0x10 dtb ; ext4load mmc 0:2 0x80 
vmlinuz-4.7.0-1-armmp ; ext4load mmc 0:2 0x180 
initrd.img-4.7.0-1-armmp.uimage ; bootz 0x80 0x180 0x10
| dnsip=10.100.3.2
| eth1addr=48:5b:39:c9:ec:74
| eth2addr=48:5b:39:c9:ec:75
| eth3addr=48:5b:39:c9:ec:76
| ethact=ethernet@3
| ethprime=egiga1
| fdt_high=0x1000
| fdtcontroladdr=3fb51e58
| fileaddr=10
| filesize=4961
| gatewayip=10.100.3.1
| initrd_high=0x1000
| ipaddr=10.100.3.3
| netmask=255.255.255.224
| serverip=10.100.3.2
| stderr=serial@12000
| stdin=serial@12000
| stdout=serial@12000
| bootdelay=5

| # cat /etc/fw_env.config
| /dev/mmcblk0 0xf 0x1 0x1000

Regards

  Christoph

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: armhf (armv7l)

Kernel: Linux 4.7.0-1-armmp (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages flash-kernel depends on:
ii  debconf [debconf-2.0]  1.5.59
ii  devio  1.2-1.2
ii  initramfs-tools0.125
ii  linux-base 4.5
ii  mtd-utils  1:1.5.2-1
ii  ucf3.0036

Versions of packages flash-kernel recommends:
ii  u-boot-tools  2016.03+dfsg1-6

flash-kernel suggests no packages.

-- debconf information excluded

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer



Bug#839582: USB-Keyboard don't work at Banana Pi

2016-10-02 Thread Bernhard
Package: installation-reports

Boot method: SD-Card image
Image version: Created SD-Card with these two images:

> https://d-i.debian.org/daily-images/armhf/20161002-00:16/netboot/SD-c
> ard-images/firmware.BananaPi.img.gz
https://d-i.debian.org/daily-images/armhf/20161002-00:16/netboot/SD-c
> ard-images/partition.img.gz

Date: 2016-10-02

Machine: Banana Pi
Processor: Allwinner A20
Memory: 1GB

Partitions: -

Output of lspci -knn: -

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:   [O]
Detect network card:[ ]
Configure network:  [ ]
Detect CD:  [ ]
Load installer modules: [ ]
Detect hard drives: [ ]
Partition hard drives:  [ ]
Install base system:[ ]
Clock/timezone setup:   [ ]
User/password setup:[ ]
Install tasks:  [ ]
Install boot loader:[ ]
Overall install:[E]

Comments/Problems:

The initial boot with UBoot was successfully.
Within UBoot, the connected USB-Keyboard works.

After booting to the installer, the USB-Keyboard don't work anymore.

This looks like the behaviour described in bug report #809521.

Thank you.

Best regards
Bernhard


signature.asc
Description: This is a digitally signed message part