From nobody Mon Jan 13 02:27:52 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YWblQ13Rkz5kJ07 for <freebsd-hackers@mlmmj.nyi.freebsd.org>; Mon, 13 Jan 2025 02:28:02 +0000 (UTC) (envelope-from yuri@freebsd.org) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4YWblP575Fz4wZX for <freebsd-hackers@freebsd.org>; Mon, 13 Jan 2025 02:28:01 +0000 (UTC) (envelope-from yuri@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: from [192.168.5.3] (c-98-42-44-116.hsd1.ca.comcast.net [98.42.44.116]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 50D2RsYH049323 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sun, 12 Jan 2025 18:27:55 -0800 (PST) (envelope-from yuri@freebsd.org) X-Authentication-Warning: shell1.rawbw.com: Host c-98-42-44-116.hsd1.ca.comcast.net [98.42.44.116] claimed to be [192.168.5.3] Message-ID: <ceabbb86-cbab-4f82-9a9b-b8e7068cd6b7@freebsd.org> Date: Sun, 12 Jan 2025 18:27:52 -0800 List-Id: Technical discussions relating to FreeBSD <freebsd-hackers.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: <mailto:freebsd-hackers+help@freebsd.org> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Subscribe: <mailto:freebsd-hackers+subscribe@freebsd.org> List-Unsubscribe: <mailto:freebsd-hackers+unsubscribe@freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pthread_mutex_trylock crashes because _get_curthread() returns null To: Konstantin Belousov <kostikbel@gmail.com> Cc: Freebsd hackers list <freebsd-hackers@freebsd.org> References: <cf547d6a-fcee-4629-87d4-41e0da63dd79@FreeBSD.org> <Z4On_KSHfMRpi4RU@kib.kiev.ua> Content-Language: en-US From: Yuri <yuri@freebsd.org> In-Reply-To: <Z4On_KSHfMRpi4RU@kib.kiev.ua> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4YWblP575Fz4wZX X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7961, ipnet:198.144.192.0/23, country:US] With this patch the original crash is gone, but now it crashes in calloc with this stack: #0 Â 0x0000000003b2b1cc in calloc () #1 Â 0x000000002fda34e7 in _thr_alloc (curthread=curthread@entry=0x0) at /disk-samsung/freebsd-src/lib/libthr/thread/thr_list.c:154 #2 Â 0x000000002fda2522 in _libpthread_init (curthread=curthread@entry=0x0) at /disk-samsung/freebsd-src/lib/libthr/thread/thr_init.c:336 #3 Â 0x000000002fda5265 in _thr_check_init () at /disk-samsung/freebsd-src/lib/libthr/thread/thr_private.h:927 #4 Â __Tthr_mutex_trylock (mutex=0x415e440 <_rjem_je_arenas_lock+64>) at /disk-samsung/freebsd-src/lib/libthr/thread/thr_mutex.c:622 #5 Â 0x0000000003b29674 in _rjem_je_arena_choose_hard () #6 Â 0x0000000003b335da in arena_choose () #7 Â 0x0000000003b2b5b3 in calloc () #8 Â 0x000000002fda34e7 in _thr_alloc (curthread=curthread@entry=0x0) at /disk-samsung/freebsd-src/lib/libthr/thread/thr_list.c:154 #9 Â 0x000000002fda2522 in _libpthread_init (curthread=curthread@entry=0x0) at /disk-samsung/freebsd-src/lib/libthr/thread/thr_init.c:336 #10 0x000000002fda5265 in _thr_check_init () at /disk-samsung/freebsd-src/lib/libthr/thread/thr_private.h:927 #11 __Tthr_mutex_trylock (mutex=0x415e440 <_rjem_je_arenas_lock+64>) at /disk-samsung/freebsd-src/lib/libthr/thread/thr_mutex.c:622 #12 0x0000000003b29674 in _rjem_je_arena_choose_hard () #13 0x0000000003b335da in arena_choose () #14 0x0000000003b2b5b3 in calloc () #15 0x000000002fda34e7 in _thr_alloc (curthread=curthread@entry=0x0) at /disk-samsung/freebsd-src/lib/libthr/thread/thr_list.c:154 #16 0x000000002fda2522 in _libpthread_init (curthread=curthread@entry=0x0) at /disk-samsung/freebsd-src/lib/libthr/thread/thr_init.c:336 #17 0x000000002fda5265 in _thr_check_init () at /disk-samsung/freebsd-src/lib/libthr/thread/thr_private.h:927 #18 __Tthr_mutex_trylock (mutex=0x415e440 <_rjem_je_arenas_lock+64>) at /disk-samsung/freebsd-src/lib/libthr/thread/thr_mutex.c:622 Yuri From nobody Mon Jan 13 03:49:56 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YWdZ64T4Yz5kQ06 for <freebsd-hackers@mlmmj.nyi.freebsd.org>; Mon, 13 Jan 2025 03:50:06 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4YWdZ55Gkdz52tn; Mon, 13 Jan 2025 03:50:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 50D3nvNr094313; Mon, 13 Jan 2025 05:50:00 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 50D3nvNr094313 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 50D3nu8u094312; Mon, 13 Jan 2025 05:49:56 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 13 Jan 2025 05:49:56 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: Yuri <yuri@freebsd.org> Cc: Freebsd hackers list <freebsd-hackers@freebsd.org> Subject: Re: pthread_mutex_trylock crashes because _get_curthread() returns null Message-ID: <Z4SNZC-aSm_Y0JfP@kib.kiev.ua> References: <cf547d6a-fcee-4629-87d4-41e0da63dd79@FreeBSD.org> <Z4On_KSHfMRpi4RU@kib.kiev.ua> <ceabbb86-cbab-4f82-9a9b-b8e7068cd6b7@freebsd.org> List-Id: Technical discussions relating to FreeBSD <freebsd-hackers.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: <mailto:freebsd-hackers+help@freebsd.org> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Subscribe: <mailto:freebsd-hackers+subscribe@freebsd.org> List-Unsubscribe: <mailto:freebsd-hackers+unsubscribe@freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <ceabbb86-cbab-4f82-9a9b-b8e7068cd6b7@freebsd.org> 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=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Rspamd-Queue-Id: 4YWdZ55Gkdz52tn X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] On Sun, Jan 12, 2025 at 06:27:52PM -0800, Yuri wrote: > With this patch the original crash is gone, but now it crashes in calloc > with this stack: > > > #0 Â 0x0000000003b2b1cc in calloc () > #1 Â 0x000000002fda34e7 in _thr_alloc (curthread=curthread@entry=0x0) at > /disk-samsung/freebsd-src/lib/libthr/thread/thr_list.c:154 > #2 Â 0x000000002fda2522 in _libpthread_init (curthread=curthread@entry=0x0) > at /disk-samsung/freebsd-src/lib/libthr/thread/thr_init.c:336 > #3 Â 0x000000002fda5265 in _thr_check_init () at > /disk-samsung/freebsd-src/lib/libthr/thread/thr_private.h:927 > #4 Â __Tthr_mutex_trylock (mutex=0x415e440 <_rjem_je_arenas_lock+64>) at > /disk-samsung/freebsd-src/lib/libthr/thread/thr_mutex.c:622 > #5 Â 0x0000000003b29674 in _rjem_je_arena_choose_hard () > #6 Â 0x0000000003b335da in arena_choose () > #7 Â 0x0000000003b2b5b3 in calloc () > #8 Â 0x000000002fda34e7 in _thr_alloc (curthread=curthread@entry=0x0) at > /disk-samsung/freebsd-src/lib/libthr/thread/thr_list.c:154 > #9 Â 0x000000002fda2522 in _libpthread_init (curthread=curthread@entry=0x0) > at /disk-samsung/freebsd-src/lib/libthr/thread/thr_init.c:336 > #10 0x000000002fda5265 in _thr_check_init () at > /disk-samsung/freebsd-src/lib/libthr/thread/thr_private.h:927 > #11 __Tthr_mutex_trylock (mutex=0x415e440 <_rjem_je_arenas_lock+64>) at > /disk-samsung/freebsd-src/lib/libthr/thread/thr_mutex.c:622 > #12 0x0000000003b29674 in _rjem_je_arena_choose_hard () > #13 0x0000000003b335da in arena_choose () > #14 0x0000000003b2b5b3 in calloc () > #15 0x000000002fda34e7 in _thr_alloc (curthread=curthread@entry=0x0) at > /disk-samsung/freebsd-src/lib/libthr/thread/thr_list.c:154 > #16 0x000000002fda2522 in _libpthread_init (curthread=curthread@entry=0x0) > at /disk-samsung/freebsd-src/lib/libthr/thread/thr_init.c:336 > #17 0x000000002fda5265 in _thr_check_init () at > /disk-samsung/freebsd-src/lib/libthr/thread/thr_private.h:927 > #18 __Tthr_mutex_trylock (mutex=0x415e440 <_rjem_je_arenas_lock+64>) at > /disk-samsung/freebsd-src/lib/libthr/thread/thr_mutex.c:622 There must be more frames after #18. From nobody Mon Jan 13 07:34:00 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YWkXn3tPXz5kjsS for <freebsd-hackers@mlmmj.nyi.freebsd.org>; Mon, 13 Jan 2025 07:34:17 +0000 (UTC) (envelope-from cedric.blancher@gmail.com) Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YWkXm2VNQz3NJT for <freebsd-hackers@freebsd.org>; Mon, 13 Jan 2025 07:34:16 +0000 (UTC) (envelope-from cedric.blancher@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=cgwgQJHg; spf=pass (mx1.freebsd.org: domain of cedric.blancher@gmail.com designates 2607:f8b0:4864:20::632 as permitted sender) smtp.mailfrom=cedric.blancher@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-2162c0f6a39so87264515ad.0 for <freebsd-hackers@freebsd.org>; Sun, 12 Jan 2025 23:34:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736753655; x=1737358455; darn=freebsd.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=37AIEdAja4d+OQl0s1EM7Brp4lD62Hcb0lMeWgiD4nM=; b=cgwgQJHgXJOTSGy/N6XiaY0L+796dB5ZZbkFMtDK8+MRYj9Z5i6+zTLUjYI9wC0YYR I4MJ+Xz2qkoRUsYfaT0pwxgYGOqaDlmTt45xm6lwzBLLjb4rt9C4QdPRP6DSWFh9AxyL seSnCcuEYJm6Qu8M/Lp9DZcATtTvCL7ncvsOnM2xtM6NUjuGehqFRl7d7ijvFV63Xk1n t+dYJ/4152+PwyuuDsKftRdLPKOuPCF8caqeVenTT36oB9JH8AZBgvnTd4UZQjnoMgM5 oP7/m62hFtPXgv9y7Q7vOSU79BSZTLq7GdjNsjmvbZO7ZMhDcSSLCSPsZ2/a900wb23E yEiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736753655; x=1737358455; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=37AIEdAja4d+OQl0s1EM7Brp4lD62Hcb0lMeWgiD4nM=; b=GWlcwWkI0tF70maLaRTtPtxWPjiJyb2DV+6Blab1Ek3ZE3xNxF0KriJZEQ5+AjzC0Z FPVVHSFb1fZi4r1vaT/qyTKGJcaW1+ob+8D0nDspMXb8mUerWQrArO+s68R3BM4HNVy/ 3MFU8+/aDZ9KdYkDQcQjAb3s4EKBt7PIk45R9vfNcVRIyzaIuLcJwV0XwYEy6ShEe168 5stPFYFrIkXrf4gNeWA52s+GWhczzCcCUcqRqofoebpdr03urwXBSihQX1B2UI4KZgkc srHsvEStr7JNoLJC1pbu3baqWent1OiAs5ExRq0Y1d58f1hR97/VZzYjm3A5lC87IIFG Nv2w== X-Gm-Message-State: AOJu0YxVA73yMFyndiVFXUBZHw8lRFwk3hMqyV/k5aHe0w5CJQOaM5zE N5iDBoe2XF6nV2z5T0GJojk9DLRK/Nz3ppva91nG0jTwUSWCK9UgEpHgpoBOT5bLCqqSs4ifmy+ g8UirFw2KA/KCmNJq4n+lhCYEVQykwF6K X-Gm-Gg: ASbGnct90jCofO0Em7DK7Hk8BpMcrA7jJDB3dEY+xXtoQ4as4BekLQCnwR6Z9/X9rg8 Zbmn6CKB+XuXOmQat8AFoaAC2IYr4Wc9EIUMVqXc= X-Google-Smtp-Source: AGHT+IFg7OAqC33vSW0TZHtXz4/OFWfpLskKx9hj5AQ6NVuNUZPeofifcn067RG79QRv0DPZPoSxPLcmti0veD6jUMM= X-Received: by 2002:a17:90b:4ed0:b0:2ee:edae:775 with SMTP id 98e67ed59e1d1-2f55831577dmr21197885a91.3.1736753654708; Sun, 12 Jan 2025 23:34:14 -0800 (PST) List-Id: Technical discussions relating to FreeBSD <freebsd-hackers.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: <mailto:freebsd-hackers+help@freebsd.org> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Subscribe: <mailto:freebsd-hackers+subscribe@freebsd.org> List-Unsubscribe: <mailto:freebsd-hackers+unsubscribe@freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 References: <CALXu0Ufwu_tsZW7mgLLGySbB_XMVOChwEyK1Z+r3rpYiXiyXGg@mail.gmail.com> <CAM5tNy5HLEGZc=EMuD+QFhFRZg5SwmN6P5KvwMFPO5+3Cckh3g@mail.gmail.com> In-Reply-To: <CAM5tNy5HLEGZc=EMuD+QFhFRZg5SwmN6P5KvwMFPO5+3Cckh3g@mail.gmail.com> From: Cedric Blancher <cedric.blancher@gmail.com> Date: Mon, 13 Jan 2025 08:34:00 +0100 X-Gm-Features: AbW1kva09QTxnqHKmRzMZ5xk-cbCyB2bGMxa2aHfEVet1y10WWyIMFE9R1WZw60 Message-ID: <CALXu0Ue+y-hzHWpo_nhUwpdAfxW9FUuUvPOisRRHkgW2TkqZ4A@mail.gmail.com> Subject: Re: FreeBSD NFSv4.1 nfsd, named attribute support (OPENATTR)? To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-0.11 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; NEURAL_HAM_SHORT(-0.11)[-0.108]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TAGGED_FROM(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::632:from] X-Spamd-Bar: / X-Rspamd-Queue-Id: 4YWkXm2VNQz3NJT On Sun, 12 Jan 2025 at 16:49, Rick Macklem <rick.macklem@gmail.com> wrote: > > On Sun, Jan 12, 2025 at 2:09=E2=80=AFAM Cedric Blancher > <cedric.blancher@gmail.com> wrote: > > > > Good morning! > > > > Does FreeBSD NFSv4.1 nfsd support named attributes (e.g. OPENATTR), > > per https://datatracker.ietf.org/doc/html/rfc5661#section-5.3 > > > > ZFS and Solaris UFS support named attributes (via O_XATTR), does > > FreeBSD do it too? > No. fork files/resource forks (or whatever you choose to call them) > have been discussed multiple times. > > If I recall correctly, one showstopper was fixing the archive tools. That is a no-issue. J=C3=B6rg Schilly (RIP) will rotate in his grave for that comment, at 50000rpm. Just RH keeps telling that story to avoid doing the work for Linux. I've heard so many excuses, all without a technical foundation, that I am sick of that kind of fairy tale. Just the cold hard fact in this case: Solaris already implemented archive tools support for O_XATTR/named attributes/Alternate Data Streams, even in a backwards compatible way. OPENATTR/Alternate Stream files in a USTAR/PAX archive are like regular file entries, but use "/dev/null" as file name, and have the attribute name in an extension header. Old tar/pax can safely unpack such archives (writing named attribute streams to /dev/null if they do not have code to handle it), and new tar/pax just unpacks them correctly. > There was also the generic argument that Linux doesn't support them. Since when does Linux dictate what *BSD should implement or not?? Also Linux tends to debate such topics literally to death, and nothing happens. For years. Throwing money at RH didn't work either. > Then there was the issue of what VFS/VOP changes were required. > (The FreeBSD VFS carries vnode locks across VOP calls and is at > what I would call a lower level than Solaris.) You don't need VOP, you only need kernel support for openat(). That is the beauty of O_XATTR, it neatly plugs into O_XATTR, and the kernel core code has little to do. > --> Which all comes down to who will do the work? > > If I recall correctly, there was a time when a group associated with > CERN needed them to transition away from Solaris. There are other groups who are interested in that. Mine for example, right with Alternate Streams support in the Windows NFSv4.2 (yes, 4.2!!) driver, because lots of commercial stuff in Bioinformatics uses ADS (https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/= e2b19412-a925-4360-b009-86e3b8a020c8) > > Anyhow, maybe the discussion will happen again here and now, rick Yes, please Ced --=20 Cedric Blancher <cedric.blancher@gmail.com> [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur From nobody Wed Jan 15 15:18:06 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YY8lv3FYxz5kFwf; Wed, 15 Jan 2025 15:18:51 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YY8lt4H6Zz3k6w; Wed, 15 Jan 2025 15:18:50 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=LukYe1SX; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::102b as permitted sender) smtp.mailfrom=marietto2008@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-2ee76befe58so11298912a91.2; Wed, 15 Jan 2025 07:18:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736954323; x=1737559123; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=vwdJGwfkureL0cJCC73wfuHsFlVKfGhDqphmEk0nWLo=; b=LukYe1SXcJor3LvnM5mVqn6NtnTn3lUOiNNOOjf+tkcKsLCh2PmGckFwIUSAAiSEyl dm/I2d3CWOPlrgZKPXEsJxMEGSB+Epm9JcqLacXnh5TLM+g96qoGXAElWG8mmyJB2HEH ty2CeL1oeqrLbWkBH4cYUylDyw0SGqVKJ3zDX2uGPgwKmaWdvMAVwVK5gSuCflHo504F pR2r7Cc3iwWPVUa8eLLXuodAmPSTzcYlPysoFTQwiCZJOX7n2qjtM1xFRDMqhj3B6LLQ WoTD5CUNWSBG0iA6VFnLNCMUewlI67AJXrn8HisklmncTJJJyiUgXsrYMjefKCDwNpCL hfXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736954323; x=1737559123; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=vwdJGwfkureL0cJCC73wfuHsFlVKfGhDqphmEk0nWLo=; b=jujR6Es/GOOpRKdlwAG0CHO2f+kLfUTOaHTLZ9CFWiyJRwZSnN4kXDGY+A0llRtAxS DUVa2UB/P6lFy1PTMtJESrtuePJRwIK9HbMviwHEu1MKZBucjzkZvfBw29TlIRvUs83P 6lCkq9eK2iY5WA4RqPJUNcHSQgHwWU/Mp7r6iZZrz+S4HSNv074VIHM1J+5HtwK1NBTK 3+CqYR/pvy9idzB22JD5AvDJjOKaWpEF6G5Uhof8oznpFL2P50sLfuuWosQOuTE5yWNe e3oiDErSIQ3v+VKgKFLrt8fOehiHb0h+m0LhyG7fa9txCR3kKLl5DdTBGZYQiYCdODxm CZ7w== X-Forwarded-Encrypted: i=1; AJvYcCVYoOnTIYeqFilmjEaMlpb72GIgRkze3a02l6Cjon3dRTP28VuWgSAXI6uqHPpOs7czag0/A6N1O2PpzQ==@freebsd.org, AJvYcCWlB4hGMp13XzrPlS+FOqn5N5l0JU6SnL56hIqDlNKkhh5BoXWYqBqmLqVa8q/kRUAVmPKRdpykmk38+yf8HFX4@freebsd.org X-Gm-Message-State: AOJu0Yw87yONai5m1KHLmPLqWww6XaygUWtQSttJQRtDMJCbPyS3C5Fb t+DzP/lNV3hD++kZMAPWNGhiVacyWpUkYmxu3mHzdb8xjKguF+pOfIqs4ZYC3NVdtom5gpnQJS6 XLNwHTZkPdrvgcwl/DAErtf0N65f9JlPXrIY= X-Gm-Gg: ASbGnctm4ouB0KcoIWVw0EFKmtNwT6qfhzymleGrxBHwTOyNNOpQ+DQecLqrKFy6ryF o9MsWzDNK8CJMvJW9+5ijiHt6gK4wrxeFUKmNXqg= X-Google-Smtp-Source: AGHT+IG24vOD/skeywZNPZnvB+WqVJ4vA0nIw+Emc2ONF+lqinMZaUb3B9UjSr+/PgdnQ0naA0g0EH6FHJjRhxHp+rg= X-Received: by 2002:a17:90b:50c3:b0:2ea:4c8d:c7a2 with SMTP id 98e67ed59e1d1-2f548f5f6f8mr46461742a91.24.1736954323335; Wed, 15 Jan 2025 07:18:43 -0800 (PST) List-Id: Technical discussions relating to FreeBSD <freebsd-hackers.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: <mailto:freebsd-hackers+help@freebsd.org> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Subscribe: <mailto:freebsd-hackers+subscribe@freebsd.org> List-Unsubscribe: <mailto:freebsd-hackers+unsubscribe@freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 From: Mario Marietto <marietto2008@gmail.com> Date: Wed, 15 Jan 2025 16:18:06 +0100 X-Gm-Features: AbW1kvZkHPV-toye8VwyKgWpVOh4SLtkCE5cEO8oHpaBzPaTPiS-TirjeHatWBM Message-ID: <CA+1FSij1bLVYfhW3gPxN8LFUYW26dkonHiwhTiPKuGUu6q+T3Q@mail.gmail.com> Subject: Project FreeBSD mobile phone : let's talk about the display I love to use To: FreeBSD Mailing List <freebsd-questions@freebsd.org>, freebsd-arm <freebsd-arm@freebsd.org>, freebsd-hackers <freebsd-hackers@freebsd.org> Content-Type: multipart/alternative; boundary="0000000000006f0042062bc03135" X-Spamd-Result: default: False [-2.99 / 15.00]; URI_COUNT_ODD(1.00)[9]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.988]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROMTLD(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org,freebsd-arm@freebsd.org,freebsd-hackers@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MISSING_XM_UA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102b:from] X-Spamd-Bar: -- X-Rspamd-Queue-Id: 4YY8lt4H6Zz3k6w --0000000000006f0042062bc03135 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello to everyone. I'm trying to create a mobile phone with the look and feel of the Black Berry and with FreeBSD as an OS. This is the tutorial that I want to use as a base : https://hackaday.io/project/195587-blackberrypi-handheld as you can see he used this display : https://shop.pimoroni.com/products/hyperpixel-4-square?variant=3D3013825144= 4307 As soon as I saw it,I fell in love. I want to use that display for my DiY phone. Problem is that I don't know if some code has been written as a driver to turn it on. To be honest I'm not even sure about which board to use. FreeBSD does not work well with the Arm low end boards. I know that I want a slim phone. Do you have a board that you would recommend me to use ? Furthermore,the display should "match" well with the board,because I'm not able to write a single piece of code. I can accept a not finished piece of code,because if there is not much work to do is not much,I can start a crowdfunding campaign to raise the money and finish the job. Everything is geared to linux so you must translate. I want to understand if I have all the pieces needed. Starting here: [image: github.com] hyperpixel4/src/hyperpixel4-overlay.dts at pi4 =C2=B7 pimoroni/hyperpixel4 <https://github.com/pimoroni/hyperpixel4/blob/pi4/src/hyperpixel4-overlay.d= ts> I would like to know if some FreeBSD developer is working on these compatible chipset : compatible =3D "brcm,bcm2835"; compatible =3D "goodix,gt911"; Can someone share some relevant information about some useful piece of code,links,that I can explore to understand if it is worth investing my time and money on that display ? Anyway,I don't want to use the oblong displays used by the Android smartphone. That form factor is abused. If the display that I found is not good,I will continue searching for displays that have the same squared form factor. --=20 Mario. --0000000000006f0042062bc03135 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div>Hello to everyone.</div><div><br></d= iv><div>I'm trying to create a mobile phone with the look and feel of t= he Black Berry and with FreeBSD as an OS. This is the tutorial that I want = to use as a base : <br></div><div><br></div><div><a href=3D"https://hackada= y.io/project/195587-blackberrypi-handheld" target=3D"_blank">https://hackad= ay.io/project/195587-blackberrypi-handheld</a></div><div><br></div><div>as = you can see he used this display :</div><div><br></div><div><a href=3D"http= s://shop.pimoroni.com/products/hyperpixel-4-square?variant=3D30138251444307= " target=3D"_blank">https://shop.pimoroni.com/products/hyperpixel-4-square?= variant=3D30138251444307</a></div></div><div dir=3D"ltr"><br></div><div>As = soon as I saw it,I fell in love. I want to use that display for my DiY phon= e. Problem is that I don't know if some code has been written as a driv= er to turn it on. To be honest I'm not even sure about which board to u= se. FreeBSD does not work well with the Arm low end boards. <br></div><div>= <br></div><div>I know that I want a slim phone. Do you have a board that yo= u would=C2=A0recommend me to use ? <br></div><div><br></div><div>Furthermor= e,the display should "match" well with the board,because I'm = not able to write a single piece of code. <br></div><div><br></div><div>I c= an accept a not finished piece of code,because if there is not much work to= do is not much,I can start a crowdfunding campaign to raise the money and = finish the job.</div><div><br></div><div>Everything is geared to linux so y= ou must translate. I want to understand if I have all the pieces needed.<br= ></div><div><br></div><div> Starting here:<br> =09 <div class=3D"gmail-bbCodeBlock gmail-bbCodeBlock--unfurl gmail-js-unfurl = gmail-fauxBlockLink"> <div class=3D"gmail-contentRow"> =09 <div class=3D"gmail-contentRow-figure gmail-contentRow-figure--fixedSma= ll gmail-js-unfurl-figure"> =09 <img src=3D"https://opengraph.githubassets.com/79a89f2e38662368aeeb3e= 70126c4740ce8081a52fd7da4a98fa6531afbb0fa7/pimoroni/hyperpixel4" alt=3D"git= hub.com" class=3D"gmail-bbCodeBlockUnfurl-image"> =09 </div> =09 <div class=3D"gmail-contentRow-main"> <h3 class=3D"gmail-contentRow-header gmail-js-unfurl-title"> <a href=3D"https://github.com/pimoroni/hyperpixel4/blob/pi4/src/hyperp= ixel4-overlay.dts" class=3D"gmail-link gmail-link--external gmail-fauxBlock= Link-blockLink" target=3D"_blank" rel=3D"nofollow ugc noopener"> hyperpixel4/src/hyperpixel4-overlay.dts at pi4 =C2=B7 pimoroni/hyperp= ixel4 </a> </h3><div class=3D"gmail-contentRow-minor gmail-contentRow-minor--hideL= inks"></div> </div> </div> </div> I would like to know if some FreeBSD developer is working on these compatib= le chipset :<br> </div><div><br></div><div>compatible =3D "brcm,bcm2835";</div><di= v>compatible =3D "goodix,gt911";</div><div><br></div><div>Can som= eone share some relevant information about some useful piece of code,links,= that I can explore to understand if it is worth investing my time and money= on that display ? <br></div><div><br></div><div>Anyway,I don't want to= use the oblong displays used by the Android smartphone. That form factor i= s abused. <br></div><div><br></div><div>If the display that I found is not = good,I will continue searching for displays that have the same squared form= factor. <br></div><div></div><div><br></div><div><span class=3D"gmail_sign= ature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature" data= -smartmail=3D"gmail_signature">Mario.<br></div></div> </div> --0000000000006f0042062bc03135-- From nobody Wed Jan 15 21:05:28 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YYJS861MWz5kg9d for <freebsd-hackers@mlmmj.nyi.freebsd.org>; Wed, 15 Jan 2025 21:05:44 +0000 (UTC) (envelope-from abhinavchavali12@gmail.com) Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YYJS75C1Vz3fbM for <freebsd-hackers@freebsd.org>; Wed, 15 Jan 2025 21:05:43 +0000 (UTC) (envelope-from abhinavchavali12@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=ANqDoiEv; spf=pass (mx1.freebsd.org: domain of abhinavchavali12@gmail.com designates 2a00:1450:4864:20::135 as permitted sender) smtp.mailfrom=abhinavchavali12@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-540215984f0so276006e87.1 for <freebsd-hackers@freebsd.org>; Wed, 15 Jan 2025 13:05:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736975140; x=1737579940; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=6g/SzXEPiQH9J5DSTbXZmeHNrwxyjiFxzmmVDpYEeBo=; b=ANqDoiEvUzv382E+sKYXG91ms8iT1LeMwiCi/GKQBWJ+X/HExvAZKC2tS0XYJG/Ng6 iJUXkt03uFWBkxRD/cGsjlGdNgwJlLhdH33DyerbyrDJWI4++k/upvxi/RGWjOuhEiwK T5Iv8j+etwjEW6zjmZfXHqJ4GBfSU6HyObKyzFGqo/3rjgnT+n15oI/btK4lFQrYkIfm /wbvlH68FtXY9mTdikasIdoNvDO5f/aULUd5IR6/piTo6WLDKg1DmTvodRwMsPmXZccR 8gD4k8BrXUEZW+d7F2JSanwK1UfB032frGt8FN/J/pnnD+f4U0VD9Hn/URvxTk/qF/tV JrYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736975140; x=1737579940; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6g/SzXEPiQH9J5DSTbXZmeHNrwxyjiFxzmmVDpYEeBo=; b=QFpq7tkDdH81zQYGgc7lk6FbbHAQPNbeoTvnsYP7D9ebP0ic6rK2OsVeyIzf2hIUFJ VvXLiEQv2i12qXcBtmCANiCVfDHzMhWzw4iYQ0K0ZO6Y5UuvoJ0KRwVsSiaOpcYcOohB oFrYmPIW36jAOcw0c3jPi/Ed9R9L9BCReEsVVmYrNYTEqnP3IKo7ryuurKOlPkYTc2X/ Uq/5KxuE3yLxrAiaeSioXnGjOIFo9CYYytMaHomYAr5G6NZnsonaw/KSqsb/BtLMNX0h 3cqDJ3RKQd1KVwT6aqbCM/O42tA0FWyrCWimJJbmC5qISmnM7BLxXieyDy1jC9b5oOPT 2r+Q== X-Gm-Message-State: AOJu0Yw3eFhCTWdhuD+AtSEBg4FxBgJoq45BTxluYKu8FepKMlBWNyrL Z1JHFQZs9TPF1cvib++NeuN9e+5tsSCJwsxjkLoHwmhUXtXfVhipup1NdvQyVQSmL/ixIeBV6i6 0iNkC6/EzBCSuPL37IMD6PnlryPfXrbb9 X-Gm-Gg: ASbGncv8b5mFxL/v++SvtufDJi+WIoHKOrczmRzLCFeQXNpRu6kEOK3ZZutZJJOxFhf ODxoilHgctajO0H6kWmczBcPzJq/NVcU1JTmXXA== X-Google-Smtp-Source: AGHT+IH+3mZbMh4qWhrEfbv0Z2iLBVWQZhi3NNgjAEeMbs/MEYYPGwWUTCp0ukQk8qAqKI4ZTtwwQW65SacaC6u0guw= X-Received: by 2002:a05:6512:220f:b0:540:fb1a:af1f with SMTP id 2adb3069b0e04-54284815840mr3265627e87.39.1736975139403; Wed, 15 Jan 2025 13:05:39 -0800 (PST) List-Id: Technical discussions relating to FreeBSD <freebsd-hackers.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: <mailto:freebsd-hackers+help@freebsd.org> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Subscribe: <mailto:freebsd-hackers+subscribe@freebsd.org> List-Unsubscribe: <mailto:freebsd-hackers+unsubscribe@freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 From: Abhinav Chavali <abhinavchavali12@gmail.com> Date: Wed, 15 Jan 2025 16:05:28 -0500 X-Gm-Features: AbW1kvYcFSqZc0ne9TslfgEQdUrCEPkFu0y4E087Gm7Coz8dkri2YcMInTdAGwg Message-ID: <CAHcVPQ4HWqUkrnWXMrvvvcZsq0wA5TD=D90CN-F_Bf3yQFND6A@mail.gmail.com> Subject: GSoC 2025 Project Proposal To: freebsd-hackers@freebsd.org Content-Type: multipart/alternative; boundary="0000000000002b11b0062bc50a80" X-Spamd-Result: default: False [-3.97 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.97)[-0.973]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::135:from] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4YYJS75C1Vz3fbM --0000000000002b11b0062bc50a80 Content-Type: text/plain; charset="UTF-8" Hello, I am a student at the Pennsylvania State University looking to contribute to FreeBSD in the summer, in some form or another. I've been a desktop user of FreeBSD for several years now, and would now like to learn a specific subsystem and undergo a potential project for this summer. My experience with FreeBSD development is limited to writing simple kernel modules, although I have a strong understanding of C and Unix programming (and am willing to spend as much time as required before summer to fill in the gaps in my knowledge). I have already taken a look at the GSoC projects page, but I'm not sure how many of these are still relevant. Could anyone suggest a project that someone with my experience level could reasonably learn and complete? Also contacts to potential mentors would be very helpful. Thank you, Abhinav Chavali --0000000000002b11b0062bc50a80 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hello,<div>I am a student at the Pennsylvania State Univer= sity looking to contribute to FreeBSD in the summer, in some form or anothe= r. I've been a desktop user of FreeBSD for several years now, and would= now like to learn a specific subsystem and undergo a potential project for= this summer.</div><div><br></div><div>My experience with FreeBSD developme= nt is limited to writing simple kernel modules, although I have a strong un= derstanding of C and Unix programming (and am willing to spend as much time= as required before summer to fill in the gaps in my knowledge). I have alr= eady taken a look at the GSoC projects page, but I'm not sure how many = of these are still relevant. Could anyone suggest a project that someone wi= th my experience level could reasonably learn and complete? Also contacts t= o potential mentors would be very helpful.</div><div><br></div><div>Thank y= ou,</div><div>Abhinav Chavali</div></div> --0000000000002b11b0062bc50a80-- From nobody Thu Jan 16 02:05:22 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YYR6c6ngSz5kyxv for <freebsd-hackers@mlmmj.nyi.freebsd.org>; Thu, 16 Jan 2025 02:06:00 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YYR6c4fTVz46jC for <freebsd-hackers@freebsd.org>; Thu, 16 Jan 2025 02:06:00 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-2ee397a82f6so849617a91.2 for <freebsd-hackers@freebsd.org>; Wed, 15 Jan 2025 18:06:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736993159; x=1737597959; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=9lGbGcWpXI1lEqPgSwaa9cgNM0iT/mXzI5g612TfycE=; b=Z1G7+lzn8mhZC6/Kxj9f7nbeFOAvIYFIgUyfI/gk/Yv+YIzJOAzbMv8r6/MONMxqy7 XrVbM5OjeO0lrhcr7qifv2McUAhgnf9mssFp2dnebgbgP45zptdUjmRbfFLfcjGiUP+d nEKQzwNlu+r75Fg3V8k5uQB99A+lnXZ9a6QFjApUszsaZGya7fHi4v8xaQUvc1rdQuPF LKTBYnhiqFtiu7T2UiG+tPMmaaPU+69mcd+6IsLfKOIeJAEwUaj6bQ3bsd9AfR3CS+YZ Va0lbWQrq/gw/qWimIbJOYjNwW+U8unAXBhfdILp9zYWhKZ4OuwpGW0TKA/od+j5CSa6 Bzig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736993159; x=1737597959; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9lGbGcWpXI1lEqPgSwaa9cgNM0iT/mXzI5g612TfycE=; b=Jz3uyxFgd8DNa1B+yki0FeJSVGKGeEzy6OkSPu3oV4biTI1l7m6t9jG2eQ6iWX/D+R XsfS/uYWffkr+060jpAph/9ktrSwsIkZVs+stgxmpjYbz1/d0Kez2uTLuMCTCPejBYHt xnH6EDWl+TBLLLdWyOlMBKl5MKuiCGwLTcP72kC3dSTa+cyemgTM0f3YnnIKqX/zzc/w hjxctYhT3G7zFr8+QQsUp/psgnBJ6HhOr/HcLliHoJf3S0Gk94aUMMsE4xqONLabDHky 86MRBzeJxHUmNfEv6i4tYDnDRr50TnwaNlCKsEd11iyRlAd9JmUFugtOugtGaxgX2izj JnhA== X-Gm-Message-State: AOJu0YzPqxFTVqzQbB/WWE69+fTof8eTXcMLlhEqGbGB4xknaI9uEJfJ zl6SQpSj4u5dTD7fD5T5h+yVI88K57NVBf+8mb/lmqVkLQcJa3uWR0+3g7AACgW098URX5C3bMD oMKUdIXM5HHweO9K0fANxVDhzA9Y= X-Gm-Gg: ASbGncs+sUtPX6f+FkW6r9Z4KfHi210QQbVIrtjXmExegxTL75XSBDx7TKEJ964ugB1 0YKlFGhSdaUbmk10ZnP+k9BCzhXPshb5JDa859II= X-Google-Smtp-Source: AGHT+IEVnH31Vw4BL56iGf0nIIoywKwCVA4E56/YZGw7LlNAF/jjnPurJUOrucF5LMji9Fy8X2gv/SQxir+eW3x0qrk= X-Received: by 2002:a17:90a:c88f:b0:2f4:434d:c7ed with SMTP id 98e67ed59e1d1-2f548f34ee2mr49479191a91.16.1736993158931; Wed, 15 Jan 2025 18:05:58 -0800 (PST) List-Id: Technical discussions relating to FreeBSD <freebsd-hackers.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: <mailto:freebsd-hackers+help@freebsd.org> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Subscribe: <mailto:freebsd-hackers+subscribe@freebsd.org> List-Unsubscribe: <mailto:freebsd-hackers+unsubscribe@freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 References: <CAHcVPQ4HWqUkrnWXMrvvvcZsq0wA5TD=D90CN-F_Bf3yQFND6A@mail.gmail.com> In-Reply-To: <CAHcVPQ4HWqUkrnWXMrvvvcZsq0wA5TD=D90CN-F_Bf3yQFND6A@mail.gmail.com> From: Mario Marietto <marietto2008@gmail.com> Date: Thu, 16 Jan 2025 03:05:22 +0100 X-Gm-Features: AbW1kvZU0e4_lDNVDAQaQGdszN-JRMxnOwRuTYab8XHOB-14Zq3UZddjqYJ3_Q4 Message-ID: <CA+1FSigmv21w86tn8bcTzbj4ySawm4_90B72yJormOspyG2Baw@mail.gmail.com> Subject: Re: GSoC 2025 Project Proposal To: Abhinav Chavali <abhinavchavali12@gmail.com> Cc: freebsd-hackers@freebsd.org Content-Type: multipart/alternative; boundary="000000000000372df9062bc93c7f" X-Rspamd-Queue-Id: 4YYR6c4fTVz46jC X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] --000000000000372df9062bc93c7f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable You could try to patch or rewrite bhyve so that it can accelerate qemu. We need this. On Wed, Jan 15, 2025 at 10:06=E2=80=AFPM Abhinav Chavali <abhinavchavali12@= gmail.com> wrote: > Hello, > I am a student at the Pennsylvania State University looking to contribute > to FreeBSD in the summer, in some form or another. I've been a desktop us= er > of FreeBSD for several years now, and would now like to learn a specific > subsystem and undergo a potential project for this summer. > > My experience with FreeBSD development is limited to writing simple kerne= l > modules, although I have a strong understanding of C and Unix programming > (and am willing to spend as much time as required before summer to fill i= n > the gaps in my knowledge). I have already taken a look at the GSoC projec= ts > page, but I'm not sure how many of these are still relevant. Could anyone > suggest a project that someone with my experience level could reasonably > learn and complete? Also contacts to potential mentors would be very > helpful. > > Thank you, > Abhinav Chavali > --=20 Mario. --000000000000372df9062bc93c7f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">You could try to patch or rewrite bhyve so that it can acc= elerate qemu. We need this.<br></div><br><div class=3D"gmail_quote gmail_qu= ote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Jan 15, 2025 a= t 10:06=E2=80=AFPM Abhinav Chavali <<a href=3D"mailto:abhinavchavali12@g= mail.com">abhinavchavali12@gmail.com</a>> wrote:<br></div><blockquote cl= ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid= rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Hello,<div>I am a stud= ent at the Pennsylvania State University looking to contribute to FreeBSD i= n the summer, in some form or another. I've been a desktop user of Free= BSD for several years now, and would now like to learn a specific subsystem= and undergo a potential project for this summer.</div><div><br></div><div>= My experience with FreeBSD development is limited to writing simple kernel = modules, although I have a strong understanding of C and Unix programming (= and am willing to spend as much time as required before summer to fill in t= he gaps in my knowledge). I have already taken a look at the GSoC projects = page, but I'm not sure how many of these are still relevant. Could anyo= ne suggest a project that someone with my experience level could reasonably= learn and complete? Also contacts to potential mentors would be very helpf= ul.</div><div><br></div><div>Thank you,</div><div>Abhinav Chavali</div></di= v> </blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si= gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Ma= rio.<br></div> --000000000000372df9062bc93c7f-- From nobody Thu Jan 16 02:09:49 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YYRCG3pMLz5l02s for <freebsd-hackers@mlmmj.nyi.freebsd.org>; Thu, 16 Jan 2025 02:10:02 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YYRCG0yXpz47Y7 for <freebsd-hackers@freebsd.org>; Thu, 16 Jan 2025 02:10:02 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x1029.google.com with SMTP id 98e67ed59e1d1-2ee76befe58so792950a91.2 for <freebsd-hackers@freebsd.org>; Wed, 15 Jan 2025 18:10:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1736993401; x=1737598201; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=OLPInAzJ/KZwRlwdlyD9o3HuEY5+LjSUIGmGwMovTMc=; b=AyMBSoQN8jNbLxDuW5g6wopltWVjyXowV8J21fU82z4U8SFYSKqtLZjYGKLrkZUFGg tnzVDIi94vjJeyVkW0RzvJT7a0auuhn3gQEL3JmQ2raverrxfANPFRXan36nG+3dkrtT OHnu7zBsbkII4VXknkKPYgVJ5FOUAsHA2D5ZCn2dBUhXgYyO57PuC4vhNvUOb2KYLCIm L8Py8tEGx44bTGCKgXtKqcHlFUSAT2BP9q/GQPy5IVRRaBPfG35AWMBO4bYDhAkjuMv4 SyrqbkN8yyCnmmv1ieHV/UvZjK13BzC4hr144ZQ6PhWcfLUreoKkzh9nnaPQqvi1sj2J pYKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736993401; x=1737598201; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OLPInAzJ/KZwRlwdlyD9o3HuEY5+LjSUIGmGwMovTMc=; b=CmsdruCndSQQonbLhfsaniWc8iZN2n5Li1CqRSEXr31x/OUh7RXt4ASZ2uTQtb3kVo qcm3lIAyolux0zCY2wtMMn9ICFhmTnWklnT63rkI8hoC6zmgc1cRJyMABIVMPMeDGa8Y T1DGKV4iUinHi8d09+wqIKddLADZ3aYY4IHPCpdcM0ASffTF3c6tPMn8PF4QAYg10SPa KRagybionAa1LVVwM4+Qsdm9zksrja7/pn/pHT5hcA1Kr9nsGvLRktLZKQJHWUs+r+78 Oxxzk2uUcH9IC8nZ2FhghaHrrPj/8kug9qK6nsXmS87Vd0cPRfMfMC3cGgPOW8wknh6B ATnw== X-Forwarded-Encrypted: i=1; AJvYcCURbfa5oXCNHkFDyFZU0UuyKb+fXEIiV6xxGJjE7pUX+jymV5gWKt7s5qO3M0ihDPr53hjFbSXPsJW6nXZ+2Yw=@freebsd.org X-Gm-Message-State: AOJu0Yxa3qzeehY+DuBX159/FG5Gqp2/Vno2Fcs/eq3pz1SZmtu1WkV0 OPsC57Mq+p7bHtMj7X7wAxzh45CfyJDBH5jDzp5zK6liYPwVDw0UURiSbsJTbswPtBs0dOtgdM/ ybcgQpN6NVlzGgiZgPo/NObqfKkhZOBnAUdwFwg== X-Gm-Gg: ASbGncs9T97oR800AA8MQvx4VPymDGme3KJld4vJdAyTFmWcQomn5Y5f+xz02MbgXML Lj80FWdW7pjP9Yb6gFYFqqjq/EpBKyt3JCQmX0rac2Q0+iX5DlTZdLZfmYnpTDDlFXXUkqTk= X-Google-Smtp-Source: AGHT+IHhibKICDrlz/S2+HJ8YR+1cNTJL1fKpAj/BdJoHlzCdtx6bqyLytgiWP/GzgzYcND5aNRTIVLOD8fHR20Uh38= X-Received: by 2002:a17:90b:534b:b0:2ee:d193:f3d5 with SMTP id 98e67ed59e1d1-2f548e9f9f7mr47218184a91.7.1736993400796; Wed, 15 Jan 2025 18:10:00 -0800 (PST) List-Id: Technical discussions relating to FreeBSD <freebsd-hackers.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: <mailto:freebsd-hackers+help@freebsd.org> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Subscribe: <mailto:freebsd-hackers+subscribe@freebsd.org> List-Unsubscribe: <mailto:freebsd-hackers+unsubscribe@freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 References: <CAHcVPQ4HWqUkrnWXMrvvvcZsq0wA5TD=D90CN-F_Bf3yQFND6A@mail.gmail.com> <CA+1FSigmv21w86tn8bcTzbj4ySawm4_90B72yJormOspyG2Baw@mail.gmail.com> In-Reply-To: <CA+1FSigmv21w86tn8bcTzbj4ySawm4_90B72yJormOspyG2Baw@mail.gmail.com> From: Warner Losh <imp@bsdimp.com> Date: Wed, 15 Jan 2025 19:09:49 -0700 X-Gm-Features: AbW1kvZEGjLchb3NbWKUkQmJBXi36SCY24U-JTt4qtBT1ixRfQ1lZsY1LLjMF-8 Message-ID: <CANCZdfpNaNH3iMx3SSYQOmZkvQt_J0q4OBZFdrzoXRJG2oTktQ@mail.gmail.com> Subject: Re: GSoC 2025 Project Proposal To: Mario Marietto <marietto2008@gmail.com> Cc: Abhinav Chavali <abhinavchavali12@gmail.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org> Content-Type: multipart/alternative; boundary="000000000000a1d35b062bc94abf" X-Rspamd-Queue-Id: 4YYRCG0yXpz47Y7 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] --000000000000a1d35b062bc94abf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Most of that work would be to adopt qemu to use vmm, and then fix the structural issue in vmm that makes using it from qemu awkward. Warner On Wed, Jan 15, 2025, 7:06=E2=80=AFPM Mario Marietto <marietto2008@gmail.co= m> wrote: > You could try to patch or rewrite bhyve so that it can accelerate qemu. W= e > need this. > > On Wed, Jan 15, 2025 at 10:06=E2=80=AFPM Abhinav Chavali < > abhinavchavali12@gmail.com> wrote: > >> Hello, >> I am a student at the Pennsylvania State University looking to contribut= e >> to FreeBSD in the summer, in some form or another. I've been a desktop u= ser >> of FreeBSD for several years now, and would now like to learn a specific >> subsystem and undergo a potential project for this summer. >> >> My experience with FreeBSD development is limited to writing simple >> kernel modules, although I have a strong understanding of C and Unix >> programming (and am willing to spend as much time as required before sum= mer >> to fill in the gaps in my knowledge). I have already taken a look at the >> GSoC projects page, but I'm not sure how many of these are still relevan= t. >> Could anyone suggest a project that someone with my experience level cou= ld >> reasonably learn and complete? Also contacts to potential mentors would = be >> very helpful. >> >> Thank you, >> Abhinav Chavali >> > > > -- > Mario. > --000000000000a1d35b062bc94abf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">Most of that work would be to adopt qemu to use vmm, and = then fix the structural issue in vmm that makes using it from qemu awkward.= <div dir=3D"auto"><br></div><div dir=3D"auto">Warner=C2=A0</div></div><br><= div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"g= mail_attr">On Wed, Jan 15, 2025, 7:06=E2=80=AFPM Mario Marietto <<a href= =3D"mailto:marietto2008@gmail.com">marietto2008@gmail.com</a>> wrote:<br= ></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-= left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">You could try to pat= ch or rewrite bhyve so that it can accelerate qemu. We need this.<br></div>= <br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed= , Jan 15, 2025 at 10:06=E2=80=AFPM Abhinav Chavali <<a href=3D"mailto:ab= hinavchavali12@gmail.com" target=3D"_blank" rel=3D"noreferrer">abhinavchava= li12@gmail.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" st= yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd= ing-left:1ex"><div dir=3D"ltr">Hello,<div>I am a student at the Pennsylvani= a State University looking to contribute to FreeBSD in the summer, in some = form or another. I've been a desktop user of FreeBSD for several years = now, and would now like to learn a specific subsystem and undergo a potenti= al project for this summer.</div><div><br></div><div>My experience with Fre= eBSD development is limited to writing simple kernel modules, although I ha= ve a strong understanding of C and Unix programming (and am willing to spen= d as much time as required before summer to fill in the gaps in my knowledg= e). I have already taken a look at the GSoC projects page, but I'm not = sure how many of these are still relevant. Could anyone suggest a project t= hat someone with my experience level could reasonably learn and complete? A= lso contacts to potential mentors would be very helpful.</div><div><br></di= v><div>Thank you,</div><div>Abhinav Chavali</div></div> </blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si= gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Ma= rio.<br></div> </blockquote></div> --000000000000a1d35b062bc94abf-- From nobody Thu Jan 16 12:58:04 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YYjbG6gy4z5kQPR for <freebsd-hackers@mlmmj.nyi.freebsd.org>; Thu, 16 Jan 2025 12:58:18 +0000 (UTC) (envelope-from abhinavchavali12@gmail.com) Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YYjbG4fs0z42rD for <freebsd-hackers@freebsd.org>; Thu, 16 Jan 2025 12:58:18 +0000 (UTC) (envelope-from abhinavchavali12@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-5401ab97206so912116e87.3 for <freebsd-hackers@freebsd.org>; Thu, 16 Jan 2025 04:58:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737032296; x=1737637096; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=NMdH6TBVL4EMgommeJbA0ssjlSh308wBBhXgwkHBgMI=; b=G0pooa2FBMyT/GlE7F8wu5yJCwKSKfE0IFGL1oYxDlvc8pIxpWnzF6WXWObxD6L3Zj b2Fz5uY2PoZsqbUHOFxG5ALhi7sfwUZrFh/ubnNzyk3S7a8AOkMPcO+JnvF5Ume08+8I xohwWufGFilwX6WCvYzjiq+11Q9jwfIokJrXvEs8t5YVXVGylIVHqBEC6hBOmrX9Gna3 0uPBk6ndkQzNssGdk7U1n//aqGRN1XMmS9Ni9L0meLZulLKMBKtnftLsXxxgxZcSvKpD XnRARMSQqr05abiDLILK8m6tnRXNUcWJP0GWxS9jlySyS/bB9pGLG4hPSxJr/U05NjeS SVdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737032296; x=1737637096; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NMdH6TBVL4EMgommeJbA0ssjlSh308wBBhXgwkHBgMI=; b=oA/WaHgdH3pUoNQhNueuGSeIA8Thi8p13rOlpauWjdyNLaBm4xvDHllBcnglHjEpr5 ZZOqpfdGHLvROVnsHxxAEt875WBXRrrgAtHiVc15h3iY8cERxb5UjTzSRdcVj5XGZ/8N GlxR784KJsFnJ2/XXdWjbqYwB0p0N9kZnB3zkQCdBjQUbL5yWVxIZATxILc1dKp1v8up 0BRMvLd49oT5bQIWmhiFYi4QF/OKEK8irE/7+8GF9tqdh7TqdybDY8bbGGNBEVzmFJ5C 2VIaSAPKridkFYOi560x4j9cR7Xue3vaANMautlXc8onmEd4VFjV+PYxqT95u9O/YSrO t0mQ== X-Forwarded-Encrypted: i=1; AJvYcCXCuPlJlzqd/xgc71kqmd13ZQy7EI15d0Cvp5rTl80oBdkOJvteIyp198XVt9Yy0ZmubEwIdTqrcVivb+0NPys=@freebsd.org X-Gm-Message-State: AOJu0YzKOnauQ4vE0xhkqa5nUnfHZzHvEiUjt6jCga2NzPHAVMlFiHwL VTnrJLLyrjwcuqWK8mFQ81uSUNvA3kma0iyI8YmDWshuic84yYgFiyxHENnZ2ZSpr6nRVVHkaM7 FWgbEQyOrP5e07AUcBWyikdMhc0g= X-Gm-Gg: ASbGnctj5O9g1ve0GYO7QM/DYJ8+HBwer3CToFxU05G7qBoSRsfoqdy555HdgjC54g/ //uxjepfKgVz+nyoNXkaTEoGesPveLjAkDF96Uw== X-Google-Smtp-Source: AGHT+IEvwkkIItNez2Ct3Upv3TkNkki3V1jEAfG+hrfxwNZEsKQCGPVWmZxPzByfa74gxELxPj4XRniZrfdwWXvnZ+Y= X-Received: by 2002:a05:6512:b87:b0:53e:335b:4348 with SMTP id 2adb3069b0e04-542845b0c36mr8905029e87.40.1737032296047; Thu, 16 Jan 2025 04:58:16 -0800 (PST) List-Id: Technical discussions relating to FreeBSD <freebsd-hackers.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: <mailto:freebsd-hackers+help@freebsd.org> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Subscribe: <mailto:freebsd-hackers+subscribe@freebsd.org> List-Unsubscribe: <mailto:freebsd-hackers+unsubscribe@freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 References: <CAHcVPQ4HWqUkrnWXMrvvvcZsq0wA5TD=D90CN-F_Bf3yQFND6A@mail.gmail.com> <CA+1FSigmv21w86tn8bcTzbj4ySawm4_90B72yJormOspyG2Baw@mail.gmail.com> <CANCZdfpNaNH3iMx3SSYQOmZkvQt_J0q4OBZFdrzoXRJG2oTktQ@mail.gmail.com> In-Reply-To: <CANCZdfpNaNH3iMx3SSYQOmZkvQt_J0q4OBZFdrzoXRJG2oTktQ@mail.gmail.com> From: Abhinav Chavali <abhinavchavali12@gmail.com> Date: Thu, 16 Jan 2025 07:58:04 -0500 X-Gm-Features: AbW1kvYCYaIGTTuO-b2-oBgRs6TvjsvvHUi2VfDWhUy84wzftXfnJ_bRayawlMA Message-ID: <CAHcVPQ5x-jks+G3w2vU6Fmg_0XKMQhvOYFvuw8JiJE+FtvWpzA@mail.gmail.com> Subject: Re: GSoC 2025 Project Proposal To: imp@bsdimp.com Cc: Mario Marietto <marietto2008@gmail.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org> Content-Type: multipart/alternative; boundary="000000000000f82cbf062bd25889" X-Rspamd-Queue-Id: 4YYjbG4fs0z42rD X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] --000000000000f82cbf062bd25889 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable In that case, do you think a project like that would be worth undertaking over the summer? I'm actually quite interested in this issue if its feasible. On Wed, Jan 15, 2025 at 9:10=E2=80=AFPM Warner Losh <imp@bsdimp.com> wrote: > Most of that work would be to adopt qemu to use vmm, and then fix the > structural issue in vmm that makes using it from qemu awkward. > > Warner > > On Wed, Jan 15, 2025, 7:06=E2=80=AFPM Mario Marietto <marietto2008@gmail.= com> > wrote: > >> You could try to patch or rewrite bhyve so that it can accelerate qemu. >> We need this. >> >> On Wed, Jan 15, 2025 at 10:06=E2=80=AFPM Abhinav Chavali < >> abhinavchavali12@gmail.com> wrote: >> >>> Hello, >>> I am a student at the Pennsylvania State University looking to >>> contribute to FreeBSD in the summer, in some form or another. I've been= a >>> desktop user of FreeBSD for several years now, and would now like to le= arn >>> a specific subsystem and undergo a potential project for this summer. >>> >>> My experience with FreeBSD development is limited to writing simple >>> kernel modules, although I have a strong understanding of C and Unix >>> programming (and am willing to spend as much time as required before su= mmer >>> to fill in the gaps in my knowledge). I have already taken a look at th= e >>> GSoC projects page, but I'm not sure how many of these are still releva= nt. >>> Could anyone suggest a project that someone with my experience level co= uld >>> reasonably learn and complete? Also contacts to potential mentors would= be >>> very helpful. >>> >>> Thank you, >>> Abhinav Chavali >>> >> >> >> -- >> Mario. >> > --000000000000f82cbf062bd25889 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">In that case, do you think a project like that would be wo= rth undertaking over the summer? I'm actually quite interested in this = issue if its feasible.</div><br><div class=3D"gmail_quote gmail_quote_conta= iner"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Jan 15, 2025 at 9:10=E2= =80=AFPM Warner Losh <<a href=3D"mailto:imp@bsdimp.com">imp@bsdimp.com</= a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0p= x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><d= iv dir=3D"auto">Most of that work would be to adopt qemu to use vmm, and th= en fix the structural issue in vmm that makes using it from qemu awkward.<d= iv dir=3D"auto"><br></div><div dir=3D"auto">Warner=C2=A0</div></div><br><di= v class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Jan 1= 5, 2025, 7:06=E2=80=AFPM Mario Marietto <<a href=3D"mailto:marietto2008@= gmail.com" target=3D"_blank">marietto2008@gmail.com</a>> wrote:<br></div= ><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border= -left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">You cou= ld try to patch or rewrite bhyve so that it can accelerate qemu. We need th= is.<br></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail= _attr">On Wed, Jan 15, 2025 at 10:06=E2=80=AFPM Abhinav Chavali <<a href= =3D"mailto:abhinavchavali12@gmail.com" rel=3D"noreferrer" target=3D"_blank"= >abhinavchavali12@gmail.com</a>> wrote:<br></div><blockquote class=3D"gm= ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,= 204,204);padding-left:1ex"><div dir=3D"ltr">Hello,<div>I am a student at th= e Pennsylvania State University looking to contribute to FreeBSD in the sum= mer, in some form or another. I've been a desktop user of FreeBSD for s= everal years now, and would now like to learn a specific subsystem and unde= rgo a potential project for this summer.</div><div><br></div><div>My experi= ence with FreeBSD development is limited to writing simple kernel modules, = although I have a strong understanding of C and Unix programming (and am wi= lling to spend as much time as required before summer to fill in the gaps i= n my knowledge). I have already taken a look at the GSoC projects page, but= I'm not sure how many of these are still relevant. Could anyone sugges= t a project that someone with my experience level could reasonably learn an= d complete? Also contacts to potential mentors would be very helpful.</div>= <div><br></div><div>Thank you,</div><div>Abhinav Chavali</div></div> </blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si= gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Ma= rio.<br></div> </blockquote></div> </blockquote></div> --000000000000f82cbf062bd25889-- From nobody Thu Jan 16 20:00:56 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YYtzg595Zz5krk8; Thu, 16 Jan 2025 20:01:35 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YYtzf5wfFz3q4G; Thu, 16 Jan 2025 20:01:34 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=MtqJ7gQI; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::1035 as permitted sender) smtp.mailfrom=marietto2008@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pj1-x1035.google.com with SMTP id 98e67ed59e1d1-2f42992f608so2040672a91.0; Thu, 16 Jan 2025 12:01:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737057693; x=1737662493; darn=freebsd.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=Wyi7/tWAzH5C9HZn4EyT+D2v495J+bvNahvlLP8UdGs=; b=MtqJ7gQIhiDe6AZ8gWNXYtVvxtBUk0BefMi/B1emxlxq/81Hw6I87EvZ7raTxBdg+1 ds44bxmTq7NMVklRMWiBDU3tWz9ZWtDRWpJdsLdLaFgRXqUyJzV68aw5FLvzAi7NkFd3 zgHpHE+Zbg/+zV3jUsonp11PYiNJnkYXbHdf7NyPiiZ7UnrU3UJJ5K2Pnh5+n39Cxa9Y UiRQAJOprR+y3oElSl1VVlPHz+xPjEiRisYopcrQjmgv4oHEqWXU1lX4w6ia4weG7OXj a8SBxVdGAQir+EL+SIv3iD3pVbrqtSXAyuNZ/kiRAk0vAtCsuggMpGwZmfM7HUbE/ydL xOgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737057693; x=1737662493; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Wyi7/tWAzH5C9HZn4EyT+D2v495J+bvNahvlLP8UdGs=; b=UcS9X7LG1oMpL7/EHYi2dlqmXuLKQuO+DhQ24jua2xphYjke6l0W8s7qylIX843xSS bf+zdOJZQOLC+aK41RBmt3tIRtNhECb08xeqrrTnWVVMIiUkGZZTsHrJHaaJJ92nFnsf CH1g5hICOA9nnQ4N9sIX/ZwBNOjQMcxZ417Zguu3C5qC5z5C/lCuA23g9LJbobrpL23S Rb98dl47RksPRSczSIs57mdP5rTkmy5CN+/r0qc/uV0bmdNKjGjNTu93CPQKPyPB2SPx zN26emwDHFARFFWLLixT8j/0RitS41enl6co2Csf7Oykv32/0a+MfXoAlwzYxR9qGgHb NLhg== X-Forwarded-Encrypted: i=1; AJvYcCVdV5yaVGiEj8EC68KKOw70a6pAXkhgf+vsogjw1HbTFSPGRQRNtRGj8eGdC26piGOFUoYFDZV5iO61Cu2XXuk=@freebsd.org, AJvYcCWNupeqQSjUL0mBp+aNIGL7kjyDGyAyG2EraY6Fg1UvUeKmzRxw90gxjnqb3Mp/psfqyAnOSgrz0rfsV3jminHk/NU=@freebsd.org X-Gm-Message-State: AOJu0YxLUwVZLxbeHph77lTEycNVSRGhpaU3gizLMnFGoLBj58Tl/NgW vS1NZaJH1d/JdqTKZjM08TZHuls1eTztQ3g0JMDMbn1jH6Zd+NZVo7dKpkKzk+DWLaFwG4Jxeq3 izv30f2LTkxlpyaDYDptkTg6NVsUOBgY8 X-Gm-Gg: ASbGncsyi3RsI4wPM0tvIYky9cE+vECU/X/feBTQE05M1vvG23qrI4NqHB8tGnE9pBx MbrSeKDa/LFS7jqyM/QQDqbtKXjBEF5+RYjA9T2M= X-Google-Smtp-Source: AGHT+IEwoQpcchRLrHHNbKPF8eGQHmEUWHPmWy0mwyAPvjIC3jm1qX6FtIE5GSmg4faOhLAWcUG+gDGaRDNU9oRzIhg= X-Received: by 2002:a17:90b:538b:b0:2ee:f19b:86e5 with SMTP id 98e67ed59e1d1-2f548eae0eamr53199907a91.14.1737057692636; Thu, 16 Jan 2025 12:01:32 -0800 (PST) List-Id: Technical discussions relating to FreeBSD <freebsd-hackers.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: <mailto:freebsd-hackers+help@freebsd.org> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Subscribe: <mailto:freebsd-hackers+subscribe@freebsd.org> List-Unsubscribe: <mailto:freebsd-hackers+unsubscribe@freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 References: <CA+1FSijqgLwaFP3cMoNbw_=3C=goH9oMis-AHBE8ANkfXJME5A@mail.gmail.com> In-Reply-To: <CA+1FSijqgLwaFP3cMoNbw_=3C=goH9oMis-AHBE8ANkfXJME5A@mail.gmail.com> From: Mario Marietto <marietto2008@gmail.com> Date: Thu, 16 Jan 2025 21:00:56 +0100 X-Gm-Features: AbW1kvbbKqrEpqIqaBpR84mxHUnUJCzZ2zmL9FkUmuQBvGn1XJfZ8tOX-4w1wC4 Message-ID: <CA+1FSiit_ULSsW1Hb88m+m-STf0tH0TtK+NXmX7bXugUXm9dHg@mail.gmail.com> Subject: Fwd: Repeated and continuous crashes of Firefox To: ports <ports@freebsd.org>, FreeBSD Mailing List <freebsd-questions@freebsd.org>, freebsd-hackers <freebsd-hackers@freebsd.org> Content-Type: multipart/alternative; boundary="000000000000b95ec9062bd8429e" X-Spamd-Result: default: False [-3.00 / 15.00]; URI_COUNT_ODD(1.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1035:from]; MID_RHS_MATCH_FROMTLD(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MLMMJ_DEST(0.00)[ports@freebsd.org,freebsd-questions@freebsd.org,freebsd-hackers@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Spamd-Bar: -- X-Rspamd-Queue-Id: 4YYtzf5wfFz3q4G --000000000000b95ec9062bd8429e Content-Type: text/plain; charset="UTF-8" Hello. Suddenly, while using Firefox, my system (FreeBSD 14.2, but 14.1 did the same) while I'm surfing in some websites (they are always different) closes and the system hangs for a few seconds and then reboots. Top reveals that for some time Firefox eats more than 100% of the cpu's power. Crashes generate a lot of core files. I've added some of them in this email. I hope you can inspect inside them to understand why and to suggest a solution because I'm really tired of these crashes. caja.core <https://drive.google.com/file/d/1p5Ut97VmrE_VJeBZHD5nuc27kEyhTFM1/view?usp=drive_web> chrome.core <https://drive.google.com/file/d/1pXcNUV5ck3eU-FfJ74-rQ8jJkcOzZCIh/view?usp=drive_web> firefox.core <https://drive.google.com/file/d/1jZFLo5y-6rHyG-Vz8SquOnJkq4Sz5CV7/view?usp=drive_web> Thanks. -- Mario. --000000000000b95ec9062bd8429e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_quote gmail_quote_container"><div dir= =3D"ltr"><div><span lang=3D"en"><span><span>Hello.</span></span></span></di= v><div><span lang=3D"en"><span><span><br></span></span></span></div><div><s= pan lang=3D"en"><span><span>Suddenly, while using Firefox, my system (FreeB= SD 14.2, but 14.1 did the same) while I'm surfing in some websites (the= y are always different) closes and the system hangs for a few seconds and t= hen reboots.</span></span> <span><span>Top reveals that for some time Firef= ox eats more than 100% of the cpu's power. Crashes generate</span></spa= n></span> a lot of core files. I've added some of them in this email. I= hope you can inspect inside them to understand why and to suggest a soluti= on because I'm really tired of these crashes.</div><div><br></div><div>= <div class=3D"gmail_chip gmail_drive_chip" style=3D"width:386px;height:20px= ;max-height:20px;background-color:rgb(245,245,245);margin:6px 0px;padding:1= 0px;color:rgb(34,34,34);font:14px/20px "Google Sans",sans-serif;b= order:1px solid rgb(221,221,221)"><a href=3D"https://drive.google.com/file/= d/1p5Ut97VmrE_VJeBZHD5nuc27kEyhTFM1/view?usp=3Ddrive_web" style=3D"color:#2= 02124;display:inline-block;max-width:356px;overflow:hidden;text-overflow:el= lipsis;white-space:nowrap;text-decoration:none;border:none" aria-label=3D"c= aja.core" target=3D"_blank"><img style=3D"vertical-align:text-bottom;border= :none;padding-right:10px;height:20px" alt=3D"" src=3D"https://ssl.gstatic.c= om/docs/doclist/images/icon_10_generic_list.png">=C2=A0<span dir=3D"ltr" st= yle=3D"vertical-align:bottom;text-decoration:none">caja.core</span></a><img= aria-label=3D"Remove attachment" style=3D"padding-left:10px;width:20px;hei= ght:20px;float:right;display:none"></div><div class=3D"gmail_chip gmail_dri= ve_chip" style=3D"width:386px;height:20px;max-height:20px;background-color:= rgb(245,245,245);margin:6px 0px;padding:10px;color:rgb(34,34,34);font:14px/= 20px "Google Sans",sans-serif;border:1px solid rgb(221,221,221)">= <a href=3D"https://drive.google.com/file/d/1pXcNUV5ck3eU-FfJ74-rQ8jJkcOzZCI= h/view?usp=3Ddrive_web" style=3D"color:#202124;display:inline-block;max-wid= th:356px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-dec= oration:none;border:none" aria-label=3D"chrome.core" target=3D"_blank"><img= style=3D"vertical-align:text-bottom;border:none;padding-right:10px;height:= 20px" alt=3D"" src=3D"https://ssl.gstatic.com/docs/doclist/images/icon_10_g= eneric_list.png">=C2=A0<span dir=3D"ltr" style=3D"vertical-align:bottom;tex= t-decoration:none">chrome.core</span></a><img aria-label=3D"Remove attachme= nt" style=3D"padding-left:10px;width:20px;height:20px;float:right;display:n= one"></div><div class=3D"gmail_chip gmail_drive_chip" style=3D"width:386px;= height:20px;max-height:20px;background-color:rgb(245,245,245);margin:6px 0p= x;padding:10px;color:rgb(34,34,34);font:14px/20px "Google Sans",s= ans-serif;border:1px solid rgb(221,221,221)"><a href=3D"https://drive.googl= e.com/file/d/1jZFLo5y-6rHyG-Vz8SquOnJkq4Sz5CV7/view?usp=3Ddrive_web" style= =3D"color:#202124;display:inline-block;max-width:356px;overflow:hidden;text= -overflow:ellipsis;white-space:nowrap;text-decoration:none;border:none" ari= a-label=3D"firefox.core" target=3D"_blank"><img style=3D"vertical-align:tex= t-bottom;border:none;padding-right:10px;height:20px" alt=3D"" src=3D"https:= //ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png">=C2=A0<span= dir=3D"ltr" style=3D"vertical-align:bottom;text-decoration:none">firefox.c= ore</span></a><img aria-label=3D"Remove attachment" style=3D"padding-left:1= 0px;width:20px;height:20px;float:right;display:none"></div></div><div><br><= /div><div>Thanks.</div></div></div><br><span class=3D"gmail_signature_prefi= x">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail= =3D"gmail_signature">Mario.<br></div></div> --000000000000b95ec9062bd8429e-- From nobody Thu Jan 16 21:09:52 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YYwVj4nXmz5kwSJ for <freebsd-hackers@mlmmj.nyi.freebsd.org>; Thu, 16 Jan 2025 21:10:05 +0000 (UTC) (envelope-from theraven@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YYwVj44r0z41tl; Thu, 16 Jan 2025 21:10:05 +0000 (UTC) (envelope-from theraven@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737061805; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Bh5FsmL3sy/kfjVgtojoAB+w7mtVkW7lSGikVxGPP8Q=; b=EyeopLupwArXiWSU/G/o/ByRtKYyy5eRlw9TXnS7znHqvPsFHAYgymxFNXG4D+HPlU5VkD Q+HIfuvcpwI8tHzzJeR2CDL74BjQe2qDftCPp0OICtn5wFbkMtriv4I/YImfs8H1jDS0b3 jXA0Lw/oNmENmLm292F7S0GlWP2GMWhToIMo25Hh8vdhVqPZgMxwFe9NKOl43TSD4ZwCps d9HrdruuUl1cGhTclP0tYsyM7dlYzKV+gCi6oZMHVl246OJ+vpr5hPDtq7CHTJFJLojMHt XvYdrU9/CzQzn089VcVSEFDsg17+Z2VT3xUqydxJgTT9Zi2MY28u0BaN8n9TfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737061805; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Bh5FsmL3sy/kfjVgtojoAB+w7mtVkW7lSGikVxGPP8Q=; b=C1Ot43Iy6i7URg5uIQ0JoekoNBFv2eVR86l9hrJm5J9yyhtXDRwjl5lt4FI126THCw0+Gi KLEMC23794ZRrOcEBorkZmgzIhr0dAoKzbLDGTfXHv+Om5NqpUK5jkLxDzCjb2RpTicHYT DzCMnqzM0jlKqtKCKLm/DtylLeyxBTJSdifR50OkgwnPON/tngpHTkS+p2fF+DhKkSkIjK TbHDcc3xsz3d39OZT7DpRCDQYUVPsjTp8lR3Zdf3mNKddiar7tKHAcsSNB0P4jRQ1kvo/o Zt0PGgZ3yauFXDNc7NdSAgk1xA0b2vprLnOONv7zFK365N9EeOo1IvZWFPv4sQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737061805; a=rsa-sha256; cv=none; b=XiAoGDCaX/1QxolnuLVPtGX7D5Uia7Nz2gacmQGVo6V7xWM2ijLd5kjGOhlFDFkZvj56iA zruN7g17fDVfTj3E/wedtRP8/ub+n8YaiLwNiSmOGQiSG3qPouNL+02ZfbNHSrtFqvJ0k/ EMSRK1xllDwNlkZEYqKP7G/YCgZ8Np91AmW8cGRIHHNRfK8XKve8Drg1tH4F2NNWiMN+17 S2Q3/aHFOX1mY8/P9VCTa7rqVW2ypnVkLQ+GRgvVDeN1Lx+dPCIuTC/JYmeC6PqF8P5Blp Uqyb8ZtLtcs/+gQHDXJLN1wXaLPcvtJVKYLrEORQY8h8jWuqipfC+mxLsnMvBQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from smtp.theravensnest.org (smtp.theravensnest.org [45.77.103.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: theraven) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YYwVj37ZCzyQ8; Thu, 16 Jan 2025 21:10:05 +0000 (UTC) (envelope-from theraven@freebsd.org) Received: from smtpclient.apple (host86-142-176-175.range86-142.btcentralplus.com [86.142.176.175]) by smtp.theravensnest.org (Postfix) with ESMTPSA id E221BD9E7; Thu, 16 Jan 2025 21:10:03 +0000 (GMT) Content-Type: multipart/alternative; boundary=Apple-Mail-1210C081-5FE6-4776-AB25-2BC12D123ED3 Content-Transfer-Encoding: 7bit From: David Chisnall <theraven@freebsd.org> List-Id: Technical discussions relating to FreeBSD <freebsd-hackers.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: <mailto:freebsd-hackers+help@freebsd.org> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Subscribe: <mailto:freebsd-hackers+subscribe@freebsd.org> List-Unsubscribe: <mailto:freebsd-hackers+unsubscribe@freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.org Mime-Version: 1.0 (1.0) Subject: Re: GSoC 2025 Project Proposal Date: Thu, 16 Jan 2025 21:09:52 +0000 Message-Id: <C89D961F-C8CE-44F0-B770-BEA08409C436@freebsd.org> References: <CANCZdfpNaNH3iMx3SSYQOmZkvQt_J0q4OBZFdrzoXRJG2oTktQ@mail.gmail.com> Cc: Mario Marietto <marietto2008@gmail.com>, Abhinav Chavali <abhinavchavali12@gmail.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org> In-Reply-To: <CANCZdfpNaNH3iMx3SSYQOmZkvQt_J0q4OBZFdrzoXRJG2oTktQ@mail.gmail.com> To: Warner Losh <imp@bsdimp.com> X-Mailer: iPad Mail (22B91) --Apple-Mail-1210C081-5FE6-4776-AB25-2BC12D123ED3 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D= utf-8"></head><body dir=3D"auto"><div dir=3D"ltr"></div><div dir=3D"ltr">Pro= perly documenting the bhyve syscall / ioctl interfaces would be a good start= . KVM has been used by a bunch of things (Firecracker, unikernels, and so on= ) because there=E2=80=99s a documented layer for the mechanism can plug othe= r policies. There are also reimplementations of the KVM APIs that forward to= other hypervisors (so, for example, a KVM-compatible VMM can create Hyper-V= VMs when Linux is running as a guest on Windows/Hyper-V).</div><div dir=3D"= ltr"><br></div><div dir=3D"ltr">GSoC projects can=E2=80=99t be pure document= ation, but I=E2=80=99d love to see any bhyve-related project have a =E2=80=98= document this stuff=E2=80=99 component. And, now that Colin has made FreeBSD= boot so fast on Firecracker, a port of Firecracker to bhyve would be nice.<= /div><div dir=3D"ltr"><br></div><div dir=3D"ltr">Given the set of things tha= t might be nice to port, I wonder if a KVM compatibility layer would be an i= nteresting project? Then things like QEMU and Firecracker should be easy to p= ort. </div><div dir=3D"ltr"><br></div><div dir=3D"ltr">David</div><div d= ir=3D"ltr"><br><div dir=3D"ltr"></div><blockquote type=3D"cite">On 16 Jan 20= 25, at 02:10, Warner Losh <imp@bsdimp.com> wrote:<br><br></blockquote>= </div><blockquote type=3D"cite"><div dir=3D"ltr">=EF=BB=BF<div dir=3D"auto">= Most of that work would be to adopt qemu to use vmm, and then fix the struct= ural issue in vmm that makes using it from qemu awkward.<div dir=3D"auto"><b= r></div><div dir=3D"auto">Warner </div></div><br><div class=3D"gmail_qu= ote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Jan= 15, 2025, 7:06=E2=80=AFPM Mario Marietto <<a href=3D"mailto:marietto2008= @gmail.com">marietto2008@gmail.com</a>> wrote:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;paddi= ng-left:1ex"><div dir=3D"ltr">You could try to patch or rewrite bhyve so tha= t it can accelerate qemu. We need this.<br></div><br><div class=3D"gmail_quo= te"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Jan 15, 2025 at 10:06=E2=80= =AFPM Abhinav Chavali <<a href=3D"mailto:abhinavchavali12@gmail.com" targ= et=3D"_blank" rel=3D"noreferrer">abhinavchavali12@gmail.com</a>> wrote:<b= r></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;= border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">He= llo,<div>I am a student at the Pennsylvania State University looking to cont= ribute to FreeBSD in the summer, in some form or another. I've been a deskto= p user of FreeBSD for several years now, and would now like to learn a speci= fic subsystem and undergo a potential project for this summer.</div><div><br= ></div><div>My experience with FreeBSD development is limited to writing sim= ple kernel modules, although I have a strong understanding of C and Unix pro= gramming (and am willing to spend as much time as required before summer to f= ill in the gaps in my knowledge). I have already taken a look at the GSoC pr= ojects page, but I'm not sure how many of these are still relevant. Could an= yone suggest a project that someone with my experience level could reasonabl= y learn and complete? Also contacts to potential mentors would be very helpf= ul.</div><div><br></div><div>Thank you,</div><div>Abhinav Chavali</div></div= > </blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_sig= nature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Mari= o.<br></div> </blockquote></div> </div></blockquote></body></html>= --Apple-Mail-1210C081-5FE6-4776-AB25-2BC12D123ED3-- From nobody Thu Jan 16 22:45:04 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YYycX6XQjz5l1fj; Thu, 16 Jan 2025 22:45:16 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4YYycX1gT9z3By3; Thu, 16 Jan 2025 22:45:16 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; none Received: from kalamity.joker.local (124-18-43-234.area1a.commufa.jp [124.18.43.234]) (authenticated bits=0) by www121.sakura.ne.jp (8.17.1/8.17.1/[SAKURA-WEB]/20201212) with ESMTPA id 50GMj4Ji022098; Fri, 17 Jan 2025 07:45:06 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dec.sakura.ne.jp; s=s2405; t=1737067506; bh=PMi1tu+0k+il7fvO3IbiYYY/TtJTQzXPpvgDr90EzK0=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=Yg7mxO8SD332atS046ju85MH4Qbgql24SO/tBoGNtuaq0dWLWpiAYsDZPUesLZe7Q hU2vX7cBnLpEh0AwtqeVNJKFnWSiUQVrUvq9cqsl7szYIwtv6WlvrOx8Kel5j0uybF TPq3QrmwdWNnPwzsd9WqZqcm+dlWM7c76dgvJNBo= Date: Fri, 17 Jan 2025 07:45:04 +0900 From: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> To: Mario Marietto <marietto2008@gmail.com> Cc: ports <ports@freebsd.org>, FreeBSD Mailing List <freebsd-questions@freebsd.org>, freebsd-hackers <freebsd-hackers@freebsd.org> Subject: Re: Fwd: Repeated and continuous crashes of Firefox Message-Id: <20250117074504.1fe41a0b160197a13a8a9fa5@dec.sakura.ne.jp> In-Reply-To: <CA+1FSiit_ULSsW1Hb88m+m-STf0tH0TtK+NXmX7bXugUXm9dHg@mail.gmail.com> References: <CA+1FSijqgLwaFP3cMoNbw_=3C=goH9oMis-AHBE8ANkfXJME5A@mail.gmail.com> <CA+1FSiit_ULSsW1Hb88m+m-STf0tH0TtK+NXmX7bXugUXm9dHg@mail.gmail.com> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.2) List-Id: Technical discussions relating to FreeBSD <freebsd-hackers.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: <mailto:freebsd-hackers+help@freebsd.org> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Subscribe: <mailto:freebsd-hackers+subscribe@freebsd.org> List-Unsubscribe: <mailto:freebsd-hackers+unsubscribe@freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4YYycX1gT9z3By3 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP] On Thu, 16 Jan 2025 21:00:56 +0100 Mario Marietto <marietto2008@gmail.com> wrote: > Hello. > > Suddenly, while using Firefox, my system (FreeBSD 14.2, but 14.1 did the > same) while I'm surfing in some websites (they are always different) closes > and the system hangs for a few seconds and then reboots. Top reveals that > for some time Firefox eats more than 100% of the cpu's power. Crashes > generate a lot of core files. I've added some of them in this email. I hope > you can inspect inside them to understand why and to suggest a solution > because I'm really tired of these crashes. > > caja.core > <https://drive.google.com/file/d/1p5Ut97VmrE_VJeBZHD5nuc27kEyhTFM1/view?usp=drive_web> > chrome.core > <https://drive.google.com/file/d/1pXcNUV5ck3eU-FfJ74-rQ8jJkcOzZCIh/view?usp=drive_web> > firefox.core > <https://drive.google.com/file/d/1jZFLo5y-6rHyG-Vz8SquOnJkq4Sz5CV7/view?usp=drive_web> > > Thanks. > > -- > Mario. I've not experiencing the same issue. Instead, maybe Firefox is causing compiz 0.8.18 (not in-tree, obtained from [1]) to crash, on several versions of Firefox. Once happened, the computer becomes unresponsive until core dump for compiz finishes, but does not hard reboot like you until now. Currently, the crash happenes almost only when I switched tabs or just mouse pointer is on any of tabs. But not always (usually 1 to 3 times/day). Why I described "maybe" is because still I'm not 100% sure, as Firefox is my primary browser and always running, so never tested heavy apps like Chromium and Libreoffice alone could cause crashes, too or not. I need to take time for the tests before filing PR for clarifying, so not yet. [1] https://github.com/kdeguchi/compiz-reloaded-ports -- Tomoaki AOKI <junchoon@dec.sakura.ne.jp> From nobody Fri Jan 17 04:53:46 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YZ6nt1xGgz5kR4B for <freebsd-hackers@mlmmj.nyi.freebsd.org>; Fri, 17 Jan 2025 04:53:54 +0000 (UTC) (envelope-from j_yoon.choi@samsung.com) Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout3.samsung.com", Issuer "DigiCert Global G2 TLS RSA SHA256 2020 CA1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YZ6nr4fhvz3nfB for <freebsd-hackers@FreeBSD.org>; Fri, 17 Jan 2025 04:53:52 +0000 (UTC) (envelope-from j_yoon.choi@samsung.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=samsung.com header.s=mail20170921 header.b="H/MTf7no"; spf=pass (mx1.freebsd.org: domain of j_yoon.choi@samsung.com designates 203.254.224.33 as permitted sender) smtp.mailfrom=j_yoon.choi@samsung.com; dmarc=pass (policy=none) header.from=samsung.com Received: from epcas2p3.samsung.com (unknown [182.195.41.55]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20250117045348epoutp0322eb21a62102d501b37e8941a953e96f~bYdA0SexV2403624036epoutp03L for <freebsd-hackers@FreeBSD.org>; Fri, 17 Jan 2025 04:53:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20250117045348epoutp0322eb21a62102d501b37e8941a953e96f~bYdA0SexV2403624036epoutp03L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1737089628; bh=Hu2+oVJarcQKVpUsSocmhr9+zNNHr1ZwXDoXsHr7GxI=; h=Subject:Reply-To:From:To:Date:References:From; b=H/MTf7norfCupMpJnKWzkCSpA1aaXcWOd6stl9Mr6LYCmab/44uB84OcITeBvEsaF MneNSdEf+6fBvs7kZ8JVSl+GmVHInykwpzScpt2/AldXw9qt0tr/InyzLaO5uXJ3HM kIC7VUYFpyFcjxt/6l42Z/ePfRtApap1wINJvFck= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20250117045347epcas2p4bb1244ab0606087934b45ca305d8442c~bYdAT3hg32884728847epcas2p4c for <freebsd-hackers@FreeBSD.org>; Fri, 17 Jan 2025 04:53:47 +0000 (GMT) Received: from epsmges2p2.samsung.com (unknown [182.195.36.68]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4YZ6nl04hwz4x9Q5 for <freebsd-hackers@FreeBSD.org>; Fri, 17 Jan 2025 04:53:47 +0000 (GMT) X-AuditID: b6c32a46-48c3a7000000564e-83-6789e25af58a Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id C6.98.22094.A52E9876; Fri, 17 Jan 2025 13:53:46 +0900 (KST) List-Id: Technical discussions relating to FreeBSD <freebsd-hackers.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: <mailto:freebsd-hackers+help@freebsd.org> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Subscribe: <mailto:freebsd-hackers+subscribe@freebsd.org> List-Unsubscribe: <mailto:freebsd-hackers+unsubscribe@freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.org Mime-Version: 1.0 Subject: Universal Flash Storage Driver Proposal Reply-To: j_yoon.choi@samsung.com From: Jaeyoon Choi <j_yoon.choi@samsung.com> To: "freebsd-hackers@FreeBSD.org" <freebsd-hackers@FreeBSD.org> X-Priority: 3 X-Content-Kind-Code: NORMAL X-CPGS-Detection: blocking_info_exchange X-Drm-Type: N,general X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <20250117045346epcms2p61099ea651d3ca3f00e3134dd00e6a9ac@epcms2p6> Date: Fri, 17 Jan 2025 13:53:46 +0900 X-CMS-MailID: 20250117045346epcms2p61099ea651d3ca3f00e3134dd00e6a9ac Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrBKsWRmVeSWpSXmKPExsWy7bCmhW7Uo850g/4OeYvtm/8xOjB6zPg0 nyWAMSrbJiM1MSW1SCE1Lzk/JTMv3VbJOzjeOd7UzMBQ19DSwlxJIS8xN9VWycUnQNctMwdo qpJCWWJOKVAoILG4WEnfzqYov7QkVSEjv7jEVim1ICWnwLxArzgxt7g0L10vL7XEytDAwMgU qDAhO2NX80Pmgq8CFfeXrmZvYHzO28XIySEhYCLx8OdHli5GLg4hgR2MEk8vLmfuYuTg4BUQ lPi7QxikRljAQGLK315GEFtIQFHiatMVRoi4nsTUNS2sIDabgI7EqYczGEFaRQTsJZ58EYAY zysxo/0pC4QtLbF9+VZGCFtD4seyXmYIW1Ti5uq37DD2+2PzoWpEJFrvnYWqEZR48HM3VFxS Yk3Pb6iZ9RJX3oPUcAHZPYwS/b+mQiX0Ja51bASzeQV8JTafeQS2gEVAVeLr029MEDUuEr+6 j4PdzywgL7H97Ryw15kFNCXW79IHMSUElCWO3GKBqOCT6Dj8lx3mrR3znkBNUZX4cP0LM8yL kxZ2QZ3pIXF5UR8rJNQCJX52/GadwCg/CxG2s5DsnYWwdwEj8ypGsdSC4tz01GKjAiN4dCbn 525iBCcpLbcdjFPeftA7xMjEwXiIUYKDWUmEN+13R7oQb0piZVVqUX58UWlOavEhRlOgjycy S4km5wPTZF5JvKGJpYGJmZmhuZGpgbmSOG/1jpZ0IYH0xJLU7NTUgtQimD4mDk6pBiZBnvcX XHpdZserlCRO3vFGPP/fHmn1/KknBB6ycvzJiZwc9Xyq8UmRzdmfnmYF/1pz0fjBieO7Ptbf fTwp5O89v8m7lv0O/DPh3+R1gQdEzhoWliTtme7nbCJ0PW/ile0CdgkWy82XK5QqqB/5krRu x57X/RapR1atfv6moqL9/cMz+5ubdhZ+blnZa5V1RKjwSLiOVfNch3WiMf9vLr+p8sFpdZbi n1qb2RkHVX8k/fNtnv7zovAldvUXm7feSNvCYrPpjYn8rPv+y/oz88596DpsV8h0Ufcfn61D covjJ99prucWvnuUfXv7gZfPHDhf3rqstc81pOnsw//xrkpvfYLmyE75N6dO/KbD7jl/Liux FGckGmoxFxUnAgAj62Iw2wMAAA== DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20250117045346epcms2p61099ea651d3ca3f00e3134dd00e6a9ac References: <CGME20250117045346epcms2p61099ea651d3ca3f00e3134dd00e6a9ac@epcms2p6> X-Spamd-Result: default: False [-4.80 / 15.00]; DWL_DNSWL_LOW(-1.00)[samsung.com:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_POLICY_ALLOW(-0.50)[samsung.com,none]; MID_RHS_NOT_FQDN(0.50)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:203.254.224.0/24]; RCVD_IN_DNSWL_MED(-0.20)[203.254.224.33:from]; R_DKIM_ALLOW(-0.20)[samsung.com:s=mail20170921]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[203.254.224.33:from]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_THREE(0.00)[4]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[samsung.com:+]; HAS_X_PRIO_THREE(0.00)[3]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@FreeBSD.org]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:6619, ipnet:203.254.192.0/18, country:KR]; REPLYTO_DOM_NEQ_TO_DOM(0.00)[]; HAS_REPLYTO(0.00)[j_yoon.choi@samsung.com] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4YZ6nr4fhvz3nfB Hello, As I mentioned in my previous email to the mailing list last year, I am planning to start developing a Universal Flash Storage Driver. - https://lists.freebsd.org/archives/freebsd-hackers/2024-July/003385.html Before I begin working on the driver, I would like to share my development plan with you. Universal Flash Storage (UFS) is a storage device for mobile devices which aims for high performance and low power consumption. UFS is currently used in most smartphones and tablets, and I believe there is a demand for UFS support in FreeBSD. The Universal Flash Storage Driver is named UFSHCI to avoid confusion with the UFS filesystem, and is located in the /sys/dev/ufshci folder. The driver will be developed based on the UFS 4.1 (JESD220G) and UFSHCI 4.1 (JESD223F) specification documents, which are the latest versions available. The latest specifications can be found at the following link: - https://www.jedec.org/standards-documents/focus/flash/universal-flash-storage-ufs My plan is to first implement a PCIe-based driver and then make it compatible with various smartphone application processors. Since UFS uses SCSI commands, we need to use the SCSI I/O path of the CAM. Please note that there is currently a UFSHCI driver in development for OpenBSD, but due to its low spec version (UFSHCI 2.1) and lack of compatibility with FreeBSD, I have decided to start from scratch. The following platforms will be used for testing: - QEMU with Emulated UFS device - Samsung Galaxy Book S (Intel Lakefield + eUFS) - Lenovo Duet3 11ian8 (Intel N100 + eUFS) After developing the UFSHCI driver, I will continue to work on additional features and keep the driver up-to-date with the latest specs. The approximate development plan is as follows: - 2025 1H: Implementation of initialization, basic operations, and single doorbell-based read/write I/O on Intel CPU-based platforms - 2025 2H: Implementation of MCQ-based read/write I/O, and implementation of additional features such as writebooster I look forward to receiving your feedback and suggestions. Best regards, Jaeyoon From nobody Sat Jan 18 00:03:08 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YZcJJ30vMz5kS1J for <freebsd-hackers@mlmmj.nyi.freebsd.org>; Sat, 18 Jan 2025 00:03:28 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YZcJH1gD4z3PJh; Sat, 18 Jan 2025 00:03:27 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=ZHovMYGK; spf=pass (mx1.freebsd.org: domain of rick.macklem@gmail.com designates 2a00:1450:4864:20::52b as permitted sender) smtp.mailfrom=rick.macklem@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-5da135d3162so4394702a12.3; Fri, 17 Jan 2025 16:03:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737158605; x=1737763405; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=pV0nbIlnC0fmNm4cZ9vqyrERUsk0O4JHyL8wFz/XTXU=; b=ZHovMYGKQYDCBeTMx9BLPFINw2el4aD7HPuprNcE0JERqe6tySHBAM3pDw0dU83Kvj qvlMZojsHJu6y1GlE2yVRgQJXi2fVKy8rH0/LgB3L0ALrsIh37zRlrB8GiKgD9hnH7ny N5dgxtk943Tyj/DVlvl4ZTnogDgS4wcLy9DjR2wXm9b49wGSZcArnLIJjMUbrAlLflvC SL8FzC+h+vgCVWsY39wqAaN05hrO9g8xIm+qHK2Ipzs7vTUH3qgHsKaVmOCU0scQw7AO NZ0PoMgIICmhWx8DzLy/T6IZ8KGutxWFM8YE9/Z8k4A0nFSUZKyR6dP/0xK3uA62968k CVDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737158605; x=1737763405; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pV0nbIlnC0fmNm4cZ9vqyrERUsk0O4JHyL8wFz/XTXU=; b=jxOlCHN9iM6gkXfHsWk8tHWbomkyVFDau05PisIXZZhFTn6jzjn2U3yalvwfp6Lr1m rpy8stUeCbC/lya6TA0LucIYIChaO+EwurBXCiKxOOpUNdsvd36NS4A7vHVuBHYuUznN mcJo2dG9RAbUsahsTxTrsiFZViz5NH0RnVv+UFpP2oIpleML+jUGK7AO38NB6xph+Au2 P/1dvp5OzpHTbCUogpVecqsyLS3zauMXnr8FmoJlkcJhVDmJAU35Y3gPp2iz32Q1S/9m GFOaJ4+CcINLbUlPGj4/fw6+QRXAB3asu2/GHkwP8GQyBqQPQHeAyVEswo5Risoyxap6 Ui+A== X-Forwarded-Encrypted: i=1; AJvYcCV+oXpSpFTa2btee/w/GaO4ozmxyu33yPCRuBG+9xJa7PEG2nLH6eaEgQUTXyau2I+6QfoaUBmgLdID7YC7hL0=@freebsd.org X-Gm-Message-State: AOJu0Yxo3KWQPHruMr7tzRIZZ+aWZyd+gWSZyrESEhp5+aPQNaSR2PPo d+pa1EhiB4pgnyDrXThieUfxmV6nVDERRYmStF7xD/RGN8sg5QQnwLmsq3GMmjgXEQgT2I8OdbY PIuHudcZVfQiKZlE1GLsXDHauYLLRTIE= X-Gm-Gg: ASbGncsJl2rFOL9Q5R/1RVdDQm230iVOz3Ia24H1LS4RG8kQIMXlCv4khGgQZXijNjl Cm8UQ6wePgl/dYYKOaNWRl6XsFbMo6k3CFCjLZqwo44FgQdFcw5QXNfH74f+B1PYqvsQWJsY= X-Google-Smtp-Source: AGHT+IGoG6i8M9VGinhqftpf91IsB2YzDYPx87V4GR/PBMDjJPTpvPiDmE351F6XdUT4s7URWh/R37MXAfqXo1t+HJI= X-Received: by 2002:a05:6402:2548:b0:5d3:e79b:3b4c with SMTP id 4fb4d7f45d1cf-5db7db2bfebmr4577955a12.31.1737158604624; Fri, 17 Jan 2025 16:03:24 -0800 (PST) List-Id: Technical discussions relating to FreeBSD <freebsd-hackers.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: <mailto:freebsd-hackers+help@freebsd.org> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Subscribe: <mailto:freebsd-hackers+subscribe@freebsd.org> List-Unsubscribe: <mailto:freebsd-hackers+unsubscribe@freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 References: <CAAvCNcD1CziGxmgyzyWix5ADsDXRpkbFUM32H9nEji9kR+Vc-Q@mail.gmail.com> <CAOtMX2i29F8NU493v81ggsdcprr7iifuD1aivaxsULxZrYt1tA@mail.gmail.com> <CALXu0UcP5WR_gV000akarzDxGap70jJwNaf7_BgKgVVU0S2bzg@mail.gmail.com> <CAOtMX2jVjMsDdE_E=kZg2OHUbhq=XzRuu1YEowyQXkyg+x7qXg@mail.gmail.com> In-Reply-To: <CAOtMX2jVjMsDdE_E=kZg2OHUbhq=XzRuu1YEowyQXkyg+x7qXg@mail.gmail.com> From: Rick Macklem <rick.macklem@gmail.com> Date: Fri, 17 Jan 2025 16:03:08 -0800 X-Gm-Features: AbW1kvYh4B3QNmgaXpw_t_0ctStfyd0gU1I-kk4UDcOBfQ27wVRmqMrF5fT2JUY Message-ID: <CAM5tNy4DmgPoKWRONv86v+OxEjX0bK4--tcXnWmtOQN96aaaQA@mail.gmail.com> Subject: Re: WRITE_SAME support in FreeBSD nfsd NFSv4.1 mode? To: Alan Somers <asomers@freebsd.org> Cc: Cedric Blancher <cedric.blancher@gmail.com>, freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-2.95 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.95)[-0.954]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TAGGED_FROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_RCPT(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52b:from]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com] X-Spamd-Bar: -- X-Rspamd-Queue-Id: 4YZcJH1gD4z3PJh On Sun, Jan 12, 2025 at 1:18=E2=80=AFPM Alan Somers <asomers@freebsd.org> w= rote: > > On Sun, Jan 12, 2025 at 12:23=E2=80=AFAM Cedric Blancher > <cedric.blancher@gmail.com> wrote: > > > > On Fri, 10 Jan 2025 at 16:02, Alan Somers <asomers@freebsd.org> wrote: > > > > > > On Thu, Jan 9, 2025 at 5:31=E2=80=AFPM Dan Shelton <dan.f.shelton@gma= il.com> wrote: > > > > > > > > Hello! > > > > > > > > Does FreeBSD nfsd support the WRITE_SAME request in NFSv4.1 mode? > > > > > > > > Dan > > > > -- > > > > Dan Shelton - Cluster Specialist Win/Lin/Bsd > > > > > > Out of curiosity, what is your use case? > > > > As discussed in the linux-nfs@ list, is a typical "big data" and > > database accelerator, for example fast pattern fill (1 WRITE_SAME > > command over the write, compared to <n> commands with data block, > > where <n> is typically > 200 average), or just zero fill for blocks. > > It's basically reducing network traffic dramatically. > > > > Windows SMB 3.0 already supports that, and is a main selling point for > > M$ to keep database people on the W$ platform. They even added several > > Windows syscalls like > > https://learn.microsoft.com/en-us/windows/win32/api/winioctl/ni-winioct= l-fsctl_set_zero_data > > > > Ced > > I understand why WRITE SAME would greatly reduce network traffic > compared to writing the same data n times. But my question is, what > real application requires that, where the data isn't simply all-zeros? > Are there database operations that require writing the same non-zero > pattern to multiple blocks? You might find the discussion on the linux-nfs@vger.kernel.org mailing list interesting. It is under this subject line: [LSF/MM/BPF TOPIC] Implementing the NFS v4.2 WRITE_SAME operation: VFS or NFS ioctl() ? Although there is no consensus, it seems to me that there is not a lot of use for anything beyond zeroing blocks. Unfortunately a WRITE_SAME implementation needs to do a lot more that zero blocks. I am holding off on any server implementation until there is an apparent ne= ed. rick > From nobody Sat Jan 18 01:13:10 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YZds23StTz5kXrf for <freebsd-hackers@mlmmj.nyi.freebsd.org>; Sat, 18 Jan 2025 01:13:26 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YZds13wKCz3WB8 for <freebsd-hackers@freebsd.org>; Sat, 18 Jan 2025 01:13:25 +0000 (UTC) (envelope-from asomers@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.208.52 as permitted sender) smtp.mailfrom=asomers@gmail.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none) Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-5d414b8af7bso5139934a12.0 for <freebsd-hackers@freebsd.org>; Fri, 17 Jan 2025 17:13:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737162803; x=1737767603; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JqYWzz4cq5RteGAoi/9VbWRsaY6USV7nAo80er4cr1o=; b=oKL/+2hohSFvZURg+f8n5zX0jy7hcFJsTPBw6EhuuoyNJ7vUs2+YLJUYROpIw9vJdZ hGyidPzfZAbRoLxS5ljD5DhZjgvqaAx7I7Fzp9ZVoaCew3hwMeotP+itMfzpa2ntxFfb 6R8p579d5XKZ8sqyUvuQEwOR7r/sxdgFyzjorI7hZb6hU066pbrlSSq9zu/1JOqqSmZi NELS97J9mUCFPWLdMoAYwLn1ADrsaf1Yuk0hGajjF/l19y41IXjCVScHDQeF+FHFvidP TtfwNOUSR0QxA2HjgC7/5joEs8GfqDbx9z6tmvEQjOV7W+kZ8F3qE4xyv8lqjUS1Z/YT YQ1g== X-Forwarded-Encrypted: i=1; AJvYcCXEMdr8C3Eco9MiueAi9rhN5fJW9aY1WcR9qSXkEzpp+ZTNDYT62RRDV3HAawlUhB2o3OHWeRGTiaHZb5UiMMM=@freebsd.org X-Gm-Message-State: AOJu0YzH7nS21Skh9Cg0q3IX1MYLvfRD6fCae4CyDvIasYODIr693MDu Hcb3P1UDJ7piDmGI58ewSZzqapUOsz3cTgpA6cX+HMTBzHDIQfdyGgXCq671Wfw3+T8WtgWv6YC 0z0utLtoiM9jb75iOnwUKjtbRn4o= X-Gm-Gg: ASbGncvLyCVD5oSwX9YN9CjfVH7guQcF9kmCb4/oSiuVShe3T4G7UhoFE+WUS7yAwgu F/s/Hz1mRXFk0i6MmtJgAFY1suYIeHK5HLPhF8N+FRyOVuj+VtuU= X-Google-Smtp-Source: AGHT+IGGQGaF12OJh/xq8BZzVGe03Eo7QqJo9amfwXFYey8BjoXucaI5m/th84gy4mbJaUBU2lgu1qpoP0Hcl0UtpUM= X-Received: by 2002:a05:6402:3509:b0:5d0:cfdd:2ac1 with SMTP id 4fb4d7f45d1cf-5db7d2d9958mr4824875a12.6.1737162802736; Fri, 17 Jan 2025 17:13:22 -0800 (PST) List-Id: Technical discussions relating to FreeBSD <freebsd-hackers.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: <mailto:freebsd-hackers+help@freebsd.org> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Subscribe: <mailto:freebsd-hackers+subscribe@freebsd.org> List-Unsubscribe: <mailto:freebsd-hackers+unsubscribe@freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 References: <CAAvCNcD1CziGxmgyzyWix5ADsDXRpkbFUM32H9nEji9kR+Vc-Q@mail.gmail.com> <CAOtMX2i29F8NU493v81ggsdcprr7iifuD1aivaxsULxZrYt1tA@mail.gmail.com> <CALXu0UcP5WR_gV000akarzDxGap70jJwNaf7_BgKgVVU0S2bzg@mail.gmail.com> <CAOtMX2jVjMsDdE_E=kZg2OHUbhq=XzRuu1YEowyQXkyg+x7qXg@mail.gmail.com> <CAM5tNy4DmgPoKWRONv86v+OxEjX0bK4--tcXnWmtOQN96aaaQA@mail.gmail.com> In-Reply-To: <CAM5tNy4DmgPoKWRONv86v+OxEjX0bK4--tcXnWmtOQN96aaaQA@mail.gmail.com> From: Alan Somers <asomers@freebsd.org> Date: Fri, 17 Jan 2025 18:13:10 -0700 X-Gm-Features: AbW1kvY4lSeL3rQOPuGaOeokBC86r499CDnbAhHxO2UPVORRrK3KzXBuPlkyY5k Message-ID: <CAOtMX2i846kh56k=4oY_08BznCsjqjjJbfSKgQEyeMXpJgsCuQ@mail.gmail.com> Subject: Re: WRITE_SAME support in FreeBSD nfsd NFSv4.1 mode? To: Rick Macklem <rick.macklem@gmail.com> Cc: Cedric Blancher <cedric.blancher@gmail.com>, freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-0.58 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.98)[-0.979]; NEURAL_HAM_SHORT(-0.51)[-0.505]; RBL_SENDERSCORE_REPUT_7(0.50)[209.85.208.52:from]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; MIME_GOOD(-0.10)[text/plain]; BAD_REP_POLICIES(0.10)[]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; ARC_NA(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; MISSING_XM_UA(0.00)[]; R_DKIM_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.52:from]; FREEFALL_USER(0.00)[asomers]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; R_SPF_ALLOW(0.00)[+ip4:209.85.128.0/17]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.52:from] X-Spamd-Bar: / X-Rspamd-Queue-Id: 4YZds13wKCz3WB8 On Fri, Jan 17, 2025 at 5:03=E2=80=AFPM Rick Macklem <rick.macklem@gmail.co= m> wrote: > > On Sun, Jan 12, 2025 at 1:18=E2=80=AFPM Alan Somers <asomers@freebsd.org>= wrote: > > > > On Sun, Jan 12, 2025 at 12:23=E2=80=AFAM Cedric Blancher > > <cedric.blancher@gmail.com> wrote: > > > > > > On Fri, 10 Jan 2025 at 16:02, Alan Somers <asomers@freebsd.org> wrote= : > > > > > > > > On Thu, Jan 9, 2025 at 5:31=E2=80=AFPM Dan Shelton <dan.f.shelton@g= mail.com> wrote: > > > > > > > > > > Hello! > > > > > > > > > > Does FreeBSD nfsd support the WRITE_SAME request in NFSv4.1 mode? > > > > > > > > > > Dan > > > > > -- > > > > > Dan Shelton - Cluster Specialist Win/Lin/Bsd > > > > > > > > Out of curiosity, what is your use case? > > > > > > As discussed in the linux-nfs@ list, is a typical "big data" and > > > database accelerator, for example fast pattern fill (1 WRITE_SAME > > > command over the write, compared to <n> commands with data block, > > > where <n> is typically > 200 average), or just zero fill for blocks. > > > It's basically reducing network traffic dramatically. > > > > > > Windows SMB 3.0 already supports that, and is a main selling point fo= r > > > M$ to keep database people on the W$ platform. They even added severa= l > > > Windows syscalls like > > > https://learn.microsoft.com/en-us/windows/win32/api/winioctl/ni-winio= ctl-fsctl_set_zero_data > > > > > > Ced > > > > I understand why WRITE SAME would greatly reduce network traffic > > compared to writing the same data n times. But my question is, what > > real application requires that, where the data isn't simply all-zeros? > > Are there database operations that require writing the same non-zero > > pattern to multiple blocks? > You might find the discussion on the linux-nfs@vger.kernel.org > mailing list interesting. > It is under this subject line: > [LSF/MM/BPF TOPIC] Implementing the NFS v4.2 WRITE_SAME operation: VFS > or NFS ioctl() ? > > Although there is no consensus, it seems to me that there is not a lot > of use for anything beyond zeroing blocks. > Unfortunately a WRITE_SAME implementation needs to do a lot more > that zero blocks. > > I am holding off on any server implementation until there is an apparent = need. That sounds wise. From nobody Sat Jan 18 18:18:09 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Yb4d41Hsxz5kh1N for <freebsd-hackers@mlmmj.nyi.freebsd.org>; Sat, 18 Jan 2025 18:19:36 +0000 (UTC) (envelope-from dirkx@webweaving.org) Received: from weser.webweaving.org (weser.webweaving.org [148.251.234.232]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "weser.webweaving.org", Issuer "E6" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yb4d315cRz3xs1 for <freebsd-hackers@freebsd.org>; Sat, 18 Jan 2025 18:19:34 +0000 (UTC) (envelope-from dirkx@webweaving.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=webweaving.org header.s=shared header.b=LEqd6fGp; spf=pass (mx1.freebsd.org: domain of dirkx@webweaving.org designates 148.251.234.232 as permitted sender) smtp.mailfrom=dirkx@webweaving.org; dmarc=pass (policy=none) header.from=webweaving.org Received: from smtpclient.apple (83-85-39-103.cable.dynamic.v4.ziggo.nl [83.85.39.103]) (authenticated bits=0) by weser.webweaving.org (8.18.1/8.18.1) with ESMTPSA id 50IIIAxH004149 (version=TLSv1.2 cipher=ECDHE-ECDSA-AES256-GCM-SHA384 bits=256 verify=NO) for <freebsd-hackers@freebsd.org>; Sat, 18 Jan 2025 19:18:10 +0100 (CET) (envelope-from dirkx@webweaving.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=webweaving.org; s=shared; t=1737224290; bh=j6wPUU+ovK6oNr04xP42dJt1sH87LnFjxCujmSpEZqs=; h=From:Subject:Date:To; b=LEqd6fGpYs1G4ERtFMjcS24wLkGyU/xCVBVjXR6/nQKCHkBjWanNQephOsKkivC+R /rIPlfSRbJtRujD0l3jMo+odPVFzauAf76/D5+vqNzpqj2iQ4U382Bd6sc4jRtgNZE ETZ8sw6LlI5qPCZrTD8JkXjj4N3oQxLMwpSyQFsc= X-Authentication-Warning: weser.webweaving.org: Host 83-85-39-103.cable.dynamic.v4.ziggo.nl [83.85.39.103] claimed to be smtpclient.apple From: Dirk-Willem van Gulik <dirkx@webweaving.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Technical discussions relating to FreeBSD <freebsd-hackers.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: <mailto:freebsd-hackers+help@freebsd.org> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Subscribe: <mailto:freebsd-hackers+subscribe@freebsd.org> List-Unsubscribe: <mailto:freebsd-hackers+unsubscribe@freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.300.87.4.3\)) Subject: pf rdr traffic to a jail not visible on the actual interface. Message-Id: <04BA686D-6E5A-4B83-AE46-27EC7388C8CA@webweaving.org> Date: Sat, 18 Jan 2025 19:18:09 +0100 To: freebsd-hackers@freebsd.org X-Mailer: Apple Mail (2.3826.300.87.4.3) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (weser.webweaving.org [148.251.234.232]); Sat, 18 Jan 2025 19:18:10 +0100 (CET) X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[webweaving.org,none]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[webweaving.org:s=shared]; ONCE_RECEIVED(0.20)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:24940, ipnet:148.251.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; FROM_HAS_DN(0.00)[]; HAS_XAW(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DKIM_TRACE(0.00)[webweaving.org:+] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4Yb4d315cRz3xs1 I have a jail that is just given 127.0.2.1 on the loopback interface. = I've got a pf.conf rule on FreeBSD 14.1-RELEASE: rdr pass log on $ext_if proto { udp, tcp } from any to = 12.34.45.123 port 3478 -> 127.0.2.1 delivering any traffic on port 3478 nicely to a jail which has only been = given (just) that 127.0.2.1 IP address. E.g. a simple: echo Hello World | nc 12.34.45.123 3478=20 from afar to a=20 ncx -l -b 127.0.2.1 -v 3478 on the jail confirms that this all works exactly as expected: 20250118:1911402.871 127.0.2.1:3478 12.34.45.123:37391 - Hello = World\n And this works specifically also when I bind() to 127.0.2.1 instead of = 0.0.0.0.=20 An 'lsof' confirms that the listener is listening on 127.0.2.1 ncx 479 root 3u IPv4 0xfffff8001e3eb000 0 = TCP 127.0.2.1:3478->*:* (LISTEN) However - if do 'tcpdump -i lo0' on the loopback interface; I do NOT see = this traffic.=20 A tcpdump without an '-i'; i.e. on vnet0/the main interface -- shows the = traffic.=20 18:16:38.899085 IP SENDERIP.62644 > 12.34.45.123.3478: Flags = [S], seq 3693554569, win 65535, etc. I would have expected it on lo0, and lo0 alone (and am hunting down an = ICE/TURN edge case). Why is this not the case ? With kind regards, Dw. vtnet0: flags=3D1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> = metric 0 mtu 1500 = options=3D4c07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCS= UM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,TXCSUM_IPV6> ether 00:16:3c:df:07:92 media: Ethernet autoselect (10Gbase-T <full-duplex>) status: active lo0: flags=3D1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 = mtu 16384 options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet 127.0.2.1 netmask 0xffffffff groups: lo pflog0: flags=3D1000041<UP,RUNNING,LOWER_UP> metric 0 mtu 33152 options=3D0 groups: pflog From nobody Sat Jan 18 20:24:14 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Yb7P75LVMz5kq5P for <freebsd-hackers@mlmmj.nyi.freebsd.org>; Sat, 18 Jan 2025 20:24:27 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yb7P65Y0Tz3DGd for <freebsd-hackers@freebsd.org>; Sat, 18 Jan 2025 20:24:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20230601.gappssmtp.com header.s=20230601 header.b=Cg+5aNOW; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::b31) smtp.mailfrom=wlosh@bsdimp.com; dmarc=none Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-e549a71dd3dso5911297276.0 for <freebsd-hackers@freebsd.org>; Sat, 18 Jan 2025 12:24:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1737231866; x=1737836666; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wle7H5PH7Z7SOYYt+36+27hgfoygajXumdyfjQrY7r8=; b=Cg+5aNOW0EJQhavw5o4x5cWS5M6u+y6gbC6i41cvamvqMK6rIWj3nc5I9OrXmb+ASA gJmKqAl+i4RNSyWHb1d9q+vChatAIMCZAquuD8M17rLt8vM1/qIF+rZcC9Fon0+FCQLF /4S4QowVI5JAEK8yKaEHYe9ivzEHfLR9/AUV7DfQhuQgj7o7i3kE7Ki/yYN3wN7HPGtI /7tvmQXPFi/iXqSg+zLhDiGAJXkfYOgw2LVniYAankapWi/eX/GL/HhJT/LebkSvCyCD huho4wTrDPEu8F2822svWQtIZeUiMS1PyKpeqstzb7PwdKqg1ONJLaRMGr0DoC68MIit iYlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737231866; x=1737836666; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wle7H5PH7Z7SOYYt+36+27hgfoygajXumdyfjQrY7r8=; b=prEO/XETXjXFjs/+HYfsZYhMTn1SBqmuSWDBI/eYUW0DOXd6xRbdqs0RDVwbri1WeH 2fl96nbzckHjkTuttlB76RIhgtVjSiecxzUZmZAI2VzYB5ndhA5JK55p0WjtYKiPUmEw omcG8lxfYKQhl8sed0HjI5EbV437gSve6ldhsqkUy81HZnFH3NX/o0uJBvsDBExEEEiR MctEKuMSZKM4JVdRs/gdk8WR+1AcZndzWRGrQgruToFrqn70Im79Kffovfy9ZVDKUtWp xV3M/UFTQgu/uuhYeCKwwRo1ma4OUehyeDbuR0PtPDa4KWzEAiBlw2YGIEKB3I1Z/WE3 oIFg== X-Gm-Message-State: AOJu0YxV8tyadvRhkww0/r8HAYkgMXs5vWLaAhkmqOOAYLejgn2W8kz2 vx+yJuesoov0lZXFIsPJPTFcwzio4W6OqJJoVW+dJjBHt/mmhc7hV0U4bTHI0z25JweVN3W24KS ITeTMNk5F2/LSNvZikapA/UxcsyUsBV9CMyv3zx4R608k+w78d9E= X-Gm-Gg: ASbGncvki7olyu5g2qV9jHpHrNsOlrOK1sRQRiogZmXzJv+CLaVLau7D5CARNbk4Qzg TCa/1UwiE68KC1G7PU1N95kLpZU5cR84ZjuwHogo+ODmIJEnrics= X-Google-Smtp-Source: AGHT+IGfPwMqr6ewCSEGFcfwRE6nDGxwbC7Ik87HYQddMDT2TLfHPqPlUe0frO84YBNwBvW4GMI/D1YJ1qMc/n/nfM8= X-Received: by 2002:a05:6902:c0d:b0:e57:633b:6781 with SMTP id 3f1490d57ef6-e57b1349f8amr4893924276.44.1737231865897; Sat, 18 Jan 2025 12:24:25 -0800 (PST) List-Id: Technical discussions relating to FreeBSD <freebsd-hackers.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: <mailto:freebsd-hackers+help@freebsd.org> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Subscribe: <mailto:freebsd-hackers+subscribe@freebsd.org> List-Unsubscribe: <mailto:freebsd-hackers+unsubscribe@freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 References: <CGME20250117045346epcms2p61099ea651d3ca3f00e3134dd00e6a9ac@epcms2p6> <20250117045346epcms2p61099ea651d3ca3f00e3134dd00e6a9ac@epcms2p6> In-Reply-To: <20250117045346epcms2p61099ea651d3ca3f00e3134dd00e6a9ac@epcms2p6> From: Warner Losh <imp@bsdimp.com> Date: Sat, 18 Jan 2025 13:24:14 -0700 X-Gm-Features: AbW1kvZigfT9nvO9kBdAie4jrU5pobZhIQ-dutnocINxgCSgn5QH-JrQp4lNIXw Message-ID: <CANCZdfotpi0W8ivsShzvWqgaCQhCOU0enb_RrPn7QdMEvvXpnw@mail.gmail.com> Subject: Re: Universal Flash Storage Driver Proposal To: j_yoon.choi@samsung.com Cc: "freebsd-hackers@FreeBSD.org" <freebsd-hackers@freebsd.org> Content-Type: multipart/alternative; boundary="0000000000004280a8062c00d07d" X-Spamd-Result: default: False [-2.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.994]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_EQ_ADDR_SOME(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[bsdimp.com]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b31:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20230601.gappssmtp.com:+] X-Spamd-Bar: -- X-Rspamd-Queue-Id: 4Yb7P65Y0Tz3DGd --0000000000004280a8062c00d07d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Jaeyoon This sounds really cool! What layering scheme did you have in mind to allow multiple storage devices per controller? Will it be a new kind of SIM in the CAM layer, or will it be SCSI with a different transport? Is this a full SCSI implementation, or will the CAM periph drivers need to restrict the requests they send down for this? We already have a number of subsets that we handle in an ad-hoc way, but maybe we need to be a little more organized about it. In the past, I've helped with the MMC and NVMe integration intro CAM, so I have an interest.... Warner On Thu, Jan 16, 2025 at 9:54=E2=80=AFPM Jaeyoon Choi <j_yoon.choi@samsung.c= om> wrote: > Hello, > > As I mentioned in my previous email to the mailing list last year, I am > planning > to start developing a Universal Flash Storage Driver. > - https://lists.freebsd.org/archives/freebsd-hackers/2024-July/003385.htm= l > Before I begin working on the driver, I would like to share my developmen= t > plan > with you. > > Universal Flash Storage (UFS) is a storage device for mobile devices whic= h > aims > for high performance and low power consumption. > UFS is currently used in most smartphones and tablets, and I believe ther= e > is a > demand for UFS support in FreeBSD. > > The Universal Flash Storage Driver is named UFSHCI to avoid confusion wit= h > the > UFS filesystem, and is located in the /sys/dev/ufshci folder. > > The driver will be developed based on the UFS 4.1 (JESD220G) and UFSHCI 4= .1 > (JESD223F) specification documents, which are the latest versions > available. > The latest specifications can be found at the following link: > - > https://www.jedec.org/standards-documents/focus/flash/universal-flash-sto= rage-ufs > > My plan is to first implement a PCIe-based driver and then make it > compatible > with various smartphone application processors. > Since UFS uses SCSI commands, we need to use the SCSI I/O path of the CAM= . > > Please note that there is currently a UFSHCI driver in development for > OpenBSD, > but due to its low spec version (UFSHCI 2.1) and lack of compatibility wi= th > FreeBSD, I have decided to start from scratch. > > The following platforms will be used for testing: > - QEMU with Emulated UFS device > - Samsung Galaxy Book S (Intel Lakefield + eUFS) > - Lenovo Duet3 11ian8 (Intel N100 + eUFS) > > After developing the UFSHCI driver, I will continue to work on additional > features and keep the driver up-to-date with the latest specs. > The approximate development plan is as follows: > > - 2025 1H: Implementation of initialization, basic operations, and single > doorbell-based read/write I/O on Intel CPU-based platforms > - 2025 2H: Implementation of MCQ-based read/write I/O, and implementation > of > additional features such as writebooster > > I look forward to receiving your feedback and suggestions. > > Best regards, > Jaeyoon > > --0000000000004280a8062c00d07d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi Jaeyoon<div><br></div><div>This sounds really cool!=C2= =A0</div><div><br></div><div>What layering scheme did you have in mind to a= llow multiple storage devices per</div><div>controller? Will it be a new ki= nd of SIM in the CAM layer, or will it be SCSI with</div><div>a different t= ransport? Is this a full SCSI implementation, or will the CAM periph</div><= div>drivers need to restrict the requests they send down for this? We alrea= dy have a</div><div>number of subsets that we handle in an ad-hoc way, but = maybe we need to be a little</div><div>more organized about it.</div><div><= br></div><div>In the past, I've helped with the MMC and NVMe integratio= n intro=C2=A0CAM, so I have</div><div>an interest....</div><div><br></div><= div>Warner</div></div><br><div class=3D"gmail_quote gmail_quote_container">= <div dir=3D"ltr" class=3D"gmail_attr">On Thu, Jan 16, 2025 at 9:54=E2=80=AF= PM Jaeyoon Choi <<a href=3D"mailto:j_yoon.choi@samsung.com">j_yoon.choi@= samsung.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex">Hello,<br> <br> As I mentioned in my previous email to the mailing list last year, I am pla= nning<br> to start developing a Universal Flash Storage Driver.<br> - <a href=3D"https://lists.freebsd.org/archives/freebsd-hackers/2024-July/0= 03385.html" rel=3D"noreferrer" target=3D"_blank">https://lists.freebsd.org/= archives/freebsd-hackers/2024-July/003385.html</a><br> Before I begin working on the driver, I would like to share my development = plan<br> with you.<br> <br> Universal Flash Storage (UFS) is a storage device for mobile devices which = aims<br> for high performance and low power consumption.<br> UFS is currently used in most smartphones and tablets, and I believe there = is a<br> demand for UFS support in FreeBSD.<br> <br> The Universal Flash Storage Driver is named UFSHCI to avoid confusion with = the <br> UFS filesystem, and is located in the /sys/dev/ufshci folder.<br> <br> The driver will be developed based on the UFS 4.1 (JESD220G) and UFSHCI 4.1= <br> (JESD223F) specification documents, which are the latest versions available= .<br> The latest specifications can be found at the following link:<br> - <a href=3D"https://www.jedec.org/standards-documents/focus/flash/universa= l-flash-storage-ufs" rel=3D"noreferrer" target=3D"_blank">https://www.jedec= .org/standards-documents/focus/flash/universal-flash-storage-ufs</a><br> <br> My plan is to first implement a PCIe-based driver and then make it compatib= le<br> with various smartphone application processors.<br> Since UFS uses SCSI commands, we need to use the SCSI I/O path of the CAM.<= br> <br> Please note that there is currently a UFSHCI driver in development for Open= BSD,<br> but due to its low spec version (UFSHCI 2.1) and lack of compatibility with= <br> FreeBSD, I have decided to start from scratch.<br> <br> The following platforms will be used for testing:<br> - QEMU with Emulated UFS device<br> - Samsung Galaxy Book S (Intel Lakefield + eUFS)<br> - Lenovo Duet3 11ian8 (Intel N100 + eUFS)<br> <br> After developing the UFSHCI driver, I will continue to work on additional<b= r> features and keep the driver up-to-date with the latest specs.<br> The approximate development plan is as follows:<br> <br> - 2025 1H: Implementation of initialization, basic operations, and single<b= r> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0doorbell-based read/write I/O on I= ntel CPU-based platforms<br> - 2025 2H: Implementation of MCQ-based read/write I/O, and implementation o= f<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0additional features such as writeb= ooster<br> <br> I look forward to receiving your feedback and suggestions.<br> <br> Best regards,<br> Jaeyoon<br> <br> </blockquote></div> --0000000000004280a8062c00d07d--