From owner-freebsd-hackers@freebsd.org Sun Jul 14 04:09:49 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B8B415D6EB4 for ; Sun, 14 Jul 2019 04:09:49 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (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 CCB6B865E7 for ; Sun, 14 Jul 2019 04:09:47 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x82f.google.com with SMTP id 44so12294222qtg.11 for ; Sat, 13 Jul 2019 21:09:47 -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=iU6gWnvW53SGsAsX+04whLUBLBN/V5BrwbLENnFkoyw=; b=m6Cpb+0OD8y3MHMGCG4saOome4UoHaYi6TC3oMT6paJOVD3SMftY77J07FzAWHJJe6 nod8NTxYKGMSUv1TSQJjnBMYZtvXBgGoWEeKb65MiSjH78qKLU740vqdVZFcoX520wuC BhZli4mRWm7dLKlac86DSBrHVE3FvNSYcTrJnMoEWQZr5gp+jq9E6i7xu/IchKqdb4d8 Hm1RYd2A4s+8nlEuBgUxLFHRi+gzi9vS68f3ybi7K8fgGp6jINX37mtGYeB1FBCn+aiK r3smGSehLIissXx7SicSxIhpzYeDGyeHzm28ny6LQIheTou+Y1JpEXnftJhzniA5HooS ZabA== 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=iU6gWnvW53SGsAsX+04whLUBLBN/V5BrwbLENnFkoyw=; b=qQbPB58fQe4voj61wT5fSc711mHQfrS0Bf+9yUM75/xWMX3SHOQmR6mZW8WDeDPiUW tDAicN1zlxLx3MMZ34qft+4fpI6WNBZsIvoQyQArSPqdH7Y51DazI/zIDdxBQxu0Dpzv 34/nAPI5EIvX1HH4faSvuZ7a1/SDFndhbnY3X/cOr3WcisN8aJP5xAYmMfsNwNB++jj0 gcbKszBzlV+YnIXsbYywvApL3e1fwhYuwVZToKPyX9CYZ3n1tkVMwX9ZIhwEbuS6MTsZ VcMWR2TaNWlVgzAMvwYzv0BxNdXAW43QM3Z0b7Cd87hQ5g13SkwEFtt7hfXg+hHsYPfO uwhg== X-Gm-Message-State: APjAAAXAIxyiUqH6i5yJtzGZr9J2tFu/fGh66G/x59rrzeqYPUJLkgfh 5V0/YB8ZqbsZa0dyFBhLxAU3OTFIFocYKGjhvsA= X-Google-Smtp-Source: APXvYqxYDYmBchhnIz28P+LfFY7IF3EqjIQV2oxxbaUlcKeRt40dVVqmlfJu2SKmLyR50EfnzuZiuzyAqRPTlIsqyvk= X-Received: by 2002:ac8:244f:: with SMTP id d15mr12365357qtd.32.1563077387160; Sat, 13 Jul 2019 21:09:47 -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:09:35 -0600 Message-ID: Subject: Re: 4k sector support (not good?) To: Zaphod Beeblebrox Cc: Hans Petter Selasky , FreeBSD Hackers X-Rspamd-Queue-Id: CCB6B865E7 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=m6Cpb+0O 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.02)[ip: (-9.40), 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)[f.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; 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:09:49 -0000 On Sat, Jul 13, 2019, 10:03 PM Warner Losh wrote: > > > 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... > For MBR disks. Apple has one standard, which is what the patch is for. Those disks won't necessarily work on other BIOSes. GPT just works today... Warner 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 >> " >> >