NetBSD Problem Report #47094
From diro@nixsyspaus.org Sat Oct 20 01:40:52 2012
Return-Path: <diro@nixsyspaus.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 65E0463DFAE
for <gnats-bugs@gnats.netbsd.org>; Sat, 20 Oct 2012 01:40:52 +0000 (UTC)
Message-Id: <20121020014049.86B452041E4@asche.nixsyspaus.org>
Date: Sat, 20 Oct 2012 01:40:49 +0000 (UTC)
From: diro@nixsyspaus.org
Reply-To: diro@nixsyspaus.org
To: gnats-bugs@gnats.netbsd.org
Subject: unknown device acpiwmibus
X-Send-Pr-Version: 3.95
>Number: 47094
>Category: kern
>Synopsis: unknown device acpiwmibus
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 20 01:45:00 +0000 2012
>Closed-Date: Mon Feb 15 10:27:23 +0000 2016
>Last-Modified: Mon Feb 15 10:27:23 +0000 2016
>Originator: diro@nixsyspaus.org
>Release: NetBSD 6.0_RC1
>Organization:
>Environment:
System: NetBSD gift 6.0_RC1 NetBSD 6.0_RC1 (GIFT) #6: Sat Sep 1 04:44:23 UTC 2012 root@gift:/usr/obj/sys/arch/amd64/compile/GIFT amd64
Architecture: amd64
Machine: amd64
>Description:
# dmesg | grep acpiwmibus
acpiwmibus at acpiwmi0 not configured
Oh? Let's fix that.
# egrep acpiwmibus /usr/src/sys/arch/amd64/conf/GIFT
acpiwmibus* at acpiwmi? # ACPI WMI Bus support
wmidell* at acpiwmibus? # Dell WMI mappings
wmieeepc* at acpiwmibus? # Asus Eee PC WMI mappings
wmihp* at acpiwmibus? # HP WMI mappings
wmimsi* at acpiwmibus? # MSI WMI mappings
Uncommented the first line there.
# ./build.sh -O /usr/obj -T /usr/tools kernel=GIFT
[...]
===> Build directory: /usr/obj/sys/arch/amd64/compile/GIFT
(cd /usr/obj/sys/arch/amd64/compile/GIFT && rm -f a.out [Ee]rrs mklog core *.core .gdbinit || true)
/usr/src/sys/arch/amd64/conf/GIFT:297: acpiwmibus*: unknown device `acpiwmibus'
*** Stop.
ERROR: nbconfig failed for GIFT
*** BUILD ABORTED ***
>How-To-Repeat:
I don't really understand this. How is acpiwmibus detected unconfigurated at
boot time, but cannot be added in the kernel config file? Moreover, why doesn't
build.sh complain if the initial acpiwmibus line is commented while its child
lines are left uncommented?
>Fix:
NFI
>Release-Note:
>Audit-Trail:
From: Bernd Ernesti <netbsd@lists.veego.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/47094: unknown device acpiwmibus
Date: Wed, 24 Oct 2012 00:36:46 +0200
On Sat, Oct 20, 2012 at 01:45:00AM +0000, diro@nixsyspaus.org wrote:
[..]
> # egrep acpiwmibus /usr/src/sys/arch/amd64/conf/GIFT
> acpiwmibus* at acpiwmi? # ACPI WMI Bus support
^^^
Where did you get that from?
I only see this in GENERIC:
acpiwmi* at acpi? # ACPI WMI Mapper
wmidell* at acpiwmibus? # Dell WMI mappings
wmieeepc* at acpiwmibus? # Asus Eee PC WMI mappings
wmihp* at acpiwmibus? # HP WMI mappings
wmimsi* at acpiwmibus? # MSI WMI mappings
Bernd
From: diro@nixsyspaus.org
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/47094: unknown device acpiwmibus
Date: Sun, 28 Oct 2012 10:07:40 -0400
On Tue, Oct 23, 2012 at 10:45:02PM +0000, Bernd Ernesti wrote:
>
> > # egrep acpiwmibus /usr/src/sys/arch/amd64/conf/GIFT
> > acpiwmibus* at acpiwmi? # ACPI WMI Bus support
>
> Where did you get that from?
man 4 acpiwmi
From: Bernd Ernesti <netbsd@lists.veego.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/47094: unknown device acpiwmibus
Date: Sun, 28 Oct 2012 16:35:55 +0100
On Sun, Oct 28, 2012 at 02:10:06PM +0000, diro@nixsyspaus.org wrote:
> The following reply was made to PR kern/47094; it has been noted by GNATS.
>
> From: diro@nixsyspaus.org
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: kern/47094: unknown device acpiwmibus
> Date: Sun, 28 Oct 2012 10:07:40 -0400
>
> On Tue, Oct 23, 2012 at 10:45:02PM +0000, Bernd Ernesti wrote:
> >
> > > # egrep acpiwmibus /usr/src/sys/arch/amd64/conf/GIFT
> > > acpiwmibus* at acpiwmi? # ACPI WMI Bus support
> >
> > Where did you get that from?
>
> man 4 acpiwmi
I assume that the manpage is either out of date or the default kernel
configs are wrong. This looks like config(9) magic.
What happens if you add
acpiwmi* at acpi?
and remove the
acpiwmibus* at acpiwmi?
line?
Bernd
From: diro@nixsyspaus.org
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/47094: unknown device acpiwmibus
Date: Sun, 28 Oct 2012 12:07:41 -0400
On Sun, Oct 28, 2012 at 03:45:03PM +0000, Bernd Ernesti wrote:
>
> I assume that the manpage is either out of date or the default kernel
> configs are wrong. This looks like config(9) magic.
>
> What happens if you add
> acpiwmi* at acpi?
> and remove the
> acpiwmibus* at acpiwmi?
> line?
That's the current setup. NetBSD 6.0_RC1 dmesg in PR/46919. You can see the
behaviour there.
State-Changed-From-To: open->closed
State-Changed-By: jruoho@NetBSD.org
State-Changed-When: Thu, 01 Nov 2012 07:30:55 +0000
State-Changed-Why:
The line "acpiwmibus at acpiwmi0 not configured" means that a WMI device was
located but no child devices were found for it. There is no bug here.
From: Bernd Ernesti <netbsd@lists.veego.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/47094 (unknown device acpiwmibus)
Date: Thu, 1 Nov 2012 09:24:18 +0100
Which brings us now to the manpage of acpiwmi(4) which suggest that
the kernel config needs an addtional line: acpiwmibus* at acpiwmi?
State-Changed-From-To: closed->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 25 Feb 2013 08:34:29 +0000
State-Changed-Why:
There is still a doc bug.
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 15 Feb 2016 10:27:23 +0000
State-Changed-Why:
the doc bug was fixed back when this was initially closed; that just wasn't
relayed into gnats.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.