From nobody Tue Feb 27 17:37:13 2024 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tkl7708L4z5C6Yj for ; Tue, 27 Feb 2024 17:37:39 +0000 (UTC) (envelope-from himanshu@thechauhan.dev) Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tkl760yCqz4mwv for ; Tue, 27 Feb 2024 17:37:38 +0000 (UTC) (envelope-from himanshu@thechauhan.dev) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=thechauhan.dev header.s=google header.b=Q56uvvyA; dmarc=none; spf=fail (mx1.freebsd.org: domain of himanshu@thechauhan.dev does not designate 2607:f8b0:4864:20::42b as permitted sender) smtp.mailfrom=himanshu@thechauhan.dev Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-6e435542d41so3077174b3a.1 for ; Tue, 27 Feb 2024 09:37:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thechauhan.dev; s=google; t=1709055456; x=1709660256; darn=freebsd.org; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:from:to:cc:subject:date:message-id:reply-to; bh=SQSCZrSYaXRHRF0ubhP8rh0y/h6xMO688tEhzF+ql/0=; b=Q56uvvyAnlwN5QEmOesgygjq+RBWfPLXGu94hJ5GuEK2Hjpcw5sQDgkxPEfjsMDsmz h9Xkv5DKDnVvW/8rs63dqvkX1ebG0xRDVloVb0q1xd6fjgKO7BJvO1BHqqNbQS+RDmym Tx3CWabsp5tzbLQ5cx0A47k7tW7P3RGnV1I+V4CTX164jfhNknTcAUiojPIX8mueKNzV vRF+Wr2ORGLfGtMJvS5BCSnLTNOZ329Slb2xjFiijVnBRenssMa9fm2xrIi2I2wminHk NFf+gGwyhQN1A3CL4vHTddo2eshXQ/3VY18AADjVWRgP4Wl6upCI6Gu6dO0ckh3mc1cP GG4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709055456; x=1709660256; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SQSCZrSYaXRHRF0ubhP8rh0y/h6xMO688tEhzF+ql/0=; b=ESvPaIiTrye4FohDiI8MqCxwrZMQ4BD+j+n57o0lFTAfrfMhODuAxBp7XUjRq/1qHn jEIxIpU3KbGw0h272Zok/lRXJLNaPfVvtuVQBonaeEGcCHhuWLBDEEnyExbq+/DYB4Jc 7wdBXYlb4DA5/enMg2d+34bPyubW/3zKeR293tnoI+eszRh3JtwCsNDqye167Fx5o47z IGviLOx/bOKw/H7YLjWPA4x85xNIlrYMbgeP4L957W5LueIE/bWvH35R9pw51/DzlKbE PB+MDJFJouau7ODvSDZaD+4uAiKNrsYYJteIKlVmHCU36SCauvW8Q9ug6bj6/i3ctHdf eVgw== X-Gm-Message-State: AOJu0YwXSOEnsgjeCtAOAYd9n/1RDFZsRzUIka/pq95IboWuuWTlAh6I fhE/JaH7NhcJjF0SdCgyTCtMEWZLEPu8kbkUf+yJtNy4GdvNQ+XSesKWmwIKkCxw+OZQmmXACeg = X-Google-Smtp-Source: AGHT+IHMojAOB8Xv43DBTL+7BWxZzetXZGO//aY/GHJBdjzi16q/3K9KbDXdkvqeAp/w3rwb7H3y9A== X-Received: by 2002:a05:6a21:3482:b0:1a1:aad:5d5c with SMTP id yo2-20020a056a21348200b001a10aad5d5cmr2647323pzb.42.1709055456421; Tue, 27 Feb 2024 09:37:36 -0800 (PST) Received: from smtpclient.apple ([2405:201:d019:cbd3:a52a:deee:895a:f2c5]) by smtp.gmail.com with ESMTPSA id x185-20020a6386c2000000b005e43cce33f8sm6142544pgd.88.2024.02.27.09.37.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Feb 2024 09:37:36 -0800 (PST) From: Himanshu Chauhan Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\)) Subject: Unable to boot custom kernel Message-Id: <632BA64E-2BF6-46F4-9375-C74E534A8F40@thechauhan.dev> Date: Tue, 27 Feb 2024 23:07:13 +0530 To: freebsd-riscv@freebsd.org X-Mailer: Apple Mail (2.3774.400.31) X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.23 / 15.00]; R_SPF_FAIL(1.00)[-all]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.93)[-0.931]; R_DKIM_ALLOW(-0.20)[thechauhan.dev:s=google]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; DMARC_NA(0.00)[thechauhan.dev]; DKIM_TRACE(0.00)[thechauhan.dev:+]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-riscv@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::42b:from] X-Rspamd-Queue-Id: 4Tkl760yCqz4mwv Hi Everyone, I am unable to boot my custom kernel from commit ID 04440331b57(Feb22). = Qemu throws the following error and exits: qemu-system-riscv64: Some ROM regions are overlapping These ROM regions might have been loaded by direct user request or by = default. They could be BIOS/firmware images, a guest kernel, initrd or some other = file loaded into guest memory. Check whether you intended to load all this guest code, and whether it = has been built to load to the correct addresses. The following two regions overlap (in the memory address space): /riscv.riscv64/sys/GENERIC/kernel ELF program header = segment 1 (addresses 0x0000000080200000 - 0x00000000807e0226) fdt (addresses 0x0000000080200000 - 0x0000000080201346) I have tried with packaged Qemu as well as the latest one compiled from = source code. Any one else faced or facing this problem? Thanks Regards Himanshu