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 Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EA384C433EF for ; Fri, 8 Jul 2022 01:29:49 +0000 (UTC) Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.95) (envelope-from ) id 1o9coO-00044c-PI; Thu, 07 Jul 2022 21:29:40 -0400 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (Exim 4.95) (envelope-from ) id 1o9coL-00043n-TG for kernelnewbies@kernelnewbies.org; Thu, 07 Jul 2022 21:29:38 -0400 Received: by mail-qt1-x832.google.com with SMTP id c20so3137534qtw.8 for ; Thu, 07 Jul 2022 18:29:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vt-edu.20210112.gappssmtp.com; s=20210112; h=sender:from:to:cc:subject:in-reply-to:references:mime-version :content-transfer-encoding:date:message-id; bh=8zeDRYtd4dWEzgtJxewQxzxD15NyEDH+xydkstinX5I=; b=1mk0J5S3xT23HE5AsBLR7xtrSeAW770xT4PabV8Qv5w3EUHhUHgUotCucMJORUlT+4 3XbZblUpljODp/2z95Y829o449+ZGxwmS814vkxtw+2wkuF+fa/ZBvNaagN8b5h9QFdq FSMcMPkG/ClDt7AwXUw5oIBtN3qLXKpgWSSgq20EhK7UIu0cO8S/SzRwakF3MrzZdTwm Ga08HkbZ/OBF822hRK8vvnEq1eBnmPRATGPJ716biTN67eLODLju4W4h1wMbORp32JCe gCvqcEhjzDehRC7v/6EGGpxMueGm2aX25YZe7TxBiry049VUHgj19oSliIkYwtcsVEr1 Hi0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:content-transfer-encoding:date:message-id; bh=8zeDRYtd4dWEzgtJxewQxzxD15NyEDH+xydkstinX5I=; b=YoWkIFOYCyyDv3kh8nr1AGbyeGIPvMuoBpPBuUsricoQnpvp1jwI5Pn3WOBvvbU1GA Pxk8JlAKXi6RvMiGv4QyKyR9YiXa6oXUBF+lws2r2RVgIO2m0YwP7cWpvs5RPWw2Rxjv DmwhwleLCY/JHUInyVaNAObPIRT1eYJgK9GQm1+3LJAvTLxJbmqyhuWEY6S98DE7z/dq qGh0yBGbzyhbU6NjAWPa7L4Yze2gWkr1OFmV+gPgd2tEv0topktHjs+eVXPRGPZFS3fh 99Lnvf9y7hC1MSSPwtLL4ItKHG40fUDWS1/479iQay/TBT7rEAi94rC1vvDlCrfVO+Jt In7g== X-Gm-Message-State: AJIora9eJj74OZ0m+P7lQu0KVcNlqyZK4YEd/xnv97/OX6HyCJE1RC/l u4lSDr4fJvzcwdUaziztL2/6KrMJ0uJJ8A== X-Google-Smtp-Source: AGRyM1vk1LXY+9h8XIlgSBQwFBLUKQ3njYdC/7Bn4gjb6gqFJb+pDFaLv9fBUYCauHGzMML0f95YNQ== X-Received: by 2002:ac8:7d84:0:b0:31e:7996:36e6 with SMTP id c4-20020ac87d84000000b0031e799636e6mr950153qtd.628.1657243776409; Thu, 07 Jul 2022 18:29:36 -0700 (PDT) Received: from turing-police ([2601:5c0:c380:d60::c36]) by smtp.gmail.com with ESMTPSA id ci27-20020a05622a261b00b00316dc1ffbb9sm20758081qtb.32.2022.07.07.18.29.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 18:29:35 -0700 (PDT) From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Google-Original-From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Mailer: exmh version 2.10.0-pre 07/05/2021 with nmh-1.7+dev To: "Chan Kim" Subject: Re: Can I debug busybox program running on a qemu virtual machine using gdb? In-Reply-To: <042001d89267$b5ec7910$21c56b30$@etri.re.kr> References: <03d101d891e3$ccfe9630$66fbc290$@etri.re.kr> <316b7e35-58c4-48fe-4b1b-0351fb17bc1a@systemli.org> <042001d89267$b5ec7910$21c56b30$@etri.re.kr> Mime-Version: 1.0 Date: Thu, 07 Jul 2022 21:29:35 -0400 Message-ID: <304321.1657243775@turing-police> Cc: 'Richard' , kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============8639052412399926895==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============8639052412399926895== Content-Type: multipart/signed; boundary="==_Exmh_1657243774_6341P"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --==_Exmh_1657243774_6341P Content-Type: text/plain; charset=us-ascii On Fri, 08 Jul 2022 10:11:53 +0900, "Chan Kim" said: > I get the message "tftp: sendto: Network is unreachable". Unless you did something *really* drastic, like figure out how to build the kernel without IPv4 support (is that even possible yet?), or leave out support for whatever virtual network device qemu is providing to the emulated kernel, you're probably just missing an 'ifconfig' and/or a 'route add' to tell the kernel where the bits need to go. Less likely, you did something silly like tell the kernel to enforce SELinux or AppArmor or whatever, but you fed it a policy file that doesn't allow tftp to have network access.... --==_Exmh_1657243774_6341P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQEcBAEBCAAGBQJix4h+AAoJEI0DS38y7CIcp+EH/30pZwencqqF9KD1ZPat9ghF +xMa04VQ+DMJY1sVCX3tuWbdChjx0uc7mIBHhmr89515Al1L/XrTXIzvvYpDj/J1 8Hm5rs0nO5jJCvrKAM89ScxResCmQ1tzGnoGWazKUU1nePvSuO88aQki9IrIrzJE rRzrSPUPJwt85LfZp6/oujLzVVqGrJaKdp1k8WFpCofSW41mYKhkUObSwGcdnvN5 Z0hHP+7WWBY6H5YPBiZjL2unhms8OGLyy0hZ1zaTEd3pAFAd//hrHaxtz2zEU7td kQTbYYYPTUh00sB2ElKtCC8L3K0cGZiSwIU+5h4RUSq1YQKIcHiIM+H8v4YTksk= =Z9fG -----END PGP SIGNATURE----- --==_Exmh_1657243774_6341P-- --===============8639052412399926895== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============8639052412399926895==--