NetBSD Problem Report #59876

From clare@csel.org  Thu Jan  1 19:00:49 2026
Return-Path: <clare@csel.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id EF1971A923C
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  1 Jan 2026 19:00:48 +0000 (UTC)
Message-Id: <20260101185353.45CAD9A78C@mail.csel.org>
Date: Fri,  2 Jan 2026 03:53:53 +0900 (JST)
From: Shinichi Doyashiki <clare@csel.org>
Reply-To: Shinichi Doyashiki <clare@csel.org>
To: gnats-bugs@NetBSD.org
Subject: igc0: unable to initialize
X-Send-Pr-Version: 3.95

>Number:         59876
>Notify-List:    riastradh@NetBSD.org
>Category:       kern
>Synopsis:       igc0: unable to initialize
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 01 19:05:00 +0000 2026
>Closed-Date:    
>Last-Modified:  Wed Jul 22 21:55:00 +0000 2026
>Originator:     Shinichi Doyashiki
>Release:        NetBSD 10.1_STABLE
>Organization:
	at home
>Environment:
System: NetBSD kanade.hq.csel.org 10.1_STABLE NetBSD 10.1_STABLE (GENERIC) #0: Fri Jan 2 03:14:41 JST 2026 clare@kanade.hq.csel.org:/export/netbsd/stable-10/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	unable to initialize igc0 device for i225-V on some machine.


  \\-__,------,___.
   \\        __,---`  NetBSD/x86 EFI Boot (x64)
    \\       `---,_.  Revision 1.2 (Wed Aug 13 18:28:20 UTC 2025)
     \\-,_____,.---`
      \\
       \\
        \\

21432512+785000+1312152 [946552+1402248+1027531]=0x1b38fc8
[   1.0000000] cpu_rng: rdrand/rdseed
[   1.0000000] entropy: ready
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[   1.0000000]     2024, 2025
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 10.1_STABLE (GENERIC) #0: Fri Jan  2 03:14:41 JST 2026
[   1.0000000]  clare@kanade.hq.csel.org:/export/netbsd/stable-10/src/sys/arch/amd64/compile/GENERIC
[   1.0000000] total memory = 32603 MB
[   1.0000000] avail memory = 31514 MB
[   1.0000000] RTC BIOS diagnostic error 0x3b<config_unit,memory_size,fixed_disk>
[   1.0000040] efi: systbl at pa 79a38018
[   1.0000040] mainbus0 (root)
[   1.0000040] ACPI: RSDP 0x0000000079637014 000024 (v02 ALASKA)
[   1.0000040] ACPI: XSDT 0x0000000079636728 0000DC (v01 ALASKA A M I    01072009 AMI  01000013)
[   1.0000040] ACPI: FACP 0x00000000795D7000 000114 (v06 ALASKA A M I    01072009 AMI  00010013)
[   1.0000040] ACPI: DSDT 0x00000000795CA000 00C7B3 (v02 ALASKA A M I    01072009 INTL 20160930)
[   1.0000040] ACPI: FACS 0x0000000079639000 000040
[   1.0000040] ACPI: FPDT 0x00000000795C9000 000044 (v01 ALASKA A M I    01072009 AMI  00010013)
[   1.0000040] ACPI: FIDT 0x00000000795C8000 00009C (v01 ALASKA A M I    01072009 AMI  00010013)
[   1.0000040] ACPI: MCFG 0x00000000795D9000 00003C (v01 ALASKA A M I    01072009 MSFT 00000097)
[   1.0000040] ACPI: DBG2 0x00000000795D8000 000072 (v00 INTEL  GLK-SOC  00000003 BRXT 0100000D)
[   1.0000040] ACPI: DBGP 0x00000000795C7000 000034 (v01 INTEL  GLK-SOC  00000003 BRXT 0100000D)
[   1.0000040] ACPI: HPET 0x00000000795C5000 000038 (v01 INTEL  GLK-SOC  00000003 BRXT 0100000D)
[   1.0000040] ACPI: LPIT 0x00000000795C4000 00005C (v01 INTEL  GLK-SOC  00000003 BRXT 0100000D)
[   1.0000040] ACPI: APIC 0x00000000795C3000 000084 (v04 INTEL  GLK-SOC  00000003 BRXT 0100000D)
[   1.0000040] ACPI: NPKT 0x00000000795C2000 000065 (v01 INTEL  GLK-SOC  00000003 BRXT 0100000D)
[   1.0000040] ACPI: SSDT 0x00000000795BD000 003F72 (v02 INTEL  DptfTab  00000003 BRXT 0100000D)
[   1.0000040] ACPI: SSDT 0x00000000795B6000 0010B3 (v02 INTEL  UsbCTabl 00000003 BRXT 0100000D)
[   1.0000040] ACPI: SSDT 0x00000000795B5000 0009FF (v01 Intel_ Platform 00001000 INTL 20160930)
[   1.0000040] ACPI: AAFT 0x00000000795B4000 0002CE (v01 ALASKA OEMAAFT  01072009 MSFT 00000097)
[   1.0000040] ACPI: SSDT 0x00000000795B3000 0005BC (v02 PmRef  Cpu0Ist  00003000 INTL 20160930)
[   1.0000040] ACPI: SSDT 0x00000000795B2000 000775 (v02 CpuRef CpuSsdt  00003000 INTL 20160930)
[   1.0000040] ACPI: SSDT 0x00000000795B1000 00035F (v02 PmRef  Cpu0Tst  00003000 INTL 20160930)
[   1.0000040] ACPI: SSDT 0x00000000795B0000 0001E6 (v02 PmRef  ApTst    00003000 INTL 20160930)
[   1.0000040] ACPI: SSDT 0x00000000795AD000 00286F (v02 SaSsdt SaSsdt   00003000 INTL 20160930)
[   1.0000040] ACPI: TPM2 0x00000000795AC000 000034 (v04 ALASKA A M I    00000001 AMI  00000000)
[   1.0000040] ACPI: DMAR 0x00000000795C6000 0000A8 (v01 INTEL  GLK-SOC  00000003 BRXT 0100000D)
[   1.0000040] ACPI: WDAT 0x00000000795AB000 000104 (v01                 00000000      00000000)
[   1.0000040] ACPI: WSMT 0x00000000795C1000 000028 (v01 ALASKA A M I    01072009 AMI  00010013)
[   1.0000040] ACPI: 9 ACPI AML tables successfully acquired and loaded
[   1.0000040] ioapic0 at mainbus0 apid 1
[   1.0000040] cpu0 at mainbus0 apid 0
[   1.0000040] cpu0: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz, id 0x706a8
[   1.0000040] cpu0: node 0, package 0, core 0, smt 0
[   1.0000040] cpu1 at mainbus0 apid 2
[   1.0000040] cpu1: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz, id 0x706a8
[   1.0000040] cpu1: node 0, package 0, core 1, smt 0
[   1.0000040] cpu2 at mainbus0 apid 4
[   1.0000040] cpu2: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz, id 0x706a8
[   1.0000040] cpu2: node 0, package 0, core 2, smt 0
[   1.0000040] cpu3 at mainbus0 apid 6
[   1.0000040] cpu3: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz, id 0x706a8
[   1.0000040] cpu3: node 0, package 0, core 3, smt 0
[   1.0000040] acpi0 at mainbus0: Intel ACPICA 20221020
[   1.0000040] ACPI: Dynamic OEM Table Load:
[   1.0000040] ACPI: SSDT 0xFFFFF6A1B74B0908 000190 (v02 PmRef  Cpu0Cst  00003001 INTL 20160930)
[   1.0000040] ACPI: Dynamic OEM Table Load:
[   1.0000040] ACPI: SSDT 0xFFFFF6A1B743F408 0001E6 (v02 PmRef  ApIst    00003000 INTL 20160930)
[   1.0000040] ACPI: Dynamic OEM Table Load:
[   1.0000040] ACPI: SSDT 0xFFFFF69A7ED2D108 0000C9 (v02 PmRef  ApCst    00003000 INTL 20160930)
[   1.0142399] hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
[   1.0218163] acpiec0 at acpi0 (H_EC, PNP0C09-1): not present
[   1.0218163] com0 at acpi0 (UAR1, PNP0501-0): io 0x3f8-0x3ff irq 4
[   1.0218163] com0: ns16550a, 16-byte FIFO
[   1.0218163] com0: console
[   1.0218163] attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
[   1.0218163] acpivga0 at acpi0 (GFX0): ACPI Display Adapter
[   1.0218163] acpiout0 at acpivga0 (DD01, 0x0100): ACPI Display Output Device
[   1.0218163] acpiout1 at acpivga0 (DD02, 0x0002): ACPI Display Output Device
[   1.0218163] acpiout2 at acpivga0 (DD03, 0x0200): ACPI Display Output Device
[   1.0218163] acpiout3 at acpivga0 (DD04, 0x0004): ACPI Display Output Device
[   1.0218163] acpiout4 at acpivga0 (DD05, 0x0005): ACPI Display Output Device
[   1.0218163] acpiout5 at acpivga0 (DD06, 0x0006): ACPI Display Output Device
[   1.0218163] acpiout6 at acpivga0 (DD07, 0x0007): ACPI Display Output Device
[   1.0218163] acpiout7 at acpivga0 (DD08, 0x0008): ACPI Display Output Device
[   1.0218163] acpiout8 at acpivga0 (DD09, 0x0009): ACPI Display Output Device
[   1.0218163] acpiout9 at acpivga0 (DD0A, 0x000a): ACPI Display Output Device
[   1.0218163] acpiout10 at acpivga0 (DD0B, 0x000b): ACPI Display Output Device
[   1.0218163] acpiout11 at acpivga0 (DD0C, 0x000c): ACPI Display Output Device
[   1.0218163] acpiout12 at acpivga0 (DD0D, 0x000d): ACPI Display Output Device
[   1.0218163] acpiout13 at acpivga0 (DD0E, 0x000e): ACPI Display Output Device
[   1.0218163] acpiout14 at acpivga0 (DD0F, 0x000f): ACPI Display Output Device
[   1.0218163] acpiout15 at acpivga0 (DD1F, 0x0400): ACPI Display Output Device
[   1.0218163] acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
[   1.0218163] igpio0 at acpi0 (GPO1, INT3453-1): mem 0xd0c40000-0xd0c40cee irq 14
[   1.0218163] gpio0 at igpio0: 35 pins
[   1.0218163] igpio1 at acpi0 (GPO0, INT3453-2): mem 0xd0c50000-0xd0c50afe irq 14
[   1.0218163] gpio1 at igpio1: 35 pins
[   1.0218163] igpio2 at acpi0 (GPO2, INT3453-3): mem 0xd0c90000-0xd0c907be irq 15
[   1.0218163] gpio2 at igpio2: 35 pins
[   1.0218163] igpio3 at acpi0 (GPO3, INT3453-4): mem 0xd0c80000-0xd0c8082e irq 14
[   1.0218163] gpio3 at igpio3: 35 pins
[   1.0218163] PEPD (INT33A1) at acpi0 not configured
[   1.0218163] TPM (MSFT0101) at acpi0 not configured
[   1.0218163] IETM (INT3400) at acpi0 not configured
[   1.0218163] DPLY (INT3406) at acpi0 not configured
[   1.0218163] TFN1 (INT3404) at acpi0 not configured
[   1.0218163] CHRG (INT3403) at acpi0 not configured
[   1.0218163] TPWR (INT3407) at acpi0 not configured
[   1.0218163] SEN1 (INT3403) at acpi0 not configured
[   1.0218163] SEN2 (INT3403) at acpi0 not configured
[   1.0218163] SEN3 (INT3403) at acpi0 not configured
[   1.0218163] SEN4 (INT3403) at acpi0 not configured
[   1.0218163] acpifan0 at acpi0 (FAN0, PNP0C0B-0): ACPI Fan
[   1.0218163] acpifan0: failed to initialize
[   1.0218163] acpitz0 at acpi0 (TZ01): cpu0
[   1.0218163] acpitz0: active cooling level 0: 65.0C
[   1.0218163] ACPI: Enabled 6 GPEs in block 00 to 7F
[   1.0218163] pci0 at mainbus0 bus 0: configuration mode 1
[   1.0218163] pchb0 at pci0 dev 0 function 0: Intel Gemini Lake Host Bridge (rev. 0x06)
[   1.0218163] Intel Gemini Lake DPTF (miscellaneous DASP, revision 0x06) at pci0 dev 0 function 1 not configured
[   1.0218163] i915drmkms0 at pci0 dev 2 function 0: Intel UHD Graphics 600 (rev. 0x06)
[   1.0218163] hdaudio0 at pci0 dev 14 function 0: HD Audio Controller
[   1.0218163] hdaudio0: interrupting at msi0 vec 0
[   1.0218163] hdaudio0: HDA ver. 1.0, OSS 6, ISS 7, BSS 0, SDO 1, 64-bit
[   1.0218163] hdafg0 at hdaudio0: Realtek ALC892
[   1.0218163] hdafg0: DAC00 6ch: Speaker [Jack]
[   1.0218163] hdafg0: DAC01 2ch: HP Out [Jack]
[   1.0218163] hdafg0: DIG02 2ch: SPDIF Out [Jack]
[   1.0218163] hdafg0: ADC03 2ch: Line In [Jack], Mic In [Jack]
[   1.0218163] hdafg0: ADC04 2ch: Mic In [Jack]
[   1.0218163] hdafg0: 6ch/2ch 32000Hz 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
[   1.0218163] audio0 at hdafg0: playback, capture, full duplex, independent
[   1.0218163] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
[   1.0218163] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
[   1.0218163] spkr0 at audio0: PC Speaker (synthesized)
[   1.0218163] wsbell at spkr0 not configured
[   1.0218163] hdafg1 at hdaudio0: Intel HDMI/DP
[   1.0218163] hdafg1: DP00 8ch: Digital Out [Jack]
[   1.0218163] hdafg1: 8ch/0ch 48000Hz PCM16*
[   1.0218163] audio1 at hdafg1: playback, capture, full duplex, independent
[   1.0218163] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
[   1.0218163] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
[   1.0218163] spkr1 at audio1: PC Speaker (synthesized)
[   1.0218163] wsbell at spkr1 not configured
[   1.0218163] Intel Gemini Lake TXE HECI 1 (miscellaneous communications, revision 0x06) at pci0 dev 15 function 0 not configured
[   1.0218163] ahcisata0 at pci0 dev 18 function 0: Intel Gemini Lake SATA (rev. 0x06)
[   1.0218163] ahcisata0: AHCI revision 1.31, 2 ports, 32 slots, CAP 0xe136ff01<PSC,SSC,PMD,SPM,SAM,ISS=0x3=Gen3,SCLO,SSNTF,SNCQ,S64A>
[   1.0218163] ahcisata0: interrupting at msi1 vec 0
[   1.0218163] atabus0 at ahcisata0 channel 0
[   1.0218163] atabus1 at ahcisata0 channel 1
[   1.0218163] ppb0 at pci0 dev 19 function 0: Intel Gemini Lake PCIe x4 (rev. 0xf6)
[   1.0218163] ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 5.0GT/s
[   1.0218163] pci1 at ppb0 bus 1
[   1.0218163] igc0 at pci1 dev 0 function 0: Intel(R) Ethernet Controller I225-V (rev. 0x03)
[   1.0218163] igc_set_mac_type
[   1.0218163] igc_set_mac_type
[   1.0218163] igc_init_mac_ops_generic
[   1.0218163] igc_init_phy_ops_generic
[   1.0218163] igc_init_nvm_ops_generic
[   1.0218163] igc_init_mac_ops_generic
[   1.0218163] igc_init_phy_ops_generic
[   1.0218163] igc_init_nvm_ops_generic
[   1.0218163] igc_init_mac_params_i225
[   1.0218163] igc_init_mac_ops_generic
[   1.0218163] igc_init_nvm_params_i225
[   1.0218163] igc_get_flash_presence_i225
[   1.0218163] igc_init_phy_params_i225
[   1.0218163] igc_phy_hw_reset_generic
[   1.0218163] igc_check_reset_block
[   1.0218163] igc_get_phy_id
[   1.0218163] igc_read_phy_reg_gpy
[   1.0218163] igc_acquire_phy_base
[   1.0218163] igc_acquire_swfw_sync_i225
[   1.0218163] igc_get_hw_semaphore_i225
[   1.0218163] igc_put_hw_semaphore_generic
[   1.0218163] Driver can't access device -
[   1.0218163] SMBI bit is set.
[   1.0218163] PHY Initialization Error
[   1.0218163] igc0: unable to initialize
[   1.0218163] uvm_fault(0xffffffff81976320, 0x0, 1) -> e
[   1.0218163] fatal page fault in supervisor mode
[   1.0218163] trap type 6 code 0 rip 0xffffffff80d37dea cs 0x8 rflags 0x10246 cr2 0x20 ilevel 0x8 rsp 0xffffffff81d3f3e0
[   1.0218163] curlwp 0xffffffff8188b080 pid 0.0 lowest kstack 0xffffffff81d3a2c0
kernel: page fault trap, code=0
Stopped in pid 0.0 (system) at  netbsd:pool_cache_put_paddr+0x7f:       cmpq
20(%rax),%rax
pool_cache_put_paddr() at netbsd:pool_cache_put_paddr+0x7f
config_attach_internal() at netbsd:config_attach_internal+0x214
config_found() at netbsd:config_found+0x112
pci_probe_device1() at netbsd:pci_probe_device1+0x66f
pci_enumerate_bus1() at netbsd:pci_enumerate_bus1+0x1c8
pciattach() at netbsd:pciattach+0x18e
config_attach_internal() at netbsd:config_attach_internal+0x214
config_found() at netbsd:config_found+0x112
ppbattach() at netbsd:ppbattach+0x21d
config_attach_internal() at netbsd:config_attach_internal+0x214
config_found() at netbsd:config_found+0x112
pci_probe_device1() at netbsd:pci_probe_device1+0x66f
pci_enumerate_bus1() at netbsd:pci_enumerate_bus1+0x1c8
pciattach() at netbsd:pciattach+0x18e
config_attach_internal() at netbsd:config_attach_internal+0x214
config_found() at netbsd:config_found+0x112
mp_pci_scan() at netbsd:mp_pci_scan+0xd6
amd64_mainbus_attach() at netbsd:amd64_mainbus_attach+0x361
config_attach_internal() at netbsd:config_attach_internal+0x214
config_rootfound() at netbsd:config_rootfound+0x6e
cpu_configure() at netbsd:cpu_configure+0x38
main() at netbsd:main+0x2f1
ds          c080
es          837d
fs          f3b0
gs          25e0
rdi         fffff6a1bc6f2080
rsi         0
rbp         ffffffff81d3f400
rbx         fffff6a1bc6f2080
rdx         ffffffffffffffff
rcx         300
rax         0
r8          a1300000
r9          20
r10         ffffffff8190fbb8    kernel_map_store+0x38
r11         0
r12         0
r13         ffffffffffffffff
r14         ffffffff813df203    ostype+0x2a997
r15         ffffffff818a8010    cfdata+0x6e10
rip         ffffffff80d37dea    pool_cache_put_paddr+0x7f
cs          8
rflags      10246
rsp         ffffffff81d3f3e0
ss          10
netbsd:pool_cache_put_paddr+0x7f:       cmpq    20(%rax),%rax

>How-To-Repeat:
	Used devices are:
	* ASRock J4125-ITX mainboard;
	* 32GB of main memory was populated;
	* AHCISATA device card was populated in the M.2 Wi-Fi slot;
	* Intel i225-V rev.3 device card was populated in the PCIe slot;
	and try to boot kernel (with igc debug code enabled)
	if the i225-V was unplugged, then the kernel works normally.
>Fix:
	unknown.

>Release-Note:

>Audit-Trail:
From: Shinichi Doyashiki <clare@csel.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/59876
Date: Fri, 2 Jan 2026 07:02:59 +0900

 I wrote:
  >>Description:
  > unable to initialize igc0 device for i225-V on some machine.

 As a workaround for this issue, you can add PCI_BUS_FIXUP related
 options to your kernel configuration file.

   options        ACPI_SCANPCI            # find PCI roots using ACPI
   options        MPBIOS                  # configure CPUs and APICs 
 using MPBIOS
   options        MPBIOS_SCANPCI          # MPBIOS configures PCI roots
 -#options       PCI_INTR_FIXUP          # fixup PCI interrupt routing 
 via ACPI
 -#options       PCI_BUS_FIXUP           # fixup PCI bus numbering
 -#options       PCI_ADDR_FIXUP          # fixup PCI I/O addresses
 +options        PCI_INTR_FIXUP          # fixup PCI interrupt routing 
 via ACPI
 +options        PCI_BUS_FIXUP           # fixup PCI bus numbering
 +options        PCI_ADDR_FIXUP          # fixup PCI I/O addresses
   #options       ACPI_ACTIVATE_DEV       # If set, activate inactive devices
   options        VGA_POST                # in-kernel support for VGA POST

State-Changed-From-To: open->feedback
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Sat, 03 Jan 2026 20:00:28 +0000
State-Changed-Why:
I wonder whether `options PCI_RESOURCE' makes this work in 11-BETA
or current?


From: "Taylor R Campbell" <riastradh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/59876 CVS commit: src/sys/dev/pci/igc
Date: Sat, 3 Jan 2026 20:17:16 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Sat Jan  3 20:17:16 UTC 2026

 Modified Files:
 	src/sys/dev/pci/igc: if_igc.c

 Log Message:
 igc(4): Fix some attach error branches.

 Might explain the crash on igc(4) attach failure in:

 PR kern/59876: igc0: unable to initialize


 To generate a diff of this commit:
 cvs rdiff -u -r1.23 -r1.24 src/sys/dev/pci/igc/if_igc.c

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

From: Shinichi Doyashiki <clare@csel.org>
To: gnats-bugs@netbsd.org, kern-bug-people@netbsd.org,
 netbsd-bugs@netbsd.org, gnats-admin@netbsd.org, riastradh@NetBSD.org
Cc: 
Subject: Re: kern/59876 (igc0: unable to initialize)
Date: Mon, 5 Jan 2026 05:09:38 +0900

 options PCI_RESOURSE did the suppress kernel panic(?)
 options PCI_RESOURSE itself does not help the initialization of the igc0.


    \\-__,------,___.
     \\        __,---`  NetBSD/x86 EFI Boot (x64)
      \\       `---,_.  Revision 1.2 (Wed Aug 13 18:28:20 UTC 2025)
       \\-,_____,.---`
        \\
         \\
          \\

 23952464+797888+1299264 [1026379+1430304+1048724]=0x1d58860
 [   1.0000000] WARNING: system needs entropy for security; see entropy(7)
 [   1.0000000] cpu_rng: rdrand/rdseed
 [   1.0000000] entropy: ready
 [   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
 [   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 
 2013,
 [   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 
 2023,
 [   1.0000000]     2024, 2025, 2026
 [   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
 [   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
 [   1.0000000]     The Regents of the University of California.  All 
 rights reserved.

 [   1.0000000] NetBSD 11.99.4 (GENERIC) #0: Sun Jan  4 13:35:42 JST 2026
 [   1.0000000] 
 clare@kanade.hq.csel.org:/export/netbsd/current/objdir.amd64/sys/arch/amd64/compile/GENERIC
 [   1.0000000] total memory = 32603 MB
 [   1.0000000] avail memory = 31512 MB
 [   1.0000000] RTC BIOS diagnostic error 
 0x3b<config_unit,memory_size,fixed_disk>
 [   1.0000040] efi: systbl at pa 79a37018
 [   1.0000040] mainbus0 (root)
 [   1.0000040] ACPI: RSDP 0x000000007964B014 000024 (v02 ALASKA)
 [   1.0000040] ACPI: XSDT 0x000000007964A728 0000DC (v01 ALASKA A M I 
 01072009 AMI  01000013)
 [   1.0000040] ACPI: FACP 0x00000000795EB000 000114 (v06 ALASKA A M I 
 01072009 AMI  00010013)
 [   1.0000040] ACPI: DSDT 0x00000000795DE000 00C7B3 (v02 ALASKA A M I 
 01072009 INTL 20160930)
 [   1.0000040] ACPI: FACS 0x000000007964D000 000040
 [   1.0000040] ACPI: FPDT 0x00000000795DD000 000044 (v01 ALASKA A M I 
 01072009 AMI  00010013)
 [   1.0000040] ACPI: FIDT 0x00000000795DC000 00009C (v01 ALASKA A M I 
 01072009 AMI  00010013)
 [   1.0000040] ACPI: MCFG 0x00000000795ED000 00003C (v01 ALASKA A M I 
 01072009 MSFT 00000097)
 [   1.0000040] ACPI: DBG2 0x00000000795EC000 000072 (v00 INTEL  GLK-SOC 
 00000003 BRXT 0100000D)
 [   1.0000040] ACPI: DBGP 0x00000000795DB000 000034 (v01 INTEL  GLK-SOC 
 00000003 BRXT 0100000D)
 [   1.0000040] ACPI: HPET 0x00000000795D9000 000038 (v01 INTEL  GLK-SOC 
 00000003 BRXT 0100000D)
 [   1.0000040] ACPI: LPIT 0x00000000795D8000 00005C (v01 INTEL  GLK-SOC 
 00000003 BRXT 0100000D)
 [   1.0000040] ACPI: APIC 0x00000000795D7000 000084 (v04 INTEL  GLK-SOC 
 00000003 BRXT 0100000D)
 [   1.0000040] ACPI: NPKT 0x00000000795D6000 000065 (v01 INTEL  GLK-SOC 
 00000003 BRXT 0100000D)
 [   1.0000040] ACPI: SSDT 0x00000000795D1000 003F72 (v02 INTEL  DptfTab 
 00000003 BRXT 0100000D)
 [   1.0000040] ACPI: SSDT 0x00000000795CA000 0010B3 (v02 INTEL  UsbCTabl 
 00000003 BRXT 0100000D)
 [   1.0000040] ACPI: SSDT 0x00000000795C9000 0009FF (v01 Intel_ Platform 
 00001000 INTL 20160930)
 [   1.0000040] ACPI: AAFT 0x00000000795C8000 0002CE (v01 ALASKA OEMAAFT 
 01072009 MSFT 00000097)
 [   1.0000040] ACPI: SSDT 0x00000000795C7000 0005BC (v02 PmRef  Cpu0Ist 
 00003000 INTL 20160930)
 [   1.0000040] ACPI: SSDT 0x00000000795C6000 000775 (v02 CpuRef CpuSsdt 
 00003000 INTL 20160930)
 [   1.0000040] ACPI: SSDT 0x00000000795C5000 00035F (v02 PmRef  Cpu0Tst 
 00003000 INTL 20160930)
 [   1.0000040] ACPI: SSDT 0x00000000795C4000 0001E6 (v02 PmRef  ApTst 
 00003000 INTL 20160930)
 [   1.0000040] ACPI: SSDT 0x00000000795C1000 00286F (v02 SaSsdt SaSsdt 
 00003000 INTL 20160930)
 [   1.0000040] ACPI: TPM2 0x00000000795C0000 000034 (v04 ALASKA A M I 
 00000001 AMI  00000000)
 [   1.0000040] ACPI: DMAR 0x00000000795DA000 0000A8 (v01 INTEL  GLK-SOC 
 00000003 BRXT 0100000D)
 [   1.0000040] ACPI: WDAT 0x00000000795BF000 000104 (v01 
 00000000      00000000)
 [   1.0000040] ACPI: WSMT 0x00000000795D5000 000028 (v01 ALASKA A M I 
 01072009 AMI  00010013)
 [   1.0000040] ACPI: 9 ACPI AML tables successfully acquired and loaded
 [   1.0000040] ioapic0 at mainbus0 apid 1
 [   1.0000040] cpu0 at mainbus0 apid 0
 [   1.0000040] cpu0: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz, id 0x706a8
 [   1.0000040] cpu0: node 0, package 0, core 0, smt 0
 [   1.0000040] cpu1 at mainbus0 apid 2
 [   1.0000040] cpu1: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz, id 0x706a8
 [   1.0000040] cpu1: node 0, package 0, core 1, smt 0
 [   1.0000040] cpu2 at mainbus0 apid 4
 [   1.0000040] cpu2: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz, id 0x706a8
 [   1.0000040] cpu2: node 0, package 0, core 2, smt 0
 [   1.0000040] cpu3 at mainbus0 apid 6
 [   1.0000040] cpu3: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz, id 0x706a8
 [   1.0000040] cpu3: node 0, package 0, core 3, smt 0
 [   1.0000040] acpi0 at mainbus0: Intel ACPICA 20250807
 [   1.0000040] MPACPI PCI bus number 1 configuration failed: 6
 [   1.0000040] ACPI: Dynamic OEM Table Load:
 [   1.0000040] ACPI: SSDT 0xFFFFA7ACAFA99208 000190 (v02 PmRef  Cpu0Cst 
 00003001 INTL 20160930)
 [   1.0000040] ACPI: Dynamic OEM Table Load:
 [   1.0000040] ACPI: SSDT 0xFFFFA7A57729E288 0001E6 (v02 PmRef  ApIst 
 00003000 INTL 20160930)
 [   1.0000040] ACPI: Dynamic OEM Table Load:
 [   1.0000040] ACPI: SSDT 0xFFFFA7A5772DC1C8 0000C9 (v02 PmRef  ApCst 
 00003000 INTL 20160930)
 [   1.0283702] hpet0 at acpi0: high precision event timer (mem 
 0xfed00000-0xfed00400)
 [   1.0359396] com0 at acpi0 (UAR1, PNP0501-0): io 0x3f8-0x3ff irq 4
 [   1.0359396] com0: ns16550a, 16-byte FIFO
 [   1.0359396] com0: console
 [   1.0359396] attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 
 irq 0
 [   1.0359396] PEPD (INT33A1) at acpi0 not configured
 [   1.0359396] acpivga0 at acpi0 (GFX0): ACPI Display Adapter
 [   1.0359396] acpiout0 at acpivga0 (DD01, 0x0100): ACPI Display Output 
 Device
 [   1.0359396] acpiout1 at acpivga0 (DD02, 0x0002): ACPI Display Output 
 Device
 [   1.0359396] acpiout2 at acpivga0 (DD03, 0x0200): ACPI Display Output 
 Device
 [   1.0359396] acpiout3 at acpivga0 (DD04, 0x0004): ACPI Display Output 
 Device
 [   1.0359396] acpiout4 at acpivga0 (DD05, 0x0005): ACPI Display Output 
 Device
 [   1.0359396] acpiout5 at acpivga0 (DD06, 0x0006): ACPI Display Output 
 Device
 [   1.0359396] acpiout6 at acpivga0 (DD07, 0x0007): ACPI Display Output 
 Device
 [   1.0359396] acpiout7 at acpivga0 (DD08, 0x0008): ACPI Display Output 
 Device
 [   1.0359396] acpiout8 at acpivga0 (DD09, 0x0009): ACPI Display Output 
 Device
 [   1.0359396] acpiout9 at acpivga0 (DD0A, 0x000a): ACPI Display Output 
 Device
 [   1.0359396] acpiout10 at acpivga0 (DD0B, 0x000b): ACPI Display Output 
 Device
 [   1.0359396] acpiout11 at acpivga0 (DD0C, 0x000c): ACPI Display Output 
 Device
 [   1.0359396] acpiout12 at acpivga0 (DD0D, 0x000d): ACPI Display Output 
 Device
 [   1.0359396] acpiout13 at acpivga0 (DD0E, 0x000e): ACPI Display Output 
 Device
 [   1.0359396] acpiout14 at acpivga0 (DD0F, 0x000f): ACPI Display Output 
 Device
 [   1.0359396] acpiout15 at acpivga0 (DD1F, 0x0400): ACPI Display Output 
 Device
 [   1.0359396] acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
 [   1.0359396] igpio0 at acpi0 (GPO1, INT3453-1): mem 
 0xd0c40000-0xd0c40cee irq 14
 [   1.0359396] gpio0 at igpio0: 35 pins
 [   1.0359396] igpio1 at acpi0 (GPO0, INT3453-2): mem 
 0xd0c50000-0xd0c50afe irq 14
 [   1.0359396] gpio1 at igpio1: 35 pins
 [   1.0359396] igpio2 at acpi0 (GPO2, INT3453-3): mem 
 0xd0c90000-0xd0c907be irq 15
 [   1.0359396] gpio2 at igpio2: 35 pins
 [   1.0359396] igpio3 at acpi0 (GPO3, INT3453-4): mem 
 0xd0c80000-0xd0c8082e irq 14
 [   1.0359396] gpio3 at igpio3: 35 pins
 [   1.0359396] TPM (MSFT0101) at acpi0 not configured
 [   1.0359396] IETM (INT3400) at acpi0 not configured
 [   1.0359396] DPLY (INT3406) at acpi0 not configured
 [   1.0359396] TFN1 (INT3404) at acpi0 not configured
 [   1.0359396] CHRG (INT3403) at acpi0 not configured
 [   1.0359396] TPWR (INT3407) at acpi0 not configured
 [   1.0359396] SEN1 (INT3403) at acpi0 not configured
 [   1.0359396] SEN2 (INT3403) at acpi0 not configured
 [   1.0359396] SEN3 (INT3403) at acpi0 not configured
 [   1.0359396] SEN4 (INT3403) at acpi0 not configured
 [   1.0359396] acpifan0 at acpi0 (FAN0, PNP0C0B-0): ACPI Fan
 [   1.0359396] acpifan0: failed to initialize
 [   1.0359396] acpitz0 at acpi0 (TZ01): cpu0
 [   1.0359396] acpitz0: active cooling level 0: 65.0C
 [   1.0359396] ACPI: Enabled 6 GPEs in block 00 to 7F
 [   1.0359396] pci0 at mainbus0 bus 0: configuration mode 1
 [   1.0359396] pchb0 at pci0 dev 0 function 0: Intel Gemini Lake Host 
 Bridge (rev. 0x06)
 [   1.0359396] Intel Gemini Lake DPTF (miscellaneous DASP, revision 
 0x06) at pci0 dev 0 function 1 not configured
 [   1.0359396] i915drmkms0 at pci0 dev 2 function 0: Intel UHD Graphics 
 600 (rev. 0x06)
 [   1.0359396] hdaudio0 at pci0 dev 14 function 0: HD Audio Controller
 [   1.0359396] hdaudio0: interrupting at msi0 vec 0
 [   1.0359396] hdaudio0: HDA ver. 1.0, OSS 6, ISS 7, BSS 0, SDO 1, 64-bit
 [   1.0359396] hdafg0 at hdaudio0: Realtek ALC892
 [   1.0359396] hdafg0: DAC00 6ch: Speaker [Jack]
 [   1.0359396] hdafg0: DAC01 2ch: HP Out [Jack]
 [   1.0359396] hdafg0: DIG02 2ch: SPDIF Out [Jack]
 [   1.0359396] hdafg0: ADC03 2ch: Line In [Jack], Mic In [Jack]
 [   1.0359396] hdafg0: ADC04 2ch: Mic In [Jack]
 [   1.0359396] hdafg0: 6ch/2ch 32000Hz 44100Hz 48000Hz 88200Hz 96000Hz 
 192000Hz PCM16 PCM20 PCM24 AC3
 [   1.0359396] audio0 at hdafg0: playback, capture, full duplex, independent
 [   1.0359396] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) 
 for playback
 [   1.0359396] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) 
 for recording
 [   1.0359396] spkr0 at audio0: PC Speaker (synthesized)
 [   1.0359396] wsbell at spkr0 not configured
 [   1.0359396] hdafg1 at hdaudio0: Intel HDMI/DP
 [   1.0359396] hdafg1: DP00 8ch: Digital Out [Jack]
 [   1.0359396] hdafg1: 8ch/0ch 48000Hz PCM16*
 [   1.0359396] audio1 at hdafg1: playback, capture, full duplex, independent
 [   1.0359396] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) 
 for playback
 [   1.0359396] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) 
 for recording
 [   1.0359396] spkr1 at audio1: PC Speaker (synthesized)
 [   1.0359396] wsbell at spkr1 not configured
 [   1.0359396] Intel Gemini Lake TXE HECI 1 (miscellaneous 
 communications, revision 0x06) at pci0 dev 15 function 0 not configured
 [   1.0359396] ahcisata0 at pci0 dev 18 function 0: Intel Gemini Lake 
 SATA (rev. 0x06)
 [   1.0359396] ahcisata0: AHCI revision 1.31, 2 ports, 32 slots, CAP 
 0xe136ff01<PSC,SSC,PMD,SPM,SAM,ISS=0x3=Gen3,SCLO,SSNTF,SNCQ,S64A>
 [   1.0359396] ahcisata0: interrupting at msi1 vec 0
 [   1.0359396] atabus0 at ahcisata0 channel 0
 [   1.0359396] atabus1 at ahcisata0 channel 1
 [   1.0359396] ppb0 at pci0 dev 19 function 0: Intel Gemini Lake PCIe x4 
 (rev. 0xf6)
 [   1.0359396] ppb0: PCI Express capability version 2 <Root Port of 
 PCI-E Root Complex> x1 @ 5.0GT/s
 [   1.0359396] pci1 at ppb0 bus 1
 [   1.0359396] igc0 at pci1 dev 0 function 0: Intel(R) Ethernet 
 Controller I225-V (rev. 0x03)
 [   1.0359396] igc0: unable to initialize
 [   1.0359396] ppb1 at pci0 dev 19 function 1: Intel Gemini Lake PCIe x4 
 (rev. 0xf6)
 [   1.0359396] ppb1: PCI Express capability version 2 <Root Port of 
 PCI-E Root Complex> x1 @ 5.0GT/s
 [   1.0359396] pci2 at ppb1 bus 2
 [   1.0359396] ahcisata1 at pci2 dev 0 function 0: JMicron Technology 
 product 0585 (rev. 0x00)
 [   1.0359396] ahcisata1: AHCI revision 1.31, 5 ports, 32 slots, CAP 
 0xef33ff84<CCCS,PSC,SSC,PMD,FBSS,SPM,ISS=0x3=Gen3,SCLO,SAL,SALP,SSS,SSNTF,SNCQ,S64A>
 [   1.0359396] ahcisata1: interrupting at msi2 vec 0
 [   1.0359396] atabus2 at ahcisata1 channel 0
 [   1.0359396] atabus3 at ahcisata1 channel 1
 [   1.0359396] ppb2 at pci0 dev 19 function 2: Intel Gemini Lake PCIe x4 
 (rev. 0xf6)
 [   1.0359396] ppb2: PCI Express capability version 2 <Root Port of 
 PCI-E Root Complex> x1 @ 5.0GT/s
 [   1.0359396] ppb2: link is x1 @ 2.5GT/s
 [   1.0359396] pci3 at ppb2 bus 3
 [   1.0359396] re0 at pci3 dev 0 function 0: RealTek 8168/8111 PCIe 
 Gigabit Ethernet (rev. 0x15)
 [   1.0359396] re0: interrupting at msix3 vec 0
 [   1.0359396] re0: RTL8168H/8111H (0x5400)
 [   1.0359396] re0: Ethernet address 9c:6b:00:13:71:28
 [   1.0359396] rgephy0 at re0 phy 7: RTL8251 1000BASE-T media interface, 
 rev. 0
 [   1.0359396] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 
 1000baseT-FDX, auto
 [   1.0359396] ppb3 at pci0 dev 19 function 3: Intel Gemini Lake PCIe x4 
 (rev. 0xf6)
 [   1.0359396] ppb3: PCI Express capability version 2 <Root Port of 
 PCI-E Root Complex> x1 @ 5.0GT/s
 [   1.0359396] pci4 at ppb3 bus 4
 [   1.0359396] ahcisata2 at pci4 dev 0 function 0: ASMedia ASM1061 AHCI 
 SATA III Controller (rev. 0x02)
 [   1.0359396] ahcisata2: AHCI revision 1.20, 2 ports, 32 slots, CAP 
 0xeb32ff81<CCCS,PSC,SSC,PMD,SPM,ISS=0x3=Gen3,SCLO,SAL,SSS,SSNTF,SNCQ,S64A>
 [   1.0359396] ahcisata2: interrupting at msi4 vec 0
 [   1.0359396] atabus4 at ahcisata2 channel 0
 [   1.0359396] atabus5 at ahcisata2 channel 1
 [   1.0359396] xhci0 at pci0 dev 21 function 0: Intel Gemini Lake USB 
 Host (xHCI) (rev. 0x06)
 [   1.0359396] xhci0: interrupting at msi5 vec 0
 [   1.0359396] usb0 at xhci0: USB revision 3.0
 [   1.0359396] usb1 at xhci0: USB revision 2.0
 [   1.0359396] pcib0 at pci0 dev 31 function 0: Intel Gemini Lake LPC 
 (rev. 0x06)
 [   1.0359396] ichsmb0 at pci0 dev 31 function 1: Intel Gemini Lake 
 SMBus (rev. 0x06)
 [   1.0359396] ichsmb0: interrupting at ioapic0 pin 20
 [   1.0359396] iic0 at ichsmb0: I2C bus
 [   1.0359396] isa0 at pcib0
 [   1.0359396] pckbc0 at isa0 port 0x60-0x64
 [   1.0359396] pcppi0 at isa0 port 0x61
 [   1.0359396] spkr2 at pcppi0: PC Speaker
 [   1.0359396] wsbell at spkr2 not configured
 [   1.0359396] midi0 at pcppi0: PC speaker
 [   1.0359396] sysbeep0 at pcppi0
 [   1.0359396] attimer1: attached to pcppi0
 [   1.0359396] acpicpu0 at cpu0: ACPI CPU
 [   1.0359396] coretemp0 at cpu0: thermal sensor, 1 C resolution
 [   1.0359396] acpicpu1 at cpu1: ACPI CPU
 [   1.0359396] coretemp1 at cpu1: thermal sensor, 1 C resolution
 [   1.0359396] acpicpu2 at cpu2: ACPI CPU
 [   1.0359396] coretemp2 at cpu2: thermal sensor, 1 C resolution
 [   1.0359396] acpicpu3 at cpu3: ACPI CPU
 [   1.0359396] coretemp3 at cpu3: thermal sensor, 1 C resolution
 [   1.2174326] uhub0 at usb0: NetBSD (0x0000) xHCI root hub (0x0000), 
 class 9/0, rev 3.00/1.00, addr 0
 [   1.2187302] uhub1 at usb1: NetBSD (0x0000) xHCI root hub (0x0000), 
 class 9/0, rev 2.00/1.00, addr 0
 [   1.3287245] ahcisata0 port 0: device present, speed: 6.0Gb/s
 [   1.3287245] ahcisata1 port 0: device present, speed: 6.0Gb/s
 [   1.3387234] ahcisata1 port 1: device present, speed: 6.0Gb/s
 [   1.7187249] uhidev0 at uhub1 port 6 configuration 1 interface 0
 [   1.7187249] uhidev0: ARCHISS (0x2be8) ARCHISS PTR91 (0x0001), rev 
 2.00/2.01, addr 1, iclass 3/1
 [   1.7387247] ukbd0 at uhidev0
 [   1.7387247] wskbd0 at ukbd0 mux 1
 [   1.7387247] uhidev1 at uhub1 port 6 configuration 1 interface 1
 [   1.7501073] uhidev1: ARCHISS (0x2be8) ARCHISS PTR91 (0x0001), rev 
 2.00/2.01, addr 1, iclass 3/1
 [   1.7599911] uhidev1: 8 report ids
 [   1.7717367] uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
 [   1.7717367] ukbd1 at uhidev1 reportid 8
 [   1.7808426] wskbd1 at ukbd1 mux 1
 [   2.3387245] ahcisata0 port 1: PHY offline
 [   2.8887245] wd0 at atabus0 drive 0
 [   2.8887245] wd0: <TS240GSSD220S>
 [   2.8887245] wd0: 223 GB, 465141 cyl, 16 head, 63 sec, 512 bytes/sect 
 x 468862128 sectors
 [   2.9087249] dk0 at wd0: "kanade-efi", 2040 blocks at 8, type: msdos
 [   2.9087249] dk1 at wd0: "kanade-swap", 67108864 blocks at 2048, type: 
 swap
 [   2.9217342] dk2 at wd0: "kanade-root", 67108864 blocks at 67110912, 
 type: ffs
 [   2.9288430] dk3 at wd0: "zpool-slog", 33554432 blocks at 134219776, 
 type: zfs
 [   2.9288430] dk4 at wd0: "kanade-work", 134217728 blocks at 167774208, 
 type: ffs
 [   2.9487248] wd1 at atabus2 drive 0
 [   2.9487248] wd1: <TOSHIBA MQ04ABD200>
 [   2.9587241] wd1: 1863 GB, 3876021 cyl, 16 head, 63 sec, 512 
 bytes/sect x 3907029168 sectors (4096 bytes/physsect)
 [   3.2687246] wd2 at atabus3 drive 0
 [   3.2687246] wd2: <TOSHIBA MQ04ABD200>
 [   3.2687246] wd2: 1863 GB, 3876021 cyl, 16 head, 63 sec, 512 
 bytes/sect x 3907029168 sectors (4096 bytes/physsect)
 [   3.5887234] swwdog0: software watchdog initialized
 [   3.6187254] WARNING: 2 errors while detecting hardware; check system log.
 [   3.6287239] boot device: wd0
 [   3.6287239] root on dk2 dumps on dk1
 [   3.6387264] root file system type: ffs
 [   3.6387264] kern.module.path=/stand/amd64/11.99.4/modules
 [   3.6521860] [drm] couldn't get memory information
 [   3.6607502] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
 [   3.6607502] [drm] Driver supports precise vblank timestamp query.
 [   3.6733999] i915drmkms0: interrupting at msi6 vec 0 (i915drmkms0)
 [   3.6812780] [drm] Applying Increase DDI Disabled quirk
 [   3.6887248] i915drmkms0: notice: Failed to load DMC firmware 
 i915/glk_dmc_ver1_04.bin. Disabling runtime power management.
 [   4.7487246] [drm] failed to retrieve link info, disabling eDP
 [   4.7687250] i915drmkms0: notice: RC6 and powersaving disabled by BIOS
 [   4.7787243] [drm] Initialized i915 1.6.0 20200114 for i915drmkms0 on 
 minor 0
 [   4.8287291] intelfb0 at i915drmkms0
 [   4.8287291] [drm] DRM_I915_DEBUG enabled
 [   4.8415530] [drm] DRM_I915_DEBUG_GEM enabled
 [   4.9691574] wsdisplay0 at intelfb0 kbdmux 1
 Mon Jan  5 04:56:44 JST 2026
 Starting root file system check:
 /dev/rdk2: file system is clean; not checking
 /etc/rc: WARNING: zfs module may not have loaded, may not be present in 
 the kernel, or /dev/zfs may be missing
 /etc/rc.d/zfs exited with code 1


 $ cvs diff -u GENERIC
 Index: GENERIC
 ===================================================================
 RCS file: /cvsroot/src/sys/arch/amd64/conf/GENERIC,v
 retrieving revision 1.620
 diff -u -r1.620 GENERIC
 --- GENERIC     7 Nov 2025 19:07:38 -0000       1.620
 +++ GENERIC     4 Jan 2026 20:04:50 -0000
 @@ -320,7 +320,7 @@
   options        ACPI_SCANPCI            # find PCI roots using ACPI
   options        MPBIOS                  # configure CPUs and APICs 
 using MPBIOS
   options        MPBIOS_SCANPCI          # MPBIOS configures PCI roots
 -#options       PCI_RESOURCE            # Allocate unconfigured PCI 
 resources
 +options        PCI_RESOURCE            # Allocate unconfigured PCI 
 resources
   #options       PCI_INTR_FIXUP          # fixup PCI interrupt routing 
 via ACPI
   #options       PCI_BUS_FIXUP           # fixup PCI bus numbering
   #options       PCI_ADDR_FIXUP          # fixup PCI I/O addresses

From: Shinichi Doyashiki <clare@csel.org>
To: gnats-bugs@netbsd.org, kern-bug-people@netbsd.org, netbsd-bugs@netbsd.org,
 gnats-admin@netbsd.org, riastradh@netbsd.org
Cc: 
Subject: Re: kern/59876 (igc0: unable to initialize)
Date: Mon, 20 Jul 2026 15:14:22 +0900

 the ASROCK J4125M (BIOS version 1.60) requires PCI fixup kernel options for the 
 Intel i226-V.  the igc driver in the NetBSD 11_RC6 GENERIC kernel cannot 
 initialize the Intel i226-V add-on card on the ASROCK J4125M
 mainboard.

 with kernel with PCI BUS/ADDR/INTR FIXUP options:

 ...
 [   1.0244395] pci1 at ppb0 bus 1
 [   1.0244395] igc0 at pci1 dev 0 function 0: Intel(R) Ethernet Controller 
 I226-V (rev. 0x04)
 [   1.0244395] igc0: txrx interrupting at msix2 vec 0
 [   1.0244395] igc0: txrx interrupting at msix2 vec 1
 [   1.0244395] igc0: txrx interrupting at msix2 vec 2
 [   1.0244395] igc0: txrx interrupting at msix2 vec 3
 [   1.0244395] igc0: link interrupting at msix2 vec 4
 [   1.0244395] igc0: PHY: OUI 0x984fee model 0x0005, rev. 8, PHY FW version 
 0x8877
 [   1.0244395] igc0: NVM image version 2.14, EtrackID 8000028d
 ...

 with GENERIC kernel:

 ...
 [   1.0244144] pci1 at ppb0 bus 1
 [   1.0244144] igc0 at pci1 dev 0 function 0: Intel(R) Ethernet Controller 
 I226-V (rev. 0x04)
 [   1.0244144] igc0: unable to initialize
 [   1.0244144] uvm_fault(0xffffffff81976e60, 0x0, 1) -> e
 [   1.0244144] fatal page fault in supervisor mode
 [   1.0244144] trap type 6 code 0 rip 0xffffffff80d33076 cs 0x8 rflags 0x10246 cr2 
 0x20 ilevel 0x8 rsp 0xffffffff81d56360
 [   1.0244144] curlwp 0xffffffff8188bdc0 pid 0.0 lowest kstack 0xffffffff81d512c0
 kernel: page fault trap, code=0
 Stopped in pid 0.0 (system) at  netbsd:pool_cache_put_paddr+0x7f:       cmpq    
 20(%rax),%rax
 pool_cache_put_paddr() at netbsd:pool_cache_put_paddr+0x7f
 config_attach_internal() at netbsd:config_attach_internal+0x217
 config_found_acquire() at netbsd:config_found_acquire+0x5d
 config_found() at netbsd:config_found+0xe
 pci_probe_device1() at netbsd:pci_probe_device1+0x6b9
 pci_enumerate_bus1() at netbsd:pci_enumerate_bus1+0x1af
 pciattach() at netbsd:pciattach+0x19d
 config_attach_internal() at netbsd:config_attach_internal+0x217
 config_found_acquire() at netbsd:config_found_acquire+0x5d
 config_found() at netbsd:config_found+0xe
 ppbattach() at netbsd:ppbattach+0x227
 config_attach_internal() at netbsd:config_attach_internal+0x217
 config_found_acquire() at netbsd:config_found_acquire+0x5d
 config_found() at netbsd:config_found+0xe
 pci_probe_device1() at netbsd:pci_probe_device1+0x6b9
 pci_enumerate_bus1() at netbsd:pci_enumerate_bus1+0x1af
 pciattach() at netbsd:pciattach+0x19d
 config_attach_internal() at netbsd:config_attach_internal+0x217
 config_found_acquire() at netbsd:config_found_acquire+0x5d
 config_found() at netbsd:config_found+0xe
 mp_pci_scan() at netbsd:mp_pci_scan+0xcb
 amd64_mainbus_attach() at netbsd:amd64_mainbus_attach+0x358
 config_attach_internal() at netbsd:config_attach_internal+0x217
 config_rootfound() at netbsd:config_rootfound+0x7b
 cpu_configure() at netbsd:cpu_configure+0x38
 main() at netbsd:main+0x2bc
 ds          b980
 es          caab
 fs          6330
 gs          1a46
 rdi         ffffa1b8b4cf2080
 rsi         0
 rbp         ffffffff81d56380
 rbx         ffffa1b8b4cf2080
 rdx         ffffffffffffffff
 rcx         300
 rax         0
 r8          a1300000
 r9          20
 r10         ffffffff81913558    kernel_map_store+0x38
 r11         0
 r12         0
 r13         ffffffffffffffff
 r14         ffffffff813cab52    ostype+0x11569
 r15         ffffffff818a9d30    cfdata+0x6f30
 rip         ffffffff80d33076    pool_cache_put_paddr+0x7f
 cs          8
 rflags      10246
 rsp         ffffffff81d56360
 ss          10
 netbsd:pool_cache_put_paddr+0x7f:       cmpq    20(%rax),%rax



From: Shinichi Doyashiki <clare@csel.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/59876 (igc0: unable to initialize)
Date: Wed, 22 Jul 2026 06:25:03 +0900

 recent -current shows autoconfiguration error for kernel without PCI ADDR FIXUP
 option.  the kernel with PCI ADDR FIXUP option shows normal attach messages.
 the hardware used is the ASROCK J4125M and the i226-V add-on card.

 without PCI ADDR FIXUP option
 ...
 [     1.038633] pci1 at ppb0 bus 1
 [     1.038633] pci1: i/o space, memory space enabled, rd/line, wr/inv ok
 [     1.038633] igc0 at pci1 dev 0 function 0, 64-bit DMA: Intel(R) Ethernet 
 Controller I226-V (rev. 0x04)
 [     1.038633] igc0: autoconfiguration error: unable to initialize
 ...

 with PCI ADDR FIXUP option
 ...
 [   1.0385304] pci1 at ppb0 bus 1 
 [   1.0385304] igc0 at pci1 dev 0 function 0: Intel(R) Ethernet Controller 
 I226-V (rev. 0x04)
 [   1.0385304] igc0: txrx interrupting at msix2 vec 0
 [   1.0385304] igc0: txrx interrupting at msix2 vec 1
 [   1.0385304] igc0: txrx interrupting at msix2 vec 2
 [   1.0385304] igc0: txrx interrupting at msix2 vec 3
 [   1.0385304] igc0: link interrupting at msix2 vec 4
 [   1.0385304] igc0: PHY: OUI 0x984fee model 0x0005, rev. 8, PHY FW version 
 0x8877
 [   1.0385304] igc0: NVM image version 2.14, EtrackID 8000028d
 ...

 Expansion ROM BAR is not moved from 0xa1100000
 by PCI ADDR FIXUP; disabled by BIOS and kept it
 disabled by kernel in both cases;
 BAR 0x10 was moved from 0xa1100000 to 0xa1200000;
 BAR 0x1C was moved from 0xa1200000 to 0xa1300000;
 by PCI ADDR FIXUP kernel option.
 Is it not permitted for the region indicated by a PCI Expansion
 ROM BAR in the disabled state to overlap with a standard MMIO BAR?

 # pcictl pci1 dump -d 0 > after-fixup
 # diff -u before-fixup after-fixup 
 --- before-fixup        2026-07-21 13:34:02.176913247 +0000
 +++ after-fixup 2026-07-21 13:43:52.013368953 +0000
 @@ -40,20 +40,20 @@
      Cache Line Size: 64bytes (0x10)

    Type 0 ("normal" device) header:
 -    0x10: 0xa1100000 0x00000000 0x00000000 0xa1200000
 +    0x10: 0xa1200000 0x00000000 0x00000000 0xa1300000
      0x20: 0x00000000 0x00000000 0x00000000 0x00008086
      0x30: 0xa1100000 0x00000040 0x00000000 0x000001ff

      Base address register at 0x10
        type: 32-bit nonprefetchable memory
 -      base: 0xa1100000
 +      base: 0xa1200000
      Base address register at 0x14
        not implemented
      Base address register at 0x18
        not implemented
      Base address register at 0x1c
        type: 32-bit nonprefetchable memory
 -      base: 0xa1200000
 +      base: 0xa1300000
      Base address register at 0x20
        not implemented
      Base address register at 0x24
 @@ -250,7 +250,7 @@
      Message Control register: 0x0004
        Table Size: 5
        Function Mask: off
 -      MSI-X Enable: off
 +      MSI-X Enable: on
      Table offset register: 0x00000003
        Table offset: 0x00000000
        BIR: 0x3
 @@ -262,7 +262,7 @@
      0x40: 0xc8235001 0x00002008 0x00000000 0x00000000
      0x50: 0x01807005 0x00000000 0x00000000 0x00000000
      0x60: 0x00000000 0x00000000 0x00000000 0x00000000
 -    0x70: 0x0004a011 0x00000003 0x00002003 0x00000000
 +    0x70: 0x8004a011 0x00000003 0x00002003 0x00000000
      0x80: 0x00000000 0x00000000 0x00000000 0x00000000
      0x90: 0x00000000 0x00000000 0x00000000 0xffffffff
      0xa0: 0x00020010 0x10008cc2 0x00102830 0x00415812



From: Shinichi Doyashiki <clare@csel.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/59876 (igc0: unable to initialize)
Date: Thu, 23 Jul 2026 06:42:29 +0900

 I attempted some diagnostics, but the initialization of the igc driver fails with the error below.
 A failure in the BIOS initialization of the PCI BAR0 or similar components is a possibility,
 though I have not been able to diagnose the issue to that extent.

 [   1.0417554] igc0 at pci1 dev 0 function 0: Intel(R) Ethernet Controller I226-V (rev. 0x04)
 [   1.0417554] igc_set_mac_type
 [   1.0417554] igc0: PCI BAR confliction error; try PCI_ADDR_FIXUP
 [   1.0417554] igc_set_mac_type
 [   1.0417554] igc_init_mac_ops_generic
 [   1.0417554] igc_init_phy_ops_generic
 [   1.0417554] igc_init_nvm_ops_generic
 [   1.0417554] igc_init_mac_ops_generic
 [   1.0417554] igc_init_phy_ops_generic
 [   1.0417554] igc_init_nvm_ops_generic
 [   1.0417554] igc_init_mac_params_i225
 [   1.0417554] igc_init_mac_ops_generic
 [   1.0417554] igc_init_nvm_params_i225
 [   1.0417554] igc_get_flash_presence_i225
 [   1.0417554] igc_init_phy_params_i225
 [   1.0417554] igc_phy_hw_reset_generic
 [   1.0417554] igc_check_reset_block
 [   1.0417554] igc_get_phy_id
 [   1.0417554] igc_read_phy_reg_gpy
 [   1.0417554] igc_acquire_phy_base
 [   1.0417554] igc_acquire_swfw_sync_i225
 [   1.0417554] igc_get_hw_semaphore_i225
 [   1.0417554] igc_put_hw_semaphore_generic
 [   1.0417554] Driver can't access device -
 [   1.0417554] SMBI bit is set.
 [   1.0417554] PHY Initialization Error
 [   1.0417554] igc0: unable to initialize
 [   1.0417554] igc0: WARNING: power management not supported

 Index: if_igc.c
 ===================================================================
 RCS file: /cvsroot/src/sys/dev/pci/igc/if_igc.c,v
 retrieving revision 1.25
 diff -u -1 -0 -r1.25 if_igc.c
 --- if_igc.c	10 Jun 2026 21:02:49 -0000	1.25
 +++ if_igc.c	22 Jul 2026 21:26:09 -0000
 @@ -343,20 +343,25 @@
   *  and initializes the hardware.
   *
   *  return 0 on success, positive on failure
   *********************************************************************/
  static void
  igc_attach(device_t parent, device_t self, void *aux)
  {
  	struct pci_attach_args *pa = aux;
  	struct igc_softc *sc = device_private(self);
  	struct igc_hw *hw = &sc->hw;
 +#if 1
 +	pcireg_t rombar;
 +	pcireg_t bar0;
 +	pcireg_t bar3;
 +#endif

  	const struct igc_product *igcp = igc_lookup(pa);
  	KASSERT(igcp != NULL);

  	sc->sc_dev = self;
  	callout_init(&sc->sc_tick_ch, CALLOUT_MPSAFE);
  	callout_setfunc(&sc->sc_tick_ch, igc_tick, sc);
  	sc->sc_core_stopping = false;

  	sc->osdep.os_sc = sc;
 @@ -375,20 +380,45 @@
  	{
  		aprint_verbose(", 32-bit DMA");
  		sc->osdep.os_dmat = pa->pa_dmat;
  	}

  	pci_aprint_devinfo_fancy(pa, "Ethernet controller", igcp->igcp_name, 1);

  	/* Determine hardware and mac info */
  	igc_identify_hardware(sc);

 +#if 1
 +	/* read Expansion ROM BAR, BAR0, BAR3 */
 +	rombar = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM);
 +	/* check ROM is disabled; then check address */
 +	if (!(rombar & PCI_MAPREG_ROM_ENABLE)) {
 +		bar0 = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_BAR0);
 +		bar3 = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_BAR3);
 +		if (PCI_MAPREG_MEM_ADDR(rombar) == PCI_MAPREG_MEM_ADDR(bar0) ||
 +		    PCI_MAPREG_MEM_ADDR(rombar) == PCI_MAPREG_MEM_ADDR(bar3)) {
 +			aprint_error_dev(sc->sc_dev, "PCI BAR confliction error; try PCI_ADDR_FIXUP\n");
 +#if 0
 +			/* trying move BAR here is no effective solution */
 +			aprint_normal_dev(sc->sc_dev, "write 0 to BAR\n");
 +			pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM, 0);
 +			rombar = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM);
 +			aprint_normal_dev(sc->sc_dev, "read 0x%08x\n", rombar);
 +			aprint_normal_dev(sc->sc_dev, "write ~1 to BAR\n");
 +			pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM, (pcireg_t)~1);
 +			rombar = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM);
 +			aprint_normal_dev(sc->sc_dev, "read 0x%08x\n", rombar);
 +#endif
 +		}
 +	}
 +#endif
 +
  	sc->num_tx_desc = IGC_DEFAULT_TXD;
  	sc->num_rx_desc = IGC_DEFAULT_RXD;

  	 /* Setup PCI resources */
  	if (igc_allocate_pci_resources(sc)) {
  		aprint_error_dev(sc->sc_dev,
  		    "unable to allocate PCI resources\n");
  		goto err;
  	}




>Unformatted:
 	kernel source fetched as of 2026-01-02

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.