From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30749 invoked from network); 31 Aug 2023 16:28:00 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 31 Aug 2023 16:28:00 -0000 Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob1.topicbox.com (Postfix) with ESMTP id 5BF762C2AB for ; Thu, 31 Aug 2023 12:27:59 -0400 (EDT) (envelope-from bounce.mM56ffb2bd609da38808a99006.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id 5937B23AA556; Thu, 31 Aug 2023 12:27:59 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:date:from:in-reply-to :mime-version:content-type:content-transfer-encoding:list-help :list-id:list-post:list-subscribe:reply-to:list-unsubscribe; s= sysmsg-1; t=1693499279; bh=0QDi6bHKoGiT4YPZhK+1FmcwDihI2KIp+PgoS Q6TPeU=; b=EGV0Bpt9dYriE8WVAQmid4PvhgM6+TyyUF3Rot3KCWR9vdhwcQjuY NaM+yCZLLiAlJ+KFEyux85Hl13m6bHba8FtN/DZQkvut4Kg1HAQxrIga5mB1sEnw 4UIbeMXRrRhil6ybBjB5/LQwdrdDbhc9HIx/A2WCmXj2zet1oUcTEE= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1693499279; b=bSVe1mwybzvPsMgAJ6pCz75wEyQly6ER5PVjxpgB6so6mx8jZC a2tw/uarHBg3oa4A2L4varK3e2/RHq/HWGlbkgRH6iH3q8qKAzf9PdErIAZ/vCHX P0H3NC1oKDMxEfQqF1EUJ+5DWjLrEWsBlURTV/irvbVuwpGdH0ksiQRwM= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,mail.pikopiko.org,kusuri.pikopiko.org,nokogiri.pikopiko.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,mail.pikopiko.org,kusuri.pikopiko.org,nokogiri.pikopiko.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=message-id :to:subject:date:from:in-reply-to:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:list-unsubscribe; s=dkim-1; t= 1693499279; x=1693585679; bh=wLjNRJ3QUHwsV8bEHnwCa8NHnV7FCQzPTKg C1OZFXQ8=; b=UvDJpZ8Rl4ZFIiq4czlodoMw+QO+3/icqDlH7uz4CSAyRPfdLCD ojvLAMHq1iHjuN+qQONsg+xDcJXQvHe+ncKWyfnXZYh3tveUIgI629wkTmdnCZur i0JLt6sg/lgWW6vUVWUL829BTtb/XhkQ+1xOY8dpnXo1aqzoVh6p3i4Q= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 68D7F277814C for <9fans@9fans.net>; Thu, 31 Aug 2023 12:27:46 -0400 (EDT) (envelope-from ori@eigenstate.org) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 2197A783CCC; Thu, 31 Aug 2023 12:27:46 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1693499266; b=HwEhyNQeIkj6sF8UVsVpJoBWc9nrYNziBkuMC3SN85tIYFQYzl VpA7VnSwQ7YMxjNvS9vQLa8DAXhp0AbkVfSHGrGKwpAtu0KChjSlnDlBb27znaPE ajLS3NJc+wEbVG3r8NdbZsAGXBE40to/Lv74965Fx9mx60HaX/VTSkvhaTQqMUZS w4Cy/BORQvK7zTas/8Gf9r+/1Z9+6Ye/lVZcwrXftJyH3v3XcP1FculjlmcAFfB+ LiYc8BZgbB6gEtpjzoJmf3TRcBGYs8Mv1uSoXWV9s1k+skkJRMlgLL1J4bzyhxoa j6urhgA/3rI04uhuha4Zh68MrztrnZz/egeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:date:from:in-reply-to :mime-version:content-type:content-transfer-encoding; s=arcseal; t=1693499266; bh=CdkJYepk7gfI0gPi9nr9h3CVJWRNmVYwhyUfYWlGaSQ=; b= yH+W/jPz0hgVCo/FfTqWWfCHJUF57scpL6vz9qV4ASZs8l9ftYqa7CGfiTrYZpQh zSMLJiRmNDvdsctUyJ9PoaCURCCVWUzSaMNXYjQPUatKUCOG+BHEh4edOZiUpMNy PiV+/uDus0Turba8XN5q++OCMQIB+Gp2KCdg6kbxTC6XohtwcccyhMjDw7KONFco zBiHDM7NPzgkwgGSXXOFstzv75h+1Xss/nogKidwx9W11RRzyTnSytBk4ZTQIkw1 rhPDAtF+sCWCwXZdJCXjnJ6fZLKS5YUML0GUSmdGFhOSezTI0BwNx8irHZUbuTvg fOd9X4ZbFNrq+Y/1qcRydQ== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,mail.pikopiko.org,kusuri.pikopiko.org,nokogiri.pikopiko.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,mail.pikopiko.org,kusuri.pikopiko.org,nokogiri.pikopiko.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedviedrudegtddguddtudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkffvuf ffhfgjgggtgfesthekjedttddtjeenucfhrhhomhepohhrihesvghighgvnhhsthgrthgv rdhorhhgnecuggftrfgrthhtvghrnhepkeetjeeujeeuffekleeuhefhueeiledvjefhle efgfefveeukeevhfeivedthedtnecukfhppedvtdeirdduvdegrddufedvrddutdejpddu tdekrddvjedrheefrdduiedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hinhgvthepvddtiedruddvgedrudefvddruddtjedphhgvlhhopehmihhmihhrrdgvihhg vghnshhtrghtvgdrohhrghdpmhgrihhlfhhrohhmpeeoohhrihesvghighgvnhhsthgrth gvrdhorhhgqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (eigenstate.org: 206.124.132.107 is authorized to use 'ori@eigenstate.org' in 'mfrom' identity (mechanism 'ip4:206.124.132.96/28' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="ori@eigenstate.org"; helo=mimir.eigenstate.org; client-ip=206.124.132.107 Received: from mimir.eigenstate.org (mimir.eigenstate.org [206.124.132.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Thu, 31 Aug 2023 12:27:45 -0400 (EDT) (envelope-from ori@eigenstate.org) Received: from abbatoir (pool-108-27-53-161.nycmny.fios.verizon.net [108.27.53.161]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 7bf4d5a6 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9fans@9fans.net>; Thu, 31 Aug 2023 09:27:43 -0700 (PDT) Message-ID: To: 9fans@9fans.net Subject: Re: [9fans] print() in kernel space doesn't work like I would think Date: Thu, 31 Aug 2023 12:27:42 -0400 From: ori@eigenstate.org In-Reply-To: <16934966380.ebCb.544220@composer.9fans.topicbox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 549f1b70-481b-11ee-a44c-090a038c7b06 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UZTFkMDBkYWU2NjMxMTRiMi1NNTZmZmIyYmQ2MDlkYTM4ODA4YTk5?= =?UTF-8?B?MDA2Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M56ffb2bd609da38808a99006:1:eEt8BiGy9qNUMoT7fBdQDeTnQuHJOYu8MxZRXtDM-FA Quoth dusan3sic@gmail.com: > I was editing plan9's realtime scheduler in /sys/src/9/port/edf.c and was= trying to add a print to log something, but print didn't show anywhere(or = I am looking at the wrong place). It has some prints in source code already= , with this define. > #define DPRINT if(Dontprint){}else print > And with Dontprint set to 0 >=20 > I was expecting the output to be at boot time, in boot screen where it as= ks for bootargs, but it wasn't there. I thought it was either the wrong pla= ce I am looking at or it prints after I start the gui so I don't get to see= it.=20 >=20 > Then i tried other prints,=C2=A0 iprint() seemed really cool and usefull = but it does nothing. It builds ok, but doesn't output anything on serial (o= n Qemu serial window). Also, it didn't work in some user space program I ma= de to test it.=20 >=20 > All I want is to have a normal log system so I can log things on screen. show your diff. (hint: bind -ac /dist/plan9front / && git/diff /sys/src/9 | webpaste) ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Te1d00dae663114b2-M56ffb= 2bd609da38808a99006 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription