Bug#878221: linux-image-4.9.0-4-amd64: Screen flickers randomly with Radeon R9 270X since upgrade from 4.9.0-3 to 4.9.0-4

2018-01-23 Thread Robin Gareus
The recent backport kernel does *not* have this issue. All is fine with

 4.14.0-0.bpo.3-amd64 #1 SMP Debian 4.14.13-1~bpo9+1 (2018-01-14)

This is on a Thinkpad X250 with 00:02.0 VGA compatible controller: Intel
Corporation HD Graphics 5500 (rev 09)

4.9.0-4-amd64 and 4.9.0-5-amd64 on the same box do cause screen flickering.



Chances are that the issue was introduced by the update to upstream
4.9.46. There are a handful of "drm/i915" changes:

https://anonscm.debian.org/git/kernel/linux.git/commit/?h=debian/4.9.65-3%2bdeb9u2=17811b5a4b11b32307baca3b88067398a1168cfb

"Workaround VLV/CHV DSI scanline counter hardware fail" sounds
suspicious, but that's just a guess.



Bug#887389: Bug solved

2018-01-23 Thread Arnaud Courtès
On Buster (testing at the moment), with the last 4.14 linux kernel 
image, speedstep works again correctly :)


We can say the bug is solved.

Arnaud



Re: SLAB vs. SLUB

2018-01-23 Thread Bastian Blank
Hi

On Tue, Jan 23, 2018 at 05:37:44PM +, Ben Hutchings wrote:
> On Thu, 2018-01-18 at 18:18 +0100, Bastian Blank wrote:
> > Not sure when this came up the last time.  However we seem to be the
> > last large distribution to use SLAB as the kernel allocator.
> > Don't we want to change that some time?
> Yes, let's change to SLUB.  I think SLUB_DEBUG and
> SLAB_FREELIST_HARDENED should be enabled, except on armel/marvell.

Okay.  I'll do that.

Bastian

-- 
The more complex the mind, the greater the need for the simplicity of play.
-- Kirk, "Shore Leave", stardate 3025.8



Re: armel/marvell kernel size

2018-01-23 Thread Ben Hutchings
On Mon, 2018-01-22 at 22:38 +0900, Roger Shimizu wrote:
> Dear Ben,
> 
> Thanks for keeping armel things rolling for a few releases!
> 
> On Thu, Jan 18, 2018 at 1:22 PM, Ben Hutchings  wrote:
> > On Fri, 2017-10-20 at 15:07 +0100, Ben Hutchings wrote:
> > > Sadly, linux has again failed to build on armel in experimental due to
> > > the image size growing too large.
> > 
> > It's happened again.  The compressed image is 1% over the limit.
> 
> Yes, it's time again.
> 
> I tried the "CRYPTO_MANAGER2" stuff you mentioned before.
> Unfortunately, I didn't make it built as module, except after
> disabling CONFIG_NET, which seems quite ridiculous.
> 
> Do you know any other option, BTW?
> I'll continue trying for a while.

There's an upstream change in cfg80211 that enables direct-loading of
wireless rules, which requires public key crypto in the kernel.  There
doesn't appear to be any option to disable that mode, even though we
don't need it because crda still works.  Maybe you could disable
wireless networking completely?

Some options that could possibly be changed from y to m:

- I2C, I2C_CHARDEV, I2C_MV64XXX.  initramfs-tools should include I2C
drivers to the initramfs if needed, but I'm not certain.

- MTD, MTD_CMDLINE_PARTS, etc.  But I'm pretty sure this will break
some systems unless initramfs-tools is updated to include and load the
cmdlinepart module.

- RTC_DRV_MV (and disable RTC_HCTOSYS).  There's a udev rule that
should load the system clock from the first RTC if its driver is a
module.

- SPI_ORION.  initramfs-tools should include this in the initramfs if
needed, but I'm not certain.

Some options that could possibly be disabled:

- AUDIT.  This is quite a niche feature.

Also try comparing the complete configs over time and looking for
symbols newly set to y.

Ben.

-- 
Ben Hutchings
Reality is just a crutch for people who can't handle science fiction.


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


Re: SLAB vs. SLUB

2018-01-23 Thread Ben Hutchings
On Thu, 2018-01-18 at 18:18 +0100, Bastian Blank wrote:
> Moin
> 
> Not sure when this came up the last time.  However we seem to be the
> last large distribution to use SLAB as the kernel allocator.
> 
> Don't we want to change that some time?

Yes, let's change to SLUB.  I think SLUB_DEBUG and
SLAB_FREELIST_HARDENED should be enabled, except on armel/marvell.

Ben.

-- 
Ben Hutchings
Reality is just a crutch for people who can't handle science fiction.


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


Processed: tagging 880615, forcibly merging 872560 880615

2018-01-23 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 880615 - moreinfo
Bug #880615 [src:linux] linux-latest: systemd complains about 
CONFIG_BPF_SYSCALL not being set
Removed tag(s) moreinfo.
> forcemerge 872560 880615
Bug #872560 [src:linux] linux-image-amd64: CONFIG_CGROUP_BPF is not set
Bug #880615 [src:linux] linux-latest: systemd complains about 
CONFIG_BPF_SYSCALL not being set
Added indication that 880615 affects src:iproute2,src:flatpack,src:systemd
Marked as found in versions linux/4.12.6-1.
Bug #872560 [src:linux] linux-image-amd64: CONFIG_CGROUP_BPF is not set
Marked as found in versions linux/4.13.4-1.
Merged 872560 880615
> thanks
Stopping processing here.

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



Processed: forwarded 886746 https://bugzilla.kernel.org/show_bug.cgi?id=198563

2018-01-23 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> forwarded 886746 https://bugzilla.kernel.org/show_bug.cgi?id=198563
Bug #886746 [src:linux] linux-image-4.9.0-5-amd64: screen connected via 
displayport hub flashes black
Set Bug forwarded-to-address to 
'https://bugzilla.kernel.org/show_bug.cgi?id=198563'.
> --
Stopping processing here.

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



Bug#886746: Bug exists in vanilla kernel 4.9.65

2018-01-23 Thread John Hughes
I've compiled a vanilla kernel 4.9.65 (from 
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git) 
and the bug is present.  Vanilla kernel 4.9.30 works.


I'll roll up my sleeves and start bisecting.

--
John Hughes, CalvaEDI S.A.S. -- An Esker Company


+33 1 4313 3131



Bug#888106: initramfs-tools: mkinitramfs should fail when ldd fails in copy_exec

2018-01-23 Thread Andrew Shadura
Package: initramfs-tools
Version: 0.130
Severity: minor

Dear Maintainer,

We're working on a minimalist build of a Debian derivative which doesn't
include bash, and we ran into an situation in which due to a human error
the system didn't have a working ldd. This wasn't detected during an
image build process as mkinitramfs happily ignored ldd not working
(while being present and being an executable), and proceeded creating
a broken initramfs. In hook-functions, copy_exec does the following:

# Copy the dependant libraries
for x in $(ldd "${src}" 2>/dev/null | sed -e …)
do
done

The return code of ldd is not handled at all. Should ldd fail for any
reason, this failure will be ignored.

I tried to write a patch, but I couldn't come up with an elegant
solution which would cover cases other than just a wrong hashbang in
ldd :)

Maybe something like https://www.spinics.net/lists/dash/msg00165.html
can be used, but it's up to you to introduce hacks like that into the
code.

Thanks in advance.

-- 
Cheers,
  Andrew


Bug#887695: nfs-utils FTBFS with glibc 2.26

2018-01-23 Thread Juhani Numminen
Control: tags -1 patch fixed-upstream

On Fri, 19 Jan 2018 07:20:01 +0200 Adrian Bunk  wrote:
> Source: nfs-utils
> ...
> rpc.c:469:13: error: 'UINT16_MAX' undeclared (first use in this function); 
> did you mean 'UINT_MAX'?

Seems to be fixed upstream in this commit:
http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commitdiff;h=ba03a02c2fd912f370e1f55de921a403bf5f9247

Regards,
Juhani



Processed: Re: nfs-utils FTBFS with glibc 2.26

2018-01-23 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 patch fixed-upstream
Bug #887695 [src:nfs-utils] nfs-utils FTBFS with glibc 2.26
Added tag(s) fixed-upstream and patch.

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



Processed: your mail

2018-01-23 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> affects 872560 src:flatpack
Bug #872560 [src:linux] linux-image-amd64: CONFIG_CGROUP_BPF is not set
Added indication that 872560 affects src:flatpack
>
End of message, stopping processing here.

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



Processed: Fwd:

2018-01-23 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> affects 872560 src:iproute2
Bug #872560 [src:linux] linux-image-amd64: CONFIG_CGROUP_BPF is not set
Added indication that 872560 affects src:iproute2
>
End of message, stopping processing here.

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