From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C741C33C8C for ; Tue, 7 Jan 2020 15:30:16 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DC8EF20715 for ; Tue, 7 Jan 2020 15:30:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ad52iUpB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DC8EF20715 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 47sbsw6k9RzDqJm for ; Wed, 8 Jan 2020 02:30:12 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::441; helo=mail-wr1-x441.google.com; envelope-from=bertrand.dekoninck@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ad52iUpB"; dkim-atps=neutral Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 47sbqR0QVRzDqHm for ; Wed, 8 Jan 2020 02:28:00 +1100 (AEDT) Received: by mail-wr1-x441.google.com with SMTP id j42so54368847wrj.12 for ; Tue, 07 Jan 2020 07:28:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=BaRBpcXoie2Hisr+U7joePnNZv6IJhH3QHYya5BCir8=; b=ad52iUpB5Q7dccOUXbzuUYZZoc+dX4YIFkpwQf2I8EQ7p4uUPZyHxkRzDGLxIGh15I Nj26iw/Xz8Y7NrWwBwD0FL8QCJDnFDy3h6Zx9lZ1lDCXVfhSVoVt7plQW7dc8YkOX/eP laZALJVHib2BF2BSq9I6H3/5OUuBuPyDcJgqqIKvdyLhpGmQuxx6ZVgcbttqC0ELFX6c IqXs3cYPyQ+GkFdMlkMN7KA7fKjbCe0kw0l/FeuK7JSHY05zVOf9A4cZE7fzk8LUFY3V 0h8r/fbdnhAVHFBSUvgPz6unEFBKthYLA38SLNDfWfdOD9cvEdEYqhc8ehSD4wd0rSIq qkUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=BaRBpcXoie2Hisr+U7joePnNZv6IJhH3QHYya5BCir8=; b=Iv9sBAzjBto1qcWDoJOtB2DS9+jmu6JNlE6mfWT1Hcr7d5paUBqhouZNvjTF9tU+Rg m/xpWhuFuskqXn6ddWtVE7gXW8JwfjcWAtqs6dVGDF9ltzt0sBX+SrD742EqMEOg9/MY UXXbmodpgF1AuPjUpyQm6IkKXREpuaLxCtNIyYBosnnAxf838INT6upsxblrucok5Iy9 TTkt8HYRX9WaZLEATr41GDG55tT9b/X65u0lCKU1XC3bAH/uH3Cf5dX8fccipPsFGYCQ zqziiGJjIuQUUtgz+UpepTlRoHbalB4TOXB4nF+SdY8NUOnXV8RU61KNVYchKEI61l0w 2wNw== X-Gm-Message-State: APjAAAVyQ6VOWXSjSVdWmb9N8RQQ8uJ9KfsRgVSXOlVp22NrXCMopduC N8iPFTk4DDfXy0dI16WKF18= X-Google-Smtp-Source: APXvYqw+C17vNDvk6f4TzMRKICGZ4h/03csFRqZqaSZfVDEJclhtZcqVYEinnUzEzKr2aPWhc/2Z7w== X-Received: by 2002:adf:dd51:: with SMTP id u17mr105671626wrm.290.1578410874779; Tue, 07 Jan 2020 07:27:54 -0800 (PST) Received: from ?IPv6:2a01:e35:2428:560:44f3:4b8f:b355:41c0? ([2a01:e35:2428:560:44f3:4b8f:b355:41c0]) by smtp.gmail.com with ESMTPSA id w22sm26073006wmk.34.2020.01.07.07.27.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Jan 2020 07:27:54 -0800 (PST) Subject: Re: PPC64: G5 & 4k/64k page size To: Romain Dolbeau References: <87eexbk3gw.fsf@linux.ibm.com> <87mubxl82x.fsf@igel.home> <87immlkytp.fsf@igel.home> <20191214103213.309bfbbb1f9c50fe47e733d9@zonnet.nl> From: Bertrand Message-ID: <709f10b0-6b7f-8de2-3fac-1f4f6350afaf@gmail.com> Date: Tue, 7 Jan 2020 16:27:51 +0100 User-Agent: Mozilla/5.0 (X11; Linux ppc64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Aneesh Kumar K.V" , Jeroen Diederen , PowerPC List Debian , Andreas Schwab , John Paul Adrian Glaubitz , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On 06/01/2020 19:30, Romain Dolbeau wrote: > Le dim. 5 janv. 2020 à 16:06, Bertrand Dekoninck > a écrit : >> I can now test on powermac 7,3 (with an ATI card) >> How can I build a deb package of this kernel ? Or is there a package to download somewhere ? I've tested the 5.5-rc package with the link you gave hereafter. When you said "working kernel", did you mean it would not crash ? It doesn't for me. I can boot successfully. The only weirdness I could notice is that my swap space wasn't mounted. When I tried  to run swapon, I was given the following (roughly translated from french) : swapon: /dev/sdb5 : pagesize doesn't fit with space space format               unable to find swap-space signature So I ran mkswap on the partition, I could then run swapon successfully. But, when I boot the old kernel ( 5.3), I've got the same error again on swap and I have to format the swap space to mount it manually. There's something wrong on swap page size between those two kernels. > I usually cross-compile on x86-64 from upstream sources. On a Debian > Buster with the powerpc tools installed, > it's just: > > ##### > make ARCH=powerpc CROSS_COMPILE=powerpc64-linux-gnu- oldconfig && nice > -19 make ARCH=powerpc CROSS_COMPILE=powerpc64-linux-gnu- -j56 > bindeb-pkg > #### > > (alter the -j56 for your own build system). For the dependency, as far > as I remember I only needed "gcc-powerpc64-linux-gnu" and > dependencies. My '.config' is Debian's 5.3 plus default values for > changes - with the exception of 4 KiB pages.I should use the same and the same config file also. I'll try this later. Should I download the 5.5-rc1 kernel source or something else ? > > I've also uploaded the working kernel with 4 KiB pages DEB here: > , as it might be easier for a quick test. > > Cordially, > Cheers, Bertrand