ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010642 | CentOS-7 | kernel | public | 2016-03-31 12:52 | 2016-05-17 11:14 |
Reporter | vlastimil.holer | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
OS Version | 7 | ||||
Summary | 0010642: [abrt] kernel: WARNING: at drivers/md/raid5.c:4221 break_stripe_batch_list+0x2b0/0x2c0 [raid456]() | ||||
Description | Description of problem: MD RAID5 over 4 disks just crashed, unknown steps to reproduce. md125 : active raid5 sdb1[1] sdd1[4] sdc1[2] sda1[0] 2929890816 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU] bitmap: 2/8 pages [8KB], 65536KB chunk Version-Release number of selected component: kernel Truncated backtrace: WARNING: at drivers/md/raid5.c:4221 break_stripe_batch_list+0x2b0/0x2c0 [raid456]() Modules linked in: ixgbe mdio xt_mac xt_physdev ip_set nfnetlink vhost_net vhost macvtap macvlan ebt_arp ebt_ip ebtable_nat vfio_iommu_type1 vfio_pci vfio tun ebtable_filter ebtables ip6table_filter ip6_tables 8021q garp mrp bridge stp llc bonding xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 xt_comment xt_multiport xt_conntrack nf_conntrack iptable_filter xprtrdma ib_isert iscsi_target_mod ib_iser libiscsi scsi_transport_iscsi ib_srpt target_core_mod ib_srp scsi_transport_srp scsi_tgt ib_ipoib rdma_ucm ib_ucm ib_uverbs ib_umad rdma_cm ib_cm iw_cm iTCO_wdt iTCO_vendor_support raid456 intel_powerclamp async_raid6_recov async_memcpy async_pq coretemp intel_rapl kvm_intel kvm crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd raid6_pq async_xor xor async_tx raid0 pcspkr sb_edac edac_core sg i2c_i801 mei_me lpc_ich mei mfd_core ioatdma shpchp wmi acpi_pad ipmi_si ipmi_devintf ipmi_msghandler nfsd nfs_acl lockd auth_rpcgss grace sunrpc ip_tables ext4 mbcache jbd2 mlx4_ib ib_sa ib_mad ib_core ib_addr mlx4_en vxlan ip6_udp_tunnel udp_tunnel raid1 sd_mod crc_t10dif crct10dif_generic crct10dif_pclmul crct10dif_common crc32c_intel ast syscopyarea sysfillrect sysimgblt drm_kms_helper ttm igb i2c_algo_bit drm mlx4_core ahci libahci ptp i2c_core libata pps_core dca dm_mirror dm_region_hash dm_log dm_mod [last unloaded: mdio] CPU: 5 PID: 1413 Comm: md125_raid5 Not tainted 3.10.0-327.10.1.el7.x86_64 #1 Hardware name: Supermicro SYS-2048U-RTR4/X10QRH+, BIOS 1.0a 06/01/2015 0000000000000000 00000000c6b74f8d ffff88bf25a8baf0 ffffffff816352cc ffff88bf25a8bb28 ffffffff8107b200 ffff883f08606ce8 0000000000000001 ffff883f087b19a0 ffff883f08606d70 0000000000000000 ffff88bf25a8bb38 Call Trace: [] dump_stack+0x19/0x1b [] warn_slowpath_common+0x70/0xb0 [] warn_slowpath_null+0x1a/0x20 [] break_stripe_batch_list+0x2b0/0x2c0 [raid456] [] handle_stripe+0x9ba/0x23d0 [raid456] [] handle_active_stripes.isra.41+0x37e/0x4f0 [raid456] [] ? do_release_stripe+0x96/0x1a0 [raid456] [] ? __release_stripe+0x21/0x30 [raid456] [] raid5d+0x508/0x760 [raid456] [] md_thread+0x155/0x1a0 [] ? wake_up_atomic_t+0x30/0x30 [] ? md_safemode_timeout+0x50/0x50 [] kthread+0xcf/0xe0 [] ? kthread_create_on_node+0x140/0x140 [] ret_from_fork+0x58/0x90 [] ? kthread_create_on_node+0x140/0x140 | ||||
Additional Information | reporter: libreport-2.1.11 cmdline: BOOT_IMAGE=/vmlinuz-3.10.0-327.10.1.el7.x86_64 root=/dev/mapper/sysvg-root ro nofb quiet splash=quiet crashkernel=auto rd.md.uuid=5e6bcdbd:e16fb415:c67fd595:f1c44d12 rd.lvm.lv=sysvg/root rd.md.uuid=e9591e79:b1196f3f:5f9fe70a:fd18de15 rd.lvm.lv=sysvg/swap console=tty0 console=ttyS1,115200 intel_iommu=on LANG=en_US.UTF-8 kernel: 3.10.0-327.10.1.el7.x86_64 mail_subject: zefron7.priv.cerit-sc.cz [] abrt crash report for [kernel] type: Kerneloops uid: 0 | ||||
abrt_hash | 97ead7ae2eb972fbd8e37b212d97b3c8b7235145 | ||||
URL | https://retrace.fedoraproject.org/faf/reports/bthash/f5ec818ad98f7a458a73b0a7d82ec00f569ffe91 |
Per lei era tutto normale e intanto i mac- do ha ripreso fiato, Alicia ha iniziato a gridare, in preda a una chinisti aprivano le finestre. Intanto Ziggie, l'assistente, portava me di corsa Alcuni secondi dopo, di nuovo silenzio sul set, il ciak, e io so- all'ospedale di Dusseldorf. Per lei era tutto normale e intanto i mac- do ha ripreso fiato, Alicia ha iniziato a gridare, in preda a una chinisti aprivano le finestre. Intanto Ziggie, l'assistente, portava me di corsa Alcuni secondi dopo, di nuovo silenzio sul set, il ciak, e io so- all'ospedale di Dusseldorf.
OpenZFS v2.1.99-dragon (Based on original version 2.1.99-release)
OpenZFS is an outstanding storage platform that encompasses the functionality of traditional filesystems, volume managers, and more, with consistent reliability, functionality and performance.
- Built-in implementation OpenZFS v2.1.99-dragon
Only for Dragon kernel v5.13+
You can download OpenZFS libraries and utilities from the download area, tools only for Zol v2.
Hard.io Mac Os 7
MODINFO ZFSIt worked fine on the 'new' directory because utf8 flag or no, everything sits nicely in the ASCII range. But when it attempts to construct a path using the other directories, it ends up with something it or the OS doesn't consider a valid path.We can test a quick fix by chopping the 'A' off our perl invocation, and sure enough it.
OpenZFS v2.0.3-dragon (Based on original version 2.0.3-release) OpenZFS site. OpenZFS is an outstanding storage platform that encompasses the functionality of traditional filesystems, volume managers, and more, with consistent reliability, functionality and performance. The issue is, the kernel needs to deal with hard IO errors at that level somehow, and since those errors typically persist, re-dirtying the pages would not really solve the problem (unless some filesystem remaps the request to a different block, assuming the device is alive).
MODINFO SPLMODINFO ICPMODINFO ZLUAReiser5 (Software Framework Release: 5.1.3).
Enable Reiser5 support
Note: that by Linux kernel and GNU utilities the testing stuff is still recognized as 'Reiser4'. Make sure there is the following message in kernel logs: 'Loading Reiser4 (Software Framework Release: 5.X.Y)'
MODINFO REISER4It is recommended and also the default to use the zstd1
plugin by formatting with the following options:
Haruspex mac os. or add to /etc/fstab
Reiser5 Tools for kernel v5.13+
- After installing the Dragon kernel, it is recommended to upgrade the reiser4progs package:
You can download Raiser5 libraries and utilities from the download area.
- reiser4progs (2.0.4)
Enable AMDGPU+OpenCL driver for AMD Saturn XT FirePro M6100
AMD Radeon chipsets:BONAIRE
OpenCL for all Bonaire chipsets only works on Dragon Kernel!
- Install free implementation of the OpenCL API – ICD runtime
- Add to file /etc/OpenCL/vendors/mesa.icd (create file and directory if not present)
- KFD module for bonaire works
- Short OpenCl info
- Short OpenGL info
- Device pci info
- Add to grub.cfg
- Add to /etc/sensors3.conf
- Add to /etc/fancontrol
I recommend using the following utilities to monitor the device:
BTRFS Tools for kernel v5.13+
- After installing the Dragon kernel, it is recommended to upgrade the btrfs-progs package:
Package version (download from Dragon support site):
- btrfs-progs (5.9.1)
Kernel verification can be done without IMA security subsystem enabled.
- In kernel enabled CONFIG_KEXEC_SIG and CONFIG_KEXEC_BZIMAGE_VERIFY_SIG by default.
On x86, a signature is embedded into a PE file (MS format) header of binary. Since arm64's 'Image' can also be seen as a PE file as far as CONFIG_EFI is enabled, we adopt this format for kernel signing.
You can create a signed kernel image with:
For signing Dragon Kernel for EFI Boot with your MOK
- Generate your MOK.pem
Hard.io Mac Os Catalina
- Sign your kernel
- After installing the Dragon kernel, it is recommended to upgrade the btrfs-progs package:
Package version (download from Dragon support site):
- btrfs-progs (5.9.1)
Kernel verification can be done without IMA security subsystem enabled.
- In kernel enabled CONFIG_KEXEC_SIG and CONFIG_KEXEC_BZIMAGE_VERIFY_SIG by default.
On x86, a signature is embedded into a PE file (MS format) header of binary. Since arm64's 'Image' can also be seen as a PE file as far as CONFIG_EFI is enabled, we adopt this format for kernel signing.
You can create a signed kernel image with:
For signing Dragon Kernel for EFI Boot with your MOK
- Generate your MOK.pem
Hard.io Mac Os Catalina
- Sign your kernel
- Delete old not signed kernel
- Read more - Signing a custom kernel for Secure Boot
Thanks Edgard Pineda 'epineda'
Fixes booting kernel for i915 video chipset
If kernel starting and boot screen black or boot process stop then:
- change kernel grub boot options i915.modeset=1 to i915.modeset=0 or add if not present in your configuration
From boot grub menu enter 'e' key and edit kernel boot line and press F10 for boot.
Disable the initramfs
If this is successful, you can make the changes permanent on your system for your kernel:
Follow the steps above, and additionally:
Detecting available microcode update:
It is possible to find out if the intel-ucode.img contains a microcode image for the running CPU with iucode-tool.
- Install intel-ucode (changing initrd is not required for detection)
- Install iucode-tool
Load the cpuid kernel module:
Extract microcode image and search it for your cpuid:
- If an update is available, it should show up below selected microcodes
- The microcode might already be in your vendor bios and not show up loading in dmesg. Compare to the current microcode running grep microcode /proc/cpuinfo
To manually generate the microcode cpio archive use iucode_tool:
New method without initram-fs/disk (efistub compatible)
Warning!
Note
Install
The signature is found in microcode bundle 19, so the filename to use is /lib/firmware/intel-ucode/06-2a-07
Kernel config
Enable and configure the CONFIG_MICROCODE, CONFIG_MICROCODE_INTEL, CONFIG_FIRMWARE_IN_KERNEL, CONFIG_EXTRA_FIRMWARE and CONFIG_EXTRA_FIRMWARE_DIR kernel options.
Warning!
Every option must be set as built into the kernel, not as a kernel module.
Note
Verification
After the next reboot, the loaded microcode revision can be verified by running:
Hard.io Mac Os X
The dmesg output should include:
Hard.io Mac Os Download
Rebuild and install the kernel as usual.
Note
Example config files for Intel i5 Westmere, 4Gb RAM
- Add to /etc/default/grub
If use cgroup v1
*If use cgroup v2**
Enable ZSWAP
Zswap is a kernel feature that provides a compressed RAM cache for swap pages
- Add to grub.cfg
Tune IO scheduler
For now, add file /etc/udev/rules.d/60-ssd-scheduler.rules.
You can also add this to file 60-ssd-scheduler.rules:
For BFQ scheduler:
For Kyber scheduler:
and run a command:
Add to .bashrc
file:
- /etc/sysctl.conf
- /etc/network/interfaces
- /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
- /etc/NetworkManager/NetworkManager.conf
Copyright © 2021 Dragon Team All rights reserved.