Bug#817874: linux-image-3.16.0-4-amd64: 3.16.7-ckt25-1 freeze with radeon driver

2016-03-13 Thread Борис Попов
Hi!

I have this problem too.

-- 
Boris Popov


Processed: limit source to linux, tagging 812540

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

> limit source linux
Limiting to bugs with field 'source' containing at least one of 'linux'
Limit currently set to 'source':'linux'

> tags 812540 + pending
Bug #812540 [linux] Add ARCH_HISI for Lemaker HiKey support
Added tag(s) pending.
> thanks
Stopping processing here.

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




Bug#812540: Add ARCH_HISI for Lemaker HiKey support

2016-03-13 Thread Ian Campbell
On Sat, 2016-03-12 at 09:00 -0800, Vagrant Cascadian wrote:
> On 2016-03-12, Ian Campbell wrote:
> > On Fri, 2016-03-11 at 20:03 -0800, Vagrant Cascadian wrote:
> >> On 2016-03-10, Martin Michlmayr wrote:
> >> > * Ian Campbell  [2016-01-25 09:57]:
> >> Most drivers aren't even available in 4.4.x, and some aren't even
> in
> >> 4.5.x yet. From a breif glance, the dts files for
> >> arch/arm64/boot/dts/hisilicon/hi6220*, don't look to contain
> support
> >> for
> >> much more than the CPU, memory and serial...
> >> 
> >> 
> >> > This might be a good starting point:
> >> > https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg109
> 864
> >> 4.html
> >> 
> >> Reading that patch, I'm guessing the following are available and
> >> possibly needed or desired, though possibly may require device-
> tree
> >> patches as well:
> >> 
> >> available in 4.4.x:
> >> 
> >> CONFIG_ARCH_HISI=y
> >> CONFIG_POWER_RESET_HISI=y
> >> CONFIG_HISI_THERMAL=m
> >> CONFIG_MMC_DW=m
> >> CONFIG_MMC_DW_K3=m
> >> CONFIG_I2C_DESIGNWARE_PLATFORM=m
> >> 
> >> available in 4.5.x:
> >> 
> >> CONFIG_COMMON_RESET_HI6220=m
> >> CONFIG_PHY_HI6220_USB=m
> >> 
> >> linux-next tag next-20160311:
> >> 
> >> CONFIG_HI6220_MBOX=m
> >> CONFIG_REGULATOR_HI655X=m
> >> 
> >> 
> >> Will build a few test kernels and report back...
> >
> > Thanks, for things other than the ones listed above the ones I'd be
> > most curious about would be serial and networking (wifi only on
> this
> > platform IIRC). Both of those could possibly be supported already
> via
> > existing generic drivers, I've no idea...
> 
> Not sure about WIFI, but serial seems already enabled:
> 
>   CONFIG_SERIAL_AMBA_PL011=y
>   CONFIG_SERIAL_AMBA_PL011_CONSOLE=y

That makes sense, thanks for the info. Since MMC + serial in 4.4 is a
basically useful thing (and I'm hoping the WiFi is some preexisting
driver too) this seemed like a useful set of stuff to enable. So I have
done so in git.

Ian.



Bug#818096: linux-image-4.3.0-1-amd64: vfat mount option "shortname=lower" makes uppercase directories unremovable

2016-03-13 Thread Marc-Jano Knopp
Package: src:linux
Version: 4.3.5-1
Severity: normal

{ Not sure if this is the right package to report this bug against;
please move appropriately, if necessary. }

Symptoms


When mounting a FAT32, FAT16, or FAT12 file system with the option
"shortname=lower" and creating a directory with an all-uppercase name,
the directory cannot be removed afterwards, neither by "rm -r" nor
"rmdir".

Note that otherwise, accessibility of the directory is not affected;
one can cd to it, and access files below it without problems.

Mount version used: 2.27.1-6.

Mount options

  shortname=win95
  shortname=winnt
  shortname=mixed

do not show this behavior.


Steps to reproduce
--
# dd if=/dev/zero of=test.img seek=100M count=0 bs=1M oflag=seek_bytes
0+0 records in
0+0 records out
0 bytes copied, 0.000146967 s, 0.0 kB/s
# mkfs.fat -F 32 test.img  # FAT16 and FAT12 affected as well
# mkdir -m 0 /mnt/test
# mount -o loop,shortname=lower test.img /mnt/test
# mkdir /mnt/test/FOO
# ls -l /mnt/test 
total 1
drwxr-xr-x 2 root root 512 Mar 13 16:56 foo
# rmdir /mnt/test/foo
rmdir: failed to remove '/mnt/test/foo': No such file or directory
# echo $?
1
# rmdir /mnt/test/FOO
rmdir: failed to remove '/mnt/test/FOO': No such file or directory
# echo $?
1
# rmdir /mnt/test/Foo
rmdir: failed to remove '/mnt/test/Foo': No such file or directory
# echo $?
1
# rm -r /mnt/test/foo
rm: cannot remove '/mnt/test/foo': No such file or directory
# echo $?
1
# rm -r /mnt/test/FOO
rm: cannot remove '/mnt/test/FOO': No such file or directory
# echo $?
1
# rm -r /mnt/test/Foo
rm: cannot remove '/mnt/test/Foo': No such file or directory
# echo $?
1


-- Package-specific info:
** Version:
Linux version 4.3.0-1-amd64 (debian-kernel@lists.debian.org) (gcc version 5.3.1 
20160121 (Debian 5.3.1-7) ) #1 SMP Debian 4.3.5-1 (2016-02-06)

** Command line:
BOOT_IMAGE=/vmlinuz-4.3.0-1-amd64 root=/dev/mapper/vg13-lv--root ro 
libata.force=7:1.5Gbps

** Tainted: PO (4097)
 * Proprietary module has been loaded.
 * Out-of-tree module has been loaded.

** Kernel log:
[...]
[14112.215110] FAT-fs (loop0): utf8 is not a recommended IO charset for FAT 
filesystems, filesystem will be case sensitive!

** Model information
[...]

** Loaded modules:
loop
nls_utf8
nls_cp437
vfat
fat
nfsv3
bnep
bluetooth
iptable_filter
ip_tables
autofs4
x_tables
snd_hrtimer
snd_seq_midi
snd_seq_midi_event
snd_rawmidi
snd_seq
snd_seq_device
cpufreq_stats
cpufreq_userspace
cpufreq_conservative
cpufreq_powersave
pci_stub
vboxpci(O)
vboxnetadp(O)
vboxnetflt(O)
vboxdrv(O)
binfmt_misc
nfsd
auth_rpcgss
oid_registry
nfs_acl
nfs
lockd
grace
fscache
sunrpc
msr
i2c_dev
it87
hwmon_vid
parport_pc
ppdev
lp
parport
snd_hda_codec_realtek
nvidia(PO)
snd_hda_codec_generic
snd_hda_codec_hdmi
eeepc_wmi
asus_wmi
sparse_keymap
rfkill
video
mxm_wmi
snd_hda_intel
kvm_amd
snd_hda_codec
snd_hda_core
kvm
snd_hwdep
pcspkr
evdev
serio_raw
snd_pcm_oss
k10temp
snd_mixer_oss
amd64_edac_mod
edac_mce_amd
edac_core
snd_pcm
snd_timer
8250_fintek
drm
sp5100_tco
tpm_infineon
snd
soundcore
sg
wmi
shpchp
button
i2c_piix4
acpi_cpufreq
tpm_tis
tpm
processor
ext4
crc16
mbcache
jbd2
crc32c_generic
btrfs
xor
raid6_pq
sha256_generic
hmac
drbg
ansi_cprng
cbc
dm_crypt
dm_mod
md_mod
hid_generic
usbhid
hid
sd_mod
uas
usb_storage
ohci_pci
ahci
libahci
xhci_pci
ehci_pci
ohci_hcd
xhci_hcd
ehci_hcd
libata
e1000e
ptp
usbcore
pps_core
usb_common
scsi_mod

** Network interface configuration:
[...]

** Network status:
*** IP interfaces and addresses:
[...]

*** Device statistics:
[...]

*** Protocol statistics:
[...]

** PCI devices:
[...]

** USB devices:
[...]


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (501, 'testing'), (50, 'unstable'), (25, 'experimental'), (12, 
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages linux-image-4.3.0-1-amd64 depends on:
ii  debconf [debconf-2.0]   1.5.58
ii  initramfs-tools [linux-initramfs-tool]  0.123
ii  kmod22-1
ii  linux-base  4.0

Versions of packages linux-image-4.3.0-1-amd64 recommends:
ii  firmware-linux-free  3.4
ii  irqbalance   1.1.0-2

Versions of packages linux-image-4.3.0-1-amd64 suggests:
pn  debian-kernel-handbook  
ii  extlinux3:6.03+dfsg-11
ii  grub-pc 2.02~beta2-36
pn  linux-doc-4.3   

Versions of packages linux-image-4.3.0-1-amd64 is related to:
pn  firmware-atheros 
pn  firmware-bnx2
pn  firmware-bnx2x   
pn  firmware-brcm80211   
pn  firmware-intelwimax  
pn  firmware-ipw2x00 
pn  firmware-ivtv
pn 

Bug#818087: Blacklist/whitelist kernel module ABI symbols in advance

2016-03-13 Thread Ben Hutchings
Control: clone -1 -2
Control: retitle -2 modpost should warn about using unstable exported symbols
Control: reassign -2 src:linux-tools
Control: block -2 with -1

On Sun, 2016-03-13 at 13:47 +, Ben Hutchings wrote:
[...]
> We could serve out-of-tree module users and packagers better if we
> implemented a blacklist or whitelist of unstable symbols and made
> modpost warn when they are used.

and this is the modpost part...

Ben.

-- 
Ben Hutchings
If at first you don't succeed, you're doing about average.

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


Processed: Re: Bug#818087: Blacklist/whitelist kernel module ABI symbols in advance

2016-03-13 Thread Debian Bug Tracking System
Processing control commands:

> clone -1 -2
Bug #818087 [src:linux] Blacklist/whitelist kernel module ABI symbols in advance
Bug 818087 cloned as bug 818094
> retitle -2 modpost should warn about using unstable exported symbols
Bug #818094 [src:linux] Blacklist/whitelist kernel module ABI symbols in advance
Changed Bug title to 'modpost should warn about using unstable exported 
symbols' from 'Blacklist/whitelist kernel module ABI symbols in advance'
> reassign -2 src:linux-tools
Bug #818094 [src:linux] modpost should warn about using unstable exported 
symbols
Bug reassigned from package 'src:linux' to 'src:linux-tools'.
Ignoring request to alter found versions of bug #818094 to the same values 
previously set
Ignoring request to alter fixed versions of bug #818094 to the same values 
previously set
> block -2 with -1
Bug #818094 [src:linux-tools] modpost should warn about using unstable exported 
symbols
818094 was not blocked by any bugs.
818094 was not blocking any bugs.
Added blocking bug(s) of 818094: 818087

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



Processed: tagging 815125

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

> tags 815125 + patch
Bug #815125 [src:linux] Boot failure in 4.4 related to EFI run-time calls
Bug #815779 [src:linux] Boot failure in 4.4 related to EFI run-time calls
Bug #816157 [src:linux] linux-image-4.4.0-1-amd64: Lenovo Ideapad Y700 failts 
to boot
Added tag(s) patch.
Added tag(s) patch.
Added tag(s) patch.
> thanks
Stopping processing here.

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



Bug#818087: Blacklist/whitelist kernel module ABI symbols in advance

2016-03-13 Thread Ben Hutchings
Package: src:linux
Severity: wishlist

Currently we attempt to maintain the kernel module ABI within each
stable release, and try to avoid ABI bumps within unstable other than
for new upstream releases.

Sometimes we decide that an ABI change can be ignored (i.e. we allow it
to change withut bumping the ABI number) because it is not intended for
use by out-of-tree modules, only for specific modules built from the
kernel.  However we do this reactively, rather than in advance.

We could serve out-of-tree module users and packagers better if we
implemented a blacklist or whitelist of unstable symbols and made
modpost warn when they are used.

Ben.

-- 
Ben Hutchings
If at first you don't succeed, you're doing about average.


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


Bug#818059: linux-image-4.4.0-1-armmp-lpae: Missing usb-power-supply in DTB for OlinuXino-A20-LIME2

2016-03-13 Thread Ian Campbell
Control: tag -1 +upstream

On Sun, 2016-03-13 at 09:17 +0100, Michael Haas wrote:
> 
> I presume this would need to be fixed upstream in 
> arch/arm/boot/dts/un7i-a20-olinuxino-lime2.dts
> but I don't know where to direct that specific bug report.

Please report it (or, better, send a patch) to the linux-sunxi mailing
list[0]. I'd also recommend copying this subset of the output of get-
maintainer.pl:

$ ./scripts/get_maintainer.pl -f arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
[...]
Maxime Ripard  (maintainer:ARM/Allwinner 
sunXi SoC support)
Chen-Yu Tsai  (maintainer:ARM/Allwinner sunXi SoC support)
[...]
linux-arm-ker...@lists.infradead.org (moderated list:ARM PORT)
[...]

Once it is on its way to mainline (i.e. in Maxime's tree would be
sufficient) please let us know and we can add it to the Debian kernel.

Ian.

[0] http://linux-sunxi.org/Mailing_list



Processed: Re: Bug#818059: linux-image-4.4.0-1-armmp-lpae: Missing usb-power-supply in DTB for OlinuXino-A20-LIME2

2016-03-13 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 +upstream
Bug #818059 [src:linux] linux-image-4.4.0-1-armmp-lpae: Missing 
usb-power-supply in DTB for OlinuXino-A20-LIME2
Added tag(s) upstream.

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



Bug#818059: linux-image-4.4.0-1-armmp-lpae: Missing usb-power-supply in DTB for OlinuXino-A20-LIME2

2016-03-13 Thread Michael Haas
Package: src:linux
Version: 4.4.4-2
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

I have an Olimex OlinuXino-A20-Lime2 which does not report power statistics
(voltage, current) in /sys/class/power_supply
This is remedied decompiling the DTB to DTS in boot, applying the following 
patch and
recompiling into a DTC: 

laga@ivanov:~/tmp$ diff -u dtb-4.4.0-1-armmp-lpae.dts.vanilla 
dtb-4.4.0-1-armmp-lpae.dts.patched 
--- dtb-4.4.0-1-armmp-lpae.dts.vanilla  2016-03-13 09:06:15.313484530 +0100
+++ dtb-4.4.0-1-armmp-lpae.dts.patched  2016-03-13 09:06:05.901511409 +0100
@@ -1380,6 +1380,10 @@
regulator-always-on;
};
};
+
+   usb-power-supply {
+   compatible = 
"x-powers,axp202-usb-power-supply";
+   };
};
};
 

On the following reboot, axp20x_usb_power.ko will be loaded and 
/sys/class/power_supply will be there:

laga@ivanov:~/tmp$ ls -al /sys/class/power_supply/axp20x-usb
lrwxrwxrwx 1 root root 0 Mar 13 09:01 /sys/class/power_supply/axp20x-usb -> 
../../devices/platform/soc@01c0/1c2ac00.i2c/i2c-0/0-0034/axp20x-usb-power-supply/power_supply/axp20x-usb

laga@ivanov:~/tmp$ cat /sys/class/power_supply/axp20x-usb/current_now
273000
laga@ivanov:~/tmp$ cat /sys/class/power_supply/axp20x-usb/voltage_now 
4620600


I presume this would need to be fixed upstream in 
arch/arm/boot/dts/un7i-a20-olinuxino-lime2.dts
but I don't know where to direct that specific bug report.

The specific file affected in the Debian package is 
/usr/lib/linux-image-4.4.0-1-armmp-lpae/sun7i-a20-olinuxino-lime2.dtb.

See Documentation/devicetree/bindings/power_supply/axp20x_usb_power.txt for 
documentation on the bindings introduced.

-- Package-specific info:
** Version:
Linux version 4.4.0-1-armmp-lpae (debian-kernel@lists.debian.org) (gcc version 
4.9.3 (Debian 4.9.3-12) ) #1 SMP Debian 4.4.4-2 (2016-03-09)

** Command line:
console=ttyS0,115200 quiet

** Not tainted

** Kernel log:
[1.611274] sun7i-dwmac 1c5.ethernet: no reset control found
[1.611287]  Ring mode enabled
[1.611295]  No HW DMA feature register supported
[1.611302]  Normal descriptors
[1.611324]  TX Checksum insertion supported
[1.622884] libphy: stmmac: probed
[1.622911] eth0: PHY ID 001cc912 at 1 IRQ POLL (stmmac-0:01) active
[1.667233] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off 
CAP_PMP
[1.667276] ahci-sunxi 1c18000.sata: forcing PORTS_IMPL to 0x1
[1.667358] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 
0x1 impl platform mode
[1.667377] ahci-sunxi 1c18000.sata: flags: ncq sntf pm led clo only pio 
slum part ccc 
[1.668512] mmc0: host does not support reading read-only switch, assuming 
write-enable
[1.674821] mmc0: new high speed SDHC card at address e624
[1.678643] scsi host0: ahci-sunxi
[1.679294] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 
0x100 irq 31
[1.683170] mmcblk0: mmc0:e624 SU32G 29.7 GiB 
[1.689684]  mmcblk0: p1 p2 p3 < p5 >
[1.999029] ata1: SATA link down (SStatus 0 SControl 300)
[2.048890] PM: Starting manual resume from disk
[2.048927] PM: Hibernation image partition 179:5 present
[2.048935] PM: Looking for hibernation image.
[2.050437] PM: Image not found (code -22)
[2.050452] PM: Hibernation image not present or could not be loaded.
[2.293758] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. 
Opts: (null)
[3.214577] systemd[1]: Cannot add dependency job for unit 
display-manager.service, ignoring: Unit display-manager.service failed to load: 
No such file or directory.
[3.417963] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[3.648043] systemd-udevd[163]: starting version 215
[4.125087] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, 
nowayout=0)
[4.149941] sun4i-ss 1c15000.crypto-engine: no reset control found
[4.151612] sun4i-ss 1c15000.crypto-engine: Die ID 0
[4.205089] axp20x 0-0034: AXP20x variant AXP209 found
[4.225129] axp20x 0-0034: AXP20X driver loaded
[4.276406] usbcore: registered new interface driver usbfs
[4.276525] usbcore: registered new interface driver hub
[4.276706] usbcore: registered new device driver usb
[4.313485] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[4.324232] ehci-platform: EHCI generic platform driver
[4.324430] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[4.324765]