NetBSD Problem Report #47857
From wiz@yt.nih.at Sun May 26 17:40:14 2013
Return-Path: <wiz@yt.nih.at>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id F15F970CFF
for <gnats-bugs@gnats.NetBSD.org>; Sun, 26 May 2013 17:40:13 +0000 (UTC)
Message-Id: <20130526174000.AC3682AC086@yt.nih.at>
Date: Sun, 26 May 2013 19:40:00 +0200 (CEST)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Subject: cgd needs to support underlying disk geometry
X-Send-Pr-Version: 3.95
>Number: 47857
>Category: kern
>Synopsis: cgd needs to support underlying disk geometry
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: mlelstv
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 26 17:45:00 +0000 2013
>Closed-Date: Sun Nov 20 07:41:51 +0000 2022
>Last-Modified: Sun Nov 20 07:41:51 +0000 2022
>Originator: Thomas Klausner
>Release: NetBSD 6.99.20
>Organization:
Curiosity is the very basis of education and if you tell me that
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:
System: NetBSD yt.nih.at 6.99.20 NetBSD 6.99.20 (KVOTHE) #8: Tue May 21 17:48:10 CEST 2013 wiz@yt.nih.at:/archive/foreign/src/sys/arch/amd64/compile/obj/KVOTHE amd64
Architecture: x86_64
Machine: amd64
>Description:
When creating a cgd on a dk that sits on top of a 4k-sectors-hard-disk,
cgd reports a virtual geometry of 512 bytes/sector instead.
Currently I don't even get a working disklabel on the disk, but
even if I would, it probably wouldn't work.
>How-To-Repeat:
Buy 4k-sectors-hard-disk, use gpt to add a cgd,
try to configure it.
>Fix:
Please.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->mlelstv
Responsible-Changed-By: mlelstv@NetBSD.org
Responsible-Changed-When: Mon, 30 Nov 2015 06:58:12 +0000
Responsible-Changed-Why:
Working on it
State-Changed-From-To: open->closed
State-Changed-By: mlelstv@NetBSD.org
State-Changed-When: Sun, 20 Nov 2022 07:41:51 +0000
State-Changed-Why:
Fixed in cgd.c 1.105.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2022
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.