NetBSD Problem Report #52978

From www@NetBSD.org  Mon Feb  5 02:36:37 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C16007A187
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  5 Feb 2018 02:36:37 +0000 (UTC)
Message-Id: <20180205023633.3C9807A214@mollari.NetBSD.org>
Date: Mon,  5 Feb 2018 02:36:33 +0000 (UTC)
From: matthias@petermann-it.de
Reply-To: matthias@petermann-it.de
To: gnats-bugs@NetBSD.org
Subject: XEN3_DOM0 kernel config is missing XHCI option
X-Send-Pr-Version: www-1.0

>Number:         52978
>Category:       port-xen
>Synopsis:       XEN3_DOM0 kernel config is missing XHCI option
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-xen-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 05 02:40:00 +0000 2018
>Closed-Date:    Mon Feb 05 15:17:03 +0000 2018
>Last-Modified:  Tue Feb 06 13:40:01 +0000 2018
>Originator:     Matthias Petermann
>Release:        8.0_BETA
>Organization:
>Environment:
NetBSD nuc.local 8.0_BETA NetBSD 8.0_BETA (XEN3_DOM0_XHCI) #0: Mon Nov  6 14:31:17 CET 2017  admin@nuc.local:/s/src/sys/arch/amd64/compile/XEN3_DOM0_XHCI amd64

>Description:
I use an Intel NUC as a home server. The device does not have a UHCI/EHCI host controller. Instead, there is only one XHCI host controller on the board.

Fortunately, both the generic and the install kernel for AMD64 have the XHCI option enabled. Therefore the installation of NetBSD 8.0_beta was readily possible.

After configuring the Xen Dom0, the XHCI support is no longer available. This renders the kernel unable to access my external USB drive which I use to perform my daily backups. I therefore had to create my own kernel.

Are there any reasons against to turn on the XHCI support by default in the XEN3_DOM0 kernel? In case there are none, would it be possible to take this into account for NetBSD 8.0? The advantage would be that it might save some new NetBSD users hassle. That there are differences between the generic and XEN3_DOM0 kernel in terms of USB support is not understandable for inexperienced.
>How-To-Repeat:

>Fix:
nuc$ diff XEN3_DOM0 XEN3_DOM0_XHCI
582c582
< # xhci*       at pci? dev ? function ?        # eXtensible Host Controller
---
> xhci* at pci? dev ? function ?        # eXtensible Host Controller
589c589
< # usb*        at xhci?
---
> usb*  at xhci?

>Release-Note:

>Audit-Trail:
From: "Manuel Bouyer" <bouyer@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52978 CVS commit: src/sys/arch
Date: Mon, 5 Feb 2018 11:19:55 +0000

 Module Name:	src
 Committed By:	bouyer
 Date:		Mon Feb  5 11:19:55 UTC 2018

 Modified Files:
 	src/sys/arch/amd64/conf: XEN3_DOM0
 	src/sys/arch/i386/conf: XEN3_DOM0

 Log Message:
 Follow GENERIC and enable xhci(4) by default. PR port-xen/52978


 To generate a diff of this commit:
 cvs rdiff -u -r1.147 -r1.148 src/sys/arch/amd64/conf/XEN3_DOM0
 cvs rdiff -u -r1.125 -r1.126 src/sys/arch/i386/conf/XEN3_DOM0

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

State-Changed-From-To: open->pending-pullups
State-Changed-By: bouyer@NetBSD.org
State-Changed-When: Mon, 05 Feb 2018 11:28:16 +0000
State-Changed-Why:
pullup-8 #533


From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52978 CVS commit: [netbsd-8] src/sys/arch
Date: Mon, 5 Feb 2018 15:14:01 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Mon Feb  5 15:14:01 UTC 2018

 Modified Files:
 	src/sys/arch/amd64/conf [netbsd-8]: XEN3_DOM0
 	src/sys/arch/i386/conf [netbsd-8]: XEN3_DOM0

 Log Message:
 Pull up following revision(s) (requested by bouyer in ticket #533):
 	sys/arch/i386/conf/XEN3_DOM0: revision 1.126
 	sys/arch/amd64/conf/XEN3_DOM0: revision 1.148
 Follow GENERIC and enable xhci(4) by default. PR port-xen/52978


 To generate a diff of this commit:
 cvs rdiff -u -r1.135.4.5 -r1.135.4.6 src/sys/arch/amd64/conf/XEN3_DOM0
 cvs rdiff -u -r1.112.4.6 -r1.112.4.7 src/sys/arch/i386/conf/XEN3_DOM0

 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: bouyer@NetBSD.org
State-Changed-When: Mon, 05 Feb 2018 15:17:03 +0000
State-Changed-Why:
pulled up


From: Matthias Petermann <matthias@petermann-it.de>
To: gnats-bugs@NetBSD.org, port-xen-maintainer@netbsd.org,
 netbsd-bugs@netbsd.org, gnats-admin@netbsd.org, bouyer@NetBSD.org
Cc: 
Subject: Re: port-xen/52978 (XEN3_DOM0 kernel config is missing XHCI option)
Date: Tue, 6 Feb 2018 14:35:03 +0100

 Hello,

 thank you so much for incorporating this change so quickly.

 Kind regards
 Matthias

 On 05.02.2018 16:17, bouyer@NetBSD.org wrote:
 > Synopsis: XEN3_DOM0 kernel config is missing XHCI option
 > 
 > State-Changed-From-To: pending-pullups->closed
 > State-Changed-By: bouyer@NetBSD.org
 > State-Changed-When: Mon, 05 Feb 2018 15:17:03 +0000
 > State-Changed-Why:
 > pulled up
 > 
 > 
 > 

 -- 
 Matthias Petermann <matthias@petermann-it.de> | www.petermann-it.de
 GnuPG: 0x5C3E6D75 | 5930 86EF 7965 2BBA 6572  C3D7 7B1D A3C3 5C3E 6D75

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.