WARNING: CPU: 0 PID: 1 at /build/linux-dp17Ba/linux-4.9.18/arch/powerpc/lib/feature-fixups.c:208 check_features+0x38/0x7c

2017-05-04 Thread Mathieu Malaterre
Hi all,

Does this dmesg output speaks to anyone here (smp kernel):


[4.767389] [ cut here ]
[4.774668] WARNING: CPU: 0 PID: 1 at
/build/linux-dp17Ba/linux-4.9.18/arch/powerpc/lib/feature-fixups.c:208
check_features+0x38/0x7c
[4.782256] Modules linked in:
[4.789766] CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.0-2-powerpc
#1 Debian 4.9.18-1
[4.797441] task: df4db1a0 task.stack: df4dc000
[4.805089] NIP: c0776484 LR: c0776484 CTR: 
[4.812736] REGS: df40 TRAP: 0700   Not tainted
(4.9.0-2-powerpc Debian 4.9.18-1)
[4.820485] MSR: 00029032 
[4.820622]   CR: 242ff422  XER: 
[ 4.828326]
[4.828326] GPR00: c0776484 df4dde80 df4db1a0 002c 0004
00ff  00ff
[4.828326] GPR08: 00ff c085271c c085271c  222ff444
 c00047ec 
[4.828326] GPR16:     
  c086
[4.828326] GPR24: c076ecdc c07d2e80 c0766720 c07b2310 
c085f5b0 c086 c07b
NIP [c0776484] check_features+0x38/0x7c
[4.875135] LR [c0776484] check_features+0x38/0x7c
[4.882958] Call Trace:
[4.890751] [df4dde80] [c0776484] check_features+0x38/0x7c (unreliable)
[4.898650] [df4dde90] [c0004154] do_one_initcall+0x4c/0x188
[4.906477] [df4ddf00] [c076f578] kernel_init_freeable+0x164/0x200
[4.914269] [df4ddf30] [c0004810] kernel_init+0x24/0x134
[4.921942] [df4ddf40] [c0016500] ret_from_kernel_thread+0x5c/0x64
[4.929536] Instruction dump:
[4.937046] bfc10008 90010014 3fc0c086 811ef028 3fe0c07b 80ff349c
8108000c 7f883800
41be0014 3c60c06b 38632f34 4be5f601 <0fe0> 815ef028 3bff349c 813f0004
[4.952413] ---[ end trace de3271b83777a44e ]---


>From a non smp kernel:


[0.00] Total memory = 512MB; using 1024kB for hash table (at cff0)
[0.00] Linux version 4.9.0-2-powerpc
(debian-ker...@lists.debian.org) (gcc version 6.3.0 20170321 (Debian
6.3.0-11) ) #1 Debian 4.9.18-1 (2017-03-30)
[0.00] Found initrd at 0xc0c4:0xc19744bc
[0.00] Found UniNorth memory controller & host bridge @
0xf800 revision: 0x11
[0.00] Mapped at 0xff7c
[0.00] Found a Keylargo mac-io controller, rev: 3, mapped at 0xff74
[0.00] PowerMac motherboard: PowerMac G4 Silver
[0.00] Using PowerMac machine description


Thanks


Re: WARNING: CPU: 0 PID: 1 at /build/linux-dp17Ba/linux-4.9.18/arch/powerpc/lib/feature-fixups.c:208 check_features+0x38/0x7c

2017-05-04 Thread Michael Ellerman
Mathieu Malaterre  writes:

> Hi all,
>
> Does this dmesg output speaks to anyone here (smp kernel):
>
>
> [4.767389] [ cut here ]
> [    4.774668] WARNING: CPU: 0 PID: 1 at
> /build/linux-dp17Ba/linux-4.9.18/arch/powerpc/lib/feature-fixups.c:208
> check_features+0x38/0x7c

Is there anything prior to the "cut here" line?

cheers


Re: WARNING: CPU: 0 PID: 1 at /build/linux-dp17Ba/linux-4.9.18/arch/powerpc/lib/feature-fixups.c:208 check_features+0x38/0x7c

2017-05-06 Thread Linux User #330250

Am 2017-05-04 um 12:15 schrieb Michael Ellerman:

Mathieu Malaterre  writes:


Hi all,

Does this dmesg output speaks to anyone here (smp kernel):


[4.767389] [ cut here ]
[4.774668] WARNING: CPU: 0 PID: 1 at
/build/linux-dp17Ba/linux-4.9.18/arch/powerpc/lib/feature-fixups.c:208
check_features+0x38/0x7c

Is there anything prior to the "cut here" line?

cheers




I rebooted the system today (mind the new timings). This is the kernel:

# uname -a
Linux G4QS 4.9.0-2-powerpc-smp #1 SMP Debian 4.9.18-1 (2017-03-30) ppc 
GNU/Linux


This is the line above the cut line:
CPU features changed after feature patching!

And here 10 lines above the cut line, with time:
[5.008787] PowerMac i2c bus mac-io 0 registered
[5.008925] i2c i2c-2: No i2c address for 
/pci@f200/mac-io@17/i2c@18000/i2c-modem

[5.009355] PowerMac i2c bus uni-n 1 registered
[5.009611] PowerMac i2c bus uni-n 0 registered
[5.009860] ledtrig-cpu: registered to indicate activity on CPUs
[5.017397] NET: Registered protocol family 10
[5.025443] mip6: Mobile IPv6
[5.032460] NET: Registered protocol family 17
[5.039579] mpls_gso: MPLS GSO support
[5.046767] CPU features changed after feature patching!

I've posted the whole dmesg output on pastebin, valid for one month as 
of this posting:

https://pastebin.com/mK0zvVxQ


Cheers,
Linux User #330250


Re: WARNING: CPU: 0 PID: 1 at /build/linux-dp17Ba/linux-4.9.18/arch/powerpc/lib/feature-fixups.c:208 check_features+0x38/0x7c

2017-05-07 Thread Linux User #330250

Am 2017-05-06 um 16:11 schrieb Linux User #330250:

Am 2017-05-04 um 12:15 schrieb Michael Ellerman:

Mathieu Malaterre  writes:


Hi all,

Does this dmesg output speaks to anyone here (smp kernel):


[4.767389] [ cut here ]
[4.774668] WARNING: CPU: 0 PID: 1 at
/build/linux-dp17Ba/linux-4.9.18/arch/powerpc/lib/feature-fixups.c:208
check_features+0x38/0x7c

Is there anything prior to the "cut here" line?

cheers



# uname -a
Linux G4QS 4.9.0-2-powerpc-smp #1 SMP Debian 4.9.18-1 (2017-03-30) ppc 
GNU/Linux


Follow-up: I updated to 4.9.0-3-powerpc-smp Debian kernel, which is 
4.9.25-1 (2017-05-02) and the fault is still the same.
Overnight I also compiled a vanilla 4.11.0 kernel using the Debian 
config as a starting point and "make olddefconfig" for a couple of new 
config options, booted it today and it gives the same messages.


This is 4.9.25-1 (Debian 4.9.0-3) smp kernel: https://pastebin.com/vq7XQ39U
NET: Registered protocol family 17
mpls_gso: MPLS GSO support
CPU features changed after feature patching!
[ cut here ]
WARNING: CPU: 0 PID: 1 at 
/build/linux-pGBmiG/linux-4.9.25/arch/powerpc/lib/feature-fixups.c:208 
check_features+0x38/0x7c

Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.0-3-powerpc-smp #1 Debian 
4.9.25-1

task: df4aa9a0 task.stack: df4e8000
NIP: c07e3a00 LR: c07e3a00 CTR: 
REGS: df4e9dd0 TRAP: 0700   Not tainted  (4.9.0-3-powerpc-smp Debian 
4.9.25-1)

MSR: 00029032 
  CR: 28000422  XER: 

GPR00: c07e3a00 df4e9e80 df4aa9a0 002c 9032 010d  

GPR08: 0001 c0861064 c0861064  22000444  c00048b8 

GPR16:        
c08d
GPR24: c07dbcec c08449b4 c07d3ab4 c0823434  c08d6610 c08d 
c082

NIP [c07e3a00] check_features+0x38/0x7c
LR [c07e3a00] check_features+0x38/0x7c
Call Trace:
[df4e9e80] [c07e3a00] check_features+0x38/0x7c (unreliable)
[df4e9e90] [c0004214] do_one_initcall+0x4c/0x188
[df4e9f00] [c07dc5c8] kernel_init_freeable+0x198/0x230
[df4e9f30] [c00048dc] kernel_init+0x24/0x128
[df4e9f40] [c0018080] ret_from_kernel_thread+0x5c/0x64
--- interrupt: 0 at   (null)
LR =   (null)
Instruction dump:
bfc10008 90010014 3fc0c08d 811e6028 3fe0c082 80ff45c4 8108000c 7f883800
41be0014 3c60c072 3863cb38 4be574f5 <0fe0> 815e6028 3bff45c4 813f0004
---[ end trace db276e67fcbb7c47 ]---
registered taskstats version 1
zswap: loaded using pool lzo/zbud
ima: No TPM chip found, activating TPM-bypass!


This is my vanilla 4.11.0 kernel (based on Debian kernel config): 
https://pastebin.com/n5nPMS9g

NET: Registered protocol family 17
mpls_gso: MPLS GSO support
CPU features changed after feature patching!
[ cut here ]
WARNING: CPU: 0 PID: 1 at arch/powerpc/lib/feature-fixups.c:209 
check_features+0x38/0x7c

Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.11.0 #1
task: df4da020 task.stack: df4dc000
NIP: c0822768 LR: c0822768 CTR: 
REGS: df4ddde0 TRAP: 0700   Not tainted  (4.11.0)
MSR: 00029032 
  CR: 28301422  XER: 

GPR00: c0822768 df4dde90 df4da020 002c 1032 010e  
1f2b3000
GPR08: 1032 c08a2208 c08a2208  28301422  c0004880 

GPR16:        
c092
GPR24: c081a9c8 c0883c2c c08129a0 c0863494  c091a670 c092 
c086

NIP [c0822768] check_features+0x38/0x7c
LR [c0822768] check_features+0x38/0x7c
Call Trace:
[df4dde90] [c0822768] check_features+0x38/0x7c (unreliable)
[df4ddea0] [c00041ec] do_one_initcall+0x4c/0x178
[df4ddf00] [c081b2b4] kernel_init_freeable+0x1a0/0x238
[df4ddf30] [c00048a4] kernel_init+0x24/0x120
[df4ddf40] [c0018900] ret_from_kernel_thread+0x5c/0x64
Instruction dump:
bfc10008 90010014 3fc0c092 811ea028 3fe0c086 80ff4624 8108000c 7f883800
41be0014 3c60c076 3863d154 4be44e45 <0fe0> 815ea028 3bff4624 813f0004
---[ end trace c67815660f5f31c3 ]---
registered taskstats version 1
zswap: loaded using pool lzo/zbud
ima: No TPM chip found, activating TPM-bypass! (rc=-19)



Re: WARNING: CPU: 0 PID: 1 at /build/linux-dp17Ba/linux-4.9.18/arch/powerpc/lib/feature-fixups.c:208 check_features+0x38/0x7c

2017-05-30 Thread Mathieu Malaterre
On Sun, May 7, 2017 at 9:53 AM, Linux User #330250
 wrote:
> Am 2017-05-06 um 16:11 schrieb Linux User #330250:
>>
>> Am 2017-05-04 um 12:15 schrieb Michael Ellerman:
>>>
>>> Mathieu Malaterre  writes:
>>>
>>>> Hi all,
>>>>
>>>> Does this dmesg output speaks to anyone here (smp kernel):
>>>>
>>>>
>>>> [    4.767389] ----[ cut here ]----
>>>> [4.774668] WARNING: CPU: 0 PID: 1 at
>>>> /build/linux-dp17Ba/linux-4.9.18/arch/powerpc/lib/feature-fixups.c:208
>>>> check_features+0x38/0x7c
>>>
>>> Is there anything prior to the "cut here" line?
>>>
>>> cheers
>>>
>>
>> # uname -a
>> Linux G4QS 4.9.0-2-powerpc-smp #1 SMP Debian 4.9.18-1 (2017-03-30) ppc
>> GNU/Linux
>
>
> Follow-up: I updated to 4.9.0-3-powerpc-smp Debian kernel, which is 4.9.25-1
> (2017-05-02) and the fault is still the same.
> Overnight I also compiled a vanilla 4.11.0 kernel using the Debian config as
> a starting point and "make olddefconfig" for a couple of new config options,
> booted it today and it gives the same messages.
>
> This is 4.9.25-1 (Debian 4.9.0-3) smp kernel: https://pastebin.com/vq7XQ39U
> NET: Registered protocol family 17
> mpls_gso: MPLS GSO support
> CPU features changed after feature patching!
> [ cut here ]
> WARNING: CPU: 0 PID: 1 at
> /build/linux-pGBmiG/linux-4.9.25/arch/powerpc/lib/feature-fixups.c:208
> check_features+0x38/0x7c
> Modules linked in:
> CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.0-3-powerpc-smp #1 Debian
> 4.9.25-1
> task: df4aa9a0 task.stack: df4e8000
> NIP: c07e3a00 LR: c07e3a00 CTR: 
> REGS: df4e9dd0 TRAP: 0700   Not tainted  (4.9.0-3-powerpc-smp Debian
> 4.9.25-1)
> MSR: 00029032 
>   CR: 28000422  XER: 
>
> GPR00: c07e3a00 df4e9e80 df4aa9a0 002c 9032 010d 
> 
> GPR08: 0001 c0861064 c0861064  22000444  c00048b8
> 
> GPR16:       
> c08d
> GPR24: c07dbcec c08449b4 c07d3ab4 c0823434  c08d6610 c08d
> c082
> NIP [c07e3a00] check_features+0x38/0x7c
> LR [c07e3a00] check_features+0x38/0x7c
> Call Trace:
> [df4e9e80] [c07e3a00] check_features+0x38/0x7c (unreliable)
> [df4e9e90] [c0004214] do_one_initcall+0x4c/0x188
> [df4e9f00] [c07dc5c8] kernel_init_freeable+0x198/0x230
> [df4e9f30] [c00048dc] kernel_init+0x24/0x128
> [df4e9f40] [c0018080] ret_from_kernel_thread+0x5c/0x64
> --- interrupt: 0 at   (null)
> LR =   (null)
> Instruction dump:
> bfc10008 90010014 3fc0c08d 811e6028 3fe0c082 80ff45c4 8108000c 7f883800
> 41be0014 3c60c072 3863cb38 4be574f5 <0fe0> 815e6028 3bff45c4 813f0004
> ---[ end trace db276e67fcbb7c47 ]---
> registered taskstats version 1
> zswap: loaded using pool lzo/zbud
> ima: No TPM chip found, activating TPM-bypass!
>
>
> This is my vanilla 4.11.0 kernel (based on Debian kernel config):
> https://pastebin.com/n5nPMS9g
> NET: Registered protocol family 17
> mpls_gso: MPLS GSO support
> CPU features changed after feature patching!
> [ cut here ]
> WARNING: CPU: 0 PID: 1 at arch/powerpc/lib/feature-fixups.c:209
> check_features+0x38/0x7c
> Modules linked in:
> CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.11.0 #1
> task: df4da020 task.stack: df4dc000
> NIP: c0822768 LR: c0822768 CTR: 
> REGS: df4ddde0 TRAP: 0700   Not tainted  (4.11.0)
> MSR: 00029032 
>   CR: 28301422  XER: 
>
> GPR00: c0822768 df4dde90 df4da020 002c 1032 010e 
> 1f2b3000
> GPR08: 1032 c08a2208 c08a2208  28301422  c0004880
> 
> GPR16:       
> c092
> GPR24: c081a9c8 c0883c2c c08129a0 c0863494  c091a670 c092
> c086
> NIP [c0822768] check_features+0x38/0x7c
> LR [c0822768] check_features+0x38/0x7c
> Call Trace:
> [df4dde90] [c0822768] check_features+0x38/0x7c (unreliable)
> [df4ddea0] [c00041ec] do_one_initcall+0x4c/0x178
> [df4ddf00] [c081b2b4] kernel_init_freeable+0x1a0/0x238
> [df4ddf30] [c00048a4] kernel_init+0x24/0x120
> [df4ddf40] [c0018900] ret_from_kernel_thread+0x5c/0x64
> Instruction dump:
> bfc10008 90010014 3fc0c092 811ea028 3fe0c086 80ff4624 8108000c 7f883800
> 41be0014 3c60c076 3863d154 4be44e45 <0fe0> 815ea028 3bff4624 813f0004
> ---[ end trace c67815660f5f31c3 ]---
> registered taskstats version 1
> zswap: loaded using pool lzo/zbud
> ima: No TPM chip found, activating TPM-bypass! (rc=-19)
>

Any update/suggestion so far ?

Thanks