Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3156872pxb; Tue, 21 Sep 2021 16:14:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzx78Z7snGoTlz0c8N4QD8/OoJIvDxcetQJuBn5tkMLaHkaSdDTWd0KK2XUAuTSRLQ5KEKv X-Received: by 2002:a17:906:b104:: with SMTP id u4mr39090733ejy.201.1632266042769; Tue, 21 Sep 2021 16:14:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632266042; cv=none; d=google.com; s=arc-20160816; b=tj7JrXAxAaoWltyYE18gKpomI3aK8r3KqtDoq5Hwm5iVfpjpaoNrcfbvZjC7jtH+jr hcRBtcmSiGfzhtVGKUqSsdZd+dC9LfEXNPuJ4WoBuf17eMat4LyGbZhnVm/Hj8GxMczq AVEpWx0mV1x9hQaWn6AwNiMQQcFAHWT4PIo6HgJ3L00MMCTfxxezcNJQJtJTvnRdhbZZ CO5Wd2xv5c5AOtWUMzR5P589bOL84hDaK4SaX6oAhYnVY9k2sgTQykD9pxi4cZTd5gu7 P5+nKPuLx5tol9pjivLnDTsOZ4B5ftUInKG8B0I2eRTxDGAMZ7JK9GazeY2h14TJQuqy +aew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=saxUeZkyfD8m3fLKWMGCvCKIEI/yO8iAXU931aRd5WU=; b=AdZlsHvJxfZBS1TuYkWUBqBDc7K+WoRajgA3YTR8CzI4Xh6DlG3O3EmXU2AH98340B J0NEjHO9VKAelk8Xi0P/RaJx+FlMD8l0jwDwog+iG8w9ucjbbRZE+2oxCo8qWU8L678P jDT4W9yyflRE47cAvpVsbbye6+/86TjTp/nsNwPmi6oebAJd5BfrvhYe+CI3wjm4EnYe r1eFVZWr7mCo2WiMfjmIVI5yCWrUgjEAET0iUFD2HHyevDbSGNfxNDr9WDnHRvjPOxmE zHYU6AdcKIzJg4LeOv5+2L1uvW8q/JAskMRnuTl8NvZhRD3nXpkVKy/22Wo+wdTyMUfk MqJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=a72tCTH6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d17si431114ejo.536.2021.09.21.16.13.38; Tue, 21 Sep 2021 16:14:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=a72tCTH6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235004AbhIUUoa (ORCPT + 99 others); Tue, 21 Sep 2021 16:44:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229486AbhIUUo1 (ORCPT ); Tue, 21 Sep 2021 16:44:27 -0400 Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBD1EC061575 for ; Tue, 21 Sep 2021 13:42:58 -0700 (PDT) Received: by mail-il1-x130.google.com with SMTP id x2so271016ilm.2 for ; Tue, 21 Sep 2021 13:42:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=saxUeZkyfD8m3fLKWMGCvCKIEI/yO8iAXU931aRd5WU=; b=a72tCTH63AUXKla3GIb4KeGSIsIWtDIubA+z5EzCcwxLDDbfnCgdBjTJyUsDvcdQry DZJhI1zU83c96zRsUlhCrIvj0nW/+wM/r9UVJ174IDqNBdk125De1bw8QMcRG+mNMBKk lpEZV3vIRucuELPKJ3KLp9lByezvSKMgH5fPo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=saxUeZkyfD8m3fLKWMGCvCKIEI/yO8iAXU931aRd5WU=; b=IvtML0d7DoMooQLt21SkDlhwab4CgIt7hnPqFW/a0Y9bU4Oa/pmm2TLRt1PVHzmG1A lVO85JAy3OvGElVyYBiPiqCnd1MHzTFqe+thBj6511ICDHpkyjy5hCCN3HPmvc02EpSP f/LSkZ9w1mXI2yZfa+f9a9vU/oy6mboE53IQ4JMcvScp2D+B+TLrLaRZ05fYaYNbOsfh tpLZlkQBz8brJ/ZihUXgUIklYWKgx2E4DbsQal1fcUEJJBRqpCAjLALCOwN3YNHeOlHD PhaV6Z8dRl1C5dV8kO59+C2CiMjAAndJQrxnm17lamKu8WihSGeRyE4m0nalMuEhYxvE YdlQ== X-Gm-Message-State: AOAM533ZVy2236XspbX0jKHLe0vVdEzxCw8w/2S4eWDqV2ob6FY5884B Wtd7HwaTnsBFBBVsg4yO8Z+TSLSic6estOkEqyk= X-Received: by 2002:a05:6e02:d02:: with SMTP id g2mr23002021ilj.69.1632256977745; Tue, 21 Sep 2021 13:42:57 -0700 (PDT) Received: from mail-io1-f53.google.com (mail-io1-f53.google.com. [209.85.166.53]) by smtp.gmail.com with ESMTPSA id f14sm11848ilk.29.2021.09.21.13.42.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Sep 2021 13:42:55 -0700 (PDT) Received: by mail-io1-f53.google.com with SMTP id a15so436147iot.2 for ; Tue, 21 Sep 2021 13:42:55 -0700 (PDT) X-Received: by 2002:a05:6638:1b2:: with SMTP id b18mr1732593jaq.95.1632256974780; Tue, 21 Sep 2021 13:42:54 -0700 (PDT) MIME-Version: 1.0 References: <202109211913.18LJDnXp031134@valdese.nms.ulrich-teichert.org> In-Reply-To: <202109211913.18LJDnXp031134@valdese.nms.ulrich-teichert.org> From: Linus Torvalds Date: Tue, 21 Sep 2021 13:42:38 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 0/4] Introduce and use absolute_pointer macro To: Ulrich Teichert Cc: Michael Cree , Guenter Roeck , Richard Henderson , Ivan Kokshaysky , Matt Turner , "James E . J . Bottomley" , Helge Deller , "David S . Miller" , Jakub Kicinski , alpha , Geert Uytterhoeven , Linux Kernel Mailing List , linux-parisc , Netdev , Sparse Mailing-list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 21, 2021 at 12:14 PM Ulrich Teichert wrote: > > Right, I had DEBUG_INFO set. Stupid me. Now it looks much better: > > valdese:~/soft/linux/kernel-git> ls -lh arch/alpha/boot/vmlinux* > -rwxr-xr-x 1 ut ut 6.4M Sep 21 18:12 arch/alpha/boot/vmlinux* > -rw-r--r-- 1 ut ut 3.0M Sep 21 18:12 arch/alpha/boot/vmlinux.gz > > But it still dies before the first message from the kernel shows up. Ok. That's a nasty situation to debug, and it's where things like "git bisect" are really useful just to narrow things down. ... which isn't an option here. Too bad. I also assume thete is no virtual environment that looks like a Jensen that would help debug this. Which all makes it a bit nasty to try to even guess at what goes wrong. > I don't think I have to do something special with the > compressed image and according to https://tldp.org/HOWTO/SRM-HOWTO/aboot.= html > I don't have to. Yeah, it's more than two decades since I used an alpha, so I'm afraid I can't help outside of the "let's make it compile again" thing. It could easily be that the Jensen required that SRM bootimage, but it's so long ago that I really don't remember at all. > I would try the SRM bootimage (make bootimage), but the build is broken: Well, that looks like something that should be fixed, and that I might look= at. > arch/alpha/boot/tools/objstrip.c:191:52: warning: format =E2=80=98%lx=E2= =80=99 expects argument of type =E2=80=98long unsigned int=E2=80=99, but ar= gument 5 has type =E2=80=98long long unsigned int=E2=80=99 [-Wformat=3D] > fprintf(stderr, "%s: extracting %#016lx-%#016lx (at %lx)\n", > ^ > arch/alpha/boot/tools/objstrip.c:200:12: error: =E2=80=98struct exec=E2= =80=99 has no member named =E2=80=98fh=E2=80=99 > if (!(aout->fh.f_flags & COFF_F_EXEC)) { This looks like the "make bootimage" thing was never designed to work in a cross-build environment. I think. Because it looks like what happens is that when you cross-compile, it gets the x86-64 'struct exec', and then everything goes sideways. > Was that the target used to get bootable CDROMs? Could that be broken sin= ce > the move from aout to ELF? Ugh, sorry for raising so much trouble, No, this is lovely. It would be really nice to get that Jensen target working, if only because of silly historical reasons. I'll see if I can get around to this. Linus