From owner-freebsd-hackers@freebsd.org Sun Jul 14 04:03:47 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 107A415D6D13 for ; Sun, 14 Jul 2019 04:03:47 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 259E4863BC for ; Sun, 14 Jul 2019 04:03:46 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x733.google.com with SMTP id g18so9333293qkl.3 for ; Sat, 13 Jul 2019 21:03:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JFYxeIFflTfZWuboELdie4P0SwQFDmL1y8ui4OdiWd8=; b=BQO/VU6pwDNldfCXgkaVhkrD42xOvtzDnGT25tnTmI+fOMM0ttOBUoeo3RFPgLpJRs QVfx2c0w2S5DsrURnT9z7ckJZrjR1AzTVhmvcblKhLv7Xzllj6DhS/Ug+T8oxXgz+Lfx jyYKJRjCGU2r60h3P8bMmttyud2rFnT4MeDI7Bq0QWSSApdAyw5jnxMdgqWxR2l9+k8i AlJajEZBNUn6wEdTipFGhWQBCqcm9U7RWF/gUwdcPx0+fh9ammgKlvy7zNd+JaPX42bb vm2EU8GiIW96FiYy2UMq+JpIYd44E/eFhy7qQYxoUkRNCA4comLji6eDCURzXy4oszTJ E1og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JFYxeIFflTfZWuboELdie4P0SwQFDmL1y8ui4OdiWd8=; b=n+OWU27P96XMD3NztQFGdGaX3uPf3vC8C5/R0W/ESNpI0UTimmCGgwiIfXoWR2pJ/0 lPgGhz051uzJ/BoqEWLnLmrmB2XEJd8YWbRC+x1jfY08JNAi8Ismlmrw7RE6X0PVSDEe s61qOd3v/57wZ8kVTQrK+Tssf7EP8F06uiHh2Q4SBmcKgOv/CCKUEvJP+HtJywBwweln 5vo7Ogm22gXlH61YCa6aRL6bIfi/IzZvd4w0U/9qzSRwBpLREf7F0DDclrDJum8PGqmV SDziapRnBiVgUIeiWkDVdN+S6iaSPhiyrARVphXWuqmWW4zxwnZaUVY7oeRCRvsaQRoq HDxg== X-Gm-Message-State: APjAAAUVUMdcuVSHnjvOEOsivPavwQbDwk3sjV34+6riCyjDfgLNQzqz CyCEowMy+q3WQMA0QJSjUwGboDPIjW6zb49LKu9SHw== X-Google-Smtp-Source: APXvYqzxtXwEQnoeU3L1cCh48Bi/RtZ3YocJ1lhf+bnjQN5XpqvL/P60mlcheZB3/la+59EzPfvxB7x7FVSyCn7e8TE= X-Received: by 2002:a37:83c4:: with SMTP id f187mr11734248qkd.380.1563077025294; Sat, 13 Jul 2019 21:03:45 -0700 (PDT) MIME-Version: 1.0 References: <13de3cde-185b-a986-cbce-6ad984792952@selasky.org> <883fbfcf-cac6-99a9-cb6f-43e413be9bb0@selasky.org> In-Reply-To: From: Warner Losh Date: Sat, 13 Jul 2019 22:03:32 -0600 Message-ID: Subject: Re: 4k sector support (not good?) To: Zaphod Beeblebrox Cc: Hans Petter Selasky , FreeBSD Hackers X-Rspamd-Queue-Id: 259E4863BC X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=BQO/VU6p X-Spamd-Result: default: False [-4.47 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.55)[0.554,0]; IP_SCORE(-3.01)[ip: (-9.37), ipnet: 2607:f8b0::/32(-3.18), asn: 15169(-2.44), country: US(-0.06)]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[3.3.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; SUBJECT_HAS_QUESTION(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jul 2019 04:03:47 -0000 On Sat, Jul 13, 2019, 9:59 PM Zaphod Beeblebrox wrote: > Wait... are you saying that our gpart isn't properly able to label a 4k > sector disk? > There are competing notions about what is right... Warner On Sat, Jul 13, 2019 at 11:54 PM Zaphod Beeblebrox > wrote: > > > Thank-you. At this point, I wouldn't be booting from these disks. Right > > now I'm just trying to "gpart" or label them and get them ZFS > formatted... > > so my test rig boots from it's own disks and the target machine boots > from > > a different pair of disks. > > > > What I'm after is how to talk to these properly. > > > > On Sat, Jul 13, 2019 at 2:55 AM Hans Petter Selasky > > wrote: > > > >> On 2019-07-13 08:35, Hans Petter Selasky wrote: > >> > If you want to boot from a 4K disk you need this patch at least: > >> > https://reviews.freebsd.org/D19245 > >> > >> Note that this patch must also be installed before trying to create the > >> 4K bootable disk! > >> > >> --HPS > >> > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >