Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp248515lqb; Thu, 23 May 2024 17:47:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUwlmPwNgy2z9bcDpQjEq9M1+Rx2Eh3lPGLxzZkYq7JckCKxDis6WjZJh949MxE3ugNsjfoCOGBcVRziDsK0wr2g5CccX/gMt4VHM804w== X-Google-Smtp-Source: AGHT+IHofo7itZx1IaBBttNNsM6IJVx+teiOzgQF4HtwACIkYu2SrJWQmIzEhkwRZ3fFbG7QrhO/ X-Received: by 2002:a17:902:ec87:b0:1e4:17e4:3a30 with SMTP id d9443c01a7336-1f4489400bfmr11059755ad.31.1716511643784; Thu, 23 May 2024 17:47:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716511643; cv=pass; d=google.com; s=arc-20160816; b=AEejxllG6iLGR5jkp+E0LmvHDDRYv5NFKJL2tecUu47bBGoXqIBOMeoHw3xPU7nMt2 QkQzgm9Fdd+3y9JrobdrT1NTeIEr0QAy/jvzt/sJfAeDBAapkcNWizGxAF+q+mEMfMio WQIEukf7TIBO00NhJ9iPmP2sVeacT82BeX+L8E1t+RAV/9AMp3+vlxm04cWCQJTzr4GQ 86HAB9EJ818Qj59wGVUuzK7CZvXSl6PhyNzbJQjoRRa6rhUGa3lp0X/T7kcpioHVUs0n 13/eJ/jOTDGNaOym1w2yNC8zWoQa7+QMwqYbv8DUoEfgjWe90vkATwpwVLaWjrMkaV2y aT2A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=xhHs76QOp2MGGcphbew3t/rK2bfPPoj+eZPq3AAV6vg=; fh=kNQDBruijfSvt4UU5qKfZ9XY8GNiithWIQoA9KEKMTc=; b=Ay1TW2bCVvz1VMlRJJ23vCDGMoVU2ap3NnJd9NR2ClkLL3twgrikhRFQuq2BiEvN69 HOTCzwr5z+Jk0G7jR00nxWBN4jd2mjfHtJBuzNjv9dixpyMmcYqgKF7u2Q6aH/mqGMsR Md9VtDCoJ+amw8Ox169ALdx2yfogJZgIpWfDgGUcfYfbEKq0+PgvhaTyj9IazLc+Curh naVTbTCGZv5PtK9+ycMIt0mBKScDom4OtPQZMtPYzQ5N/eRv8MymPIeF26cqtlLQK4OD OXSZO2IjNs9fUofXw51xMBaJsP+E9bFFRSa7hotQErHrCRPzAwVZ1DrfwohUXPPfc+pK J+BQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UZZpTA8t; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-188185-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188185-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f44c9dfc7fsi2940145ad.538.2024.05.23.17.47.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 17:47:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-188185-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UZZpTA8t; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-188185-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188185-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9634D282F0E for ; Fri, 24 May 2024 00:47:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D92A78F5A; Fri, 24 May 2024 00:47:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UZZpTA8t" Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 58DB2EDF; Fri, 24 May 2024 00:47:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716511633; cv=none; b=bY6Azhazi5zIiXBsN/qdXPTpJEXkz/3IbWiO9lL/mnMng4ZPlokqzbNZZNUWtfFIIRIDkCcgYwGPE81oqcCyW994Lb+pXUVMFL4tfsg3HulgoTOzOgQPc2Xk1HKhBCVm3LwXzq0QDFlUokTWIof9VK3QxC7JBiJVaVOH5RJaIqA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716511633; c=relaxed/simple; bh=KLMnBc+W7brKUXqt0eZU0uMPzeOY+z6lS4AmDmnWoLc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LG3dE2i9zPXQSmnqlfao1p6pH5Jz2HyE0pSD2WCiN0gtHYSrFHvgeiMPh50clqqNp73wEikXidFYi1tL4YLYKY6RaFFEidiRQFcaSTotLHjpEBmW4qOEBjt1+PiBw4OeIHZBEBl4qIkEMeH3P1G6tTXCRxyGtkz6UHc+eAAVOBc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=groves.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=UZZpTA8t; arc=none smtp.client-ip=209.85.210.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=groves.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ot1-f42.google.com with SMTP id 46e09a7af769-6f12171523eso3725349a34.1; Thu, 23 May 2024 17:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716511630; x=1717116430; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=xhHs76QOp2MGGcphbew3t/rK2bfPPoj+eZPq3AAV6vg=; b=UZZpTA8tGkooj7W/X1zLm/t/2aATszHLo7mIqQhbObnPLa5c0Xt8UlSZTh+UDvyG5A USk9azCux1IF+JXBNgB1yAkJ8eX1oZwdvFC85nnxLSpuSZJYJmaaB+leWaLPRhf2Oa1k pMgZLaA+qeQuFyIWQVZvniNWmYbRCRdaDXrT5aIQ79BOTxkyK1oeZCZsQA5/BWw0XbM1 xv63NfTQuSs6C5JCyd0CqJouyNaEAPQ/eNN+qTIx8D9kcpsFrXA3n1PlWhG1SrEDWlMv GzxNLC3QA10hkvJKizsjS/ZJBTSBRnEkc76BbnHEvZzDWiQMfW189PHqibSAMyrr43Uw cVpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716511630; x=1717116430; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xhHs76QOp2MGGcphbew3t/rK2bfPPoj+eZPq3AAV6vg=; b=SuBukYzLzHCK74qGAHH9rpnkkg/HR+LaTQLW+y+toffgcsxvaQoEAByZnw6XAcSs10 PzSGLsAjjFIAdlGMvT7x6yBF6oQV/UEaAdHI70BpT1YEDaCRodKso/xwLTnSPqtnkA9V IlU6ATGwE70KCptrCjbZ0viCSzsiHkTEO34v1NOR9//ZgV0BEpDGWe3jtjUNr2DpEqlo s9eSmfzMsSahf5VAjDIPAj9axygxGNdjdmTWG3EDOTPWHy55C9WtJwcxr0k4IzUASxDL pKSA2+KxjgiARmk16Op/MIWMWPRypIVLU4l0wbFR9qTGAFGJYLlMM85jepaMr3kF6Bne gtTQ== X-Forwarded-Encrypted: i=1; AJvYcCVfHk8kZ/cEaFJGToW48XL7k/m5XI3thQw0oxbD9kvaY4vCIveyWaRkXEIZ2p4eANrFgbd0aI78wbB6iN/ZDND0iwUieLZH3wW75H+g+hhKe08SmjoPG++vUehwQmfl3tcdc94CAfTCgJocJw== X-Gm-Message-State: AOJu0Yw2ZuRt6rfyfsdQ4Ql7U6+PFiUSegqR6evca+8beX5dTkb3p84X fuPKBu8AR211Xdy1nWkCGmTzRVxE9LJ4zIltPEnc8Nqz9rEheq/98l83J14l X-Received: by 2002:a05:6830:121a:b0:6f0:9b4c:9aea with SMTP id 46e09a7af769-6f8d0a99ea4mr931418a34.16.1716511630224; Thu, 23 May 2024 17:47:10 -0700 (PDT) Received: from Borg-10.local (syn-070-114-203-196.res.spectrum.com. [70.114.203.196]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-6f8d0daf4a4sm119022a34.28.2024.05.23.17.47.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 17:47:09 -0700 (PDT) Sender: John Groves Date: Thu, 23 May 2024 19:47:08 -0500 From: John Groves To: Miklos Szeredi Cc: linux-cxl@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, nvdimm@lists.linux.dev Subject: Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On 24/05/23 03:57PM, Miklos Szeredi wrote: > [trimming CC list] > > On Thu, 23 May 2024 at 04:49, John Groves wrote: > > > - memmap=! will reserve a pretend pmem device at > > - memmap=$ will reserve a pretend dax device at > > Doesn't get me a /dev/dax or /dev/pmem > > Complete qemu command line: > > qemu-kvm -s -serial none -parallel none -kernel > /home/mszeredi/git/linux/arch/x86/boot/bzImage -drive > format=raw,file=/home/mszeredi/root_fs,index=0,if=virtio -drive > format=raw,file=/home/mszeredi/images/ubd1,index=1,if=virtio -chardev > stdio,id=virtiocon0,signal=off -device virtio-serial -device > virtconsole,chardev=virtiocon0 -cpu host -m 8G -net user -net > nic,model=virtio -fsdev local,security_model=none,id=fsdev0,path=/home > -device virtio-9p-pci,fsdev=fsdev0,mount_tag=hostshare -device > virtio-rng-pci -smp 4 -append 'root=/dev/vda console=hvc0 > memmap=4G$4G' > > root@kvm:~/famfs# scripts/chk_efi.sh > This system is neither Ubuntu nor Fedora. It is identified as debian. > /sys/firmware/efi not found; probably not efi > not found; probably nof efi > /boot/efi/EFI not found; probably not efi > /boot/efi/EFI/BOOT not found; probably not efi > /boot/efi/EFI/ not found; probably not efi > /boot/efi/EFI//grub.cfg not found; probably nof efi > Probably not efi; errs=6 > > Thanks, > Miklos Apologies, but I'm short on time at the moment - going into a long holiday weekend in the US with family plans. I should be focused again by middle of next week. But can you check /proc/cmdline to see of the memmap arg got through without getting mangled? The '$' tends to get fubar'd. You might need \$, or I've seen the need for \\\$. If it's un-mangled, there should be a dax device. If that doesn't work, it's worth trying '!' instead, which I think would give you a pmem device - if the arg gets through (but ! is less likely to get horked). That pmem device can be converted to devdax... Regards, John