Package: src:linux Version: 4.14.13-1 Severity: normal Dear Maintainer,
I am running an Odroid C2 on iSCSI. Under heavy load I see bad page errors like the ones below. This is not gcc specific. Same happens when git is handling large repositories. The reserved memory matches my firmware. reserved-memory/secmon@10000000/reg 00 00 00 00 10 00 00 00 00 00 00 00 00 20 00 00 reserved-memory/hwrom@0/reg 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 Please, give advice for further analysis. Best regards Heinrich Schuchardt -- Package-specific info: ** Version: Linux version 4.14.0-3-arm64 (debian-kernel@lists.debian.org) (gcc version 7.2.0 (Debian 7.2.0-19)) #1 SMP Debian 4.14.13-1 (2018-01-14) ** Command line: BOOT_IMAGE=/vmlinuz-4.14.0-3-arm64 root=UUID=afa724eb-deb7-4779-ba7d-b6553f4e34d3 ro quiet ** Tainted: B (32) * System has hit bad_page. ** Kernel log: [ 11.936949] systemd[1]: File /lib/systemd/system/systemd-journald.service:35 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling. [ 11.936958] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.) [ 12.105689] systemd[1]: dev-disk-by\x2duuid-84185ebb\x2d74ba\x2d4879\x2d93ba\x2d56adcdfbe8c7.device: Dependency Before=network-online.target ignored (.device units cannot be delayed) [ 12.105705] systemd[1]: dev-disk-by\x2duuid-84185ebb\x2d74ba\x2d4879\x2d93ba\x2d56adcdfbe8c7.device: Dependency Before=network.target ignored (.device units cannot be delayed) [ 12.109332] systemd[1]: dev-disk-by\x2duuid-1F97\x2dB63B.device: Dependency Before=network-online.target ignored (.device units cannot be delayed) [ 12.109347] systemd[1]: dev-disk-by\x2duuid-1F97\x2dB63B.device: Dependency Before=network.target ignored (.device units cannot be delayed) [ 12.115281] systemd[1]: Created slice System Slice. [ 12.270402] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro [ 12.326234] systemd-journald[225]: Received request to flush runtime journal from PID 1 [ 12.365796] iscsi: registered transport (iser) [ 12.609622] EFI Variables Facility v0.08 2004-May-17 [ 12.609640] efivars: get_next_variable: status=8000000000000007 [ 12.611877] pstore: using zlib compression [ 12.611894] pstore: Registered efi as persistent store backend [ 12.719455] scsi 0:0:0:0: Attached scsi generic sg0 type 12 [ 12.719557] sd 0:0:0:1: Attached scsi generic sg1 type 0 [ 13.215460] audit: type=1400 audit(1513289398.720:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=332 comm="apparmor_parser" [ 13.215471] audit: type=1400 audit(1513289398.720:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man//filter" pid=332 comm="apparmor_parser" [ 13.215477] audit: type=1400 audit(1513289398.720:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man//groff" pid=332 comm="apparmor_parser" [ 13.252407] audit: type=1400 audit(1513289398.756:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/ntpd" pid=333 comm="apparmor_parser" [ 13.971676] random: crng init done [ 16.601127] audit: type=1400 audit(1513289402.104:6): apparmor="DENIED" operation="open" profile="/usr/sbin/ntpd" name="/usr/local/sbin/" pid=382 comm="ntpd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 [ 16.601139] audit: type=1400 audit(1513289402.104:7): apparmor="DENIED" operation="open" profile="/usr/sbin/ntpd" name="/usr/local/bin/" pid=382 comm="ntpd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 [ 16.803865] EXT4-fs (sda2): mounting ext2 file system using the ext4 subsystem [ 16.811713] EXT4-fs (sda2): mounted filesystem without journal. Opts: (null) [ 16.920231] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 1609.725807] BUG: Bad page state in process cc1 pfn:75cbd [ 1609.725859] page:ffff7e0001d72f40 count:0 mapcount:0 mapping: (null) index:0x4 [ 1609.733512] flags: 0xffff00000460320(lru|slab|owner_priv_1|reclaim|swapbacked) [ 1609.740671] raw: 0ffff00000460320 0000000000000000 0000000000000004 00000000ffffffff [ 1609.748345] raw: dead000000000100 dead000000000200 0000000000000000 0000000000000000 [ 1609.756018] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set [ 1609.762137] bad because of flags: 0x60320(lru|slab|owner_priv_1|reclaim|swapbacked) [ 1609.769727] Modules linked in: nls_ascii nls_cp437 vfat fat meson_drm meson_saradc drm_kms_helper industrialio meson_rng rng_core sg meson_gxbb_wdt drm leds_gpio efi_pstore efivars ib_iser rdma_cm iw_cm ib_cm ib_core configfs efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 fscrypto ecb aes_arm64 sd_mod crc32c_generic iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi scsi_mod dwmac_generic realtek dwc2 meson_gx_mmc udc_core dwmac_meson8b stmmac_platform stmmac usbcore ptp pps_core of_mdio fixed_phy libphy i2c_meson phy_meson8b_usb2 fixed gpio_regulator [ 1609.769818] CPU: 3 PID: 14786 Comm: cc1 Not tainted 4.14.0-3-arm64 #1 Debian 4.14.13-1 [ 1609.769820] Hardware name: amlogic odroid-c2/odroid-c2, BIOS 2018.01-00447-g8865704d97 01/24/2018 [ 1609.769823] Call trace: [ 1609.769835] [<ffff00000808a708>] dump_backtrace+0x0/0x280 [ 1609.769841] [<ffff00000808a9ac>] show_stack+0x24/0x30 [ 1609.769848] [<ffff00000885bc7c>] dump_stack+0x9c/0xc0 [ 1609.769852] [<ffff00000821c808>] bad_page+0xf0/0x158 [ 1609.769856] [<ffff00000821c98c>] check_new_page_bad+0x7c/0xb0 [ 1609.769860] [<ffff000008220f18>] get_page_from_freelist+0xa18/0xbe0 [ 1609.769863] [<ffff00000822170c>] __alloc_pages_nodemask+0x114/0xe78 [ 1609.769868] [<ffff000008287098>] alloc_pages_vma+0x90/0x228 [ 1609.769873] [<ffff00000825b854>] __handle_mm_fault+0x59c/0x1048 [ 1609.769877] [<ffff00000825c3d4>] handle_mm_fault+0xd4/0x178 [ 1609.769882] [<ffff000008879d90>] do_page_fault+0x200/0x3f8 [ 1609.769886] [<ffff000008879ff4>] do_translation_fault+0x6c/0x7c [ 1609.769890] [<ffff0000080813f8>] do_mem_abort+0x68/0xe8 [ 1609.769893] Exception stack(0xffff00000bd2bec0 to 0xffff00000bd2c000) [ 1609.769896] bec0: 0000000000000000 00000000013569b8 0000000001350898 0000000000000001 [ 1609.769900] bee0: 0000000001322000 0000000000000000 0000000000c00928 00000000013338b0 [ 1609.769903] bf00: 00000000014241f8 0000000000000032 0000000000000006 0000000001334400 [ 1609.769907] bf20: 0000ffffa5d839f0 0000ffffa5d83a08 0000000000000000 0000000000000000 [ 1609.769910] bf40: 000000000131b388 0000ffffa61bd580 0000ffffa6294a50 000000000000000a [ 1609.769913] bf60: 0000000000000000 000000000000000a 0000000000000000 0000000001343070 [ 1609.769917] bf80: 00000000013422c0 0000000001322000 0000000000001848 0000ffffa48b0cf0 [ 1609.769920] bfa0: 0000ffffa48b0de0 0000ffffc427e870 00000000007112b0 0000ffffc427e870 [ 1609.769924] bfc0: 00000000007112bc 0000000000000000 0000000000000000 00000000ffffffff [ 1609.769927] bfe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1609.769931] [<ffff000008083478>] el0_da+0x20/0x24 [ 1609.769934] Disabling lock debugging due to kernel taint [ 1609.823773] BUG: Bad page state in process cc1 pfn:75eec [ 1609.823822] page:ffff7e0001d7bb00 count:-1463811205 mapcount:0 mapping:004500089903b47b index:0x4 [ 1609.832347] flags: 0x1f00a44e33061e00(owner_priv_1|arch_1|reserved|private|reclaim|swapbacked) [ 1609.840885] raw: 1f00a44e33061e00 004500089903b47b 0000000000000004 a8c0037bffffffff [ 1609.848554] raw: dead000000000100 dead000000000200 0000000000000000 0000e43e3c2d0a08 [ 1609.856227] page dumped because: page still charged to cgroup [ 1609.861921] page->mem_cgroup:0000e43e3c2d0a08 [ 1609.866232] bad because of flags: 0x61e00(owner_priv_1|arch_1|reserved|private|reclaim|swapbacked) [ 1609.875119] Modules linked in: nls_ascii nls_cp437 vfat fat meson_drm meson_saradc drm_kms_helper industrialio meson_rng rng_core sg meson_gxbb_wdt drm leds_gpio efi_pstore efivars ib_iser rdma_cm iw_cm ib_cm ib_core configfs efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 fscrypto ecb aes_arm64 sd_mod crc32c_generic iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi scsi_mod dwmac_generic realtek dwc2 meson_gx_mmc udc_core dwmac_meson8b stmmac_platform stmmac usbcore ptp pps_core of_mdio fixed_phy libphy i2c_meson phy_meson8b_usb2 fixed gpio_regulator [ 1609.875209] CPU: 3 PID: 14786 Comm: cc1 Tainted: G B 4.14.0-3-arm64 #1 Debian 4.14.13-1 [ 1609.875211] Hardware name: amlogic odroid-c2/odroid-c2, BIOS 2018.01-00447-g8865704d97 01/24/2018 [ 1609.875215] Call trace: [ 1609.875226] [<ffff00000808a708>] dump_backtrace+0x0/0x280 [ 1609.875232] [<ffff00000808a9ac>] show_stack+0x24/0x30 [ 1609.875238] [<ffff00000885bc7c>] dump_stack+0x9c/0xc0 [ 1609.875243] [<ffff00000821c808>] bad_page+0xf0/0x158 [ 1609.875246] [<ffff00000821c98c>] check_new_page_bad+0x7c/0xb0 [ 1609.875250] [<ffff000008220f18>] get_page_from_freelist+0xa18/0xbe0 [ 1609.875254] [<ffff00000822170c>] __alloc_pages_nodemask+0x114/0xe78 [ 1609.875259] [<ffff000008287098>] alloc_pages_vma+0x90/0x228 [ 1609.875264] [<ffff00000825b854>] __handle_mm_fault+0x59c/0x1048 [ 1609.875267] [<ffff00000825c3d4>] handle_mm_fault+0xd4/0x178 [ 1609.875274] [<ffff000008879d90>] do_page_fault+0x200/0x3f8 [ 1609.875278] [<ffff000008879ff4>] do_translation_fault+0x6c/0x7c [ 1609.875281] [<ffff0000080813f8>] do_mem_abort+0x68/0xe8 [ 1609.875284] Exception stack(0xffff00000bd2bec0 to 0xffff00000bd2c000) [ 1609.875287] bec0: 0000000000000004 0000000001360898 0000000000000008 00000000013569c8 [ 1609.875291] bee0: 000000000135c898 0000000001358898 0000000000c00928 0000000001354898 [ 1609.875294] bf00: 0000000000000004 0000000000000004 0000000000000006 0000000001334400 [ 1609.875298] bf20: 0000ffffa5d839f0 0000ffffa5d83a08 0000000000000000 0000000000000000 [ 1609.875301] bf40: 000000000131b388 0000000000006130 0000000000006228 0000ffffc427e8e0 [ 1609.875305] bf60: 000000000000000a 0000000000000000 0000000001322000 0000000000000000 [ 1609.875308] bf80: 00000000013422c0 0000000000000008 0000000000000000 0000000000000000 [ 1609.875312] bfa0: 0000000000000040 0000ffffc427e7f0 000000000070f280 0000ffffc427e7f0 [ 1609.875315] bfc0: 000000000070f2dc 0000000080000000 0000000000000000 00000000ffffffff [ 1609.875318] bfe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1609.875322] [<ffff000008083478>] el0_da+0x20/0x24 ** Model information Device Tree model: Hardkernel ODROID-C2 ** Loaded modules: nls_ascii nls_cp437 vfat fat meson_drm meson_saradc drm_kms_helper industrialio meson_rng rng_core sg meson_gxbb_wdt drm leds_gpio efi_pstore efivars ib_iser rdma_cm iw_cm ib_cm ib_core configfs efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 fscrypto ecb aes_arm64 sd_mod crc32c_generic iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi scsi_mod dwmac_generic realtek dwc2 meson_gx_mmc udc_core dwmac_meson8b stmmac_platform stmmac usbcore ptp pps_core of_mdio fixed_phy libphy i2c_meson phy_meson8b_usb2 fixed gpio_regulator ** Network interface configuration: # interfaces(5) file used by ifup(8) and ifdown(8) # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d *** Device statistics: Inter-| Receive | Transmit face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed lo: 200 4 0 0 0 0 0 0 200 4 0 0 0 0 0 0 eth0: 1405995415 1011905 0 0 0 0 0 0 1515138587 1225114 0 0 0 0 0 0 ** PCI devices: not available ** USB devices: Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: arm64 (aarch64) Kernel: Linux 4.14.0-3-arm64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages linux-image-4.14.0-3-arm64 depends on: ii initramfs-tools [linux-initramfs-tool] 0.130 ii kmod 25-1 ii linux-base 4.5 Versions of packages linux-image-4.14.0-3-arm64 recommends: ii apparmor 2.12-1 ii firmware-linux-free 3.4 ii irqbalance 1.3.0-0.1 Versions of packages linux-image-4.14.0-3-arm64 suggests: pn debian-kernel-handbook <none> pn linux-doc-4.14 <none> Versions of packages linux-image-4.14.0-3-arm64 is related to: pn firmware-amd-graphics <none> pn firmware-atheros <none> pn firmware-bnx2 <none> pn firmware-bnx2x <none> pn firmware-brcm80211 <none> pn firmware-cavium <none> pn firmware-intel-sound <none> pn firmware-intelwimax <none> pn firmware-ipw2x00 <none> pn firmware-ivtv <none> pn firmware-iwlwifi <none> pn firmware-libertas <none> pn firmware-linux-nonfree <none> pn firmware-misc-nonfree <none> pn firmware-myricom <none> pn firmware-netxen <none> pn firmware-qlogic <none> pn firmware-realtek <none> pn firmware-samsung <none> pn firmware-siano <none> pn firmware-ti-connectivity <none> pn xen-hypervisor <none> -- no debconf information