USB device detection problem

2017-06-25 Thread Mike Pumford
Just trying to fire up NetBSD 8-BETA on my builder machine but I've run 
into a bit of a showstopper (for me) bug in the new kernel.


On NetBSD 7-STABLE (Apr 14th) my KVM is detected as:
uhub6 at uhub1 port 6:  , class 9/0, rev 1.10/1.00, addr 1
uhub6: 4 ports with 4 removable, self powered

And then the kernel carries on an finds the keyboard and mouse 
downstream of that device.


In NetBSD 8 I get:
uhub6 at uhub1 port 6: vendor 0557 (0x557) product 8021 (0x8021), class 
9/0, rev 1.10/1.00, addr 1

uhub6: 4 ports with 4 removable, self powered


uhub6: device problem, disabling port 1

This means I have no console keyboard. Anything I can do to help track 
this down?


I've also attached full dmesg from Both 8-BETA and 7.1-STABLE.



Mike
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.

NetBSD 8.0_BETA (GENERIC) #0: Sun Jun 25 01:07:37 BST 2017

buil...@trigati.mudcovered.org.uk:/work/netbsd/8-stable/obj.amd64/sys/arch/amd64/compile/GENERIC
total memory = 16259 MB
avail memory = 15766 MB
cpu_rng: RDRAND
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
running cgd selftest aes-xts-256 aes-xts-512 done
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
ASUS All Series (System Version)
mainbus0 (root)
ACPI: RSDP 0x000F04A0 24 (v02 ALASKA)
ACPI: XSDT 0xB8DCF080 74 (v01 ALASKA A M I01072009 AMI  
00010013)
ACPI: FACP 0xB8DE18A8 00010C (v05 ALASKA A M I01072009 AMI  
00010013)
ACPI: DSDT 0xB8DCF188 01271D (v02 ALASKA A M I0006 INTL 
20120711)
ACPI: FACS 0xB9312F80 40
ACPI: APIC 0xB8DE19B8 92 (v03 ALASKA A M I01072009 AMI  
00010013)
ACPI: FPDT 0xB8DE1A50 44 (v01 ALASKA A M I01072009 AMI  
00010013)
ACPI: SSDT 0xB8DE1A98 000BEE (v01 Ther_R Ther_Rvp 1000 INTL 
20120711)
ACPI: SSDT 0xB8DE2688 000539 (v01 PmRef  Cpu0Ist  3000 INTL 
20051117)
ACPI: SSDT 0xB8DE2BC8 000B74 (v01 CpuRef CpuSsdt  3000 INTL 
20051117)
ACPI: MCFG 0xB8DE3740 3C (v01 ALASKA A M I01072009 MSFT 
0097)
ACPI: HPET 0xB8DE3780 38 (v01 ALASKA A M I01072009 AMI. 
0005)
ACPI: SSDT 0xB8DE37B8 00036D (v01 SataRe SataTabl 1000 INTL 
20120711)
ACPI: SSDT 0xB8DE3B28 005B5E (v01 SaSsdt SaSsdt   3000 INTL 
20120711)
ACPI: Executed 15 blocks of module-level executable AML code
ACPI: 6 ACPI AML tables successfully acquired and loaded
ioapic0 at mainbus0 apid 8: pa 0xfec0, version 0x20, 24 pins
cpu0 at mainbus0 apid 0
cpu0: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz, id 0x306c3
cpu0: package 0, core 0, smt 0
cpu1 at mainbus0 apid 2
cpu1: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz, id 0x306c3
cpu1: package 0, core 1, smt 0
cpu2 at mainbus0 apid 4
cpu2: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz, id 0x306c3
cpu2: package 0, core 2, smt 0
cpu3 at mainbus0 apid 6
cpu3: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz, id 0x306c3
cpu3: package 0, core 3, smt 0
cpu4 at mainbus0 apid 1
cpu4: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz, id 0x306c3
cpu4: package 0, core 0, smt 1
cpu5 at mainbus0 apid 3
cpu5: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz, id 0x306c3
cpu5: package 0, core 1, smt 1
cpu6 at mainbus0 apid 5
cpu6: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz, id 0x306c3
cpu6: package 0, core 2, smt 1
cpu7 at mainbus0 apid 7
cpu7: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz, id 0x306c3
cpu7: package 0, core 3, smt 1
acpi0 at mainbus0: Intel ACPICA 20170303
acpi0: X/RSDT: OemId , AslId 
acpi0: MCFG: segment 0, bus 0-255, address 0xe000
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFE843BC2D810 0003D3 (v01 PmRef  Cpu0Cst  3001 INTL 
20051117)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFE811D1C2810 0005AA (v01 PmRef  ApIst3000 INTL 
20051117)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFE811D0675D0 000119 (v01 PmRef  ApCst3000 INTL 
20051117)
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
hpet0 at acpi0: high precision event timer (mem 0xfed0-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
acpiec0 at acpi0 (EC0, PNP0C09): io 0x62,0x66
acpiec1 at acpi0 (H_EC, PNP0C09-1): using acpiec0
acpivga0 at acpi0 (GFX0): ACPI Display Adapter
acpiout0 at acpivga0 (DD01, 0x0100): ACPI Display Output Device
acpiout1 at acpivga0 (DD02, 0x0002): ACPI Display Output Device
acpiout2 at acpivga0 (DD03, 0x0300): ACPI Display Output Device
acpiout3 at acpivga0 (DD04, 0x0301): ACPI Display Output Device
acpiout4 at acpivga0 (DD05, 0x0302): ACPI Display Output Device
acpiout5 at acpivga0 (DD06, 0x0303): ACPI Display Output Device
acpiout6 

daily CVS update output

2017-06-25 Thread NetBSD source update

Updating src tree:
P src/libexec/ld.elf_so/headers.c
P src/share/man/man4/tc.4
P src/sys/arch/amd64/include/vmparam.h
P src/sys/arch/i386/include/vmparam.h
P src/sys/arch/mips/include/vmparam.h
P src/sys/arch/powerpc/include/vmparam.h
P src/sys/arch/riscv/include/vmparam.h
P src/sys/arch/x86/x86/pmap.c
P src/sys/dev/pci/if_wm.c
P src/sys/dev/pci/ixgbe/ixgbe.c
P src/sys/dev/pci/ixgbe/ixgbe_type.h
P src/sys/dev/sdmmc/sdhc.c
P src/sys/dev/sdmmc/sdhcreg.h
P src/sys/kern/exec_subr.c
P src/sys/net/if_llatbl.c
P src/sys/net/if_llatbl.h
P src/sys/net/rtsock.c
P src/sys/netinet/sctp_input.c
P src/sys/opencrypto/cryptosoft.c
P src/sys/uvm/uvm_param.h
P src/usr.sbin/wsfontload/wsfontload.c

Updating xsrc tree:


Killing core files:


Updating tar files:
src/top-level: collecting... replacing... done
src/bin: collecting... replacing... done
src/common: collecting... replacing... done
src/compat: collecting... replacing... done
src/crypto: collecting... replacing... done
src/dist: collecting... replacing... done
src/distrib: collecting... replacing... done
src/doc: collecting... replacing... done
src/etc: collecting... replacing... done
src/external: collecting... replacing... done
src/extsrc: collecting... replacing... done
src/games: collecting... replacing... done
src/gnu: collecting...pax: Unable to access src/gnu (No such file or directory)
pax: WARNING! These file names were not selected:
src/gnu
 done
src/include: collecting... replacing... done
src/lib: collecting... replacing... done
src/libexec: collecting... replacing... done
src/regress: collecting... replacing... done
src/rescue: collecting... replacing... done
src/sbin: collecting... replacing... done
src/share: collecting... replacing... done
src/sys: collecting... replacing... done
src/tests: collecting... replacing... done
src/tools: collecting... replacing... done
src/usr.bin: collecting... replacing... done
src/usr.sbin: collecting... replacing... done
src/config: collecting... replacing... done
src: collecting... replacing... done
xsrc/top-level: collecting... replacing... done
xsrc/external: collecting... replacing... done
xsrc/local: collecting... replacing... done
xsrc: collecting... replacing... done

Running the SUP scanner:
SUP Scan for current starting at Sat Jun 24 03:08:44 2017
SUP Scan for current completed at Sat Jun 24 03:08:59 2017
SUP Scan for mirror starting at Sat Jun 24 03:08:59 2017
SUP Scan for mirror completed at Sat Jun 24 03:12:29 2017



Updating release-6 src tree (netbsd-6):
U doc/CHANGES-6.2
U external/mit/expat/dist/AUTHORS
P external/mit/expat/dist/CMake.README
P external/mit/expat/dist/CMakeLists.txt
P external/mit/expat/dist/COPYING
P external/mit/expat/dist/Changes
P external/mit/expat/dist/MANIFEST
P external/mit/expat/dist/Makefile.in
P external/mit/expat/dist/README
P external/mit/expat/dist/configure
P external/mit/expat/dist/configure.ac
cvs update: `external/mit/expat/dist/configure.in' is no longer in the 
repository
cvs update: `external/mit/expat/dist/expat.dsw' is no longer in the repository
P external/mit/expat/dist/expat_config.h.in
U external/mit/expat/dist/run.sh.in
cvs update: `external/mit/expat/dist/amiga/Makefile' is no longer in the 
repository
cvs update: `external/mit/expat/dist/amiga/README.txt' is no longer in the 
repository
cvs update: `external/mit/expat/dist/amiga/expat.xml' is no longer in the 
repository
cvs update: `external/mit/expat/dist/amiga/expat_68k.c' is no longer in the 
repository
cvs update: `external/mit/expat/dist/amiga/expat_68k.h' is no longer in the 
repository
cvs update: `external/mit/expat/dist/amiga/expat_68k_handler_stubs.c' is no 
longer in the repository
cvs update: `external/mit/expat/dist/amiga/expat_base.h' is no longer in the 
repository
cvs update: `external/mit/expat/dist/amiga/expat_lib.c' is no longer in the 
repository
cvs update: `external/mit/expat/dist/amiga/expat_vectors.c' is no longer in the 
repository
cvs update: `external/mit/expat/dist/amiga/launch.c' is no longer in the 
repository
cvs update: `external/mit/expat/dist/amiga/include/inline4/expat.h' is no 
longer in the repository
cvs update: `external/mit/expat/dist/amiga/include/interfaces/expat.h' is no 
longer in the repository
cvs update: `external/mit/expat/dist/amiga/include/libraries/expat.h' is no 
longer in the repository
cvs update: `external/mit/expat/dist/amiga/include/proto/expat.h' is no longer 
in the repository
cvs update: `external/mit/expat/dist/bcb5/README.txt' is no longer in the 
repository
cvs update: `external/mit/expat/dist/bcb5/all_projects.bpg' is no longer in the 
repository
cvs update: `external/mit/expat/dist/bcb5/elements.bpf' is no longer in the 
repository
cvs update: `external/mit/expat/dist/bcb5/elements.bpr' is no longer in the 
repository
cvs update: `external/mit/expat/dist/bcb5/elements.mak' is no longer in the 
repository
cvs update: `external/mit/expat/dist/bcb5/expat.bpf' is no longer in the 
repository
cvs update: `external/mit/expat/dist/bcb5/expat.bpr' 

daily CVS update output

2017-06-25 Thread NetBSD source update

Updating src tree:
P src/sys/arch/acorn32/podulebus/if_ie.c
P src/sys/arch/arm/gemini/if_gpn.c
P src/sys/arch/arm/imx/imx51_ipuv3.c
P src/sys/arch/bebox/stand/boot/siop.c
P src/sys/arch/cats/conf/GENERIC
P src/sys/arch/i386/conf/kern.ldscript.Xen
P src/sys/arch/ia64/stand/ia64/ski/devicename.c
P src/sys/arch/x68k/dev/vs.c
P src/sys/arch/x68k/dev/vsvar.h
P src/sys/arch/x86/x86/pmap.c
P src/sys/dev/audio.c
P src/sys/dev/ata/ata_raid_subr.c
P src/sys/dev/hpc/hpcapm.c
P src/sys/dev/ic/am7930.c
P src/sys/dev/ieee1394/fwdev.c
P src/sys/dev/pci/mpii.c
P src/sys/dev/pci/yds.c
P src/sys/dev/pci/ydsvar.h
P src/sys/dev/pcmcia/if_malo_pcmcia.c
P src/sys/dev/ppbus/if_plip.c
P src/sys/dev/sbus/be.c
P src/sys/kern/kern_pax.c

Updating xsrc tree:


Killing core files:

Running the SUP scanner:
SUP Scan for current starting at Mon Jun 26 03:01:46 2017
SUP Scan for current completed at Mon Jun 26 03:02:06 2017
SUP Scan for mirror starting at Mon Jun 26 03:02:06 2017
SUP Scan for mirror completed at Mon Jun 26 03:05:09 2017



Updating release-6 src tree (netbsd-6):

Updating release-6 xsrc tree (netbsd-6):

Running the SUP scanner:
SUP Scan for release-6 starting at Mon Jun 26 03:07:54 2017
SUP Scan for release-6 completed at Mon Jun 26 03:08:03 2017



Updating release-7 src tree (netbsd-7):

Updating release-7 xsrc tree (netbsd-7):

Running the SUP scanner:
SUP Scan for release-7 starting at Mon Jun 26 03:10:43 2017
SUP Scan for release-7 completed at Mon Jun 26 03:10:49 2017



Updating release-8 src tree (netbsd-8):
U doc/CHANGES-8.0
P share/man/man4/siisata.4
P sys/dev/pci/mvsata_pci.c
P sys/dev/pci/pcidevs
P sys/dev/pci/pcidevs.h
P sys/dev/pci/pcidevs_data.h
P sys/dev/pci/siisata_pci.c
P sys/net/route.c

Updating release-8 xsrc tree (netbsd-8):

Running the SUP scanner:
SUP Scan for release-8 starting at Mon Jun 26 03:13:22 2017
Can't test scan file temp supscan/release-8/scan.temp for release-8
SUP: Scan for release-8 aborted at Mon Jun 26 03:13:22 2017




Updating file list:
-rw-rw-r--  1 srcmastr  netbsd  56548449 Jun 26 03:15 ls-lRA.gz


Re: Xen/i386 HEAD fails

2017-06-25 Thread Manuel Bouyer
On Sat, Jun 24, 2017 at 11:24:15PM +, co...@sdf.org wrote:
> On Sun, Jun 25, 2017 at 12:21:56AM +0200, Manuel Bouyer wrote:
> > The problem is that ddb isn't working any more so I can't get a stack trace,
> > which would be very helpfull. But I suspect the ddb problem is
> > much older than that (and is also present in netbsd-8).
> 
> fwiw ddb works fine on my (non-xen) amd64 machine.

ddb works fine on Xen/amd64 too. It's an i386 issue.

I started bissecting ...

-- 
Manuel Bouyer 
 NetBSD: 26 ans d'experience feront toujours la difference
--