[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#793929: Operation Exception in arch/s390/kernel/cache.c (init_cache_level) on pre-z10 processors (s390x)



Package: linux
Version: 4.0.8-1
Severity: important
X-Debbugs-CC: Heiko Carstens <heiko.carstens@de.ibm.com>
Tags: patch

Dear Debian kernel team,

The s390x port of the Linux kernel, version 4.0, crashes during boot on processors
without the "general-instructions-extension facility".  This is all processors
prior to the z10, namely, the z800, z900, z890, z990, z9 BC, and z9 EC.

I have assigned the severity of this bug as "important" because it affects
relatively few users.  However, for those affected, it would have to be "critical",
as it prevents the system from booting.

Here is a sample symptom dump from the console:

-----

Kernel BUG at 00000000001219d0 [verbose debug info unavailable]
illegal operation: 0001 ilc:3 [#1] SMP
Krnl PSW : 0704e00180000000 00000000001219d0 (init_cache_level+0x38/0xe0)
           R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:2 PM:0 EA:3
Krnl Code: 00000000001219c2: a7840056           brc     8,121a6e
           00000000001219c6: a7190000           lghi    %r1,0
          #00000000001219ca: eb101000004c       ecag    %r1,%r0,0(%r1)
          >00000000001219d0: a7390000           lghi    %r3,0
           00000000001219d4: e310f0a00024       stg     %r1,160(%r15)
           00000000001219da: a7080000           lhi     %r0,0
           00000000001219de: a7b9f000           lghi    %r11,-4096
           00000000001219e2: c0a0002899d9       larl    %r10,634d94
Call Trace:
 [<0000000000478ee2>] detect_cache_attributes+0x2a/0x2b8
 [<000000000097c9b0>] cacheinfo_sysfs_init+0x60/0xc8
 [<00000000001001c0>] do_one_initcall+0x98/0x1c8
 [<000000000094fdc2>] kernel_init_freeable+0x212/0x2d8
 [<000000000062352e>] kernel_init+0x26/0x118
 [<000000000062fd2e>] kernel_thread_starter+0x6/0xc

-----

I have been working with upstream on this, and the following two patches need
to be applied (in the order listed) to fix the problem:

https://git.kernel.org/cgit/linux/kernel/git/s390/linux.git/patch/?id=77bb36e57bbe5586bea29b67ba7f87cfe03610a0
https://git.kernel.org/cgit/linux/kernel/git/s390/linux.git/patch/?id=0b991f5cdcd6201e5401f83ca3a672343c3bfc49

I have personally tested the fixes, and they work for me on my z890.

Respectfully submitted,

-- 
  .''`.     Stephen Powell    <zlinuxman@wowway.com>
 : :'  :
 `. `'`
   `-


Reply to: