Re: Cannot configure wi-fi card

2022-05-29 Thread Matsuda Kenji
I don't like such user-friendly modern features of Windows.
I will never install it again.

Matsuda Kenji

On Sun, May 29, 2022 at 10:23:05AM +0200, Łukasz Moskała wrote:
> I recall something similar but with ethernet. Basically on windows
> "shutdown" is more like "hibernate" to give you faster boot, unless you
> explicitly disable this feature. You can check this in task manager if
> uptime after shutdown and power on is not as low as you would expect it to
> be. This does not apply to reboot.
> 
> So when i "shutdown" windows and on next boot went to linux, NIC was not
> working. The solution was to do "reboot" on windows then boot to linux.
> 
> This was in 2016 or 2017 I think, I can't test if that's still the case
> because I no longer have windows installed. I also can't remember if this
> was on old motherboard (realtek NIC) or new motherboard (intel NIC)
> 
> -- 
> Łukasz Moskała



Re: Cannot configure wi-fi card

2022-05-28 Thread Matsuda Kenji
Hello.

I finally solved the problem.
I just detach and re-attach the wifi card physically and it worked.


First, I updated BIOS and nothing changed.
Then I made several changes to BIOS configuration.
I found that I've installed for legacy BIOS and MBR.
So I reinstalled OpenBSD for UEFI and GPT.
But the problem was not solved.

And at this morning, I recalled that I could use this wifi from Linux.
So I tried to boot from Linux live USB(Debian), and encountered a
similar problem of iwlwifi with error code -110.
I googled for this problem and found an article:
https://bugzilla.kernel.org/show_bug.cgi?id=205299
It implies that the problem has something to do with Windows.
Actually I installed Windows on this machine and my sister used it
until I installed OpenBSD last week.
I wondered if I could reset some configuration on the wifi card
made by Windows by disconnecting it from the motherboard.
And this worked for me.


Anyway, thanks a lot everyone.
Matsuda Kenji



Re: Cannot configure wi-fi card

2022-05-28 Thread Matsuda Kenji
I installed on a dedicated desktop computer at home.
And it is not dual boot.
I have only OpenBSD installed on my ssd drive.


On Sat, May 28, 2022 at 03:11:12PM +0900, Fabrizio Francione wrote:
> Are You installing on a VM like Proxmox  or is that a dedicated HW?
> 
> Do you have a dual boot or related?



Re: Cannot configure wi-fi card

2022-05-27 Thread Matsuda Kenji
Thank you for your reply.

> Did you install the iwm firmware?
> https://www.openbsd.org/faq/faq4.html#WifiOnly

I can connect to the Internet via Ethernet, and iwm firmware was
installed by fw_update at the first boot.
There is firmware files in /etc/firmware:

$ls /etc/firmware/iwm*
/etc/firmware/iwm-3160-17
/etc/firmware/iwm-3168-29
/etc/firmware/iwm-7260-17
/etc/firmware/iwm-7265-17
/etc/firmware/iwm-7265D-29
/etc/firmware/iwm-8000C-34
/etc/firmware/iwm-8000C-36
/etc/firmware/iwm-8265-34
/etc/firmware/iwm-8265-36
/etc/firmware/iwm-9000-34
/etc/firmware/iwm-9000-46
/etc/firmware/iwm-9260-34
/etc/firmware/iwm-9260-46
/etc/firmware/iwm-license


Matsuda Kenji



Cannot configure wi-fi card

2022-05-27 Thread Matsuda Kenji
Hello.

I just installed OpenBSD 7.1 and am having trouble 
setting up a wi-fi card.
There is no wi-fi interface in ifconfig output.
Dmesg says that there is some error configuring NIC:
iwm0 at pci1 dev 0 function 0 "Intel Dual Band Wireless-AC 9260"\
 rev 0x29, msix
iwm0: Failed to wake up the nic.

What am I missing?

With best regards,
Matsuda Kenji

-dmesg output
OpenBSD 7.1 (RAMDISK_CD) #440: Mon Apr 11 18:09:13 MDT 2022
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 16799301632 (16021MB)
avail mem = 16286146560 (15531MB)
random: good seed from bootblocks
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x7e978000 (51 entries)
bios0: vendor American Megatrends Inc. version "P1.30" date 08/16/2018
bios0: ASRock Z390 Pro4
acpi0 at bios0: ACPI 6.1
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG SSDT SSDT AAFT SSDT HPET SSDT UEFI 
LPIT SSDT DBGP DBG2 SSDT SSDT DMAR WSMT
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz, 3600.00 MHz, 06-9e-0c
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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 24MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 120 pins
acpihpet0 at acpi0: 2399 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG0)
acpiprt2 at acpi0: bus -1 (PEG1)
acpiprt3 at acpi0: bus -1 (PEG2)
acpiprt4 at acpi0: bus -1 (RP01)
acpiprt5 at acpi0: bus -1 (RP02)
acpiprt6 at acpi0: bus -1 (RP03)
acpiprt7 at acpi0: bus -1 (RP04)
acpiprt8 at acpi0: bus -1 (RP05)
acpiprt9 at acpi0: bus -1 (RP06)
acpiprt10 at acpi0: bus -1 (RP07)
acpiprt11 at acpi0: bus -1 (RP08)
acpiprt12 at acpi0: bus -1 (RP09)
acpiprt13 at acpi0: bus -1 (RP10)
acpiprt14 at acpi0: bus -1 (RP11)
acpiprt15 at acpi0: bus -1 (RP12)
acpiprt16 at acpi0: bus -1 (RP13)
acpiprt17 at acpi0: bus -1 (RP14)
acpiprt18 at acpi0: bus -1 (RP15)
acpiprt19 at acpi0: bus -1 (RP16)
acpiprt20 at acpi0: bus -1 (RP17)
acpiprt21 at acpi0: bus -1 (RP18)
acpiprt22 at acpi0: bus -1 (RP19)
acpiprt23 at acpi0: bus 1 (RP20)
acpiprt24 at acpi0: bus -1 (RP21)
acpiprt25 at acpi0: bus -1 (RP22)
acpiprt26 at acpi0: bus -1 (RP23)
acpiprt27 at acpi0: bus -1 (RP24)
acpiec0 at acpi0: not present
acpipci0 at acpi0 PCI0: 0x0010 0x0011 0x
com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
acpicmos0 at acpi0
"PNP0C14" at acpi0 not configured
"PNP0C0E" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"INT33A1" at acpi0 not configured
"PNP0C0C" at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpicpu at acpi0 not configured
acpipwrres at acpi0 not configured
cpu0: using Skylake AVX MDS workaround
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 8G Host" rev 0x0a
vga1 at pci0 dev 2 function 0 "Intel UHD Graphics 630" rev 0x00
wsdisplay1 at vga1 mux 1: console (80x25, vt100 emulation)
"Intel 300 Series Thermal" rev 0x10 at pci0 dev 18 function 0 not configured
xhci0 at pci0 dev 20 function 0 "Intel 300 Series xHCI" rev 0x10: msi, xHCI 1.10
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 
addr 1
"Intel 300 Series Shared SRAM" rev 0x10 at pci0 dev 20 function 2 not configured
"Intel 300 Series HECI" rev 0x10 at pci0 dev 22 function 0 not configured
ahci0 at pci0 dev 23 function 0 "Intel 300 Series AHCI" rev 0x10: msi, AHCI 
1.3.1
ahci0: port 0: 6.0Gb/s
ahci0: PHY offline on port 1
ahci0: port 2: 6.0Gb/s
ahci0: PHY offline on port 3
ahci0: PHY offline on port 4
ahci0: PHY offline on port 5
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0:  naa.539fe6ea4038
sd0: 2861588MB, 512 bytes/sector, 5860533168 sectors
sd1 at scsibus0 targ 2 lun 0:  
t10.ATA_KimMiDi_SSD_TB900_256GB_AA001047
sd1: 244198MB, 512 bytes/sector, 500118192 sectors, thin
ppb0 at pci0