WARNING: CPU: 1 PID: 4940 at /build/buildd/linux-3.13.0/mm/truncate.c:652 pagecache_isize_extended+0xfd/0x110() in 3.13.0-43-generic

Bug #1402764 reported by Andy Whitcroft on 2014-12-15
42
This bug affects 9 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Medium
Stefan Bader
Precise
Undecided
Unassigned
Trusty
Medium
Stefan Bader
Utopic
Medium
Unassigned
Vivid
Medium
Stefan Bader
linux-lts-trusty (Ubuntu)
Undecided
Unassigned
Precise
Undecided
Stefan Bader
Trusty
Undecided
Unassigned
Utopic
Undecided
Unassigned
Vivid
Undecided
Unassigned

Bug Description

Hi all,

 I have updated my ubuntu 14.04 LTS server this morning. Until then I
am seeing a lot of errors like:

[ 4174.782378] WARNING: CPU: 1 PID: 4940 at
/build/buildd/linux-3.13.0/mm/truncate.c:652
pagecache_isize_extended+0xfd/0x110()
[ 4174.782381] Modules linked in: ctr ccm ipt_MASQUERADE iptable_nat
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack
iptable_filter ip_tables x_tables bridge stp llc snd_hda_codec_hdmi
arc4 nvidia(POX) rtl8187 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm
snd_page_alloc mac80211 snd_seq_midi snd_seq_midi_event cfg80211
eeprom_93cx6 snd_rawmidi joydev snd_seq snd_seq_device kvm_amd
snd_timer kvm drm snd sp5100_tco amd64_edac_mod soundcore edac_core
edac_mce_amd i2c_piix4 k10temp mac_hid xfs lp parport libcrc32c
pata_acpi hid_logitech_dj usbhid hid pata_atiixp tg3 ptp pps_core ahci
libahci
[ 4174.782433] CPU: 1 PID: 4940 Comm: URL Classifier Tainted: P
W OX 3.13.0-43-generic #72-Ubuntu
[ 4174.782436] Hardware name: HP ProLiant MicroServer, BIOS O41 10/01/2013
[ 4174.782439] 0000000000000009 ffff88006a90bd70 ffffffff81720bf6
0000000000000000
[ 4174.782443] ffff88006a90bda8 ffffffff810677cd 0000000000001000
ffff88012e12f598
[ 4174.782447] 0000000000000000 0000000000000008 00000000000dd9d0
ffff88006a90bdb8
[ 4174.782451] Call Trace:
[ 4174.782459] [<ffffffff81720bf6>] dump_stack+0x45/0x56
[ 4174.782464] [<ffffffff810677cd>] warn_slowpath_common+0x7d/0xa0
[ 4174.782467] [<ffffffff810678aa>] warn_slowpath_null+0x1a/0x20
[ 4174.782472] [<ffffffff8115dc8d>] pagecache_isize_extended+0xfd/0x110
[ 4174.782476] [<ffffffff8115e867>] truncate_setsize+0x27/0x40
[ 4174.782515] [<ffffffffa00ce7c2>] xfs_setattr_size+0x182/0x3e0 [xfs]
[ 4174.782540] [<ffffffffa00c375c>] xfs_file_fallocate+0x19c/0x260 [xfs]
[ 4174.782546] [<ffffffff811c0229>] ? __sb_start_write+0x49/0xe0
[ 4174.782550] [<ffffffff811bbf59>] do_fallocate+0xf9/0x190
[ 4174.782554] [<ffffffff811bc03c>] SyS_fallocate+0x4c/0x80
[ 4174.782558] [<ffffffff817316ad>] system_call_fastpath+0x1a/0x1f
[ 4174.782561] ---[ end trace aeb446f67bc8e89e ]---

===
break-fix: 90a8020278c1598fafd071736a0846b38510309c f55fefd1a5a339b1bd08c120b93312d6eb64a9fb

Andy Whitcroft (apw) wrote :

From an email conversation on our mailing list from Stefan Bader:

  This looks to be introduced by:

      vfs: fix data corruption when blocksize < pagesize for mmaped data
      BugLink: http://bugs.launchpad.net/bugs/1393477
      commit 90a8020278c1598fafd071736a0846b38510309c upstream.

  and fixed by:

    commit f55fefd1a5a339b1bd08c120b93312d6eb64a9fb
    Author: Jan Kara <email address hidden>
    Date: Thu Oct 30 10:35:00 2014 +1100

      mm: Remove false WARN_ON from pagecache_isize_extended()

and:

  Oh, and just for explanation: this is a warning which is wrong. But until it is
  fixed up the only impact is the number of annoying messages in dmesg. The follow
  up change from upstream just removes the warning, nothing else. And since it is
  "only" a warning there is no other effect.

Changed in linux (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Stefan Bader (smb)
Changed in linux (Ubuntu Utopic):
importance: Undecided → Medium
Changed in linux (Ubuntu Trusty):
importance: Undecided → Medium
description: updated
tags: added: kerne-bug-break-fix
Andy Whitcroft (apw) on 2014-12-15
tags: added: kernel-bug-break-fix
removed: kerne-bug-break-fix
Andy Whitcroft (apw) on 2014-12-15
Changed in linux (Ubuntu Trusty):
status: New → Confirmed
Changed in linux (Ubuntu Utopic):
status: New → Invalid
Changed in linux (Ubuntu Vivid):
status: In Progress → Invalid
Changed in linux-lts-trusty (Ubuntu Trusty):
status: New → Invalid
Changed in linux-lts-trusty (Ubuntu Utopic):
status: New → Invalid
Changed in linux-lts-trusty (Ubuntu Vivid):
status: New → Invalid
Changed in linux-lts-trusty (Ubuntu Precise):
assignee: nobody → Stefan Bader (smb)
Changed in linux (Ubuntu Trusty):
assignee: nobody → Stefan Bader (smb)
Andy Whitcroft (apw) on 2014-12-15
Changed in linux (Ubuntu Precise):
status: New → Invalid
Changed in linux-lts-trusty (Ubuntu Precise):
status: New → Confirmed
Andy Whitcroft (apw) on 2014-12-16
Changed in linux (Ubuntu Trusty):
status: Confirmed → Fix Committed
Andy Whitcroft (apw) on 2014-12-17
Changed in linux-lts-trusty (Ubuntu Precise):
status: Confirmed → Fix Committed
Brad Figg (brad-figg) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-trusty' to 'verification-done-trusty'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-trusty
Gábor Lipták (gliptak) wrote :

I'm also seeing this with the same kernel version:

Dec 30 22:09:33 laptop kernel: [143695.572571] CPU: 0 PID: 24084 Comm: URL Classifier Tainted: G W 3.13.0-43-generic #72-Ubuntu

I enabled trusty-proposed as per above, but it didn't offer an updated version of the kernel.

What is the trusty proposed kernel version to be installed?

Thanks

Gábor, you need to explicitly install the "proposed" package : sudo apt-get install linux-image-generic/proposed. In my case it installs 3.13.0-44-generic.

Stas Titov (ststitov) wrote :

I have something like that

[30362.151678] WARNING: CPU: 1 PID: 2669 at /build/buildd/linux-3.13.0/mm/truncate.c:652 pagecache_isize_extended+0xfd/0x110()
[30362.151680] Modules linked in: cuse rpcsec_gss_krb5 rfcomm bnep nfsv4 bluetooth binfmt_misc nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache snd_hda_codec_realtek hid_generic hid_a4tech snd_hda_intel snd_hda_codec mxm_wmi snd_hwdep kvm_amd usbhid kvm snd_pcm hid crct10dif_pclmul snd_page_alloc crc32_pclmul ghash_clmulni_intel snd_seq_midi aesni_intel snd_seq_midi_event aes_x86_64 lrw gf128mul glue_helper snd_rawmidi ablk_helper cryptd fam15h_power snd_seq snd_seq_device snd_timer serio_raw k10temp snd edac_core edac_mce_amd soundcore sp5100_tco parport_pc i2c_piix4 ppdev it87 nvidia(POX) hwmon_vid lp parport drm shpchp wmi mac_hid xfs btrfs libcrc32c pata_acpi raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq firewire_ohci raid1 psmouse firewire_core crc_itu_t raid0 ahci pata_atiixp r8169 libahci aacraid multipath mii linear
[30362.151771] CPU: 1 PID: 2669 Comm: dconf-service Tainted: P W OX 3.13.0-43-generic #72-Ubuntu
[30362.151775] Hardware name: Gigabyte Technology Co., Ltd. To be filled by O.E.M./990XA-UD3, BIOS FD 02/04/2013
[30362.151778] 0000000000000009 ffff88040b161d70 ffffffff81720bf6 0000000000000000
[30362.151785] ffff88040b161da8 ffffffff810677cd 0000000000001000 ffff88023efc2198
[30362.151791] 0000000000000000 0000000000000008 0000000000005794 ffff88040b161db8
[30362.151797] Call Trace:
[30362.151804] [<ffffffff81720bf6>] dump_stack+0x45/0x56
[30362.151809] [<ffffffff810677cd>] warn_slowpath_common+0x7d/0xa0
[30362.151814] [<ffffffff810678aa>] warn_slowpath_null+0x1a/0x20
[30362.151818] [<ffffffff8115dc8d>] pagecache_isize_extended+0xfd/0x110
[30362.151823] [<ffffffff8115e867>] truncate_setsize+0x27/0x40
[30362.151860] [<ffffffffa02337c2>] xfs_setattr_size+0x182/0x3e0 [xfs]
[30362.151881] [<ffffffffa022875c>] xfs_file_fallocate+0x19c/0x260 [xfs]
[30362.151887] [<ffffffff811c0229>] ? __sb_start_write+0x49/0xe0
[30362.151892] [<ffffffff81314d18>] ? apparmor_file_permission+0x18/0x20
[30362.151897] [<ffffffff811bbf59>] do_fallocate+0xf9/0x190
[30362.151901] [<ffffffff811bc03c>] SyS_fallocate+0x4c/0x80
[30362.151906] [<ffffffff817316ad>] system_call_fastpath+0x1a/0x1f
[30362.151909] ---[ end trace bc2a45aec1a55988 ]---

js1 (sujiannming) wrote :

I think the proposed 3.13.0-44 kernel made the call traces go away, but the package didn't build out the dkms correctly, so my nvidia modules do not get loaded.

Launchpad Janitor (janitor) wrote :
Download full text (10.8 KiB)

This bug was fixed in the package linux - 3.13.0-44.73

---------------
linux (3.13.0-44.73) trusty; urgency=low

  [ Kamal Mostafa ]

  * Release Tracking Bug
    - LP: #1402872

  [ AceLan Kao ]

  * SAUCE: Add use_native_backlight quirk for HP ProBook 6570b
    - LP: #1359010

  [ Andy Whitcroft ]

  * Revert "SAUCE: (no-up) arm64: optimized copy_to_user and copy_from_user
    assembly code"
    - LP: #1398596
  * [Config] updateconfigs to balance CONFIG_SCOM_DEBUGFS

  [ Upstream Kernel Changes ]

  * iwlwifi: mvm: fix merge damage
    - LP: #1393317
  * iwlwifi: remove IWL_UCODE_TLV_FLAGS_SCHED_SCAN flag
    - LP: #1393317
  * iwlwifi: mvm: disable scheduled scan to prevent firmware crash
    - LP: #1393317
  * iwlwifi: mvm: enable scheduled scan on newest firmware
    - LP: #1393317
  * x86: kvm: use alternatives for VMCALL vs. VMMCALL if kernel text is
    read-only
    - LP: #1379340
  * phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY
    - LP: #1381084
  * of: make of_get_phy_mode parse 'phy-connection-type'
    - LP: #1381084
  * xen-netfront: Remove BUGs on paged skb data which crosses a page
    boundary
    - LP: #1275879
  * ACPI / blacklist: blacklist Win8 OSI for Dell Vostro 3546
    - LP: #1383589
  * powerpc/pseries: Fix endiannes issue in RTAS call from xmon
    - LP: #1396235
  * mmc: sdhci-pci-o2micro: Fix Dell E5440 issue
    - LP: #1346067
  * mfd: rtsx: Fix PM suspend for 5227 & 5249
    - LP: #1359052
  * drivers:scsi:storvsc: Fix a bug in handling ring buffer failures that
    may result in I/O freeze
    - LP: #1400289
  * arm64: optimized copy_to_user and copy_from_user assembly code
    - LP: #1400349
  * net:socket: set msg_namelen to 0 if msg_name is passed as NULL in
    msghdr struct from userland.
    - LP: #1335478
  * drm/radeon: initialize sadb to NULL in the audio code
    - LP: #1402714
  * powerpc/vphn: NUMA node code expects big-endian
    - LP: #1401150
  * ALSA: usb-audio: Fix device_del() sysfs warnings at disconnect
    - LP: #1402853
  * ALSA: hda - Add mute LED pin quirk for HP 15 touchsmart
    - LP: #1334950, #1402853
  * rcu: Make callers awaken grace-period kthread
    - LP: #1402853
  * rcu: Use rcu_gp_kthread_wake() to wake up grace period kthreads
    - LP: #1402853
  * net: sctp: fix NULL pointer dereference in af->from_addr_param on
    malformed packet
    - LP: #1402853
  * KVM: x86: Don't report guest userspace emulation error to userspace
    - LP: #1402853
  * [media] ttusb-dec: buffer overflow in ioctl
    - LP: #1402853
  * arm64: __clear_user: handle exceptions on strb
    - LP: #1402853
  * ARM: pxa: fix hang on startup with DEBUG_LL
    - LP: #1402853
  * samsung-laptop: Add broken-acpi-video quirk for NC210/NC110
    - LP: #1402853
  * acer-wmi: Add Aspire 5741 to video_vendor_dmi_table
    - LP: #1402853
  * acer-wmi: Add acpi_backlight=video quirk for the Acer KAV80
    - LP: #1402853
  * rbd: Fix error recovery in rbd_obj_read_sync()
    - LP: #1402853
  * [media] ds3000: fix LNB supply voltage on Tevii S480 on initialization
    - LP: #1402853
  * powerpc: do_notify_resume can be called with bad thread_info flags
    argument
    - LP: #1402853
  * USB: kobil_sct: f...

Changed in linux (Ubuntu Trusty):
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :
Download full text (10.8 KiB)

This bug was fixed in the package linux-lts-trusty - 3.13.0-44.73~precise1

---------------
linux-lts-trusty (3.13.0-44.73~precise1) precise; urgency=low

  [ Kamal Mostafa ]

  * Release Tracking Bug
    - LP: #1402952

  [ AceLan Kao ]

  * SAUCE: Add use_native_backlight quirk for HP ProBook 6570b
    - LP: #1359010

  [ Andy Whitcroft ]

  * Revert "SAUCE: (no-up) arm64: optimized copy_to_user and copy_from_user
    assembly code"
    - LP: #1398596
  * [Config] updateconfigs to balance CONFIG_SCOM_DEBUGFS

  [ Upstream Kernel Changes ]

  * iwlwifi: mvm: fix merge damage
    - LP: #1393317
  * iwlwifi: remove IWL_UCODE_TLV_FLAGS_SCHED_SCAN flag
    - LP: #1393317
  * iwlwifi: mvm: disable scheduled scan to prevent firmware crash
    - LP: #1393317
  * iwlwifi: mvm: enable scheduled scan on newest firmware
    - LP: #1393317
  * x86: kvm: use alternatives for VMCALL vs. VMMCALL if kernel text is
    read-only
    - LP: #1379340
  * phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY
    - LP: #1381084
  * of: make of_get_phy_mode parse 'phy-connection-type'
    - LP: #1381084
  * xen-netfront: Remove BUGs on paged skb data which crosses a page
    boundary
    - LP: #1275879
  * ACPI / blacklist: blacklist Win8 OSI for Dell Vostro 3546
    - LP: #1383589
  * powerpc/pseries: Fix endiannes issue in RTAS call from xmon
    - LP: #1396235
  * mmc: sdhci-pci-o2micro: Fix Dell E5440 issue
    - LP: #1346067
  * mfd: rtsx: Fix PM suspend for 5227 & 5249
    - LP: #1359052
  * drivers:scsi:storvsc: Fix a bug in handling ring buffer failures that
    may result in I/O freeze
    - LP: #1400289
  * arm64: optimized copy_to_user and copy_from_user assembly code
    - LP: #1400349
  * net:socket: set msg_namelen to 0 if msg_name is passed as NULL in
    msghdr struct from userland.
    - LP: #1335478
  * drm/radeon: initialize sadb to NULL in the audio code
    - LP: #1402714
  * powerpc/vphn: NUMA node code expects big-endian
    - LP: #1401150
  * ALSA: usb-audio: Fix device_del() sysfs warnings at disconnect
    - LP: #1402853
  * ALSA: hda - Add mute LED pin quirk for HP 15 touchsmart
    - LP: #1334950, #1402853
  * rcu: Make callers awaken grace-period kthread
    - LP: #1402853
  * rcu: Use rcu_gp_kthread_wake() to wake up grace period kthreads
    - LP: #1402853
  * net: sctp: fix NULL pointer dereference in af->from_addr_param on
    malformed packet
    - LP: #1402853
  * KVM: x86: Don't report guest userspace emulation error to userspace
    - LP: #1402853
  * [media] ttusb-dec: buffer overflow in ioctl
    - LP: #1402853
  * arm64: __clear_user: handle exceptions on strb
    - LP: #1402853
  * ARM: pxa: fix hang on startup with DEBUG_LL
    - LP: #1402853
  * samsung-laptop: Add broken-acpi-video quirk for NC210/NC110
    - LP: #1402853
  * acer-wmi: Add Aspire 5741 to video_vendor_dmi_table
    - LP: #1402853
  * acer-wmi: Add acpi_backlight=video quirk for the Acer KAV80
    - LP: #1402853
  * rbd: Fix error recovery in rbd_obj_read_sync()
    - LP: #1402853
  * [media] ds3000: fix LNB supply voltage on Tevii S480 on initialization
    - LP: #1402853
  * powerpc: do_notify_resume can be called with bad thread_info flags
    argument...

Changed in linux-lts-trusty (Ubuntu Precise):
status: Fix Committed → Fix Released
Andy Whitcroft (apw) on 2015-01-12
tags: removed: kernel-bug-break-fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers