Bug 193251 - FPU : warning: cpu: 1 pid: 1 at ./arch/x86/include/asm/fpu/internal.h:368
Summary: FPU : warning: cpu: 1 pid: 1 at ./arch/x86/include/asm/fpu/internal.h:368
Status: NEW
Alias: None
Product: Other
Classification: Unclassified
Component: Other (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: other_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-24 13:10 UTC by Frank
Modified: 2017-03-03 13:02 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.9.4
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Frank 2017-01-24 13:10:19 UTC
Hello,

I have created the kernel 4.9.4 (32 bit), add to command line : init=/bin/bash.
After the first command (like ls or mount) I got this warning.


----------------- cut ------------------
[    1.207503] VFS: Mounted root (ext3 filesystem) readonly on device 8:2.
[    1.234644] devtmpfs: mounted
[    1.235155] Freeing unused kernel memory: 900K (c1b35000 - c1c16000)
[    1.235555] Write protecting the kernel text: 7572k
[    1.235847] Write protecting the kernel read-only data: 2992k
[    1.267065] random: fast init done
[    1.327579] usb 1-5: New USB device found, idVendor=0424, idProduct=2514
[    1.327781] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.327972] usb 1-5: Product: ONE-PC_Retail-Card_v1
[    1.328173] usb 1-5: Manufacturer: Wincor-Nixdorf
[    1.328356] usb 1-5: SerialNumber: 01750254341_A_FW00
[    1.329365] hub 1-5:1.0: USB hub found
[    1.329599] hub 1-5:1.0: 4 ports detected
[    1.451269] tsc: Refined TSC clocksource calibration: 3408.031 MHz
[    1.451480] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311ff142
9a6, max_idle_ns: 440795232943 ns
sh-3.2# [    2.475607] clocksource: Switched to clocksource tsc
[  726.123520] random: crng init done

sh-3.2# ls
bin   dev  home  lost+found  misc  net  proc  sbin     srv  tmp  var
boot  etc  lib   media       mnt   opt  root  selinux  sys  usr
[  740.869420] ------------[ cut here ]------------
[  740.869633] WARNING: CPU: 1 PID: 1 at ./arch/x86/include/asm/fpu/internal.h:3
68 copy_kernel_to_xregs.part.12+0x19/0x1b
[  740.869927] Modules linked in:
[  740.870229] CPU: 1 PID: 1 Comm: sh Not tainted 4.9.4 #4
[  740.870422] Hardware name: DIEBOLD NIXDORF M1.0-Q170-uATX-STD/        , BIOS
V5.0.0.12 R0.70.0 for D3460-D1x                    01/19/2017
[  740.870703]  f5d05e48 c13ce19c 00000000 c1954160 f5d05e78 c1058c9a c1962f14 0
0000001
V5.0.0.12 R0.70.0 for D3460-D1x                    01/19/2017
[  740.870703]  f5d05e48 c13ce19c 00000000 c1954160 f5d05e78 c1058c9a c1962f14 0
0000001
[  740.871755]  00000001 c1954160 00000170 c10547b0 00000170 f5d585c0 bf963650 f
5d58600
[  740.872808]  f5d05e8c c1058daa 00000009 00000000 00000000 f5d05e94 c10547b0 f
5d05eb0
[  740.873852] Call Trace:
[  740.874037]  [<c13ce19c>] dump_stack+0x58/0x7c
[  740.874224]  [<c1058c9a>] __warn+0xea/0x110
[  740.874417]  [<c10547b0>] ? copy_kernel_to_xregs.part.12+0x19/0x1b
[  740.874614]  [<c1058daa>] warn_slowpath_null+0x2a/0x30
[  740.874809]  [<c10547b0>] copy_kernel_to_xregs.part.12+0x19/0x1b
[  740.875008]  [<c10231ec>] fpu__restore+0x1fc/0x210
[  740.875202]  [<c1024956>] __fpu__restore_sig+0x236/0x5e0
[  740.875401]  [<c1024f3f>] fpu__restore_sig+0x2f/0x50
[  740.875595]  [<c1018567>] restore_sigcontext.isra.10+0xe7/0x100
[  740.875795]  [<c1018eb9>] sys_sigreturn+0x99/0xb0
[  740.875988]  [<c100179e>] do_int80_syscall_32+0x5e/0xb0
[  740.876184]  [<c1762581>] entry_INT80_32+0x31/0x31
[  740.876389] ---[ end trace 325eeb3ec0392ff3 ]---
sh-3.2# mount -o remount rw /
[14540.649594] EXT4-fs (sda2): re-mounted. Opts:
sh-3.2# setterm -file /out.scr -dump
-------------------------- cut end -----------------------------

Hardware:
cpu family : 6
model : 158
modelname : Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz

Best regards, Frank
Comment 1 Benny Lønstrup Ammitzbøll 2017-03-03 13:02:06 UTC
I see something similar on 4.9.6:

[ 1029.322757] ------------[ cut here ]------------
[ 1029.322763] WARNING: CPU: 4 PID: 25413 at ./arch/x86/include/asm/fpu/internal.h:368 fpu__restore+0x1f8/0x200
[ 1029.322763] Modules linked in: md4 nls_utf8 cifs dns_resolver ctr ccm bbswitch(OE) snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic arc4 iwlmvm iTCO_wdt iTCO_vendor_support mac80211 x86_pkg_temp_thermal coretemp mxm_wmi i915 iwlwifi uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev kvm_intel btusb btrtl cfg80211 kvm snd_hda_intel snd_hda_codec snd_hwdep snd_hda_core rtsx_pci_sdmmc irqbypass btbcm snd_pcm mmc_core i2c_i801 crc32c_intel btintel ghash_clmulni_intel serio_raw snd_timer pcspkr i2c_smbus wmi xts aesni_intel glue_helper lrw gf128mul ablk_helper cryptd aes_x86_64 cbc iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi vmxnet3 virtio_net virtio_ring virtio tg3 libphy sky2 r8169 pcnet32 mii igb ptp pps_core dca e1000 bnx2 atl1c fuse xfs nfs lockd
[ 1029.322794]  grace sunrpc fscache jfs reiserfs btrfs ext4 jbd2 ext2 mbcache linear raid10 raid1 raid0 dm_raid raid456 async_raid6_recov async_memcpy libcrc32c async_pq async_xor xor async_tx raid6_pq dm_snapshot dm_bufio dm_crypt dm_mirror dm_region_hash dm_log dm_mod firewire_core crc_itu_t sl811_hcd xhci_pci xhci_hcd usb_storage aic94xx libsas lpfc qla2xxx megaraid_sas megaraid_mbox megaraid_mm aacraid sx8 hpsa cciss 3w_9xxx 3w_xxxx 3w_sas mptsas scsi_transport_sas mptfc scsi_transport_fc mptspi mptscsih mptbase imm parport sym53c8xx initio arcmsr aic7xxx aic79xx scsi_transport_spi sr_mod cdrom sg sd_mod pdc_adma sata_inic162x sata_mv ata_piix ahci libahci sata_qstor sata_vsc sata_uli sata_sis sata_sx4 sata_nv sata_via sata_svw sata_sil24 sata_sil sata_promise pata_via pata_jmicron pata_marvell
[ 1029.322825]  pata_sis pata_netcell pata_pdc202xx_old pata_atiixp pata_amd pata_ali pata_it8213 pata_pcmcia pata_serverworks pata_oldpiix pata_artop pata_it821x pata_hpt3x2n pata_hpt3x3 pata_hpt37x pata_hpt366 pata_cmd64x pata_sil680 pata_pdc2027x [last unloaded: nvidia]
[ 1029.322833] CPU: 4 PID: 25413 Comm: vish Tainted: P           OE   4.9.6-gentoo-r1 #4
[ 1029.322834] Hardware name: XMG P65_P67RGRERA/P65_P67RGRERA, BIOS 1.05.17 06/28/2016
[ 1029.322835]  ffffc9000235bd90 ffffffff812c7442 0000000000000000 0000000000000000
[ 1029.322837]  ffffc9000235bdd0 ffffffff81060bd1 0000017000000000 ffff88104ec7b740
[ 1029.322838]  ffff88104ec79600 0000000000000000 ffff88104ec7b740 0000000000000000
[ 1029.322840] Call Trace:
[ 1029.322843]  [<ffffffff812c7442>] dump_stack+0x67/0x95
[ 1029.322845]  [<ffffffff81060bd1>] __warn+0xd1/0xf0
[ 1029.322846]  [<ffffffff81060cbd>] warn_slowpath_null+0x1d/0x20
[ 1029.322848]  [<ffffffff81028678>] fpu__restore+0x1f8/0x200
[ 1029.322850]  [<ffffffff8102980d>] __fpu__restore_sig+0x23d/0x540
[ 1029.322851]  [<ffffffff81029d7d>] fpu__restore_sig+0x2d/0x40
[ 1029.322852]  [<ffffffff8105a7e6>] ia32_restore_sigcontext+0x156/0x170
[ 1029.322853]  [<ffffffff8105aa47>] sys32_rt_sigreturn+0x97/0xc0
[ 1029.322855]  [<ffffffff81002b76>] do_int80_syscall_32+0x56/0xc0
[ 1029.322856]  [<ffffffff816e0a1f>] entry_INT80_compat+0x2f/0x40
[ 1029.322857] ---[ end trace 01ff2b443ca7d594 ]---
-------------------------- cut end -----------------------------

Hardware:
cpu family      : 6
model           : 94
model name      : Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz

Note You need to log in before you can comment on or make changes to this bug.