kumba 15/02/16 09:48:49 Added: src_unpack-v5.eblit show_ip27_info-v3.eblit Removed: show_ip27_info-v2.eblit src_unpack-v4.eblit Log: Update to 3.19.0 and linux-mips-git 20150215. Update IP27 show_info to warn of random BUG() under heavy disk I/O. (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key D25D95E3)
Revision Changes Path 1.1 sys-kernel/mips-sources/files/eblits/src_unpack-v5.eblit file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/mips-sources/files/eblits/src_unpack-v5.eblit?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/mips-sources/files/eblits/src_unpack-v5.eblit?rev=1.1&content-type=text/plain Index: src_unpack-v5.eblit =================================================================== # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/files/eblits/src_unpack-v5.eblit,v 1.1 2015/02/16 09:48:49 kumba Exp $ # Eblit to handle src_unpack. eblit-mips-sources-src_unpack() { # Unpack the kernel sources, update to the latest rev (if needed), # and apply the latest patch from linux-mips git. kernel-2_src_unpack # Unpack the mips-sources patchset to ${WORKDIR}/mips-patches-${BASE_KV}. echo -e "" cd "${WORKDIR}" unpack "${PN}-${BASE_KV}-patches-v${GENPATCHREV}.tar.xz" # Create a new folder, patch-symlinks, and create symlinks to # mips-patches in there. If we want to exclude a patch, we'll # just delete the symlink instead of the actual patch. local psym="patch-symlinks" mkdir "${psym}" cd "${psym}" for x in ../mips-patches-${BASE_KV}/*.patch; do ln -s "${x}" "${x##../mips-patches-*/}" done # With symlinks created, setup the variables referencing external # machine patches and if a machine USE flag is enabled, then unset # its corresponding variable. # See 0000_README for the patch numbers and their meanings. local p_generic="501*" local p_ip27="502*" p_ip28="503*" p_ip30="504*" p_ip32r10k="6001*" use ip27 && unset p_generic p_ip27 use ip28 && unset p_ip28 use ip30 && unset p_generic p_ip30 use ip32r10k && unset p_ip32r10k # Remove symlinks for any patches that we don't want applied. We do # this by looping through all the above variables, and deleting # matching symlinks that point to the corresponding patches. # The remaining symlinks will be applied to the kernel source. local patchlist="${p_generic} ${p_ip27} ${p_ip28} ${p_ip30} ${p_ip32r10k}" for x in $patchlist; do rm -f "./${x}"; done # Rename the source tree to match the linux-mips git checkout date and # machine type. local fkv="${F_KV%-*}" local v="${fkv}-${GITDATE}" for x in {ip27,ip28,ip30,cobalt}; do use ${x} && v="${v}.${x}" && break; done mv "${WORKDIR}/linux-${fkv/_/-}" "${WORKDIR}/linux-${v}" || die S="${WORKDIR}/linux-${v}" # Now go into the kernel source and patch it. cd "${S}" epatch "${WORKDIR}/${psym}"/*.patch # Set the EXTRAVERSION to linux-VERSION-mipsgit-GITDATE EXTRAVERSION="${EXTRAVERSION}-mipsgit-${GITDATE}" unpack_set_extraversion } 1.1 sys-kernel/mips-sources/files/eblits/show_ip27_info-v3.eblit file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/mips-sources/files/eblits/show_ip27_info-v3.eblit?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/mips-sources/files/eblits/show_ip27_info-v3.eblit?rev=1.1&content-type=text/plain Index: show_ip27_info-v3.eblit =================================================================== # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/files/eblits/show_ip27_info-v3.eblit,v 1.1 2015/02/16 09:48:49 kumba Exp $ # Eblit with information/warnings for IP27 (Origin 200/2000/Onyx2) users. # # If you need to add whitespace for formatting in 'einfo', 'ewarn', or 'eerror', use # \040 for a space instead of the standard space. These functions will strip # redundant white space. show_ip27_info() { echo -e "" ewarn "Heavy disk I/O on recent kernels may randomly trigger a BUG() in" ewarn "isolate_lru_pages() in mm/vmscan.c. The exact trigger cause is" ewarn "unknown at this time. Please report any oops messages from this" ewarn "bug to bugs.gentoo.org (assign to [email protected])" echo -e "" }
