sreehari
2020-Sep-13 05:25 UTC
12.2-BETA1 iwm init failed on Intel 9560 (ThinkPad X1 Carbon Gen7)
I tested FreeBSD 12.2-BETA1 and I have a ThinkPad X1 Carbon Gen7 (which has an Intel 9560 wifi chipset), and I was looking forward to working wifi in the next FreeBSD release. I see that some work was done to add support for my wifi chipset, and I appreciate the efforts! I just thought that this information would be helpful to developers to ensure that wifi properly functions for more people in time for the full 12.2-RELEASE. Basically, iwm does indeed detect my ?Intel(R) Dual Band Wireless AC 9560? unlike in 12.1-RELEASE, but it seems to fail on firmware or ucode loading with these lines: iwm0: <Intel(R) Dual Band Wireless AC 9560> mem 0xea238000-0xea23bfff at device 20.3 on pci0 iwm0: fw chunk addr 0x404000 len 712 failed to load iwm0: iwm_pcie_load_section: Could not load the [0] uCode section iwm0: iwm_start_fw: failed 60 iwm0: Failed to start INIT ucode: 60 I believe that wifi did in fact work in the September 10th prerelease build (I may be wrong), but the system was still pretty unusable for different or possibly related reasons so maybe that could be of help. I?ve attached a full dmesg to https://dmesgd.nycbug.org/index.cgi?do=view&id=5669. Thanks, Sreehari -------------- next part -------------- ---<<BOOT>>--- Copyright (c) 1992-2020 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 12.2-BETA1 r365618 GENERIC amd64 FreeBSD clang version 10.0.1 (git at github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) VT(efifb): resolution 640x480 CPU: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz (1992.12-MHz K8-class CPU) Origin="GenuineIntel" Id=0x806ec Family=0x6 Model=0x8e Stepping=12 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x7ffafbbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM> AMD Features2=0x121<LAHF,ABM,Prefetch> Structured Extended Features=0x29c67af<FSGSBASE,TSCADJ,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,NFPUSG,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PROCTRACE> Structured Extended Features3=0xbc000600<MCUOPT,MD_CLEAR,IBPB,STIBP,L1DFL,ARCH_CAP,SSBD> XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> IA32_ARCH_CAPS=0x2b<RDCL_NO,IBRS_ALL,SKIP_L1DFL_VME> VT-x: (disabled in BIOS) PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory = 17179869184 (16384 MB) avail memory = 16257523712 (15504 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: <LENOVO TP-N2H > FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 hardware threads arc4random: no preloaded entropy cache ioapic0 <Version 2.0> irqs 0-119 on motherboard Launching APs: 1 6 5 2 3 4 7 Timecounter "TSC" frequency 1992121421 Hz quality 1000 random: entropy device external interface kbd1 at kbdmux0 000.000023 [4336] netmap_init netmap: loaded module [ath_hal] loaded module_register_init: MOD_LOAD (vesa, 0xffffffff8110be40, 0) error 19 random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" nexus0 efirtc0: <EFI Realtime Clock> on motherboard efirtc0: registered as a time-of-day clock, resolution 1.000000s cryptosoft0: <software crypto> on motherboard acpi0: <LENOVO TP-N2H> on motherboard acpi_ec0: <Embedded Controller: GPE 0x16, ECDT> port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) unknown: memory range not supported cpu0: <ACPI CPU> on acpi0 hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 24000000 Hz quality 950 Event timer "HPET" frequency 24000000 Hz quality 550 attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 vgapci0: <VGA-compatible display> port 0x2000-0x203f mem 0xe9000000-0xe9ffffff,0x80000000-0x8fffffff irq 16 at device 2.0 on pci0 vgapci0: Boot video device xhci0: <XHCI (generic) USB 3.0 controller> mem 0xea220000-0xea22ffff at device 20.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 pci0: <memory, RAM> at device 20.2 (no driver attached) pci0: <network> at device 20.3 (no driver attached) pci0: <serial bus> at device 21.0 (no driver attached) pci0: <serial bus> at device 21.1 (no driver attached) pci0: <simple comms> at device 22.0 (no driver attached) pcib1: <ACPI PCI-PCI bridge> at device 29.0 on pci0 pci1: <ACPI PCI bus> on pcib1 nvme0: <Generic NVMe Device> mem 0xea100000-0xea103fff,0xea104000-0xea1040ff at device 0.0 on pci1 pcib2: <ACPI PCI-PCI bridge> at device 29.4 on pci0 pci2: <ACPI PCI bus> on pcib2 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 hdac0: <Intel Cannon Lake HDA Controller> mem 0xea23c000-0xea23ffff,0xea000000-0xea0fffff at device 31.3 on pci0 pci0: <serial bus> at device 31.5 (no driver attached) em0: <Intel(R) PRO/1000 Network Connection> mem 0xea200000-0xea21ffff at device 31.6 on pci0 em0: Using 1024 TX descriptors and 1024 RX descriptors em0: Using an MSI interrupt em0: Ethernet address: 98:fa:9b:d6:61:8d em0: netmap queues/slots: TX 1/1024, RX 1/1024 acpi_button0: <Sleep Button> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_tz0: <Thermal Zone> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 acpi_syscontainer0: <System Container> on acpi0 acpi_acad0: <AC Adapter> on acpi0 battery0: <ACPI Control Method Battery> on acpi0 atrtc0: <AT realtime clock> at port 0x70 irq 8 on isa0 atrtc0: Warning: Couldn't map I/O. atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 atrtc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 12. est0: <Enhanced SpeedStep Frequency Control> on cpu0 Timecounters tick every 1.000 msec arc4random: no preloaded entropy cache ugen0.1: <0x8086 XHCI root HUB> at usbus0 uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 nvd0: <WDC PC SN730 SDBQNTY-512G-1001> NVMe namespace nvd0: 488386MB (1000215216 512 byte sectors) hdacc0: <Realtek ALC285 HDA CODEC> at cad 0 on hdac0 hdaa0: <Realtek ALC285 Audio Function Group> at nid 1 on hdacc0 pcm0: <Realtek ALC285 (Analog 3.1+HP/2.0)> at nid 20,23,33 and 25 on hdaa0 hdacc1: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac0 hdaa1: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc1 pcm1: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa1 Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [ro,noatime]... Root mount waiting for: usbus0 uhub0: 18 ports with 18 removable, self powered Root mount waiting for: usbus0 ugen0.2: <Raydium Corporation Raydium Touch System> at usbus0 Root mount waiting for: usbus0 ugen0.3: <Chicony Electronics Co.,Ltd. Integrated Camera> at usbus0 ugen0.4: <vendor 0x06cb product 0x00bd> at usbus0 Root mount waiting for: usbus0 ugen0.5: <vendor 0x8087 product 0x0aaa> at usbus0 Root mount waiting for: usbus0 ugen0.6: <Samsung Flash Drive> at usbus0 umass0 on uhub0 umass0: <Samsung Flash Drive, class 0/0, rev 3.10/11.00, addr 5> on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x4000 umass0:0:0: Attached to scbus0 da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: <Samsung Flash Drive 1100> Removable Direct Access SPC-4 SCSI device da0: Serial Number 0374019050006172 da0: 400.000MB/s transfers da0: 122376MB (250626566 512 byte sectors) da0: quirks=0x2<NO_6_BYTE> mountroot: waiting for device /dev/ufs/FreeBSD_Install... random: unblocking device. arc4random: no preloaded entropy cache arc4random: no preloaded entropy cache arc4random: no preloaded entropy cache arc4random: no preloaded entropy cache arc4random: no preloaded entropy cache arc4random: no preloaded entropy cache iwm0: <Intel(R) Dual Band Wireless AC 9560> mem 0xea238000-0xea23bfff at device 20.3 on pci0 iwm0: fw chunk addr 0x404000 len 712 failed to load iwm0: iwm_pcie_load_section: Could not load the [0] uCode section iwm0: iwm_start_fw: failed 60 iwm0: Failed to start INIT ucode: 60 ig4iic0: <Intel Cannon Lake-LP I2C Controller-2> mem 0xea245000-0xea245fff at device 21.0 on pci0 ig4iic0: Using MSI iicbus0: <Philips I2C bus (ACPI-hinted)> on ig4iic0 ig4iic1: <Intel Cannon Lake-LP I2C Controller-3> mem 0xea246000-0xea246fff at device 21.1 on pci0 ig4iic1: Using MSI iicbus1: <Philips I2C bus (ACPI-hinted)> on ig4iic1 iicbus1: <unknown card> at addr 0x2c lo0: link state changed to UP wmt0 on uhub0 wmt0: <Raydium Corporation Raydium Touch System, class 0/0, rev 2.01/1.08, addr 1> on usbus0 wmt0: 10 contacts and []. Report range [0:0] - [1920:1080]
sreehari
2020-Sep-13 05:30 UTC
12.2-BETA1 iwm init failed on Intel 9560 (ThinkPad X1 Carbon Gen7)
I just realized the link may be broken because of the dot after, here it is: https://dmesgd.nycbug.org/index.cgi?do=view&id=5669 On Sat, Sep 12, 2020 at 10:25 PM sreehari <sreeharisreedev1 at gmail.com> wrote:> > I tested FreeBSD 12.2-BETA1 and I have a ThinkPad X1 Carbon Gen7 > (which has an Intel 9560 wifi chipset), and I was looking forward to > working wifi in the next FreeBSD release. I see that some work was > done to add support for my wifi chipset, and I appreciate the efforts! > I just thought that this information would be helpful to developers to > ensure that wifi properly functions for more people in time for the > full 12.2-RELEASE. Basically, iwm does indeed detect my ?Intel(R) Dual > Band Wireless AC 9560? unlike in 12.1-RELEASE, but it seems to fail on > firmware or ucode loading with these lines: > > > iwm0: <Intel(R) Dual Band Wireless AC 9560> mem 0xea238000-0xea23bfff > at device 20.3 on pci0 > iwm0: fw chunk addr 0x404000 len 712 failed to load > iwm0: iwm_pcie_load_section: Could not load the [0] uCode section > iwm0: iwm_start_fw: failed 60 > iwm0: Failed to start INIT ucode: 60 > > I believe that wifi did in fact work in the September 10th prerelease > build (I may be wrong), but the system was still pretty unusable for > different or possibly related reasons so maybe that could be of help. > I?ve attached a full dmesg to > https://dmesgd.nycbug.org/index.cgi?do=view&id=5669. > > Thanks, > Sreehari