Re: Supermicro X10SDV-TP8F with USB3 won't boot
Hrvoje, looks my last comment was wrong. I apologise for detracting from this important discussion. We all need support / fix for xhci(4) driver instead of disabling USB 3.0 support. I have same issue on my desktop with Asus z170-k mainboard which is based on Intel z170 chipset http://ark.intel.com/products/90591 Also my friend have Intel C236 chipset http://ark.intel.com/products/90594 and he also have same issue on board with both acpi and xhci http://www.supermicro.com/products/motherboard/Xeon/C236_C232/X11SSH-TF.cfm I will be glad to help test patches on hardware above. -- Evgeniy On Tue, May 31, 2016 at 8:32 PM, Hrvoje Popovskiwrote: > On 31.5.2016. 20:11, Evgeniy Sudyr wrote: >> Hrvoje, >> >> what about disabling ACPI and USB during boot? Does it work for you? >> >> boot -c >> disable acpi >> disable xhci >> > > Hi, > > but with this patch box is booting fine with USB2 or USB3. Without this > patch box would boot, but with USB2 only. > -- -- With regards, Eugene Sudyr
Re: Supermicro X10SDV-TP8F with USB3 won't boot
On 31.5.2016. 20:11, Evgeniy Sudyr wrote: > Hrvoje, > > what about disabling ACPI and USB during boot? Does it work for you? > > boot -c > disable acpi > disable xhci > Hi, but with this patch box is booting fine with USB2 or USB3. Without this patch box would boot, but with USB2 only.
Re: Supermicro X10SDV-TP8F with USB3 won't boot
Hrvoje, what about disabling ACPI and USB during boot? Does it work for you? boot -c disable acpi disable xhci On Tue, May 31, 2016 at 7:26 PM, Hrvoje Popovskiwrote: > On 31.5.2016. 18:44, Martin Pieuchot wrote: >> On 06/05/16(Fri) 01:13, Hrvoje Popovski wrote: >>> Hi, >>> >>> I've got >>> http://www.supermicro.com/products/motherboard/Xeon/D/X10SDV-TP8F.cfm >>> for my openbsd lab. Default BIOS settings for usb is USB3 and with that >>> settings i can't install openbsd on it, or boot installed openbsd. >>> I have installed openbsd with disabled USB3 ie. USB2, complie kernel >>> with USB_DEBUG, EHCI_DEBUG, XHCI_DEBUG, UHCI_DEBUG, enable USB3 in BIOS >>> and boot... this is screenshot.. >>> http://kosjenka.srce.hr/~hrvoje/openbsd/usb.jpg >> >> Could you please tell me if the diff below solves your problem? >> >> Index: xhci_pci.c >> === >> RCS file: /cvs/src/sys/dev/pci/xhci_pci.c,v >> retrieving revision 1.7 >> diff -u -p -r1.7 xhci_pci.c >> --- xhci_pci.c2 Nov 2015 14:53:10 - 1.7 >> +++ xhci_pci.c31 May 2016 16:36:14 - >> @@ -258,8 +258,9 @@ xhci_pci_takecontroller(struct xhci_pci_ >> eec = -1; >> >> /* Synchronise with the BIOS if it owns the controller. */ >> - for (xecp = XHCI_HCC_XECP(cparams) << 2; xecp != 0; >> - xecp = XHCI_XECP_NEXT(eec) << 2) { >> + for (xecp = XHCI_HCC_XECP(cparams) << 2; >> + xecp != 0 && XHCI_XECP_NEXT(eec); >> + xecp += XHCI_XECP_NEXT(eec) << 2) { >> eec = XREAD4(>sc, xecp); >> if (XHCI_XECP_ID(eec) != XHCI_ID_USB_LEGACY) >> continue; >> > > Hi, > > yes, with this patch i can boot this box with USB3.0 enabled. Tomorrow i > will plugin some USB3 and USB2 stuff in it and will send you logs... > > > dmesg with USB_DEBUG, EHCI_DEBUG, XHCI_DEBUG, UHCI_DEBUG, UHUB_DEBUG > and lsusb -vvv below .. > > > > OpenBSD 6.0-beta (GENERIC.MP) #2: Tue May 31 19:14:48 CEST 2016 > r...@xeond.srce.hr:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 17054769152 (16264MB) > avail mem = 16533381120 (15767MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xed9b0 (47 entries) > bios0: vendor American Megatrends Inc. version "1.0a" date 05/05/2016 > bios0: Supermicro Super Server > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S4 S5 > acpi0: tables DSDT FACP APIC FPDT FIDT SPMI MCFG UEFI DBG2 HPET WDDT > SSDT SSDT SSDT PRAD DMAR HEST BERT ERST EINJ > acpi0: wakeup devices IP2P(S4) XHCI(S4) EHC1(S4) EHC2(S4) RP07(S4) > RP08(S4) BR1A(S4) BR1B(S4) BR2A(S4) BR2B(S4) BR2C(S4) BR2D(S4) BR3A(S4) > BR3B(S4) BR3C(S4) BR3D(S4) [...] > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz, 2200.34 MHz > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,PQM,RDSEED,ADX,SMAP,PT,SENSOR,ARAT > cpu0: 256KB 64b/line 8-way L2 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges > cpu0: apic clock running at 100MHz > cpu0: mwait min=64, max=64, C-substates=0.2.1.2, IBE > cpu1 at mainbus0: apid 2 (application processor) > cpu1: Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz, 2200.00 MHz > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,PQM,RDSEED,ADX,SMAP,PT,SENSOR,ARAT > cpu1: 256KB 64b/line 8-way L2 cache > cpu1: smt 0, core 1, package 0 > cpu2 at mainbus0: apid 4 (application processor) > cpu2: Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz, 2200.00 MHz > cpu2: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,PQM,RDSEED,ADX,SMAP,PT,SENSOR,ARAT > cpu2: 256KB 64b/line 8-way L2 cache > cpu2: smt 0, core 2, package 0 > cpu3 at mainbus0: apid 6 (application processor) > cpu3: Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz, 2200.00 MHz > cpu3: >
Re: Supermicro X10SDV-TP8F with USB3 won't boot
On 31.5.2016. 18:44, Martin Pieuchot wrote: > On 06/05/16(Fri) 01:13, Hrvoje Popovski wrote: >> Hi, >> >> I've got >> http://www.supermicro.com/products/motherboard/Xeon/D/X10SDV-TP8F.cfm >> for my openbsd lab. Default BIOS settings for usb is USB3 and with that >> settings i can't install openbsd on it, or boot installed openbsd. >> I have installed openbsd with disabled USB3 ie. USB2, complie kernel >> with USB_DEBUG, EHCI_DEBUG, XHCI_DEBUG, UHCI_DEBUG, enable USB3 in BIOS >> and boot... this is screenshot.. >> http://kosjenka.srce.hr/~hrvoje/openbsd/usb.jpg > > Could you please tell me if the diff below solves your problem? > > Index: xhci_pci.c > === > RCS file: /cvs/src/sys/dev/pci/xhci_pci.c,v > retrieving revision 1.7 > diff -u -p -r1.7 xhci_pci.c > --- xhci_pci.c2 Nov 2015 14:53:10 - 1.7 > +++ xhci_pci.c31 May 2016 16:36:14 - > @@ -258,8 +258,9 @@ xhci_pci_takecontroller(struct xhci_pci_ > eec = -1; > > /* Synchronise with the BIOS if it owns the controller. */ > - for (xecp = XHCI_HCC_XECP(cparams) << 2; xecp != 0; > - xecp = XHCI_XECP_NEXT(eec) << 2) { > + for (xecp = XHCI_HCC_XECP(cparams) << 2; > + xecp != 0 && XHCI_XECP_NEXT(eec); > + xecp += XHCI_XECP_NEXT(eec) << 2) { > eec = XREAD4(>sc, xecp); > if (XHCI_XECP_ID(eec) != XHCI_ID_USB_LEGACY) > continue; > Hi, yes, with this patch i can boot this box with USB3.0 enabled. Tomorrow i will plugin some USB3 and USB2 stuff in it and will send you logs... dmesg with USB_DEBUG, EHCI_DEBUG, XHCI_DEBUG, UHCI_DEBUG, UHUB_DEBUG and lsusb -vvv below .. OpenBSD 6.0-beta (GENERIC.MP) #2: Tue May 31 19:14:48 CEST 2016 r...@xeond.srce.hr:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17054769152 (16264MB) avail mem = 16533381120 (15767MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xed9b0 (47 entries) bios0: vendor American Megatrends Inc. version "1.0a" date 05/05/2016 bios0: Supermicro Super Server acpi0 at bios0: rev 2 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP APIC FPDT FIDT SPMI MCFG UEFI DBG2 HPET WDDT SSDT SSDT SSDT PRAD DMAR HEST BERT ERST EINJ acpi0: wakeup devices IP2P(S4) XHCI(S4) EHC1(S4) EHC2(S4) RP07(S4) RP08(S4) BR1A(S4) BR1B(S4) BR2A(S4) BR2B(S4) BR2C(S4) BR2D(S4) BR3A(S4) BR3B(S4) BR3C(S4) BR3D(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz, 2200.34 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,PQM,RDSEED,ADX,SMAP,PT,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 100MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz, 2200.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,PQM,RDSEED,ADX,SMAP,PT,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz, 2200.00 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,PQM,RDSEED,ADX,SMAP,PT,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz, 2200.00 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,PQM,RDSEED,ADX,SMAP,PT,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2
Re: Supermicro X10SDV-TP8F with USB3 won't boot
On 06/05/16(Fri) 01:13, Hrvoje Popovski wrote: > Hi, > > I've got > http://www.supermicro.com/products/motherboard/Xeon/D/X10SDV-TP8F.cfm > for my openbsd lab. Default BIOS settings for usb is USB3 and with that > settings i can't install openbsd on it, or boot installed openbsd. > I have installed openbsd with disabled USB3 ie. USB2, complie kernel > with USB_DEBUG, EHCI_DEBUG, XHCI_DEBUG, UHCI_DEBUG, enable USB3 in BIOS > and boot... this is screenshot.. > http://kosjenka.srce.hr/~hrvoje/openbsd/usb.jpg Could you please tell me if the diff below solves your problem? Index: xhci_pci.c === RCS file: /cvs/src/sys/dev/pci/xhci_pci.c,v retrieving revision 1.7 diff -u -p -r1.7 xhci_pci.c --- xhci_pci.c 2 Nov 2015 14:53:10 - 1.7 +++ xhci_pci.c 31 May 2016 16:36:14 - @@ -258,8 +258,9 @@ xhci_pci_takecontroller(struct xhci_pci_ eec = -1; /* Synchronise with the BIOS if it owns the controller. */ - for (xecp = XHCI_HCC_XECP(cparams) << 2; xecp != 0; - xecp = XHCI_XECP_NEXT(eec) << 2) { + for (xecp = XHCI_HCC_XECP(cparams) << 2; + xecp != 0 && XHCI_XECP_NEXT(eec); + xecp += XHCI_XECP_NEXT(eec) << 2) { eec = XREAD4(>sc, xecp); if (XHCI_XECP_ID(eec) != XHCI_ID_USB_LEGACY) continue;
Re: 'schizo0: safari error' on Sun blade 1000
On Tue, May 31, 2016 at 01:35:22PM +0200, Mark Kettenis wrote: > > # reboot > > schizo0: safari error > > ERRLOG=10 > > UE_AFSR=800010050 > > UE_AFAR=400 > > CE_AFSR=4867 > > CE_AFAR=319d8780 > > Can you please double-check the numbers here? Any mistakes made by > the OCR software here could send me in the wrong direction. I confirm that these numbers are correct. And I have uploaded the pics here: http://theunixzoo.co.uk/random/crash1.jpg http://theunixzoo.co.uk/random/crash2.jpg -- Best Regards Edd Barrett http://www.theunixzoo.co.uk
Re: 'schizo0: safari error' on Sun blade 1000
> Date: Tue, 31 May 2016 09:18:13 +0100 > From: Edd Barrett> > I have a sun blade 1000 which I use (infrequently) for testing stuff big > endian. Recently it has started locking up with the message: > > schizo0: safari error > > Sometimes that is all that is printed. Sometimes it prints more stuff > (end of report). In the former case, you don't get ddb, in the latter > you do. Either way, I can't determine what event triggers the crash. > Sometimes it happens during boot, other times, after several minutes of > uptime. > > I think the hardware is OK. 'test all' in the eeprom doesn't suggest anything > is wrong. > > I've tried backing out: > http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/sparc64/dev/schizo.c.diff?r1=1.63=1.64 > > Sadly, this made no difference. > > Here's a more verbose crash (converted from a picture of my screen to text > using OCR, so beware mistakes): > > # reboot > schizo0: safari error > ERRLOG=10 > UE_AFSR=800010050 > UE_AFAR=400 > CE_AFSR=4867 > CE_AFAR=319d8780 Can you please double-check the numbers here? Any mistakes made by the OCR software here could send me in the wrong direction.