NetBSD Problem Report #58676

From www@netbsd.org  Tue Sep 17 12:49:32 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 5A6701A9244
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 17 Sep 2024 12:49:32 +0000 (UTC)
Message-Id: <20240917124931.4630F1A9246@mollari.NetBSD.org>
Date: Tue, 17 Sep 2024 12:49:31 +0000 (UTC)
From: guilherme.janczak@yandex.com
Reply-To: guilherme.janczak@yandex.com
To: gnats-bugs@NetBSD.org
Subject: Add DKWEDGE_AUTODISCOVER and DKWEDGE_METHOD_GPT to the WII kernel
X-Send-Pr-Version: www-1.0

>Number:         58676
>Category:       port-evbppc
>Synopsis:       Add DKWEDGE_AUTODISCOVER and DKWEDGE_METHOD_GPT to the WII kernel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-evbppc-maintainer
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 17 12:50:00 +0000 2024
>Closed-Date:    Sun Sep 22 14:21:54 +0000 2024
>Last-Modified:  Sun Sep 22 14:21:54 +0000 2024
>Originator:     Guilherme Janczak
>Release:        10.0
>Organization:
>Environment:
NetBSD jan-wii-nbsd 10.0_STABLE NetBSD 10.0_STABLE (WII) #0: Thu Sep 12 20:23:07 UTC 2024  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbppc/compile/WII evbppc
>Description:
Please enable DKWEDGE_AUTODISCOVER and DKWEDGE_METHOD_GPT in the WII kernel. The Wii has USB ports and a SD card slot where modern storage with a GPT scheme can be inserted and exchanged with other devices.
>How-To-Repeat:

>Fix:
Index: sys/arch/evbppc/conf/WII
===================================================================
RCS file: /cvsroot/src/sys/arch/evbppc/conf/WII,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 WII
--- sys/arch/evbppc/conf/WII	25 Jan 2024 11:47:53 -0000	1.4
+++ sys/arch/evbppc/conf/WII	17 Sep 2024 12:39:06 -0000
@@ -46,6 +46,10 @@ makeoptions DEBUG="-g"	# compile full sy
 include 	"conf/compat_netbsd50.config"
 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID

+# Wedge support
+options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
+options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
+
 # File systems
 file-system 	FFS		# UFS
 file-system 	EXT2FS		# second extended file system (linux)

>Release-Note:

>Audit-Trail:
From: "Jonathan A. Kollasch" <jakllsch@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/58676 CVS commit: src/sys/arch/evbppc/conf
Date: Tue, 17 Sep 2024 13:47:30 +0000

 Module Name:	src
 Committed By:	jakllsch
 Date:		Tue Sep 17 13:47:30 UTC 2024

 Modified Files:
 	src/sys/arch/evbppc/conf: WII

 Log Message:
 Add DKWEDGE_AUTODISCOVER and DKWEDGE_METHOD_GPT to WII

 From Guilherme Janczak in PR 58676


 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbppc/conf/WII

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: jakllsch@NetBSD.org
State-Changed-When: Tue, 17 Sep 2024 18:18:27 +0000
State-Changed-Why:
does the commited change fix the issue?
.


From: Guilherme Janczak <guilherme.janczak@yandex.com>
To: gnats-bugs@netbsd.org
Cc: port-evbppc-maintainer@netbsd.org, netbsd-bugs@netbsd.org, 
	gnats-admin@netbsd.org, jakllsch@netbsd.org
Subject: Re: port-evbppc/58676 (Add DKWEDGE_AUTODISCOVER and
 DKWEDGE_METHOD_GPT to the WII kernel)
Date: Wed, 18 Sep 2024 21:20:19 +0000

 Yes, it fixes the issue.

State-Changed-From-To: feedback->needs-pullups
State-Changed-By: jakllsch@NetBSD.org
State-Changed-When: Thu, 19 Sep 2024 14:16:50 +0000
State-Changed-Why:
confirmed to work; now needs pullups
.


State-Changed-From-To: needs-pullups->pending-pullups
State-Changed-By: jakllsch@NetBSD.org
State-Changed-When: Thu, 19 Sep 2024 14:21:32 +0000
State-Changed-Why:
pullup-10 #897


From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/58676 CVS commit: [netbsd-10] src/sys/arch/evbppc/conf
Date: Fri, 20 Sep 2024 11:33:52 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Fri Sep 20 11:33:52 UTC 2024

 Modified Files:
 	src/sys/arch/evbppc/conf [netbsd-10]: WII

 Log Message:
 Pull up following revision(s) (requested by jakllsch in ticket #897):

 	sys/arch/evbppc/conf/WII: revision 1.5

 Add DKWEDGE_AUTODISCOVER and DKWEDGE_METHOD_GPT to WII
 From Guilherme Janczak in PR 58676


 To generate a diff of this commit:
 cvs rdiff -u -r1.4.2.2 -r1.4.2.3 src/sys/arch/evbppc/conf/WII

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: pending-pullups->closed
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Sun, 22 Sep 2024 14:21:54 +0000
State-Changed-Why:
https://mail-index.netbsd.org/source-changes/2024/09/20/msg153420.html


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.