NetBSD Problem Report #52774

From www@NetBSD.org  Wed Nov 29 15:58:04 2017
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 21C387A1B5
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 29 Nov 2017 15:58:04 +0000 (UTC)
Message-Id: <20171129155802.E29C47A1D7@mollari.NetBSD.org>
Date: Wed, 29 Nov 2017 15:58:02 +0000 (UTC)
From: bsiegert@NetBSD.org
Reply-To: bsiegert@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: vioscsi does not work (on GCE) in NetBSD 8/i386
X-Send-Pr-Version: www-1.0

>Number:         52774
>Category:       port-i386
>Synopsis:       vioscsi does not work (on GCE) in NetBSD 8/i386
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 29 16:00:00 +0000 2017
>Closed-Date:    Mon Dec 04 20:25:25 +0000 2017
>Last-Modified:  Mon Dec 04 20:25:25 +0000 2017
>Originator:     Benny Siegert
>Release:        NetBSD 8.0_BETA (GENERIC.201711280120Z)
>Organization:
The NetBSD Foundation
>Environment:
>Description:
On Google Compute Engine, a newly started NetBSD-8 instance with i386 kernel has no storage. The error is "virtio0: no matching child driver; not configured".

Full boot output follows:

NetBSD 8.0_BETA (GENERIC.201711280120Z)
total memory = 3071 MB
avail memory = 3001 MB
cpu_rng: RDRAND
rnd: seeded with 128 bits
running cgd selftest aes-xts-256 aes-xts-512 done
mainbus0 (root)
ACPI: RSDP 0x00000000000F3090 000014 (v00 Google)
ACPI: RSDT 0x00000000BFFFDCD0 000034 (v01 Google GOOGRSDT 00000001 GOOG 00000001)
ACPI: FACP 0x00000000BFFFFF00 0000F4 (v02 Google GOOGFACP 00000001 GOOG 00000001)
ACPI: DSDT 0x00000000BFFFDD10 0017B2 (v01 Google GOOGDSDT 00000001 GOOG 00000001)
ACPI: FACS 0x00000000BFFFFEC0 000040
ACPI: FACS 0x00000000BFFFFEC0 000040
ACPI: SSDT 0x00000000BFFFF5F0 0008CF (v01 Google GOOGSSDT 00000001 GOOG 00000001)
ACPI: APIC 0x00000000BFFFF500 00006E (v01 Google GOOGAPIC 00000001 GOOG 00000001)
ACPI: WAET 0x00000000BFFFF4D0 000028 (v01 Google GOOGWAET 00000001 GOOG 00000001)
ACPI: Executed 1 blocks of module-level executable AML code
ACPI: Executed 1 blocks of module-level executable AML code
ACPI: 2 ACPI AML tables successfully acquired and loaded
ioapic0 at mainbus0 apid 0
cpu0 at mainbus0 apid 0
cpu0: Intel(R) Xeon(R) CPU @ 2.30GHz, id 0x306f0
cpu0: package 0, core 0, smt 0
acpi0 at mainbus0: Intel ACPICA 20170303
pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
COM1 (PNP0501) at acpi0 not configured
COM2 (PNP0501) at acpi0 not configured
COM3 (PNP0501) at acpi0 not configured
COM4 (PNP0501) at acpi0 not configured
PEVT (QEMU0001) at acpi0 not configured
apm0 at acpi0: Power Management spec V1.2
ACPI: Enabled 16 GPEs in block 00 to 0F
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0: vendor 8086 product 1237 (rev. 0x02)
pcib0 at pci0 dev 1 function 0: vendor 8086 product 7110 (rev. 0x03)
piixpm0 at pci0 dev 1 function 3: vendor 8086 product 7113 (rev. 0x03)
piixpm0: SMBus disabled
virtio0 at pci0 dev 3 function 0
virtio0: Virtio SCSI Device (rev. 0x00)
virtio0: no matching child driver; not configured
virtio1 at pci0 dev 4 function 0
virtio1: Virtio Network Device (rev. 0x00)
vioif0 at virtio1: Features: 0x30020<CTRL_VQ,STATUS,MAC>
vioif0: Ethernet address xx:xx:xx:xx:xx:xx
virtio1: config interrupting at msix0 vec 0
virtio1: queues interrupting at msix0 vec 1
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
com2 at isa0 port 0x3e8-0x3ef irq 5: ns16550a, working fifo
attimer0 at isa0 port 0x40-0x43
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279
attimer0: attached to pcppi0
acpicpu0 at cpu0: ACPI CPU
WARNING: 1 error while detecting hardware; check system log.
boot device: <unknown>
root device: 

>How-To-Repeat:
Using github.com/google/netbsd-gce, I created an image of NetBSD 8 for i386 (32 bit) and started it on Google Compute Engine.
>Fix:
This works with an amd64 kernel so perhaps there is a pull-up or two missing? (I did not try current.)

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->pending-pullups
State-Changed-By: martin@NetBSD.org
State-Changed-When: Wed, 29 Nov 2017 16:12:46 +0000
State-Changed-Why:
Waiting for [pullup-8 #413]


From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52774 CVS commit: src/sys/arch/i386/conf
Date: Wed, 29 Nov 2017 16:10:01 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Wed Nov 29 16:10:01 UTC 2017

 Modified Files:
 	src/sys/arch/i386/conf: GENERIC

 Log Message:
 PR port-i386/52774: vioscsi missing in i386 kernel


 To generate a diff of this commit:
 cvs rdiff -u -r1.1170 -r1.1171 src/sys/arch/i386/conf/GENERIC

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

From: mlelstv@serpens.de (Michael van Elst)
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/52774: vioscsi does not work (on GCE) in NetBSD 8/i386
Date: Wed, 29 Nov 2017 19:16:12 -0000 (UTC)

 bsiegert@NetBSD.org writes:

 >On Google Compute Engine, a newly started NetBSD-8 instance with i386 kernel has no storage. The error is "virtio0: no matching child driver; not configured".

 The kernel just lacks the vioscsi driver.

 % grep -l vioscsi sys/arch/*/conf/GENERIC
 amd64/conf/GENERIC
 sparc64/conf/GENERIC

 -- 
 -- 
                                 Michael van Elst
 Internet: mlelstv@serpens.de
                                 "A potential Snark may lurk in every tree."

From: "Soren Jacobsen" <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52774 CVS commit: [netbsd-8] src/sys/arch/i386/conf
Date: Mon, 4 Dec 2017 19:47:05 +0000

 Module Name:	src
 Committed By:	snj
 Date:		Mon Dec  4 19:47:05 UTC 2017

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

 Log Message:
 Pull up following revision(s) (requested by martin in ticket #413):
 	sys/arch/i386/conf/GENERIC: revision 1.1171
 PR port-i386/52774: vioscsi missing in i386 kernel


 To generate a diff of this commit:
 cvs rdiff -u -r1.1156.2.6 -r1.1156.2.7 src/sys/arch/i386/conf/GENERIC

 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: bsiegert@NetBSD.org
State-Changed-When: Mon, 04 Dec 2017 20:25:25 +0000
State-Changed-Why:
Thanks everyone for fixing the issue so quickly!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

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