From owner-freebsd-hackers@freebsd.org Mon Apr 8 05:48:33 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 15B581574F5F for ; Mon, 8 Apr 2019 05:48:33 +0000 (UTC) (envelope-from mahesh86701997@gmail.com) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8BB3588355; Mon, 8 Apr 2019 05:48:31 +0000 (UTC) (envelope-from mahesh86701997@gmail.com) Received: by mail-lf1-x12e.google.com with SMTP id v24so5494103lfe.9; Sun, 07 Apr 2019 22:48:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=u4iJOFaPSHBrRFwAa8D6xNMuF9fUl2PaBfLgSCMvBzg=; b=eWUe8PkU16HjJjKuFX6yDoEYdWl9W9Y7yXlbYp0Cs6Sd1DRBGLagJmQpHAIzCZ/YMR ckDwkexTN9hU+k9p9INxZ0xB+JV0fblsBo2PJmWTMETLR9ZdMNB3Gum33gVZA9Uagk4O jj53fCDaPQXzNrYS2H/LObf9w1M+V4ZYtSExkQwimh5F+l8kTILH9z135FG5jfFZOZZX VTgt/afKtek6cZYBGx6qv2FMp0mQvAxo6jQfon4mvmTcrAw0LMJS/jfASnehyadlY1kM Yctu4eS6eHD3Pt2IOR2Ia46W2nVY+cMIVltX1BPCBDL3liXnBc3It44JOX39ITmBqMiD m0pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=u4iJOFaPSHBrRFwAa8D6xNMuF9fUl2PaBfLgSCMvBzg=; b=HDAdvmLv4OI/9PSyOVmXKc67LuKsLwk+bF3zfYyK70n6WfM+4lmQL7ROCP5YPgTHL5 HZLq3oV3rjpV0iXByCAdsz+sGFpVYFzV3C+3L+8yiUk0Ct0fT9Vmf+x3anwvtqpEI8Qn f1l9Jyfqos59N5X0zenwZuyqfCZipP+iZgp0+8aQ4oZKZAOSjqENU9jXNNvbJzNzrFAy mFB99VVLMSxNszsB8atTEZvt3yQTqdSntc4dE4QT0nHfuUZa+BnJKlDbCqSuW5JVrP4W R9n+pV67ic1TU76jUBcQu8zol6nhGGbnG0TOlo/eRKkdfS4DFzKknDpN18SyUoanscDk NREg== X-Gm-Message-State: APjAAAUDBMju3hptvW87KSsxXy/ft/V/kCCMmbkCdscgn4CfLkm3E2u0 cSCBb5liCHPoQFcUptHkjCrnY9Bd6/VlTlE3EDTR4MeBd68Icw== X-Google-Smtp-Source: APXvYqy63vGAlT+VL5xP9LfCDo8JUB4t/kRi+bjtWmUdFLvy8aKL2HQoEkUWL++7Cx4+hWojJno5k3J9v5Ka1lEfrU4= X-Received: by 2002:ac2:546c:: with SMTP id e12mr3291671lfn.121.1554702509790; Sun, 07 Apr 2019 22:48:29 -0700 (PDT) MIME-Version: 1.0 References: <1C4595D2-B150-460F-9161-89A1A8865830@freebsdfoundation.org> In-Reply-To: From: Mahesh Tudu Date: Mon, 8 Apr 2019 11:18:18 +0530 Message-ID: Subject: Re: Regarding mentorship for GSOC 2019 To: mmokhi@freebsd.org, "soc-admins@FreeBSD.org" , freebsd-hackers@freebsd.org, Anne Dickison , Brooks Davis X-Rspamd-Queue-Id: 8BB3588355 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=eWUe8PkU; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mahesh86701997@gmail.com designates 2a00:1450:4864:20::12e as permitted sender) smtp.mailfrom=mahesh86701997@gmail.com X-Spamd-Result: default: False [-6.17 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; ZERO_FONT(0.30)[4]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.94)[-0.944,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE(-2.81)[ip: (-9.44), ipnet: 2a00:1450::/32(-2.37), asn: 15169(-2.18), country: US(-0.06)]; MANY_INVISIBLE_PARTS(0.30)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[e.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Apr 2019 05:48:33 -0000 Hello, It's me again. Now I am left with only a single day and so I am getting a very uneasy feeling. Please help me with my issue, I really need a mentor to help me review my proposal. It would be very kind of you if you please respond with a positive answer as soon as possible. Thank You On Mon, Apr 8, 2019 at 11:16 AM Mahesh Tudu wrote: > Hello, > It's me again. Now I am left with only a single day and so I am getting a > very uneasy feeling. Please help me with my issue, I really need a mentor > to help me review my proposal. It would be very kind of you if you please > respond with a positive answer as soon as possible. > > Thanking You > > On Sun, Apr 7, 2019 at 5:06 PM Mahesh Tudu > wrote: > >> Hello, >> Thank you for your response. Please help me solve my matter a bit faster >> as the days are passing by very fast and now there are just two days lef= t. >> I am in a great need of a mentor to review my proposal before final >> submission. >> Thank You again. >> >> >> >> On Sun, Apr 7, 2019 at 4:58 PM Mahdi Mokhtari wrote= : >> >>> Dear Mahesh, >>> I'm aware that people at gsoc team are trying to find someone >>> appropriate to take the responsibility for you. >>> I apologize you are facing delay, but don't worry we are caring about i= t. >>> >>> Just one small side-point, >>> The mail-tracker you use caused your email ending up in my spam folder >>> and I got notified by someone about it otherwise I might not have found= it. >>> so use it with caution IMO :) >>> >>> >>> On Sat, Apr 6, 2019 at 11:39 PM Mahesh Tudu >>> wrote: >>> >>>> >>>> Hello, >>>> Kindly respond. >>>> >>>> >>>> [image: Mailtrack] >>>> Sender >>>> notified by >>>> Mailtrack >>>> 04/07/19, >>>> 3:08:44 AM >>>> >>>> On Sun, Apr 7, 2019 at 2:40 AM Mahesh Tudu >>>> wrote: >>>> >>>>> Hello, >>>>> I have sent a message earlier regarding mentorship for the project *V= erification >>>>> of bhyve's instruction emulation. *Since there are only 3 days left >>>>> for the final submission, I am really in great need of a mentor to re= view >>>>> my proposal before final submission. >>>>> I know that you are surely working hard on solving my query, but stil= l >>>>> it would be very kind of you to let me know about the progress. >>>>> Thanking You >>>>> [image: Mailtrack] >>>>> Sender >>>>> notified by >>>>> Mailtrack >>>>> 04/07/19, >>>>> 2:34:44 AM >>>>> >>>>> On Thu, Apr 4, 2019 at 10:07 PM Mahesh Tudu >>>>> wrote: >>>>> >>>>>> Thank you for your response. >>>>>> >>>>>> >>>>>> >>>>>> [image: Mailtrack] >>>>>> Sender >>>>>> notified by >>>>>> Mailtrack >>>>>> 04/04/19, >>>>>> 10:07:28 PM >>>>>> >>>>>> On Thu, Apr 4, 2019 at 9:32 PM Anne Dickison < >>>>>> anne@freebsdfoundation.org> wrote: >>>>>> >>>>>>> Hi Mahesh, >>>>>>> We=E2=80=99re working on the matter and will be in touch as soon as= we have >>>>>>> more information. Thank you for your patience. >>>>>>> >>>>>>> Anne >>>>>>> On behalf of FreeBSD GSoC admins >>>>>>> >>>>>>> On Apr 4, 2019, at 10:45 AM, Mahesh Tudu >>>>>>> wrote: >>>>>>> >>>>>>> Hello, >>>>>>> I have already sent an email regarding mentorship for the project *= Verification >>>>>>> of bhyve's instruction emulation. *But I have still got no response >>>>>>> from your side. I have done lot of research work on this project an= d I am >>>>>>> sure that I will complete it. >>>>>>> I would be very pleased if you look into my matter and send me a >>>>>>> response soon. >>>>>>> Thank you. >>>>>>> >>>>>>> >>>>>>> >>>>>>> [image: Mailtrack] >>>>>>> Sender >>>>>>> notified by >>>>>>> Mailtrack >>>>>>> 04/04/19, >>>>>>> 9:12:16 PM >>>>>>> >>>>>>> >>> >>> -- >>> Best regards, MMokhi. >>> >> From owner-freebsd-hackers@freebsd.org Mon Apr 8 08:06:51 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB98C157898F for ; Mon, 8 Apr 2019 08:06:51 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Received: from mail1.protonmail.ch (mail1.protonmail.ch [185.70.40.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.protonmail.ch", Issuer "SwissSign Server Silver CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 35D1E8D5E2 for ; Mon, 8 Apr 2019 08:06:50 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Date: Mon, 08 Apr 2019 08:06:37 +0000 To: Mahesh Tudu , "freebsd-hackers@freebsd.org" From: Lorenzo Salvadore Reply-To: Lorenzo Salvadore Subject: Re: Regarding mentorship for GSOC 2019 Message-ID: In-Reply-To: References: <1C4595D2-B150-460F-9161-89A1A8865830@freebsdfoundation.org> Feedback-ID: X6az_D2smWSR8MT5MHqXnWF0upxehDyHia7Id1cbayHNBUkRu3CIeusDsZHiivIIjmaKB1_OofpALrRUYjNz3w==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,FREEMAIL_REPLYTO autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.protonmail.ch X-Rspamd-Queue-Id: 35D1E8D5E2 X-Spamd-Bar: ------- X-Spamd-Result: default: False [-7.72 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; HAS_REPLYTO(0.00)[phascolarctos@protonmail.ch]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; DKIM_TRACE(0.00)[protonmail.ch:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[protonmail.ch,quarantine]; MX_GOOD(-0.01)[mailsec.protonmail.ch,mail.protonmail.ch]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_COUNT_ZERO(0.00)[0]; RCVD_IN_DNSWL_LOW(-0.10)[18.40.70.185.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:19905, ipnet:185.70.40.0/24, country:US]; IP_SCORE(-3.67)[ip: (-9.48), ipnet: 185.70.40.0/24(-4.90), asn: 19905(-3.92), country: US(-0.06)]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[protonmail.ch.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[protonmail.ch:s=default]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.93)[-0.933,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Apr 2019 08:06:51 -0000 =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Monday 8 April 2019 07:48, Mahesh Tudu wrote: > Hello, > It's me again. Now I am left with only a single day and so I am getting a > very uneasy feeling. Please help me with my issue, I really need a mentor > to help me review my proposal. It would be very kind of you if you please > respond with a positive answer as soon as possible. > > Thank You > > On Mon, Apr 8, 2019 at 11:16 AM Mahesh Tudu mahesh86701997@gmail.com > wrote: > > > Hello, > > It's me again. Now I am left with only a single day and so I am getting= a > > very uneasy feeling. Please help me with my issue, I really need a ment= or > > to help me review my proposal. It would be very kind of you if you plea= se > > respond with a positive answer as soon as possible. > > Thanking You > > On Sun, Apr 7, 2019 at 5:06 PM Mahesh Tudu mahesh86701997@gmail.com > > wrote: > > > > > Hello, > > > Thank you for your response. Please help me solve my matter a bit fas= ter > > > as the days are passing by very fast and now there are just two days = left. > > > I am in a great need of a mentor to review my proposal before final > > > submission. > > > Thank You again. > > > On Sun, Apr 7, 2019 at 4:58 PM Mahdi Mokhtari mmokhi@freebsd.org wrot= e: > > > > > > > Dear Mahesh, > > > > I'm aware that people at gsoc team are trying to find someone > > > > appropriate to take the responsibility for you. > > > > I apologize you are facing delay, but don't worry we are caring abo= ut it. > > > > Just one small side-point, > > > > The mail-tracker you use caused your email ending up in my spam fol= der > > > > and I got notified by someone about it otherwise I might not have f= ound it. > > > > so use it with caution IMO :) > > > > On Sat, Apr 6, 2019 at 11:39 PM Mahesh Tudu mahesh86701997@gmail.co= m > > > > wrote: > > > > > > > > > Hello, > > > > > Kindly respond. > > > > > [image: Mailtrack] > > > > > https://mailtrack.io?utm_source=3Dgmail&utm_medium=3Dsignature&ut= m_campaign=3Dsignaturevirality5& Sender > > > > > notified by > > > > > Mailtrack > > > > > https://mailtrack.io?utm_source=3Dgmail&utm_medium=3Dsignature&ut= m_campaign=3Dsignaturevirality5& 04/07/19, > > > > > 3:08:44 AM > > > > > On Sun, Apr 7, 2019 at 2:40 AM Mahesh Tudu mahesh86701997@gmail.c= om > > > > > wrote: > > > > > > > > > > > Hello, > > > > > > I have sent a message earlier regarding mentorship for the proj= ect *Verification > > > > > > of bhyve's instruction emulation. *Since there are only 3 days = left > > > > > > for the final submission, I am really in great need of a mentor= to review > > > > > > my proposal before final submission. > > > > > > I know that you are surely working hard on solving my query, bu= t still > > > > > > it would be very kind of you to let me know about the progress. > > > > > > Thanking You > > > > > > [image: Mailtrack] > > > > > > https://mailtrack.io?utm_source=3Dgmail&utm_medium=3Dsignature&= utm_campaign=3Dsignaturevirality5& Sender > > > > > > notified by > > > > > > Mailtrack > > > > > > https://mailtrack.io?utm_source=3Dgmail&utm_medium=3Dsignature&= utm_campaign=3Dsignaturevirality5& 04/07/19, > > > > > > 2:34:44 AM > > > > > > On Thu, Apr 4, 2019 at 10:07 PM Mahesh Tudu mahesh86701997@gmai= l.com > > > > > > wrote: > > > > > > > > > > > > > Thank you for your response. > > > > > > > [image: Mailtrack] > > > > > > > https://mailtrack.io?utm_source=3Dgmail&utm_medium=3Dsignatur= e&utm_campaign=3Dsignaturevirality5& Sender > > > > > > > notified by > > > > > > > Mailtrack > > > > > > > https://mailtrack.io?utm_source=3Dgmail&utm_medium=3Dsignatur= e&utm_campaign=3Dsignaturevirality5& 04/04/19, > > > > > > > 10:07:28 PM > > > > > > > On Thu, Apr 4, 2019 at 9:32 PM Anne Dickison < > > > > > > > anne@freebsdfoundation.org> wrote: > > > > > > > > > > > > > > > Hi Mahesh, > > > > > > > > We=E2=80=99re working on the matter and will be in touch as= soon as we have > > > > > > > > more information. Thank you for your patience. > > > > > > > > Anne > > > > > > > > On behalf of FreeBSD GSoC admins > > > > > > > > On Apr 4, 2019, at 10:45 AM, Mahesh Tudu mahesh86701997@gma= il.com > > > > > > > > wrote: > > > > > > > > Hello, > > > > > > > > I have already sent an email regarding mentorship for the p= roject *Verification > > > > > > > > of bhyve's instruction emulation. *But I have still got no = response > > > > > > > > from your side. I have done lot of research work on this pr= oject and I am > > > > > > > > sure that I will complete it. > > > > > > > > I would be very pleased if you look into my matter and send= me a > > > > > > > > response soon. > > > > > > > > Thank you. > > > > > > > > [image: Mailtrack] > > > > > > > > https://mailtrack.io?utm_source=3Dgmail&utm_medium=3Dsignat= ure&utm_campaign=3Dsignaturevirality5& Sender > > > > > > > > notified by > > > > > > > > Mailtrack > > > > > > > > https://mailtrack.io?utm_source=3Dgmail&utm_medium=3Dsignat= ure&utm_campaign=3Dsignaturevirality5& 04/04/19, > > > > > > > > 9:12:16 PM > > > > > > > > -- > > > > Best regards, MMokhi. > > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " Hello, I would be glad to help you, unfortunately I do not have the knowledge (yet= ) to do so, thus I will only try to point you in the right direction. I think you already found the FreeBSD wiki pages about the Summer of Code, = but if you did not, here they are: https://wiki.freebsd.org/SummerOfCode And in particular you are probably interested now in https://wiki.freebsd.org/SummerOfCodeStudentChecklist I read you are suggested to write to the hackers mailing list as you are do= ing. However, this mailing is list not much used, not as much as others and as irc at lea= st; of course I hope potential mentors are subscribed, but you are more likely to receive quick = response if you also join irc. I remember a few days ago someone talking about the Summer of Cod= e, maybe it was you (if it was you, I found cool your idea and I would probably bene= fit from its realization: definitely hope you found your mentor!): try again and make it clear that y= ou are in search for a mentor. We are always busy doing plenty of things, we might read quickly, see the c= ool idea, but forget to notice about the mentorship need. Or, even worse, many = of us use an irc bouncer: thus we go to sleep or at work receiving everything, but when we c= ome back at irc we just look at things where we were mentioned. Since you do not know t= he name of your future mentor, you cannot mention him and he would not see your reques= t. Thus, do not just say "I am searching for a mentor", say "do you know who c= ould like to become my mentor"? And someone will answer "maybe x". And x wil be mentioned and see = it when he comes back on irc. It could also help you to get a copy of the source (see https://www.freebsd.org/doc/handbook/makeworld.html ), enter into the direc= tory that you would most probably work with (for example, if you will work on virtual memory, s= ys/vm) then look to the last people that worked in there with a "svn log -l5": they know the= part of the source you want to work on, then they have the technical knowledge needed for being yo= ur mentor. Then you can try to contact them on irc or by e-mail. For this last part you could find useful the following: https://wiki.freebsd.org/IRC/Nicknames https://people.freebsd.org/homepage.html https://www.freebsd.org/administration.html I wish you to find your mentor. Lorenzo Salvadore. Sent with ProtonMail Secure Email. From owner-freebsd-hackers@freebsd.org Mon Apr 8 08:28:20 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1D361579112 for ; Mon, 8 Apr 2019 08:28:19 +0000 (UTC) (envelope-from pratiy0100@gmail.com) Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CBD1F8E1A4; Mon, 8 Apr 2019 08:28:18 +0000 (UTC) (envelope-from pratiy0100@gmail.com) Received: by mail-ed1-f51.google.com with SMTP id u2so6426089eds.8; Mon, 08 Apr 2019 01:28:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jmTPslPjqNRrXveSuEDDltGW1quYvgn+2A4XCaHUqz0=; b=Jx7NWsq+HtR6q7MwoFqJxdpRERXevT6wImihNJT87ChTZwaAtKJm5t9NNA2MGoxhBP LGRgAdXae3GzKksp+5j+YU339DefRkbSq1JKR/TnvrZ1vRfVLJpVsAHlwWc4rB/GZZcB 2lk4YpL8heWHgWo1l/n8zx+09yTUGrvUQbB2jrwI7vjDlXp41K51AJ2179BBkhZebuWn bQ1pc564jSheMb9G3Dbsvb1vqp75YQmJktWmh8iVZaUBB5RfJNDvZk5Ls18mwci4jj+4 2QMHV7KOxwNGsVYiby3yXF8dSKKxWvPHcSxnw3S1E1RIcbnQ9FBEuv7Fku5Cwxf9ynv1 KNHA== X-Gm-Message-State: APjAAAUpe7zbyQIHXTIoX4Zip8AA0HB3+Y7cJaah7aZKjvjbBstURbGW zyUL6qNrm8K7lPpONxH/avDDaGt5Y3g= X-Google-Smtp-Source: APXvYqwrK/xlY8pwswXJXS0A02+CfPweZcrKRHldndVgYOk43IGF8xloGsxcvOrwBa3vml9oBzZnmA== X-Received: by 2002:a17:906:18a1:: with SMTP id c1mr16222513ejf.116.1554712092224; Mon, 08 Apr 2019 01:28:12 -0700 (PDT) Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com. [209.85.208.46]) by smtp.gmail.com with ESMTPSA id lw14sm5300102ejb.24.2019.04.08.01.28.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Apr 2019 01:28:11 -0700 (PDT) Received: by mail-ed1-f46.google.com with SMTP id u2so6426046eds.8; Mon, 08 Apr 2019 01:28:11 -0700 (PDT) X-Received: by 2002:a50:b3fd:: with SMTP id t58mr17829839edd.11.1554712091694; Mon, 08 Apr 2019 01:28:11 -0700 (PDT) MIME-Version: 1.0 References: <1C4595D2-B150-460F-9161-89A1A8865830@freebsdfoundation.org> In-Reply-To: From: Pratyush Yadav Date: Mon, 8 Apr 2019 13:57:35 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Regarding mentorship for GSOC 2019 To: Mahesh Tudu Cc: Anne Dickison , soc-admins@freebsd.org, Hackers freeBSD Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: CBD1F8E1A4 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of pratiy0100@gmail.com designates 209.85.208.51 as permitted sender) smtp.mailfrom=pratiy0100@gmail.com X-Spamd-Result: default: False [-5.36 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.97)[-0.969,0]; RCVD_IN_DNSWL_NONE(0.00)[51.208.85.209.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; FORGED_SENDER(0.30)[pratyush@freebsd.org,pratiy0100@gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[pratyush@freebsd.org,pratiy0100@gmail.com]; IP_SCORE(-2.38)[ip: (-5.79), ipnet: 209.85.128.0/17(-3.87), asn: 15169(-2.18), country: US(-0.06)] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Apr 2019 08:28:20 -0000 Hi Mahesh, On Sun, 7 Apr 2019 at 02:43, Mahesh Tudu wrote: > > Hello, > I have sent a message earlier regarding mentorship for the project > *Verification > of bhyve's instruction emulation. This project was accepted last year as well [0], but as far as I know, it was not completed. I can't see it listed in last year's FreeBSD archive [1]. The mentor for it last year was Anish Gupta . Maybe you should ask him about it? Even if he won't be able to mentor you, he can still review your proposal and help you find the right people. > *Since there are only 3 days left for the > final submission, I am really in great need of a mentor to review my > proposal before final submission. > I know that you are surely working hard on solving my query, but still it > would be very kind of you to let me know about the progress. > Thanking You PS: Try not to top post [2]. [0] https://wiki.freebsd.org/SummerOfCode2018Projects/VerificationOfBhyveInstructionEmulation [1] https://summerofcode.withgoogle.com/archive/2018/organizations/4807073560788992/ [2] http://www.idallen.com/topposting.html -- Regards, Pratyush Yadav From owner-freebsd-hackers@freebsd.org Mon Apr 8 09:45:49 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 51B05157AAD6 for ; Mon, 8 Apr 2019 09:45:49 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Received: from mail-40132.protonmail.ch (mail-40132.protonmail.ch [185.70.40.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.protonmail.ch", Issuer "SwissSign Server Silver CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D97D269B1E for ; Mon, 8 Apr 2019 09:45:46 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Date: Mon, 08 Apr 2019 09:45:34 +0000 To: "freebsd-hackers@freebsd.org" From: Lorenzo Salvadore Reply-To: Lorenzo Salvadore Subject: Re: Regarding mentorship for GSOC 2019 Message-ID: In-Reply-To: References: <1C4595D2-B150-460F-9161-89A1A8865830@freebsdfoundation.org> Feedback-ID: X6az_D2smWSR8MT5MHqXnWF0upxehDyHia7Id1cbayHNBUkRu3CIeusDsZHiivIIjmaKB1_OofpALrRUYjNz3w==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.protonmail.ch X-Rspamd-Queue-Id: D97D269B1E X-Spamd-Bar: ------- X-Spamd-Result: default: False [-7.82 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[phascolarctos@protonmail.ch]; R_DKIM_ALLOW(-0.20)[protonmail.ch:s=default]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-3.76)[ip: (-9.89), ipnet: 185.70.40.0/24(-4.90), asn: 19905(-3.92), country: US(-0.06)]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; MX_GOOD(-0.01)[cached: mailsec.protonmail.ch]; DKIM_TRACE(0.00)[protonmail.ch:+]; DMARC_POLICY_ALLOW(-0.50)[protonmail.ch,quarantine]; NEURAL_HAM_SHORT(-0.95)[-0.951,0]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; RCVD_IN_DNSWL_LOW(-0.10)[132.40.70.185.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:19905, ipnet:185.70.40.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[protonmail.ch.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Apr 2019 09:45:49 -0000 > Hi Mahesh, > > On Sun, 7 Apr 2019 at 02:43, Mahesh Tudu mahesh86701997@gmail.com wrote: > > > Hello, > > I have sent a message earlier regarding mentorship for the project > > *Verification > > of bhyve's instruction emulation. > > This project was accepted last year as well [0], but as far as I know, > it was not completed. I can't see it listed in last year's FreeBSD > archive [1]. > > The mentor for it last year was Anish Gupta anish@freebsd.org. Maybe > you should ask him about it? Even if he won't be able to mentor you, > he can still review your proposal and help you find the right people. > > > *Since there are only 3 days left for the > > final submission, I am really in great need of a mentor to review my > > proposal before final submission. > > I know that you are surely working hard on solving my query, but still = it > > would be very kind of you to let me know about the progress. > > Thanking You > > PS: Try not to top post [2]. > > [0] https://wiki.freebsd.org/SummerOfCode2018Projects/VerificationOfBhyve= InstructionEmulation > [1] https://summerofcode.withgoogle.com/archive/2018/organizations/480707= 3560788992/ > [2] http://www.idallen.com/topposting.html > > -------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ------------------------------- > > Regards, > Pratyush Yadav I see that the project is about bhyve, then it might also make sense to sen= d an e-mail to the freebsd-virtualization@freebsd.org mailing list. Lorenzo Salvadore. From owner-freebsd-hackers@freebsd.org Mon Apr 8 22:48:39 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 16B18156B572 for ; Mon, 8 Apr 2019 22:48:39 +0000 (UTC) (envelope-from pkaipila@gmail.com) Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D7C4D8F3E8 for ; Mon, 8 Apr 2019 22:48:37 +0000 (UTC) (envelope-from pkaipila@gmail.com) Received: by mail-lf1-x12f.google.com with SMTP id g7so10712857lfh.10 for ; Mon, 08 Apr 2019 15:48:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=0K9eJF7IA1OE73V5yWrjSaJQqVfME58lrg8yxDWDYB4=; b=HeD//hMOa8bCrf5TkqgIDhWeztZpaeOvmwrGdkqbubFmMObaRg3ilH09jrFQP5Y1ws xai0vc1STKb9WDwKvflhWMuSDqW9WalJ++sfkldj0aNF3vGYlsFlQidiYLKuo/wXOlHh kEtxzl+o1zTXrdCfYai/N3mIgburJgCKavedVWdjUob3ltBdaiILuNua2h0ukyrNMezN FZxGCq9nhGaGQLhG89QQ0e/EHNiUNzpRI++BaT9eBxrdg6LUgwEO29wXuT0VCRMu/k1v pBsBxaz4Oo7mn2gL31OM6FQ5l9K1lSUzKbQ0v9kcvvySNYR8a+f3QQUpxBVvsVCN+Ssd h/MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=0K9eJF7IA1OE73V5yWrjSaJQqVfME58lrg8yxDWDYB4=; b=KHNVrE7wXGcRA6aNYumC66ziHiPlyFql7qLdAczkI80ANhp/ehXRu+ATBFB5pBwLeq 135yifZCrzpI9m0ScfCWuS112tLKQuiImSskqpqp4lx/HZsSuudNBY7oRBzBcoD8KAH9 lUhi0SG+tfaV8PlMmZGFkICEJ2Ykn8dKzvZ1HdvmO0W6V24tUPhhQl+0rXowsJFYVgH0 oSNASwRsvpW7rwO4t2U6ciAtJb+FgdYAEG2kQIW6ZTammz0CYFirnH2m9yS4vhuHCBtF euW27jGHBv7wNc7Q4W88JYukU4mDNyeJePfKnBW/c27z8K+2gY5st5yl1t1OcSeUJBNv IQrQ== X-Gm-Message-State: APjAAAWsW+QL2zWbU5EW53ugCWGLUn5pJ9DXuljHH8ni05TM4GdBXoxx JdRTkyLIR6NJHF3nwDwBx0StF/es X-Google-Smtp-Source: APXvYqzdaY5Xa+er9uiRdDpc82S5pB0OmeridIJuCb2Ya5ONyLW4njOTudghWtTDu63cEvz/B+qB/Q== X-Received: by 2002:ac2:5bde:: with SMTP id u30mr4934958lfn.6.1554763715790; Mon, 08 Apr 2019 15:48:35 -0700 (PDT) Received: from [192.168.43.243] (85-76-81-215-nat.elisa-mobile.fi. [85.76.81.215]) by smtp.gmail.com with ESMTPSA id d13sm148124lfa.40.2019.04.08.15.48.33 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Mon, 08 Apr 2019 15:48:34 -0700 (PDT) Subject: Re: Regarding mentorship for GSOC 2019 To: freebsd-hackers@freebsd.org References: <1C4595D2-B150-460F-9161-89A1A8865830@freebsdfoundation.org> From: Paavo-Einari Kaipila Message-ID: <4c1362c2-8b9b-ec5d-506a-36ceed38d43d@gmail.com> Date: Tue, 9 Apr 2019 01:48:30 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: D7C4D8F3E8 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=HeD//hMO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of pkaipila@gmail.com designates 2a00:1450:4864:20::12f as permitted sender) smtp.mailfrom=pkaipila@gmail.com X-Spamd-Result: default: False [-6.81 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.996,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.81)[ip: (-9.40), ipnet: 2a00:1450::/32(-2.38), asn: 15169(-2.18), country: US(-0.06)]; RCVD_IN_DNSWL_NONE(0.00)[f.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Apr 2019 22:48:39 -0000 On 2019-04-08 11:06, Lorenzo Salvadore via freebsd-hackers wrote: > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > On Monday 8 April 2019 07:48, Mahesh Tudu wrote: > >> Hello, >> It's me again. Now I am left with only a single day and so I am getting a >> very uneasy feeling. Please help me with my issue, I really need a mentor >> to help me review my proposal. It would be very kind of you if you please >> respond with a positive answer as soon as possible. >> >> Thank You >> >> On Mon, Apr 8, 2019 at 11:16 AM Mahesh Tudu mahesh86701997@gmail.com >> wrote: >> >>> Hello, >>> It's me again. Now I am left with only a single day and so I am getting a >>> very uneasy feeling. Please help me with my issue, I really need a mentor >>> to help me review my proposal. It would be very kind of you if you please >>> respond with a positive answer as soon as possible. >>> Thanking You >>> On Sun, Apr 7, 2019 at 5:06 PM Mahesh Tudu mahesh86701997@gmail.com >>> wrote: >>> >>>> Hello, >>>> Thank you for your response. Please help me solve my matter a bit faster >>>> as the days are passing by very fast and now there are just two days left. >>>> I am in a great need of a mentor to review my proposal before final >>>> submission. >>>> Thank You again. >>>> On Sun, Apr 7, 2019 at 4:58 PM Mahdi Mokhtari mmokhi@freebsd.org wrote: >>>> >>>>> Dear Mahesh, >>>>> I'm aware that people at gsoc team are trying to find someone >>>>> appropriate to take the responsibility for you. >>>>> I apologize you are facing delay, but don't worry we are caring about it. >>>>> Just one small side-point, >>>>> The mail-tracker you use caused your email ending up in my spam folder >>>>> and I got notified by someone about it otherwise I might not have found it. >>>>> so use it with caution IMO :) >>>>> On Sat, Apr 6, 2019 at 11:39 PM Mahesh Tudu mahesh86701997@gmail.com >>>>> wrote: >>>>> >>>>>> Hello, >>>>>> Kindly respond. >>>>>> [image: Mailtrack] >>>>>> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& Sender >>>>>> notified by >>>>>> Mailtrack >>>>>> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& 04/07/19, >>>>>> 3:08:44 AM >>>>>> On Sun, Apr 7, 2019 at 2:40 AM Mahesh Tudu mahesh86701997@gmail.com >>>>>> wrote: >>>>>> >>>>>>> Hello, >>>>>>> I have sent a message earlier regarding mentorship for the project *Verification >>>>>>> of bhyve's instruction emulation. *Since there are only 3 days left >>>>>>> for the final submission, I am really in great need of a mentor to review >>>>>>> my proposal before final submission. >>>>>>> I know that you are surely working hard on solving my query, but still >>>>>>> it would be very kind of you to let me know about the progress. >>>>>>> Thanking You >>>>>>> [image: Mailtrack] >>>>>>> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& Sender >>>>>>> notified by >>>>>>> Mailtrack >>>>>>> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& 04/07/19, >>>>>>> 2:34:44 AM >>>>>>> On Thu, Apr 4, 2019 at 10:07 PM Mahesh Tudu mahesh86701997@gmail.com >>>>>>> wrote: >>>>>>> >>>>>>>> Thank you for your response. >>>>>>>> [image: Mailtrack] >>>>>>>> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& Sender >>>>>>>> notified by >>>>>>>> Mailtrack >>>>>>>> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& 04/04/19, >>>>>>>> 10:07:28 PM >>>>>>>> On Thu, Apr 4, 2019 at 9:32 PM Anne Dickison < >>>>>>>> anne@freebsdfoundation.org> wrote: >>>>>>>> >>>>>>>>> Hi Mahesh, >>>>>>>>> We’re working on the matter and will be in touch as soon as we have >>>>>>>>> more information. Thank you for your patience. >>>>>>>>> Anne >>>>>>>>> On behalf of FreeBSD GSoC admins >>>>>>>>> On Apr 4, 2019, at 10:45 AM, Mahesh Tudu mahesh86701997@gmail.com >>>>>>>>> wrote: >>>>>>>>> Hello, >>>>>>>>> I have already sent an email regarding mentorship for the project *Verification >>>>>>>>> of bhyve's instruction emulation. *But I have still got no response >>>>>>>>> from your side. I have done lot of research work on this project and I am >>>>>>>>> sure that I will complete it. >>>>>>>>> I would be very pleased if you look into my matter and send me a >>>>>>>>> response soon. >>>>>>>>> Thank you. >>>>>>>>> [image: Mailtrack] >>>>>>>>> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& Sender >>>>>>>>> notified by >>>>>>>>> Mailtrack >>>>>>>>> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& 04/04/19, >>>>>>>>> 9:12:16 PM >>>>> >>>>> -- >>>>> Best regards, MMokhi. >> >> freebsd-hackers@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > > Hello, > > I would be glad to help you, unfortunately I do not have the knowledge (yet) to do so, > thus I will only try to point you in the right direction. > > I think you already found the FreeBSD wiki pages about the Summer of Code, but if you > did not, here they are: > https://wiki.freebsd.org/SummerOfCode > And in particular you are probably interested now in > https://wiki.freebsd.org/SummerOfCodeStudentChecklist > > I read you are suggested to write to the hackers mailing list as you are doing. However, > this mailing is list not much used, not as much as others and as irc at least; of course I hope > potential mentors are subscribed, but you are more likely to receive quick response if you also > join irc. I remember a few days ago someone talking about the Summer of Code, maybe > it was you (if it was you, I found cool your idea and I would probably benefit from its realization: > definitely hope you found your mentor!): try again and make it clear that you are in search > for a mentor. > We are always busy doing plenty of things, we might read quickly, see the cool > idea, but forget to notice about the mentorship need. Or, even worse, many of us use an irc > bouncer: thus we go to sleep or at work receiving everything, but when we come back at > irc we just look at things where we were mentioned. Since you do not know the name of > your future mentor, you cannot mention him and he would not see your request. > Thus, do not just say "I am searching for a mentor", say "do you know who could like to become my > mentor"? And someone will answer "maybe x". And x wil be mentioned and see it when > he comes back on irc. > > It could also help you to get a copy of the source (see > https://www.freebsd.org/doc/handbook/makeworld.html ), enter into the directory that you would > most probably work with (for example, if you will work on virtual memory, sys/vm) then look > to the last people that worked in there with a "svn log -l5": they know the part of the source you > want to work on, then they have the technical knowledge needed for being your mentor. Then you > can try to contact them on irc or by e-mail. > For this last part you could find useful the following: > https://wiki.freebsd.org/IRC/Nicknames > https://people.freebsd.org/homepage.html > https://www.freebsd.org/administration.html > > I wish you to find your mentor. > > Lorenzo Salvadore. > > > Sent with ProtonMail Secure Email. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > Hey Would you like to share the proposal document either here on the mailing list or privately? I am also applying and my project didn't yield conversation in the mailing list either. I have, however, had some conversations on IRC and privately with community members and I could take a look if your application could benefit from the same suggestions that I've gotten. regards, Paavo-Einari Kaipila From owner-freebsd-hackers@freebsd.org Tue Apr 9 00:57:34 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4DF1A156E6CA for ; Tue, 9 Apr 2019 00:57:34 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 59DC76C8F8 for ; Tue, 9 Apr 2019 00:57:33 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf1-f47.google.com with SMTP id z9so2363304lfh.6 for ; Mon, 08 Apr 2019 17:57:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=6tYkh06C+IfGlzzHjar6/rjP/UWC5vgLBsCmdXXKJu0=; b=uf461w3Nclh75ncsgXHH+5ZcvLeLUbD9uuyarH4xpuJ2PLQaTTB8FFcVhRZVHwdEU1 V4j/LVVaSxSPRGE8L3c2Lgjh7BcKRT3zgi/zpMRmUt/qbisduGT/9Ko4bODS+IrwSfG+ 2rdd374WRtvD9GSDl+cF3f9vB3eGHlJ6IzewLL8t8457u5fRgELgZgPuDBej2z1Bf83F Um4mAvlGlYaLKtG2JdBwdYYEMZeKUyimzTdvmlBXiyGAJMG/NAN+bJBCtHqHev3LWMaD aydmYiB+sviLnFBRh6cbbl6VAHeqJycwZPWi920F+yUMfStEHtwfAuSEz49daUJ213nN 521g== X-Gm-Message-State: APjAAAVFu6IRQb75v+kQbr1hkBrYUw6lqnzoiVhBKkHRWXsG2IUnFdjx lJV/ht3C1lUfbjhmk9dR7xJapxmLeGkU1eU2bbN3RHjPaLM= X-Google-Smtp-Source: APXvYqxnl43ZcUrMvx+O4cHbxeG/aqPvbnM2DgxDbYWjmvS0q5V5UcgkVwYblxrcs5O5myMJ3nXy50+wYxDnl9ioQbQ= X-Received: by 2002:a05:6512:248:: with SMTP id b8mr17075981lfo.140.1554771095365; Mon, 08 Apr 2019 17:51:35 -0700 (PDT) MIME-Version: 1.0 From: Alan Somers Date: Mon, 8 Apr 2019 18:51:23 -0600 Message-ID: Subject: panic: leaf should be empty To: FreeBSD Hackers X-Rspamd-Queue-Id: 59DC76C8F8 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.167.47 as permitted sender) smtp.mailfrom=asomers@gmail.com X-Spamd-Result: default: False [-4.14 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_TRACE(0.00)[0:+,1:+]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.79)[-0.792,0]; RCVD_IN_DNSWL_NONE(0.00)[47.167.85.209.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; IP_SCORE(-1.34)[ip: (-0.59), ipnet: 209.85.128.0/17(-3.87), asn: 15169(-2.18), country: US(-0.06)]; TO_DOM_EQ_FROM_DOM(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Apr 2019 00:57:34 -0000 I'm trying to use cache_enter_timeout to set a timeout on a lookup cache entry. I have code that works with cache_enter, but when I modify it to use cache_enter_timeout I get this panic message on a subsequent lookup. Does anybody know the magic incantation to using lookup cache timeouts? The panic message is not very helpful. Stack trace: panic: leaf should be empty cpuid = 2 time = 1554770500 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0031c745f0 vpanic() at vpanic+0x19d/frame 0xfffffe0031c74640 panic() at panic+0x43/frame 0xfffffe0031c746a0 lookup() at lookup+0xe69/frame 0xfffffe0031c74740 namei() at namei+0x4e9/frame 0xfffffe0031c74830 kern_accessat() at kern_accessat+0x106/frame 0xfffffe0031c74990 amd64_syscall() at amd64_syscall+0x276/frame 0xfffffe0031c74ab0 fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe0031c74ab0 --- syscall (33, FreeBSD ELF64, sys_access), rip = 0x80051696a, rsp = 0x7fffffffe5e8, rbp = 0x7fffffffe780 --- Steps to Reproduce: 1) Build and install a kernel and tests from the projects/fuse2 branch at r346046 or later 2) cd /usr/tests/sys/fs/fusefs 3) ./lookup --gtest_filter=Lookup.entry_cache -vv # This should work 4) sudo sysctl vfs.fusefs.lookup_cache_expire=1 5) ./lookup --gtest_filter=Lookup.entry_cache -vv # This should panic The offending code is in sys/fs/fuse/fuse_node.c at line 308. Grateful for any help, -Alan From owner-freebsd-hackers@freebsd.org Tue Apr 9 08:32:47 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9E35157982B for ; Tue, 9 Apr 2019 08:32:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EA60882B35; Tue, 9 Apr 2019 08:32:46 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id x398WY6R080171 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 9 Apr 2019 11:32:37 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua x398WY6R080171 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id x398WYUI080170; Tue, 9 Apr 2019 11:32:34 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 9 Apr 2019 11:32:34 +0300 From: Konstantin Belousov To: Alan Somers Cc: FreeBSD Hackers Subject: Re: panic: leaf should be empty Message-ID: <20190409083234.GP1923@kib.kiev.ua> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Apr 2019 08:32:48 -0000 On Mon, Apr 08, 2019 at 06:51:23PM -0600, Alan Somers wrote: > I'm trying to use cache_enter_timeout to set a timeout on a lookup cache > entry. I have code that works with cache_enter, but when I modify it to > use cache_enter_timeout I get this panic message on a subsequent lookup. > Does anybody know the magic incantation to using lookup cache timeouts? There is no magic incantation. Also there is no lookup cache timeouts, vfs_cache only saves timestamps and ticks. Look at nfs client how this is used. > The panic message is not very helpful. The panic message is very explicit and the condition under which it appears is obvious. If VOP_LOOKUP() method returns error, it must not set ndp->ni_vp. > > Stack trace: > panic: leaf should be empty > cpuid = 2 > time = 1554770500 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > 0xfffffe0031c745f0 > vpanic() at vpanic+0x19d/frame 0xfffffe0031c74640 > panic() at panic+0x43/frame 0xfffffe0031c746a0 > lookup() at lookup+0xe69/frame 0xfffffe0031c74740 > namei() at namei+0x4e9/frame 0xfffffe0031c74830 > kern_accessat() at kern_accessat+0x106/frame 0xfffffe0031c74990 > amd64_syscall() at amd64_syscall+0x276/frame 0xfffffe0031c74ab0 > fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe0031c74ab0 > --- syscall (33, FreeBSD ELF64, sys_access), rip = 0x80051696a, rsp = > 0x7fffffffe5e8, rbp = 0x7fffffffe780 --- > > Steps to Reproduce: > 1) Build and install a kernel and tests from the projects/fuse2 branch at > r346046 or later > 2) cd /usr/tests/sys/fs/fusefs > 3) ./lookup --gtest_filter=Lookup.entry_cache -vv # This should work > 4) sudo sysctl vfs.fusefs.lookup_cache_expire=1 > 5) ./lookup --gtest_filter=Lookup.entry_cache -vv # This should panic > > The offending code is in sys/fs/fuse/fuse_node.c at line 308. > > Grateful for any help, > -Alan > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@freebsd.org Tue Apr 9 08:38:08 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD6611579AB3 for ; Tue, 9 Apr 2019 08:38:08 +0000 (UTC) (envelope-from freebsd-hackers@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3BC6E82DA1 for ; Tue, 9 Apr 2019 08:38:06 +0000 (UTC) (envelope-from freebsd-hackers@dino.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan) by mailhost.netlabit.sk with ESMTPA; Tue, 09 Apr 2019 10:32:56 +0200 id 00DED244.5CAC58B8.0000A2E1 Date: Tue, 9 Apr 2019 10:32:56 +0200 From: Milan Obuch To: freebsd-hackers@freebsd.org Subject: Any WAFER-BT users? Message-ID: <20190409103256.5d095bb5@zeta.dino.sk> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; i386-portbld-freebsd11.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 3BC6E82DA1 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of freebsd-hackers@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-hackers@dino.sk X-Spamd-Result: default: False [-4.31 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[dino.sk]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[mail.dino.sk]; NEURAL_HAM_SHORT(-0.95)[-0.952,0]; RCVD_IN_DNSWL_NONE(0.00)[72.65.245.84.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.05)[ip: (-7.06), ipnet: 84.245.64.0/18(-3.53), asn: 16160(0.30), country: SK(0.04)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:16160, ipnet:84.245.64.0/18, country:SK]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Apr 2019 08:38:08 -0000 Hi, I am testing WAFER-BT-N28071-R20 board, details at https://www.ieiworld.com/en/product/model.php?II=637 I tried installing from mini memstick image for both i386 and amd64 architectures, 12.0-RELEASE, both are failing the same way - boot loader starts, menu is displayed, selected/timed out, then Loading kernel... /boot/kernel/kernel [text= etc.] Loading configured modules... can't find '/boot/entropy' | and that's all. No output from kernel, no sign of life :( This board was tested with Windows and Linux, so it could not be something totally wrong, just some BIOS settings or somesuch... I tried loading without ACPI, but then it fails with 'can't find APIC' panic or aomething similar (just from memory). Also, trying run kernel manually from loader does not reveal anything, 'boot -vs' outputs nothing as well. Any hint anybody? With no output from kernel, I am lost - no idea where and what to look for... Regards, Milan From owner-freebsd-hackers@freebsd.org Tue Apr 9 14:25:16 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B24E4158246F for ; Tue, 9 Apr 2019 14:25:16 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x843.google.com (mail-qt1-x843.google.com [IPv6:2607:f8b0:4864:20::843]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 114DE8F3DC for ; Tue, 9 Apr 2019 14:25:16 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x843.google.com with SMTP id k2so20011072qtm.1 for ; Tue, 09 Apr 2019 07:25:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wzSdXo/EimK8b4JllWXdE9pklDQckUpdV9uGGHQPi7s=; b=paEWKS40g6gOYJw2Jdd7edvHk6NnETT5cfaxAYPRHFACM8xlAhj3afZZ6fA2eRB6fN EQUI3lYjPv9MZuWlt+VASCJWeasHQRcDrolFQofx+sxOiIZzm6glIczJm7Yy575E1DJv gF9+6gUswk4USLDQ+4aql2zFl9zZLGEoYawKNQ+GO/8O8JVAKmCmj3JRdFyA8XT7BSMn K96jlqi2qNqL19NY7CSN51H9lqnICiM8ANazCzFp+6AtttRVPTt1XWnz9FNwsun6LMtr A8+GQjn69GNMYY+VZ12vJhcXCiLvNAYCs0O3RlLh+RRVSE1yC6yJBOria4n6PqWFjJzL fyqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wzSdXo/EimK8b4JllWXdE9pklDQckUpdV9uGGHQPi7s=; b=Vfk3NM+ck36ZYunGFwMYq/Xlfj2zOyfsAYviyRcgxQh74oT0NPQvzOCeL6iSu8j7iT 4hZW4HLPAbgQgZngc4xQ7EryVBnQlas9KWO7rEGI8Jhu9JFRXg7hlzVO7/Nar5VV/gV2 qaKRXXxYkUg7YgpstRJVKqwg1QGuJTP2zIVlhDxrPpPI5Os0CB17UIfXINarMPbewiUJ Y/ukiTZ756iCpVH43H1J9oPiceHUKAs/RDouCAxVyY+qbQ/HJDMVJmULyAPi7tYePde6 7yVREkkm/XLfcNesU1/iBPx3PPTUyJsCijY2mCF/4WfC8VhVbRwFaZiMK7X6yGBvFelG ummQ== X-Gm-Message-State: APjAAAXgQQen4xWhGbAUxAWBTvmiuXPYaCPqrKwSfNAhbr2E4lm15p1a Y7iNGHGTtgzF2JSgXrxoFuDXdXrmn5KwVIF3WE8cdx6q X-Google-Smtp-Source: APXvYqw1/1safJaln2uBO/tpSIv+ZmPTnKKC/QNLKsMm0kRL+q91CLtz6w+mmZDwefNaZ7E2jZRCAT++fr5GSVizNDc= X-Received: by 2002:ac8:5493:: with SMTP id h19mr16893920qtq.23.1554819915548; Tue, 09 Apr 2019 07:25:15 -0700 (PDT) MIME-Version: 1.0 References: <20190409103256.5d095bb5@zeta.dino.sk> In-Reply-To: <20190409103256.5d095bb5@zeta.dino.sk> From: Warner Losh Date: Tue, 9 Apr 2019 08:25:03 -0600 Message-ID: Subject: Re: Any WAFER-BT users? To: Milan Obuch Cc: "freebsd-hackers@freebsd.org" X-Rspamd-Queue-Id: 114DE8F3DC X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=paEWKS40 X-Spamd-Result: default: False [-2.56 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.90)[-0.896,0]; IP_SCORE(-0.66)[ip: (1.87), ipnet: 2607:f8b0::/32(-2.95), asn: 15169(-2.18), country: US(-0.06)]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.4.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Apr 2019 14:25:16 -0000 On Tue, Apr 9, 2019 at 2:39 AM Milan Obuch wrote: > Hi, > > I am testing WAFER-BT-N28071-R20 board, details at > https://www.ieiworld.com/en/product/model.php?II=637 > > I tried installing from mini memstick image for both i386 and amd64 > architectures, 12.0-RELEASE, both are failing the same way - boot loader > starts, menu is displayed, selected/timed out, then > > Loading kernel... > /boot/kernel/kernel [text= etc.] > Loading configured modules... > can't find '/boot/entropy' > | > > and that's all. No output from kernel, no sign of life :( > This symptom means one of two things: (1) The boot loader is crashing for some reason, but not reporting it (way too common on UEFI, sadly) (2) The boot loader is configuring some crazy thing as console, loading the kernel and it is dying and reporting the message into cloud kookoo land. > This board was tested with Windows and Linux, so it could not be > something totally wrong, just some BIOS settings or somesuch... I tried > loading without ACPI, but then it fails with 'can't find APIC' panic or > aomething similar (just from memory). Also, trying run kernel manually > from loader does not reveal anything, 'boot -vs' outputs nothing as > well. > If you can get to the stage where it thinks it's booting manually, it isn't likely (1), though it's still a small possibility while loading the kernel. It would be really helpful to have a screen shot where it died. You might also setup a serial console too. > Any hint anybody? With no output from kernel, I am lost - no idea where > and what to look for... > Try a -current snapshot? Warner From owner-freebsd-hackers@freebsd.org Thu Apr 11 05:41:06 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04B9B157A5DE for ; Thu, 11 Apr 2019 05:41:06 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-1.consmr.mail.bf2.yahoo.com (sonic301-1.consmr.mail.bf2.yahoo.com [74.6.129.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 17CF8772AA for ; Thu, 11 Apr 2019 05:41:05 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: GWsURjcVM1lUZU6nIXmMk_pCHc18MlPBVHAOwf6WjhdKEWoE1ERt_qHR5aUOrkK Xw.e5Vys6hDitsGliU1hEl0dGbVQd4NbTkBzJSJaemEsAjpdtcUCwoNujPRfytaaX790LzaJne8s Sx_ESnl67BYLVc4ITIG8qBwwNEDIF.8kJFS6ztBz4hWpuygn2YaHq4l6gXUW0tN.z9CilHl9amHr E.NvbLVkrwNKnrPxkye_dBu0wpBQVNnVW0ha60JteQW1pUOr6xtrihAgMXnJOl6pINcNu7AA8E17 oGE9yHII91w5vCSH4Qh8VbyF2QamXkYQsf9EZzO5_d.jHtsYEPIvIyL4tKsTj6KRvxf6f.mpmq9e l0h76yDnXA1JqWyhKh1ZSwBx95xzxJu9fanz3OEodtBTZTtIS86CcSSDzqnKaCefqAK_BGA5HY62 BEZnTki0bgmegzT_OLDBb7y3oINCvGTANT.HVDKJAujxqgq5nWCIiiQpOGINPVCOSytM2FKu35zg 8I23AewdowNXLLcplRatKkag3N1UCDgJSpKC6oUCJ_qgzk8QHzoSfpxoV68Fr8ugmLXLKzuZd1tT OMqN8c8ArgbDlcCwhxWfiKoOaHvj_riS5h2LS0bOJ8zRKF3koZPU02_QQx5lgBXHL06NjAVRGaGH QaXO9kkhRqif3yntzV8Nw0s3UghQQ5NyEKhS_vAL7I_SmGb0ABshLUUEfBZTa4cVRLW2f4CeOF3F 5GqqMOBVdC8_61uG7hEM6DUFuVSLJFSWYzIgDqnkLKMbnYmhocP0gwRC_uikKnKoeRfFEKmezZ_i pdreta.gVPyr4hQHWoonEIKMWFLgdJlox.sa3ggr3OaylHf.Gf8p_9khR0vReXzIkhmcbaoO7DKx _msePUDrSPlKYNeh9ORZc1F2TBsg_8nZt0.1bUnm_kNxVY4vt_jQ9_UPPk5KVM_KbRgmxUY3DuFA hpSJEDLEq9Cp1ib8LsYsRgfANZlLsf88IEm_GAyJjy4QF1Ur6IMSlGnTtb42MGPZCMqdI1oxxwCi zEIg.loYieXG1d5DV3xJGeRf4n1QeAj_Av03NpHjl9j8PicpLF.D.aQHb3NZ1Jrqlo3P9yns2Jej dkQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.bf2.yahoo.com with HTTP; Thu, 11 Apr 2019 05:41:03 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.103]) ([76.115.7.162]) by smtp403.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 9630a2ddbb0199ac6ca3c1fbc8d5a8c6; Thu, 11 Apr 2019 05:41:01 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Openfirmware node handling questions (associate with old PowerMac usefdt mode contexts and things not working) Message-Id: <372E571A-0D72-4511-89FA-C09A88370AC9@yahoo.com> Date: Wed, 10 Apr 2019 22:40:58 -0700 To: FreeBSD PowerPC ML , freebsd-hackers Hackers X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: 17CF8772AA X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.46 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.85)[0.855,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.39)[ip: (4.15), ipnet: 74.6.128.0/21(1.60), asn: 26101(1.28), country: US(-0.06)]; NEURAL_SPAM_MEDIUM(0.14)[0.136,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.59)[0.588,0]; RCVD_IN_DNSWL_NONE(0.00)[40.129.6.74.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Apr 2019 05:41:06 -0000 Part of an old PowerMac3,6 G4 node tree looks like the below. Note the replications of the names gpio5, gpio6, gpio11, and extint-gpio15 : Node 0xff959ff0: pci Node 0xff95cb40: mac-io Node 0xff963f60: interrupt-controller Node 0xff9641d0: gpio Node 0xff964428: extint-gpio1 Node 0xff964728: programmer-switch Node 0xff964a10: gpio5 Node 0xff964c60: extint-gpio15 Node 0xff964f20: gpio6 Node 0xff965170: extint-gpio16 Node 0xff965498: extint-gpio14 Node 0xff965758: gpio12 Node 0xff9659a0: gpio11 Node 0xff965be8: gpio5 Node 0xff965e00: gpio6 Node 0xff966020: extint-gpio4 Node 0xff9662b0: gpio11 Node 0xff966500: extint-gpio15 The code that creates the fdt for this for usefdt mode rejects (skips) each Node that has a prior matching name already added in the parent node. (This seems to be keeping usefdt mode from identifying the ethernet port.) There is the same sort of issue for an old PowerMac11,2 G5 with a node tree that in part looks like the below: . . . Node 0xff994de0: i2c Node 0xff995a00: i2c-bus Node 0xff995bc8: codec Node 0xff995d00: codec Node 0xff995e38: i2c-bus Node 0xff996000: codec The "2nd" instance of i2c-bus is skipped based on the first one having already been added to the parent. (I've no clue which is first vs. second in the order of processing.) There are other duplicate subordinate names in other places that do not report a message about skipping. (I've yet to figure out what makes the distinction.) Is this rejection of the "later" instance of the same name(?) valid (officially)? Did Apple do something odd here? Is there something else I should look for that would indicate valid vs. invalid duplicate subordinate names under the same parent? Is the rejection of such duplicate subordinate names(?) just wrong? === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-hackers@freebsd.org Thu Apr 11 06:36:25 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD849157B5D1 for ; Thu, 11 Apr 2019 06:36:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-30.consmr.mail.ne1.yahoo.com (sonic301-30.consmr.mail.ne1.yahoo.com [66.163.184.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 69C3581296 for ; Thu, 11 Apr 2019 06:36:23 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: Vxc9MVAVM1ng.Gl3B71NAvecqEXnQiSP7JnJhws5hjaN9UuG3pTFlGh4ltAVVtw GUk1lPmH1Bw5sLJ35GvTNe5xj_wTkHsuUJJfgEEkJYsG_s5O7ke9MjU7ujRfKz5fM6l.7WKWQFV6 Gt2DhqEP8VIsOxUnarOr7WFo7u.SUKqpX33fFDtBVTjNKZrU25CzOIoPTYRbZoJw1I6p.WMXsOrs RYxwYNtPxrGgyO1oaqAffy_q_N7MlC2dT6NnyvkgSCBgIk.Pct1qJqO39703r0j3700gf_W.yD_U e7l2NZumxnOgMv45cUPYI00gl7L8F785oI2cdBtuLkeygf_8Gn2Q5lEJbmupoBqGZCIYlia5A33_ AxjSM5dCdZ4VOaQuhmXJaviOGf8c_UQ10OcR8_BQbgD0GJczdCDlSoMz232zzLL112NaEaBfT7Yu ByAw2RzysH221oXPYLlDqtX5ZNg0UOgPBvNM5L0RHCiShe_khNg.SU3JyydTy4kCI11iaYD2ED6A Dcyv02O5F.eU9FHSTb0PQzOrnXCMU0cDPmAY2.gitTYb0bZbFwst7xuwcKgKgaYZLNIWyKIZiIlG 5FXUpoHE0pQoNGqwk9lhuzEK.PtbSWdMmWEtgSBHMinOXLQE0__FKPxujjiZObvCU6QySuxtyhRs m_9R2Ax4HUqosGadSQ3EiY9AtLqm_OWjna.a17yIHmh2F3DrE886nQaJztiHNKa_7O.AhrwKYP4u tLHHNrG8bpB2ib9oQQ4jgLYj.x05HJcfwUptluCtCvGtEjZGX1hBkvO1xAyDMW1do66.TtIUU1Tl dkP65vZ7ZD.0InogBSLigLl26DEBLTUgZDxT38Mq_z3gh2z8y6jnoJRVw1A0ycrWvm.CBwYx4ZCU p7tjOlexgbgHjJPb2iNOvXLlL_zas1QqRkIYebieqXBQttejLk2TWE1iNrktyVCcFif6PVnMRTv1 WbdoYOTvSwW0m.bvKVq68S93kI1rjiBSBq_Tq711Rs.PkqtGqJpFExEe3.9LIqSUw1DPnvYrn5Sc ChMLQQoyHgnXEDUP7QXJwKsFUGgYphCl0oJlvDk4mmT2MKLBA6bD0Q87KdWws2wdl5lXNgM8NNzX Wc4xtxMTf_GeAynythXBQPNr44xrK3g0- Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Thu, 11 Apr 2019 06:36:16 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.103]) ([76.115.7.162]) by smtp421.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID e3c17f6aff277e7832aeac166b1cba39; Thu, 11 Apr 2019 06:36:12 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: powerpc64 head -r344018 stuck sleeping problems: th->th_scale * tc_delta(th) overflows unsigned 64 bits sometimes [patched failed] From: Mark Millard In-Reply-To: <7B096BB4-7DBA-4B95-AC1E-DDD9A7DF3B22@yahoo.com> Date: Wed, 10 Apr 2019 23:36:10 -0700 Cc: freebsd-hackers Hackers , FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: References: <20190307222220.GK2492@kib.kiev.ua> <20190309144844.K1166@besplex.bde.org> <20190324110138.GR1923@kib.kiev.ua> <20190403070045.GW1923@kib.kiev.ua> <20190404011802.E2390@besplex.bde.org> <20190405150236.A959@besplex.bde.org> <20190405201055.I2396@besplex.bde.org> <20190405113504.GA1923@kib.kiev.ua> <55604EF6-CB81-4300-8E9E-E3A94504D0B5@yahoo.com> <3592A7F1-9EAE-4A33-B51A-678BE104E18C@yahoo.com> <7B096BB4-7DBA-4B95-AC1E-DDD9A7DF3B22@yahoo.com> To: Konstantin Belousov , Bruce Evans X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: 69C3581296 X-Spamd-Bar: + X-Spamd-Result: default: False [1.29 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.35)[-0.348,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_SPAM_SHORT(0.84)[0.841,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.18)[ip: (3.36), ipnet: 66.163.184.0/21(1.44), asn: 36646(1.16), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.12)[0.125,0]; RCVD_IN_DNSWL_NONE(0.00)[199.184.163.66.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Apr 2019 06:36:25 -0000 I do not know if the below will suggest any test cases or not. I just note it for superficial similarity and possibly more usual hardware than the old PowerMac context that I have. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230451 "nanosleep = hangs forever" seems to be an example on an old ~500 MHz 586-class AMD CPU when kern.timecounter.hardware was ACPI-fast instead of TSC. The 2018-08-08 report was for 11.2-Stable. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-hackers@freebsd.org Fri Apr 12 15:11:18 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C9A7157EEFB for ; Fri, 12 Apr 2019 15:11:18 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45C9C772F8 for ; Fri, 12 Apr 2019 15:11:17 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lj1-f182.google.com with SMTP id t4so672317ljc.2 for ; Fri, 12 Apr 2019 08:11:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zl0qJIFJh7II464PytAfF0rjS6O2DdURCheZnoZqbBs=; b=kvhJhOHuVNOfOs+KnaB/ONe/dLo0gj9B1M313nbDEM3+5aTx/gV7BQmO6jvCyGLy4D YQ9ZtgRPrR42EueNdGk0MxlfI8YdOEeJ+x7XwISMICU43jTMZ0tXzkntJdkVrzonmw8W zbufCF4PisgDlzi5J2UAAXj+n1PYxK6v2E36U/SWtwJKIxLlrUUvHnLEJCc+HOi5DS18 pCA6qn8saiiHhZNp9Bh6/6R7PW81Mv5e+Um+16P4deSQYzpUbjxLtpsSWZDMiUqqF2G+ KTCOmKnmdI+cqAfnq9NEBV6TwCArmK+jSsAXgRbSqoQewzdtVwmNbPBM8jSXz3kU6ljN DpTg== X-Gm-Message-State: APjAAAWBy3wXocTlfJNV7LpxCkUE//rRWKy88l+aB3GcUQKl++zLkXyf fQeK9x2jB/HG6GFHWeMcy2QOalY89pRfNXIIRGXIrs6x2Wo= X-Google-Smtp-Source: APXvYqyZb2KL0s4pdqWLsFt03QMtUjelwpgQLC4FUpitH3LBZgf0wZOfLkrPiL7N3DxJXLUH6ykoLQTsheMEzwIh1+c= X-Received: by 2002:a2e:5bcc:: with SMTP id m73mr22363540lje.100.1555081869802; Fri, 12 Apr 2019 08:11:09 -0700 (PDT) MIME-Version: 1.0 From: Alan Somers Date: Fri, 12 Apr 2019 09:10:58 -0600 Message-ID: Subject: When can a struct buf's b_lblkno field by < 0 ? To: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 45C9C772F8 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.208.182 as permitted sender) smtp.mailfrom=asomers@gmail.com X-Spamd-Result: default: False [-3.19 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.85)[-0.851,0]; RCVD_IN_DNSWL_NONE(0.00)[182.208.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.34)[ip: (-0.57), ipnet: 209.85.128.0/17(-3.87), asn: 15169(-2.18), country: US(-0.06)]; RCVD_TLS_LAST(0.00)[]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; SUBJECT_ENDS_QUESTION(1.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Apr 2019 15:11:18 -0000 In struct buf, b_lblkno is documented as "Logical block number". I would expect that to always be nonnegative. However, vtruncbuf loops through a list of buffers, skipping those where "bp->b_lblkno > 0". Maybe that's just an awkward way of writing "do something for the buffer where b_lblkno == 0", but SVN archaeology suggests otherwise. Before r112182, the code looked like this, implying that the b_lblkno could actually be negative: if ((bp->b_flags & B_DELWRI) && (bp->b_lblkno < 0)) { Does anybody know under what circumstances that field might be negative? Also, was r112182 a correct change? It appears to have negated "<" and gotten ">", neglecting the "==" case. https://svnweb.freebsd.org/base/head/sys/kern/vfs_subr.c?r1=112182&r2=112181&pathrev=112182 -Alan From owner-freebsd-hackers@freebsd.org Fri Apr 12 15:40:08 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D30F3157F779 for ; Fri, 12 Apr 2019 15:40:07 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1354480534 for ; Fri, 12 Apr 2019 15:40:07 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x732.google.com with SMTP id a71so5914116qkg.2 for ; Fri, 12 Apr 2019 08:40:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VjreV3vKf5M7EBDuNy6Y3C0CF0CwbztSVHdP0B0Xamg=; b=OHvc4JFsd/66NxcZ08CB4uUd82OnqL6sE3Ns3SWCRXXrdFjmPKgf1gWZWU4O+v4kHJ Nb+BKCaXrtkklFsYKxEZRU6h+6czMmp826rWuD0/zbV4x4Axob+HLOCKRj3HGbQ5ONm9 D+knDVKbkuKRJx2woaua9nnlC2T38OCG14FWgw2BCjuna6vuwJVzMRRVoYVFryABBXSS Q/rmcGQJhXxbdD0Nnr8V1iWpe1BW60SnK+Utqsm8uk/Xm5piYIlxd2VDvvMRmYJfhSpG waFfzgAsoqLDqc07m3HINcVEGbMRrmkvxdnRY+b/AwTocB93geGhouzDcm2nJGRS64zK EtUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VjreV3vKf5M7EBDuNy6Y3C0CF0CwbztSVHdP0B0Xamg=; b=Fyml3eDd6gSI9RvkFlVUoGdwpNMgSn0NgEiTr+dFYwv5L3S6Sdw0HGf6GZ4jzsYMM/ WDxqQBzMfW1gqQJ8wwNVyf6oKOASej/VzbFMKexLaDomDtTPHoJLiBirrlTxlBw/YqRM 0GNAsgPeEHEfNl+2jlmkDHi/E3st+6LlgbfXW0qMUgIo3xv5OO5hqWXe80MeP8MXzE3G fwHltJWzYB3hca2MNQ4PZhdCK/L7v2FgNFIrW0R3ImWHOfzQqL/SNdCinQy3rWdW6mFk dYdF7soc3KecKo5Hz0aoukmnQjlGE1935gATxRyYRrLgEGGQFtdKgBbWTLY82NkqcrVx mhsQ== X-Gm-Message-State: APjAAAXw0tLRzzUEq/pOB7RzQ0SbgaBW3PRpN3AmqB5et9tlT21ny0HL 5e/wMOcq3s817VgYxjaCU/OILleGU2OWoH7hnYmUpg== X-Google-Smtp-Source: APXvYqwP5+Ows3OUJQB9WWhSMwBn1494SyjPzFA//MX/JK6mlfRDT40hSmPPqt/hRYST3BemRnr10yT2x6e/Gne8528= X-Received: by 2002:a37:a310:: with SMTP id m16mr3818806qke.140.1555083606341; Fri, 12 Apr 2019 08:40:06 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Fri, 12 Apr 2019 09:39:55 -0600 Message-ID: Subject: Re: When can a struct buf's b_lblkno field by < 0 ? To: Alan Somers Cc: FreeBSD Hackers X-Rspamd-Queue-Id: 1354480534 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=OHvc4JFs X-Spamd-Result: default: False [-4.80 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.977,0]; IP_SCORE(-2.82)[ip: (-8.90), ipnet: 2607:f8b0::/32(-2.94), asn: 15169(-2.18), country: US(-0.06)]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2.3.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Apr 2019 15:40:08 -0000 On Fri, Apr 12, 2019 at 9:12 AM Alan Somers wrote: > In struct buf, b_lblkno is documented as "Logical block number". I > would expect that to always be nonnegative. However, vtruncbuf loops > through a list of buffers, skipping those where "bp->b_lblkno > 0". > Maybe that's just an awkward way of writing "do something for the > buffer where b_lblkno == 0", but SVN archaeology suggests otherwise. > Before r112182, the code looked like this, implying that the b_lblkno > could actually be negative: > > if ((bp->b_flags & B_DELWRI) && (bp->b_lblkno < 0)) { > > Does anybody know under what circumstances that field might be > negative? Also, was r112182 a correct change? It appears to have > negated "<" and gotten ">", neglecting the "==" case. > > https://svnweb.freebsd.org/base/head/sys/kern/vfs_subr.c?r1=112182&r2=112181&pathrev=112182 b_lblkno can be negative when it describes the meta-data for a file, non-negative when it describes data for the file. Warner From owner-freebsd-hackers@freebsd.org Fri Apr 12 15:41:26 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1F40A157F812 for ; Fri, 12 Apr 2019 15:41:26 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5F9BA8089A; Fri, 12 Apr 2019 15:41:25 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id x3CFfHB4058081 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 12 Apr 2019 18:41:20 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua x3CFfHB4058081 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id x3CFfHZt058080; Fri, 12 Apr 2019 18:41:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 12 Apr 2019 18:41:17 +0300 From: Konstantin Belousov To: Alan Somers Cc: FreeBSD Hackers , Kirk McKusick Subject: Re: When can a struct buf's b_lblkno field by < 0 ? Message-ID: <20190412154117.GD1923@kib.kiev.ua> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Apr 2019 15:41:26 -0000 On Fri, Apr 12, 2019 at 09:10:58AM -0600, Alan Somers wrote: > In struct buf, b_lblkno is documented as "Logical block number". I > would expect that to always be nonnegative. However, vtruncbuf loops > through a list of buffers, skipping those where "bp->b_lblkno > 0". > Maybe that's just an awkward way of writing "do something for the > buffer where b_lblkno == 0", but SVN archaeology suggests otherwise. > Before r112182, the code looked like this, implying that the b_lblkno > could actually be negative: > > if ((bp->b_flags & B_DELWRI) && (bp->b_lblkno < 0)) { > > Does anybody know under what circumstances that field might be > negative? Yes, somebody know. Better list for such discussions is fs@. It is up to the filesystem to use any values of b_lblkno as it finds suitable. For instance, for UFS lblknos -1 and -2 are used for the blocks carrying the extended attributes of inode. Lower values are used to cache indirect block' pages in the normal vnode page queue, so that the pages effectively appear as hvaing very large page indexes. > Also, was r112182 a correct change? It appears to have > negated "<" and gotten ">", neglecting the "==" case. > https://svnweb.freebsd.org/base/head/sys/kern/vfs_subr.c?r1=112182&r2=112181&pathrev=112182 This is innocent, in worst case it results in unneeded syncing. But I wonder why do we still have this loop for 'if (length > 0)' case. I do not quite follow the purpose of syncing all indirect and extended blocks on truncation. It might somewhat help SU to ensure that dependencies carried by indirect blocks are flushed timely after truncation, but this is too vague. I added Kirk who may know more history there. From owner-freebsd-hackers@freebsd.org Sat Apr 13 10:22:15 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3443157463C for ; Sat, 13 Apr 2019 10:22:15 +0000 (UTC) (envelope-from freebsdnewbie@freenet.de) Received: from mout2.freenet.de (mout2.freenet.de [195.4.92.92]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (Client CN "*.freenet.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 98FDF76A5D for ; Sat, 13 Apr 2019 10:22:14 +0000 (UTC) (envelope-from freebsdnewbie@freenet.de) Received: from [195.4.92.165] (helo=mjail2.freenet.de) by mout2.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (port 25) (Exim 4.90_1 #2) id 1hFFnO-0000CN-Ny for freebsd-hackers@freebsd.org; Sat, 13 Apr 2019 12:22:02 +0200 Received: from [::1] (port=51670 helo=mjail2.freenet.de) by mjail2.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (Exim 4.90_1 #2) id 1hFFnO-0003gQ-NP for freebsd-hackers@freebsd.org; Sat, 13 Apr 2019 12:22:02 +0200 Received: from sub7.freenet.de ([195.4.92.126]:41686) by mjail2.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (Exim 4.90_1 #2) id 1hFFlF-0002dk-V9 for freebsd-hackers@freebsd.org; Sat, 13 Apr 2019 12:19:49 +0200 Received: from p4ffc6259.dip0.t-ipconnect.de ([79.252.98.89]:49293 helo=freebsd-t450.fritz.box) by sub7.freenet.de with esmtpsa (ID freebsdnewbie@freenet.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 587) (Exim 4.90_1 #2) id 1hFFlF-0004aw-SO for freebsd-hackers@freebsd.org; Sat, 13 Apr 2019 12:19:49 +0200 Date: Sat, 13 Apr 2019 12:19:47 +0200 From: Manuel =?iso-8859-15?Q?St=FChn?= To: freebsd-hackers@freebsd.org Subject: Allocate resources from dts-node Message-ID: <20190413101947.GA5005@freebsd-t450.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/1.11.4 (2019-03-13) X-Originated-At: 79.252.98.89!49293 X-Rspamd-Queue-Id: 98FDF76A5D X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of freebsdnewbie@freenet.de designates 195.4.92.92 as permitted sender) smtp.mailfrom=freebsdnewbie@freenet.de X-Spamd-Result: default: False [-3.97 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; RWL_MAILSPIKE_POSSIBLE(0.00)[92.92.4.195.rep.mailspike.net : 127.0.0.17]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:195.4.92.0/23]; FREEMAIL_FROM(0.00)[freenet.de]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[emig.freenet.de,emig.freenet.de,emig.freenet.de,emig.freenet.de]; NEURAL_HAM_SHORT(-0.84)[-0.839,0]; DMARC_NA(0.00)[freenet.de]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-0.72)[ip: (-1.61), ipnet: 195.4.0.0/16(-1.05), asn: 5430(-0.95), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[92.92.4.195.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[freenet.de]; ASN(0.00)[asn:5430, ipnet:195.4.0.0/16, country:DE]; RECEIVED_SPAMHAUS_PBL(0.00)[89.98.252.79.zen.spamhaus.org : 127.0.0.10] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Apr 2019 10:22:16 -0000 Hi, during the process of preparing a NanoPI NEO2 port i found some bugs in allwinners a10_codec implementation i'm now trying to fix. But i'm struggeling with the resource management. In the codec@1c22c00 section of the sunxi-h3-h5.dtsi there is a xref to another node containing a needed register address and width: codec: codec@1c22c00 { [..] reg = <0x01c22c00 0x400>; allwinner,codec-analog-controls = <&codec_analog> [..] } codec_analog: codec-analog@1f015c0 { compatible = "allwinner,sun8i-h3-codec-analog"; reg = <0x01f015c0 0x4>; }; The driver kept crashing until i changed the dts file to something like this: codec: codec@1c22c00 { [..] reg = <0x01c22c00 0x400 0x01f015c0 0x4>; [..] } The driver wants to allocate both registers at once with bus_alloc_resources() and a struct resource_spec describing two memory sections and an interrupt section. I'm failing in glueing the resource described by "reg" in codec_analog into the a10_codec driver. The raw content I managed to retrieve correctly by using these OF_* stuff in the drivers attach()-function: [..] phandle_t analognode, analogref; OF_getencprop(node, "allwinner,codec-analog-controls", &analogref, sizeof(analogref)) analognode = OF_node_from_xref(analogref); pcell_t reg[2]; OF_getencprop(analognode, "reg", reg, sizeof(reg)) [..] The contents of reg[2] are the correct values, but now i do not find how to correctly make them available to the driver as resource: int rid = 2; struct resource *res = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, reg[0], reg[0]+reg[1]-1, reg[1], RF_ACTIVE ); This does not return a valid resource pointer. Is this anyhow the correct way to do? Any help greatly appreciated :) -- Manuel From owner-freebsd-hackers@freebsd.org Sat Apr 13 15:43:50 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F107B157BE3F for ; Sat, 13 Apr 2019 15:43:49 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C89A8881BC; Sat, 13 Apr 2019 15:43:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id x3DFheJD084610 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 13 Apr 2019 18:43:43 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua x3DFheJD084610 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id x3DFheEq084608; Sat, 13 Apr 2019 18:43:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 13 Apr 2019 18:43:40 +0300 From: Konstantin Belousov To: Kirk McKusick Cc: Alan Somers , FreeBSD Hackers Subject: Re: When can a struct buf's b_lblkno field by < 0 ? Message-ID: <20190413154340.GJ1923@kib.kiev.ua> References: <20190412154117.GD1923@kib.kiev.ua> <201904131523.x3DFNsu4091963@chez.mckusick.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201904131523.x3DFNsu4091963@chez.mckusick.com> User-Agent: Mutt/1.11.4 (2019-03-13) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Apr 2019 15:43:50 -0000 On Sat, Apr 13, 2019 at 08:23:54AM -0700, Kirk McKusick wrote: > > Date: Fri, 12 Apr 2019 18:41:17 +0300 > > From: Konstantin Belousov > > To: Alan Somers > > Cc: FreeBSD Hackers , > > Kirk McKusick > > Subject: Re: When can a struct buf's b_lblkno field by < 0 ? > > > > On Fri, Apr 12, 2019 at 09:10:58AM -0600, Alan Somers wrote: > >> In struct buf, b_lblkno is documented as "Logical block number". I > >> would expect that to always be nonnegative. However, vtruncbuf loops > >> through a list of buffers, skipping those where "bp->b_lblkno > 0". > >> Maybe that's just an awkward way of writing "do something for the > >> buffer where b_lblkno == 0", but SVN archaeology suggests otherwise. > >> Before r112182, the code looked like this, implying that the b_lblkno > >> could actually be negative: > >> > >> if ((bp->b_flags & B_DELWRI) && (bp->b_lblkno < 0)) { > >> > >> Does anybody know under what circumstances that field might be > >> negative? > > > > Yes, somebody know. Better list for such discussions is fs@. > > > > It is up to the filesystem to use any values of b_lblkno as it finds > > suitable. For instance, for UFS lblknos -1 and -2 are used for the > > blocks carrying the extended attributes of inode. Lower values > > are used to cache indirect block' pages in the normal vnode page queue, > > so that the pages effectively appear as having very large page indexes. > > > >> Also, was r112182 a correct change? It appears to have > >> negated "<" and gotten ">", neglecting the "==" case. > >> https://svnweb.freebsd.org/base/head/sys/kern/vfs_subr.c?r1=112182&r2=112181&pathrev=112182 > > > > This is innocent, in worst case it results in unneeded syncing. But I > > wonder why do we still have this loop for 'if (length > 0)' case. I do > > not quite follow the purpose of syncing all indirect and extended blocks > > on truncation. It might somewhat help SU to ensure that dependencies > > carried by indirect blocks are flushed timely after truncation, but this > > is too vague. > > > > I added Kirk who may know more history there. > > I don't have much to add to kib's commentary. The change in -r112182 > was not meant to have functional change, just reduce indentation and > get rid of unnecessary code. The change should have been to > (bp->b_lblkno >= 0), but the effect is that if logical data block 0 > is in the cache and dirty it will be unnecessarily written. At that > time all partial truncations were done synchronously, hence the > flushing of all the meta-data. With the additional of journaled soft > updates, it became possible to do partial truncations asynchronously. Do you agree with the statement that the last loop in vtruncbuf() is useless ? Its removal could only make a difference for ffs_truncate(), and there, I do not think that b(a)write() is enough to ensure that the indirect buffers are clean, due to dependencies. From owner-freebsd-hackers@freebsd.org Sat Apr 13 15:15:10 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3BC6157B7D4 for ; Sat, 13 Apr 2019 15:15:10 +0000 (UTC) (envelope-from mckusick@mckusick.com) Received: from chez.mckusick.com (chez.mckusick.com [70.36.157.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 260E287711; Sat, 13 Apr 2019 15:15:09 +0000 (UTC) (envelope-from mckusick@mckusick.com) Received: from chez.mckusick.com (localhost [IPv6:::1]) by chez.mckusick.com (8.15.2/8.15.2) with ESMTP id x3DFNsu4091963; Sat, 13 Apr 2019 08:23:54 -0700 (PDT) (envelope-from mckusick@mckusick.com) Message-Id: <201904131523.x3DFNsu4091963@chez.mckusick.com> From: Kirk McKusick To: Konstantin Belousov Subject: Re: When can a struct buf's b_lblkno field by < 0 ? cc: Alan Somers , FreeBSD Hackers X-URL: http://WWW.McKusick.COM/ Reply-To: Kirk McKusick In-reply-to: <20190412154117.GD1923@kib.kiev.ua> Comments: In-reply-to Konstantin Belousov message dated "Fri, 12 Apr 2019 18:41:17 +0300." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <91961.1555169034.1@chez.mckusick.com> Content-Transfer-Encoding: quoted-printable Date: Sat, 13 Apr 2019 08:23:54 -0700 X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,MISSING_MID, UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on chez.mckusick.com X-Rspamd-Queue-Id: 260E287711 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.96 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.960,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-Mailman-Approved-At: Sat, 13 Apr 2019 17:12:19 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Apr 2019 15:15:11 -0000 > Date: Fri, 12 Apr 2019 18:41:17 +0300 > From: Konstantin Belousov > To: Alan Somers > Cc: FreeBSD Hackers , > Kirk McKusick > Subject: Re: When can a struct buf's b_lblkno field by < 0 ? > = > On Fri, Apr 12, 2019 at 09:10:58AM -0600, Alan Somers wrote: >> In struct buf, b_lblkno is documented as "Logical block number". I >> would expect that to always be nonnegative. However, vtruncbuf loops >> through a list of buffers, skipping those where "bp->b_lblkno > 0". >> Maybe that's just an awkward way of writing "do something for the >> buffer where b_lblkno =3D=3D 0", but SVN archaeology suggests otherwise= . >> Before r112182, the code looked like this, implying that the b_lblkno >> could actually be negative: >> = >> if ((bp->b_flags & B_DELWRI) && (bp->b_lblkno < 0)) { >> = >> Does anybody know under what circumstances that field might be >> negative? > = > Yes, somebody know. Better list for such discussions is fs@. > = > It is up to the filesystem to use any values of b_lblkno as it finds > suitable. For instance, for UFS lblknos -1 and -2 are used for the > blocks carrying the extended attributes of inode. Lower values > are used to cache indirect block' pages in the normal vnode page queue, > so that the pages effectively appear as having very large page indexes. > = >> Also, was r112182 a correct change? It appears to have >> negated "<" and gotten ">", neglecting the "=3D=3D" case. >> https://svnweb.freebsd.org/base/head/sys/kern/vfs_subr.c?r1=3D112182&r2= =3D112181&pathrev=3D112182 > = > This is innocent, in worst case it results in unneeded syncing. But I > wonder why do we still have this loop for 'if (length > 0)' case. I do > not quite follow the purpose of syncing all indirect and extended blocks > on truncation. It might somewhat help SU to ensure that dependencies > carried by indirect blocks are flushed timely after truncation, but this > is too vague. > = > I added Kirk who may know more history there. I don't have much to add to kib's commentary. The change in -r112182 was not meant to have functional change, just reduce indentation and get rid of unnecessary code. The change should have been to = (bp->b_lblkno >=3D 0), but the effect is that if logical data block 0 is in the cache and dirty it will be unnecessarily written. At that time all partial truncations were done synchronously, hence the flushing of all the meta-data. With the additional of journaled soft updates, it became possible to do partial truncations asynchronously. Kirk McKusick From owner-freebsd-hackers@freebsd.org Sat Apr 13 19:37:47 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C7CB158179B for ; Sat, 13 Apr 2019 19:37:47 +0000 (UTC) (envelope-from mckusick@mckusick.com) Received: from chez.mckusick.com (chez.mckusick.com [70.36.157.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A49C38FAE0; Sat, 13 Apr 2019 19:37:46 +0000 (UTC) (envelope-from mckusick@mckusick.com) Received: from chez.mckusick.com (localhost [IPv6:::1]) by chez.mckusick.com (8.15.2/8.15.2) with ESMTP id x3DJkPIk097337; Sat, 13 Apr 2019 12:46:25 -0700 (PDT) (envelope-from mckusick@mckusick.com) Message-Id: <201904131946.x3DJkPIk097337@chez.mckusick.com> From: Kirk McKusick To: Konstantin Belousov Subject: Re: When can a struct buf's b_lblkno field by < 0 ? cc: Alan Somers , FreeBSD Hackers X-URL: http://WWW.McKusick.COM/ Reply-To: Kirk McKusick In-reply-to: <20190413154340.GJ1923@kib.kiev.ua> Comments: In-reply-to Konstantin Belousov message dated "Sat, 13 Apr 2019 18:43:40 +0300." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <97335.1555184785.1@chez.mckusick.com> Date: Sat, 13 Apr 2019 12:46:25 -0700 X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,MISSING_MID, UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on chez.mckusick.com X-Rspamd-Queue-Id: A49C38FAE0 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.96 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.962,0] X-Mailman-Approved-At: Sat, 13 Apr 2019 20:02:36 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Apr 2019 19:37:47 -0000 > Date: Sat, 13 Apr 2019 18:43:40 +0300 > From: Konstantin Belousov > To: Kirk McKusick > Cc: Alan Somers , > FreeBSD Hackers > Subject: Re: When can a struct buf's b_lblkno field by < 0 ? > > On Sat, Apr 13, 2019 at 08:23:54AM -0700, Kirk McKusick wrote: > >> I don't have much to add to kib's commentary. The change in -r112182 >> was not meant to have functional change, just reduce indentation and >> get rid of unnecessary code. The change should have been to >> (bp->b_lblkno >= 0), but the effect is that if logical data block 0 >> is in the cache and dirty it will be unnecessarily written. At that >> time all partial truncations were done synchronously, hence the >> flushing of all the meta-data. With the additional of journaled soft >> updates, it became possible to do partial truncations asynchronously. > > Do you agree with the statement that the last loop in vtruncbuf() is > useless ? Its removal could only make a difference for ffs_truncate(), > and there, I do not think that b(a)write() is enough to ensure that the > indirect buffers are clean, due to dependencies. When running with soft updates, they will ensure that everything happens in the right order. When running without them, the last loop is needed to ensure that the file is consistent before the length is set. This consistency is ensured because we do a bufobj_wwait() after falling out of the loop which will wait until all the bawrite()s have completed. Kirk From owner-freebsd-hackers@freebsd.org Sat Apr 13 20:28:58 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 731211582474 for ; Sat, 13 Apr 2019 20:28:58 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3220E6A5AB for ; Sat, 13 Apr 2019 20:28:57 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf1-f41.google.com with SMTP id h5so7140814lfm.1 for ; Sat, 13 Apr 2019 13:28:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BqzffvplxlN5yAEX+9RMdaHZadSajvfH6V0RlAZR/Ag=; b=VmidJHpvJLoT3ipk6fwnl3/rXZI+5UD7QPeTAXtQdPYta7FTN7MsKtWPHEzHIpKnOT mp3/YexI3zV9pg5vG2oqeDWzy1UoskWCPZEFATBV8l1rkLUxNBFr/SwScXqxtNtQYIYM N8s5SHFm+fr2uiL2nOJJYul6j6J36m6lC6TThvnxXzOLg16Yk6CWA08pagz9y/EON+22 /ff+NIQ88RdmPyh4QKDnzVu900HZR8E9nAz0SP3EtntpYZtrVVTEyIFRPS+QYkEd5vSJ 4T9FiYzf5Mcla3rkrysw5oeyAWNLxX1VFzrBYMiIjhZzgAv2Pee8FiSy0sLWzq1TdKX4 D0Ug== X-Gm-Message-State: APjAAAVujdmtSJjzfQoXf51t8eYZJwCUedr1rOoTwhr0Ts5/8gwU9n9+ 9dBJh7vLTfOyKt5yXzMhHZawM6T+A3RQyt8zU90= X-Google-Smtp-Source: APXvYqz1j6c9LHEv4zYJ6B8uqLbFjXd1lYcBcPP3imPa8ZmZvFfS1K4ZCs6Gt23rIK820c4TMqHh5RV9X1Fl8CA3Abw= X-Received: by 2002:a19:7719:: with SMTP id s25mr4186516lfc.69.1555187330219; Sat, 13 Apr 2019 13:28:50 -0700 (PDT) MIME-Version: 1.0 References: <20190413154340.GJ1923@kib.kiev.ua> <201904131946.x3DJkPIk097337@chez.mckusick.com> In-Reply-To: <201904131946.x3DJkPIk097337@chez.mckusick.com> From: Alan Somers Date: Sat, 13 Apr 2019 14:28:38 -0600 Message-ID: Subject: Re: When can a struct buf's b_lblkno field by < 0 ? To: Kirk McKusick Cc: Konstantin Belousov , FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 3220E6A5AB X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.167.41 as permitted sender) smtp.mailfrom=asomers@gmail.com X-Spamd-Result: default: False [-3.16 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.82)[-0.820,0]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; IP_SCORE(-1.33)[ip: (-0.54), ipnet: 209.85.128.0/17(-3.87), asn: 15169(-2.19), country: US(-0.06)]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[41.167.85.209.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[41.167.85.209.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_CC(0.00)[gmail.com] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Apr 2019 20:28:58 -0000 On Sat, Apr 13, 2019 at 1:37 PM Kirk McKusick wrote: > > > Date: Sat, 13 Apr 2019 18:43:40 +0300 > > From: Konstantin Belousov > > To: Kirk McKusick > > Cc: Alan Somers , > > FreeBSD Hackers > > Subject: Re: When can a struct buf's b_lblkno field by < 0 ? > > > > On Sat, Apr 13, 2019 at 08:23:54AM -0700, Kirk McKusick wrote: > > > >> I don't have much to add to kib's commentary. The change in -r112182 > >> was not meant to have functional change, just reduce indentation and > >> get rid of unnecessary code. The change should have been to > >> (bp->b_lblkno >= 0), but the effect is that if logical data block 0 > >> is in the cache and dirty it will be unnecessarily written. At that > >> time all partial truncations were done synchronously, hence the > >> flushing of all the meta-data. With the additional of journaled soft > >> updates, it became possible to do partial truncations asynchronously. > > > > Do you agree with the statement that the last loop in vtruncbuf() is > > useless ? Its removal could only make a difference for ffs_truncate(), > > and there, I do not think that b(a)write() is enough to ensure that the > > indirect buffers are clean, due to dependencies. > > When running with soft updates, they will ensure that everything happens > in the right order. When running without them, the last loop is needed > to ensure that the file is consistent before the length is set. This > consistency is ensured because we do a bufobj_wwait() after falling out > of the loop which will wait until all the bawrite()s have completed. > > Kirk So I think you're saying that the last loop is indeed necessary, except when b_lblkno == 0 ? From owner-freebsd-hackers@freebsd.org Sat Apr 13 20:33:25 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F34A215828E6 for ; Sat, 13 Apr 2019 20:33:24 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3D77C6AAC8; Sat, 13 Apr 2019 20:33:24 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id x3DKXGD1062633 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 13 Apr 2019 23:33:20 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua x3DKXGD1062633 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id x3DKXGMR062632; Sat, 13 Apr 2019 23:33:16 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 13 Apr 2019 23:33:16 +0300 From: Konstantin Belousov To: Kirk McKusick Cc: Alan Somers , FreeBSD Hackers Subject: Re: When can a struct buf's b_lblkno field by < 0 ? Message-ID: <20190413203316.GM1923@kib.kiev.ua> References: <20190413154340.GJ1923@kib.kiev.ua> <201904131946.x3DJkPIk097337@chez.mckusick.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201904131946.x3DJkPIk097337@chez.mckusick.com> User-Agent: Mutt/1.11.4 (2019-03-13) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Apr 2019 20:33:25 -0000 On Sat, Apr 13, 2019 at 12:46:25PM -0700, Kirk McKusick wrote: > > Date: Sat, 13 Apr 2019 18:43:40 +0300 > > From: Konstantin Belousov > > To: Kirk McKusick > > Cc: Alan Somers , > > FreeBSD Hackers > > Subject: Re: When can a struct buf's b_lblkno field by < 0 ? > > > > On Sat, Apr 13, 2019 at 08:23:54AM -0700, Kirk McKusick wrote: > > > >> I don't have much to add to kib's commentary. The change in -r112182 > >> was not meant to have functional change, just reduce indentation and > >> get rid of unnecessary code. The change should have been to > >> (bp->b_lblkno >= 0), but the effect is that if logical data block 0 > >> is in the cache and dirty it will be unnecessarily written. At that > >> time all partial truncations were done synchronously, hence the > >> flushing of all the meta-data. With the additional of journaled soft > >> updates, it became possible to do partial truncations asynchronously. > > > > Do you agree with the statement that the last loop in vtruncbuf() is > > useless ? Its removal could only make a difference for ffs_truncate(), > > and there, I do not think that b(a)write() is enough to ensure that the > > indirect buffers are clean, due to dependencies. > > When running with soft updates, they will ensure that everything happens > in the right order. When running without them, the last loop is needed > to ensure that the file is consistent before the length is set. This > consistency is ensured because we do a bufobj_wwait() after falling out > of the loop which will wait until all the bawrite()s have completed. Then, should this last loop writing out dirty indirect blocks, be done in the filesystem code (or in some vfs_bio.c helper called from filesystem code) only when needed, instead of being placed in vtruncbuf() ?