Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: HEADS UP: Merging drm update
Hi,
Ryo ONODERA <ryo%tetera.org@localhost> writes:
> Hi,
>
> Taylor R Campbell <riastradh%NetBSD.org@localhost> writes:
>
>>> Date: Thu, 23 Dec 2021 14:56:19 +0000
>>> From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
>>>
>>> I'm wondering whether the two bus_space_maps in intel_opregion_setup
>>> overlap, and whether one needs to be a bus_space_subregion or
>>> something.
>>
>> Never mind, that's a red herring and obviously not what's happening
>> here.
>>
>> Maybe it's bus_space_alloc that's taking the address, not
>> bus_space_map or bus_space_reserve at all? Can you put the same
>> db_stacktrace treatment into extent_alloc_subregion1? Maybe every
>> time an extent_region is inserted into the list or every time anything
>> writes to er_start, print its address, start, end, and stack trace?
>
> I will add db_stacktrace() to extent_alloc_subregion1()
> not to extent_alloc_subregion().
> Please give me some minutes.
I have applied this patch:
Index: sys/kern/subr_extent.c
===================================================================
RCS file: /cvsroot/src/sys/kern/subr_extent.c,v
retrieving revision 1.89
diff -u -r1.89 subr_extent.c
--- sys/kern/subr_extent.c 15 Aug 2019 09:04:22 -0000 1.89
+++ sys/kern/subr_extent.c 23 Dec 2021 17:05:00 -0000
@@ -51,6 +51,8 @@
#include <uvm/uvm_extern.h>
+#include <ddb/ddb.h>
+
#elif defined(_EXTENT_TESTING)
/*
@@ -357,6 +359,12 @@
extent_insert_and_optimize(struct extent *ex, u_long start, u_long size,
int flags, struct extent_region *after, struct extent_region *rp)
{
+#if 1
+ if (start <= 0x63ec5018 && 0x63ec5018 < start + size) {
+ printf("extent_insert_and_optimize: Found!!! start=0x%lx, size=0x%lx\n", start, size);
+ db_stacktrace();
+ }
+#endif
struct extent_region *nextr;
int appended = 0;
@@ -461,6 +469,13 @@
int
extent_alloc_region(struct extent *ex, u_long start, u_long size, int flags)
{
+#if 1
+ printf("extent_alloc_region handles addr=0x%lx, size=0x%lx\n", start, size);
+ if (start <= 0x63ec5018 && 0x63ec5018 < start + size) {
+ printf("extent_alloc_region: Found!!! start=0x%lx, size=0x%lx\n", start, size);
+ db_stacktrace();
+ }
+#endif
struct extent_region *rp, *last, *myrp;
u_long end = start + (size - 1);
int error;
@@ -555,6 +570,7 @@
* Check for a conflict.
*/
if (rp->er_end >= start) {
+ printf("extent_alloc_region: conflict: reserved: rp->er_start=0x%lx to rp->er_end=0x%lx, try: start=0x%lx to end=0x%lx\n", rp->er_start, rp->er_end, start, end);
/*
* We conflict. If we can (and want to) wait,
* do so.
@@ -619,6 +635,13 @@
u_long size, u_long alignment, u_long skew, u_long boundary,
int flags, u_long *result)
{
+#if 1
+ if (substart <= 0x63ec5018 && 0x63ec5018 < subend) {
+ printf("extent_alloc_subregion1: Found!!! substart=0x%lx, subend=0x%lx, size=0x%lx\n", substart, subend, size);
+ db_stacktrace();
+ }
+#endif
+
struct extent_region *rp, *myrp, *last, *bestlast;
u_long newstart, newend, exend, beststart, bestovh, ovh;
u_long dontcross;
@@ -992,7 +1015,6 @@
extent_alloc_subregion(struct extent *ex, u_long start, u_long end, u_long size,
u_long alignment, u_long boundary, int flags, u_long *result)
{
-
return (extent_alloc_subregion1(ex, start, end, size, alignment,
0, boundary, flags, result));
}
Index: sys/external/bsd/drm2/dist/drm/i915/display/intel_opregion.c
===================================================================
RCS file: /cvsroot/src/sys/external/bsd/drm2/dist/drm/i915/display/intel_opregion.c,v
retrieving revision 1.4
diff -u -r1.4 intel_opregion.c
--- sys/external/bsd/drm2/dist/drm/i915/display/intel_opregion.c 19 Dec 2021 11:49:11 -0000 1.4
+++ sys/external/bsd/drm2/dist/drm/i915/display/intel_opregion.c 23 Dec 2021 17:05:01 -0000
@@ -927,6 +927,7 @@
int intel_opregion_setup(struct drm_i915_private *dev_priv)
{
+ printf("Enter intel_opregion_setup\n");
struct intel_opregion *opregion = &dev_priv->opregion;
struct pci_dev *pdev = dev_priv->drm.pdev;
u32 asls, mboxes;
@@ -953,11 +954,15 @@
#ifdef __NetBSD__
opregion->bst = pdev->pd_pa.pa_memt;
+ printf("intel_opregion_setup: asls=0x%x\n", asls);
err = -bus_space_map(opregion->bst, asls, OPREGION_SIZE,
BUS_SPACE_MAP_LINEAR|BUS_SPACE_MAP_CACHEABLE,
&opregion->asls_bsh);
if (err) {
DRM_DEBUG_DRIVER("Failed to map opregion: %d\n", err);
+#if 1
+ panic("Failed to map opregion: %d\n", err);
+#endif
return err;
}
base = bus_space_vaddr(opregion->bst, opregion->asls_bsh);
@@ -1035,6 +1040,7 @@
}
#ifdef __NetBSD__
+ printf("intel_opregion_setup: rvda=0x%lx\n", rvda);
if (bus_space_map(opregion->bst, rvda,
opregion->asle->rvds,
BUS_SPACE_MAP_LINEAR|BUS_SPACE_MAP_CACHEABLE,
And with this patch, I have gotten the following dmesg:
This has no bus_space_map and extent_alloc_subregion1...
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
2018, 2019, 2020, 2021 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 9.99.93 (DTRACE7) #61: Fri Dec 24 01:47:21 JST 2021
ryoon@brownie:/usr/world/9.99/amd64/obj/sys/arch/amd64/compile/DTRACE7
total memory = 15961 MB
avail memory = 15405 MB
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
efi: systbl at pa 5697d018
mainbus0 (root)
ACPI: RSDP 0x0000000063FFE014 000024 (v02 DELL )
ACPI: XSDT 0x0000000063F9C188 0000F4 (v01 DELL Dell Inc 20170001 ??LL 20160422)
ACPI: FACP 0x0000000063FF6000 000114 (v06 DELL Dell Inc 20170001 ??LL 20160422)
ACPI: DSDT 0x0000000063FB3000 03F8DE (v02 DELL Dell Inc 20170001 ??LL 20160422)
ACPI: FACS 0x0000000063EDF000 000040
ACPI: SSDT 0x0000000063FFB000 001B61 (v02 CpuRef CpuSsdt 00003000 INTL 20180927)
ACPI: SSDT 0x0000000063FF7000 003C64 (v02 INTEL DptfTabl 00001000 INTL 20180927)
ACPI: HPET 0x0000000063FF5000 000038 (v01 DELL Dell Inc 20170001 ??LL 20160422)
ACPI: APIC 0x0000000063FF4000 00012C (v03 DELL Dell Inc 20170001 ??LL 20160422)
ACPI: MCFG 0x0000000063FF3000 00003C (v01 DELL Dell Inc 20170001 ??LL 20160422)
ACPI: SSDT 0x0000000063FB2000 0008D9 (v02 DELL DellRtd3 00001000 INTL 20180927)
ACPI: NHLT 0x0000000063FB1000 00002D (v00 DELL Dell Inc 20170001 ??LL 20160422)
ACPI: SSDT 0x0000000063FB0000 000CB8 (v02 DELL UsbCTabl 00001000 INTL 20180927)
ACPI: SSDT 0x0000000063FAF000 000612 (v02 DELL Tpm2Tabl 00001000 INTL 20180927)
ACPI: TPM2 0x0000000063FAE000 000034 (v04 DELL Dell Inc 20170001 ??LL 20160422)
ACPI: LPIT 0x0000000063FAD000 000094 (v01 DELL Dell Inc 20170001 ??LL 20160422)
ACPI: SSDT 0x0000000063FAC000 000B75 (v02 DELL PtidDevc 00001000 INTL 20180927)
ACPI: SSDT 0x0000000063FAB000 000FBB (v02 DELL TbtTypeC 00000000 INTL 20180927)
ACPI: DBGP 0x0000000063FAA000 000034 (v01 DELL Dell Inc 20170001 ??LL 20160422)
ACPI: DBG2 0x0000000063FA9000 000054 (v00 DELL Dell Inc 20170001 ??LL 20160422)
ACPI: SLIC 0x0000000063FA8000 000176 (v03 DELL CBX3 06222004 MSFT 00010013)
ACPI: BOOT 0x0000000063FA7000 000028 (v01 DELL CBX3 20170001 ??LL 20160422)
ACPI: MSDM 0x0000000063FA6000 000055 (v03 DELL CBX3 06222004 AMI 00010013)
ACPI: SSDT 0x0000000063FA4000 001554 (v02 SaSsdt SaSsdt 00003000 INTL 20180927)
ACPI: SSDT 0x0000000063F9D000 006C63 (v02 INTEL TcssSsdt 00001000 INTL 20180927)
ACPI: DMAR 0x0000000063FFD000 0000B0 (v02 INTEL Dell Inc 00000002 01000013)
ACPI: SSDT 0x0000000063F9B000 000BE6 (v02 DELL xh_Dell_ 00000000 INTL 20180927)
ACPI: SSDT 0x0000000063F9A000 000156 (v02 Dell ADebTabl 00001000 INTL 20180927)
ACPI: BGRT 0x0000000063F99000 000038 (v01 DELL Dell Inc 20170001 ??LL 20160422)
ACPI: FPDT 0x0000000063F98000 000034 (v01 DELL Dell Inc 20170001 ??LL 20160422)
ACPI: 12 ACPI AML tables successfully acquired and loaded
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 120 pins
x2APIC available but disabled by DMAR table
cpu0 at mainbus0 apid 0
cpu0: Use lfence to serialize rdtsc
cpu0: CPU base freq 1500000000 Hz
cpu0: CPU max freq 3900000000 Hz
cpu0: TSC freq CPUID 1497600000 Hz
cpu0: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz, id 0x706e5
cpu0: node 0, package 0, core 0, smt 0
cpu1 at mainbus0 apid 2
cpu1: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz, id 0x706e5
cpu1: node 0, package 0, core 1, smt 0
cpu2 at mainbus0 apid 4
cpu2: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz, id 0x706e5
cpu2: node 0, package 0, core 2, smt 0
cpu3 at mainbus0 apid 6
cpu3: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz, id 0x706e5
cpu3: node 0, package 0, core 3, smt 0
cpu4 at mainbus0 apid 1
cpu4: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz, id 0x706e5
cpu4: node 0, package 0, core 0, smt 1
cpu5 at mainbus0 apid 3
cpu5: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz, id 0x706e5
cpu5: node 0, package 0, core 1, smt 1
cpu6 at mainbus0 apid 5
cpu6: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz, id 0x706e5
cpu6: node 0, package 0, core 2, smt 1
cpu7 at mainbus0 apid 7
cpu7: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz, id 0x706e5
cpu7: node 0, package 0, core 3, smt 1
extent_alloc_region handles addr=0x0, size=0x10
extent_alloc_region handles addr=0xc0, size=0x20
extent_alloc_region handles addr=0x81, size=0xf
acpi0 at mainbus0: Intel ACPICA 20211217
acpi0: X/RSDT: OemId <DELL ,Dell Inc,20170001>, AslId <<2147483524><2147483525>LL,20160422>
acpi0: MCFG: segment 0, bus 0-255, address 0x00000000c0000000
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFEF0A01C2B008 000394 (v02 PmRef Cpu0Cst 00003001 INTL 20180927)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFEF069629F808 000437 (v02 PmRef Cpu0Ist 00003000 INTL 20180927)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFEF069624A508 0000F4 (v02 PmRef Cpu0Psd 00003000 INTL 20180927)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFEF0696290808 0005FC (v02 PmRef ApIst 00003000 INTL 20180927)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFEF0696325008 000AB0 (v02 PmRef ApPsd 00003000 INTL 20180927)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFEF0A01C2B408 00030A (v02 PmRef ApCst 00003000 INTL 20180927)
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
extent_alloc_region handles addr=0xfed00000, size=0x400
hpet0 at acpi0extent_alloc_region handles addr=0xfed00000, size=0x400
: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 19200000 Hz quality 2000
acpiec0 at acpi0 (ECDV, PNP0C09-0): io 0x930,0x934
extent_alloc_region handles addr=0x930, size=0x1
extent_alloc_region handles addr=0x934, size=0x1
acpivga0 at acpi0 (GFX0): ACPI Display Adapter
acpiout0 at acpivga0 (CRT, 0x0100): ACPI Display Output Device
acpiout1 at acpivga0 (LCD, 0x0400): ACPI Display Output Device
acpiout1: brightness levels: [5-38,40-43,45-47,49-50,52-53,55,57,59-60,62,64,66,68,70,72,74,77,79-81,84,86,89,92,95,97,100]
acpiout2 at acpivga0 (DVI, 0x0302): ACPI Display Output Device
acpiout3 at acpivga0 (DVI2, 0x0303): ACPI Display Output Device
acpiout4 at acpivga0 (DVI3, 0x0304): ACPI Display Output Device
acpiout5 at acpivga0 (DP, 0x0300): ACPI Display Output Device
acpiout6 at acpivga0 (DP2, 0x0301): ACPI Display Output Device
acpiout7 at acpivga0 (DP3, 0x0305): ACPI Display Output Device
acpiout8 at acpivga0 (IPUA, 0x3480): ACPI Display Output Device
acpivga0: connected output devices:
acpivga0: 0x0100 (acpiout0): Ext. Monitor, head 0
acpivga0: 0x0400 (acpiout1): Unknown Output Device, head 0
acpivga0: 0x0302 (acpiout2): Unknown Output Device, head 0
acpivga0: 0x0303 (acpiout3): Unknown Output Device, head 0
acpivga0: 0x0300 (acpiout5): Unknown Output Device, head 0
acpivga0: 0x0301 (acpiout6): Unknown Output Device, head 0
acpivga0: 0x0304 (acpiout4): Unknown Output Device, head 0
acpivga0: 0x0305 (acpiout7): Unknown Output Device, head 0
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
extent_alloc_region handles addr=0x40, size=0x4
TMEM (INT3403) at acpi0 not configured
TSKN (INT3403) at acpi0 not configured
TVR (INT3403) at acpi0 not configured
TAMB (INT3403) at acpi0 not configured
THP (INT3403) at acpi0 not configured
pckbc1 at acpi0 (PS2K, DLLK096D) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (PS2M, DLL096D) (aux port): irq 12
TPL1 (WCOM4943) at acpi0 not configured
TPD0 (DLL096D) at acpi0 not configured
DOCK (ABCD0000) at acpi0 not configured
LNK2 (OVTIF860) at acpi0 not configured
AWAC (ACPI000E) at acpi0 not configured
GPI0 (INT3455) at acpi0 not configured
acpiwmi0 at acpi0 (WMTF, PNP0C14-TBFP): ACPI WMI Interface
acpiwmibus at acpiwmi0 not configured
acpiwmi1 at acpi0 (WFDE, PNP0C14-SampleDev): ACPI WMI Interface
acpiwmibus at acpiwmi1 not configured
acpiwmi2 at acpi0 (WFTE, PNP0C14-TestDev): ACPI WMI Interface
acpiwmibus at acpiwmi2 not configured
PEPD (INT33A1) at acpi0 not configured
acpiwmi3 at acpi0 (AMW0, PNP0C14-0): ACPI WMI Interface
wmidell0 at acpiwmi3: Dell WMI mappings version 1
acpiwmi4 at acpi0 (AMW2, PNP0C14-WBAT): ACPI WMI Interface
acpiwmibus at acpiwmi4 not configured
acpiwmi5 at acpi0 (AMW4, PNP0C14-WAPW): ACPI WMI Interface
acpiwmibus at acpiwmi5 not configured
acpiwmi6 at acpi0 (DIAG, PNP0C14-WMDG): ACPI WMI Interface
acpiwmi6: autoconfiguration error: failed to evaluate _WDG: AE_NOT_FOUND
acpiwmi7 at acpi0 (AMWV, PNP0C14-ADDV): ACPI WMI Interface
acpiwmibus at acpiwmi7 not configured
acpilid0 at acpi0 (LID0, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PBTN, PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (SBTN, PNP0C0E): ACPI Sleep Button
acpiacad0 at acpi0 (AC, ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (BAT0, PNP0C0A-1): ACPI Battery
HIDD (INT33D5) at acpi0 not configured
IETM (INT3400) at acpi0 not configured
UBTC (USBC000) at acpi0 not configured
tpm0 at acpi0 (TPM, STM7464): mem 0xfed40000-0xfed44fff
extent_alloc_region handles addr=0xfed40000, size=0x5000
tpm0: device 0x0000104a rev 0x4e
ACPI: Enabled 5 GPEs in block 00 to 7F
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pms0: Synaptics touchpad version 9.16
pms0: Extended W mode, Palm detect, One button click pad, Multi-finger Report, Multi-finger
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1extent_alloc_region handles addr=0xc0000000, size=0x100000
extent_alloc_region handles addr=0xc0000000, size=0x1000
extent_alloc_region handles addr=0xc0010000, size=0x1000
extent_alloc_region handles addr=0xc0020000, size=0x1000
extent_alloc_region handles addr=0xc0038000, size=0x1000
extent_alloc_region handles addr=0xc003a000, size=0x1000
extent_alloc_region handles addr=0xc0068000, size=0x1000
extent_alloc_region handles addr=0xc006a000, size=0x1000
extent_alloc_region handles addr=0xc006b000, size=0x1000
extent_alloc_region handles addr=0xc0090000, size=0x1000
extent_alloc_region handles addr=0xc00a0000, size=0x1000
extent_alloc_region handles addr=0xc00a2000, size=0x1000
extent_alloc_region handles addr=0xc00a3000, size=0x1000
extent_alloc_region handles addr=0xc00a8000, size=0x1000
extent_alloc_region handles addr=0xc00a9000, size=0x1000
extent_alloc_region handles addr=0xc00b0000, size=0x1000
extent_alloc_region handles addr=0xc00e8000, size=0x1000
extent_alloc_region handles addr=0xc00ef000, size=0x1000
extent_alloc_region handles addr=0xc00f0000, size=0x1000
extent_alloc_region handles addr=0xc00f8000, size=0x1000
extent_alloc_region handles addr=0xc00fb000, size=0x1000
extent_alloc_region handles addr=0xc00fc000, size=0x1000
extent_alloc_region handles addr=0xc00fd000, size=0x1000
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: Intel product 8a12 (rev. 0x03)
extent_alloc_region handles addr=0x3c0, size=0x10
extent_alloc_region handles addr=0x3b0, size=0x10
extent_alloc_region handles addr=0xa0000, size=0x20000
i915drmkms0 at pci0 dev 2 function 0: Intel product 8a52 (rev. 0x07)
Intel product 8a03 (miscellaneous DASP, revision 0x03) at pci0 dev 4 function 0 not configured
ppb0 at pci0 dev 7 function 0: Intel product 8a1d (rev. 0x03)
ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x4 @ 2.5GT/s
pci1 at ppb0 bus 1extent_alloc_region handles addr=0xc0100000, size=0x100000
pci1: i/o space, memory space enabled
ppb1 at pci0 dev 7 function 2: Intel product 8a21 (rev. 0x03)
ppb1: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x4 @ 2.5GT/s
pci2 at ppb1 bus 44extent_alloc_region handles addr=0xc2c00000, size=0x100000
pci2: i/o space, memory space enabled
xhci0 at pci0 dev 13 function 0: Intel product 8a13 (rev. 0x03)
extent_alloc_region handles addr=0x603db90000, size=0x10000
xhci0: 64-bit DMA
xhci0: interrupting at msi0 vec 0
xhci0: xHCI version 1.10
usb0 at xhci0: USB revision 3.1
usb1 at xhci0: USB revision 2.0
Intel product 8a17 (miscellaneous system, revision 0x03) at pci0 dev 13 function 2 not configured
Intel product 8a0d (miscellaneous system, revision 0x03) at pci0 dev 13 function 3 not configured
Intel 495 Series ISH (serial communications, generic XT-compat, revision 0x30) at pci0 dev 18 function 0 not configured
xhci1 at pci0 dev 20 function 0: Intel 495 Series USB 3.2 Gen 2x1 xHCI (rev. 0x30)
extent_alloc_region handles addr=0x603db80000, size=0x10000
xhci1: 64-bit DMA
xhci1: interrupting at msi1 vec 0
xhci1: xHCI version 1.10
usb2 at xhci1: USB revision 3.1
usb3 at xhci1: USB revision 2.0
Intel 495 Series Shared SRAM (RAM memory, revision 0x30) at pci0 dev 20 function 2 not configured
Intel product 34f0 (miscellaneous network, revision 0x30) at pci0 dev 20 function 3 not configured
dwiic0 at pci0 dev 21 function 0extent_alloc_region handles addr=0x0, size=0x1000
extent_alloc_region: conflict: reserved: rp->er_start=0x0 to rp->er_end=0x9dfff, try: start=0x0 to end=0xfff
autoconfiguration error: : can't map register space. ret=1
dwiic1 at pci0 dev 21 function 1extent_alloc_region handles addr=0x0, size=0x1000
extent_alloc_region: conflict: reserved: rp->er_start=0x0 to rp->er_end=0x9dfff, try: start=0x0 to end=0xfff
autoconfiguration error: : can't map register space. ret=1
Intel 495 Series HECI 1 (miscellaneous communications, revision 0x30) at pci0 dev 22 function 0 not configured
ppb2 at pci0 dev 29 function 0: Intel 495 Series PCIe Root Port 9 (rev. 0x30)
ppb2: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x4 @ 8.0GT/s
pci3 at ppb2 bus 87extent_alloc_region handles addr=0xc5700000, size=0x100000
extent_alloc_region handles addr=0xc5700000, size=0x1000
pci3: i/o space, memory space enabled
nvme0 at pci3 dev 0 function 0: Toshiba product 011a (rev. 0x00)
extent_alloc_region handles addr=0x8cc00000, size=0x2000
nvme0: NVMe 1.3
nvme0: for admin queue interrupting at msix2 vec 0
nvme0: KXG60ZNV1T02 NVMe KIOXIA 1024GB, firmware 10604106, serial 407S10Z0T83M
nvme0: for io queue 1 interrupting at msix2 vec 1 affinity to cpu0
nvme0: for io queue 2 interrupting at msix2 vec 2 affinity to cpu1
nvme0: for io queue 3 interrupting at msix2 vec 3 affinity to cpu2
nvme0: for io queue 4 interrupting at msix2 vec 4 affinity to cpu3
nvme0: for io queue 5 interrupting at msix2 vec 5 affinity to cpu4
nvme0: for io queue 6 interrupting at msix2 vec 6 affinity to cpu5
nvme0: for io queue 7 interrupting at msix2 vec 7 affinity to cpu6
nvme0: for io queue 8 interrupting at msix2 vec 8 affinity to cpu7
ld0 at nvme0 nsid 1
ld0: 953 GB, 124519 cyl, 255 head, 63 sec, 512 bytes/sect x 2000409264 sectors
ppb3 at pci0 dev 29 function 7: Intel 495 Series PCIe Root Port 16 (rev. 0x30)
ppb3: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 8.0GT/s
ppb3: link is x1 @ 5.0GT/s
pci4 at ppb3 bus 88extent_alloc_region handles addr=0xc5800000, size=0x100000
extent_alloc_region handles addr=0xc5800000, size=0x1000
pci4: i/o space, memory space enabled
rtsx0 at pci4 dev 0 function 0: Realtek Semiconductor RTS525A PCI-E Card Reader (rev. 0x01)
extent_alloc_region handles addr=0x8c200000, size=0x1000
rtsx0: interrupting at msi3 vec 0
sdmmc0 at rtsx0
Intel 495 Series UART 0 (miscellaneous communications, revision 0x30) at pci0 dev 30 function 0 not configured
pcib0 at pci0 dev 31 function 0: Intel 495 Series U Premium eSPI (rev. 0x30)
hdaudio0 at pci0 dev 31 function 3: HD Audio Controller
extent_alloc_region handles addr=0x603dbb0000, size=0x4000
hdaudio0: interrupting at msi4 vec 0
hdaudio0: HDA ver. 1.0, OSS 9, ISS 7, BSS 0, SDO 1, 64-bit
hdafg0 at hdaudio0: vendor 10ec product 0289
hdafg0: DAC00 2ch: Speaker [Built-In]
hdafg0: DAC01 2ch: HP Out [Jack]
hdafg0: ADC02 2ch: Mic In [Built-In]
hdafg0: 2ch/2ch 44100Hz 48000Hz 96000Hz 192000Hz PCM16 PCM20 PCM24
audio0 at hdafg0: playback, capture, full duplex, independent
audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
spkr0 at audio0: PC Speaker (synthesized)
wsbell at spkr0 not configured
hdafg1 at hdaudio0: vendor 8086 product 280f
hdafg1: DP00 8ch: Digital Out [Jack]
hdafg1: 8ch/0ch 48000Hz PCM16*
ichsmb0 at pci0 dev 31 function 4: Intel 495 Series SMBus (rev. 0x30)
extent_alloc_region handles addr=0xefa0, size=0x20
ichsmb0: interrupting at ioapic0 pin 16
iic0 at ichsmb0: I2C bus
Intel 495 Series SPI (FLASH) (miscellaneous serial bus, revision 0x30) at pci0 dev 31 function 5 not configured
isa0 at pcib0
extent_alloc_region handles addr=0x378, size=0x4
extent_alloc_region handles addr=0x278, size=0x4
extent_alloc_region handles addr=0x3f8, size=0x8
extent_alloc_region handles addr=0x2f8, size=0x8
extent_alloc_region handles addr=0x60, size=0x1
extent_alloc_region: conflict: reserved: rp->er_start=0x60 to rp->er_end=0x60, try: start=0x60 to end=0x60
extent_alloc_region handles addr=0x40, size=0x4
extent_alloc_region: conflict: reserved: rp->er_start=0x40 to rp->er_end=0x43, try: start=0x40 to end=0x43
extent_alloc_region handles addr=0x1f0, size=0x8
extent_alloc_region handles addr=0x3f6, size=0x1
extent_alloc_region handles addr=0x170, size=0x8
extent_alloc_region handles addr=0x376, size=0x1
extent_alloc_region handles addr=0x61, size=0x1
pcppi0 at isa0 port 0x61extent_alloc_region handles addr=0x61, size=0x1
spkr1 at pcppi0: PC Speaker
wsbell at spkr1 not configured
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
attimer1: attached to pcppi0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: FFH, lat 1 us, pow 1000 mW
acpicpu0: C2: FFH, lat 253 us, pow 200 mW
acpicpu0: C3: FFH, lat 1048 us, pow 200 mW
acpicpu0: P0: FFH, lat 10 us, pow 15000 mW, 1501 MHz, turbo boost
acpicpu0: P1: FFH, lat 10 us, pow 15000 mW, 1500 MHz
acpicpu0: P2: FFH, lat 10 us, pow 13791 mW, 1400 MHz
acpicpu0: P3: FFH, lat 10 us, pow 12607 mW, 1300 MHz
acpicpu0: P4: FFH, lat 10 us, pow 11593 mW, 1200 MHz
acpicpu0: P5: FFH, lat 10 us, pow 10456 mW, 1100 MHz
acpicpu0: P6: FFH, lat 10 us, pow 9343 mW, 1000 MHz
acpicpu0: P7: FFH, lat 10 us, pow 8396 mW, 900 MHz
acpicpu0: P8: FFH, lat 10 us, pow 7329 mW, 800 MHz
acpicpu0: P9: FFH, lat 10 us, pow 6286 mW, 700 MHz
acpicpu0: P10: FFH, lat 10 us, pow 5401 mW, 600 MHz
acpicpu0: P11: FFH, lat 10 us, pow 4402 mW, 500 MHz
acpicpu0: P12: FFH, lat 10 us, pow 3427 mW, 400 MHz
acpicpu0: T0: I/O, lat 1 us, pow 0 mW, 100 %
acpicpu0: T1: I/O, lat 1 us, pow 0 mW, 88 %
acpicpu0: T2: I/O, lat 1 us, pow 0 mW, 76 %
acpicpu0: T3: I/O, lat 1 us, pow 0 mW, 64 %
acpicpu0: T4: I/O, lat 1 us, pow 0 mW, 52 %
acpicpu0: T5: I/O, lat 1 us, pow 0 mW, 40 %
acpicpu0: T6: I/O, lat 1 us, pow 0 mW, 28 %
acpicpu0: T7: I/O, lat 1 us, pow 0 mW, 16 %
coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=100
acpicpu1 at cpu1: ACPI CPU
coretemp1 at cpu1: thermal sensor, 1 C resolution, Tjmax=100
acpicpu2 at cpu2: ACPI CPU
coretemp2 at cpu2: thermal sensor, 1 C resolution, Tjmax=100
acpicpu3 at cpu3: ACPI CPU
coretemp3 at cpu3: thermal sensor, 1 C resolution, Tjmax=100
acpicpu4 at cpu4: ACPI CPU
acpicpu5 at cpu5: ACPI CPU
acpicpu6 at cpu6: ACPI CPU
acpicpu7 at cpu7: ACPI CPU
cpu0: CPU base freq 1500000000 Hz
cpu0: CPU max freq 3900000000 Hz
cpu0: TSC freq CPUID 1497600000 Hz
cpu0: TSC freq calibrated 1497603000 Hz
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 1497603000 Hz quality 3000
uhub0 at usb0: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0
uhub0: 4 ports with 4 removable, self powered
uhub1 at usb1: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0
uhub1: 1 port with 1 removable, self powered
uhub2 at usb2: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0
uhub2: 6 ports with 6 removable, self powered
uhub3 at usb3: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0
uhub3: 12 ports with 12 removable, self powered
ld0: GPT GUID: 23b7b136-4606-4ecc-b678-d29d561073b8
dk0 at ld0: "EFI", 262144 blocks at 2048, type: msdos
dk1 at ld0: "ROOT", 104857600 blocks at 266240, type: ffs
dk2 at ld0: "SWAP", 33554432 blocks at 105125888, type: swap
dk3 at ld0: "USR", 838860800 blocks at 138682368, type: ffs
dk4 at ld0: "HOME", 1022864015 blocks at 977545216, type: ffs
IPsec: Initialized Security Association Processing.
aes: Intel AES-NI
chacha: x86 SSE2 ChaCha
uhub4 at uhub3 port 4: VIA Labs, Inc. (0x2109) USB2.0 Hub (0x2813), class 9/0, rev 2.10/90.11, addr 1
uhub4: single transaction translator
uhub4: 4 ports with 4 removable, self powered
uhub5 at uhub0 port 3: VIA Labs, Inc. (0x2109) USB3.0 Hub (0x0813), class 9/0, rev 3.00/90.11, addr 1
uhub5: 4 ports with 4 removable, self powered
acpibat0: LGC-LGC6.5 LiP rechargeable battery
acpibat0: granularity: low->warn 0.067 Ah, warn->full 0.067 Ah
acpiacad0: AC adapter online.
acpilid0: lid opened.
uvideo0 at uhub3 port 9 configuration 1 interface 0: CN0PW36V8LG0003GA8AWA00 (0x0bda) Integrated_Webcam_HD (0x58fe), rev 2.01/96.28, addr 2
uvideo1 at uhub3 port 9 configuration 1 interface 2: CN0PW36V8LG0003GA8AWA00 (0x0bda) Integrated_Webcam_HD (0x58fe), rev 2.01/96.28, addr 2
ubt0 at uhub3 port 10
ubt0: vendor 8087 (0x8087) product 0026 (0x0026), rev 2.01/0.02, addr 3
ure0 at uhub5 port 2
ure0: Realtek (0x0bda) USB 10/100/1000 LAN (0x8153), rev 3.00/30.00, addr 2
ure0: RTL8153 ver 5c30
rgephy0 at ure0 phy 0: RTL8251 1000BASE-T media interface, rev. 0
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
ure0: Ethernet address 00:12:d4:09:04:fb
WARNING: 3 errors while detecting hardware; check system log.
boot device: ld0
root on dk1 dumps on dk2
root file system type: ffs
kern.module.path=/stand/amd64/9.99.93/modules
Enter i915drmkms_attach_real
Enter i915_driver_probe
WARNING: clock lost 78 days
extent_alloc_region handles addr=0x603c078000, size=0x1000
WARNING: using filesystem time
extent_alloc_region handles addr=0x603c000000, size=0x200000
WARNING: CHECK AND RESET THE DATE!
Enter i915_driver_hw_probe
extent_alloc_region handles addr=0x603c800000, size=0x800000
Enter intel_opregion_setup
intel_opregion_setup: asls=0x63ec5018
extent_alloc_region handles addr=0x63ec5018, size=0x2000
extent_alloc_region: Found!!! start=0x63ec5018, size=0x2000
bus_space_reserve() at netbsd:bus_space_reserve+0x54
bus_space_map() at netbsd:bus_space_map+0x43
intel_opregion_setup() at netbsd:intel_opregion_setup+0xb6
i915_driver_probe() at netbsd:i915_driver_probe+0x66e
i915drmkms_attach_real() at netbsd:i915drmkms_attach_real+0x51
config_mountroot_thread() at netbsd:config_mountroot_thread+0x37
extent_alloc_region: conflict: reserved: rp->er_start=0x6375c000 to rp->er_end=0x63f3ffff, try: start=0x63ec5018 to end=0x63ec7017
panic: Failed to map opregion: -35
cpu0: Begin traceback...
vpanic() at netbsd:vpanic+0x156
panic() at netbsd:panic+0x3c
intel_opregion_setup() at netbsd:intel_opregion_setup+0x74f
i915_driver_probe() at netbsd:i915_driver_probe+0x66e
i915drmkms_attach_real() at netbsd:i915drmkms_attach_real+0x51
config_mountroot_thread() at netbsd:config_mountroot_thread+0x37
cpu0: End traceback...
fatal breakpoint trap in supervisor mode
trap type 1 code 0 rip 0xffffffff80221995 cs 0x8 rflags 0x202 cr2 0 ilevel 0 rsp 0xffffb8814aa70dc0
curlwp 0xffffef0696fa30c0 pid 0.384 lowest kstack 0xffffb8814aa6c2c0
dumping to dev 168,2 (offset=865631, size=4086100):
dump succeeded
rebooting...
> --
> Ryo ONODERA // ryo%tetera.org@localhost
> PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
--
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Home |
Main Index |
Thread Index |
Old Index