Bug#801463: BUG: unable to handle kernel NULL pointer dereference at 00000001 in smp_apic_timer_interrupt

2015-10-10 Thread Richard Kettlewell
Package: src:linux
Version: 3.16.7-ckt11-1+deb8u4
Severity: important

Dear Maintainer,

   * What led up to the situation?

My kernel has started crashing every few days, since 2015-09-09.

The system was upgraded to this kernel (linux-image-3.16.0-4-586
3.16.7-ckt11-1+deb8u4) on 2015-09-20, so it's not a regression in that
particular version.

I retrieved kernel output from the most recent crash, which replaces
the kernel log section below.


-- Package-specific info:
** Version:
Linux version 3.16.0-4-586 (debian-kernel@lists.debian.org) (gcc version 4.8.4 
(Debian 4.8.4-1) ) #1 Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19)

** Command line:
BOOT_IMAGE=/vmlinuz-3.16.0-4-586 root=/dev/sda3 ro console=ttyS0,115200n8

** Not tainted

** Kernel log:
[587090.909477] inbound: IN=eth2 OUT= 
MAC=00:04:a7:08:af:b0:00:1f:27:c0:08:01:08:00 SRC=221.3.105.106 DST=86.9.121.8 
LEN=60 TOS=0x00 PREC=0x00 TTL=51 ID=62653 DF PROTO=TCP SPT=39416 DPT=23 
WINDOW=5808 RES=0x00 SYN URGP=0 
[587134.548195] BUG: unable to handle kernel NULL pointer dereference at 
0001
[587134.548195] IP: [] smp_apic_timer_interrupt+0x24/0x50
[587134.548195] *pde =  
[587134.548195] Oops: 0002 [#1] 
[587134.548195] Modules linked in: tcp_diag inet_diag xt_nat xt_addrtype 
ipt_MASQUERADE ip6t_REJECT xt_multiport ipt_REJECT xt_LOG xt_limit xt_tcpudp 
nf_conntrack_ipv6 nf_defrag_ipv6 xt_conntrack ip6table_mangle iptable_mangle 
ip6table_raw iptable_raw iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 
nf_nat_ipv4 nf_nat nf_conntrack ip6table_filter ip6_tables iptable_filter 
cpufreq_stats cpufreq_conservative ip_tables x_tables cpufreq_userspace 
cpufreq_powersave nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache 
sunrpc sit tunnel4 ip_tunnel evdev iTCO_wdt iTCO_vendor_support video 
drm_kms_helper processor pcspkr serio_raw drm thermal_sys i2c_i801 i2c_algo_bit 
lpc_ich rng_core i2c_core shpchp w83627hf hwmon_vid bridge stp llc loop slip 
slhc tun fuse autofs4 ext4 crc16 mbcache jbd2 sg sd_mod crc_t10dif 
crct10dif_generic crct10dif_common ata_generic 8139too ata_piix ehci_pci 
uhci_hcd ahci libahci ehci_hcd libata scsi_mod 8139cp r8169 mii usbcore 
usb_common
[587134.548195] CPU: 0 PID: 0 Comm: swapper Not tainted 3.16.0-4-586 #1 Debian 
3.16.7-ckt11-1+deb8u4
[587134.548195] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./To 
be filled by O.E.M., BIOS 080012  12/22/2008
[587134.548195] task: c1592500 ti: c1584000 task.ti: c1584000
[587134.548195] EIP: 0060:[] EFLAGS: 00210896 CPU: 0
[587134.548195] EIP is at smp_apic_timer_interrupt+0x24/0x50
[587134.548195] EAX: 0001 EBX: c158beec ECX: c1585f4c EDX: c1585f4c
[587134.548195] ESI: c1584001 EDI: c1585fed EBP: c1585f94 ESP: c1585f48
[587134.548195]  DS: 007b ES: 007b FS:  GS: 00e0 SS: 0068
[587134.548195] CR0: 8005003b CR2: 0001 CR3: 34b8a000 CR4: 0790
[587134.548195] Stack:
[587134.548195]  c1425474 c1585fec  c1584000 c1584000 c1585fec c1585f94 

[587134.548195]  0002007b 08be007b 08be 00e0 ff10 c102f1a2 0060 
00200246
[587134.548195]  c1009d74 c1585fec c1584000 c1585f9c c100a54e c1585fd8 c1066b40 
c1585fec
[587134.548195] Call Trace:
[587134.548195]  [] ? apic_timer_interrupt+0x34/0x40
[587134.548195]  [] ? native_safe_halt+0x2/0x10
[587134.548195]  [] ? default_idle+0x14/0x90
[587134.548195]  [] ? arch_cpu_idle+0xe/0x10
[587134.548195]  [] ? cpu_startup_entry+0x230/0x370
[587134.548195]  [] ? start_kernel+0x3f2/0x3f7
[587134.548195]  [] ? set_init_arg+0x3f/0x45
[587134.548195] Code: ff ff eb 80 66 90 90 55 89 e5 53 3e 8d 74 26 00 8b 0d 00 
ee 59 c1 31 d2 8b 1d 48 39 59 c1 a3 48 39 59 c1 b8 b0 00 00 00 ff 91 a4 <00> 00 
00 e8 d4 a4 c1 ff e8 df f6 bf ff e8 2a a5 c1 ff 89 1d 48
[587134.548195] EIP: [] smp_apic_timer_interrupt+0x24/0x50 SS:ESP 
0068:c1585f48
[587134.548195] CR2: 0001
[587134.548195] ---[ end trace c2ab876b17f6fd20 ]---
[587134.548195] Kernel panic - not syncing: Attempted to kill the idle task!
[587134.548195] Kernel Offset: 0x0 from 0xc100 (relocation range: 
0xc000-0xf7ffdfff)
[587134.548195] Rebooting in 300 seconds..

** Model information
not available

** Loaded modules:
tcp_diag
inet_diag
xt_nat
xt_addrtype
ipt_MASQUERADE
ip6t_REJECT
xt_multiport
ipt_REJECT
xt_LOG
xt_limit
xt_tcpudp
nf_conntrack_ipv6
nf_defrag_ipv6
xt_conntrack
ip6table_mangle
iptable_mangle
ip6table_raw
iptable_raw
iptable_nat
nf_conntrack_ipv4
nf_defrag_ipv4
nf_nat_ipv4
nf_nat
nf_conntrack
ip6table_filter
ip6_tables
cpufreq_stats
iptable_filter
cpufreq_conservative
ip_tables
x_tables
cpufreq_userspace
cpufreq_powersave
nfsd
auth_rpcgss
oid_registry
nfs_acl
nfs
lockd
fscache
sunrpc
sit
tunnel4
ip_tunnel
evdev
iTCO_wdt
iTCO_vendor_support
video
drm_kms_helper
drm
processor
thermal_sys
i2c_algo_bit
pcspkr
serio_raw
i2c_i801
lpc_ich
shpchp
i2c_core
rng_core
w83627hf
hwmon_vid
bridge
stp
llc
loop
slip
slhc
tun
fuse
autofs4
ext4
crc16
mbcache
jbd2
sg
sd_mod
crc_t10dif
crct10dif_generic
crct10dif_common
ata_generic
8139too

Bug#801463: BUG: unable to handle kernel NULL pointer dereference at 00000001 in smp_apic_timer_interrupt

2015-10-10 Thread Ben Hutchings
On Sat, 2015-10-10 at 18:11 +0100, Richard Kettlewell wrote:
> Package: src:linux
> Version: 3.16.7-ckt11-1+deb8u4
> Severity: important
> 
> Dear Maintainer,
> 
>* What led up to the situation?
> 
> My kernel has started crashing every few days, since 2015-09-09.
> 
> The system was upgraded to this kernel (linux-image-3.16.0-4-586
> 3.16.7-ckt11-1+deb8u4) on 2015-09-20, so it's not a regression in that
> particular version.
> 
> I retrieved kernel output from the most recent crash, which replaces
> the kernel log section below.
[...]

This looks rather like a hardware failure, as the instruction pointer
is pointing to the middle of an instruction.  Here's the disassembly of
 smp_apic_timer_interrupt:

c1425ba0:   55  push   %ebp
c1425ba1:   89 e5   mov%esp,%ebp
c1425ba3:   53  push   %ebx
c1425ba4:   e8 c7 fb ff ff  call   0xc1425770; 
initial
3e 8d 74 26 00  lea%ds:0x0(%esi,%eiz,1),%esi ; 
patched
c1425ba9:   8b 0d 00 ee 59 c1   mov0xc159ee00,%ecx
c1425baf:   31 d2   xor%edx,%edx
c1425bb1:   8b 1d 48 39 59 c1   mov0xc1593948,%ebx
c1425bb7:   a3 48 39 59 c1  mov%eax,0xc1593948
c1425bbc:   b8 b0 00 00 00  mov$0xb0,%eax
c1425bc1:   ff 91 a4 00 00 00   call   *0xa4(%ecx)
 ^ EIP
c1425bc7:   e8 d4 a4 c1 ff  call   0xc10400a0
c1425bcc:   e8 df f6 bf ff  call   0xc10252b0
c1425bd1:   e8 2a a5 c1 ff  call   0xc1040100
c1425bd6:   89 1d 48 39 59 c1   mov%ebx,0xc1593948
c1425bdc:   5b  pop%ebx
c1425bdd:   5d  pop%ebp
c1425bde:   66 90   xchg   %ax,%ax
c1425be0:   c3  ret

Ben.

-- 
Ben Hutchings
Unix is many things to many people,
but it's never been everything to anybody.

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


Bug#801463: BUG: unable to handle kernel NULL pointer dereference at 00000001 in smp_apic_timer_interrupt

2015-10-10 Thread Richard Kettlewell
On 2015-10-10 18:49, Ben Hutchings wrote:
> This looks rather like a hardware failure, as the instruction pointer
> is pointing to the middle of an instruction.  Here's the disassembly of
>  smp_apic_timer_interrupt:

Thanks for the diagnosis.  Time to spend some money l-/

For future reference, is there a convenient way to get a disassembly
corresponding to the kernel I have installed?

ttfn/rjk



Processed: [RFC] Proposal for a new linux-grsec source package

2015-10-10 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 wnpp
Bug #605090 [src:linux] linux-2.6: [RFC] Add a grsec featureset to Debian 
kernels
Bug reassigned from package 'src:linux' to 'wnpp'.
No longer marked as found in versions linux-2.6/2.6.32-28.
Ignoring request to alter fixed versions of bug #605090 to the same values 
previously set
> retitle -1 ITP: linux-grsec -- Linux kernel with grsecurity patch
Bug #605090 [wnpp] linux-2.6: [RFC] Add a grsec featureset to Debian kernels
Changed Bug title to 'ITP: linux-grsec -- Linux kernel with grsecurity patch' 
from 'linux-2.6: [RFC] Add a grsec featureset to Debian kernels'

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



Bug#605090: [RFC] Proposal for a new linux-grsec source package

2015-10-10 Thread Yves-Alexis Perez
control: reassign -1 wnpp
control: retitle -1 ITP: linux-grsec -- Linux kernel with grsecurity patch

On mer., 2015-09-30 at 12:53 +0200, Yves-Alexis Perez wrote:
> I should be able to push something for review pretty soon

So here we are. I've pushed a git tree [1] of a linux-grsec source
package, heavily based on src:linux (it's actually a clone of linux.git
and I've worked in a grsec/sid branch).

I've kept the featureset idea, and on top of that:

- disabled all regular packages from src:linux (linux-libc-dev and
friends)
- disabled all non grsecurity featureset
- renamed the source package to linux-grsec

You can build it the same way you build the src:linux from git. I've
also uploaded packages for sid and Jessie to my repository [2],
including a .dsc [3] so rebuild should be easy.

This is really a work in progress and this mail a request for comment.
Especially missing is:

- various updates to the the debian/control templates (like
Maintainers/Uploaders etc.)
- updates to debian/copyright
- stuff I missed.

I started this with 4.1.7, updated from the v4.1.6-1 tag in the
linux.git. I've then pulled the 4.2.3-1 tag and it seemed to not break
that much, so it might indeed be workable (but we'll see in the long
run).

In any case, everything is in the git folder, and feel free to ask
questions if needed.

I don't intent to upload this to Debian right away, obviously :)

Regards,

[1] https://anonscm.debian.org/cgit/collab-maint/linux-grsec.git
[2] http://perso.corsac.net/~corsac/debian/kernel-grsec/packages/
[3] 
http://perso.corsac.net/~corsac/debian/kernel-grsec/packages/sid/linux-grsec_4.2.3-1.dsc
-- 
Yves-Alexis



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


Bug#801463: BUG: unable to handle kernel NULL pointer dereference at 00000001 in smp_apic_timer_interrupt

2015-10-10 Thread Ben Hutchings
On Sat, 2015-10-10 at 19:34 +0100, Richard Kettlewell wrote:
> On 2015-10-10 18:49, Ben Hutchings wrote:
> > This looks rather like a hardware failure, as the instruction pointer
> > is pointing to the middle of an instruction.  Here's the disassembly of
> >  smp_apic_timer_interrupt:
> 
> Thanks for the diagnosis.  Time to spend some money l-/
> 
> For future reference, is there a convenient way to get a disassembly
> corresponding to the kernel I have installed?

Use scripts/extract-vmlinux from the Linux source to decompress the
image in /boot, then 'objdump -d'.

Ben.

-- 
Ben Hutchings
Unix is many things to many people,
but it's never been everything to anybody.


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


Processed: retitle 785327 to rtl8723ae non-functional in Linux 3.16, tagging 785327

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

> retitle 785327 rtl8723ae non-functional in Linux 3.16
Bug #785327 [src:linux] Package: firmware-realtek (0.43)
Changed Bug title to 'rtl8723ae non-functional in Linux 3.16' from 'Package: 
firmware-realtek (0.43)'
> tags 785327 - moreinfo
Bug #785327 [src:linux] rtl8723ae non-functional in Linux 3.16
Removed tag(s) moreinfo.
> thanks
Stopping processing here.

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



Bug#792913: marked as done (Package: linux-image-4.0.0-2-amd64)

2015-10-10 Thread Debian Bug Tracking System
Your message dated Sat, 10 Oct 2015 22:14:09 +0100
with message-id <1444511649.2956.303.ca...@decadent.org.uk>
and subject line Re: (no subject)
has caused the Debian Bug report #792913,
regarding Package: linux-image-4.0.0-2-amd64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
792913: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792913
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: linux-image-4.0.0-2-amd64 
Version: 4.0.8-1
Severity: Major

ATI opensource drivers are broken once more and cause X11 to fail to
start when stretch is installed. Hardware used is a A8-4500M QUAD core
AMD Radeon APU. This doesnt happen in Jessie. Flgrx is not installed
during this time. Installing said package may fix the issue but was
untested because wifi was not configured. Suggest porting Fedora 22's
latest ATI drivers. They are open source and work without issue.They
have a version list available online so you can see what version of
packages you are using to compare it to fedora's.
--- End Message ---
--- Begin Message ---
Closing as there's no actionable bug report here.

Ben.

-- 
Ben Hutchings
Unix is many things to many people,
but it's never been everything to anybody.


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


Bug#800721:

2015-10-10 Thread Joni Orponen
I am indeed on a kernel and some X11 components from jessie-backports in
any case for better iGPU support on Broadwell.

Using the latest Intel provided firmware for the kernel driver version
(v13) has resulted in increasing the time-to-failure. It now fails in hours
instead of minutes. Power cycling the radio does not make a full recovery
anymore with the latest compatible firmware.

Before failure:

--- google.com ping statistics ---
100 packets transmitted, 100 received, 0% packet loss, time 99115ms
rtt min/avg/max/mdev = 10.770/21.391/131.100/17.115 ms

After failure and radio power cycle:

--- google.com ping statistics ---
100 packets transmitted, 94 received, 6% packet loss, time 107310ms
rtt min/avg/max/mdev = 12.219/6037.145/19665.521/4837.827 ms, pipe 13

Performance returns to normal after a full reboot cycle.

-- Joni Orponen


Bug#793544:

2015-10-10 Thread Joni Orponen
Testing with a manually placed iwlwifi-7265-13.ucode:

I'm getting it to fail in a matter of hours instead of a matter of minutes,
but power cycling the radio does not restore full functionality anymore and
a full reboot cycle is required.

-- Joni Orponen


Processed: found 796589 in adjtimex/1.29-5, found 796585 in aoetools/36-1, found 796589 in apparmor/2.9.2-3 ...

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

> found 796589 adjtimex/1.29-5
Bug #796589 [apparmor] apparmor: Has init script in runlevel S but no matching 
service file
Marked as found in versions adjtimex/1.29-5.
> found 796585 aoetools/36-1
Bug #796585 [aoetools] aoetools: Has init script in runlevel S but no matching 
service file
Marked as found in versions aoetools/36-1.
> found 796589 apparmor/2.9.2-3
Bug #796589 [apparmor] apparmor: Has init script in runlevel S but no matching 
service file
Marked as found in versions apparmor/2.9.2-3.
> found 796587 arno-iptables-firewall/2.0.1.e-1
Bug #796587 [arno-iptables-firewall] arno-iptables-firewall: Has init script in 
runlevel S but no matching service file
Marked as found in versions arno-iptables-firewall/2.0.1.e-1.
> found 796586 auto6to4/1.20-3
Bug #796586 [auto6to4] auto6to4: Has init script in runlevel S but no matching 
service file
Marked as found in versions auto6to4/1.20-3.
> found 796606 console-common/0.7.88
Bug #796606 [console-common] console-common: Has init script in runlevel S but 
no matching service file
Marked as found in versions console-common/0.7.88.
> found 796604 console-cyrillic/0.9-16.2
Bug #796604 [console-cyrillic] console-cyrillic: Has init script in runlevel S 
but no matching service file
Marked as found in versions console-cyrillic/0.9-16.2.
> found 796603 keyboard-configuration/1.132
Bug #796603 [keyboard-configuration] keyboard-configuration: Has init script in 
runlevel S but no matching service file
The source keyboard-configuration and version 1.132 do not appear to match any 
binary packages
Marked as found in versions keyboard-configuration/1.132.
> found 796602 ebtables/2.0.10.4-3
Bug #796602 [ebtables] ebtables: Has init script in runlevel S but no matching 
service file
Marked as found in versions ebtables/2.0.10.4-3.
> found 796605 eeepc-acpi-scripts/1.1.12
Bug #796605 [eeepc-acpi-scripts] eeepc-acpi-scripts: Has init script in 
runlevel S but no matching service file
Marked as found in versions eeepc-acpi-scripts/1.1.12.
> found 796608 espeakup/1:0.71-19
Bug #796608 [espeakup] espeakup: Has init script in runlevel S but no matching 
service file
Marked as found in versions espeakup/1:0.71-19.
> found 796609 fcoe-utils/1.0.29+git20140505-1
Bug #796609 [fcoe-utils] fcoe-utils: Has init script in runlevel S but no 
matching service file
Marked as found in versions fcoe-utils/1.0.29+git20140505-1.
> found 796611 ferm/2.2-3
Bug #796611 [ferm] ferm: Has init script in runlevel S but no matching service 
file
Marked as found in versions ferm/2.2-3.
> found 796610 fiaif/1.23.1-4
Bug #796610 [fiaif] fiaif: Has init script in runlevel S but no matching 
service file
Marked as found in versions fiaif/1.23.1-4.
> found 796612 flashybrid/0.18
Bug #796612 [flashybrid] flashybrid: Has init script in runlevel S but no 
matching service file
Marked as found in versions flashybrid/0.18.
> found 796618 fs2ram/0.3.12
Bug #796618 [fs2ram] fs2ram: Has init script in runlevel S but no matching 
service file
Marked as found in versions fs2ram/0.3.12.
> found 796617 fsprotect/1.0.6
Bug #796617 [fsprotect] fsprotect: Has init script in runlevel S but no 
matching service file
Marked as found in versions fsprotect/1.0.6.
> found 796616 gfs2-cluster/3.1.3-1.2
Bug #796616 [gfs2-cluster] gfs2-cluster: Has init script in runlevel S but no 
matching service file
The source gfs2-cluster and version 3.1.3-1.2 do not appear to match any binary 
packages
Marked as found in versions gfs2-cluster/3.1.3-1.2.
> found 796615 gfs2-utils/3.1.3-1.2
Bug #796615 [gfs2-utils] gfs2-utils: Has init script in runlevel S but no 
matching service file
Marked as found in versions gfs2-utils/3.1.3-1.2.
> found 796614 gom/0.30.2-6
Bug #796614 [gom] gom: Has init script in runlevel S but no matching service 
file
Marked as found in versions gom/0.30.2-6.
> found 796623 hdparm/9.43-2
Bug #796623 [hdparm] hdparm: Has init script in runlevel S but no matching 
service file
Marked as found in versions hdparm/9.43-2.
> found 796582 ifscheme/1.7-3
Bug #796582 [ifscheme] ifscheme: Has init script in runlevel S but no matching 
service file
Marked as found in versions ifscheme/1.7-3.
> found 796622 ifupdown-extra/0.25
Bug #796622 [ifupdown-extra] ifupdown-extra: Has init script in runlevel S but 
no matching service file
Marked as found in versions ifupdown-extra/0.25.
> found 796621 ifupdown-scripts-zg2/0.6-1
Bug #796621 [ifupdown-scripts-zg2] ifupdown-scripts-zg2: Has init script in 
runlevel S but no matching service file
Marked as found in versions ifupdown-scripts-zg2/0.6-1.
> found 796620 ifupdown/0.7.54
Bug #796620 [ifupdown] ifupdown: Has init script in runlevel S but no matching 
service file
Marked as found in versions ifupdown/0.7.54.
> found 796619 ipsec-tools/1:0.8.2+20140711-4
Bug #796619 [ipsec-tools] ipsec-tools: Has init script in runlevel S but no 
matching service file
Marked as found in versions ipsec-tools/1:0.8.2+20140711-4.
> found 796583