From nobody Tue Feb 27 18:12:49 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 4Tklvl1JRrz5C96G for ; Tue, 27 Feb 2024 18:12:51 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tklvl0rPvz4s11; Tue, 27 Feb 2024 18:12:51 +0000 (UTC) (envelope-from mhorne@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709057571; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=iTWXptr/kY5FuTGyW6ZvHD9e6t/aMjvNFjaat6gMLhI=; b=tXVNqj47Z0V23sTSS4AGgZ67SQgDUy3H6dnw0qGGGEKTAqFhOE74cSoQU4i2ipAlyL3Rcd ZFHJpHEF1DU8Ly2H/Kwqz2pzvLqj6a5Af3FkwqVbLJXttyIcYtUwrx9YgbYvylU+heUfY2 H4hzO5+WOzYw9a8Qm0a3aeJcb4zyLzfOOlIqZzxoS1Mw+oj4BcSHakB0pYSSZSl/R0Oj7X sa9QlCxYhPBl4SKu/PL+XNmy918JmB7Usu9yDobe9Weatv9YMBItP12cyftP6Wtxesv730 FKUT1Yf67E6hIaRhhZlrdlOV1HEUx9mMpWEkAXjk+hSSrIHcE0X216SX3BLgSw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709057571; a=rsa-sha256; cv=none; b=vpA3PCKpVbjewX3a6zywwMamHYC0eNEVaiRJTn/ilMkO4vgoV8LDKJoLYjZ6mAL/LfR6Yn OI6Cr5yR3pUI29m7C2Vq+eDp2nOlH/OHDgrX00jQeFqST4R2rMzccTuHUo2IWpCuLa1j3T BOSFz0MdO/NICWDfGEd4bePjlO1YKxVgC3x11FZZf3rFOHNC+9wZD2AaVle6GH6KnT+0iz IeIOi7ksoIqXmBIb7lb7s12XFJ/ADBLf9GOwhxAnFbwI/1sIPMtgsC+nTzQpsMC3TxGN3f tJBlDypWhPGHfq/BXszw1y1jshUkgaQRxxaRGNw+9l6cclDABxNsPnn0kkIu0g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709057571; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=iTWXptr/kY5FuTGyW6ZvHD9e6t/aMjvNFjaat6gMLhI=; b=uIfBfEQNgISYM/f/vBSgtZzM54RiiVEoPAuK4L6FgeH/WgvI4pYEa4KsE4NZpqifjMOUAB yYpZJgVcWaA9owkTXF5Yo8QRpIqswVrVOtkuvE2BIPiAV3ZiPa35whna4pU8Kk5SPXuZzP BinQxUmFbT2FxeqNtjQ2yKU0x9kZPnQdTHm+i5NIuQ8gQdJfQZYvV3kTmuqp2iUfp0KgyH DcR3s6pbd4nYYqFbu+mznGCQmaea3c7WvNhnfDGhfRuiqGbCwpCZ9a8fr/ajeFl08bDOgo dJtqzkktBtJlmTQhfijWkIpGweyL2EpPkxRPO45MxxohHP85Of4mc4qpkVKVLA== Received: from [192.168.1.151] (host-173-212-76-127.public.eastlink.ca [173.212.76.127]) (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 did not present a certificate) (Authenticated sender: mhorne) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Tklvk5sJhzTy5; Tue, 27 Feb 2024 18:12:50 +0000 (UTC) (envelope-from mhorne@freebsd.org) Message-ID: <3f4d8075-4372-46dd-9ce6-ca925c799857@freebsd.org> Date: Tue, 27 Feb 2024 14:12:49 -0400 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 User-Agent: Mozilla Thunderbird Subject: Re: Unable to boot custom kernel Content-Language: en-CA To: Himanshu Chauhan , freebsd-riscv@freebsd.org References: <632BA64E-2BF6-46F4-9375-C74E534A8F40@thechauhan.dev> From: Mitchell Horne Autocrypt: addr=mhorne@freebsd.org; keydata= xsBNBFyS2dQBCADdiXBG8hBVLmYbxu7aSzbwLwUf3HkGFz3rooS1kwyy+SfmjZ4UKNnl9WMx WKrJ7OAZpiNH6bLQ5nsqfx09OnpWL8c/QuPbhNdUywQoqqYpRI0K8GEn//nS9Gs0KTYwVpWb XlrzP+jf3Uh/9L5mcQmStLIH4zaaqMYHW+pMuPrvBmLIHTvLj2QjOkxslrcUdord9uvxe5Ht LU8RuTpQpHOKz705Z9/v7twFdi2HtKzpLwO6SzVyu351di1J+GihsVpcT5josQV5cHbIP3Un x+kmtKBEEc/jl/zBglF7ruWUtwgbryID+2ZPEaO1Mj+RResX4LFVMusq3uUpWRb5WJXxABEB AAHNI01pdGNoZWxsIEhvcm5lIDxtaG9ybmVARnJlZUJTRC5vcmc+wsCUBBMBCgA+AhsDBQsJ CAcCBhUKCQgLAgQWAgMBAh4BAheAFiEEkp/cYPcfabAiQvACi/gnTOdUid8FAmIyDpUFCQtC z0EACgkQi/gnTOdUid8IsQf+N8IptrrCgifT5Z0/WUVFfnHThFOK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KtQ0bYGVgGqYOB/y2mTjVuKeU0eOkN Uw== In-Reply-To: <632BA64E-2BF6-46F4-9375-C74E534A8F40@thechauhan.dev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Can you share the commandline you are using to launch QEMU? Mitchell On 2/27/24 13:37, Himanshu Chauhan wrote: > 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 > >